/* homepage.css -- homepage-specific styles
   Loaded only on /. Assumes tokens-base.css and public.css are present.
   Acts 1-3 styles are locked. Do not change visible output. */

/* ============================================================
   CHROME
   ============================================================ */
/* Keep the scrollbar hidden for the story treatment. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* ============================================================
   NAV: hidden during dark acts, revealed at Act 4
   ============================================================ */
body.body-homepage .nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: rgba(243,245,244,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

body.body-homepage .nav.nav-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reduced motion: always show nav */
html.reduced-motion body.body-homepage .nav {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  position: sticky;
}

/* ============================================================
   HOMEPAGE BODY OVERRIDES
   ============================================================ */
body.body-homepage {
  background: var(--act1-bg, #0D1410);
  overflow-x: hidden;
}

/* Fixed background -- GSAP animates backgroundColor */
.bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  background: var(--act1-bg, #0D1410);
  pointer-events: none;
}

/* Noise grain */
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ============================================================
   LAYOUT UTILITIES (homepage-specific widths)
   ============================================================ */
.wrap-wide   { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 680px;  margin: 0 auto; padding: 0 40px; }

/* Homepage uses full-width, override public.css main constraint */
body.body-homepage main { max-width: none; padding: 0; }

/* Override .wrap on homepage for tighter story width */
.story-shell .wrap { max-width: 760px; padding: 0 40px; }

/* ============================================================
   DARK SCENE -- Acts 1, 2, 3
   Controlled story shell (LOCKED STYLES)
   ============================================================ */
:root {
  --act1-bg:  #0D1410;
  --act1-text:#E8EDE9;
  --act1-dim: #5A6B5E;
}

.story-shell {
  position: relative;
  height: 100vh;
  min-height: 100svh;
}

.story-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.story-act {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.beat {
  display: flex;
  align-items: center;
  padding: 40px 0 80px;
}

.story-scene,
.story-shell .beat,
.story-shell .act3-sticky {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.story-shell .act3,
.story-shell .act3-sticky {
  height: 100%;
}

/* JS hides everything in the dark acts immediately */
html.js .li-asleep { opacity: 0; }
html.js .line-2,
html.js .line-3,
html.js .line-4 {
  opacity: 0;
  transform: translateY(24px);
}
html.js .l5-chunk { opacity: 0; }
html.js .act2-intro  { opacity: 0; transform: translateY(20px); }
html.js .af-freedom  { opacity: 0; }
html.js .af-headcount { opacity: 0; }
html.js .af-rest     { opacity: 0; }
html.js .act3-brand, html.js .act3-statement, html.js .act3-rule,
html.js .act3-sub, html.js .a3s-1, html.js .a3s-2, html.js .a3s-3 {
  opacity: 0;
}

/* Blinking block cursor */
.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  background: var(--act1-dim);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: cur-blink 0.72s step-end infinite;
}
@keyframes cur-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   REDUCED MOTION: undo controlled shell, show full story inline
   ============================================================ */
html.reduced-motion .story-shell {
  height: auto;
  min-height: 0;
}

html.reduced-motion .story-stage {
  height: auto;
  overflow: visible;
}

html.reduced-motion .story-act,
html.reduced-motion .story-scene,
html.reduced-motion .story-shell .beat,
html.reduced-motion .story-shell .act3-sticky {
  position: static;
  inset: auto;
  height: auto;
  overflow: visible;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

html.reduced-motion .line-2,
html.reduced-motion .line-3,
html.reduced-motion .line-4,
html.reduced-motion .li-asleep,
html.reduced-motion .l5-chunk,
html.reduced-motion .act2-intro,
html.reduced-motion .af-freedom,
html.reduced-motion .af-headcount,
html.reduced-motion .af-rest,
html.reduced-motion .act3-brand,
html.reduced-motion .act3-statement,
html.reduced-motion .act3-rule,
html.reduced-motion .act3-sub,
html.reduced-motion .a3s-1,
html.reduced-motion .a3s-2,
html.reduced-motion .a3s-3,
html.reduced-motion [data-anim] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html.reduced-motion .act3-rule {
  transform: none !important;
}

html.reduced-motion .act2-slot-stage {
  position: static;
  inset: auto;
  overflow: visible;
  display: block;
  -webkit-mask-image: none;
  mask-image: none;
}

html.reduced-motion .act2-list {
  position: static;
  inset: auto;
  width: auto;
  transform: none !important;
}

html.reduced-motion .act2-list li {
  position: static;
  inset: auto;
  display: block;
  min-height: 0;
  padding: 0 0 0.45em;
  text-align: left;
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   ACT 1 -- THE CONFESSION
   ============================================================ */
.act1-stage {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.line-1 {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8AB0A0;
  margin: 0;
  text-transform: uppercase;
}

.act1-line {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--act1-text);
  margin: 0;
  font-weight: 400;
}

.line-4 {
  font-weight: 600;
  color: #EFF2F0;
}

.act1-line em {
  font-style: italic;
  color: #A8C4B0;
}

.act1-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.act1-list li {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  color: #A8C4B0;
  letter-spacing: -0.01em;
  padding-left: 20px;
  position: relative;
}

.act1-list li.li-pivot {
  font-style: italic;
  color: #C4D9CC;
}

.act1-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--act1-dim);
}

.line-5 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--act1-text);
  margin: 0;
  font-weight: 400;
}

.line-5 br { display: block; margin-bottom: 0.2em; }

.brand-foreshadow {
  color: color-mix(in srgb, var(--color-orange) 40%, var(--act1-text) 60%);
}

.l5-c2 { color: #5E7568; }
.l5-c3 { color: #A8C4B0; }
.l5-c4 { color: var(--act1-text); }

/* ============================================================
   ACT 2 -- THE REFRAME
   ============================================================ */
.act2-intro {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #D1DED6;
  margin: 0 0 0.1em;
  font-weight: 400;
}
.a2i-2 {
  color: #A8C4B0;
  font-style: italic;
}

.act2-slot-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 8vh;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 68%, transparent 100%);
}

.act2-list {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 80px), 620px);
  transform: translate(-50%, -50%);
  list-style: none;
  padding: 0;
  margin: 0;
}

