/* ============================================================================
   story-telling-header — shared hero + base styles.
   Palette + fonts are injected by scripts/build.py from story.config.json via the
   {{PLACEHOLDER}} tokens below. Everything here is skin-agnostic.
   ============================================================================ */
:root {
  --ink:          #0A0A0A;          /* dark hero/background */
  --ink-2:        #121214;         /* slightly lighter dark (stat band cells) */
  --gold:         #C9A227;         /* primary accent */
  --gold-bright:  #D9B94F;  /* headline accent on dark */
  --cream:        #F6F5F2;        /* light text on dark */
  --paper:        #fffdf8;          /* light document background */
  --body-ink:     #2b1f10;          /* body text on light */
  --body-soft:    #6a583d;
  --line:         rgba(120,80,20,.15);
  --radius:       16px;
  --shadow:       0 18px 50px rgba(30,20,6,.16);
  --serif:   "Fraunces", Georgia, "Times New Roman", serif;
  --sans:    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--body-ink); background: var(--paper);
  line-height: 1.65; font-size: 1.0625rem; }
a { color: var(--gold); }
img { max-width: 100%; display: block; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 70; background: rgba(20,12,4,.82);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(246,196,83,.18); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 14px 22px; display: flex;
  align-items: center; justify-content: space-between; gap: 18px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--cream);
  text-decoration: none; letter-spacing: .01em; }
.brand-mark { color: var(--gold-bright); }
.main-nav { display: flex; gap: 20px; }
.main-nav a { color: rgba(253,247,236,.82); text-decoration: none; font-size: .95rem; }
.main-nav a:hover { color: var(--gold-bright); }
.header-cta { background: var(--gold); color: var(--ink); padding: 9px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 13px 24px;
  border-radius: 999px; font-size: .98rem; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.10); }

/* ============ SCROLL-SCRUB HERO ============ */
#ascent { height: 108vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--ink); }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.stage.video-on video { opacity: 1; }              /* scroll-scrubbed camera ascent */
.stage.video-on .scene { opacity: 0 !important; }  /* video supersedes the stills fallback */
.scene { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
.scene:first-of-type { opacity: 1; }               /* first paint before JS runs */
.scene img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.12); }
.veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,12,4,.58) 0%, rgba(20,12,4,.22) 42%, rgba(20,12,4,.64) 100%); }
.vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(12,7,2,.66) 100%); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }

