/* ==========================================================================
   TypeUX — site styles
   Layout idea: a screenplay on a stage. Paper sections are for reading and
   scanning; dark "stage" sections are where the characters' stories play out;
   highlighter yellow marks the one line that matters, the way actors mark
   their own lines in a script.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("fonts/courier-prime-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("fonts/courier-prime-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f5f0;
  --paper-2: #e9e9e1;
  --ink: #131313;
  --ink-2: #34342f;
  --muted: #5e5e57;
  --stage: #0f0f10;
  --stage-2: #1b1b1d;
  --stage-text: #ecebe4;
  --stage-muted: #a3a29a;
  --highlight: #ffd43b;
  --cue: #e8492e;
  --cue-ink: #b5301a;
  --rule: rgba(19, 19, 19, 0.16);
  --rule-stage: rgba(236, 235, 228, 0.16);

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-script: "Courier Prime", "Courier New", Courier, monospace;

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.6vw, 5.6rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.02; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 820; font-stretch: 112%; letter-spacing: -0.03em; line-height: 0.95; }
h2 { font-size: var(--step-3); font-weight: 780; font-stretch: 108%; }
h3 { font-size: var(--step-2); font-weight: 700; font-stretch: 100%; line-height: 1.12; }
h4 { font-size: var(--step-1); font-weight: 700; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--highlight); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 64ch; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section + .section--rule { border-top: 1px solid var(--rule); }

/* ---------- Highlighter --------------------------------------------------- */
mark, .hl {
  color: inherit;
  background-image: linear-gradient(104deg, transparent 0.4em, var(--highlight) 0.4em, var(--highlight) calc(100% - 0.2em), transparent calc(100% - 0.2em));
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 78%;
  background-position: 0 70%;
  padding-inline: 0.12em;
  margin-inline: -0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-sweep { animation: sweep 1.1s cubic-bezier(.65,0,.35,1) 0.35s both; }
@keyframes sweep { from { background-size: 0% 78%; } to { background-size: 100% 78%; } }
.stage mark, .stage .hl { color: var(--ink); background-image: none; background-color: var(--highlight); padding: 0.04em 0.18em; margin: 0; }

/* ---------- Labels (screenplay sluglines) --------------------------------- */
.slug {
  font-family: var(--font-script);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.slug::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.stage .slug { color: var(--stage-muted); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.stage .lede { color: var(--stage-text); }
.small { font-size: var(--step--1); color: var(--muted); }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; font-stretch: 104%;
  letter-spacing: 0.005em; text-decoration: none; line-height: 1.1;
  border: 2px solid var(--b); border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  position: relative; isolation: isolate; overflow: hidden; cursor: pointer;
  transition: color .25s ease;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--highlight); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.65,0,.35,1); z-index: -1; }
