/* =========================================================================
   Rabat International Golf Festival 2026
   Brand palette (locked):
   - PRIMARY    #8B9F3C  (olive — from the festival logo)
   - SECONDARY  #42352D  (brown — from the festival logo)
   - White / off-white base
   Gabarito (display) + Inter Tight (body)
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
	/* === BRAND === */
	--rgf-primary:        #8B9F3C;   /* olive — primary action / accent */
	--rgf-primary-deep:   #6E7F2E;   /* hover / pressed */
	--rgf-primary-soft:   #A8B956;   /* tints */
	--rgf-primary-faint:  rgba(139, 159, 60, 0.10);

	--rgf-secondary:       #42352D;  /* brown — dark sections, headlines */
	--rgf-secondary-deep:  #2A211B;  /* deepest brown — backgrounds */
	--rgf-secondary-soft:  #6B5A4D;  /* muted body brown */

	/* === SURFACE === */
	--rgf-bg:          #FFFFFF;       /* pure white base */
	--rgf-bg-pure:     #FFFFFF;       /* (legacy alias) */
	--rgf-bg-soft:     #FAFAF6;       /* very subtle warm tint */
	--rgf-bg-dark:     #1A1410;       /* near-black brown for nav drawer */

	/* === INK === */
	--rgf-ink:         #1B1815;       /* deep brown-ink for body */
	--rgf-ink-muted:   #5C544C;
	--rgf-ink-soft:    #8E867D;

	/* === LINES === */
	--rgf-line:        rgba(66, 53, 45, 0.12);
	--rgf-line-strong: rgba(66, 53, 45, 0.24);
	--rgf-line-light:  rgba(255, 255, 255, 0.18);

	/* === Legacy aliases (kept for backward compatibility within this file) === */
	--rgf-red:         var(--rgf-primary);
	--rgf-red-deep:    var(--rgf-primary-deep);
	--rgf-green:       var(--rgf-primary);
	--rgf-green-deep:  var(--rgf-secondary);
	--rgf-green-dark:  var(--rgf-secondary-deep);
	--rgf-olive:       var(--rgf-primary);
	--rgf-brown:       var(--rgf-secondary);
	--rgf-sand:        #D8C8AE;
	--rgf-cream:       var(--rgf-bg-soft);
	--rgf-emerald:     var(--rgf-primary);

	/* Type */
	--ff-display: "Gabarito", "Helvetica Neue", system-ui, sans-serif;
	--ff-body:    "Inter Tight", "Helvetica Neue", system-ui, sans-serif;
	--ff-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

	--fs-xs:   0.74rem;
	--fs-sm:   0.88rem;
	--fs-base: 1rem;
	--fs-md:   1.14rem;
	--fs-lg:   1.4rem;
	--fs-xl:   2rem;
	--fs-2xl:  2.6rem;
	--fs-3xl:  clamp(2.2rem, 4.5vw, 3.8rem);
	--fs-4xl:  clamp(2.8rem, 6vw, 5rem);
	--fs-hero: clamp(2.8rem, 7vw, 6.5rem);

	/* Rhythm */
	--maxw: 1280px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section-y: clamp(4rem, 8vw, 7.5rem);

	--radius-sm: 6px;
	--radius:    10px;
	--radius-lg: 18px;
	--radius-pill: 999px;

	--shadow-sm: 0 2px 8px -2px rgba(20, 24, 28, 0.08);
	--shadow:    0 12px 40px -16px rgba(20, 24, 28, 0.15);
	--shadow-lg: 0 30px 80px -30px rgba(20, 24, 28, 0.25);

	--ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--rgf-bg);
	color: var(--rgf-ink);
	font-family: var(--ff-body);
	font-size: var(--fs-base);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--rgf-red); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--rgf-green); color: #fff; }
.grain { display: none; }
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--rgf-bg-dark); color: #fff;
	padding: .6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 3. Layout ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }

/* ---------- 4. Typography utilities -------------------------------------- */
.eyebrow {
	font-family: var(--ff-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rgf-red);
	font-weight: 500;
	margin: 0 0 1rem;
}
.eyebrow--light { color: var(--rgf-sand); }
.eyebrow--green { color: var(--rgf-green); }

.display, .section-head__title, .hero__title, .cta-band__title {
	font-family: var(--ff-display);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin: 0;
	color: var(--rgf-ink);
}
em, .display em, .section-head__title em, .hero__title em {
	font-style: normal;
	color: var(--rgf-red);
	font-weight: 600;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60ch; text-align: center; margin-left: auto; margin-right: auto; }
.section-head__title { font-size: var(--fs-3xl); }
.section-head--split {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 3rem; align-items: end; max-width: none; text-align: left;
}
.section-head__lede {
	font-size: var(--fs-md); color: var(--rgf-ink-muted);
	max-width: 56ch; margin: 1rem auto 0;
}
.section-head--split .section-head__lede { margin: 0; padding-bottom: .4rem; }

/* ---------- 5. Buttons --------------------------------------------------- */
.button {
	display: inline-flex; align-items: center; gap: .65rem;
	padding: 1rem 1.8rem;
	font-family: var(--ff-display); font-size: var(--fs-sm);
	letter-spacing: 0.04em; font-weight: 600;
	border: 1px solid transparent; border-radius: var(--radius-pill);
	transition: all .3s var(--ease);
	white-space: nowrap;
	cursor: pointer;
}
.button svg { transition: transform .3s var(--ease); width: 16px; height: 16px; }
.button:hover svg { transform: translateX(3px); }

