/* StageCoach / AV Line Reader — cinematic landing art direction.
   The rehearsal console keeps the original component styles below this layer. */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --cinema-max: 1320px;
  --cinema-ease: cubic-bezier(.22,.75,.18,1);
  --cinema-border: rgba(247,248,242,.16);
}

body:not(.rehearsal-open) {
  background:
    radial-gradient(ellipse at 50% 4%,rgba(210,255,90,.055),transparent 34%),
    var(--bg);
}

.site-header {
  background: rgba(17,18,17,.9);
  border-bottom-color: rgba(247,248,242,.1);
}
.header-inner {
  max-width: 1500px;
  padding: 17px 42px;
}
.wordmark .brand-logo { width: 218px; }
.header-links { gap: clamp(20px,2.5vw,38px); }
.header-links a:not(.btn) {
  position: relative;
  font-size: 10px;
  letter-spacing: .13em;
  opacity: .82;
}
.header-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--cinema-ease);
}
.header-links a:not(.btn):hover::after,
.header-links a:not(.btn):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-header .btn,
.landing-hero .btn,
.closing .btn {
  border-radius: 2px;
}
.site-header .btn { min-height: 44px; padding: 11px 19px; }

/* Full-viewport promotional scene, composed like the supplied band reference. */
.landing-hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 79px);
  margin: 0;
  padding: 28px 42px 24px;
  overflow: hidden;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,rgba(247,248,242,.025) 1px,transparent 1px) 0 0 / 12.5% 100%,
    radial-gradient(ellipse at 50% 55%,rgba(210,255,90,.045),transparent 56%);
  mask-image: linear-gradient(to bottom,black,transparent 88%);
}
.hero-stage {
  position: relative;
  width: min(100%,var(--cinema-max));
  height: clamp(570px,calc(100svh - 190px),760px);
  margin: 0 auto;
  isolation: isolate;
}
.hero-mask {
  position: absolute;
  inset: 0 1.5%;
  overflow: hidden;
  border: 1px solid rgba(247,248,242,.13);
  border-radius: 43% 57% 46% 54% / 35% 37% 63% 65%;
  background: #171915;
  box-shadow: 0 38px 100px rgba(0,0,0,.46),inset 0 0 90px rgba(0,0,0,.3);
  transform: translateZ(0);
}
.stage-backdrop { position: absolute; inset: -9%; }
.stage-scene-image {
  position: absolute;
  inset: -2%;
  background: url("/assets/stage-scene.webp") 50% 50% / cover no-repeat;
  filter: saturate(.82) contrast(1.08) brightness(.88);
  transform: scale(1.04);
}
.stage-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 46%,rgba(17,18,17,.08) 0%,rgba(17,18,17,.24) 40%,rgba(8,9,8,.76) 100%),
    linear-gradient(180deg,rgba(17,18,17,.18),transparent 30%,rgba(8,9,8,.38));
  pointer-events: none;
}
.hero-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.stage-code,
.stage-edition {
  position: absolute;
  z-index: 2;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .19em;
  color: rgba(247,248,242,.68);
  text-transform: uppercase;
}
.stage-code { top: 25%; left: 8%; writing-mode: vertical-rl; transform: rotate(180deg); }
.stage-edition { top: 20%; right: 9%; text-align: right; }
.stage-code::before,
.stage-edition::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-bottom: 13px;
  background: var(--accent);
}
.stage-code::before { margin-left: 4px; }
.stage-edition::before { margin-left: auto; }

