/* ============================================================
   UDUF AFRICA — 2027 Active Leadership & Entrepreneurship Bootcamp
   Design system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0A0A0C;
  --ink-2:      #0E0E12;
  --surface:    #14141A;
  --surface-2:  #1B1B22;
  --line:       rgba(255, 255, 255, 0.10);
  --line-soft:  rgba(255, 255, 255, 0.06);

  --amber:      #F0871E;
  --amber-600:  #D2700F;
  --amber-300:  #FFB163;
  --amber-glow: rgba(240, 135, 30, 0.35);

  --cream:      #F5F2EC;
  --grey:       #9A9AA3;
  --grey-dim:   #6E6E77;

  --green:      #3DD68C;
  --red:        #FF5C5C;

  --font-display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shell:  min(1240px, 100% - 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.is-locked { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--amber); color: var(--ink); }


/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

.eyebrow--center { justify-content: center; }

.lede {
  font-size: 1.06rem;
  color: var(--grey);
  max-width: 56ch;
}

.muted { color: var(--grey); }

.accent { color: var(--amber); }


/* ---------- Layout ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--narrow { width: min(880px, 100% - 2.5rem); }

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head h2 {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
}

.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }


/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 2.1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-back), box-shadow 0.35s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  box-shadow: 0 0 0 rgba(240, 135, 30, 0);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px -8px var(--amber-glow);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(-1px); }

.btn__arrow {
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn--ghost::after { background: var(--amber); }
.btn--ghost:hover { --btn-fg: var(--ink); border-color: var(--amber); }

.btn--block { width: 100%; }

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.72rem;
}

.btn[disabled], .btn[aria-busy='true'] {
  opacity: 0.55;
  pointer-events: none;
}

.btn__spin {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s var(--ease-out);
}
.brand:hover img { opacity: 0.75; }

.brand__year {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.4rem);
}

.nav__link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__link.is-active { color: var(--cream); }
.nav__link.is-active::after { transform: scaleX(1); }

/* scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--amber);
  z-index: 95;
  pointer-events: none;
}

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s linear;
}
.nav-toggle__bar + .nav-toggle__bar { margin-top: 4px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* drawer pieces are desktop-hidden */
.nav__head,
.nav-scrim {
  display: none;
}


/* ---------- Ambient background ----------
   Flat colour only: this build uses no colour blends at all. */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* fine grain */
.ambient__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}

@keyframes grain {
  0%,100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(4%, 4%); }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  will-change: transform;
}

/* flat scrim keeps the headline legible over the photograph */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.68);
}

.hero__inner { position: relative; z-index: 1; }

/* tiny line above the theme: the event context */
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: clamp(0.9rem, 2.4vw, 1.4rem);
}

/* the theme — YOUR IDEA. YOUR BUSINESS. YOUR LEGACY. — is typed here */
.hero__title {
  font-size: clamp(2.1rem, 6.4vw, 4.8rem);
  line-height: 1.06;
  margin: 0 0 1.5rem;
  letter-spacing: 0.005em;
  max-width: 14ch;
}

/* ---------- Typing animation ---------- */
.typing__line {
  display: block;
  min-height: 1.02em; /* reserve the line so nothing reflows while typing */
  overflow-wrap: anywhere;
}

.typing__line.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.42em;
  height: 0.86em;
  margin-left: 0.1em;
  vertical-align: baseline;
  background: var(--amber);
  animation: caret 0.85s steps(1) infinite;
}

.typing__line.is-done::after { content: none; }

@keyframes caret {
  0%, 45%   { opacity: 1; }
  50%, 95%  { opacity: 0; }
  100%      { opacity: 1; }
}

/* secondary hero furniture waits until the typing has finished */
.hero__eyebrow,
.hero__sub,
.hero__note,
.countdown,
.hero__meta,
.hero__actions {
  opacity: 0;
}

.hero__inner.is-typed .hero__eyebrow,
.hero__inner.is-typed .hero__sub,
.hero__inner.is-typed .hero__note,
.hero__inner.is-typed .countdown,
.hero__inner.is-typed .hero__meta,
.hero__inner.is-typed .hero__actions {
  animation: rise 0.8s var(--ease-out) forwards;
}