.button--solid { background: var(--rgf-red); color: #fff; }
.button--solid:hover { background: var(--rgf-red-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(139, 159, 60, 0.45); }

.button--green { background: var(--rgf-secondary); color: #fff; }
.button--green:hover { background: var(--rgf-secondary-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(66, 53, 45, 0.45); }

.button--ghost { background: transparent; color: var(--rgf-ink); border-color: var(--rgf-line-strong); }
.button--ghost:hover { border-color: var(--rgf-ink); color: var(--rgf-ink); }

.button--solid-light { background: #fff; color: var(--rgf-ink); }
.button--solid-light:hover { background: var(--rgf-red); color: #fff; }

.button--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.button--ghost-light:hover { background: #fff; color: var(--rgf-green-deep); border-color: #fff; }

/* ---------- 6. Site header ----------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), background .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--rgf-line);
}
.site-header__inner {
	display: grid; grid-template-columns: auto 1fr auto;
	align-items: center; gap: 2rem;
	padding: 1.1rem var(--gutter);
	max-width: 1480px; margin: 0 auto;
}
.site-header__rule { display: none; }

.site-brand { display: inline-flex; line-height: 0; position: relative; }
.site-brand__mark { width: 64px; height: auto; transition: opacity .3s var(--ease); }
.site-brand__mark--light {
	position: absolute; top: 0; left: 0;
	opacity: 1;
}
.site-header.is-scrolled .site-brand__mark--light { opacity: 0; }
.site-header:not(.is-scrolled) .site-brand__mark--dark { opacity: 0; }

/* Desktop default: drawer chrome elements are hidden, only the inline nav list shows */
.site-nav__head,
.site-nav__foot,
.site-nav__num,
.site-nav__close { display: none; }

.site-nav__panel {
	display: contents; /* desktop: let .site-nav__list flow inline */
}

.site-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 2.2rem; justify-content: center;
	font-family: var(--ff-body); font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0.01em;
}
.site-nav__list li { display: inline-flex; align-items: center; }
.site-nav__list a {
	position: relative; padding: .35rem 0;
	color: #fff;
	text-shadow: 0 1px 6px rgba(0,0,0,0.35);
	transition: color .3s var(--ease), text-shadow .3s var(--ease);
}
.site-header.is-scrolled .site-nav__list a {
	color: var(--rgf-ink);
	text-shadow: none;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
	height: 2px; background: var(--rgf-primary);
	transform: scaleX(0); transform-origin: right;
	transition: transform .3s var(--ease);
}
.site-nav__list a:hover { color: var(--rgf-primary); }
.site-header.is-scrolled .site-nav__list a:hover { color: var(--rgf-primary); }
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-nav__toggle {
	display: none; align-items: center; gap: .6rem;
	background: transparent; border: 0; color: #fff; padding: .5rem;
	font-family: var(--ff-body); font-size: var(--fs-sm);
	font-weight: 500;
	text-shadow: 0 1px 6px rgba(0,0,0,0.35);
	transition: color .3s var(--ease);
}
.site-header.is-scrolled .site-nav__toggle {
	color: var(--rgf-ink);
	text-shadow: none;
}
.site-nav__toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; }
.site-nav__toggle-bars span {
	display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
	transition: transform .3s var(--ease);
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.site-cta {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .55rem 1.15rem;
	font-family: var(--ff-display); font-size: var(--fs-sm); font-weight: 600;
	background: var(--rgf-primary); color: #fff;
	border-radius: var(--radius-pill);
	transition: all .3s var(--ease);
}
.site-cta:hover { background: var(--rgf-red-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(139, 159, 60, 0.45); }
.site-cta svg { transition: transform .3s var(--ease); width: 14px; height: 14px; }
.site-cta:hover svg { transform: translateX(2px); }

/* ---------- 7. HERO photographique --------------------------------------- */
.hero {
	position: relative; min-height: 78vh;
	display: flex; align-items: center;
	padding: 9rem 0 6rem;
	color: #fff;
	overflow: hidden;
}
/* Permanent scrim at top of hero — guarantees header legibility no matter what photo loads */
.hero::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0;
	height: 220px;
	background: linear-gradient(180deg, rgba(20, 14, 10, 0.75) 0%, rgba(20, 14, 10, 0.35) 60%, transparent 100%);
	z-index: 1;
	pointer-events: none;
}
.hero__bg {
	position: absolute; inset: 0; z-index: 0;
	background-color: #1B1410;
	background-image:
		url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?ixlib=rb-4.0.3&w=1920&q=80&auto=format&fit=crop'),
		url('../images/hero-placeholder.svg');
	background-size: cover, cover;
	background-position: center, center;
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(27, 20, 16, 0.30) 0%, rgba(27, 20, 16, 0.50) 50%, rgba(27, 20, 16, 0.85) 100%);
}
.hero__grid {
	position: relative; z-index: 2;
	max-width: var(--maxw); margin: 0 auto;
	padding: 0 var(--gutter);
	width: 100%;
	display: grid; grid-template-columns: 1fr;
	gap: 2rem;
}

.hero__meta {
	display: flex; gap: .55rem; flex-wrap: wrap;
}
.hero__chip {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .45rem 1rem; border-radius: var(--radius-pill);
	font-family: var(--ff-display); font-size: var(--fs-xs);
	letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
	background: var(--rgf-red); color: #fff;
}
.hero__chip--ghost {
	background: rgba(255,255,255,0.1); color: #fff;
	border: 1px solid rgba(255,255,255,0.25);
	backdrop-filter: blur(8px);
}

.hero__type { max-width: 980px; }
.hero__eyebrow {
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--rgf-sand); margin: 0 0 1.25rem; font-weight: 500;
}
.hero__title {
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: var(--fs-hero);
	line-height: 0.98;
	letter-spacing: -0.045em;
	color: #fff;
	margin: 0 0 1.5rem;
	text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.hero__title .line { display: block; }
.hero__title .line--2 { color: var(--rgf-red); font-weight: 500; }
.hero__title .line--3 { font-weight: 500; opacity: 0.9; }
.hero__title em { color: var(--rgf-red); font-style: normal; }

.hero__lede {
	max-width: 58ch;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 2rem;
	line-height: 1.55;
	font-weight: 400;
}

.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Benefit cards en bas du hero — pattern MGF */
.hero__benefits {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 1rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--radius-lg);
	padding: 1.6rem;
}
.hero__benefit {
	display: flex; flex-direction: column; gap: .35rem;
	padding: .4rem .6rem;
	border-right: 1px solid rgba(255,255,255,0.18);
}
.hero__benefit:last-child { border-right: 0; }
.hero__benefit-num {
	font-family: var(--ff-display);
	font-size: 1.9rem; font-weight: 500;
	color: var(--rgf-red);
	line-height: 1;
	letter-spacing: -0.03em;
}
.hero__benefit-label {
	font-family: var(--ff-body); font-size: var(--fs-sm);
	color: rgba(255,255,255,0.85);
	font-weight: 500;
}
.hero__benefit-sub {
	font-family: var(--ff-mono); font-size: 0.7rem;
	color: rgba(255,255,255,0.55);
	letter-spacing: 0.1em; text-transform: uppercase;
	margin-top: .2rem;
}

/* Scroll indicator */
.hero__scroll {
	position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.16em; text-transform: uppercase;
	color: rgba(255,255,255,0.7);
	display: flex; flex-direction: column; align-items: center; gap: .5rem;
	z-index: 3;
}
.hero__scroll::after {
	content: ""; width: 1px; height: 36px;
	background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
	animation: rgf-scroll-bar 2.4s ease-in-out infinite;
}
@keyframes rgf-scroll-bar {
	0%, 100% { transform: translateY(0); opacity: 0.7; }
	50% { transform: translateY(8px); opacity: 0.3; }
}

/* legacy nodes from old hero (facts panel, marquee) — hidden in new design */
.hero__facts, .hero__marquee { display: none; }

/* ---------- 8. Intro ----------------------------------------------------- */
.intro {
	padding: var(--section-y) 0;
	background: var(--rgf-bg);
}
.intro__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
	gap: 3rem;
	align-items: start;
}
.intro__col--label .intro__numbers {
	font-family: var(--ff-display); font-weight: 600;
	font-size: var(--fs-sm);
	color: var(--rgf-ink-muted);
	display: flex; gap: .4rem; margin: 1rem 0 0;
	align-items: baseline;
}
.intro__col--label .intro__numbers span:first-child {
	font-size: 3rem; color: var(--rgf-green);
	letter-spacing: -0.03em; font-weight: 800;
}
.intro__lead {
	font-family: var(--ff-display);
	font-size: clamp(1.6rem, 2.6vw, 2.4rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--rgf-ink);
	margin: 0 0 1.4rem;
	letter-spacing: -0.035em;
}
.intro__lead em { color: var(--rgf-red); font-style: normal; }
.intro__col--copy p { color: var(--rgf-ink-muted); max-width: 60ch; font-size: var(--fs-md); }
.intro__directors {
	display: flex; flex-direction: column; gap: .25rem;
	margin-top: 2rem !important;
	padding-top: 1.4rem;
	border-top: 1px solid var(--rgf-line);
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--rgf-ink-muted);
}
.intro__directors strong {
	font-family: var(--ff-display);
	font-weight: 700;
	font-size: var(--fs-md);
	letter-spacing: -0.005em;
	text-transform: none;
	color: var(--rgf-ink);
}

/* ---------- 9. Highlights ------------------------------------------------ */
.highlights {
	padding: var(--section-y) 0;
	background: var(--rgf-bg-soft);
}
.highlights__grid {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}
.highlight {
	background: var(--rgf-bg-pure);
	border-radius: var(--radius-lg);
	padding: 2.2rem 1.8rem;
	display: flex; flex-direction: column; gap: .8rem;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
	border: 1px solid var(--rgf-line);
}
.highlight:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.highlight__num {
	font-family: var(--ff-display);
	font-size: 3rem; line-height: 1;
	color: var(--rgf-red);
	font-weight: 500; letter-spacing: -0.045em;
}
.highlight h3 {
	font-family: var(--ff-display);
	font-size: var(--fs-lg); font-weight: 500;
	letter-spacing: -0.025em;
	margin: 0; color: var(--rgf-ink);
}
.highlight p { margin: 0; color: var(--rgf-ink-muted); font-size: var(--fs-sm); max-width: 32ch; line-height: 1.55; }

/* ---------- 10. Programme ------------------------------------------------ */
.programme {
	padding: var(--section-y) 0;
	background: var(--rgf-bg);
}
.programme__list {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.day {
	background: var(--rgf-bg-pure);
	border: 1px solid var(--rgf-line);
	border-radius: var(--radius-lg);
	padding: 2rem 1.8rem;
	display: flex; flex-direction: column; gap: 1rem;
	transition: all .3s var(--ease);
}
.day:hover {
	border-color: var(--rgf-green);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.day__meta {
	display: flex; align-items: center; gap: .8rem;
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--rgf-ink-soft);
}
.day__tag {
	padding: .25rem .7rem;
	background: var(--rgf-green); color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 600; letter-spacing: 0.1em;
}
.day__date { color: var(--rgf-ink-muted); font-weight: 500; }
.day__title {
	font-family: var(--ff-display);
	font-size: var(--fs-xl); font-weight: 500;
	line-height: 1.05; letter-spacing: -0.035em;
	margin: 0; color: var(--rgf-ink);
}
.day__items {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: .55rem;
	color: var(--rgf-ink-muted);
	font-size: var(--fs-sm);
}
.day__items li {
	position: relative; padding-left: 1.4rem;
	line-height: 1.5;
}
.day__items li::before {
	content: "";
	position: absolute; left: 0; top: .55em;
	width: .65rem; height: 2px;
	background: var(--rgf-red); border-radius: 2px;
}

/* ---------- 11. Courses -------------------------------------------------- */
.courses {
	padding: var(--section-y) 0;
	background: var(--rgf-green-dark);
	color: #fff;
	position: relative;
}
.courses::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(70% 60% at 80% 0%, rgba(139, 159, 60, 0.18) 0%, transparent 60%);
	pointer-events: none;
}
.courses .section-head { position: relative; }
.courses .eyebrow { color: var(--rgf-red); }
.courses .section-head__title { color: #fff; }
.courses .section-head__title em { color: var(--rgf-red); }
.courses .section-head__lede { color: rgba(255,255,255,0.75); }

.courses__grid {
	position: relative;
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
}
.course {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	backdrop-filter: blur(8px);
	border-radius: var(--radius-lg);
	display: flex; flex-direction: column;
	transition: all .35s var(--ease);
	overflow: hidden;
}
.course:hover {
	transform: translateY(-4px);
	background: rgba(255,255,255,0.08);
	border-color: var(--rgf-primary);
}
.course__media {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: var(--rgf-secondary-deep);
	position: relative;
}
.course__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.course__body {
	padding: 1.6rem 1.8rem 2rem;
	display: flex; flex-direction: column; gap: 0.85rem;
}
.course__index {
	display: flex; justify-content: space-between; align-items: center;
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.14em; color: rgba(255,255,255,0.65);
	padding-bottom: .9rem;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.course__plays { display: flex; gap: .35rem; }
.course__plays .dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--rgf-red);
}
.course__name {
	font-family: var(--ff-display);
	font-size: clamp(1.5rem, 2.2vw, 1.9rem);
	font-weight: 500; letter-spacing: -0.035em;
	line-height: 1.05; margin: 0;
	color: #fff;
}
.course__city {
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--rgf-red); margin: -.4rem 0 .6rem;
}
.course__desc { margin: 0; color: rgba(255,255,255,0.78); font-size: var(--fs-sm); line-height: 1.55; }
.course__notes {
	list-style: none; padding: 1rem 0 0; margin: auto 0 0;
	border-top: 1px dashed rgba(255,255,255,0.15);
	display: flex; flex-direction: column; gap: .35rem;
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.7);
}
.course__notes li::before { content: "→  "; color: var(--rgf-red); font-weight: 700; }