.btn:hover { color: var(--ink); text-decoration: none; }
.btn:hover::after { transform: scaleX(1); }
.btn--hl { background: var(--highlight); color: var(--ink); border-color: var(--highlight); }
.btn--hl::after { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.stage .btn--ghost { color: var(--stage-text); --b: var(--stage-text); }
.stage .btn--ghost:hover { color: var(--ink); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.text-link:hover { background: var(--highlight); }
.stage .text-link { border-color: var(--highlight); color: var(--stage-text); }
.stage .text-link:hover { color: var(--ink); }

/* ---------- Header --------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 245, 240, 0.93); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { font-family: var(--font-display); font-weight: 860; font-stretch: 118%; font-size: 1.5rem; letter-spacing: -0.035em; text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline; }
.logo span { background: var(--highlight); padding: 0 0.1em 0.02em; margin-left: 0.04em; }
.logo .caret { width: 0.09em; height: 0.82em; background: var(--ink); margin-left: 0.07em; align-self: center; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a.nav-link, .nav button.nav-link { font: 600 0.97rem/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 12px 12px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a.nav-link:hover, .nav .has-menu:hover > .nav-link, .nav a[aria-current="page"] { background: var(--paper-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--highlight); }
.has-menu { position: relative; }
.submenu { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: grid; grid-template-columns: 1fr; padding: 10px 12px; text-decoration: none; border-radius: 2px; }
.submenu a:hover { background: var(--highlight); }
.submenu b { font-weight: 700; }
.submenu small { font-family: var(--font-script); font-size: 0.78rem; color: var(--muted); }
.submenu a:hover small { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 10px 16px; font-size: 0.93rem; margin-left: 8px; }
.menu-toggle { display: none; }

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; font: 700 0.95rem var(--font-body); color: var(--ink); cursor: pointer; }
  .menu-toggle .bars { width: 18px; height: 12px; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .menu-toggle .bars::before { top: 2px; }
  .menu-toggle .bars::after { top: 8px; }
  .menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 12px var(--gutter) 24px; display: none; flex-direction: column; align-items: stretch; max-height: calc(100dvh - 68px); overflow-y: auto; }
  .menu-open .nav { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-link, .nav button.nav-link { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--rule); border-radius: 0; width: 100%; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; background: transparent; }
  .submenu a { padding: 10px 8px; }
  .nav .btn { margin: 16px 0 0; width: 100%; }
}

/* ---------- Hero (home) --------------------------------------------------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 32px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-script); font-size: 0.86rem; color: var(--muted); }
.hero-meta span::before { content: "✓ "; color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Script page — the screenplay card */
.script {
  background: #fffffb;
  color: var(--ink);
  font-family: var(--font-script);
  font-size: clamp(0.84rem, 0.78rem + 0.3vw, 0.98rem);
  line-height: 1.5;
  padding: clamp(24px, 3.5vw, 44px) clamp(22px, 3.2vw, 44px);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 48px -24px rgba(19,19,19,.35), 10px 10px 0 -1px var(--paper-2), 10px 10px 0 0 var(--rule);
  transform: rotate(1.2deg);
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}
.script::before { content: attr(data-page); position: absolute; top: 14px; right: 18px; font-size: 0.78rem; color: var(--muted); }
.script p { margin: 0 0 1.1em; }
.script .trans { text-align: right; margin-bottom: 0; }
.script .sl { font-weight: 700; text-transform: uppercase; }
.script .char { margin: 0 0 0 38%; text-transform: uppercase; margin-bottom: 0; }
.script .paren { margin: 0 0 0 30%; margin-bottom: 0; color: var(--ink-2); }
.script .dia { margin: 0 12% 1.1em 18%; }
@media (max-width: 480px) { .script { transform: none; } .script .char { margin-left: 30%; } .script .paren { margin-left: 22%; } .script .dia { margin: 0 4% 1.1em 12%; } }

/* ---------- Logline strip ------------------------------------------------- */
.logline { border-block: 2px solid var(--ink); background: var(--paper); }
.logline .wrap { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding-block: 28px; align-items: baseline; }
.logline .slug { margin: 0; color: var(--ink); }
.logline p { margin: 0; font-size: var(--step-1); font-weight: 500; line-height: 1.45; max-width: 75ch; }
@media (max-width: 700px) { .logline .wrap { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Section heads ------------------------------------------------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { max-width: 18ch; }
.section-head p { margin: 0; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.stage .section-head p { color: var(--stage-muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Cast (dramatis personae) -------------------------------------- */
.cast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); }
.cast-card { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; position: relative; transition: background .25s ease; min-height: 100%; }
.cast-card:hover { background: #fffffb; }
.cast-top { display: flex; gap: 16px; align-items: center; }
.headshot {
  width: 64px; height: 64px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 850; font-stretch: 120%; font-size: 1.45rem; letter-spacing: -0.04em;
  color: var(--ink);
  background-color: var(--paper-2);
  background-image: radial-gradient(rgba(19,19,19,.22) 1px, transparent 1.3px);
  background-size: 6px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.headshot span { background: var(--paper-2); padding: 0 3px; line-height: 1.1; }
.headshot.long { font-size: 1.05rem; letter-spacing: -0.02em; }
.character .headshot.long { font-size: 1.6rem; }
.cast-name { font-family: var(--font-display); font-weight: 760; font-size: 1.3rem; line-height: 1.1; }
.cast-role { font-family: var(--font-script); font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.cast-line { font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 560; line-height: 1.35; margin: 0; flex: 1; }
.cast-line q { quotes: "“" "”"; }
.cast-line .ln { background-image: linear-gradient(104deg, transparent 0.3em, var(--highlight) 0.3em, var(--highlight) calc(100% - 0.15em), transparent calc(100% - 0.15em)); background-repeat: no-repeat; background-size: 0% 78%; background-position: 0 70%; transition: background-size .55s cubic-bezier(.65,0,.35,1); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cast-card:hover .ln, .cast-card:focus-visible .ln { background-size: 100% 78%; }
.cast-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--rule); font-size: 0.92rem; }
.villain-tag { font-family: var(--font-script); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cue-ink); }
.villain-tag::before { content: "vs. "; font-weight: 400; color: var(--muted); text-transform: none; }
.cast-go { font-weight: 700; white-space: nowrap; }
.cast-go::after { content: " →"; transition: margin .2s ease; }
.cast-card:hover .cast-go::after { margin-left: 4px; }
@media (max-width: 980px) { .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cast { grid-template-columns: 1fr; } }

/* ---------- Stage sections ------------------------------------------------ */
.stage {
  background-color: var(--stage);
  color: var(--stage-text);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.stage::before { /* spotlight */
  content: ""; position: absolute; z-index: -1; inset: -10% -10% auto auto; width: 75%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 212, 59, 0.13), rgba(255, 212, 59, 0.04) 55%, transparent 75%);
  pointer-events: none;
}
.stage::after { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage h2, .stage h3 { color: #fff; }
.stage a { color: var(--stage-text); }

/* Villain list */
.villains { list-style: none; border-top: 1px solid var(--rule-stage); }
.villain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) 210px; gap: clamp(14px, 3vw, 40px); align-items: baseline; padding-block: 26px; border-bottom: 1px solid var(--rule-stage); }
.villain h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-stretch: 116%; font-weight: 820; color: var(--cue); letter-spacing: -0.02em; }
.villain p { margin: 0; color: var(--stage-text); max-width: 58ch; }
.villain a { font-family: var(--font-script); font-size: 0.85rem; white-space: nowrap; text-decoration: none; border-bottom: 1px solid var(--highlight); justify-self: end; }
@media (max-width: 760px) { .villain a { justify-self: start; } }
.villain a:hover { background: var(--highlight); color: var(--ink); }
@media (max-width: 760px) { .villain { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Manifesto (no testimonials) ----------------------------------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.manifesto h2 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 4.4rem); font-stretch: 112%; font-weight: 840; letter-spacing: -0.03em; line-height: 0.98; }
.manifesto .strike { text-decoration: line-through; text-decoration-color: var(--cue); text-decoration-thickness: 0.09em; }
.reasons { list-style: none; counter-reset: r; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.reasons li::before { content: "0" counter(r); font-family: var(--font-script); font-weight: 700; color: var(--muted); padding-top: 3px; }
.reasons h3 { font-size: 1.2rem; margin-bottom: 6px; }
.reasons p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

/* ---------- Service index (rows) ------------------------------------------ */
.svc-list { list-style: none; border-top: 2px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.5fr) 150px; gap: clamp(14px, 2.5vw, 32px); align-items: start; padding: 28px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; position: relative; transition: background .2s ease; }
.svc-row:hover { background: #fffffb; }
.svc-num { font-family: var(--font-script); font-weight: 700; color: var(--muted); padding-top: 6px; }
.svc-row h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); font-stretch: 108%; }
.svc-row h3 small { display: block; font-family: var(--font-script); font-size: 0.8rem; font-weight: 400; color: var(--cue-ink); letter-spacing: 0.02em; margin-top: 8px; font-stretch: 100%; }
.svc-row p { margin: 0; color: var(--ink-2); }
.svc-price { text-align: right; font-family: var(--font-script); font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.svc-price b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-weight: 760; font-variant-numeric: tabular-nums; }
.svc-row:hover h3 span { background: var(--highlight); }
@media (max-width: 820px) {
  .svc-row { grid-template-columns: 40px minmax(0, 1fr); }
  .svc-row > p, .svc-price { grid-column: 2; }
  .svc-price { text-align: left; }
  .svc-price b { display: inline; margin-right: 6px; }
}

/* ---------- Acts ---------------------------------------------------------- */
.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.act { padding: 28px clamp(18px, 2.4vw, 32px) 32px 0; border-right: 1px solid var(--rule); }
.act + .act { padding-left: clamp(18px, 2.4vw, 32px); }
.act:last-child { border-right: 0; }
.act-num { font-family: var(--font-script); font-weight: 700; font-size: clamp(2.4rem, 1.9rem + 2vw, 3.4rem); line-height: 1; letter-spacing: 0.02em; color: var(--highlight); }
.act-num small { font-size: 0.42em; letter-spacing: 0.08em; margin-right: 0.35em; vertical-align: 0.5em; color: inherit; }
.section:not(.stage) .act-num { color: var(--ink); }
.act-when { font-family: var(--font-script); font-size: 0.85rem; color: var(--muted); margin: 10px 0 14px; display: block; }
.act h3 { font-size: 1.35rem; margin-bottom: 10px; }
.act ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.act li { padding-left: 20px; position: relative; color: var(--ink-2); font-size: 0.98rem; }
.act li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--ink); }
.stage .acts { border-color: var(--stage-text); }
.stage .act { border-color: var(--rule-stage); }
.stage .act-when { color: var(--stage-muted); }
.stage .act li { color: var(--stage-text); }
.stage .act li::before { background: var(--highlight); }
@media (max-width: 860px) { .acts { grid-template-columns: 1fr; } .act, .act + .act { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule); } .stage .act { border-bottom-color: var(--rule-stage); } }