.hero__inner.is-typed .hero__eyebrow { animation-delay: 0s; }
.hero__inner.is-typed .hero__sub     { animation-delay: 0.1s; }
.hero__inner.is-typed .hero__note    { animation-delay: 0.2s; }
.hero__inner.is-typed .countdown     { animation-delay: 0.3s; }
.hero__inner.is-typed .hero__meta    { animation-delay: 0.4s; }
.hero__inner.is-typed .hero__actions { animation-delay: 0.5s; }

/* the hero sub — the event line under the theme */
.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.hero__note {
  font-size: 0.95rem;
  color: var(--grey);
  font-style: italic;
  margin-bottom: 2rem;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  font-size: 1.02rem;
  color: var(--grey);
  font-style: italic;
  margin-bottom: 2.2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 2rem;
  margin-bottom: 2.6rem;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero__meta-item svg { color: var(--amber); flex: none; }

.hero__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grey-dim);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.2rem;
}

/* countdown */
.countdown {
  display: flex;
  gap: clamp(0.7rem, 2.4vw, 1.5rem);
  margin-bottom: 2.6rem;
}

.countdown__unit {
  min-width: clamp(58px, 8vw, 84px);
  padding: 0.75rem 0.5rem 0.65rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  display: block;
}

.countdown__label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-top: 0.35rem;
  display: block;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey-dim);
  z-index: 2;
}

.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: rgba(240, 135, 30, 0.35);
  overflow: hidden;
  position: relative;
}

.scroll-cue__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: cue 2.2s var(--ease-io) infinite;
}

@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}


/* ============================================================
   IDEA → BUSINESS → LEGACY
   ============================================================ */
.arrow-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.arrow-flow__step {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.2rem) 1rem;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.45s var(--ease-out);
  opacity: 0;
  transform: translateY(26px);
}

.arrow-flow.is-in .arrow-flow__step {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.arrow-flow.is-in .arrow-flow__step:nth-child(1) { transition-delay: 0.05s; }
.arrow-flow.is-in .arrow-flow__step:nth-child(3) { transition-delay: 0.18s; }
.arrow-flow.is-in .arrow-flow__step:nth-child(5) { transition-delay: 0.31s; }

.arrow-flow__step:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-5px);
}

.arrow-flow__sep {
  display: grid;
  place-items: center;
  color: var(--amber);
  font-size: 1.4rem;
  opacity: 0;
  animation: fade-in 0.6s var(--ease-out) 0.5s forwards;
}

.arrow-flow__sep::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 0;
  background: var(--line);
  transition: height 0.8s var(--ease-out);
}

@keyframes fade-in { to { opacity: 1; } }


/* ============================================================
   JOURNEY / TIMELINE
   ============================================================ */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.journey::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

/* animated travelling dot down the connector */
.journey::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 90px;
  margin-left: -1px;
  background: var(--amber);
  animation: travel 5s var(--ease-io) infinite;
  pointer-events: none;
}

@keyframes travel {
  0%   { transform: translateY(-90px); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(calc(100% + 40px)); opacity: 0; }
}

.day {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), border-color 0.4s var(--ease-out);
}

.day.is-in { opacity: 1; transform: translateY(0); }
.day:nth-of-type(2).is-in { transition-delay: 0.14s; }

.day:hover { border-color: var(--line); }

.day__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  opacity: 0.16;
  transition: opacity 0.7s var(--ease-out);
}

.day__img i {
  font-size: clamp(5.5rem, 18vw, 10rem);
  color: var(--amber);
  transform: scale(1);
  transition: transform 1.2s var(--ease-out);
}

.day:hover .day__img { opacity: 0.3; }
.day:hover .day__img i { transform: scale(1.08); }

.day > * { position: relative; z-index: 1; }

.day__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}

.day__label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}

.day__no {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: -0.02em;
}

.day__title {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  margin-bottom: 1.3rem;
  line-height: 0.95;
}

.day__title span { display: block; }
.day__title .accent { color: var(--amber); }

.day__list { display: grid; gap: 0.85rem; }

.day__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--grey);
  opacity: 0;
  transform: translateX(-12px);
}