/* ---------- 12. RATES — Pricing cards style MGF -------------------------- */
.rates {
	padding: var(--section-y) 0;
	background: var(--rgf-bg-soft);
}
.rates .section-head { text-align: center; max-width: 60ch; }
.rates .section-head--split { text-align: left; }

.rates__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-bottom: 4rem;
}
.rate {
	background: var(--rgf-bg-pure);
	border: 1px solid rgba(20, 24, 28, 0.07);
	border-radius: var(--radius-lg);
	padding: 2.4rem 2rem 2rem;
	position: relative;
	display: flex; flex-direction: column;
	transition: all .35s var(--ease);
	overflow: hidden;
}
.rate:hover {
	transform: translateY(-4px);
	border-color: var(--rgf-line-strong);
	box-shadow: var(--shadow);
}

/* Highlighted package (MGF style — one prominent option) */
.rate--highlighted {
	background: var(--rgf-green);
	color: #fff;
	border-color: var(--rgf-green);
	transform: scale(1.02);
}
.rate--highlighted::before {
	content: "Most popular";
	position: absolute; top: 1rem; right: 1rem;
	background: var(--rgf-red); color: #fff;
	padding: .3rem .8rem;
	font-family: var(--ff-mono); font-size: 0.65rem;
	letter-spacing: 0.14em; text-transform: uppercase;
	border-radius: var(--radius-pill);
	font-weight: 600;
}
.rate--highlighted:hover { transform: scale(1.02) translateY(-4px); }
.rate--highlighted .rate__hotel { color: #fff; }
.rate--highlighted .rate__rank { color: rgba(255,255,255,0.8); }
.rate--highlighted .rate__eyebrow { color: var(--rgf-sand); }
.rate--highlighted .rate__price-label { color: rgba(255,255,255,0.7); }
.rate--highlighted .rate__price-value { color: #fff; }
.rate--highlighted .rate__price-value .cur { color: var(--rgf-sand); }
.rate--highlighted .rate__matrix dt { color: rgba(255,255,255,0.65); }
.rate--highlighted .rate__matrix dd { color: #fff; }
.rate--highlighted .rate__head { border-bottom-color: rgba(255,255,255,0.18); }
.rate--highlighted .rate__notes { color: rgba(255,255,255,0.8); border-top-color: rgba(255,255,255,0.18); }

.rate__head {
	padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--rgf-line);
	margin-bottom: 1.4rem;
}
.rate__eyebrow {
	font-family: var(--ff-mono); font-size: 0.7rem;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--rgf-red); margin: 0 0 .8rem;
	font-weight: 600;
}
.rate__hotel {
	font-family: var(--ff-display);
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 500; letter-spacing: -0.035em;
	line-height: 1.1; margin: 0 0 .4rem;
	color: var(--rgf-ink);
}
.rate__rank {
	margin: 0; color: var(--rgf-ink-muted);
	font-size: var(--fs-sm);
}
.rate__price {
	display: flex; flex-direction: column; gap: .15rem;
	margin: 1.4rem 0 0;
}
.rate__price-label {
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--rgf-ink-soft); font-weight: 500;
}
.rate__price-value {
	font-family: var(--ff-display);
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	font-weight: 500; letter-spacing: -0.045em;
	line-height: 1; color: var(--rgf-ink);
}
.rate__price-value .cur {
	font-size: 0.5em;
	color: var(--rgf-red);
	vertical-align: 0.55em;
	margin-right: .15em;
	font-weight: 700;
}
.rate__price-pair { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.rate__price-pair .rate__price { margin-top: 0; }

.rate__matrix {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 1rem 1.5rem;
	margin: 1.4rem 0 0;
}
.rate__matrix > div { display: flex; flex-direction: column; gap: .25rem; }
.rate__matrix dt {
	font-family: var(--ff-mono); font-size: 0.7rem;
	letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--rgf-ink-soft); font-weight: 500;
}
.rate__matrix dd {
	margin: 0;
	font-family: var(--ff-display);
	font-size: var(--fs-md);
	font-weight: 700; letter-spacing: -0.01em;
	color: var(--rgf-ink);
}
.rate__notes {
	margin: 1.4rem 0 0; padding: 1rem 0 0;
	border-top: 1px dashed var(--rgf-line);
	list-style: none;
	display: flex; flex-direction: column; gap: .35rem;
	font-size: var(--fs-xs); color: var(--rgf-ink-muted);
	line-height: 1.5;
}
.rate__notes--bullets li { padding-left: 1.2rem; position: relative; }
.rate__notes--bullets li::before {
	content: "→"; color: var(--rgf-red);
	position: absolute; left: 0; top: 0; font-weight: 700;
}