.act2-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(60px, 8.4vh, 92px);
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  color: #A8C4B0;
  letter-spacing: -0.01em;
  opacity: 0;
  text-align: center;
  transform-origin: center center;
}

.af-freedom {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #8AB0A0;
  margin: 0 0 0.55em;
}

.af-headcount {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #C5D7CA;
  margin: 0 0 1.2em;
}

.af-rest {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #5E7568;
  margin: 0;
  max-width: 580px;
}

/* ============================================================
   ACT 3 -- THE THRESHOLD
   ============================================================ */
.act3-sticky {
  display: flex;
  align-items: center;
  padding-bottom: 10vh;
}

.act3-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 237, 230, 0.55);
  margin: 0 0 48px;
}

.act3-statement {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: #DCF0E8;
  margin: 0 0 0;
  font-weight: 700;
}

.act3-rule {
  width: 48px;
  height: 2px;
  background: rgba(212, 237, 230, 0.3);
  margin: 40px 0;
  transform-origin: left center;
}

.act3-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
  color: rgba(212, 237, 230, 0.68);
  max-width: 520px;
  margin: 0 0 0.2em;
}

.a3s-3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3.8vw, 44px);
  color: rgba(212, 237, 230, 0.90);
  margin-top: 0.4em;
}

/* ============================================================
   ACT 4 -- THE PRODUCT
   ============================================================ */
.act4 {
  padding: min(18vh, 180px) 0 100px;
  color: var(--color-ink);
}

.act4-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  font-weight: 700;
}

.act4-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

.act4-intro {
  margin-bottom: 40px;
}

.act4-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.act4-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.surface-card {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,248,246,0.9));
  border: 1px solid rgba(18,25,21,0.1);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(19, 26, 22, 0.05);
}

.surface-card-primary {
  min-height: 100%;
}