.beat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  opacity: 0; pointer-events: none; will-change: opacity, transform; padding: 0 8vw; }
.beat[data-beat="0"] { opacity: 1; }               /* first paint before JS runs */
.beat-tag { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 22px; }
.beat-tag span { border: 1px solid rgba(246,196,83,.45); padding: 6px 12px; border-radius: 3px; background: rgba(27,18,6,.35); backdrop-filter: blur(4px); }
.beat h1, .beat h2 { font-family: var(--serif); color: #fff; line-height: 1.12; text-shadow: 0 2px 28px rgba(6,4,2,.55); margin: 0; }
.beat h1 { font-weight: 900; font-size: clamp(30px, 5.2vw, 62px); max-width: 16ch; }
.beat h2 { font-weight: 700; font-size: clamp(28px, 4.6vw, 54px); max-width: 17ch; }
.beat .gold { color: var(--gold-bright); }
.beat .sub { margin-top: 20px; max-width: 52ch; font-size: clamp(15px, 1.4vw, 19px); font-weight: 400; line-height: 1.62; color: rgba(253,247,236,.9); }
.beat-center { align-items: center; text-align: center; }
.beat-center .sub { margin-left: auto; margin-right: auto; }
.hero-ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-hint { margin-top: 34px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(253,247,236,.62); }

.hero-rail { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.hero-rail.show { opacity: 1; }
.hero-rail i { width: 6px; height: 6px; border-radius: 50%; background: rgba(253,247,236,.35); transition: background .3s, height .3s; display: block; }
.hero-rail i.on { background: var(--gold-bright); height: 22px; border-radius: 3px; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--ink); color: var(--cream); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stat-band .stat { padding: 26px 16px; text-align: center; background: var(--ink-2); }
.stat b { display: block; font-family: var(--serif); font-weight: 900; font-size: 1.9rem; color: var(--gold-bright); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .82rem; color: #e2d1aa; }

/* ---------- Document body ---------- */
main { max-width: 860px; margin: 0 auto; padding: 48px 22px; }
.sec { margin: 40px 0; }
.sec-label { font-family: var(--sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
.sec-label b { font-weight: 700; color: rgba(43,31,16,.35); }
.sec h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; margin: 0 0 16px; line-height: 1.15; }
.sec p { margin: 0 0 16px; }
.sec ul { margin: 0 0 18px; padding-left: 22px; }
.sec li { margin: 7px 0; }

.answer-box { background: linear-gradient(135deg,#fff8ea 0%,#fdefce 100%); border: 1px solid rgba(224,165,38,.4);
  border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; margin: 8px 0 34px; box-shadow: var(--shadow); }
.answer-label { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--gold); margin: 0 0 8px; }
.answer-q { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 10px; }
.answer-a { font-size: 1.1rem; margin: 0; }

/* proposal-specific */
.deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.d-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 18px 20px; border-radius: 10px; }
.d-check { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgba(224,165,38,.12); border: 1px solid rgba(224,165,38,.55); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; }
.d-item h4 { margin: 0 0 4px; font-size: 1rem; }
.d-item p { margin: 0; font-size: .9rem; color: var(--body-soft); }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: relative; }
.price-card.best { border: 1.5px solid var(--gold); box-shadow: 0 16px 40px rgba(224,165,38,.14); }
.price-card .amt { font-family: var(--serif); font-size: 2.4rem; font-weight: 900; }
.price-card ul { list-style: none; padding: 16px 0 0; margin: 0; }
.price-card li { padding: 6px 0 6px 24px; position: relative; }
.price-card li:before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { margin: 52px auto; max-width: 900px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #0A0A0A 0%, #C9A227 130%); border-radius: 22px; padding: 44px 30px; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem,3vw,2.1rem); margin: 0 0 12px; }
.cta-band p { color: #fbefd7; max-width: 54ch; margin: 0 auto 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9d9b6; margin-top: 64px; text-align: center; padding: 40px 22px; }
.site-footer a { color: var(--gold-bright); }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2, 1fr); } .deliv, .price-cards { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .main-nav { display: none; } .beat { padding: 0 7vw; } .hero-rail { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  #ascent { height: auto; }
  .stage { position: relative; height: 100vh; }
  .stage video { display: none; }
  .scene { opacity: 0 !important; }
  .scene:first-of-type { opacity: 1 !important; }
  .scene img { transform: none !important; }
  .beat { opacity: 0 !important; }
  .beat[data-beat="0"] { opacity: 1 !important; }
  .stage > .beat:not([data-beat="0"]) { display: none; }
}

/* ===== extended proposal components (metrics+, code proof, compare, perf,
   film, deliverable groups, studio, alt offer, guarantees, hero skip) ===== */
.hero-skip { position: absolute; right: 26px; bottom: 22px; z-index: 60;
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.32); border-radius: 100px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.hero-skip:hover { border-color: var(--gold); color: var(--gold-bright); }

.brand img.lk-logo { height: 20px; vertical-align: -5px; }
.brand .lk-x { color: var(--gold); margin: 0 8px; font-weight: 400; }

.m-delta { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 500;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 100px;
  padding: 4px 12px; margin-top: 12px; }
.m-why { font-size: 14px; line-height: 1.6; color: var(--body-soft); margin-top: 12px; }

.code-proof { margin: clamp(40px, 6vh, 72px) 0 0; }
.cp-counters { display: flex; gap: clamp(28px, 4vw, 64px); flex-wrap: wrap; margin-bottom: 26px; }
.cp-count b { display: block; font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 4vw, 56px); color: var(--gold); line-height: 1; }
.cp-count span { display: block; font-size: 13px; color: var(--body-soft); margin-top: 6px; max-width: 22ch; }
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 34px); align-items: stretch; }
.cp-panel { margin: 0; display: flex; flex-direction: column; }
.cp-panel figcaption { font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--body-soft); margin-bottom: 10px; }
.cp-code { flex: 1; margin: 0; background: rgba(0,0,0,.35); border: 1px solid var(--line);
  border-radius: 10px; padding: 20px 22px; font-size: 12.5px; line-height: 1.75;
  overflow-x: auto; white-space: pre-wrap; word-break: break-word; color: var(--body-soft); min-height: 220px; }
.cp-code mark { background: none; color: var(--gold-bright); font-weight: 600; }
.cp-empty { color: var(--body-soft); opacity: .85; }
.cp-note { font-size: 13px; line-height: 1.6; color: var(--body-soft); margin-top: 10px; max-width: 52ch; }
.hash-proof { margin-top: 26px; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; }
.hash-row { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; }
.hash-row:last-of-type { border-bottom: 0; }
.hash-row span { color: var(--body-ink); }
.hash-row code { color: var(--gold); font-size: 12px; letter-spacing: .02em; }