/* Register CTA at bottom of each rate card */
.rate__cta {
	margin-top: auto; padding-top: 1.6rem;
	display: flex;
}
.rate__cta .button { width: 100%; justify-content: center; }
.rate--highlighted .rate__cta .button--solid {
	background: var(--rgf-red);
}
.rate--highlighted .rate__cta .button--solid:hover {
	background: #fff; color: var(--rgf-green-deep);
}

/* Green Fees option — full width below */
.rate--green-fees {
	grid-column: 1 / -1;
	background: var(--rgf-bg-dark); color: #fff;
	border-color: var(--rgf-bg-dark);
}
.rate--green-fees .rate__hotel { color: #fff; }
.rate--green-fees .rate__rank { color: rgba(255,255,255,0.65); }
.rate--green-fees .rate__eyebrow { color: var(--rgf-red); }
.rate--green-fees .rate__price-label { color: rgba(255,255,255,0.65); }
.rate--green-fees .rate__price-value { color: #fff; }
.rate--green-fees .rate__price-value .cur { color: var(--rgf-red); }
.rate--green-fees .rate__head { border-bottom-color: rgba(255,255,255,0.15); }
.rate--green-fees .rate__notes { color: rgba(255,255,255,0.75); border-top-color: rgba(255,255,255,0.15); }
.rate--green-fees .rate__notes--bullets li::before { color: var(--rgf-red); }

.rates__split {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
}
.rates__panel {
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--rgf-line);
	border-radius: var(--radius);
}
.rates__panel--exclude { background: transparent; border-style: dashed; }
.check-list, .dash-list {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column;
	font-size: var(--fs-sm);
}
.check-list li, .dash-list li {
	padding: .65rem 0; border-bottom: 1px solid var(--rgf-line);
	display: flex; gap: .8rem; align-items: flex-start;
	color: var(--rgf-ink);
	line-height: 1.5;
}
.check-list li:last-child, .dash-list li:last-child { border-bottom: 0; }
.check-list li::before {
	content: "✓"; color: var(--rgf-green);
	font-family: var(--ff-display); font-weight: 700;
	flex-shrink: 0;
}
.dash-list li::before {
	content: "×"; color: var(--rgf-red);
	font-family: var(--ff-display); font-weight: 700;
	flex-shrink: 0;
}
.rates__note {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px dashed var(--rgf-line);
}
.rates__note ul {
	list-style: none; padding: 0; margin: 0;
	font-size: var(--fs-sm); color: var(--rgf-ink-muted);
}
.rates__note li { padding: .3rem 0; padding-left: 1.4rem; position: relative; line-height: 1.5; }
.rates__note li::before {
	content: "!"; position: absolute; left: 0;
	color: var(--rgf-red); font-family: var(--ff-display);
	font-weight: 800;
}

/* ---------- 13. Partners strip — pattern MGF ----------------------------- */
.partners {
	padding: 4rem 0;
	background: var(--rgf-bg);
	border-top: 1px solid var(--rgf-line);
	border-bottom: 1px solid var(--rgf-line);
}
.partners__head {
	text-align: center;
	margin-bottom: 2.5rem;
}
.partners__head .eyebrow { color: var(--rgf-ink-soft); }
.partners__head h3 {
	font-family: var(--ff-display); font-weight: 600;
	font-size: var(--fs-lg);
	color: var(--rgf-ink-muted);
	margin: 0;
}
.partners__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem 2.5rem;
	align-items: center;
	max-width: 1100px; margin: 0 auto;
}
.partner {
	display: flex; align-items: center; justify-content: center;
	padding: 1rem;
	opacity: 0.6;
	transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.partner:hover {
	opacity: 1;
	transform: translateY(-2px);
}
.partner img {
	max-width: 100%; max-height: 60px;
	width: auto; height: auto;
	object-fit: contain;
}

/* ---------- 14. CTA band ------------------------------------------------- */
.cta-band {
	padding: var(--section-y) 0;
	background: var(--rgf-green-dark);
	color: #fff;
	overflow: hidden;
	position: relative;
}
.cta-band::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(60% 80% at 80% 50%, rgba(139, 159, 60, 0.22) 0%, transparent 60%),
		radial-gradient(50% 70% at 10% 30%, rgba(216, 200, 174, 0.14) 0%, transparent 65%);
	pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 880px; text-align: center; margin: 0 auto; }
