/* ============================================================
   Mauritian Youth Forum 2026 — Landing page
   Visual direction modelled on bentleymotors.com:
   cinematic photography, restrained type, frosted glass,
   monochrome silver + one accent (CDI blue).
   Colours are authored in OKLCH to match the design spec.
   ============================================================ */

:root {
  --ink: oklch(15% 0.03 262);
  --ink-deep: oklch(9% 0.02 262);
  --ink-deeper: oklch(9% 0.004 260);
  --cream: oklch(96% 0.01 85);
  --cream-section: oklch(97% 0.008 85);
  --accent: oklch(63% 0.12 265);
  --accent-hover: oklch(70% 0.13 265);
  --nav-h: 84px;
}

* { box-sizing: border-box; }

/* ---- Production-phase access gate ---- */
html.myf-locked, html.myf-locked body { overflow: hidden; height: 100%; }
html.myf-locked body > *:not(#myfGate) { visibility: hidden; }
.myf-gate {
  position: fixed; inset: 0; z-index: 6000; cursor: auto;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(91,127,214,0.18), transparent 55%),
    linear-gradient(150deg,#0e1016,#161a26 60%,#10131c);
}
html:not(.myf-locked) .myf-gate { display: none; }
.myf-gate * { cursor: auto; }
.myf-gate-box { width: 100%; max-width: 400px; text-align: center; font-family: 'Jost', sans-serif; }
.myf-gate-title { font-size: 22px; font-weight: 600; letter-spacing: 0.16em; color: #f4f2ee; margin-bottom: 18px; }
.myf-gate-sub { font-size: 14px; line-height: 1.65; color: #aeb7c8; font-weight: 300; margin: 0 0 26px; }
.myf-gate form { display: flex; gap: 10px; }
.myf-gate input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 3px; border: 1px solid rgba(200,210,230,0.2); background: rgba(255,255,255,0.06); color: #f4f2ee; font-family: 'Jost', sans-serif; font-size: 15px; letter-spacing: 0.04em; }
.myf-gate input::placeholder { color: #8790a2; }
.myf-gate input:focus { outline: none; border-color: #5b7fd6; }
.myf-gate button { padding: 13px 22px; border-radius: 3px; border: 1px solid #5b7fd6; background: #5b7fd6; color: #fff; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; flex: none; }
.myf-gate button:hover { background: #6f8fe0; }
.myf-gate-error { color: #e8899e; font-size: 13px; margin-top: 14px; min-height: 16px; font-weight: 300; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Jost', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  position: relative;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* Hide the native cursor on interactive elements (desktop only) */
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Overlap adjacent full-width sections by 1px so the browser never leaves a
   sub-pixel hairline between contrasting (light/dark) backgrounds while
   scrolling. Each section is positioned + later in the DOM, so it paints
   over the 1px it borrows from the section above. */
.countdown, .about, .themes, .schedule, .expect, .register, .footer {
  position: relative;
  margin-top: -1px;
  z-index: 1;
}

/* Parametric aurora background: a fixed canvas behind the whole page.
   Only the dark, slightly-translucent sections reveal it. */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block;
}
/* Let the aurora glow through the dark sections (kept high-opacity so text
   contrast is untouched); light sections stay fully opaque and clean. */
.countdown { background: oklch(9% 0.004 260 / 0.80); }
.themes { background: oklch(15% 0.03 262 / 0.76); }
.expect { background: oklch(15% 0.03 262 / 0.76); }
.footer { background: oklch(9% 0.02 262 / 0.84); }

/* Keyframes ---------------------------------------------------- */
@keyframes myfScrollCue { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes myfKenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
@keyframes myfClockHand { from { transform: translate(-50%,-100%) rotate(0deg); } to { transform: translate(-50%,-100%) rotate(360deg); } }

/* Intro overlay ----------------------------------------------- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease;
}
.intro-overlay.done { opacity: 0; pointer-events: none; }
.intro-label {
  font-size: 12px; letter-spacing: 0.3em; color: oklch(70% 0.02 262); font-weight: 400;
  transition: opacity 0.6s ease;
}
.intro-overlay.done .intro-label { opacity: 0; }

/* Nav --------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: oklch(11% 0.025 262 / 0);
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.active {
  background: oklch(11% 0.025 262 / 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid oklch(96% 0.01 85 / 0.14);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo {
  font-size: 15px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--cream); text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 13px; letter-spacing: 0.06em; color: oklch(90% 0.01 85);
  text-decoration: none; font-weight: 400;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-desktop { display: flex; align-items: center; gap: 44px; }
.nav-mobile { display: none; align-items: center; gap: 18px; }

.lang-toggle { display: flex; align-items: center; gap: 8px; }
.mobile-menu-lang { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  background: none; border: none; padding: 0; cursor: inherit;
  font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.08em;
  font-weight: 400; color: oklch(60% 0.01 85);
  transition: text-shadow 0.3s ease;
}
.lang-btn.active { font-weight: 600; color: var(--accent); }
.lang-btn:hover { text-shadow: 0 0 12px oklch(96% 0.002 260 / 0.85); }
.lang-sep { color: oklch(60% 0.01 85); font-size: 11px; }

.nav-cta {
  display: inline-flex; align-items: center; padding: 10px 21px;
  background: transparent; color: oklch(96% 0.002 260);
  border: 1px solid oklch(96% 0.002 260 / 0.45);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-cta--compact { padding: 9px 16px; font-size: 11px; }

/* Hamburger */
.hamburger {
  background: none; border: none; padding: 8px; cursor: inherit;
  display: flex; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--cream); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  background: oklch(11% 0.025 262 / 0);
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  opacity: 0; transform: scale(1.04); pointer-events: none;
  transition: opacity 0.45s cubic-bezier(.16,.8,.28,1), transform 0.45s cubic-bezier(.16,.8,.28,1), backdrop-filter 0.5s ease, background 0.5s ease;
}
.mobile-menu.open {
  background: oklch(11% 0.025 262 / 0.72);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  opacity: 1; transform: scale(1); pointer-events: auto;
}
.mobile-menu-close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none; color: var(--cream);
  font-size: 30px; line-height: 1; font-family: 'Jost', sans-serif; font-weight: 300; cursor: inherit;
}
.mobile-menu-item {
  font-size: 32px; font-weight: 400; color: var(--cream); text-decoration: none;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.16,.8,.28,1);
}
.mobile-menu-lang {
  opacity: 0; transform: translateY(18px); margin-top: 18px;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.16,.8,.28,1);
}
.mobile-menu.open .mobile-menu-item,
.mobile-menu.open .mobile-menu-lang { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-item:nth-of-type(1) { transition-delay: 90ms; }
.mobile-menu.open .mobile-menu-item:nth-of-type(2) { transition-delay: 145ms; }
.mobile-menu.open .mobile-menu-item:nth-of-type(3) { transition-delay: 200ms; }
.mobile-menu.open .mobile-menu-item:nth-of-type(4) { transition-delay: 255ms; }
.mobile-menu.open .mobile-menu-lang { transition-delay: 310ms; }
.mobile-menu-divider {
  width: 52px; height: 1px; background: oklch(96% 0.01 85 / 0.16);
  opacity: 0; transition: opacity 0.4s ease;
}
.mobile-menu.open .mobile-menu-divider { opacity: 1; }

/* Shared CTA -------------------------------------------------- */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 35px; background: transparent; color: oklch(96% 0.002 260);
  border: 1px solid oklch(96% 0.002 260 / 0.5);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cta--register { padding: 17px 43px; }
/* Touch / no custom cursor: give CTAs a visible hover fill */
@media (hover: hover) and (pointer: coarse), (hover: none) {
  .cta:hover, .nav-cta:hover {
    background: oklch(98% 0 0); color: oklch(10% 0.004 260); border-color: oklch(98% 0 0);
  }
}

.kicker {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: oklch(50% 0.006 250); font-weight: 600; margin-bottom: 18px;
}
.kicker--light-section { text-align: center; margin-bottom: 20px; }

.section-header { margin-bottom: 76px; }
.section-header--center { text-align: center; }
.section-heading {
  font-weight: 500; font-size: 46px; letter-spacing: -0.01em; margin: 0;
}
.section-heading--light { color: var(--cream); }
.section-heading--dark { color: oklch(20% 0.03 262); }

/* Background photo helpers ------------------------------------ */
.bg-photo { width: 100%; height: 100%; object-fit: cover; }
.ken-burns { position: absolute; inset: 0; transform-origin: center; }
.ken-burns--slow { animation: myfKenBurns 24s ease-in-out infinite alternate; }
.ken-burns--slow-reverse { animation: myfKenBurns 26s ease-in-out infinite alternate-reverse; }

.pattern-overlay { position: absolute; inset: 0; pointer-events: none; }
.pattern-overlay--light { background-image: repeating-linear-gradient(135deg, oklch(20% 0.03 262 / 0.035) 0px, oklch(20% 0.03 262 / 0.035) 1px, transparent 1px, transparent 15px); }
.pattern-overlay--dark { background-image: repeating-linear-gradient(135deg, oklch(96% 0.01 85 / 0.03) 0px, oklch(96% 0.01 85 / 0.03) 1px, transparent 1px, transparent 15px); }

.glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.glow--about { width: 520px; height: 520px; top: -160px; right: -160px; background: radial-gradient(circle, oklch(90% 0.002 260 / 0.16), transparent 70%); }
.glow--themes-a { width: 520px; height: 520px; top: -180px; left: -140px; background: radial-gradient(circle, oklch(90% 0.002 260 / 0.16), transparent 70%); }
.glow--themes-b { width: 480px; height: 480px; bottom: -200px; right: -120px; background: radial-gradient(circle, oklch(75% 0.004 260 / 0.14), transparent 70%); }
.glow--register { width: 520px; height: 520px; top: 20%; left: -160px; z-index: 1; background: radial-gradient(circle, oklch(90% 0.002 260 / 0.16), transparent 70%); }

/* Hero -------------------------------------------------------- */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 620px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-parallax { position: absolute; top: -80px; left: 0; right: 0; bottom: -80px; will-change: transform; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-scrim--v { background: linear-gradient(180deg, oklch(9% 0.02 262 / 0.4) 0%, oklch(9% 0.02 262 / 0.72) 55%, oklch(7% 0.02 262 / 0.96) 100%); }
.hero-scrim--radial { background: radial-gradient(ellipse at center, transparent 30%, oklch(7% 0.02 262 / 0.6) 100%); }
.hero-scrim--left { background: linear-gradient(90deg, oklch(6% 0.02 262 / 0.75) 0%, oklch(6% 0.02 262 / 0.35) 45%, transparent 75%); }
.hero-content {
  position: relative; z-index: 2; width: 100%;
  padding: 0 48px 120px; max-width: 980px;
}
.hero-logos { position: absolute; top: 106px; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 24px; }
.hero-logo { height: 30px; width: auto; opacity: 0.96; filter: drop-shadow(0 1px 5px oklch(9% 0.02 262 / 0.5)); }
/* Recolour the blue CDI logo to white for the dark hero (no shadow — keeps the fine "sur" crisp) */
.hero-logo--cdi { filter: brightness(0) invert(1); }
.hero-logo-divider { width: 1px; height: 24px; background: oklch(96% 0.01 85 / 0.4); }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: oklch(75% 0.006 250); margin-bottom: 22px; font-weight: 500; }
.hero-title { font-weight: 500; font-size: clamp(40px,6vw,72px); line-height: 1.12; letter-spacing: -0.01em; color: oklch(97% 0.008 85); margin: 0 0 26px; max-width: 820px; }
.hero-subtitle { font-size: 17px; line-height: 1.7; color: oklch(85% 0.01 85); max-width: 520px; margin: 0 0 40px; font-weight: 300; }

.meta-pill {
  background: oklch(96% 0.01 85 / 0.10);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: none;
  border-radius: 999px; padding: 13px 28px;
  box-shadow: 0 8px 24px oklch(9% 0.02 262 / 0.25);
  display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap;
  width: fit-content; max-width: 100%;
  font-size: 13px; letter-spacing: 0.04em; color: oklch(88% 0.01 85);
}
.meta-pill--center { margin: 48px auto 0; }
/* Desktop: match the Register button — same height, square 2px corners,
   single row, bottom edge aligned with the button (hero padding-bottom). */
.hero-meta {
  position: absolute; right: 48px; bottom: 120px; max-width: none;
  flex-wrap: nowrap; white-space: nowrap;
  padding: 16px 28px; border-radius: 2px; gap: 22px;
}
.meta-item { display: inline-flex; align-items: center; gap: 9px; }
.meta-venue-link { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.3s ease, border-color 0.3s ease; }
.meta-venue-link:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }
.meta-icon { flex: none; opacity: 0.7; }

.scroll-cue {
  position: absolute; bottom: 32px; left: 0; right: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: oklch(96% 0.01 85 / 0.7); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  animation: myfScrollCue 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
.scroll-cue.hidden { opacity: 0; pointer-events: none; animation: none; }

/* Countdown --------------------------------------------------- */
.countdown {
  position: relative; background: var(--ink-deeper);
  padding: 56px 48px; text-align: center; overflow: hidden;
}
.countdown-glow {
  position: absolute; width: 480px; height: 260px; left: 50%; top: 50%;
  transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(ellipse, oklch(85% 0.002 260 / 0.05), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.countdown-inner { position: relative; max-width: 780px; margin: 0 auto; }
.countdown-kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: oklch(48% 0.006 250); font-weight: 500; margin-bottom: 24px; }
.countdown-started { font-size: 22px; font-weight: 400; color: oklch(80% 0.002 260); }
.countdown-grid { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; }
.countdown-value { font-size: 34px; font-weight: 500; color: oklch(80% 0.004 260); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.countdown-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(45% 0.006 250); margin-top: 8px; }
.countdown-divider { width: 1px; height: 34px; background: oklch(96% 0.002 260 / 0.1); }

/* About ------------------------------------------------------- */
.about { background: var(--cream-section); padding: 150px 48px; position: relative; overflow: hidden; }
.presented-by {
  display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  width: fit-content; max-width: 100%; margin: 0 auto 90px;
  background: oklch(100% 0 0 / 0.45);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: none; border-radius: 999px; padding: 16px 32px;
  box-shadow: 0 8px 28px oklch(20% 0.03 262 / 0.08);
}
.presented-by-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(45% 0.02 262); white-space: nowrap; }
/* full-colour blue logos on the light section */
.presented-by-logo { height: 34px; width: auto; object-fit: contain; flex: none; }
.presented-by-divider { width: 1px; height: 26px; background: oklch(20% 0.03 262 / 0.15); flex: none; }
.about-lead-wrap { max-width: 760px; margin: 0 auto 84px; }
.about-lead { font-weight: 300; font-size: clamp(24px,2.8vw,32px); line-height: 1.5; color: oklch(20% 0.03 262); margin: 0; letter-spacing: 0.005em; text-align: center; }
.about-grid { display: flex; flex-wrap: wrap; gap: 80px; align-items: center; }
.about-image { flex: 1 1 320px; min-width: 280px; width: 100%; height: 400px; position: relative; }
.about-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.about-text { flex: 2 1 380px; min-width: 280px; }
.about-support { font-size: 17px; line-height: 1.75; color: oklch(45% 0.02 262); margin: 0 0 32px; font-weight: 300; }
.objectives-heading { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(20% 0.03 262); font-weight: 600; margin-bottom: 12px; }
.objective-row { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid oklch(20% 0.03 262 / 0.12); }
.objective-num { font-size: 18px; font-weight: 500; color: oklch(50% 0.006 250); flex: none; }
.objective-text { font-size: 15px; line-height: 1.6; color: oklch(30% 0.02 262); font-weight: 300; }

/* Themes ------------------------------------------------------ */
.themes { background: var(--ink); padding: 150px 48px; position: relative; overflow: hidden; }
.theme-carousel { max-width: 760px; margin: 0 auto; position: relative; touch-action: pan-y; }
.theme-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: oklch(96% 0.01 85 / 0.06); border: 1px solid oklch(96% 0.01 85 / 0.14);
  border-radius: 999px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: oklch(90% 0.01 85); font-size: 18px; z-index: 5; cursor: inherit;
  -webkit-tap-highlight-color: transparent;
}
.theme-arrow--prev { left: -64px; }
.theme-arrow--next { right: -64px; }
.theme-display {
  position: relative; min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.36s ease, filter 0.36s ease, transform 0.36s ease;
}
.theme-display.fading { opacity: 0; filter: blur(14px); transform: scale(1.04); }
.theme-num { font-size: 72px; font-weight: 500; color: oklch(50% 0.006 250); line-height: 1; }
.theme-title { font-size: 34px; font-weight: 400; color: var(--cream); margin-top: 18px; max-width: 640px; line-height: 1.3; text-align: center; }
.theme-dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 44px; flex-wrap: wrap; }
.theme-dot { width: 8px; height: 8px; border-radius: 999px; background: oklch(96% 0.01 85 / 0.2); border: none; padding: 0; cursor: inherit; transition: width 0.3s ease, background 0.3s ease; }
.theme-dot.active { width: 22px; background: var(--accent); }

/* Schedule ---------------------------------------------------- */
.schedule { background: var(--cream-section); padding: 150px 48px; position: relative; }
.schedule-time { display: inline-flex; align-items: center; gap: 9px; justify-content: center; font-size: 13.5px; color: oklch(45% 0.02 262); font-weight: 300; margin-top: -32px; margin-bottom: 48px; width: 100%; }
.schedule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.schedule-card {
  position: relative;
  background: oklch(100% 0 0 / 0.62);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: none;
  border-radius: 8px; padding: 0; overflow: hidden; box-shadow: 0 10px 34px oklch(20% 0.03 262 / 0.12);
}
/* Calendar-page look */
.cal-month {
  position: relative;
  background: oklch(63% 0.12 265); color: oklch(98% 0.01 85);
  text-align: center; padding: 15px 12px 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.cal-binding { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); }
.cal-binding::before, .cal-binding::after {
  content: ''; position: absolute; top: 0; width: 6px; height: 6px; border-radius: 50%;
  background: oklch(30% 0.05 265); box-shadow: inset 0 1px 1px oklch(15% 0.03 262 / 0.6);
}
.cal-binding::before { left: -13px; }
.cal-binding::after { left: 7px; }
.cal-body { padding: 22px 26px 26px; text-align: center; }
.cal-daynum { font-size: 58px; font-weight: 500; color: oklch(20% 0.03 262); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.cal-weekday { font-size: 12.5px; letter-spacing: 0.14em; text-transform: capitalize; color: oklch(63% 0.12 265); font-weight: 500; margin-top: 8px; }
.cal-label { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(45% 0.02 262); font-weight: 600; margin-top: 16px; }
.schedule-card-rule { height: 1px; background: oklch(20% 0.03 262 / 0.12); margin: 14px 0 18px; }
.schedule-card-item { font-size: 13.5px; line-height: 1.55; color: oklch(30% 0.02 262); padding: 7px 0; font-weight: 300; }

/* Expect ------------------------------------------------------ */
.expect { background: var(--ink); padding: 130px 48px; position: relative; }
.expect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.expect-item { text-align: center; }
.expect-icon {
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid oklch(96% 0.01 85 / 0.18);
  display: flex; align-items: center; justify-content: center; color: oklch(75% 0.006 250); margin: 0 auto 22px;
}
.expect-title { font-size: 16px; font-weight: 500; color: var(--cream); margin-bottom: 10px; }
.expect-text { font-size: 13.5px; line-height: 1.6; color: oklch(65% 0.02 262); font-weight: 300; }

/* Register ---------------------------------------------------- */
.register { position: relative; width: 100%; overflow: hidden; }
.register-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.register-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, oklch(9% 0.02 262 / 0.58) 0%, oklch(9% 0.02 262 / 0.44) 42%, oklch(9% 0.02 262 / 0.48) 70%, oklch(9% 0.02 262 / 0.82) 100%); }
/* Anchor the register photo to its bottom so the audience/crowd stays in frame */
.register .bg-photo { object-position: center bottom; }
.register-inner { position: relative; z-index: 2; padding: 170px 48px; text-align: center; }
.register-panel {
  max-width: 720px; margin: 0 auto; padding: 72px 64px; border-radius: 10px;
  background: oklch(96% 0.01 85 / 0.07);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
  border: none; box-shadow: 0 24px 70px oklch(9% 0.02 262 / 0.45);
}
.register-panel .kicker { margin-bottom: 26px; }
.register-heading { font-weight: 500; font-size: clamp(34px,5vw,58px); line-height: 1.15; color: var(--cream); margin: 0 0 30px; letter-spacing: -0.01em; }
.register-body { font-size: 16px; line-height: 1.7; color: oklch(75% 0.02 262); max-width: 520px; margin: 0 auto 32px; font-weight: 300; }
.register-form { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 55px oklch(9% 0.02 262 / 0.45); }
.register-form iframe { width: 100%; height: 760px; border: 0; display: block; cursor: auto; }
.register-fallback { display: inline-block; margin-top: 16px; font-size: 13px; color: oklch(72% 0.02 262); text-decoration: none; font-weight: 300; letter-spacing: 0.02em; }
.register-fallback:hover { color: var(--accent-hover); }

/* Footer ------------------------------------------------------ */
.footer { background: var(--ink-deep); padding: 70px 48px 44px; }
.footer-logos { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.footer-logo { height: 32px; width: auto; opacity: 0.92; }
/* Recolour the blue CDI logo to white for the dark footer */
.footer-logo--cdi { filter: brightness(0) invert(1); }
.footer-logo-divider { width: 1px; height: 24px; background: oklch(96% 0.01 85 / 0.18); }
.footer-tagline { text-align: center; font-size: 13px; line-height: 1.7; color: oklch(60% 0.02 262); max-width: 560px; margin: 28px auto 0; font-weight: 300; }
.footer-contact { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 38px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; }
.footer-contact-divider { width: 1px; height: 20px; background: oklch(96% 0.01 85 / 0.16); }
.footer-contact-label { font-size: 12.5px; color: oklch(75% 0.02 262); font-weight: 300; letter-spacing: 0.02em; margin-left: 6px; }
.footer-contact-link { font-size: 12.5px; color: oklch(75% 0.02 262); font-weight: 300; letter-spacing: 0.02em; text-decoration: none; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid oklch(96% 0.01 85 / 0.18);
  display: flex; align-items: center; justify-content: center; color: oklch(75% 0.01 85);
  flex: none; box-sizing: border-box; background: none; cursor: inherit;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.phone-copy { position: relative; }
.phone-toast {
  position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%) translateY(4px);
  white-space: nowrap; background: transparent; color: var(--cream);
  font-family: 'Jost', sans-serif; font-size: 12.5px; font-weight: 300; letter-spacing: 0.02em;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease;
}
.phone-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.phone-toast.fail { color: oklch(65% 0.15 25); }
.footer-rule { height: 1px; background: oklch(96% 0.01 85 / 0.1); margin: 38px 0 28px; }
.footer-bottom { display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.footer-copyright { font-size: 12px; color: oklch(50% 0.02 262); font-weight: 300; }
.footer-top { font-size: 12px; color: oklch(70% 0.02 262); text-decoration: none; font-weight: 300; }

/* Scroll reveal ----------------------------------------------- */
.reveal-item {
  opacity: 0; transform: translateY(36px) scale(0.97); filter: blur(20px);
  transition: opacity 1.1s cubic-bezier(.16,.8,.28,1), transform 1.1s cubic-bezier(.16,.8,.28,1), filter 1.1s cubic-bezier(.16,.8,.28,1);
}
.reveal-item.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
[data-reveal-index="1"] { transition-delay: 80ms; }
[data-reveal-index="2"] { transition-delay: 160ms; }

.reveal-hero {
  opacity: 0; transform: translateY(26px); filter: blur(8px);
  transition: opacity 1s cubic-bezier(.16,.8,.28,1), transform 1s cubic-bezier(.16,.8,.28,1), filter 1s cubic-bezier(.16,.8,.28,1);
}
body.hero-loaded .reveal-hero { opacity: 1; transform: translateY(0); filter: blur(0px); }
body.hero-loaded .hero-eyebrow { transition-delay: 0ms; }
body.hero-loaded .hero-title { transition-delay: 130ms; }
body.hero-loaded .hero-subtitle { transition-delay: 260ms; }
body.hero-loaded .hero-meta { transition-delay: 390ms; }
body.hero-loaded .reveal-hero:last-child { transition-delay: 520ms; }

/* Countdown units slide in */
.countdown-unit, .countdown-divider {
  opacity: 0; transform: translateX(-52px); filter: blur(16px);
  transition: opacity 0.9s cubic-bezier(.19,1,.22,1), transform 0.9s cubic-bezier(.19,1,.22,1), filter 0.9s cubic-bezier(.19,1,.22,1);
}
.countdown.in .countdown-unit, .countdown.in .countdown-divider { opacity: 1; transform: translateX(0); filter: blur(0px); }
.countdown-unit:nth-child(3) { transition-delay: 90ms; }
.countdown-unit:nth-child(5) { transition-delay: 180ms; }
.countdown-unit:nth-child(7) { transition-delay: 270ms; }

/* Schedule cards slide in from the left, staggered */
.schedule-card {
  opacity: 0; transform: translateX(-70px); filter: blur(16px);
  transition: opacity 0.85s cubic-bezier(.19,1,.22,1), transform 0.85s cubic-bezier(.19,1,.22,1), filter 0.85s cubic-bezier(.19,1,.22,1);
}
.schedule-card.in { opacity: 1; transform: translateX(0); filter: blur(0px); }
.schedule-card:nth-child(2) { transition-delay: 160ms; }
.schedule-card:nth-child(3) { transition-delay: 320ms; }
.schedule-card:nth-child(4) { transition-delay: 480ms; }

/* Expect items */
.expect-item {
  opacity: 0; transform: translateY(36px) scale(0.97); filter: blur(20px);
  transition: opacity 1.1s cubic-bezier(.16,.8,.28,1), transform 1.1s cubic-bezier(.16,.8,.28,1), filter 1.1s cubic-bezier(.16,.8,.28,1);
}
.expect.in .expect-item { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.expect.in .expect-item:nth-child(2) { transition-delay: 80ms; }
.expect.in .expect-item:nth-child(3) { transition-delay: 160ms; }
.expect.in .expect-item:nth-child(4) { transition-delay: 240ms; }

/* Custom cursor ----------------------------------------------- */
.cursor-dot, .cursor-ring, .cursor-clock { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; width: 6px; height: 6px;
    border-radius: 50%; background: #fff; mix-blend-mode: difference;
    pointer-events: none; z-index: 9999; transition: opacity 0.2s ease;
  }
  .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; width: 34px; height: 34px;
    border-radius: 50%; border: 1.5px solid #fff; background: transparent; mix-blend-mode: difference;
    pointer-events: none; z-index: 9998;
    transition: width 0.3s cubic-bezier(.2,.8,.2,1), height 0.3s cubic-bezier(.2,.8,.2,1), background 0.25s ease, opacity 0.3s ease;
  }
  .cursor-clock {
    display: block; position: fixed; top: 0; left: 0; width: 32px; height: 32px;
    border-radius: 50%; border: 1.5px solid #fff; mix-blend-mode: difference;
    pointer-events: none; z-index: 9997; opacity: 0; transition: opacity 0.2s ease;
  }
}
.clock-tick { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; }
.clock-tick--l { left: 2px; top: 50%; transform: translateY(-50%); }
.clock-tick--r { right: 2px; top: 50%; transform: translateY(-50%); }
.clock-tick--t { top: 2px; left: 50%; transform: translateX(-50%); }
.clock-tick--b { bottom: 2px; left: 50%; transform: translateX(-50%); }
.clock-hand { position: absolute; left: 50%; top: 50%; background: #fff; transform-origin: 50% 100%; }
.clock-hand--min { width: 1.5px; height: 8px; transform: translate(-50%,-100%) rotate(0deg); animation: myfClockHand 30s linear infinite; }
.clock-hand--sec { width: 1px; height: 11px; transform: translate(-50%,-100%) rotate(0deg); animation: myfClockHand 6s linear infinite; }
.clock-center { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; background: #fff; border-radius: 50%; transform: translate(-50%,-50%); }

/* Reduced motion --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ken-burns--slow, .ken-burns--slow-reverse, .scroll-cue, .clock-hand--min, .clock-hand--sec { animation: none; }
  .reveal-item, .reveal-hero, .countdown-unit, .countdown-divider, .schedule-card, .expect-item {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* ============================================================
   Mobile (single breakpoint < 860px, matching the design spec)
   ============================================================ */
@media (max-width: 859px) {
  :root { --nav-h: 68px; }
  .nav-inner { padding: 0 24px; }
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
  /* logo + register hidden over hero, fade in past it */
  .nav-logo, #navMobileRegister { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.35s ease, transform 0.35s ease; }
  body.past-hero .nav-logo, body.past-hero #navMobileRegister { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .hero-content { padding: 0 24px 90px; }
  /* Lighter hero scrims on mobile so the photo shows; keep the lower area
     dark enough for the headline. */
  .hero-scrim--v { background: linear-gradient(180deg, oklch(9% 0.02 262 / 0.32) 0%, oklch(9% 0.02 262 / 0.48) 48%, oklch(9% 0.02 262 / 0.78) 74%, oklch(7% 0.02 262 / 0.96) 100%); }
  .hero-scrim--radial { background: radial-gradient(ellipse at 50% 40%, transparent 40%, oklch(7% 0.02 262 / 0.45) 100%); }
  .hero-scrim--left { background: none; }
  /* Shift the crop so the hiker stays in frame on mobile */
  .hero .bg-photo { object-position: 82% center; }
  .hero-logos { top: 82px; gap: 16px; }
  .hero-logo { height: 22px; }
  .hero-logo-divider { height: 18px; }
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 15px; }
  .hero-meta { position: static; right: auto; bottom: auto; max-width: 100%; margin-bottom: 44px; gap: 16px; padding: 12px 18px; font-size: 12.5px; border-radius: 999px; flex-wrap: wrap; white-space: normal; }

  .section-header { margin-bottom: 56px; }
  .section-header--center { text-align: left; }
  .section-heading { font-size: 30px; }
  .kicker--light-section { text-align: center; }
  .schedule-time { justify-content: flex-start; }

  .countdown { padding: 44px 24px; }
  .countdown-kicker { margin-bottom: 18px; }
  .countdown-grid { gap: 12px; }
  .countdown-value { font-size: 26px; }
  .countdown-divider { height: 26px; }

  .about { padding: 100px 24px; }
  .presented-by { gap: 14px; border-radius: 18px; padding: 16px 20px; margin: 0 auto 48px; }
  /* Label on its own row so both logos stay on one line together */
  .presented-by-label { flex-basis: 100%; text-align: center; margin-bottom: 2px; }
  .presented-by-logo { height: 22px; max-width: 84px; }
  .presented-by-divider { height: 18px; }
  .about-lead-wrap { margin: 0 auto 56px; }
  .about-grid { gap: 36px; }
  .about-image { height: 260px; }

  .themes { padding: 100px 24px; }
  .theme-display { min-height: 200px; padding: 0 54px; }
  .theme-num { font-size: 48px; }
  .theme-title { font-size: 24px; }
  .theme-arrow--prev { left: 0; }
  .theme-arrow--next { right: 0; }
  .theme-dots { margin-top: 32px; }

  .schedule { padding: 100px 24px; }
  .schedule-grid { grid-template-columns: 1fr; }
  /* on mobile every card triggers independently, no stagger */
  .schedule-card:nth-child(n) { transition-delay: 0ms; }

  .expect { padding: 90px 24px; }
  .expect-grid { grid-template-columns: 1fr; gap: 32px; }
  .expect.in .expect-item:nth-child(n) { transition-delay: 0ms; }
  /* Larger, higher-contrast text on mobile */
  .expect-title { font-size: 18px; }
  .expect-text { font-size: 15px; color: oklch(80% 0.02 262); }

  .register-inner { padding: 110px 24px; }
  .register-panel { padding: 48px 28px; }

  .footer { padding: 56px 24px 36px; }
  .footer-logos { gap: 18px; }
  .footer-contact { flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 340px; margin: 32px auto 0; }
  .footer-contact-item { justify-content: flex-start; width: 100%; padding: 18px 4px; border-bottom: 1px solid oklch(96% 0.01 85 / 0.12); }
  .footer-contact-item:last-of-type { border-bottom: none; }
  .footer-contact-divider { display: none; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
