/* ============================================================
   WARRIOR AUDIO — cinematic funnel
   Maroon · cream · charcoal black
   ============================================================ */

:root {
  /* palette */
  --charcoal: #0c0a09;          /* warm near-black base */
  --charcoal-2: #121010;        /* raised surface */
  --charcoal-3: #1a1615;        /* card surface */
  --maroon: #800020;
  --maroon-deep: #4d0013;
  --maroon-bright: #a32638;
  --red-muted: #8b3a3a;         /* V1 warrior red — accents only */
  --cream: #f5ead9;
  --cream-dim: rgba(245, 234, 217, 0.62);
  --cream-faint: rgba(245, 234, 217, 0.34);
  --line: rgba(245, 234, 217, 0.12);

  /* type */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rhythm */
  --space: clamp(4rem, 10vw, 8rem);
  --container: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  height: 100%;
  scroll-behavior: smooth;
  background: var(--charcoal);
  /* tells iOS Safari this is a dark page → it paints its own chrome
     (status-bar zone, address-bar surround) dark instead of light */
  color-scheme: dark;
}

body {
  /* app-shell: the window NEVER scrolls — all scrolling happens inside
     .page-scroll. The safe-area padding strip IS the status-bar cap:
     body charcoal paints the clock/Wi-Fi/battery zone, and the scroller
     box physically starts below it, so content is clipped at that edge
     and can never render behind the clock. */
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the inner scroller — owns all page scrolling */
.page-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}

::selection { background: var(--maroon); color: var(--cream); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

/* ---- film grain ---- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ---- type ---- */
.mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
}
.mark em { font-style: normal; color: var(--maroon-bright); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--maroon-bright);
}
/* smaller variant for long, sentence-style titles */
.section-title-sm {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.14;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-title-center { text-align: center; }
/* the gate headline — formatted like the top-left brand mark, Antar-sized */
.gate-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  margin-bottom: 2.75rem;
}
.gate-title em { font-style: normal; color: var(--maroon-bright); }

/* the one-line pre-frame under the apply headline */
.gate-lede {
  text-align: center;
  max-width: 26rem;
  margin: -1.5rem auto 2.75rem;
  font-size: 0.92rem;
  color: var(--cream-dim);
  text-wrap: balance;
}

.section-lede {
  max-width: 34rem;
  color: var(--cream-dim);
  font-size: 1.06rem;
  margin-bottom: 3rem;
}
.section-lede-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 1.1rem 2.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--maroon);
  color: var(--cream);
  box-shadow: 0 0 0 rgba(128, 0, 32, 0);
}
.btn-primary:hover {
  background: var(--maroon-bright);
  box-shadow: 0 8px 40px rgba(128, 0, 32, 0.45);
}
.btn-primary:disabled {
  background: var(--charcoal-3);
  color: var(--cream-faint);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-block { width: 100%; }

/* ---- reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* the maroon ember glow rising from the floor */
  background:
    radial-gradient(115% 75% at 50% 108%, rgba(128, 0, 32, 0.5) 0%, rgba(77, 0, 19, 0.28) 38%, transparent 68%),
    radial-gradient(60% 40% at 50% 115%, rgba(163, 38, 56, 0.35) 0%, transparent 70%),
    var(--charcoal);
}

.hero-nav {
  position: fixed;
  z-index: 51;
  top: calc(env(safe-area-inset-top, 0px) + clamp(1.25rem, 3.5vw, 2rem));
  left: clamp(1.25rem, 5vw, 2.5rem);
}

.hero-logo {
  position: fixed;
  z-index: 51;
  top: calc(env(safe-area-inset-top, 0px) + clamp(1.25rem, 3.5vw, 2rem));
  left: 50%;
  transform: translateX(-50%);
  height: clamp(40px, 6vw, 64px);
  width: auto;
}

/* dark scrim under the fixed logo so it stays legible over any section as the page scrolls */
.header-scrim {
  position: fixed;
  /* reach 100px ABOVE the fixed layer's own anchor: iOS Safari pins fixed
     elements below the status bar when its toolbars minimize, while page
     content scrolls behind the camera zone — this overshoot covers it */
  top: -100px; left: 0;
  width: 100%;
  height: calc(100px + clamp(90px, 14vw, 160px));
  z-index: 45;
  pointer-events: none;
  /* plain stops only — env()/calc() inside gradient color-stops is the
     parse-bug pattern that makes Safari drop the whole background */
  background: linear-gradient(to bottom, rgb(12, 10, 9) 0%, rgb(12, 10, 9) 100px, rgba(12, 10, 9, 0.85) 100px, rgba(12, 10, 9, 0.5) 65%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* clears the fixed logo/nav/scrim so the kicker never sits underneath it */
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 5vw, 2.5rem) 8vh;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--maroon-bright); }