/* The bordered title card deliberately floats above the soft spotlight mask. */
.landing-hero .hero-copy {
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 44px;
  text-align: center;
}
.landing-hero .hero-copy > * { animation: none; }
.hero-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(680px,63vw);
  min-height: 398px;
  padding: clamp(36px,4.2vw,58px) clamp(30px,4.8vw,64px);
  border: 1px solid rgba(247,248,242,.64);
  background: rgba(13,14,12,.14);
  box-shadow: inset 0 0 50px rgba(17,18,17,.08),0 20px 70px rgba(0,0,0,.1);
}
.frame-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
}
.frame-corner.tl { top: -4px; left: -4px; border-width: 2px 0 0 2px; }
.frame-corner.tr { top: -4px; right: -4px; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: -4px; left: -4px; border-width: 0 0 2px 2px; }
.frame-corner.br { right: -4px; bottom: -4px; border-width: 0 2px 2px 0; }
.hero-overline {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.landing-hero h1 {
  max-width: none;
  color: var(--text);
  font-family: Inter,system-ui,sans-serif;
  font-size: clamp(43px,5.25vw,76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.058em;
  text-wrap: balance;
  text-shadow: 0 3px 30px rgba(0,0,0,.4);
}
.landing-hero h1 span { display: block; }
.landing-hero .hero-copy h1::after { display: none; }
.hero-intro {
  max-width: 480px;
  margin-top: 21px;
  color: rgba(247,248,242,.82);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: balance;
}
.landing-hero .actions {
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.landing-hero .hero-copy .btn {
  min-width: 0;
  min-height: 49px;
  padding: 13px 20px;
  font-size: 9px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.landing-hero .btn.primary { color: #15170e; }
.landing-hero .btn-preview {
  border-color: rgba(247,248,242,.3);
  background: rgba(17,18,17,.6);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.landing-hero .btn-preview:hover { background: rgba(41,44,39,.88); }
.play-glyph {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 7px;
  line-height: 1;
}
.hero-note {
  margin-top: 19px;
  color: rgba(247,248,242,.6);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* A clapperboard made from the existing palette, echoing the second reference. */
.clapperboard {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 7%;
  width: 218px;
  color: var(--ink);
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.44));
  transform: rotate(-8deg);
  transform-origin: 50% 100%;
}
.clapper-top {
  position: relative;
  z-index: 1;
  height: 33px;
  border: 2px solid #0b0c0b;
  background: repeating-linear-gradient(125deg,var(--accent) 0 30px,#20231d 30px 60px);
  box-shadow: inset 0 1px rgba(255,255,255,.28);
  transform: rotate(-3deg);
  transform-origin: left bottom;
}
.clapper-top::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 10px;
  width: 5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 13px var(--paper);
}
.clapper-body {
  padding: 10px 12px 12px;
  border: 2px solid #0b0c0b;
  border-top: 0;
  background: rgba(242,243,236,.91);
  font-family: Inter,system-ui,sans-serif;
  text-transform: uppercase;
}
.slate-production {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(21,23,14,.5);
  font-size: 7px;
  letter-spacing: .08em;
}
.slate-production strong { font-size: 9px; letter-spacing: -.02em; }
.slate-grid { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(21,23,14,.5); }
.slate-grid > span { padding: 6px 4px; border-right: 1px solid rgba(21,23,14,.4); font-size: 6px; letter-spacing: .08em; }
.slate-grid > span:last-child { border-right: 0; }
.slate-grid strong { display: block; margin-top: 2px; font-family: Anton,Impact,sans-serif; font-size: 18px; font-weight: 400; line-height: 1; }
.slate-director { display: flex; justify-content: space-between; padding-top: 7px; font-size: 7px; letter-spacing: .1em; }
.slate-director strong { color: #47552c; }

.hero-footer {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%,var(--cinema-max));
  margin: 13px auto 0;
  color: rgba(247,248,242,.5);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.scroll-cue:hover { color: var(--accent); }
.scroll-line { position: relative; width: 45px; height: 1px; overflow: hidden; background: rgba(247,248,242,.2); }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(var(--scroll-line-x,-100%)); }

/* Moving production credits create a transition out of the hero. */
.cue-strip {
  overflow: hidden;
  border-top: 1px solid #e2ff97;
  border-bottom: 1px solid #e2ff97;
  background: var(--accent);
  color: var(--ink);
}
.cue-track { display: flex; width: max-content; will-change: transform; }
.cue-group { display: flex; flex-shrink: 0; align-items: center; padding: 13px 0; }
.cue-group span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-left: 30px;
  font-family: Anton,Impact,"Arial Narrow",sans-serif;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}
.cue-group span::after { content: "✦"; font-family: Inter,sans-serif; font-size: 11px; }

/* Editorial sections retain the original charcoal / paper / lime palette. */
#how-it-works .wrap,
.benefits.wrap,
.closing .wrap { max-width: var(--cinema-max); }
#how-it-works .wrap { padding: clamp(76px,8vw,116px) 48px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(240px,.65fr);
  gap: 64px;
  align-items: end;
}
.section-index {
  display: block;
  margin-bottom: 20px;
  color: #58653d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
#how-it-works h2,
.benefits h2,
.closing h2 {
  font-family: Inter,system-ui,sans-serif;
  font-size: clamp(43px,5.3vw,72px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.06em;
}
.section-heading > p { max-width: 380px; color: #55584d; font-size: 14px; line-height: 1.75; }
.three-steps { gap: clamp(24px,4vw,60px); margin-top: 64px; }
#how-it-works .three-steps article {
  gap: 14px;
  padding: 25px 0 0;
  border: 0;
  border-top: 1px solid rgba(21,23,14,.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#how-it-works .three-steps article:hover { transform: none; box-shadow: none; }
#how-it-works .three-steps article:hover .step-number { transform: none; text-shadow: none; }
.three-steps .step-number { color: #637340; font-family: Anton,Impact,sans-serif; font-size: 48px; line-height: 1; }
.three-steps h3 { font-family: Inter,system-ui,sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.035em; }
.three-steps p { max-width: 330px; font-size: 14px; }

.benefits.wrap { padding: clamp(80px,9vw,126px) 48px; }
.benefits .section-index { color: var(--accent); }
.benefits .section-heading > p { color: var(--muted); }
.benefits .intro { margin: 0; }
.benefit-grid { gap: 14px; margin-top: 58px; }
.benefit-card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 20px;
  min-height: 224px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(247,248,242,.11);
  border-radius: 3px;
  background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.012));
  box-shadow: none;
}
.benefit-card::after { right: -52px; bottom: -86px; width: 180px; height: 180px; }
.benefit-number {
  color: var(--accent);
  font-family: Anton,Impact,sans-serif;
  font-size: 37px;
  line-height: 1;
  opacity: .85;
}
.benefit-card > div { display: grid; align-content: start; gap: 13px; }
.benefit-card .step { font-size: 8px; letter-spacing: .17em; }
.benefit-card h3 { font-family: Inter,system-ui,sans-serif; font-size: clamp(21px,2vw,27px); font-weight: 500; line-height: 1.22; letter-spacing: -.04em; }
.benefit-card p { font-size: 13px; line-height: 1.7; }
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(210,255,90,.38); }

.closing { position: relative; }
.closing .wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 48px;
  align-items: end;
  padding: clamp(70px,8vw,104px) 48px;
}
.closing .section-index { margin-bottom: 16px; color: rgba(21,23,14,.65); }
.closing h2 { max-width: 790px; }
.closing .closing-copy > p:last-child { max-width: 540px; margin-top: 18px; font-size: 14px; line-height: 1.7; }
.closing .btn { min-width: 200px; margin: 0 0 4px; }
.site-footer .wrap { max-width: var(--cinema-max); padding-right: 48px; padding-left: 48px; }

@media (max-width: 1100px) {
  .header-inner { padding-right: 30px; padding-left: 30px; }
  .header-links { gap: 22px; }
  .landing-hero { padding-right: 28px; padding-left: 28px; }
  .hero-frame { width: min(650px,72vw); }
  .clapperboard { right: 4%; width: 185px; }
  .stage-code { left: 6%; }
  .stage-edition { right: 7%; }
  .section-heading { gap: 40px; }
  .benefit-card { grid-template-columns: 44px minmax(0,1fr); padding: 25px; gap: 16px; }
}

@media (max-width: 900px) {
  .header-links a:not(.btn) { font-size: 9px; }
  .wordmark .brand-logo { width: 190px; }
  .hero-stage { height: 610px; }
  .hero-mask { inset: 0; border-radius: 42% 58% 45% 55% / 29% 31% 49% 51%; }
  .landing-hero .hero-copy { padding: 36px; }
  .hero-frame { width: min(620px,78vw); min-height: 390px; }
  .stage-code,.stage-edition { opacity: .65; }
  .clapperboard { right: 2%; bottom: 5%; width: 160px; opacity: .78; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .section-heading > p { max-width: 560px; }
  .benefit-grid { margin-top: 42px; }
  .benefit-card { grid-template-columns: 1fr; gap: 14px; }
  .benefit-number { font-size: 30px; }
  .closing .wrap { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .closing .btn { margin: 0; }
}

@media (max-width: 760px) {
  .header-inner { padding: 13px 18px; gap: 12px; }
  .wordmark .brand-logo { width: 166px; }
  .header-links { gap: 0; }
  .header-links .btn { min-width: 0; min-height: 42px; padding: 10px 13px; font-size: 8px; }
  .landing-hero { min-height: 0; padding: 16px 16px 24px; }
  .landing-hero::before { background-size: 25% 100%; }
  .hero-stage { height: 650px; }
  .hero-mask { inset: 15px -58px 10px; border-radius: 43% 57% 46% 54% / 19% 20% 29% 30%; }
  .stage-backdrop { inset: -4% -28%; }
  .stage-scene-image { background-position: 48% 50%; }
  .stage-shade { background: radial-gradient(ellipse at 50% 45%,rgba(17,18,17,.12),rgba(8,9,8,.67) 82%); }
  .landing-hero .hero-copy { padding: 45px 4px 58px; }
  .hero-frame { width: 100%; min-height: 455px; padding: 37px 22px; background: rgba(13,14,12,.2); }
  .hero-overline { margin-bottom: 18px; font-size: 8px; }
  .landing-hero h1 { font-size: clamp(39px,11vw,54px); line-height: 1.03; }
  .hero-intro { max-width: 330px; margin-top: 20px; font-size: 13px; }
  .landing-hero .actions { display: grid; width: min(100%,300px); gap: 9px; margin-top: 23px; }
  .landing-hero .hero-copy .btn { width: 100%; min-height: 48px; }
  .hero-note { max-width: 270px; margin-top: 17px; font-size: 7px; }
  .stage-code,.stage-edition { display: none; }
  .clapperboard { right: 16px; bottom: 1px; width: 118px; opacity: .72; }
  .clapper-top { height: 22px; background-size: auto; }
  .clapper-body { padding: 6px 8px 8px; }
  .slate-production { padding-bottom: 4px; font-size: 5px; }
  .slate-production strong { font-size: 6px; }
  .slate-grid > span { padding: 4px 2px; font-size: 4px; }
  .slate-grid strong { font-size: 12px; }
  .slate-director { padding-top: 4px; font-size: 5px; }
  .hero-footer { flex-direction: column; gap: 10px; align-items: flex-start; margin: 14px 4px 0; font-size: 7px; }
  .hero-footer > p { align-self: flex-end; text-align: right; }
  .cue-group { padding: 12px 0; }
  .cue-group span { gap: 22px; padding-left: 22px; font-size: 15px; }
  #how-it-works .wrap,.benefits.wrap,.closing .wrap { padding: 64px 20px; }
  .section-index { margin-bottom: 15px; font-size: 8px; }
  #how-it-works h2,.benefits h2,.closing h2 { font-size: clamp(40px,12vw,53px); }
  .three-steps { grid-template-columns: 1fr; gap: 34px; margin-top: 43px; }
  #how-it-works .three-steps article { padding-top: 20px; }
  .three-steps .step-number { font-size: 40px; }
  .three-steps h3 { font-size: 22px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 38px; }
  .benefit-card { grid-template-columns: 40px minmax(0,1fr); min-height: 0; padding: 23px 20px; gap: 14px; }
  .benefit-card h3 { font-size: 22px; }
  .benefit-card p { font-size: 13px; }
  .closing .wrap { gap: 26px; }
  .closing .btn { width: 100%; }
  .site-footer .wrap { padding-right: 20px; padding-left: 20px; }
}

@media (max-width: 390px) {
  .wordmark .brand-logo { width: 146px; }
  .header-links .btn { padding-right: 10px; padding-left: 10px; }
  .landing-hero h1 { font-size: 38px; }
  .hero-frame { padding-right: 17px; padding-left: 17px; }
  .benefit-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .header-links a:not(.btn)::after { transition: none; }
  .cue-track { transform: none !important; }
  .scroll-line::after { transform: none; }
  .stage-backdrop,.stage-scene-image,.hero-frame,.hero-mask,.clapperboard { transform: none; }
  .clapperboard { rotate: -8deg; }
}