.cta-band__title {
	font-family: var(--ff-display);
	font-size: var(--fs-3xl);
	color: #fff; margin: 0 0 1.4rem;
	letter-spacing: -0.045em; line-height: 1.02;
	font-weight: 500;
}
.cta-band__title em { color: var(--rgf-red); font-style: normal; }
.cta-band__lede { color: rgba(255,255,255,0.78); max-width: 56ch; font-size: var(--fs-md); margin: 0 auto 2.2rem; }
.cta-band__buttons { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ---------- 15. Footer --------------------------------------------------- */
.site-footer {
	background: var(--rgf-secondary-deep);
	color: rgba(255,255,255,0.7);
	padding: 2.5rem 0 1.4rem;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer__inner {
	max-width: var(--maxw); margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 2.2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand img { width: 150px; height: auto; margin-bottom: 1.4rem; }
.site-footer__tagline {
	font-family: var(--ff-display);
	font-weight: 600;
	font-size: var(--fs-md);
	color: #fff;
	max-width: 28ch;
	line-height: 1.35;
}
.site-footer__eyebrow {
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--rgf-red); margin: 0 0 1.2rem;
	font-weight: 600;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; font-size: var(--fs-sm); }
.site-footer__role {
	display: block;
	font-family: var(--ff-display); font-size: var(--fs-sm);
	color: #fff; font-weight: 600;
	margin-bottom: .15rem;
}
.site-footer__list a { color: rgba(255,255,255,0.7); }
.site-footer__list a:hover { color: var(--rgf-red); }
.site-footer__address { font-style: normal; font-size: var(--fs-sm); line-height: 1.7; color: rgba(255,255,255,0.7); }
.site-footer__address a:hover { color: var(--rgf-red); }
.site-footer__copy { font-size: var(--fs-sm); margin: 0 0 1.3rem; line-height: 1.55; }
.site-footer__base {
	max-width: var(--maxw); margin: 0 auto;
	padding: 1.6rem var(--gutter) 0;
	display: flex; justify-content: space-between; gap: 1rem;
	flex-wrap: wrap;
	font-family: var(--ff-mono); font-size: var(--fs-xs);
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.5);
}
.site-footer__copyright, .site-footer__meta { margin: 0; }

/* ---------- 16. Reveal --------------------------------------------------- */
[data-rgf-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity .8s var(--ease) calc(var(--i, 0) * 0.06s),
		transform .8s var(--ease) calc(var(--i, 0) * 0.06s);
	will-change: transform, opacity;
}
[data-rgf-reveal].is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	[data-rgf-reveal] { opacity: 1; transform: none; }
}

/* ---------- 17. Generic page --------------------------------------------- */
.page { padding: 0; }
.page__content { max-width: 65ch; margin-top: 2rem; }
.rich-text p { margin: 0 0 1.2em; color: var(--rgf-ink-muted); }
.rich-text h2 { font-family: var(--ff-display); margin: 2.2em 0 .6em; }
.page-fallback { padding: 12rem 0 8rem; text-align: center; }
.page-fallback .display { font-size: var(--fs-3xl); margin: 1rem 0; }

/* ---------- 18. Stats prominentes (style bng) ---------------------------- */
.stats {
	padding: var(--section-y) 0;
	background: var(--rgf-bg);
	border-top: 1px solid var(--rgf-line);
	border-bottom: 1px solid var(--rgf-line);
}
.stats__head {
	text-align: center;
	max-width: 60ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.stats__title {
	font-family: var(--ff-display);
	font-size: var(--fs-3xl);
	font-weight: 500; letter-spacing: -0.045em;
	line-height: 1.02;
	color: var(--rgf-ink);
	margin: 0;
}
.stats__title em { color: var(--rgf-red); font-style: normal; font-weight: 500; }
.stats__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.stat {
	background: var(--rgf-bg-pure);
	border: 1px solid var(--rgf-line);
	border-radius: var(--radius-lg);
	padding: 2.4rem 1.6rem;
	display: flex; flex-direction: column; gap: .5rem;
	transition: all .3s var(--ease);
}
.stat:hover {
	transform: translateY(-3px);
	border-color: var(--rgf-line-strong);
	box-shadow: var(--shadow-sm);
}
.stat__num {
	font-family: var(--ff-display);
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 500; letter-spacing: -0.05em;
	line-height: 1;
	color: var(--rgf-ink);
}
.stat__num em { color: var(--rgf-red); font-style: normal; font-weight: 500; }
.stat__label {
	font-family: var(--ff-body);
	font-size: var(--fs-md);
	font-weight: 500;
	color: var(--rgf-ink);
	letter-spacing: -0.01em;
	margin-top: .35rem;
}
.stat__sub {
	font-family: var(--ff-mono); font-size: 0.72rem;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--rgf-ink-soft);
}