.hero-sub {
  max-width: 42rem;
  color: var(--cream-dim);
  font-size: 1.02rem;
  margin-bottom: 2.5rem;
}
.hero-sub strong { color: var(--cream); font-weight: 600; }
.hero-sub strong.red { color: var(--maroon-bright); }

/* the main video, center stage on the hero */
.hero-gate {
  width: min(860px, 100%);
  margin: 0 auto 2.5rem;
  text-align: left;
}
.hero-gate video,
.hero-gate .gate-video-placeholder {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(128, 0, 32, 0.18);
}

.hero-scrollcue {
  position: absolute; z-index: 2;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
}
.hero-scrollcue span {
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--cream-faint));
  animation: cueDrop 2.4s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section { padding: var(--space) 0; position: relative; }

/* ============================================================
   THE GATE
   ============================================================ */
.gate {
  background:
    linear-gradient(to bottom, rgba(128,0,32,0.06), transparent 30%),
    var(--charcoal-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gate-video-wrap { position: relative; }

.gate-video-wrap video,
.gate-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.gate-video-placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  color: var(--cream-faint);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.ph-mark {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border: 1px solid var(--cream-faint);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--maroon-bright);
}
.gate-video-placeholder code,
.booking-placeholder code {
  color: var(--red-muted);
  font-size: 0.8rem;
}

/* form */
.gate-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: min(480px, 100%);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--charcoal-3);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.gate-form label { display: flex; flex-direction: column; gap: 0.45rem; }
.gate-form label span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.gate-form input {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--cream);
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s ease;
}
.gate-form input::placeholder { color: var(--cream-faint); }
.gate-form input:focus {
  outline: none;
  border-color: var(--maroon-bright);
}

/* ---- the application wizard: one question at a time ---- */
.app-wizard {
  width: min(640px, 100%);
  margin: 0 auto;
  background: var(--charcoal-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.app-progress {
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.app-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--maroon), var(--maroon-bright));
  transition: width 0.5s ease;
}

.app-step-count {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 1.6rem;
}

.app-step {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  min-height: 260px;
}
.app-step.in { opacity: 1; transform: none; }

.app-q {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 1.6rem;
  text-wrap: balance;
}

.app-opt {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--cream-dim);
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.app-opt:hover {
  border-color: var(--maroon-bright);
  color: var(--cream);
  background: rgba(128, 0, 32, 0.12);
}
.app-opt.selected {
  border-color: var(--maroon-bright);
  color: var(--cream);
  background: rgba(128, 0, 32, 0.2);
}

.app-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.45rem;
}
.app-input,
.app-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--cream);
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}
.app-input::placeholder,
.app-textarea::placeholder { color: var(--cream-faint); }
.app-input:focus,
.app-textarea:focus {
  outline: none;
  border-color: var(--maroon-bright);
}
.app-textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.55;
}

/* the phone block — last field, and it stands out */
.app-phone-block {
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(128, 0, 32, 0.16), transparent 60%),
    var(--charcoal);
  border: 1px solid rgba(163, 38, 56, 0.45);
  border-radius: 3px;
  padding: 1.1rem 1.15rem 1.15rem;
  margin-bottom: 1rem;
}
.app-phone-block .app-label { color: var(--cream); }
.app-phone-note {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.5;
  margin: -0.15rem 0 0.75rem;
}
/* one clean unified field: [flag ▾ | +1 | number] */
.app-phone-row {
  display: flex;
  align-items: center;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.3s ease;
}
.app-phone-row:focus-within { border-color: var(--maroon-bright); }

.app-flag-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.75rem 0.85rem 0.95rem;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s ease;
}
.app-flag-wrap:hover { background: rgba(245, 234, 217, 0.04); }
.app-flag { font-size: 1.15rem; line-height: 1; }
.app-flag-caret { font-size: 0.55rem; color: var(--cream-faint); }
.app-country-select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.app-country-select option { color: var(--cream); background: var(--charcoal-2); }

.app-dial {
  padding-left: 0.75rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
  white-space: nowrap;
}
.app-tel {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--cream);
  background: transparent;
  border: none;
  padding: 0.85rem 1rem 0.85rem 0.5rem;
}
.app-tel::placeholder { color: var(--cream-faint); }
.app-tel:focus { outline: none; }