.surface-card-support {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(242,245,242,0.82));
  gap: 10px;
}

.surface-card h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(26px, 2.3vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-transform: lowercase;
}

.surface-card p:last-of-type {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

.proof-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--color-muted);
  margin: 0;
}

.surface-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.surface-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-ink);
}

.surface-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: rgba(18,25,21,0.26);
}

.evidence {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,248,0.92));
  border: 1px solid rgba(18,25,21,0.1);
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(19, 26, 22, 0.06);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.evidence-primary {
  min-height: 100%;
}

.evidence-support {
  background: rgba(255,255,255,0.8);
}

.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18,25,21,0.08);
}

.evidence-kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--color-muted);
  margin: 0;
}

.evidence-tag {
  font-size: 12px;
  color: var(--color-muted);
  margin: 0;
}

/* Receipt evidence */
.receipt-ledger { display: flex; flex-direction: column; gap: 8px; }
.receipt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 88px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(18,25,21,0.07);
  background: #fff;
}
.receipt-person { margin: 0 0 2px; font-size: 13px; font-weight: 600; }
.receipt-meta   { margin: 0; font-family: var(--font-mono); font-size: 9px; color: var(--color-muted); line-height: 1.45; }
.meter { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.meter-track { height: 3px; border-radius: 999px; background: rgba(18,25,21,0.1); overflow: hidden; }
.meter-fill { height: 100%; border-radius: inherit; background: var(--success); transform-origin: left; }
.meter-fill.orange { background: var(--color-orange); }
.meter-fill.muted  { background: #B8C5BC; }
.meter-value { font-family: var(--font-mono); font-size: 9px; color: var(--color-muted); }
.receipt-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: #EDF5EF;
  color: var(--success);
  white-space: nowrap;
}
.receipt-badge.orange { background: #FFF0E8; color: var(--color-orange); }
.receipt-badge.muted  { background: #EFF1F0; color: #97A49B; }
.receipt-terminal {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #131A16;
  color: #E3EDE6;
}
.terminal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A6B5E;
  margin: 0 0 8px;
}
.terminal-event { font-size: 12px; margin: 0; line-height: 1.45; }

/* Release page evidence */
.release-card {
  padding: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7faf7, #edf3ee);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 28px rgba(19, 26, 22, 0.08);
  overflow: hidden;
}
.release-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff, #fbfcfb);
}
.release-card-shell { padding: 14px; }
.release-builder-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: stretch;
}
.release-builder-stat {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(18,25,21,0.08);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 4px 14px rgba(19, 26, 22, 0.04);
  min-height: 0;
}
.release-builder-stat-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.release-builder-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.15;
  color: var(--color-ink);
}
.release-builder-stat-copy {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-muted);
}
.release-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.release-panel-kicker {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.release-url   { font-family: var(--font-mono); font-size: 10px; color: var(--color-muted); margin-bottom: 8px; }
.release-card-top .release-url { margin-bottom: 0; }
.release-stage { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(15,64,48,0.1); color: var(--color-forest); padding: 6px 10px; border-radius: 999px; margin-bottom: 0; white-space: nowrap; }
.release-title  { font-size: 26px; font-weight: 700; margin: 0 0 4px; line-height: 1.05; letter-spacing: -0.025em; text-transform: lowercase; }
.release-artist { font-size: 12px; color: var(--color-muted); margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.release-copy   { font-size: 14px; color: var(--color-muted); margin: 0 0 18px; line-height: 1.6; max-width: 32ch; }
.release-preview-phone {
  padding: 10px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(18,25,21,0.08);
  box-shadow: 0 6px 18px rgba(19, 26, 22, 0.06);
  min-width: 0;
}
.release-preview-screen {
  min-height: 100%;
  border-radius: 16px;
  overflow: hidden;
  padding: 14px;
  background:
    radial-gradient(circle at top, rgba(196, 94, 42, 0.12), transparent 38%),
    linear-gradient(180deg, #18231e 0%, #111813 100%);
  color: #f3f5f4;
}
.release-preview-cover {
  aspect-ratio: 1;
  border-radius: 12px;
  margin-bottom: 12px;
  background:
    linear-gradient(145deg, rgba(196,94,42,0.92), rgba(118,43,17,0.78)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.release-preview-screen .release-artist {
  color: rgba(243,245,244,0.62);
  margin-bottom: 8px;
}
.release-preview-screen .release-title {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
}
.release-preview-screen .release-copy {
  color: rgba(243,245,244,0.72);
  font-size: 12px;
  margin-bottom: 12px;
}
.release-metric {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(18,25,21,0.08);
  background: rgba(255,255,255,0.76);
}
.release-preview-screen .release-metric {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
}
.release-preview-screen .release-metric-label {
  color: rgba(243,245,244,0.58);
}
.release-preview-screen .release-metric-value {
  color: #fff;
}
.release-metric-label { font-size: 11px; color: var(--color-muted); margin: 0; }
.release-metric-value { font-family: var(--font-mono); font-size: 32px; font-weight: 500; margin: 0; color: var(--color-ink); }
/* Promo workspace evidence */
.promo-workspace {
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #f7faf7, #edf3ee);
  box-shadow: 0 10px 28px rgba(19, 26, 22, 0.08);
  overflow: hidden;
}

.promo-workspace-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff, #fbfcfb);
}

.promo-workspace-kicker {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.promo-workspace-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-ink);
  font-weight: 700;
}

.promo-workspace-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,25,21,0.08);
  background: #fff;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(245,247,245,0.72);
  text-align: center;
}

.promo-stat {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(18,25,21,0.08);
  background: rgba(255,255,255,0.82);
  text-align: center;
}

.promo-stat-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.promo-stat strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-ink);
}

