/* =============================================================
   DOWNUNDER DYNAMICS — DESIGN SYSTEM

   Direction: flight instrumentation, not action-sports poster.
   The reference is an aircraft panel at altitude — deep blue-black
   atmosphere, brand purple as the primary accent, light blue for
   data and airflow, green reserved for confirmations. Hairline
   rules, monospaced readouts, wide confident display type.

   Rebrand by editing :root and little else.
   ============================================================= */
:root {
  --void: #070B14;         /* page background — deep blue-black */
  --panel: #0E1526;        /* raised surfaces */
  --panel-2: #16203A;      /* hover / nested surfaces */
  --hairline: #22304E;     /* rules and borders */
  --hairline-lit: #34486E;
  --paper: #EDF1F8;        /* primary text */
  --haze: #94A4C2;         /* secondary text */
  --haze-dim: #66748F;     /* tertiary / captions */
  --violet: #8B5CF6;       /* primary accent — DD purple */
  --violet-hot: #A78BFA;
  --sky: #38BDF8;          /* light blue — data and secondary */
  --green: #34D399;        /* green hints — confirmations, checks */
  --danger: #F0674F;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration-color: rgba(139,92,246,.35); text-underline-offset: 3px; }
a:hover { color: var(--violet-hot); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(44px, 7.5vw, 92px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.005em; }
h4 { font-size: 19px; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--haze); max-width: 62ch; }

/* Instrument label — the recurring structural device. */
.readout {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--haze-dim);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.readout::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--violet);
  flex: none;
}
.readout-plain::before { display: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 6vw, 76px) 0; }
.section-line { border-top: 1px solid var(--hairline); }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--violet); color: #000; padding: 12px 18px; z-index: 200; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(7,11,20,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--paper); }
.brand svg { width: 26px; height: 26px; color: var(--violet); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: 17px; letter-spacing: .01em; line-height: 1; }
.brand-text small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .22em; color: var(--haze-dim); font-weight: 400; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--haze); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 9px 13px; border-radius: var(--radius); transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); background: var(--panel-2); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-btn { display: none; background: none; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 9px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: block; }
}
.mobile-nav { display: none; border-bottom: 1px solid var(--hairline); background: var(--panel); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 15px var(--gutter); color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.mobile-nav .btn { margin: 18px var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--violet); color: #0B0713; }
.btn-primary:hover { background: var(--violet-hot); color: #0B0713; }
.btn-ghost { border-color: var(--hairline-lit); color: var(--paper); }
.btn-ghost:hover { border-color: var(--haze); background: var(--panel-2); color: var(--paper); }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 11vw, 132px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 82% 4%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(90% 55% at 8% 100%, rgba(139,92,246,.14), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--violet); }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Signature element: the instrument strip.
   Real credentials rendered as panel readouts. */
.instrument {
  margin-top: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.instrument::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: .5;
}
.instrument div { padding: 22px 0 24px; border-left: 1px solid var(--hairline); padding-left: 20px; }
.instrument div:first-child { border-left: 0; padding-left: 0; }
.instrument dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--haze-dim); margin-bottom: 8px; }
.instrument dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: clamp(19px, 2.4vw, 27px); line-height: 1; }
@media (max-width: 720px) {
  .instrument { grid-template-columns: repeat(2, 1fr); }
  .instrument div:nth-child(3) { border-left: 0; padding-left: 0; }
  .instrument div:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

/* Altitude tick rule — section divider drawn from the subject's world. */
.ticks { height: 22px; display: flex; align-items: stretch; gap: 7px; opacity: .32; margin-bottom: 22px; }
.ticks span { width: 1px; background: var(--haze-dim); }
.ticks span:nth-child(5n+1) { background: var(--violet); }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p.lede { margin: 12px 0 0; }
.link-more { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- Offer cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.offer {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.offer:hover { border-color: var(--hairline-lit); background: var(--panel-2); transform: translateY(-3px); }
.offer-format { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.offer h3 { margin: 0; }
.offer-summary { color: var(--haze); margin: 0; font-size: 15.5px; }
.offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.offer li { display: flex; gap: 10px; align-items: flex-start; color: var(--paper); }
.offer li svg { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 4px; }
.offer-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--hairline); display: grid; gap: 12px; }
.offer-best { font-size: 13.5px; color: var(--haze-dim); margin: 0; }
.offer-price { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--haze); }

/* ---------- Approach / numbered steps ---------- */
.steps { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.steps > div { background: var(--void); padding: 30px 28px; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.step-n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--violet); padding-top: 6px; }
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--haze); }
@media (max-width: 640px) { .steps > div { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Camps ---------- */
.camp { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.camp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.camp h3 { margin: 0; }
.camp-when { font-family: var(--font-mono); font-size: 13px; color: var(--violet); letter-spacing: .04em; }
.camp-where { color: var(--haze); font-size: 15px; margin: 0; }
.status { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; border: 1px solid; }
.status-open { color: var(--green); border-color: rgba(52,211,153,.4); }
.status-waitlist { color: var(--sky); border-color: rgba(56,189,248,.4); }
.status-full { color: var(--haze-dim); border-color: var(--hairline-lit); }

.empty-state { border: 1px dashed var(--hairline-lit); border-radius: var(--radius); padding: clamp(36px, 6vw, 64px); text-align: center; }
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { color: var(--haze); max-width: 52ch; margin-inline: auto; }

/* ---------- Partners ---------- */
.partner { border-top: 1px solid var(--hairline); padding: 26px 0; display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 28px; align-items: start; }
.partner h3 { margin: 0 0 6px; font-size: 21px; }
.partner p { margin: 0; color: var(--haze); font-size: 15.5px; }
.partner-code { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--violet); border: 1px dashed rgba(139,92,246,.4); padding: 7px 12px; border-radius: var(--radius); }
@media (max-width: 720px) { .partner { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Article ---------- */
.article-layout { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 940px) { .article-layout { grid-template-columns: 1fr 260px; align-items: start; } }
.article-body { max-width: 68ch; }
.article-body h2 { margin-top: 1.8em; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--haze); }
.article-body strong { color: var(--paper); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); border-left: 1px solid var(--hairline); padding-left: 18px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc a { color: var(--haze-dim); text-decoration: none; font-size: 14px; transition: color .2s; }
.toc a:hover, .toc a.is-current { color: var(--violet); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--haze-dim); }
.field input, .field textarea, .field select {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius);
  color: var(--paper); padding: 13px 14px; font: inherit; font-size: 15px; width: 100%;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.contact-direct { display: grid; gap: 18px; }
.contact-direct a { color: var(--paper); text-decoration: none; font-size: 19px; font-family: var(--font-display); font-weight: 600; font-stretch: 112%; }
.contact-direct a:hover { color: var(--violet); }
.form-note { font-size: 13.5px; color: var(--haze-dim); margin: 10px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: clamp(44px, 6vw, 72px) 0 34px; margin-top: clamp(56px, 8vw, 100px); }
.footer-top { display: grid; gap: 34px; margin-bottom: 40px; }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-top h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--haze-dim); font-weight: 400; margin: 0 0 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: var(--haze); text-decoration: none; font-size: 15px; }
.footer-list a:hover { color: var(--paper); }
.footer-blurb { color: var(--haze); font-size: 15px; max-width: 42ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--hairline); border-radius: var(--radius); display: grid; place-items: center; color: var(--haze); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--violet); border-color: var(--hairline-lit); }
.socials svg { width: 17px; height: 17px; }
.footer-base { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--haze-dim); }
.footer-base a { color: var(--haze-dim); text-decoration: none; }
.footer-base a:hover { color: var(--haze); }