.app-back {
  margin-top: 1.4rem;
  background: none;
  border: none;
  color: var(--cream-faint);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.25s ease;
}
.app-back:hover { color: var(--cream); }
/* unlocked */
.gate-unlocked { margin-top: clamp(2rem, 5vw, 3.5rem); }
.unlock-inner {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(128,0,32,0.22), transparent 60%),
    var(--charcoal-3);
  border: 1px solid rgba(163, 38, 56, 0.35);
  border-radius: 3px;
  animation: unlockIn 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes unlockIn {
  from { opacity: 0; transform: translateY(20px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
.unlock-kicker {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--maroon-bright);
  margin-bottom: 0.9rem;
}
.unlock-inner h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}
.unlock-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.unlock-note { color: var(--cream-dim); font-size: 0.92rem; }

/* ============================================================
   /BEAT — the compact unlock page (ManyChat traffic only)
   ============================================================ */
.beat-page {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(115% 75% at 50% 108%, rgba(128, 0, 32, 0.5) 0%, rgba(77, 0, 19, 0.28) 38%, transparent 68%),
    var(--charcoal);
}
.beat-wrap {
  width: min(760px, 100%);
  padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1.25rem, 5vw, 2.5rem) clamp(2rem, 5vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.beat-logo { height: clamp(64px, 10vw, 100px); width: auto; margin-bottom: 0.6rem; }
.beat-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.05;
  margin: 1.8rem 0 1rem;
  text-wrap: balance;
}
.beat-title em { font-style: italic; color: var(--maroon-bright); }
.beat-sub {
  max-width: 30rem;
  color: var(--cream-dim);
  font-size: 1rem;
  margin-bottom: 2.2rem;
  text-wrap: balance;
}
.beat-form { width: min(480px, 100%); }
.beat-sent {
  font-size: 0.85rem;
  color: var(--maroon-bright);
  text-align: center;
  letter-spacing: 0.04em;
}
.beat-footline {
  margin-top: 3rem;
  font-size: 0.72rem;
  color: var(--cream-faint);
  letter-spacing: 0.08em;
}

/* ============================================================
   PROOF
   ============================================================ */
.proof { background: var(--charcoal); }

/* heading over the before/after track cards */
.demos-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
  color: var(--cream);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.demos-title em { font-style: italic; color: var(--maroon-bright); }

/* ---- the 1Jay arc: before/after pair, clips, photo strip ---- */
.arc { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.arc figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.arc img,
.arc video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--charcoal-2);
}
.arc figcaption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.arc figcaption strong { color: var(--cream); font-weight: 600; }

/* before/after portrait pair */
.arc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}
.arc-pair img { aspect-ratio: 3 / 4; object-fit: cover; }
.arc-pair figure:first-child img { filter: saturate(0.75); }

/* the three clips */
.arc-clips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.arc-clips video { aspect-ratio: 16 / 9; object-fit: cover; }

/* the photo strip */
.arc-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.arc-strip img { aspect-ratio: 4 / 5; object-fit: cover; }