.compare { margin: clamp(40px, 6vh, 72px) 0 0; display: grid;
  grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 34px); }
.cmp-pane { margin: 0; display: flex; flex-direction: column; }
.cmp-pane figcaption { font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 10px; color: var(--body-soft); }
.cmp-before figcaption { color: #b0806a; }
.cmp-after figcaption { color: var(--gold); }
.cmp-shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  filter: brightness(.94); }
.cmp-shot img { width: 100%; display: block; }
.cmp-link { align-self: flex-start; margin-top: 12px; font-size: 13px; color: var(--gold);
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.cmp-link:hover { color: var(--gold-bright); }
.cmp-cap { grid-column: 1 / -1; font-size: 13px; color: var(--body-soft); margin: 4px 0 0; }

.perf { margin: clamp(40px, 6vh, 72px) 0 0; }
.pb-chart { position: relative; padding: 8px 0 4px; }
.pb-thr { position: absolute; top: 0; bottom: 22px; width: 0;
  border-left: 1px dashed var(--gold); opacity: .8; }
.pb-thr span { position: absolute; top: -4px; left: 8px; font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.pb-row { display: grid; grid-template-columns: 22% 1fr; align-items: center;
  gap: 0; margin: 18px 0; }
.pb-label { font-size: 13px; color: var(--body-soft); padding-right: 14px; }
.pb-track { position: relative; display: flex; align-items: center; gap: 12px; }
.pb-bar { height: 30px; border-radius: 4px; background: var(--body-soft); opacity: .55; min-width: 6px; }
.pb-row.pb-good .pb-bar { background: var(--gold); opacity: 1; }
.pb-val { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--body-ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-row.pb-good .pb-val { color: var(--gold); }
.pb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pb-stat .pbs-label { display: block; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--body-soft); margin-bottom: 6px; }
.pb-stat b { display: block; font-weight: 500; font-size: 16px; color: var(--body-ink); }
.pb-stat b i { font-style: normal; color: var(--gold); }
.pbs-delta { display: inline-block; font-size: 12px; color: var(--gold); margin-top: 5px; }
.pb-note { font-size: 13px; line-height: 1.6; color: var(--body-soft); margin-top: 22px; max-width: 60ch; }

.film { margin: clamp(34px, 5vh, 60px) 0 0; }
.film video { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--line);
  background: #000; aspect-ratio: 16 / 9; }
.film-meta { display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.film-meta p { font-size: 13.5px; color: var(--body-soft); margin: 0; max-width: 58ch; }

.deliv-group { margin-top: clamp(30px, 4vh, 46px); }
.dg-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dg-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.dg-sub { font-size: 13px; color: var(--body-soft); }

.p-note { font-size: 13px; line-height: 1.55; color: var(--gold); margin-top: 12px; }

.alt-offer { margin-top: clamp(30px, 4vh, 46px); border: 1px dashed var(--line);
  border-radius: 12px; padding: 24px 28px; max-width: 720px; }
.ao-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.alt-offer h4 { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--body-ink); }
.ao-amt { font-family: var(--serif); font-weight: 300; font-size: 26px; color: var(--gold); }
.alt-offer p { font-size: 14px; line-height: 1.65; color: var(--body-soft); margin: 10px 0 0; }
.ao-foot { font-size: 12.5px; color: var(--gold); }

.guar { margin-top: clamp(30px, 4vh, 46px); }
.g-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; }
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 34px); }
.g-item { border-top: 1px solid var(--gold); padding-top: 16px; }
.g-item h4 { margin: 0 0 8px; font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--body-ink); }
.g-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body-soft); }

.studio { display: grid; grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(24px, 3.4vw, 48px); align-items: center; margin-top: clamp(20px, 3vh, 34px); }
.studio-photo { width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }
.studio-copy { font-size: 15.5px; line-height: 1.7; }
.studio-sig { margin: 18px 0 20px; }
.studio-sig b { display: block; font-weight: 600; font-size: 15px; color: var(--body-ink); }
.studio-sig span { font-size: 13px; color: var(--body-soft); }