.day.is-in .day__list li {
  animation: slide-in 0.6s var(--ease-out) forwards;
}
.day.is-in .day__list li:nth-child(1) { animation-delay: 0.25s; }
.day.is-in .day__list li:nth-child(2) { animation-delay: 0.33s; }
.day.is-in .day__list li:nth-child(3) { animation-delay: 0.41s; }
.day.is-in .day__list li:nth-child(4) { animation-delay: 0.49s; }

@keyframes slide-in {
  to { opacity: 1; transform: translateX(0); }
}

.day__list li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--amber);
}


/* Generic centred row of buttons, for pages outside the hero */
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================================
   Ticket pass (register + verify)
   ============================================================ */
.pass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.pass__head {
  padding: 1.1rem clamp(1rem, 3vw, 1.6rem);
  border-bottom: 1px dashed var(--line);
}

.pass__org {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.3rem;
}

.pass__event {
  font-size: clamp(0.95rem, 2.3vw, 1.1rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
}

.pass__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

@media (min-width: 34rem) {
  .pass__body {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
  }
}

.pass__details {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  min-width: 0;
}

.pass__row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-soft);
}

.pass__row:last-child { padding-bottom: 0; border-bottom: 0; }

.pass__row dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.pass__row dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.pass__qr {
  margin: 0;
  text-align: center;
}

.pass__qrbox {
  display: inline-flex;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  line-height: 0;
}

.pass__qrbox svg {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
  shape-rendering: crispEdges;
}

.pass__code {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 2.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.pass__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 clamp(1rem, 3vw, 1.6rem) clamp(1rem, 3vw, 1.6rem);
}

/* ============================================================
   THE EXPERIENCE — marquee
   ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0;
  border-block: 1px solid var(--line-soft);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3rem);
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
}

.marquee__item b { color: var(--amber); font-weight: 700; }

.marquee__star {
  color: var(--amber);
  font-size: 0.5em;
  flex: none;
}

/* experience chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.chip {
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-back), background 0.35s var(--ease-out);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}

.chip.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-back);
}

.chip:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-4px);
}


/* ============================================================
   WHO SHOULD ATTEND
   ============================================================ */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.audience__item {
  position: relative;
  padding: clamp(1.6rem, 3.2vw, 2.3rem) clamp(1.3rem, 2.6vw, 1.9rem);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), color 0.4s var(--ease-out);
}

.audience__item.is-in { opacity: 1; transform: translateY(0); }
.audience__item:nth-child(2).is-in { transition-delay: 0.08s; }
.audience__item:nth-child(3).is-in { transition-delay: 0.16s; }
.audience__item:nth-child(4).is-in { transition-delay: 0.24s; }
.audience__item:nth-child(5).is-in { transition-delay: 0.32s; }

.audience__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}

.audience__item:hover { color: var(--ink); }
.audience__item:hover::before { transform: translateY(0); }

.audience__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  transition: color 0.4s var(--ease-out);
  flex: none;
}

.audience__item:hover .audience__num { color: var(--ink); }


/* ============================================================
   EVENT DETAILS
   ============================================================ */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.detail {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.4s var(--ease-out);
}

.detail.is-in { opacity: 1; transform: translateY(0); }
.detail:nth-child(2).is-in { transition-delay: 0.1s; }
.detail:nth-child(3).is-in { transition-delay: 0.2s; }
.detail:nth-child(4).is-in { transition-delay: 0.3s; }

.detail:hover { border-color: var(--amber); }

.detail__icon {
  color: var(--amber);
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(240, 135, 30, 0.1);
  border: 1px solid rgba(240, 135, 30, 0.25);
}

.detail__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 0.5rem;
}

.detail__value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(5rem, 11vw, 9rem);
}

.final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.final__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.72);
}

.final__title {
  font-size: clamp(2.4rem, 8.5vw, 5.6rem);
  line-height: 0.9;
  margin: 1.6rem 0 1.5rem;
}

.final__title span {
  display: block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(8px);
}

.final__title span.is-in {
  animation: blur-in 0.9s var(--ease-out) forwards;
}
.final__title span:nth-child(1) { animation-delay: 0.05s; }
.final__title span:nth-child(2) { animation-delay: 0.17s; }
.final__title span:nth-child(3) { animation-delay: 0.29s; }