.rhythm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.rhythm div { border: 1px solid var(--rule); padding: 18px 20px; border-radius: var(--radius); background: #fffffb; }
.rhythm b { display: block; font-family: var(--font-script); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 6px; }
.rhythm span { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 760px) { .rhythm { grid-template-columns: 1fr; } }

/* ---------- Tiers --------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; background: #fffffb; position: relative; }
.tier--feature { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--highlight); }
.tier--feature .tier-sub, .tier--feature li { color: #d8d7cf; }
.tier--feature li::before { color: var(--highlight); }
.tier-badge { position: absolute; top: -13px; left: 20px; background: var(--highlight); color: var(--ink); font-family: var(--font-script); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border: 1.5px solid var(--ink); }
.tier h3 { font-size: 1.6rem; font-stretch: 112%; }
.tier-sub { font-family: var(--font-script); font-size: 0.86rem; color: var(--muted); margin: 0; }
.tier-price { font-family: var(--font-display); font-weight: 820; font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.9rem); font-stretch: 110%; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; margin: 6px 0 0; }
.tier-price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; font-stretch: 100%; }
.tier-price .from { display: block; font-family: var(--font-script); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.tier ul { list-style: none; display: grid; gap: 9px; margin: 6px 0 8px; flex: 1; }
.tier li { padding-left: 24px; position: relative; font-size: 0.97rem; line-height: 1.45; }
.tier li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.tier .btn { width: 100%; }
.tier--feature .btn { background: var(--highlight); color: var(--ink); border-color: var(--highlight); }
.tier--feature .btn::after { background: var(--paper); }
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; } .tier--feature { box-shadow: 6px 6px 0 var(--highlight); } }

/* ---------- FAQ ----------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--font-display); font-weight: 680; font-size: 1.16rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-script); font-size: 1.6rem; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--highlight); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ----------------------------------------------------- */
.curtain { text-align: left; }
.curtain h2 { font-size: clamp(2.4rem, 1.6rem + 4vw, 5.2rem); font-stretch: 114%; font-weight: 850; letter-spacing: -0.035em; line-height: 0.96; max-width: 16ch; margin-bottom: 26px; }
.curtain .lede { margin-bottom: 32px; }
.curtain .fine { font-family: var(--font-script); font-size: 0.85rem; color: var(--stage-muted); margin-top: 22px; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--paper); border-top: 2px solid var(--ink); padding-block: 56px 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--font-script); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-about p { color: var(--ink-2); max-width: 40ch; margin-top: 14px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-script); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ==========================================================================
   Service pages
   ========================================================================== */