/* ---------- 19. Pillars (sur fond image — style bng) -------------------- */
.pillars {
	position: relative;
	padding: clamp(5rem, 10vw, 9rem) 0;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.pillars__bg {
	position: absolute; inset: 0; z-index: -2;
	background-image:
		url('https://images.unsplash.com/photo-1593115057322-e94b77572f20?ixlib=rb-4.0.3&w=1920&q=80&auto=format&fit=crop'),
		url('../images/pillars-bg.svg');
	background-size: cover, cover;
	background-position: center, center;
}
.pillars__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 14, 10, 0.4) 0%, rgba(10, 14, 10, 0.65) 60%, rgba(10, 14, 10, 0.85) 100%);
	z-index: -1;
}
.pillars__head {
	max-width: 62ch;
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}
.pillars__head .eyebrow { color: rgba(255,255,255,0.7); }
.pillars__head h2 {
	font-family: var(--ff-display);
	font-size: var(--fs-3xl);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.02;
	color: #fff;
	margin: 0 0 1.2rem;
	text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.pillars__head h2 em { color: var(--rgf-red); font-style: normal; font-weight: 500; }
.pillars__head p {
	color: rgba(255,255,255,0.82);
	font-size: var(--fs-md);
	margin: 0;
	max-width: 56ch;
}
.pillars__grid {
	display: grid; grid-template-columns: repeat(5, 1fr);
	gap: 1.2rem;
}
.pillar {
	display: flex; flex-direction: column; gap: .8rem;
	padding: 1.6rem 0 0;
	border-top: 1px solid rgba(255,255,255,0.22);
}
.pillar__num {
	font-family: var(--ff-mono); font-size: 0.72rem;
	letter-spacing: 0.18em; color: rgba(255,255,255,0.55);
	font-weight: 500;
}
.pillar h3 {
	font-family: var(--ff-display);
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.pillar p {
	margin: 0;
	font-size: var(--fs-sm);
	color: rgba(255,255,255,0.82);
	line-height: 1.55;
	text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ---------- 20. Registration page --------------------------------------- */
.reg-hero {
	background: var(--rgf-secondary-deep);
	color: #fff;
	padding: 10rem 0 4rem;
	position: relative;
	overflow: hidden;
}
.reg-hero::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(60% 80% at 80% 30%, rgba(139, 159, 60, 0.18) 0%, transparent 60%),
		radial-gradient(50% 70% at 10% 80%, rgba(216, 200, 174, 0.10) 0%, transparent 65%);
	pointer-events: none;
}
.reg-hero .container { position: relative; }
.reg-hero .eyebrow { color: var(--rgf-primary); }
.reg-hero__title {
	font-family: var(--ff-display);
	font-size: clamp(2.8rem, 6vw, 5rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1;
	margin: 0 0 1.4rem;
	color: #fff;
}
.reg-hero__title em { color: var(--rgf-primary); font-style: normal; font-weight: 500; }
.reg-hero__lede {
	max-width: 56ch;
	font-size: var(--fs-md);
	color: rgba(255,255,255,0.78);
	margin: 0;
}

.reg {
	padding: var(--section-y) 0;
	background: var(--rgf-bg);
}
.reg__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}

/* ----- Form ----- */
.reg__form {
	background: var(--rgf-bg-pure);
	border: 1px solid var(--rgf-line);
	border-radius: var(--radius-lg);
	padding: 2.4rem 2.2rem;
	display: flex; flex-direction: column; gap: 1.6rem;
}
.reg-fs {
	border: 0;
	padding: 0;
	margin: 0;
	display: flex; flex-direction: column; gap: 1rem;
}
.reg-fs legend {
	font-family: var(--ff-mono); font-size: 0.74rem;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--rgf-primary);
	font-weight: 600;
	margin-bottom: .4rem;
	padding-bottom: .6rem;
	border-bottom: 1px solid var(--rgf-line);
	width: 100%;
}
.reg-row {
	display: grid; grid-template-columns: 1fr;
	gap: 1rem;
}
.reg-row--two { grid-template-columns: 1fr 1fr; }
.reg-row--three { grid-template-columns: 1fr 1fr 1fr; }

.reg-field {
	display: flex; flex-direction: column; gap: .4rem;
}
.reg-field__label {
	font-family: var(--ff-mono); font-size: 0.7rem;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--rgf-ink-muted);
	font-weight: 500;
}
.reg-field__label em {
	color: var(--rgf-primary); font-style: normal;
	margin-left: .15em;
}
.reg-field__hint {
	font-size: var(--fs-sm); color: var(--rgf-ink-soft);
	padding: .85rem 0;
}
.reg-field input,
.reg-field select,
.reg-field textarea {
	width: 100%;
	padding: .85rem 1rem;
	background: var(--rgf-bg);
	border: 1px solid var(--rgf-line-strong);
	border-radius: var(--radius-sm);
	font-family: var(--ff-body); font-size: var(--fs-base);
	color: var(--rgf-ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.reg-field input:focus,
.reg-field select:focus,
.reg-field textarea:focus {
	outline: none;
	border-color: var(--rgf-primary);
	background: var(--rgf-bg-pure);
	box-shadow: 0 0 0 3px var(--rgf-primary-faint);
}
.reg-field textarea { resize: vertical; min-height: 100px; }
.reg-field select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4l3 3 3-3' fill='none' stroke='%2342352D' stroke-width='1.5' stroke-linecap='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 12px;
	padding-right: 2.4rem;
}

.reg-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.reg-submit {
	display: flex; flex-direction: column; gap: .9rem;
	padding-top: 1rem;
	border-top: 1px solid var(--rgf-line);
}
.reg-submit .button {
	align-self: flex-start;
	padding: 1.1rem 2.4rem;
}
.reg-submit__note {
	margin: 0;
	font-size: 0.78rem;
	color: var(--rgf-ink-muted);
	line-height: 1.45;
	max-width: 56ch;
}

.reg-msg {
	display: flex; align-items: flex-start; gap: .75rem;
	padding: 1rem 1.2rem;
	border-radius: var(--radius);
	font-size: var(--fs-sm);
	line-height: 1.45;
}
.reg-msg svg { flex-shrink: 0; margin-top: 2px; }
.reg-msg--success {
	background: var(--rgf-primary-faint);
	color: var(--rgf-primary-deep);
	border: 1px solid var(--rgf-primary);
}
.reg-msg--error {
	background: rgba(196, 90, 59, 0.10);
	color: #8E3E2A;
	border: 1px solid rgba(196, 90, 59, 0.45);
}

/* ----- Side panel ----- */
.reg-side {
	display: flex; flex-direction: column; gap: 1.2rem;
	position: sticky; top: 6rem;
}
.reg-side__panel {
	background: var(--rgf-bg-pure);
	border: 1px solid var(--rgf-line);
	border-radius: var(--radius-lg);
	padding: 1.8rem 1.8rem;
}
.reg-side__panel h2 {
	font-family: var(--ff-display);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1;
	margin: 0 0 1.4rem;
	color: var(--rgf-ink);
}
.reg-side__list {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column;
	border-top: 1px solid var(--rgf-line);
}
.reg-side__list li {
	display: grid; grid-template-columns: 100px 1fr;
	gap: 1rem;
	padding: .85rem 0;
	border-bottom: 1px solid var(--rgf-line);
	font-size: var(--fs-sm);
}
.reg-side__list li:last-child { border-bottom: 0; }
.reg-side__list strong {
	font-family: var(--ff-mono); font-size: 0.7rem;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--rgf-ink-muted);
	font-weight: 500;
	align-self: center;
}
.reg-side__list span { color: var(--rgf-ink); line-height: 1.45; }