/* ---------- Motion ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .16s ease both; }
  ::view-transition-new(root) { animation: vt-in .26s ease both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(7px); } }
}
.site-header { view-transition-name: site-header; }
.reveal-on .reveal { opacity: 0; transform: translateY(16px); }
.reveal-on .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms);
}

/* =============================================================
   HERO MEDIA
   ============================================================= */
.hero-media { padding-top: clamp(72px, 13vw, 150px); padding-bottom: clamp(24px, 4vw, 48px); }
.hero-video { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,11,20,.95) 0%, rgba(7,11,20,.86) 42%, rgba(7,11,20,.45) 100%),
    linear-gradient(to top, var(--void) 2%, transparent 42%);
}
.hero-media .hero-inner { position: relative; z-index: 1; }
.hero-media::before { z-index: 1; }
@media (max-width: 760px) {
  .hero-scrim { background: linear-gradient(to top, var(--void) 6%, rgba(7,11,20,.78) 46%, rgba(7,11,20,.62) 100%); }
}

/* =============================================================
   PHOTO STRIP
   ============================================================= */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.photo-strip figure { margin: 0; overflow: hidden; background: var(--panel); aspect-ratio: 16/10; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: saturate(.92); }
.photo-strip figure:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip figure:last-child { display: none; }
}

/* =============================================================
   FLIGHT ORIENTATION MODEL
   ============================================================= */
.flight-model {
  display: grid; gap: 0;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
}
@media (min-width: 920px) { .flight-model { grid-template-columns: 1.15fr 1fr; } }