@media (max-width: 760px) {
  .cp-grid, .compare, .g-grid { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio-photo { max-width: 300px; }
  .pb-row { grid-template-columns: 1fr; gap: 6px; }
  .pb-thr { display: none; }
  .film-meta { flex-direction: column; align-items: flex-start; }
}

/* Optional trailing button on any section (config: section.link) */
.sec-link{ margin-top: clamp(22px, 3vh, 34px); }


/* ---- custom_css: brand.css ---- */
/* ============================================================================
   SPRNTRL Visuals — brand override sheet
   Aligns the story-telling-header defaults to sprntrlvisuals-site:
     · Fraunces 300 (never bold) for display, Space Grotesk for body,
       JetBrains Mono for eyebrows/labels with wide tracking
     · site tokens: line #26262b, fog #8d8d96, pale #e9e7e2
     · "Exaggerated Minimalism": larger display type, far more whitespace,
       fewer words carrying more weight
   ==========================================================================*/

:root{
  --line: #26262b;
  --fog:  #8d8d96;
  --pale: #e9e7e2;

  /* Dark document flip: the base sheet is light-paper; this proposal runs
     ink-dark end to end (matches the hero, the stat band and the studio site).
     Contrast measured: --pale on --paper 15.1:1, --fog 5.9:1, gold 7.6:1. */
  --paper:     #0E0E11;
  --body-ink:  #F1EFEA;
  --body-soft: #A7A49B;
  --shadow:    0 18px 50px rgba(0,0,0,.45);
}

/* light card surfaces from the base sheet -> dark panels */
.d-item, .price-card{ background: #141417; border-color: var(--line); }
.answer-box{ background: #141417; border-color: rgba(201,162,39,.35); }

/* CTA band: stop the gold gradient far darker so copy keeps contrast */
.cta-band{ background: linear-gradient(135deg, #0A0A0A 0%, #57430F 170%) !important; }

/* ---------- masthead: match the site wordmark, not a bold serif ---------- */
.brand{
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: .30em !important;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.brand img.lk-mono{ height: 32px; margin-right: 6px; }
.brand img.lk-logo{ height: 26px; vertical-align: middle; margin-left: 4px; }
.brand-mark{ opacity:.9; }
.site-header{ border-bottom: 1px solid var(--line); }

/* ---------- eyebrows / labels: mono, wide tracking (site pattern) -------- */
.beat-tag,
.sec-label,
.p-name,
.answer-label,
.stat-band .stat span{
  font-family: var(--mono, 'JetBrains Mono', monospace) !important;
  font-weight: 400 !important;
  letter-spacing: .34em !important;
  text-transform: uppercase;
  font-size: 10.5px !important;
}
.beat-tag{ letter-spacing:.42em !important; }
.sec-label b{ color: var(--gold); font-weight:400; }

/* ---------- display type: Fraunces LIGHT, tight tracking ---------------- */
.beat h1, .beat h2,
.sec h2,
.cta-band h2,
.price-card .amt,
.answer-q{
  font-family: var(--serif) !important;
  font-weight: 300 !important;
  letter-spacing: -.02em !important;
}
.beat h1, .beat h2{
  font-size: clamp(44px, 7.4vw, 104px) !important;
  line-height: 1.0 !important;
  max-width: 15ch;
}
.beat .gold{ font-style: italic; color: var(--gold-bright); }
.beat .sub{
  font-family: var(--sans);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  color: var(--pale);
}

/* ---------- sections: more air, shorter measure ------------------------- */
.sec{ padding-block: clamp(72px, 11vh, 150px) !important; }
.sec h2{
  font-size: clamp(30px, 4.4vw, 62px) !important;
  line-height: 1.08 !important;
  max-width: 22ch;
  margin-bottom: .8em;
}
.sec p{
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 62ch;      /* 60-75 char measure per UX guidance */
  color: var(--pale);
}
.sec ul{ max-width: 62ch; }
.sec li{ line-height: 1.65; }

/* ---------- METRICS: the issue -> fix cards (custom section type) ------- */
/* 2x2 on desktop: four cards at auto-fit always orphaned the fourth        */
.metrics{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin: clamp(34px, 5vh, 60px) 0 clamp(18px, 2vh, 28px);
}
@media (max-width: 640px){ .metrics{ grid-template-columns: 1fr; } }
.m-card{
  border-top: 1px solid var(--gold);
  padding-top: 20px;
}
.m-value{
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;   /* stops width jitter across cards */
}
.m-label{
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--pale);
  margin-top: 14px;
  max-width: 30ch;
}
.m-fix{
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fog);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: 32ch;
}
.m-fix span{
  display: block;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}

/* ---------- deliverables: quieter, tighter ------------------------------ */
.deliv{ gap: 14px 32px; }
.d-item h4{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
}
.d-item p{ font-size: 13.5px; color: var(--fog); line-height:1.5; }
.d-check{ color: var(--gold); opacity:.85; }

/* ---------- pricing ----------------------------------------------------- */
.price-card{ border-color: var(--line); }
.price-card.best{ border-color: var(--gold); }
.price-card .amt{ font-size: clamp(34px, 4vw, 52px) !important; }
.price-card li{ font-size: 14px; line-height:1.55; color: var(--pale); }

/* ---------- buttons: pill, restrained ---------------------------------- */
.btn{ font-family: var(--sans); font-weight: 500; letter-spacing: .01em; }

/* ---------- accessibility + motion ------------------------------------- */
@media (prefers-reduced-motion: reduce){
  .rv, .rv.in{ opacity:1 !important; transform:none !important; transition:none !important; }
}
:where(a, button, .btn):focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* mono fallback if the template never defined --mono */
:root{ --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace; }

/* ---------- mobile legibility fixes ------------------------------------- */
@media (max-width: 640px){
  /* the prepared-for pill: tracking made it wider than the viewport */
  .beat-tag{ letter-spacing: .18em !important; font-size: 9.5px !important; }
  /* header: the client logo collides with the CTA at this width */
  .brand .lk-logo, .brand .lk-x{ display: none; }
  /* stat-band labels are sentences; wide-tracked mono caps mangles them */
  .stat-band .stat span{
    letter-spacing: .06em !important;
    text-transform: none;
    font-size: 12px !important;
    font-family: var(--sans) !important;
  }
}

/* new-component brand alignment */
.m-why, .cp-note, .pb-note, .cmp-cap, .alt-offer p, .g-item p{ color: var(--fog); }
.pb-stat b{ font-family: var(--sans); }
.cp-code{ font-family: var(--mono); }
.dg-label{ font-family: var(--mono); font-weight: 400; letter-spacing: .28em; }
.g-label{ font-family: var(--mono); font-weight: 400; letter-spacing: .28em; }
.hash-row span, .hash-row code{ font-family: var(--mono); }
.studio-copy{ color: var(--pale); }
.film video{ border-radius: 10px; }

/* ============================================================================
   ROSTER — ranked opportunity map (binder-only component)
   Grouped by recommended action; every row carries score, date, buyer and
   source confidence so the list stays auditable at a glance.
   ==========================================================================*/

.roster{ margin-top: clamp(34px, 5vh, 58px); }

.rgroup{ margin-bottom: clamp(44px, 6vh, 78px); }
.rg-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rg-label{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
}
.rg-count{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--fog);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.rg-blurb{
  font-size: 14.5px !important;
  color: var(--fog) !important;
  margin: 14px 0 4px !important;
  max-width: 54ch !important;
}

/* --- rows --- */
.rrow{
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(38,38,43,.7);
}
.rrow:last-child{ border-bottom: 0; }

.rr-score{
  font-family: var(--serif);
  font-weight: 300;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.rr-main h4{
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0;
  margin: 0 0 6px;
  color: var(--body-ink);
  line-height: 1.3;
}
.rr-main h4 a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,162,39,.4);
  padding-bottom: 1px;
}
.rr-main h4 a:hover{ border-bottom-color: var(--gold); color: var(--gold-bright); }

.rr-meta{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--fog) !important;
  margin: 0 !important;
  max-width: none !important;
}
.rr-note{
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--body-soft) !important;
  margin: 10px 0 0 !important;
  max-width: 60ch !important;
}

/* the one thing on the row that should stop the eye */
.rr-flag{
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(201,162,39,.07);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--pale);
  max-width: 58ch;
}

/* --- tags --- */
.rr-tags{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-top: 4px;
}
.rr-buyer, .rr-conf{
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}
.rr-buyer{ color: var(--pale); }
.rr-conf{ color: var(--fog); }
.rr-conf.c-confirmed{ color: #7FB77E; border-color: rgba(127,183,126,.4); }
.rr-conf.c-probable{ color: #C9A227; border-color: rgba(201,162,39,.4); }

/* --- responsive --- */
@media (max-width: 720px){
  .rrow{
    grid-template-columns: 46px 1fr;
    gap: 14px;
    row-gap: 12px;
  }
  .rr-score{ font-size: 26px; }
  .rr-tags{
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 0;
  }
  .rr-note{ font-size: 13.5px !important; }
}