@keyframes blur-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.final__title span:nth-child(2) { color: var(--amber); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--line-soft);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  background: var(--ink-2);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

.footer__logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer__about {
  font-size: 0.9rem;
  color: var(--grey);
  max-width: 34ch;
}

.footer__title {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer__list { display: grid; gap: 0.7rem; }

.footer__list a,
.footer__list span {
  font-size: 0.9rem;
  color: var(--grey);
  transition: color 0.3s var(--ease-out);
}

.footer__list a:hover { color: var(--amber); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--grey-dim);
}

.footer__bottom a { transition: color 0.3s var(--ease-out); }
.footer__bottom a:hover { color: var(--amber); }

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--grey);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.35s var(--ease-back), background 0.3s var(--ease-out);
}

.footer__social a:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-3px);
}


/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  text-align: center;
}

.page-head h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.9;
  margin: 1rem 0;
}

.page-head .lede { margin-inline: auto; text-align: center; }

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 1.8rem;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-head__meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.page-head__meta svg { color: var(--amber); }


/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.form-group { margin-bottom: clamp(1.5rem, 3vw, 2.1rem); }

.form-legend {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.form-legend__step {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.field { position: relative; }

.field__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.65rem;
}

.field__label .opt {
  color: var(--grey-dim);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  margin-left: 0.35rem;
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 0.95rem 1.05rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: 0.98rem;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  appearance: none;
}

.field__input::placeholder,
.field__textarea::placeholder { color: var(--grey-dim); }

.field__input:hover,
.field__select:hover,
.field__textarea:hover { border-color: rgba(255, 255, 255, 0.2); }

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(240, 135, 30, 0.05);
  box-shadow: 0 0 0 3px rgba(240, 135, 30, 0.12);
}

.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F0871E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

.field__select option { background: var(--surface); color: var(--cream); }

.field__error {
  display: block;
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.45rem;
  min-height: 1.1em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.field.has-error .field__input,
.field.has-error .field__select { border-color: var(--red); }
.field.has-error .field__error { opacity: 1; transform: translateY(0); }

/* ticket option */
.ticket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.ticket input { position: absolute; opacity: 0; pointer-events: none; }

.ticket__radio {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--grey-dim);
  display: grid;
  place-items: center;
  transition: border-color 0.3s var(--ease-out);
}

.ticket__radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  transform: scale(0);
  transition: transform 0.3s var(--ease-back);
}

.ticket:has(input:checked) {
  border-color: var(--amber);
  background: rgba(240, 135, 30, 0.07);
}
.ticket:has(input:checked) .ticket__radio { border-color: var(--amber); }
.ticket:has(input:checked) .ticket__radio::after { transform: scale(1); }

.ticket__body { flex: 1; }

.ticket__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticket__note { font-size: 0.84rem; color: var(--grey); }

.ticket__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}