.fm-stage {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(56,189,248,.10), transparent 70%),
    linear-gradient(180deg, #0A1020, #0E1526);
  border-right: 1px solid var(--hairline);
}
@media (max-width: 919px) { .fm-stage { border-right: 0; border-bottom: 1px solid var(--hairline); min-height: 360px; } }
.fm-stage canvas { width: 100%; height: 100%; position: absolute; inset: 0; cursor: grab; touch-action: none; display: block; }
.fm-stage canvas:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.fm-hint {
  position: absolute; left: 18px; bottom: 16px; margin: 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--haze-dim); pointer-events: none;
}

.fm-panel { padding: clamp(24px, 3.4vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.fm-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-modes button {
  background: transparent; border: 1px solid var(--hairline); color: var(--haze);
  padding: 8px 13px; border-radius: 100px; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s, border-color .2s, background .2s;
}
.fm-modes button:hover { color: var(--paper); border-color: var(--hairline-lit); }
.fm-modes button[aria-pressed="true"] { color: #0B0713; background: var(--violet); border-color: var(--violet); }
.fm-panel h3 { margin: 6px 0 0; }
.fm-desc { color: var(--haze); margin: 0; font-size: 15.5px; min-height: 7.5em; }
@media (max-width: 919px) { .fm-desc { min-height: 0; } }
.fm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--hairline); }
.fm-stats dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--haze-dim); margin-bottom: 6px; }
.fm-stats dd { margin: 0; font-size: 15px; font-weight: 600; }
@media (max-width: 520px) { .fm-stats { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   COACHES
   ============================================================= */
.coach {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--panel); padding: clamp(24px, 3.4vw, 38px);
  display: grid; gap: 18px; margin-bottom: 20px;
}
.coach-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.coach-head h2 { margin: 0; }
.coach-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin: 0 0 8px; }
.coach-rate {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em;
  color: var(--paper); border: 1px solid var(--hairline-lit); border-radius: 100px;
  padding: 8px 15px; white-space: nowrap;
}
.coach-bio { color: var(--haze); margin: 0; max-width: 70ch; }
.coach-stats { display: grid; gap: 18px; margin: 0; padding-top: 20px; border-top: 1px solid var(--hairline); }
@media (min-width: 760px) { .coach-stats { grid-template-columns: repeat(3, 1fr); } }
.coach-stats dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--haze-dim); margin-bottom: 6px; }
.coach-stats dd { margin: 0; font-size: 15px; }
.coach-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* =============================================================
   FULL-HEIGHT HERO
   ============================================================= */
.hero-media {
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding-top: clamp(64px, 10vw, 120px);
  padding-bottom: clamp(36px, 6vw, 72px);
}
.hero-media .hero-inner { width: 100%; }
.hero-video video { transform: scale(1.08); transform-origin: center; }

/* =============================================================
   SCROLL-SCRUBBED FILM
   A tall section; the sticky canvas inside plays through a frame
   sequence as you scroll past it.
   ============================================================= */
.scrub { height: 260vh; position: relative; }
.scrub-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scrub-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub-sticky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--void) 0%, transparent 22%, transparent 74%, var(--void) 100%),
    linear-gradient(90deg, rgba(7,11,20,.72), rgba(7,11,20,.15) 55%, rgba(7,11,20,.5));
}
.scrub-overlay { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.scrub-line {
  font-size: clamp(38px, 7vw, 96px);
  margin: 0; max-width: 16ch;
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease);
  text-shadow: 0 2px 40px rgba(7,11,20,.8);
}
@media (prefers-reduced-motion: reduce) {
  .scrub { height: auto; }
  .scrub-sticky { position: static; height: 62vh; }
  .scrub-line { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   FLIGHT MODEL — taller stage, the scene needs room
   ============================================================= */
.fm-stage { min-height: 520px; }
@media (max-width: 919px) { .fm-stage { min-height: 420px; } }
.fm-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 45%, transparent 40%, rgba(7,11,20,.55) 100%);
}
.fm-hint { z-index: 2; }

/* Booking terms — shown above the camp list so the rules are
   visible before anyone commits money. */
.terms-note { border: 1px solid var(--hairline); border-left: 2px solid var(--violet); border-radius: var(--radius); padding: 24px 26px; background: var(--panel); }
.terms-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.terms-note li { color: var(--haze); font-size: 15.5px; }
.terms-note strong { color: var(--paper); }

/* =============================================================
   BOOKING — calendar grid with a cart
   ============================================================= */