.promo-workspace-body {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 0;
}

.promo-sidebar {
  padding: 16px;
  background: rgba(245,247,245,0.78);
  border-right: 1px solid var(--color-border);
  display: grid;
  gap: 10px;
  align-content: start;
  overflow: visible;
}

.promo-sidebar-item {
  min-height: 0;
}

.promo-sidebar-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--color-ink);
}

.promo-sidebar-item span {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.4;
}

.promo-sidebar-item.is-active {
  border-color: color-mix(in srgb, var(--color-orange) 28%, var(--color-border) 72%);
  background: linear-gradient(180deg, #fff, rgba(255, 248, 243, 0.92));
}

.promo-detail {
  padding: 14px;
}

.promo-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 0 0 12px;
}

.promo-detail-kicker {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.promo-detail-head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: none;
}

.promo-detail-sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--color-muted);
}

.promo-activity {
  display: grid;
  gap: 8px;
}

.promo-activity-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.promo-activity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(18,25,21,0.07);
  background: #fff;
}

.promo-activity-row .meter {
  min-width: 120px;
}

.promo-detail .receipt-terminal {
  margin: 12px 0 0;
}

/* Fan email evidence */
.email-capture-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(18,25,21,0.08);
  background: linear-gradient(180deg, rgba(255,248,243,0.95), rgba(246,242,238,0.86));
  box-shadow: 0 10px 24px rgba(19, 26, 22, 0.05);
}

.email-capture-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.email-capture-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.email-capture-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.email-capture-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15,64,48,0.08);
  color: var(--color-forest);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.email-capture-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.email-capture-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(18,25,21,0.08);
  font-size: 13px;
  color: var(--color-muted);
}

.email-capture-list strong {
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-size: 12px;
}