/* demos */
.demos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.demo-card {
  background: var(--charcoal-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color 0.35s ease;
}
.demo-card:hover { border-color: rgba(163, 38, 56, 0.4); }
.demo-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.demo-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.demo-toggle button {
  flex: 1;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.7rem 0;
  background: transparent;
  color: var(--cream-faint);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.demo-toggle button.active { background: var(--maroon); color: var(--cream); }
.demo-toggle button:first-child { border-right: 1px solid var(--line); }

.demo-play {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.demo-play-btn {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream-faint);
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.demo-play-btn:hover { border-color: var(--maroon-bright); background: rgba(128,0,32,0.15); }
.demo-play-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.demo-track {
  flex: 1;
  height: 2px;
  background: var(--charcoal);
  border-radius: 1px;
  overflow: hidden;
}
.demo-track-fill {
  height: 100%; width: 0%;
  background: linear-gradient(to right, var(--maroon), var(--maroon-bright));
}
.demo-state {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* ============================================================
   QUALIFY
   ============================================================ */
.qualify {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(128,0,32,0.1), transparent 65%),
    var(--charcoal-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.qualify-col {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 3px;
  border: 1px solid var(--line);
}
.qualify-for { background: var(--charcoal-3); }
.qualify-not { background: rgba(77, 0, 19, 0.16); border-color: rgba(163, 38, 56, 0.3); }

.qualify-col h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.qualify-not h3 { color: var(--maroon-bright); }

.qualify-col ul { list-style: none; display: grid; gap: 0.9rem; }
.qualify-col li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--cream-dim);
  font-size: 0.98rem;
}
.qualify-col li::before {
  position: absolute; left: 0; top: 0;
  font-weight: 600;
}
.qualify-for li::before { content: "✓"; color: var(--cream); }
.qualify-not li::before { content: "✕"; color: var(--maroon-bright); }

.qualify-cta { display: flex; justify-content: center; }

/* ============================================================
   BOOK
   ============================================================ */
.book {
  background: var(--charcoal);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(1.25rem, 3vw, 2.5rem);
}
.book .section-lede { margin-bottom: 1rem; }

/* Calendly's own embed already draws its own bordered/rounded card —
   no extra background, radius, or shadow of ours on top of it. That
   second decorative box was the "box bullshit." Plain layout wrapper only. */
.booking {
  min-height: 480px;
  max-width: 720px;
  margin: 0 auto;
}
.booking-placeholder {
  display: grid;
  place-items: center;
  min-height: 480px;
  border: 1px dashed var(--line);
  border-radius: 3px;
  color: var(--cream-faint);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.calendly-inline-widget { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background:
    radial-gradient(100% 120% at 50% 130%, rgba(128,0,32,0.18), transparent 60%),
    var(--charcoal);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand-logo { height: clamp(48px, 7vw, 76px); width: auto; }

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--maroon-bright); }
.footer-line { font-size: 0.75rem; color: var(--cream-faint); letter-spacing: 0.06em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .demos { grid-template-columns: 1fr; }
  .arc-clips { grid-template-columns: 1fr; }
  .arc-strip { grid-template-columns: 1fr; }
  .arc-strip img { aspect-ratio: 4 / 3; }
  .qualify-grid { grid-template-columns: 1fr; }
  /* Calendly's mobile month view is short — a tall iframe leaves a big
     white void around it, so cap the widget to the content's real height */
  .calendly-inline-widget { height: 620px !important; }
  .booking { min-height: 0; }
}

@media (max-width: 640px) {
  /* mobile header — app-shell architecture: viewport-fit=cover is ON,
     but the WINDOW never scrolls (body is height:100dvh/overflow:hidden;
     all scrolling lives inside .page-scroll, whose box starts below the
     body's safe-area-inset-top padding cap). iOS therefore never
     minimizes-and-slides page pixels behind the clock — content is
     physically clipped at the cap's edge. On top of that sits the foggy
     frosted fade: solid charcoal at the cap's clip-line, dissolving
     down into the page with a matching backdrop blur. */
  .hero-nav { display: none; }
  .hero-logo {
    display: block;
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    height: 48px;
  }
  .header-scrim {
    display: block;
    /* the foggy fade, welded under the cap: sits exactly below the body's
       safe-area cap (env() in TOP parses fine — it's only env() inside
       gradient STOPS that iOS silently drops). Starts fully solid so the
       scroller's clip-line stays invisible, then tint and blur dissolve
       together into the page. The taper is an eased multi-stop curve
       (barber-fade smooth, no visible banding), per Ethan. */
    top: env(safe-area-inset-top, 0px);
    height: 175px;
    background: linear-gradient(
      to bottom,
      rgb(12, 10, 9) 0%,
      rgba(12, 10, 9, 0.97) 8%,
      rgba(12, 10, 9, 0.9) 16%,
      rgba(12, 10, 9, 0.79) 26%,
      rgba(12, 10, 9, 0.65) 37%,
      rgba(12, 10, 9, 0.5) 48%,
      rgba(12, 10, 9, 0.36) 59%,
      rgba(12, 10, 9, 0.23) 70%,
      rgba(12, 10, 9, 0.12) 81%,
      rgba(12, 10, 9, 0.04) 91%,
      rgba(12, 10, 9, 0) 100%
    );
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(to bottom, black 25%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 25%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.35) 75%, transparent 100%);
  }

  /* Antar-format hero: tight, centered, straightforward */
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.2rem); margin-bottom: 1.1rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.9rem; }
  /* the desktop <br> forces an awkward mid-flow break at narrow widths —
     let the text wrap naturally on mobile */
  .hero-sub br { display: none; }
  .hero-gate { margin-bottom: 1.9rem; }
  .hero-inner .btn { width: min(420px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero-scrollcue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .page-scroll { scroll-behavior: auto; }
}