.booking { display: grid; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (min-width: 1020px) { .booking { grid-template-columns: minmax(0,1fr) 380px; } }

.bk-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.bk-nav h2 { margin: 0; font-size: clamp(17px, 2vw, 22px); }
.nav-btn { background: transparent; border: 1px solid var(--hairline); color: var(--paper);
  border-radius: var(--radius); width: 36px; height: 36px; cursor: pointer; font-size: 17px; line-height: 1; }
.nav-btn:hover { border-color: var(--hairline-lit); background: var(--panel-2); }

.bkg { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.bkg-head, .bkg-body { display: grid; grid-template-columns: 54px repeat(7, 1fr); }
.bkg-head { border-bottom: 1px solid var(--hairline); }
.bkg-body { max-height: 60vh; overflow-y: auto; }
.bkg-day { padding: 9px 4px; text-align: center; border-left: 1px solid var(--hairline); }
.bkg-day.today .bkg-num { color: var(--violet); }
.bkg-dow { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; color: var(--haze-dim); }
.bkg-num { display: block; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: 16px; }
.bkg-axis { background: var(--panel); }
.bkg-time { height: 30px; font-family: var(--font-mono); font-size: 9px; color: var(--haze-dim);
  padding-right: 6px; text-align: right; border-top: 1px solid var(--hairline); }
.bkg-time.half { border-top-style: dotted; }
.bkg-col { position: relative; border-left: 1px solid var(--hairline); }
.bkg-cell { height: 30px; border-top: 1px solid var(--hairline); }
.bkg-cell.half { border-top-style: dotted; }

.bkg-slot {
  position: absolute; left: 2px; right: 2px; display: grid; gap: 1px; align-content: center;
  padding: 3px 6px; cursor: pointer; text-align: left; overflow: hidden; z-index: 2;
  border: 1px solid rgba(139,92,246,.5); background: rgba(139,92,246,.16);
  border-radius: var(--radius); color: var(--paper); font: inherit;
  transition: background .18s, border-color .18s, transform .18s var(--ease);
}
.bkg-slot:hover { background: rgba(139,92,246,.3); transform: translateY(-1px); }
.bkg-slot.is-picked { border-color: var(--green); background: rgba(52,211,153,.2); }
.bkg-slot.is-full { border-color: var(--hairline); background: var(--panel-2); color: var(--haze-dim); cursor: default; }
.bkg-slot.is-full:hover { transform: none; background: var(--panel-2); }
.s-time { font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.s-meta { font-family: var(--font-mono); font-size: 9px; color: var(--haze); letter-spacing: .04em; }

.bk-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--haze-dim); margin-top: 14px; }

.bk-side { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 28px); position: sticky; top: calc(var(--header-h) + 20px); }
.cart-list { display: grid; gap: 2px; margin-bottom: 20px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.cart-row strong { display: block; font-size: 15px; }
.cart-row span { font-family: var(--font-mono); font-size: 11px; color: var(--haze); }
.cart-right { display: flex; align-items: center; gap: 10px; }
.cart-right > span { color: var(--paper); font-size: 14px; }
.cart-x { background: transparent; border: 1px solid var(--hairline); color: var(--haze-dim);
  width: 26px; height: 26px; border-radius: var(--radius); cursor: pointer; font-size: 15px; line-height: 1; }
.cart-x:hover { color: var(--danger); border-color: var(--danger); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 0 20px; border-top: 1px solid var(--hairline-lit); margin-bottom: 8px; }
.cart-total span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--haze-dim); }
.cart-total strong { font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: 30px; }

.bk-chunks { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.bk-chunk { flex: 1 1 100px; display: grid; gap: 3px; padding: 14px 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--hairline); border-radius: var(--radius);
  color: var(--haze); text-align: center; transition: border-color .2s, background .2s, color .2s; }
.bk-chunk strong { font-family: var(--font-display); font-size: 17px; color: var(--paper); font-stretch: 112%; }
.bk-chunk span { font-family: var(--font-mono); font-size: 11px; }
.bk-chunk:hover { border-color: var(--violet); background: rgba(139,92,246,.12); color: var(--paper); }

.bk-empty { color: var(--haze); }
.bk-msg { display: none; padding: 11px 13px; border-radius: var(--radius); font-size: 14px; margin-bottom: 14px; }
.bk-msg.on { display: block; }
.bk-msg.err { background: rgba(240,103,79,.12); border: 1px solid rgba(240,103,79,.4); color: #FFC4B8; }
.bk-msg.ok { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: #B6F0DA; }

.sheet { position: fixed; inset: 0; background: rgba(7,11,20,.74); backdrop-filter: blur(4px);
  z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.sheet.on { display: flex; }
.sheet-inner { background: var(--panel); border: 1px solid var(--hairline-lit); border-radius: var(--radius);
  width: min(460px, 100%); padding: clamp(22px, 3vw, 32px); }
.sheet-inner h3 { margin: 0 0 6px; }
