/* River Sanders landing page.
   One column of full-bleed black bands on a single 1120px measure.
   Single dark theme on purpose: black brand. */
:root {
  color-scheme: dark;

  --ink: #06070a;        /* page ground */
  --panel: #0e1114;      /* raised band and card */
  --line: #23282d;       /* hairline */
  --silver: #b3b9be;     /* body copy, labels */
  --ice: #f5f7f8;        /* headlines */
  --white: #ffffff;      /* the one bright surface: primary action */
  --red: #ff5247;        /* field labels + errors only */

  --display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --measure: 1120px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
img, video { max-width: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 640px) { body { font-size: 18px; } }

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.band { border-top: 1px solid var(--line); }
.band > .wrap { padding-block: clamp(60px, 9vw, 112px); }
.band--tight > .wrap { padding-block: clamp(48px, 6vw, 72px); }

.glow {
  background-image:
    radial-gradient(38% 60% at 0% 0%, rgba(245, 247, 248, 0.055), transparent 68%),
    radial-gradient(34% 56% at 100% 100%, rgba(164, 171, 177, 0.05), transparent 66%);
}

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 7.2vw, 4.75rem); line-height: 0.95; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 0.98; }

p { margin: 0; }
.lede { color: var(--silver); max-width: 38rem; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.chrome {
  background-image: linear-gradient(176deg, #ffffff 0%, #f5f7f8 26%, #b9c0c5 54%, #eef1f3 68%, #8f969c 100%);
  background-size: 100% 260%;
  background-position: 50% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a { color: inherit; }
:where(a, button, summary, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- top bar: wordmark only, left-aligned, no nav (campaign page) ---------- */
.topbar { position: relative; z-index: 2; }
.topbar .wrap { display: flex; align-items: center; padding-block: 20px; }
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ice);
}

/* ---------- actions ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding-inline: 30px;
  border: 1px solid var(--white);
  border-radius: 12px;
  background: var(--white);
  color: #06070a;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 22px -8px rgba(255, 255, 255, 0.45);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s, opacity 0.2s;
}
.cta:hover { box-shadow: 0 4px 34px -8px rgba(255, 255, 255, 0.6); }
.cta:active { transform: scale(0.98); }
.cta[disabled] { opacity: 0.6; cursor: default; }
.cta--full { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero > .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(20px, 4vw, 56px) clamp(60px, 8vw, 104px);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-media video, .hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: rgba(6, 7, 10, 0.6); }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6, 7, 10, 0.5), rgba(6, 7, 10, 0.75) 55%, var(--ink)); }
/* Footage is vertical: on wide screens blur it slightly so the upscale doesn't read as soft. */
@media (min-width: 900px) { .hero-media video, .hero-media img { filter: blur(2px); transform: scale(1.04); } }

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
/* Kicker, same as the MORE site: short red bar + spaced uppercase mono label. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}
.eyebrow .dot { width: 44px; height: 3px; border-radius: 0; background: var(--red); flex: none; }
@media (max-width: 639px) {
  .eyebrow { font-size: 10px; letter-spacing: 0.14em; gap: 12px; text-align: left; }
  .eyebrow .dot { width: 28px; }
}

/* ---------- VSL ---------- */
.stage {
  position: relative;
  margin-top: clamp(28px, 4vw, 48px);
  border-radius: 22px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 40%, transparent);
  padding: 1px;
}
.screen {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 21px;
  border: 1px solid var(--line);
  background: radial-gradient(72% 92% at 50% 0%, #1b2125 0%, #0e1114 55%, #06070a 100%);
  display: grid;
  place-items: center;
}
.screen-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.screen iframe, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.screen-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.screen-trigger[disabled] { cursor: default; }

/* "Tap for sound" pill while the VSL plays muted; gone for good once sound is on.
   The frame stays clickable so another tap restarts from the top. */
.unmute {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  color: #06070a;
  font-size: 13px;
  box-shadow: 0 10px 46px -10px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s;
}
.unmute-ic { font-size: 16px; line-height: 1; }
.screen-trigger:hover .unmute { transform: scale(1.04); }
.screen.has-sound .unmute { opacity: 0; visibility: hidden; pointer-events: none; }
.play {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 46px -10px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.screen-trigger:hover .play { transform: scale(1.06); }
@media (min-width: 640px) { .play { width: 84px; height: 84px; } }
.play svg { margin-left: 4px; display: block; }
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 5px 11px;
  color: rgba(245, 247, 248, 0.9);
  pointer-events: none;
}

.hero-cta { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- apply ---------- */
.gate { max-width: 40rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }

.form, .booking {
  margin: 32px auto 0;
  width: 100%;
  max-width: 30rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 24px;
  text-align: left;
}
@media (min-width: 640px) { .form, .booking { padding: 32px; } }
.form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: var(--red); }
.field .hint { font-size: 14px; color: var(--silver); margin-top: -2px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  color: var(--ice);
  font-family: var(--body);
  font-size: 16px; /* 16px stops iOS zooming on focus */
  transition: border-color 0.2s;
}
.field input { height: 52px; padding-inline: 16px; }
.field textarea { min-height: 7rem; resize: vertical; padding: 12px 16px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(179, 185, 190, 0.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(245, 247, 248, 0.5); }
.field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.field input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.field.err input, .field.err textarea { border-color: var(--red); }
.field .ferr { font-size: 14px; color: var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { font-size: 15px; color: var(--red); }
.form-note { text-align: center; line-height: 1.8; color: rgba(179, 185, 190, 0.8); }

/* ---------- booking picker (step 2, books via /api/book) ---------- */
.booking h3 { font-size: 1.9rem; line-height: 1; }
.booking > p { color: var(--silver); margin-top: 10px; }
.picker { margin-top: 22px; }
.picker__tz { margin-bottom: 14px; }
.picker__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.picker__day {
  flex: none; min-width: 74px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--ink);
  color: var(--silver); cursor: pointer; text-align: center;
  font: 700 15px/1.2 var(--body);
}
.picker__day .dow { display: block; margin-bottom: 3px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.picker__day:hover { border-color: var(--silver); }
.picker__day.sel { border-color: var(--white); color: var(--ice); background: rgba(255, 255, 255, 0.06); }
.picker__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-top: 16px; }
.picker__time {
  padding: 14px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink); color: var(--ice); cursor: pointer;
  font: 700 15px/1 var(--body); text-align: center;
}
.picker__time:hover { border-color: var(--silver); }
.picker__time.sel { border-color: var(--white); background: var(--white); color: #06070a; }
.picker__confirm { margin-top: 18px; }
.picker__msg { margin-top: 14px; font-size: 15px; color: var(--silver); }
.picker__msg.err { color: var(--red); }

/* ---------- FAQ ---------- */
.questions { position: relative; isolation: isolate; overflow: hidden; }
.questions > .wrap { position: relative; z-index: 1; }
.questions-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.questions-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 64%; }
.questions-scrim { position: absolute; inset: 0; background: rgba(6, 7, 10, 0.5); }
.questions-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink), rgba(6, 7, 10, 0.3) 50%, var(--ink)); }