.crumbs { font-family: var(--font-script); font-size: 0.82rem; color: var(--muted); padding-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.svc-hero { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc-hero h1 { font-size: clamp(2.3rem, 1.5rem + 4vw, 4.9rem); margin-bottom: 24px; }
.svc-hero .lede { margin-bottom: 30px; }
@media (max-width: 920px) { .svc-hero-grid { grid-template-columns: 1fr; } }

/* Call sheet — production facts */
.callsheet { border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fffffb; font-size: 0.95rem; box-shadow: 8px 8px 0 var(--paper-2), 8px 8px 0 1.5px var(--ink); }
.callsheet header { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1.5px solid var(--ink); background: var(--highlight); font-family: var(--font-script); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.callsheet dl { margin: 0; display: grid; grid-template-columns: 1fr; }
.callsheet dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--rule); }
.callsheet dl > div:last-child { border-bottom: 0; }
.callsheet dt { font-family: var(--font-script); font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px; }
.callsheet dd { margin: 0; font-weight: 600; line-height: 1.4; }
.callsheet dd .price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (max-width: 420px) { .callsheet dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Short answer (AEO block) */
.answer-box { border-left: 6px solid var(--highlight); background: #fffffb; padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.answer-box .slug { margin-bottom: 10px; color: var(--ink); }
.answer-box h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin-bottom: 14px; }
.answer-box p { font-size: var(--step-1); line-height: 1.55; margin: 0; max-width: 72ch; }

/* Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story-aside { position: sticky; top: 96px; }
.character { border: 1px solid var(--rule-stage); padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,0.02); }
.character .headshot { width: 96px; height: 96px; font-size: 2.1rem; color: var(--ink); background-color: var(--highlight); background-image: radial-gradient(rgba(19,19,19,.28) 1px, transparent 1.3px); border-color: var(--highlight); margin-bottom: 18px; }
.character .headshot span { background: var(--highlight); }
.character h3 { font-size: 1.7rem; font-stretch: 110%; }
.character .role { font-family: var(--font-script); font-size: 0.86rem; color: var(--stage-muted); margin: 8px 0 18px; }
.character dl { margin: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.character dl div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; border-top: 1px solid var(--rule-stage); padding-top: 10px; }
.character dt { font-family: var(--font-script); font-size: 0.78rem; color: var(--stage-muted); text-transform: uppercase; padding-top: 2px; }
.character dd { margin: 0; }
.character dd.vs { color: var(--cue); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.02em; }
.fiction-note { font-family: var(--font-script); font-size: 0.8rem; color: var(--stage-muted); margin-top: 16px; }

.story-body > section + section { margin-top: clamp(40px, 5vw, 64px); }
.act-label { font-family: var(--font-script); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--highlight); margin-bottom: 12px; display: block; }
.story-body h3 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem); font-stretch: 108%; margin-bottom: 18px; }
.story-body p { color: var(--stage-text); max-width: 64ch; font-size: 1.08rem; line-height: 1.65; }
.dialogue { font-family: var(--font-script); font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.5; margin: 28px 0; padding: 26px 0 26px clamp(18px, 8%, 70px); border-left: 2px solid var(--rule-stage); }
.dialogue .who { display: block; text-transform: uppercase; margin-left: 24%; color: var(--stage-muted); font-size: 0.9em; }
.dialogue .paren { display: block; margin-left: 16%; color: var(--stage-muted); font-size: 0.9em; }
.dialogue .line { display: block; margin: 6px 6% 0 8%; }
@media (max-width: 560px) { .dialogue { padding-left: 14px; } .dialogue .who { margin-left: 18%; } .dialogue .paren { margin-left: 8%; } .dialogue .line { margin: 6px 0 0; } }
.dialogue mark { color: var(--ink); }
.villain-card { border: 1.5px solid var(--cue); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: linear-gradient(180deg, rgba(232,73,46,.10), rgba(232,73,46,.02)); }
.villain-card .act-label { color: var(--cue); }
.villain-card h3 { color: var(--cue); font-stretch: 118%; font-weight: 850; text-transform: uppercase; letter-spacing: -0.01em; }
.villain-card p:last-child { margin-bottom: 0; }

.beats { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule-stage); margin-top: 8px; }
.beats li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule-stage); }
.beats .when { font-family: var(--font-script); font-size: 0.85rem; color: var(--highlight); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 3px; }
.beats h4 { font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.beats p { margin: 0; font-size: 1rem; color: var(--stage-muted); }
@media (max-width: 640px) { .beats li { grid-template-columns: 1fr; gap: 6px; } }
.resolution { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem) !important; line-height: 1.45 !important; font-family: var(--font-display); font-weight: 500; color: #fff !important; max-width: 40ch !important; }
@media (max-width: 920px) { .story-grid { grid-template-columns: 1fr; } .story-aside { position: static; } }

/* Is this your story? (checklist) */
.yours { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.yours fieldset { border: 0; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.yours legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 16px 4px; border-bottom: 1px solid var(--rule); cursor: pointer; font-size: 1.05rem; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 2px; margin: 0; display: grid; place-items: center; cursor: pointer; background: #fffffb; }
.check input:checked { background: var(--highlight); }
.check input:checked::after { content: "✓"; font-weight: 800; font-size: 1rem; line-height: 1; }
.check:has(input:checked) span { background-image: linear-gradient(104deg, transparent 0.3em, var(--highlight) 0.3em, var(--highlight) calc(100% - 0.15em), transparent calc(100% - 0.15em)); background-repeat: no-repeat; background-size: 100% 78%; background-position: 0 70%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 860px) { .yours { grid-template-columns: 1fr; } }
.tally { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.tally output { font-family: var(--font-script); font-weight: 700; font-size: 1rem; }

/* Included */
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); list-style: none; border-top: 2px solid var(--ink); }
.included li { padding: 18px 0 18px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.included li::before { content: "✓"; position: absolute; left: 2px; top: 17px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--highlight); font-weight: 800; font-size: 0.8rem; }
.included b { display: block; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 2px; }
.included span { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 720px) { .included { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 28px; }
.chips li { font-family: var(--font-script); font-size: 0.85rem; padding: 7px 12px; border: 1px solid var(--ink); border-radius: 999px; background: #fffffb; }

/* Supporting cast (related) */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); }
.related a { padding: 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; display: grid; gap: 8px; }
.related a:hover { background: #fffffb; }
.related b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 740; }
.related span { color: var(--ink-2); font-size: 0.96rem; }
.related em { font-style: normal; font-family: var(--font-script); font-size: 0.8rem; color: var(--cue-ink); text-transform: uppercase; }
@media (max-width: 820px) { .related { grid-template-columns: 1fr; } }

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transition: transform .3s ease; }
  .js .sticky-cta:not(.show) { transform: translateY(160%); }
  .sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); }
  body.has-sticky { padding-bottom: 84px; }
  .menu-open .sticky-cta { display: none; }
}