.reg-side__panel--dark {
	background: var(--rgf-secondary);
	color: rgba(255,255,255,0.85);
	border-color: var(--rgf-secondary);
}
.reg-side__panel--dark .eyebrow { color: var(--rgf-primary-soft); }
.reg-side__panel--dark p {
	margin: 0 0 1.2rem;
	color: rgba(255,255,255,0.8);
	font-size: var(--fs-sm);
	line-height: 1.55;
}
.reg-side__contact {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: .5rem;
	font-family: var(--ff-mono); font-size: 0.78rem;
	letter-spacing: 0.04em;
}
.reg-side__contact a { color: rgba(255,255,255,0.8); transition: color .2s var(--ease); }
.reg-side__contact a:hover { color: var(--rgf-primary-soft); }

/* ---------- 21. Responsive ----------------------------------------------- */

/* === Tablets & below (≤ 1024px) — mobile menu kicks in here too =========== */
@media (max-width: 1024px) {
	.section-head--split { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
	.section-head--split .section-head__lede { padding-bottom: 0; }

	/* Header: hamburger appears, inline desktop nav goes off-screen */
	.site-header__inner {
		grid-template-columns: auto 1fr auto;
		padding: 0.9rem var(--gutter);
		gap: 1rem;
	}
	.site-nav { display: flex; justify-content: flex-end; }
	.site-nav__toggle {
		display: inline-flex;
		order: 0;
		color: #fff;
		text-shadow: 0 1px 6px rgba(0,0,0,0.4);
	}
	.site-header.is-scrolled .site-nav__toggle { color: var(--rgf-ink); text-shadow: none; }
	.site-nav__panel {
		position: fixed;
		top: 0; right: 0; bottom: 0; left: 0;
		width: 100vw; height: 100vh; height: 100dvh;
		display: grid;
		grid-template-rows: auto 1fr auto;
		gap: 1rem;
		background: var(--rgf-secondary-deep);
		color: #fff;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: transform .45s var(--ease), opacity .35s var(--ease), visibility 0s linear .45s;
		z-index: 1000;
		padding: 1.5rem var(--gutter) 2rem;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.site-nav__head {
		display: flex !important;
		justify-content: space-between; align-items: center;
		padding: 0 0 1rem;
	}
	.site-nav__foot { display: flex !important; }
	.site-nav__num { display: inline !important; }
	.site-nav__close { display: inline-flex !important; }
	.site-nav__list li { display: flex !important; }
	.site-nav__brand { display: inline-flex; line-height: 0; opacity: 0.95; }
	.site-nav__brand img { width: 56px; height: auto; }
	.site-nav__close {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px;
		background: rgba(255,255,255,0.06);
		border: 1px solid rgba(255,255,255,0.18);
		border-radius: 50%;
		color: #fff;
		transition: all .25s var(--ease);
	}
	.site-nav__close:hover {
		background: var(--rgf-primary);
		border-color: var(--rgf-primary);
	}
	.site-nav__list {
		list-style: none; margin: 0; padding: 1rem 0;
		display: flex; flex-direction: column;
		justify-content: center;
		gap: 0;
		font-size: var(--fs-lg);
	}
	.site-nav__list li {
		display: flex; align-items: baseline; gap: 1rem;
		padding: 0.9rem 0;
		border-bottom: 1px solid rgba(255,255,255,0.10);
	}
	.site-nav__list li:last-child { border-bottom: 0; }
	.site-nav__num {
		font-family: var(--ff-mono); font-size: 0.78rem;
		letter-spacing: 0.18em; color: var(--rgf-primary);
		font-weight: 500;
		flex-shrink: 0;
		width: 2rem;
	}
	.site-nav__list a {
		color: #fff;
		text-shadow: none;
		font-family: var(--ff-display);
		font-size: clamp(1.75rem, 7vw, 2.5rem);
		font-weight: 500;
		letter-spacing: -0.03em;
		line-height: 1;
		flex: 1;
		transition: color .25s var(--ease), transform .25s var(--ease);
	}
	.site-nav__list a::after { display: none; }
	.site-nav__list a:hover {
		color: var(--rgf-primary);
		transform: translateX(6px);
	}
	.site-header.is-scrolled .site-nav__list a { color: #fff; text-shadow: none; }

	.site-nav__foot {
		display: flex; flex-direction: column; gap: 1.2rem;
		padding-top: 1.5rem;
		border-top: 1px solid rgba(255,255,255,0.14);
	}
	.site-nav__foot .button { width: 100%; justify-content: center; padding: 1rem 1.5rem; font-size: 0.82rem; }
	.site-nav__contact {
		list-style: none; padding: 0; margin: 0;
		display: flex; flex-direction: column; gap: .5rem;
		font-family: var(--ff-mono); font-size: 0.78rem;
		letter-spacing: 0.06em;
		color: rgba(255,255,255,0.7);
	}
	.site-nav__contact a { color: rgba(255,255,255,0.7); transition: color .2s var(--ease); }
	.site-nav__contact a:hover { color: var(--rgf-primary); }

	body.is-menu-open { overflow: hidden; }
	body.is-menu-open .site-nav__panel {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		transition: transform .45s var(--ease), opacity .35s var(--ease), visibility 0s linear 0s;
	}
	/* Hide the burger (and the rest of the header chrome) when drawer is open
	   — the close X inside the drawer is enough */
	body.is-menu-open .site-nav__toggle,
	body.is-menu-open .site-cta,
	body.is-menu-open .site-brand { visibility: hidden; }

	/* Grids: 2 cols at tablet */
	.hero__benefits { grid-template-columns: repeat(2, 1fr); }
	.hero__benefit { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 1rem; }
	.hero__benefit:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
	.highlights__grid { grid-template-columns: repeat(2, 1fr); }
	.courses__grid { grid-template-columns: repeat(2, 1fr); }
	.rates__list { grid-template-columns: 1fr; }
	.rate--highlighted { transform: scale(1); }
	.rate--highlighted:hover { transform: translateY(-4px); }
	.rates__split { grid-template-columns: 1fr; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.partners__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

	.reg__grid { grid-template-columns: 1fr; gap: 2rem; }
	.reg-side { position: static; }
}

/* === Phone landscape / small tablet portrait (≤ 768px) =================== */
@media (max-width: 768px) {
	:root {
		--section-y: 3.5rem;
		--gutter: 1.25rem;
	}

	.site-brand__mark { width: 52px; }

	.site-cta { padding: .5rem .9rem; font-size: 0.78rem; }
	.site-nav__toggle-label { display: none; }

	/* Hero typography down a notch */
	.hero {
		min-height: 88vh;
		padding: 7.5rem 0 4.5rem;
	}
	.hero::before { height: 180px; }
	.hero__title {
		font-size: clamp(2.4rem, 11vw, 4.4rem);
		line-height: 1.02;
	}
	.hero__lede { font-size: var(--fs-base); }
	.hero__cta { gap: .55rem; }
	.hero__cta .button { padding: .85rem 1.3rem; font-size: 0.78rem; }

	/* Grids → 1 col */
	.intro__grid { grid-template-columns: 1fr; gap: 1rem; }
	.intro__lead { font-size: clamp(1.4rem, 5vw, 1.9rem); }
	.highlights__grid { grid-template-columns: 1fr; }
	.programme__list { grid-template-columns: 1fr; }
	.courses__grid { grid-template-columns: 1fr; }
	.partners__grid { grid-template-columns: repeat(3, 1fr); gap: .8rem 1rem; }
	.pillars__grid { grid-template-columns: 1fr; gap: 1.3rem; }

	/* Section headings tighter */
	.section-head__title,
	.stats__title,
	.pillars__head h2,
	.cta-band__title {
		font-size: clamp(1.9rem, 7vw, 2.6rem);
	}

	/* Stats — keep 2 cols (looks better than 1) */
	.stats__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
	.stat { padding: 1.4rem 1.1rem; gap: .35rem; }
	.stat__num { font-size: clamp(2rem, 8vw, 2.8rem); }
	.stat__label { font-size: var(--fs-sm); }
	.stat__sub { font-size: 0.62rem; }

	/* Rate cards */
	.rate { padding: 1.5rem 1.3rem; border-radius: var(--radius); }
	.rate__head { padding-bottom: 1rem; margin-bottom: 1.1rem; }
	.rate__hotel { font-size: 1.35rem; }
	.rate__price-value { font-size: clamp(2rem, 9vw, 2.8rem); }
	.rate__matrix { grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
	.rate__matrix dd { font-size: 1rem; }
	.rate__price-pair { gap: 1.2rem; }

	/* Hero benefits 2 cols still works */
	.hero__benefits { grid-template-columns: 1fr 1fr; padding: 1.1rem; gap: .8rem; }
	.hero__benefit { padding: .3rem .4rem; }
	.hero__benefit-num { font-size: 1.55rem; }
	.hero__benefit-label { font-size: 0.82rem; }
	.hero__benefit-sub { font-size: 0.62rem; }
	.hero__scroll { display: none; }

	/* Footer */
	.site-footer__inner { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 1.6rem; }
	.site-footer__base { flex-direction: column; align-items: flex-start; gap: .4rem; }

	/* Courses dark section + Pillars on photo: tighter typography */
	.course__name { font-size: 1.4rem; }
	.pillar h3 { font-size: 1.2rem; }

	/* Registration */
	.reg-hero { padding: 8rem 0 3rem; }
	.reg__form { padding: 1.6rem 1.4rem; gap: 1.2rem; }
	.reg-row--two,
	.reg-row--three { grid-template-columns: 1fr; }
	.reg-side__list li { grid-template-columns: 90px 1fr; }
}

/* === Phone portrait (≤ 480px) ============================================ */
@media (max-width: 480px) {
	:root { --gutter: 1rem; }

	.site-header__inner { padding: 0.75rem var(--gutter); gap: .5rem; }
	.site-brand__mark { width: 46px; }
	.site-cta { padding: .45rem .8rem; font-size: 0.72rem; gap: .35rem; }
	.site-cta svg { width: 12px; height: 12px; }

	.hero {
		padding: 6.5rem 0 4rem;
		min-height: 92vh;
	}
	.hero__title { font-size: clamp(2.2rem, 12vw, 3.6rem); }
	.hero__benefits {
		grid-template-columns: 1fr;
		gap: .65rem;
		padding: 1rem;
	}
	.hero__benefit {
		border-bottom: 1px solid rgba(255,255,255,0.15) !important;
		padding-bottom: .65rem;
		flex-direction: row; align-items: baseline;
		gap: .7rem;
	}
	.hero__benefit:last-child { border-bottom: 0 !important; padding-bottom: 0; }
	.hero__benefit-num {
		flex-shrink: 0;
		min-width: 3rem;
		font-size: 1.5rem;
	}
	.hero__benefit-label { flex: 1; font-size: 0.85rem; }
	.hero__benefit-sub { display: none; }

	.hero__cta { width: 100%; }
	.hero__cta .button { flex: 1; justify-content: center; }

	.hero__meta { gap: .4rem; }
	.hero__chip { padding: .35rem .8rem; font-size: 0.65rem; }

	.section-head__title,
	.stats__title,
	.pillars__head h2,
	.cta-band__title {
		font-size: clamp(1.75rem, 8vw, 2.2rem);
	}

	.stats__grid { grid-template-columns: 1fr 1fr; gap: .55rem; }
	.stat { padding: 1.1rem .9rem; }
	.stat__num { font-size: 1.9rem; }

	.day { padding: 1.4rem 1.2rem; }
	.day__title { font-size: 1.4rem; }

	.course__body { padding: 1.3rem 1.4rem 1.6rem; }
	.course__name { font-size: 1.3rem; }

	.rate__price-pair {
		flex-direction: column; gap: .8rem;
	}

	.rates__panel { padding: 1.4rem 1.2rem; }

	.partners__grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
	.partner { padding: .6rem; }
	.partner img { max-height: 48px; }

	.cta-band__buttons { flex-direction: column; align-items: stretch; }
	.cta-band__buttons .button { justify-content: center; }
}