.faq { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(28px, 4vw, 40px); max-width: 52rem; }
.qa {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(14, 17, 20, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 20px 22px;
}
@media (min-width: 640px) { .qa { padding: 22px 28px; } }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; list-style: none; font-weight: 700; color: var(--ice);
}
.qa summary::-webkit-details-marker { display: none; }
.qa .sign { position: relative; width: 16px; height: 16px; flex: none; transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.qa .sign::before, .qa .sign::after { content: ""; position: absolute; background: var(--silver); }
.qa .sign::before { top: 50%; left: 0; width: 16px; height: 1px; transform: translateY(-50%); }
.qa .sign::after { left: 50%; top: 0; width: 1px; height: 16px; transform: translateX(-50%); }
.qa[open] .sign { transform: rotate(45deg); }
.qa p { margin-top: 14px; color: var(--silver); max-width: 46rem; }

/* ---------- close + footer ---------- */
.close > .wrap {
  padding-block: clamp(80px, 12vw, 140px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  max-width: 44rem;
}
.close h2 { font-size: clamp(2.2rem, 6.4vw, 3.9rem); }

.colophon > .wrap { padding-block: 48px; display: flex; flex-direction: column; gap: 26px; }
.colophon-id { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 560px) { .colophon-id { flex-direction: row; align-items: baseline; gap: 18px; } }
.disclaimer { color: rgba(179, 185, 190, 0.75); font-size: 14px; line-height: 1.8; max-width: 58rem; }

/* ---------- thank-you ---------- */
.done { max-width: 44rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.done .stage { width: 100%; }

/* ---------- receipts (trust builders) ---------- */
.wins-head { max-width: 40rem; display: flex; flex-direction: column; gap: 14px; }
.wins-row {
  display: flex;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.wins-row::-webkit-scrollbar { display: none; }
.win {
  flex: 0 0 68%;
  max-width: 300px;
  margin: 0;
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
}
.win img { display: block; width: 100%; height: auto; }
.wins-hint { margin-top: 10px; color: rgba(179, 185, 190, 0.55); }
@media (min-width: 640px) {
  .win { flex-basis: 40%; }
}
@media (min-width: 980px) {
  .wins-row { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 18px; }
  .win { max-width: none; }
  .wins-hint { display: none; }
}

/* ---------- motion (only fades content in; skipped for reduced motion) ---------- */
.reveal-on { opacity: 0; transform: translateY(16px); }
.reveal-on.shown { opacity: 1; transform: none; transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on, .reveal-on.shown { opacity: 1; transform: none; transition: none; }
}