/* ==========================================================================
   Pricing / How we work / Contact
   ========================================================================== */
.page-hero { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 4vw, 4.9rem); max-width: 16ch; margin-bottom: 22px; }

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.price-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 0.98rem; }
.price-table th, .price-table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table thead th { font-family: var(--font-script); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.price-table tbody th { font-family: var(--font-display); font-size: 1.12rem; font-weight: 720; }
.price-table tbody th a { text-decoration: none; border-bottom: 2px solid var(--highlight); }
.price-table td.num { font-family: var(--font-display); font-weight: 780; font-size: 1.2rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.term { border: 1px solid var(--rule-stage); border-radius: var(--radius); padding: 24px; }
.term h3 { font-size: 1.25rem; margin-bottom: 8px; }
.term p { margin: 0; color: var(--stage-muted); }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }

.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 2px solid var(--ink); }
.principles li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.principles h3 { font-size: 1.3rem; margin-bottom: 8px; }
.principles p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

.prose { max-width: 68ch; }
.prose p { font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 1.4em 0 0.5em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; border-top: 2px solid var(--ink); padding-top: 28px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--font-script); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fffffb; border: 1.5px solid var(--ink); border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--highlight); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fffffb; cursor: pointer; font-size: 0.95rem; font-weight: 600; }
.opt input:checked + span { background: var(--highlight); }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; font-family: var(--font-script); font-size: 0.95rem; padding: 14px 16px; border: 1.5px dashed var(--ink); display: none; }
.form-status.show { display: block; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }
.next-steps { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.next-steps li { counter-increment: s; padding: 20px 0 20px 52px; border-bottom: 1px solid var(--rule); position: relative; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--highlight); font-family: var(--font-display); font-weight: 800; }
.next-steps b { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.next-steps span { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* Utility */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.center-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .logo .caret { animation: none; }
}
@media print {
  .site-header, .sticky-cta, .site-footer { display: none; }
  .stage { background: #fff; color: #000; }
}