.ticket__soon {
  display: block;
  font-size: 0.7rem;
  color: var(--grey-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* summary */
.summary {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(240, 135, 30, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.summary__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.summary__amount {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.form-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--amber);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.86rem;
  color: var(--grey);
  margin-bottom: 1.8rem;
}

.form-note svg { color: var(--amber); flex: none; margin-top: 2px; }

.form-note strong { color: var(--cream); font-weight: 600; }

.form-foot {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--grey);
}

.form-foot a {
  color: var(--amber);
  font-weight: 500;
  border-bottom: 1px solid rgba(240, 135, 30, 0.35);
  transition: border-color 0.3s var(--ease-out);
}
.form-foot a:hover { border-color: var(--amber); }


/* ============================================================
   VERIFY
   ============================================================ */
.verify-box {
  max-width: 540px;
  margin-inline: auto;
}

.verify-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.verify-form .field { flex: 1 1 220px; }
.verify-form .btn { flex: 0 0 auto; }

.code-input {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

/* result states */
.result {
  margin-top: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top-width: 3px;
  background: var(--surface);
  overflow: hidden;
  animation: result-in 0.6s var(--ease-out);
}

.result[hidden] { display: none; }

.result--valid   { border-top-color: var(--green); }
.result--invalid,
.result--error   { border-top-color: var(--red); }
.result--used    { border-top-color: var(--amber); }

@keyframes result-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.result__head {
  padding: clamp(1.3rem, 4vw, 1.9rem);
  border-bottom: 1px solid var(--line-soft);
}

.result__eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 0.5rem;
}

.result--valid .result__eyebrow { color: var(--green); }
.result--invalid .result__eyebrow,
.result--error .result__eyebrow { color: var(--red); }
.result--used .result__eyebrow { color: var(--amber); }

.result__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.result__lede {
  font-size: 0.94rem;
  color: var(--grey);
  max-width: 46ch;
}

.result__body {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.result__body > * + * { margin-top: 1.2rem; }

/* ============================================================
   SPINNER / LOADING
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  text-align: center;
}

.loader__ring {
  width: 46px;
  height: 46px;
  margin: 0 auto 1.2rem;
  border: 2px solid var(--line);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.loader__text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-dim);
}


/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  display: grid;
  gap: 0.6rem;
  width: min(420px, calc(100% - 2rem));
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.15rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  animation: toast-in 0.45s var(--ease-back);
}

.toast--error { border-left-color: var(--red); }
.toast--error svg { color: var(--red); }
.toast--ok svg { color: var(--green); }
.toast.is-leaving { animation: toast-out 0.3s var(--ease-out) forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(0.97); }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey::before { left: 1.9rem; }
  .journey::after { left: 1.9rem; }
  .arrow-flow { grid-template-columns: 1fr; }
  .arrow-flow__sep { transform: rotate(90deg); height: 1.4rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .header__inner {
    padding-inline: 1.25rem;
  }

  .nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-toggle:hover { border-color: var(--amber); }
  .nav-toggle:hover .nav-toggle__bar { background: var(--amber); }
  .nav-toggle[aria-expanded='true'] { transform: rotate(0.001deg); }

  /* right-side drawer */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 84vw);
    height: 100dvh;
    z-index: 92;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 1rem) 1.4rem 2rem;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(22px);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 44px rgba(0, 0, 0, 0.35);
    transform: translateX(103%);
    visibility: hidden;
    transition: transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.5s var(--ease-out);
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 88;
    background: rgba(6, 6, 8, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
  }

  .nav-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav__title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--amber);
  }

  /* animated closing X */
  .nav__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    color: var(--cream);
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  }

  .nav__close:hover {
    border-color: var(--amber);
    color: var(--amber);
    transform: rotate(90deg);
  }

  .nav__close-x {
    position: relative;
    width: 16px;
    height: 16px;
  }

  .nav__close-x::before,
  .nav__close-x::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(0deg) scale(0.4);
    opacity: 0;
    transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease-out);
  }

  .nav__close-x::before { transform: rotate(45deg) scale(0.4); }
  .nav__close-x::after { transform: rotate(-45deg) scale(0.4); }

  .nav.is-open .nav__close-x::before {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }

  .nav.is-open .nav__close-x::after {
    transform: rotate(-45deg) scale(1);
    opacity: 1;
    transition-delay: 0.06s;
  }

  .nav__link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
  }

  .nav__link::after { display: none; }

  .nav .btn { margin-top: 1.25rem; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 3.5rem); }
  .hero__media img { object-position: 62% center; }

  .countdown { gap: 0.5rem; }
  .countdown__unit { min-width: 56px; padding: 0.6rem 0.35rem; }

  .verify-form .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  .pass__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 420px) {
  .audience { grid-template-columns: 1fr; }
}


/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* ensure reveal content is visible even if JS/observer misbehaves */
  .arrow-flow__step,
  .day,
  .chip,
  .detail,
  .audience__item,
  .day__list li,
  .hero__eyebrow,
  .hero__sub,
  .hero__note,
  .countdown,
  .hero__meta,
  .hero__actions,
  .final__title span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .typing__line.is-typing::after { animation: none; }
  .ambient__grain { display: none; }
  .marquee__track { animation: none; }
  .journey::after { display: none; }
  .scroll-cue__line::after { animation: none; }
  .hero__media img { transform: scale(1); }
}