.email-capture-note {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Link rot evidence */
.linkrot-panel { padding: 12px 0 4px; }
.linkrot-summary { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.linkrot-chip { font-family: var(--font-mono); font-size: 11px; color: var(--color-muted); background: rgba(18,25,21,0.05); border-radius: 999px; padding: 4px 10px; }
.scan-board { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, #18211d, #111813); padding: 12px 0; margin-bottom: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 24px rgba(19, 26, 22, 0.14); }
.scan-list { list-style: none; padding: 0; margin: 0; }
.scan-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 14px; font-size: 12px; color: #A8C4B0; }
.scan-status { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; }
.scan-status.redirect { color: #F0A060; }
.scan-status.broken   { color: #E05050; }
.scan-status.tracked  { color: #F0A060; }
.scan-status.live     { color: #50A070; }
.linkrot-note { font-size: 12px; color: var(--color-muted); line-height: 1.6; margin: 0; }

/* ============================================================
   MANAGER HANDOFF (Module C)
   ============================================================ */
.manager-handoff {
  padding: 64px 0;
  color: var(--color-ink);
}

.manager-block {
  border: 1px solid rgba(18,25,21,0.1);
  border-radius: 10px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.6);
}

.manager-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 8px;
}

.manager-copy {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--color-ink);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   ACT 5 -- THE ASK
   ============================================================ */
.act5 { padding: 120px 0; color: var(--color-ink); }

.act5-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.act5-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0 0 32px;
}

.act5-echo {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-forest);
  margin: 0 0 32px;
  font-weight: 800;
  font-style: italic;
}

.cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--color-orange);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover {
  background: var(--color-orange-hover);
  color: white;
}

.btn-secondary-outline {
  background: transparent;
  color: var(--color-muted);
  border: 1px solid rgba(18,25,21,0.15);
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-secondary-outline:hover {
  border-color: var(--color-muted);
  color: var(--color-ink);
}

.pricing-link {
  font-size: 14px;
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-link:hover {
  color: var(--color-orange);
}

.act5-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.75;
  border: 1px solid rgba(18,25,21,0.1);
  border-radius: 6px;
  padding: 20px;
  margin-top: 24px;
}

/* ============================================================
   data-anim: JS hides, reveals on scroll
   ============================================================ */
html.js [data-anim] { opacity: 0; transform: translateY(28px); }

/* ============================================================
   SCROLL HINT
   ============================================================ */
.scroll-hint {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 3px;
  height: 72px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.6s ease;
  pointer-events: none;
  background: rgba(138, 176, 160, 0.3);
  box-shadow: 0 0 18px rgba(138, 176, 160, 0.12);
}
.scroll-hint.is-visible { opacity: 1; }
.scroll-hint.is-hidden  { opacity: 0; }
.scroll-hint.hint-light::after { background: linear-gradient(to bottom, transparent, #3A5040 50%, transparent); }
.scroll-hint.hint-light { background: rgba(58, 80, 64, 0.2); }
.scroll-hint.hint-strong {
  background: rgba(168, 196, 176, 0.38);
  transform: translateX(-50%) scaleY(1.04);
}

.scroll-hint::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background: linear-gradient(to bottom, transparent, #CFE2D8 50%, transparent);
  animation: scroll-travel 1.7s ease-in-out infinite;
}

@keyframes scroll-travel {
  0%   { transform: translateY(-150%); }
  100% { transform: translateY(400%); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .wrap-wide,
  .wrap-narrow { padding: 0 20px; }
  .story-shell .wrap { padding: 0 24px; }

  .act4 { padding: min(14vh, 120px) 0 80px; }
  .act5 { padding: 80px 0; }
  .manager-handoff { padding: 48px 0; }

  .act4-core-grid,
  .act4-support-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .receipt-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .promo-stats {
    grid-template-columns: 1fr;
  }

  .release-card-body,
  .promo-workspace-body {
    grid-template-columns: 1fr;
  }

  .promo-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .email-capture-top {
    flex-direction: column;
  }

  .manager-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .surface-card,
  .evidence {
    padding: 18px;
  }

  .email-capture-panel {
    padding: 16px;
  }

  .release-card-top,
  .promo-workspace-top,
  .promo-stats {
    padding-left: 14px;
    padding-right: 14px;
  }

  .release-card-shell,
  .promo-detail,
  .promo-sidebar {
    padding: 12px;
  }

  .release-card-body,
  .promo-detail .receipt-terminal {
    padding-left: 14px;
    padding-right: 14px;
  }

  .act1-stage { gap: 24px; }

  .beat { padding: 24px 0 48px; }
}
