/* ==================================================================
   Radu Bobirnac — Profit-first Amazon PPC
   v2: dark, high-contrast, electric teal
   ================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* dark surfaces */
  --night: #06111D;
  --night-2: #0B1A2B;
  --night-3: #11253B;
  --line-dark: rgba(255, 255, 255, 0.11);
  --on-dark: #E8F0F6;
  --muted-dark: #9CB1C4;

  /* light surfaces */
  --paper: #F2F5F7;
  --white: #FFFFFF;
  --rule: #D5DEE5;
  --ink: #081827;
  --muted: #34495E;

  /* accent */
  --volt: #22E5C8;         /* electric teal: fills + text on dark only */
  --volt-soft: rgba(34, 229, 200, 0.14);
  --teal-ink: #075B52;     /* strong contrast for text on light surfaces */
  --loss: #FF6B5A;         /* negative values, always with a minus sign + label */
  --loss-ink: #98271D;

  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; } /* the <img> inside lays out as if unwrapped */
picture source { display: none; } /* otherwise it becomes a grid/flex item */
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.02;
  margin: 0 0 0.45em;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); line-height: 0.96; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.02em; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 64ch; }
small { font-size: 0.875rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.accent { color: var(--volt); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.875rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-ink); margin: 0 0 20px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.strike { position: relative; color: var(--muted); white-space: nowrap; }
.strike::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 54%;
  height: 0.12em; background: var(--loss); transform: rotate(-4deg);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.home-tool-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.home-tool-cards a { display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--rule); border-radius: 14px; text-decoration: none; color: var(--ink); }
.home-tool-cards a:hover { border-color: var(--teal-ink); }
.home-tool-cards h3, .home-tool-cards h2 { margin: 0 0 12px; }
.home-tool-cards h2 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
.home-tool-cards p { flex: 1; color: var(--muted); }
.home-tool-cards .text-link { color: var(--teal-ink); }
.review-entry--inline { margin: 32px 0 42px; padding: 28px; background: #EAF3F0; border-left: 4px solid var(--teal-ink); border-radius: 0 10px 10px 0; }
.review-entry--inline h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); line-height: 1.12; max-width: 27ch; }
.review-entry--inline .kicker { margin-bottom: 14px; }
.review-entry--inline p { max-width: 65ch; }
.review-entry .text-link { font-size: 16px; }
@media (max-width: 760px) { .home-tool-cards { grid-template-columns: 1fr; } }

/* Dark surfaces with the grid texture */
.dark {
  background-color: var(--night);
  background-image:
    radial-gradient(900px 480px at 88% -10%, rgba(34, 229, 200, 0.16), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: var(--on-dark);
}
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .lede, .dark p { color: var(--muted-dark); }
.dark .lede { color: #B9CADA; }
.dark .kicker { color: var(--volt); }
.dark a:not(.btn) { color: var(--volt); }
.dark a:not(.btn):hover { color: var(--white); }
.dark .strike { color: #7F93A7; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 17, 29, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); line-height: 1.1; }
.brand-mark { width: 62px; height: 36px; }
.brand strong { display: block; font: 700 1.12rem var(--display); letter-spacing: -0.02em; }
.brand small { display: block; font: 400 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); }
.brand:hover { color: var(--white); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: #C9D6E2; font-weight: 500; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--volt); padding-bottom: 4px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 8px 14px; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--volt); color: var(--night);
  text-decoration: none; border: 0; cursor: pointer;
  font: 700 1rem/1.2 var(--sans);
  padding: 16px 26px; border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  box-shadow: 0 0 0 0 rgba(34, 229, 200, 0);
}
.btn::after { content: "→"; font-family: var(--mono); transition: transform 0.15s; }
.btn:hover { color: var(--night); background: #5BF0D8; box-shadow: 0 0 0 5px rgba(34, 229, 200, 0.22); transform: translateY(-1px); }
.btn:hover::after { transform: translateX(3px); }
.btn--small { padding: 10px 16px; font-size: 0.92rem; }
.btn--small::after { display: none; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--volt); }
.btn--dark { background: var(--night); color: var(--white); }
.btn--dark:hover { background: var(--night-3); color: var(--white); box-shadow: 0 0 0 5px rgba(6, 17, 29, 0.15); }
/* Secondary action on light surfaces (tool exports, embed copy, team summary) */
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal-ink); }
.btn--outline:hover { background: #E3FBF6; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal-ink); }
.nav .btn { color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 36px; }
.playbook-conversation .btn-row { margin-top: 24px; }
.text-link { font-weight: 600; color: var(--ink); }
.text-link svg { display: inline-block; width: 18px; height: 18px; max-width: 18px; flex: none; vertical-align: middle; }
.text-link::after { content: " →"; font-family: var(--mono); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 104px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 100%; font-size: clamp(2.5rem, 5.4vw, 4rem); }
.hero h1 .accent { display: block; }
.hero .lede { margin-top: 8px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); max-width: 560px; }
.byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--volt); flex: none; }
.byline p { margin: 0; font-size: 0.95rem; line-height: 1.45; }
.byline b { color: var(--white); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 0.875rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-dark); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04);
  padding: 8px 11px; border-radius: 999px;
}
.chips svg { width: 13px; height: 13px; color: var(--volt); flex: none; }
.chips--light li { color: var(--ink); border-color: var(--rule); background: var(--white); }
.chips--light svg { color: var(--teal-ink); }

/* ---------- Ledger: break-even calculator ---------- */
.ledger {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 37, 59, 0.96), rgba(8, 22, 37, 0.96));
  border: 1px solid rgba(34, 229, 200, 0.45);
  border-radius: 14px;
  padding: 26px 28px 24px;
  box-shadow: 0 0 0 6px rgba(34, 229, 200, 0.06), 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  font-family: var(--mono);
  color: var(--on-dark);
}
.ledger-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ledger-top span { font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--volt); }
.ledger-top i { display: flex; gap: 6px; }
.ledger-top i::before, .ledger-top i::after, .ledger-top i b { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: block; }
.ledger h2 { font: 700 1.45rem/1.2 var(--display); letter-spacing: -0.02em; margin: 6px 0 4px; color: var(--white); }
.ledger-intro { font: 400 0.9rem/1.5 var(--sans); color: var(--muted-dark) !important; margin-bottom: 14px; }
.ledger-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.ledger-row label, .ledger-row .ledger-label { font-size: 0.88rem; color: var(--on-dark); }
.ledger-row small { display: block; color: var(--muted-dark); font-size: 0.875rem; margin-top: 2px; }
.ledger-input { display: flex; align-items: center; gap: 2px; font-size: 1.05rem; color: var(--muted-dark); }
.ledger-input input {
  width: 8.5ch; text-align: right; font: 600 1.05rem var(--mono); color: var(--white); -moz-appearance: textfield; appearance: textfield;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 6px; padding: 5px 8px;
}
.ledger-input input::-webkit-outer-spin-button, .ledger-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ledger-input input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px var(--volt-soft); }
.ledger-value { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.ledger-total { border-bottom: 0; padding-top: 18px; align-items: flex-end; }
.ledger-total .ledger-label { font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.875rem; }
.ledger-total .ledger-value {
  font: 800 3.4rem/0.9 var(--display); letter-spacing: -0.04em; color: var(--volt);
  text-shadow: 0 0 28px rgba(34, 229, 200, 0.35);
}
.ledger-verdict { font: 500 0.88rem/1.45 var(--sans); color: var(--on-dark) !important; margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--volt); }
.ledger-verdict[data-tone="thin"] { border-left-color: var(--loss); }
.ledger-cta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-family: var(--sans); }
.ledger-cta p { font-size: 0.92rem; margin: 0 0 12px; color: var(--on-dark) !important; }
.ledger-cta .btn { width: 100%; justify-content: center; }
.ledger-cta a.sheet-link { display: block; text-align: center; margin-top: 10px; font-size: 0.88rem; }
.ledger-cta[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ledger-cta:not([hidden]) { animation: rise 0.4s ease-out both; }
  .ledger-total .ledger-value { animation: rise 0.8s ease-out 0.2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--volt); color: var(--night); overflow: hidden; border-block: 1px solid var(--night); }
.ticker-track { display: flex; width: max-content; }
.ticker ul { display: flex; margin: 0; padding: 14px 0; list-style: none; flex: none; }
.ticker li { font: 600 0.875rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.ticker li::after { content: "✦"; font-size: 0.875rem; }
.ticker li { gap: 0; }
.ticker li::after { margin-left: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Big-number proof band ---------- */
.proof { padding: 72px 0 80px; background: var(--paper); }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proof li { padding: 8px 28px 8px 0; margin-right: 28px; border-right: 1px solid var(--rule); font-size: 0.95rem; line-height: 1.45; color: var(--muted); }
.proof li:last-child { border-right: 0; margin-right: 0; }
.proof strong {
  display: block; font: 800 clamp(2.6rem, 4.6vw, 4.1rem)/0.95 var(--display); letter-spacing: -0.045em;
  color: var(--ink); margin-bottom: 12px; white-space: nowrap;
}
.proof strong em { font-style: normal; color: var(--teal-ink); }

/* ---------- Problem ---------- */
.split { overflow-wrap: anywhere; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
.failures { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.failures li { counter-increment: f; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 24px 0; border-top: 1px solid var(--rule); }
.failures li:last-child { border-bottom: 1px solid var(--rule); }
.failures li::before { content: "0" counter(f); grid-row: span 2; font: 600 0.9rem var(--mono); color: var(--loss-ink); padding-top: 6px; }
.failures h3 { overflow-wrap: anywhere; font-size: 1.3rem; margin: 0; }
.failures p { margin: 0; color: var(--muted); }

/* ---------- Same-ACoS chart ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; }
.compare-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.compare-card header span { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare-card h3 { margin: 0; font-size: 1.35rem; }
.compare-result { font: 800 3rem/1 var(--display); letter-spacing: -0.04em; margin: 4px 0 2px; }
.compare-result.good { color: var(--teal-ink); }
.compare-result.bad { color: var(--loss-ink); }
.compare-sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; }
.bar-chart { width: 100%; height: auto; display: block; overflow: visible; }
.bar-chart text { font-family: var(--mono); font-size: 14px; fill: var(--muted); }
.bar-chart .val { fill: var(--ink); font-weight: 600; }
.bar-chart .seg { transition: opacity 0.15s; }
.bar-chart .seg:hover { opacity: 0.8; }
/* Stacked cost bar (same ACoS, different profit) */
.stack { position: relative; padding: 30px 64px 0 0; }
.stk-bar { position: relative; display: flex; height: 24px; }
.stk { height: 100%; border-right: 2px solid var(--white); transition: filter 0.15s; }
.stk:hover { filter: brightness(1.12); }
.stk.end { border-right: 0; border-radius: 0 4px 4px 0; }
.stk-cost { background: #A9B7C4; }
.stk-ad { background: var(--ink); }
.stk-profit { background: var(--volt); }
.stk-loss { background: var(--loss); }
.stk-val { position: absolute; top: 50%; transform: translateY(-50%); font: 600 0.9rem var(--mono); color: var(--ink); white-space: nowrap; }
.stk-price { position: absolute; top: -12px; bottom: -8px; width: 0; border-left: 1px solid var(--muted); margin-left: -1px; }
.stk-price span { position: absolute; top: -20px; left: 0; transform: translateX(-50%); font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; background: var(--white); padding: 0 4px; }
.stk-axis { position: relative; height: 26px; margin-top: 10px; border-top: 1px solid var(--rule); }
.stk-axis span { position: absolute; top: 6px; transform: translateX(-50%); font: 400 0.875rem var(--mono); color: var(--muted); }
.stk-axis span:first-child { transform: none; }

/* Horizontal bars (ROAS by ad type) */
.hbar { position: relative; --nw: 170px; --pad: 150px; padding-top: 28px; }
.hbar-plot { position: absolute; left: var(--nw); right: var(--pad); top: 0; bottom: 26px; pointer-events: none; }
.hbar-ref { position: absolute; top: 4px; bottom: 0; border-left: 2px dashed var(--loss); }
.hbar-ref span { position: absolute; top: -4px; left: 6px; font: 600 0.875rem var(--mono); color: var(--loss-ink); white-space: nowrap; }
.hbar-row { display: grid; grid-template-columns: var(--nw) 1fr; align-items: center; padding: 9px 0; }
.hbar-name { font-size: 0.9rem; font-weight: 600; color: var(--ink); padding-right: 14px; justify-self: start; position: relative; z-index: 1; background: var(--white); }
.hbar-track { position: relative; height: 22px; margin-right: var(--pad); }
.hbar-fill { display: block; height: 100%; background: #A9B7C4; border-radius: 0 4px 4px 0; }
.hbar-fill.emph { background: var(--ink); }
.hbar-track b { position: absolute; top: 50%; transform: translateY(-50%); font: 600 0.875rem var(--mono); color: var(--ink); white-space: nowrap; background: var(--white); padding: 1px 5px; margin-left: -4px; border-radius: 3px; }
.hbar-track b em { font-style: normal; font-weight: 400; color: var(--loss-ink); margin-left: 6px; }
.hbar-axis { position: relative; height: 24px; margin: 6px var(--pad) 0 var(--nw); border-top: 1px solid var(--rule); }
.hbar-axis span { position: absolute; top: 6px; transform: translateX(-50%); font: 400 0.875rem var(--mono); color: var(--muted); }
@media (max-width: 760px) {
  .hbar { --nw: 0px; --pad: 120px; }
  .hbar-row { grid-template-columns: 1fr; gap: 6px; }
  .hbar-name { font-size: 0.875rem; }
  .stack { padding-right: 58px; }
}

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.compare-note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Method pipeline ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; gap: 16px; }
.pipeline li { counter-increment: step; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 24px 22px; position: relative; }
.pipeline li::before { content: "0" counter(step); display: block; font: 600 0.875rem var(--mono); color: var(--teal-ink); margin-bottom: 18px; }
.pipeline li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 22px; font: 600 1rem var(--mono); color: var(--teal-ink); background: var(--paper); padding: 2px 0; z-index: 1; }
.pipeline h3 { margin-bottom: 4px; }
.pipeline .campaigns { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pipeline p { font-size: 0.96rem; color: var(--muted); margin: 0; }
.method-rule { margin: 52px 0 12px; font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--display); letter-spacing: -0.03em; color: var(--ink); max-width: 26ch; }

/* ---------- Results ---------- */
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line-dark); }
.result:first-of-type { border-top: 0; padding-top: 8px; }
.result > * { min-width: 0; }
.result h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.result-kind { display: inline-block; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--night); background: var(--volt); padding: 5px 9px; border-radius: 4px; margin-bottom: 18px; }
.result-meta { font: 400 0.875rem var(--mono); color: var(--muted-dark); margin-bottom: 14px; letter-spacing: 0.02em; }
.figures { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.figures li { padding: 14px 12px 0 0; font: 400 0.875rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); }
.figures b { display: block; font: 700 1.25rem/1.2 var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--white); margin-top: 4px; white-space: nowrap; }

/* $1 → $18.16 return visual */
.return-viz { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: 14px; padding: 30px 28px; }
.return-viz .rv-big { font: 800 clamp(4rem, 9vw, 7rem)/0.85 var(--display); letter-spacing: -0.05em; color: var(--volt); margin: 0 0 6px; text-shadow: 0 0 40px rgba(34, 229, 200, 0.25); }
.return-viz .rv-cap { font: 400 0.9rem/1.5 var(--sans); color: var(--muted-dark); margin: 0 0 24px; }
.rv-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; margin-top: 12px; }
.rv-row span { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); }
.rv-bar { height: 24px; border-radius: 0 4px 4px 0; background: var(--volt); position: relative; }
.rv-bar.spend { background: #5E7A94; }
.rv-bar b { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); font: 600 0.875rem var(--mono); color: var(--white); white-space: nowrap; }
.rv-bar.sales b { left: auto; right: 10px; color: var(--night); }

/* Screenshot proof */
.proof-shot { margin: 0; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--white); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); }
.proof-shot a { display: block; }
.proof-shot img { width: 100%; }
.proof-shot figcaption { font: 400 0.875rem/1.45 var(--mono); color: var(--muted); padding: 11px 14px; border-top: 1px solid var(--rule); background: var(--paper); }
.shot-tag { display: inline-block; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--volt); margin-bottom: 10px; }

/* ---------- Checkable client proof ---------- */
.credential-link { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.chips .credential-link { display: inline-block; padding: 6px 0; margin: -6px 0; }
.dark .credential-link { color: inherit; }
.aside-who .credential-link { color: var(--on-dark); }
.reviews-source { margin: 20px 0 0; font-size: .95rem; }
.client-review { max-width: 64ch; margin: 32px 0; padding-left: 20px; border-left: 2px solid var(--rule); }
.client-review blockquote { margin: 0; }
.client-review blockquote p { margin-bottom: 12px; color: var(--ink); font: 400 1rem/1.6 var(--sans); }
.client-review figcaption { color: var(--muted); font: 400 .875rem/1.6 var(--sans); }
.client-review figcaption a { display: inline-block; margin-top: 8px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quotes blockquote { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 34px 32px; position: relative; }
.quotes blockquote::before { content: "“"; position: absolute; top: 6px; right: 24px; font: 800 6rem/1 var(--display); color: var(--volt); opacity: 0.55; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; color: #E8A93A; }
.stars svg { width: 16px; height: 16px; }
.quotes blockquote p { font: 600 1.35rem/1.35 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.quotes cite { font: 400 0.875rem var(--mono); font-style: normal; color: var(--muted); letter-spacing: 0.02em; }
.cred-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.cred { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; }
.cred svg { width: 34px; height: 34px; flex: none; color: var(--teal-ink); }
.cred b { display: block; font: 700 0.98rem/1.2 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.cred span { font-size: 0.875rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: "Step 0" counter(s); display: block; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { font-size: 0.96rem; color: var(--muted); margin: 0; }

/* ---------- Lead magnet ---------- */
.magnet { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; background: var(--white); border: 1px solid var(--rule); border-radius: 18px; padding: 48px; }
.magnet .inline-form input[type="email"] { color: var(--ink); background: var(--white); border-color: #8a9ca6; }
.magnet .inline-form input::placeholder { color: #5f7280; }
.magnet .inline-form input:focus { border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(7, 91, 82, 0.18); }
.magnet .fine { color: var(--muted) !important; }
.magnet a:not(.btn) { color: var(--teal-ink); }
.magnet h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.sheet-mock { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(9, 27, 48, 0.45); border: 1px solid var(--rule); transform: rotate(1.5deg); font: 400 0.875rem/1 var(--mono); color: var(--ink); }
.sheet-mock .sm-bar { background: #1D6F42; color: #fff; padding: 9px 12px; font-weight: 600; letter-spacing: 0.04em; }
.sheet-mock table { width: 100%; border-collapse: collapse; }
.sheet-mock th, .sheet-mock td { border: 1px solid #DDE3E8; padding: 7px 8px; text-align: right; white-space: nowrap; }
.sheet-mock th { background: #F1F4F6; font-weight: 600; color: var(--muted); }
.sheet-mock td:first-child, .sheet-mock th:first-child { text-align: left; }
.sheet-mock td.hl { background: #E3FBF6; color: var(--teal-ink); font-weight: 600; }
.sheet-mock td.neg { color: var(--loss-ink); font-weight: 600; }
.inline-form { display: flex; gap: 10px; margin-top: 24px; max-width: 520px; }
.inline-form input[type="email"] {
  flex: 1; min-width: 0; font: 400 1rem var(--sans); color: var(--white); padding: 15px 16px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
}
.inline-form input::placeholder { color: #8397AB; }
.inline-form input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px var(--volt-soft); }
.fine { font-size: 0.875rem !important; color: var(--muted-dark) !important; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 104px 0; }
.cta-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.cta-photo { width: 240px; aspect-ratio: 1; border-radius: 18px; object-fit: cover; box-shadow: 10px 10px 0 var(--volt); }
.cta-band h2 { max-width: 16ch; }
.cta-band--text .wrap { grid-template-columns: 1fr; }
.cta-band .kicker { margin-bottom: 14px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: 88px 0 80px; }
.page-head h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 16ch; }

/* ---------- Case studies page ---------- */
.case { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--rule); }
.case:first-child { border-top: 0; padding-top: 0; }
.case > * { min-width: 0; }
.case-figures { list-style: none; margin: 0; padding: 0; position: sticky; top: 96px; align-self: start; }
.case-figures li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 0.875rem var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.case-figures li b { font: 700 1.2rem var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--ink); }
.case-figures li:first-child { border-top: 3px solid var(--ink); }
.case-figures .hero-fig { display: block; padding: 18px 0 16px; }
.case-figures .hero-fig b { display: block; font-size: 3.4rem; line-height: 0.9; letter-spacing: -0.045em; color: var(--teal-ink); margin-top: 8px; }
.case-kind { display: inline-block; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); background: var(--ink); padding: 5px 9px; border-radius: 4px; margin-bottom: 16px; }
.case-kind.sample { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.case h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.case-meta { font: 400 0.875rem var(--mono); color: var(--muted); margin-bottom: 16px; }
.boundary { font-size: 0.92rem; color: var(--muted); border-left: 3px solid var(--rule); padding-left: 14px; margin-top: 18px; }
.case .return-viz { background: var(--night); margin: 24px 0; }
.case .proof-shot { margin-top: 24px; border-color: var(--rule); box-shadow: none; }
.projected { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 4px; padding: 2px 6px; margin-left: 6px; vertical-align: 2px; }
.chart-card { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 24px 24px 18px; margin: 24px 0; }
.chart-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.chart-card .chart-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.meter { margin: 6px 0 4px; }
.meter-track { height: 24px; border-radius: 4px; background: #E6ECF0; display: flex; overflow: hidden; }
.meter-fill { background: var(--loss); height: 100%; border-radius: 4px 0 0 4px; }
.meter-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; font: 400 0.875rem var(--mono); color: var(--muted); margin-top: 8px; }
.meter-legend b { color: var(--ink); }
details.table-view { margin-top: 12px; font-size: 0.875rem; }
details.table-view summary { cursor: pointer; color: var(--teal-ink); font-weight: 600; }
details.table-view table { border-collapse: collapse; margin-top: 10px; font: 400 0.875rem var(--mono); }
details.table-view th, details.table-view td { text-align: left; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--rule); }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; padding: 72px 0; border-top: 1px solid var(--rule); align-items: start; }
.service:first-child { border-top: 0; padding-top: 0; }
.service > * { min-width: 0; }
.service-num { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; display: block; }
.service h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.service .fit { color: var(--muted); font-size: 1.08rem; }
.service dl { margin: 28px 0 0; }
.service dt { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.service dt:first-child { margin-top: 0; }
.service dd { margin: 8px 0 0; color: var(--ink); }
.service ul { margin: 0; padding: 0; list-style: none; }
.service ul li { padding: 9px 0 9px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.service ul li::before { content: "✓"; position: absolute; left: 2px; top: 9px; color: var(--teal-ink); font-weight: 700; }

/* Audit document mock */
.doc-mock { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(15, 34, 54, 0.45); overflow: hidden; }
.doc-mock .dm-head { background: var(--night); color: var(--white); padding: 20px 24px; }
.doc-mock .dm-head span { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--volt); }
.doc-mock .dm-head strong { display: block; font: 800 1.35rem/1.15 var(--display); letter-spacing: -0.02em; margin-top: 6px; }
.doc-mock .dm-body { padding: 20px 24px 24px; }
.dm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dm-kpis div { background: var(--paper); border-radius: 8px; padding: 10px 12px; font: 400 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dm-kpis b { display: block; font: 800 1.35rem var(--display); letter-spacing: -0.03em; color: var(--ink); text-transform: none; margin-top: 2px; }
.dm-kpis b.neg { color: var(--loss-ink); }
.dm-list { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.dm-list li { counter-increment: d; display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; padding: 9px 0; border-top: 1px solid var(--rule); }
.dm-list li::before { content: counter(d); font: 600 0.875rem var(--mono); color: var(--white); background: var(--ink); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.dm-list li span { flex: 1; }
.dm-list li b { font: 600 0.875rem var(--mono); color: var(--loss-ink); white-space: nowrap; }
.dm-fade { position: relative; }
.dm-fade::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--white)); }
.mock-cap { font: 400 0.875rem var(--mono); color: var(--muted); margin-top: 12px; }

.sprint-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.sprint-track div { background: var(--paper); border-top: 4px solid var(--teal-ink); padding: 12px 12px 14px; border-radius: 0 0 8px 8px; font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.sprint-track div b { display: block; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }

.scorecard { background: var(--night); color: var(--on-dark); border-radius: 12px; padding: 20px 22px; font-family: var(--mono); font-size: 0.875rem; }
.scorecard .sc-top { display: flex; justify-content: space-between; color: var(--volt); font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.scorecard .sc-row { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px dashed rgba(255, 255, 255, 0.14); color: var(--on-dark); }
.scorecard .sc-row i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.scorecard .sc-row i.on { background: linear-gradient(90deg, var(--volt) var(--w, 60%), rgba(255, 255, 255, 0.12) var(--w, 60%)); }

.faq details { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; font: 700 1.2rem var(--display); letter-spacing: -0.015em; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.2rem var(--mono); color: var(--teal-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.portrait-wrap { position: relative; }
.portrait { border-radius: 16px; box-shadow: 12px 12px 0 var(--volt); width: 100%; }
.portrait-tag { position: absolute; left: 16px; bottom: 16px; background: var(--night); color: var(--white); font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 11px; border-radius: 6px; }
.portrait-tag::before { content: "● "; color: var(--volt); }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.badge svg { width: 38px; height: 38px; color: var(--teal-ink); margin-bottom: 14px; }
.badge b { display: block; font: 700 1.1rem/1.2 var(--display); letter-spacing: -0.015em; color: var(--ink); margin-bottom: 4px; }
.badge span { font-size: 0.9rem; color: var(--muted); line-height: 1.45; display: block; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li { padding: 0 0 32px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 3px; background: var(--volt); border: 2px solid var(--ink); }
.timeline .when { font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-ink); }
.timeline h3 { font-size: 1.3rem; margin: 4px 0 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; counter-reset: r; }
.rules li { counter-increment: r; padding: 20px 0 20px 52px; border-top: 1px solid var(--line-dark); position: relative; }
.rules li::before { content: "0" counter(r); position: absolute; left: 0; top: 22px; font: 600 0.875rem var(--mono); color: var(--volt); }
.rules b { display: block; color: var(--white); font: 700 1.15rem var(--display); letter-spacing: -0.015em; margin-bottom: 4px; }
.rules span { color: var(--muted-dark); font-size: 0.97rem; }

.audit-note { font-size: 0.875rem; color: var(--muted); margin-top: 14px; }

/* ---------- Form ---------- */
.audit-reports { padding-left: 22px; margin: 24px 0; }
.audit-reports li { margin-bottom: 16px; }
.audit-extra { margin-top: 32px; }
.audit-extra > summary { min-height: 44px; padding: 14px 0; color: var(--teal-ink); font-weight: 600; cursor: pointer; }
.audit-extra > summary:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 4px; }
.audit-extra .form { margin-top: 16px; }

.booking-options { min-width: 0; padding: 32px; border: 1px solid var(--rule); border-radius: 16px; background: var(--white); }
.booking-direct-note { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.booking-inquiry { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 12px; }
.booking-inquiry > summary { min-height: 44px; padding: 12px 24px 12px 0; color: var(--teal-ink); font-weight: 600; cursor: pointer; }
.booking-inquiry > summary:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 4px; }
.booking-inquiry .form { margin-top: 20px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 600px) { .booking-options { padding: 24px; } }

.form-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 40px; box-shadow: 0 30px 60px -40px rgba(15, 34, 54, 0.5); }
.form-steps { display: flex; gap: 8px; margin-bottom: 26px; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form-steps span { padding: 6px 10px; border-radius: 999px; background: var(--paper); }
.form-steps span.on { background: var(--night); color: var(--volt); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink);
  padding: 13px 14px; border: 1px solid #B6C4CF; border-radius: 8px; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(34, 229, 200, 0.28); }
.field textarea { min-height: 100px; resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: end; }
.hidden { position: absolute; left: -9999px; }
.form .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 18px; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; text-align: center; max-width: none; }
.aside-card { background: var(--night); color: var(--on-dark); border-radius: 16px; padding: 30px; }
.aside-card h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 16px; }
.aside-card ol { padding: 0; margin: 0 0 8px; list-style: none; counter-reset: a; }
.aside-card ol li { counter-increment: a; padding: 10px 0 10px 36px; position: relative; border-top: 1px dashed rgba(255, 255, 255, 0.14); color: var(--on-dark); font-size: 0.96rem; }
.aside-card ol li::before { content: "0" counter(a); position: absolute; left: 0; top: 12px; font: 600 0.875rem var(--mono); color: var(--volt); }
.aside-who { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.aside-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--volt); }
.aside-who p { margin: 0; font-size: 0.9rem; color: var(--muted-dark); line-height: 1.45; }
.aside-who b { color: var(--white); display: block; }
.aside-who--photo { display: block; }
.aside-who--photo img { width: 100%; height: auto; border-radius: 12px; box-shadow: none; margin-bottom: 14px; }
.aside-plain { margin-top: 24px; }
.aside-plain h3 { font-size: 1.15rem; margin-bottom: 6px; }
.aside-plain p { color: var(--muted); font-size: 0.95rem; }

.booking { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.booking iframe { width: 100%; height: 720px; border: 0; display: block; }
.booking-link { padding: 20px; margin: 0; }
.booking-fallback { padding: 36px; }
.booking-fallback h2 { font-size: 1.8rem; }
.call-prep ol { padding-left: 1.4em; margin: 0 0 22px; }
.call-prep li { padding-left: 0.3em; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 36px; font-size: 0.9rem; color: var(--muted-dark); background: var(--night); border-top: 1px solid var(--line-dark); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--volt); }
.footer-brand img { width: 76px; height: auto; }
.site-footer .wrap > span { flex: 1 1 0; min-width: 0; }
.site-footer nav { flex-basis: 100%; }
.analytics-settings { border: 0; padding: 0; background: none; color: var(--on-dark); font: inherit; cursor: pointer; }
.analytics-settings:hover { color: var(--volt); }
/* Consent: a slim bar along the bottom edge so the first screen stays visible */
.analytics-choice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 32px; padding: 16px max(24px, calc((100% - 1132px) / 2)); color: #102533; background: #fff; border-top: 1px solid #bbcbd3; box-shadow: 0 -4px 24px #091b3026; max-height: calc(100dvh - 32px); overflow-y: auto; }
.analytics-choice[hidden] { display: none; }
.analytics-choice h2 { grid-column: 1; font-size: 1.05rem; margin: 0; }
.analytics-choice p { grid-column: 1; font-size: .95rem; margin: 0; max-width: 72ch; }
.analytics-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.analytics-actions button { flex: 1; min-height: 44px; padding: 10px 16px; border: 1px solid #607580; border-radius: 8px; background: #fff; color: #102533; font: inherit; font-weight: 650; white-space: nowrap; cursor: pointer; }
.analytics-choice-open .site-footer { padding-bottom: 140px; }
.analytics-actions button:hover { background: #eef5f5; }
.analytics-choice-open .mobile-cta { display: none; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}


/* ---------- v3 additions: snapshot, more results, video, swipe row ---------- */
.byline-link { color: var(--volt); font-weight: 600; white-space: nowrap; }
.byline-link:hover { color: var(--white); }
.swipe-hint { display: none; }
.fine-print { font-size: 0.95rem; color: var(--muted); margin-top: 18px; }

.more-results { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-results a { display: block; height: 100%; padding: 22px 22px 20px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--night-2); color: var(--on-dark); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.more-results a:hover { border-color: var(--volt); transform: translateY(-2px); color: var(--on-dark); }
.more-results span { display: block; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); }
.more-results b { display: block; font: 800 2.4rem/1 var(--display); letter-spacing: -0.04em; color: var(--volt); margin: 12px 0 6px; }
.more-results em { font-style: normal; font-size: 0.92rem; color: var(--muted-dark); }

.snapshot-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 40px; margin-bottom: 72px; border-radius: 16px; background: var(--night); color: var(--on-dark); }
.snapshot-card h2 { color: var(--white); }
.snapshot-card .service-num { color: var(--volt); }
.snapshot-card .fit { color: var(--muted-dark); font-size: 1.08rem; }
.snapshot-terms { margin: 0; display: grid; gap: 0; }
.snapshot-terms div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-top: 1px dashed rgba(255, 255, 255, 0.16); }
.snapshot-terms div:first-child { border-top: 0; }
.snapshot-terms dt { font: 600 0.875rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--volt); }
.snapshot-terms dd { margin: 0; color: var(--on-dark); }

.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night); box-shadow: 10px 10px 0 var(--volt); }
.video-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-play:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.video-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--volt); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 0.15s; }
.video-icon::after { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--night); }
.video-play:hover .video-icon { transform: scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.boundary b { color: var(--ink); font-weight: 600; }
.case .boundary { font-size: 0.875rem; }


/* ---------- v4: make the visitor feel clever ---------- */
.ledger-target { border-top: 1px dashed rgba(255, 255, 255, 0.14); border-bottom: 0; margin-top: 10px; }
.ledger-target-out { font: 600 0.92rem/1.45 var(--sans); margin: 4px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--volt-soft); color: var(--white) !important; }
.ledger-target-out[data-tone="loss"] { background: rgba(255, 107, 90, 0.14); }
.ledger-target-out b { color: var(--volt); }
.ledger-target-out[data-tone="loss"] b { color: var(--loss); }
.ledger-target-out[hidden] { display: none; }

.quiz { margin: 0 0 28px; padding: 22px 24px; border-radius: 14px; background: var(--night); color: var(--on-dark); }
.quiz[hidden] { display: none; }
.quiz-q { font: 700 1.3rem/1.25 var(--display); letter-spacing: -0.02em; color: var(--white); margin: 0 0 6px; }
.quiz-hint { font-size: 0.95rem; color: var(--muted-dark); margin: 0 0 16px; }
.quiz-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-btn { font: 600 1rem var(--sans); padding: 12px 22px; border-radius: 8px; border: 1.5px solid var(--volt); background: transparent; color: var(--volt); cursor: pointer; transition: background 0.15s, color 0.15s; }
.quiz-btn:hover, .quiz-btn[aria-pressed="true"] { background: var(--volt); color: var(--night); }
.quiz-btn:disabled { cursor: default; }
.quiz-feedback { margin: 14px 0 0; font-size: 1rem; color: var(--on-dark); }
.quiz-feedback:empty { display: none; }
.quiz-feedback b { color: var(--volt); }
.compare-cost { display: flex; justify-content: space-between; font: 400 0.875rem var(--mono); color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 14px; }
.compare-cost b { color: var(--ink); font-weight: 600; }
.quiz-mystery { display: none; }
.quiz-on .quiz-hide { display: none !important; }
.quiz-on .quiz-mystery { display: block; font-size: 1rem; color: var(--muted); margin: 0; }
.quiz-on .quiz-mystery b { font: 800 1.25rem var(--display); color: var(--ink); }
.quiz-on .compare-card header { margin-bottom: 10px; }
.quiz-on .compare-card { padding: 22px 28px; }
.revealed .compare-card { animation: rise 0.45s ease-out both; }

.questions { list-style: none; margin: 0; padding: 8px 28px; counter-reset: q; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; }
.questions li { counter-increment: q; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 18px 0; border-top: 1px dashed var(--rule); }
.questions li:first-child { border-top: 0; }
.questions li::before { content: "Q" counter(q); grid-row: span 2; font: 600 0.875rem var(--mono); color: var(--teal-ink); padding-top: 3px; }
.questions b { font: 700 1.08rem/1.35 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.questions span { font-size: 0.92rem; color: var(--muted); }
.copy-status { font: 400 0.875rem var(--mono); color: var(--teal-ink); margin-top: 10px; min-height: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .split, .about-grid, .form-grid, .service, .result, .magnet { grid-template-columns: 1fr; gap: 44px; }
  .proof ul { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .proof li:nth-child(2) { border-right: 0; margin-right: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li:nth-child(2)::after { display: none; }
  .case { grid-template-columns: 1fr; gap: 28px; }
  .case-figures { position: static; }
  .quotes, .rules, .compare { grid-template-columns: 1fr; }
  .snapshot-card, .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid .portrait-wrap { max-width: 340px; }
  .badges { grid-template-columns: 1fr 1fr; }
  .magnet { padding: 36px; }
  .sheet-mock { transform: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .analytics-choice { grid-template-columns: 1fr; padding: 14px 16px 16px; gap: 4px; }
  .analytics-choice p { font-size: .9375rem; margin-bottom: 10px; }
  .analytics-actions { grid-column: 1; grid-row: auto; }
  .analytics-actions button { white-space: normal; padding: 10px 8px; }
  .cta-band { padding: 72px 0; }
  .site-footer nav { gap: 0 22px; }
  .site-footer nav a, .site-footer nav button { display: inline-flex; align-items: center; min-height: 44px; }
  details.table-view summary, a.text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .sheet-mock th:nth-child(2), .sheet-mock td:nth-child(2), .sheet-mock th:nth-child(5), .sheet-mock td:nth-child(5) { display: none; }
  .analytics-choice-open .site-footer { padding-bottom: 240px; }
  .about-grid { gap: 28px; }
  .about-grid .portrait-wrap { max-width: 132px; }
  .about-grid .portrait { box-shadow: 6px 6px 0 var(--volt); border-radius: 12px; }
  .about-grid .portrait-tag { position: static; display: inline-block; margin-top: 16px; white-space: nowrap; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 72px; }
  .page-head { padding: 60px 0 56px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--night); flex-direction: column; align-items: flex-start; padding: 18px 16px 24px; border-bottom: 1px solid var(--line-dark); gap: 18px; }
  .nav.open { display: flex; }
  .steps, .pipeline, .field-pair, .cred-row, .badges, .more-results { grid-template-columns: 1fr; }
  /* Swipeable stat row */
  .proof { padding: 48px 0 52px; }
  .proof ul { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-left: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .proof ul::-webkit-scrollbar { display: none; }
  .proof li { flex: 0 0 76%; scroll-snap-align: start; margin: 0; padding: 22px 20px; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); }
  .proof li:last-child { border-right: 1px solid var(--rule); }
  .proof strong { font-size: 2.9rem; }
  .swipe-hint { display: block; margin: 12px 0 0; font: 600 0.875rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .swipe-hint::after { content: " →"; }
  .snapshot-card { padding: 28px 20px; margin-bottom: 56px; }
  .snapshot-terms div { grid-template-columns: 1fr; gap: 4px; }
  .video { box-shadow: 6px 6px 0 var(--volt); }
  .questions { padding: 4px 18px; }
  .quiz { padding: 20px 18px; }
  .quiz-btn { flex: 1; }
  .pipeline li::after { display: none !important; }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .form { padding: 24px 18px; }
  .ledger { padding: 22px 18px; }
  .ledger-total .ledger-value { font-size: 2.8rem; }
  .magnet { padding: 28px 20px; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { justify-content: center; }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 32px; }
  .cta-photo { width: 160px; }
  .rv-row { grid-template-columns: 70px 1fr; }
  .dm-kpis { grid-template-columns: 1fr 1fr 1fr; }
  .dm-kpis b { font-size: 1.1rem; }
  .sprint-track { grid-template-columns: 1fr 1fr; }
  .compare-card { padding: 22px 18px; }
  .quotes blockquote { padding: 28px 22px; }

  .mobile-cta {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    background: var(--volt); color: var(--night); text-decoration: none;
    font: 700 1rem var(--sans); padding: 16px; border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--night);
    transform: translateY(150%); transition: transform 0.25s ease;
  }
  .mobile-cta::after { content: "→"; font-family: var(--mono); }
  .mobile-cta.show { transform: none; }
  .mobile-cta:hover { color: var(--night); }
  body.has-mobile-cta .site-footer { padding-bottom: 104px; }
}
@media (max-width: 400px) { .sheet-mock th, .sheet-mock td { padding: 7px 4px; } }


/* Six menu items: use the Menu button when the full header needs more room. */
.nav a { white-space: nowrap; }
.brand { min-width: 0; }
.brand-mark, .nav-toggle { flex-shrink: 0; }
@media (max-width: 1000px) {
  .site-header .wrap { gap: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--night); flex-direction: column; align-items: flex-start;
    padding: 18px 16px 24px; border-bottom: 1px solid var(--line-dark); gap: 18px;
  }
  .nav.open { display: flex; }
}

/* Legal pages */
.legal { max-width: 760px; }
.legal-date { font: 400 0.875rem var(--mono); color: var(--muted); }
.legal h2 { font-size: 1.6rem; margin: 44px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 10px; }


/* Visitor sitemap: generated from the same public pages as sitemap.xml. */
.sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
.sitemap-grid section { min-width: 0; }
.sitemap-grid h2 { font-size: 1.6rem; line-height: 1.2; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 20px 0 0; }
.sitemap-grid li + li { margin-top: 12px; }
.sitemap-grid a { display: inline-block; padding: 5px 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 760px) { .sitemap-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Keep the owner's selected Services CTA as a dark-backed turquoise button. */
.btn.cta-secondary {
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
  justify-content: center;
  text-align: center;
  background: var(--night);
  color: var(--volt);
  border: 1px solid var(--volt);
}
.btn.cta-secondary:hover {
  background: var(--night-3);
  color: var(--volt);
  box-shadow: 0 0 0 4px rgba(34, 229, 200, 0.18);
}
.btn.cta-secondary:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--night);
}


/* ---------- Home: "Same ACoS. Different profit." animation ----------
   Segments are positioned from two numbers set by same-acos.js (--lo = bottom edge, --len = height,
   in dollars per $100 of ad sales). The plot runs from -$40 to +$100, so --u is one dollar in pixels. */
.stage { --H: 300px; --u: calc(var(--H) / 140); padding: 64px 0 80px; border-top: 1px solid var(--line-dark); }
.stage[hidden] { display: none; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "head plot" "copy plot"; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; }
.stage-head { grid-area: head; }
.stage-plot { grid-area: plot; margin: 0; }
.stage-copy { grid-area: copy; }
.stage .stage-head h2 { font-size: clamp(2.3rem, 3.7vw, 3rem); }
.stage-twist { color: var(--volt); opacity: 0; background: linear-gradient(var(--volt), var(--volt)) no-repeat 0 94% / 0 0.1em; }
.stage.is-twist .stage-twist { opacity: 1; background-size: 100% 0.1em; transition: opacity 0.4s, background-size 0.6s 0.25s ease-out; }

.stage .stage-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stage .stage-caption { min-height: 3.7em; margin: 0 0 20px; font: 700 clamp(1.35rem, 2.3vw, 1.85rem)/1.2 var(--display); letter-spacing: -0.02em; color: var(--white); }
.stage .stage-caption.swap { animation: stage-swap 0.45s ease-out both; }
.stage .stage-caption mark { background: none; color: var(--volt); }
.stage .stage-caption mark.loss { color: var(--loss); }
.stage .stage-btn { min-height: 44px; }

.stage-cols { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage .col { min-width: 0; padding: 0 8px; text-align: center; }
.stage .col-name { margin: 0 0 8px; font: 600 0.875rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); }
.stage .badge-row { height: 40px; display: flex; align-items: center; justify-content: center; }
.stage .badge { opacity: 0; padding: 7px 11px; border-radius: 999px; background: var(--volt); color: var(--night); font: 800 0.95rem/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.stage .eq { position: absolute; left: 33.333%; top: 52px; z-index: 6; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--night); box-shadow: 0 0 0 2px var(--volt); color: var(--volt); font: 800 1.3rem/30px var(--display); text-align: center; opacity: 0; }
.stage.is-eq .eq { opacity: 1; animation: stage-pop 0.5s 0.45s both; }

.stage .bars { position: relative; height: var(--H); margin: 36px -8px 0; }
.stage .zone { position: absolute; left: 0; right: 0; bottom: 0; height: calc(40 * var(--u)); background: repeating-linear-gradient(135deg, rgba(255, 107, 90, 0.16) 0 6px, transparent 6px 12px); }
.stage .zero { position: absolute; left: 0; right: 0; bottom: calc(40 * var(--u)); z-index: 5; border-top: 2px dashed rgba(232, 240, 246, 0.7); pointer-events: none; }
.stage .sales-label { position: absolute; left: 0; right: 0; top: -32px; font: 800 1.45rem/1 var(--display); letter-spacing: -0.02em; color: var(--white); opacity: 0; }
.stage .col.s1 .sales-label { opacity: 1; animation: stage-pop 0.5s 0.55s both; }
.stage .bar { position: absolute; top: 0; bottom: 0; left: 50%; width: min(128px, 66%); transform: translateX(-50%); }

.stage .seg { position: absolute; left: 0; right: 0; bottom: calc((var(--lo, 0) + 40) * var(--u)); height: calc(var(--len, 0) * var(--u)); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; opacity: 0; font: 600 0.875rem/1.15 var(--mono); transition: bottom 0.22s ease, height 0.22s ease; }
.stage .seg b { font-weight: 800; }
.stage .seg small { font: 400 0.875rem/1.15 var(--sans); }
.stage .seg.tiny b, .stage .seg.tiny small { display: none; }
.stage .sales { bottom: calc(40 * var(--u)); height: calc(100 * var(--u)); background: var(--volt-soft); border: 1.5px solid var(--volt); transition: none; }
.stage .ads { z-index: 3; background: var(--on-dark); color: var(--night); }
.stage .cost { z-index: 2; background: #4B6680; color: var(--white); }
.stage .res { z-index: 4; background: var(--volt); }
.stage .col[data-tone="loss"] .res { background: var(--loss); }
.stage .col.s1 .sales { opacity: 1; animation: stage-grow 0.9s cubic-bezier(0.2, 1.2, 0.4, 1) both; }
.stage .col.s2 .ads { opacity: 1; animation: stage-peel 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.stage .col.s3 .cost { opacity: 1; animation: stage-drop 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
.stage .col.s4 .res { opacity: 1; animation: stage-pop 0.5s 0.15s both; }
.stage .col.s2 .badge { opacity: 1; animation: stage-pop 0.5s 0.15s both; }

.stage .res-num { margin: 14px 0 0; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.03em; color: var(--white); opacity: 0; }
.stage .res-cap { margin: 4px 0 0; font-size: 0.875rem; line-height: 1.3; color: var(--muted-dark); opacity: 0; }
.stage .col.s4 .res-num, .stage .col.s4 .res-cap { opacity: 1; }
.stage .col.s4 .res-num { animation: stage-pop 0.6s 0.2s both; }
.stage .col.s4 .res-cap { animation: stage-swap 0.4s 0.5s both; }
.stage .col[data-tone="gain"] .res-num { color: var(--volt); }
.stage .col[data-tone="loss"] .res-num { color: var(--loss); }
.stage .col[data-tone="loss"].s4 .res-num { animation: stage-pop 0.6s 0.2s both, stage-shake 0.5s 0.85s; }

.stage .ghost { position: absolute; inset: 0; display: grid; place-items: center; border: 2px dashed rgba(232, 240, 246, 0.4); border-radius: 6px; font: 800 3.4rem/1 var(--display); color: rgba(232, 240, 246, 0.45); opacity: 0; }
.stage.is-1 .ghost { opacity: 1; transition: opacity 0.5s 0.4s; }
.stage.is-you .ghost { opacity: 0; transition: opacity 0.2s; }
.stage .col--you.s1 .sales { animation-delay: 0.1s; }
.stage .col--you.s2 .ads { animation-delay: 0.45s; }
.stage .col--you.s3 .cost { animation-delay: 0.8s; }
.stage .col--you.s4 .res { animation-delay: 1.15s; }
.stage .col--you.s2 .badge { animation-delay: 0.45s; }
.stage .col--you.s1 .sales-label { animation-delay: 0.6s; }
.stage .col--you.s4 .res-num { animation-delay: 1.2s; }
.stage .col--you.s4 .res-cap { animation-delay: 1.5s; }

.stage-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 22px 0 6px; padding: 0; list-style: none; font-size: 0.875rem; color: var(--on-dark); }
.stage-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
.stage-legend .k-cost { background: #4B6680; }
.stage-legend .k-ads { background: var(--on-dark); }
.stage-legend .k-gain { background: var(--volt); }
.stage-legend .k-loss { background: var(--loss); }
.stage .stage-note { margin: 0; max-width: none; font-size: 0.875rem; color: var(--muted-dark); }

.stage .stage-controls { margin: 4px 0 18px; padding: 20px 22px 22px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, 0.04); animation: stage-swap 0.5s ease-out both; }
.stage .stage-controls[hidden] { display: none; }
.stage .stage-controls label { display: flex; justify-content: space-between; gap: 12px; font: 600 1rem var(--sans); color: var(--white); }
.stage .stage-controls output { font: 600 1rem var(--mono); color: var(--volt); }
.stage .stage-controls input[type="range"] { display: block; width: 100%; min-height: 44px; margin: 0; accent-color: var(--volt); }
.stage .stage-controls small { display: block; margin: -6px 0 12px; font-size: 0.875rem; color: var(--muted-dark); }
.stage .stage-readout { margin: 6px 0 16px; font: 700 1.2rem/1.3 var(--display); letter-spacing: -0.01em; color: var(--white); }
.stage .stage-readout[data-tone="gain"] { color: var(--volt); }
.stage .stage-readout[data-tone="loss"] { color: var(--loss); }
.stage .stage-controls .btn { width: 100%; justify-content: center; }

@keyframes stage-grow { from { height: 0; } }
@keyframes stage-peel { from { opacity: 0; transform: translateX(36px) scale(0.9); } 60% { opacity: 1; transform: translateX(-6px); } }
@keyframes stage-drop { from { opacity: 0; transform: translateY(-48px); } }
@keyframes stage-pop { 0% { opacity: 0; transform: scale(0.3); } 60% { opacity: 1; transform: scale(1.22); } 100% { opacity: 1; transform: scale(1); } }
@keyframes stage-swap { from { opacity: 0; transform: translateY(8px); } }
@keyframes stage-shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.stage.is-instant *, .stage.is-instant *::after { animation-duration: 0s !important; animation-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  .stage *, .stage *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }
}

@media (max-width: 1000px) {
  .stage { --H: 270px; padding: 64px 0 72px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plot" "copy"; grid-template-rows: none; }
  .stage-plot { margin-bottom: 28px; }
  .stage .stage-caption { min-height: 3.7em; }
}
@media (max-width: 520px) {
  .stage { --H: 230px; }
  .stage .col { padding: 0 5px; }
  .stage .bars { margin-inline: -5px; }
  .stage .badge { padding: 6px 8px; font-size: 0.85rem; }
  .stage .seg small { display: none; }
  .stage .ghost { font-size: 2.6rem; }
  .stage .stage-controls { padding: 16px; }
}


/* ---------- Home hero: faint drifting line chart behind the content ----------
   Three wavy ACoS-style lines move slowly across dashed break-even lines. Purely decorative: it sits
   behind the content at low opacity, pauses off screen, and is static with reduced motion. */
.hero-chart { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); }
.hero-chart svg { position: absolute; left: 0; top: 8%; width: 200%; height: 84%; animation: hero-pan 90s linear infinite; will-change: transform; }
.hero-chart .hc-be { stroke: rgba(232, 240, 246, 0.1); stroke-width: 1.5; stroke-dasharray: 3 9; }
.hero-chart .hc-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: hero-draw 4s var(--d, 0s) ease-out forwards; }
.hero-chart .hc-a { stroke: rgba(34, 229, 200, 0.26); }
.hero-chart .hc-b { stroke: rgba(34, 229, 200, 0.15); }
.hero-chart .hc-c { stroke: rgba(232, 240, 246, 0.1); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-chart.is-paused svg { animation-play-state: paused; }
@keyframes hero-pan { to { transform: translateX(-50%); } }
@keyframes hero-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-chart svg { animation: none; }
  .hero-chart .hc-line { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 760px) {
  /* The hero is very tall on phones: keep the chart to a band behind the headline so the waves stay gentle */
  .hero-chart { -webkit-mask-image: none; mask-image: none; }
  .hero-chart svg { top: 110px; height: 520px; width: 320%; }
}


/* ---------- Services header: faint rising bars behind the content ----------
   Twelve bars grow in once, then "breathe" slowly around a dashed break-even line. Decorative only:
   low opacity, pauses off screen, static with reduced motion. */
.page-head--chart { position: relative; overflow: hidden; }
.page-head--chart > .wrap { position: relative; z-index: 1; }
.page-chart { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%);
  mask-image: linear-gradient(to right, transparent 0, #000 45%); }
.page-chart svg { display: block; width: 100%; height: 100%; }
.page-chart .pc-be { stroke: rgba(232, 240, 246, 0.12); stroke-width: 1.5; stroke-dasharray: 3 9; }
.page-chart .pc-g, .page-chart .pc-bar { transform-box: fill-box; transform-origin: 50% 100%; }
.page-chart .pc-bar { fill: rgba(34, 229, 200, 0.1); stroke: rgba(34, 229, 200, 0.2); stroke-width: 1.5; animation: pc-grow 1.2s calc(var(--i, 0) * 0.09s) cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
.page-chart .pc-g { animation: pc-breathe 9s calc(var(--i, 0) * -0.8s) ease-in-out infinite alternate; }
.page-chart.is-paused * { animation-play-state: paused; }
@keyframes pc-grow { from { transform: scaleY(0); } }
@keyframes pc-breathe { to { transform: scaleY(0.86); } }
@media (max-width: 760px) { .page-chart { width: 100%; top: auto; height: 55%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60%); mask-image: linear-gradient(to right, transparent 0, #000 60%); } }
@media (prefers-reduced-motion: reduce) { .page-chart .pc-g, .page-chart .pc-bar { animation: none; } }


/* ---------- Case studies, About and Tools hub headers: more faint motifs on the same .page-chart base ----------
   Case studies: sales and ACoS curves cross, five dots for the five accounts.
   About: a price curve with scattered data points and a marked optimum (the pricing-analyst background).
   Tools: slider tracks whose knobs drift slowly, like calculator inputs. All decorative and low opacity. */
.pc-cases svg.pc-wipe { animation: pc-wipe 2.6s ease-out both; }
.pc-cases .pc-stroke-a { fill: none; stroke: rgba(34, 229, 200, 0.28); stroke-width: 2; }
.pc-cases .pc-stroke-b { fill: none; stroke: rgba(232, 240, 246, 0.16); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.pc-cases .pc-dot { fill: rgba(34, 229, 200, 0.5); animation: pc-pulse 5s calc(var(--i, 0) * -1.1s) ease-in-out infinite alternate; }
.pc-about .pc-be { stroke: rgba(232, 240, 246, 0.1); stroke-width: 1.5; stroke-dasharray: 3 9; }
.pc-about .pc-curve { fill: none; stroke: rgba(34, 229, 200, 0.26); stroke-width: 2; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: hero-draw 3.2s ease-out forwards; }
.pc-about .pc-pt { fill: rgba(232, 240, 246, 0.26); animation: pc-pulse 7s calc(var(--i, 0) * -0.9s) ease-in-out infinite alternate; }
.pc-about .pc-ring { fill: none; stroke: rgba(34, 229, 200, 0.4); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pc-ring 4s ease-in-out infinite alternate; }
.pc-tools .pc-track { stroke: rgba(232, 240, 246, 0.14); stroke-width: 6; stroke-linecap: round; }
.pc-tools .pc-fill { fill: rgba(34, 229, 200, 0.2); transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(var(--sa)); animation: pc-fill var(--t, 12s) ease-in-out infinite alternate; }
.pc-tools .pc-knob { fill: rgba(11, 26, 43, 0.9); stroke: rgba(34, 229, 200, 0.45); stroke-width: 2.5; transform: translateX(var(--a)); animation: pc-knob var(--t, 12s) ease-in-out infinite alternate; }
@keyframes pc-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pc-pulse { from { opacity: 0.3; } to { opacity: 1; } }
@keyframes pc-ring { to { transform: scale(1.35); opacity: 0.4; } }
@keyframes pc-fill { to { transform: scaleX(var(--sb)); } }
@keyframes pc-knob { to { transform: translateX(var(--b)); } }
@media (prefers-reduced-motion: reduce) {
  .pc-cases svg.pc-wipe, .pc-cases .pc-dot, .pc-about .pc-pt, .pc-about .pc-ring, .pc-tools .pc-fill, .pc-tools .pc-knob { animation: none; }
  .pc-about .pc-curve { animation: none; stroke-dashoffset: 0; }
}
.pc-about { width: 85%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.pc-tools { width: 58%; }
@media (max-width: 760px) { .pc-about, .pc-tools { width: 100%; } }
@media (max-width: 760px) { .pc-tools { height: 34%; opacity: 0.75; } }


/* ---------- Playbook hub, Book and Privacy headers: three more faint motifs ----------
   Playbook: a trail of seven nodes (the lessons) that light up one after another.
   Book: a calendar grid whose open slots fade in and out.
   Privacy: a shield that draws itself, inside slowly turning dotted rings. All decorative. */
.pc-playbook .pc-trail { fill: none; stroke: rgba(34, 229, 200, 0.2); stroke-width: 2; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: hero-draw 3.4s ease-out forwards; }
.pc-playbook .pc-node-ring { fill: rgba(6, 17, 29, 0.85); stroke: rgba(34, 229, 200, 0.32); stroke-width: 2; }
.pc-playbook .pc-node-dot { fill: rgba(34, 229, 200, 0.9); opacity: 0.12; animation: pc-seq 11s calc(var(--i, 0) * 1.4s) ease-in-out infinite; }
.pc-book { width: 50%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50%); mask-image: linear-gradient(to right, transparent 0, #000 50%); }
.pc-book .pc-cell { fill: none; stroke: rgba(232, 240, 246, 0.06); stroke-width: 1.5; }
.pc-book .pc-slot { fill: rgba(34, 229, 200, 0.08); stroke: rgba(34, 229, 200, 0.2); opacity: 0; animation: pc-slot 9s calc(var(--i, 0) * 1.7s) ease-in-out infinite; }
.pc-privacy { width: 42%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%); mask-image: linear-gradient(to right, transparent 0, #000 35%); }
.pc-privacy .pc-orbit { fill: none; stroke: rgba(232, 240, 246, 0.1); stroke-width: 1.5; stroke-dasharray: 2 10; transform-box: fill-box; transform-origin: center; animation: pc-spin 140s linear infinite; }
.pc-privacy .pc-orbit-b { animation-direction: reverse; animation-duration: 100s; }
.pc-privacy .pc-shield { fill: rgba(34, 229, 200, 0.04); stroke: rgba(34, 229, 200, 0.17); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: hero-draw 2.8s ease-out forwards; }
.pc-privacy .pc-check { fill: none; stroke: rgba(34, 229, 200, 0.2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: hero-draw 1s 2.3s ease-out forwards; }
@keyframes pc-seq { 0%, 100% { opacity: 0.12; } 6% { opacity: 0.95; } 20% { opacity: 0.12; } }
@keyframes pc-slot { 0%, 100% { opacity: 0; } 12%, 40% { opacity: 1; } 55% { opacity: 0; } }
@keyframes pc-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .pc-book, .pc-privacy { width: 100%; } .pc-privacy { height: 70%; } .pc-book { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60%); mask-image: linear-gradient(to right, transparent 0, #000 60%); } }
@media (prefers-reduced-motion: reduce) {
  .pc-playbook .pc-node-dot, .pc-book .pc-slot, .pc-privacy .pc-orbit { animation: none; }
  .pc-playbook .pc-node-dot { opacity: 0.5; }
  .pc-book .pc-slot { opacity: 1; }
  .pc-playbook .pc-trail, .pc-privacy .pc-shield, .pc-privacy .pc-check { animation: none; stroke-dashoffset: 0; }
}

/* Reserve the home/lesson explainer's space while its script starts, so the content below does not jump.
   Heights are about 95% of the measured section height at each width. */
html.js .stage[hidden] { display: block; visibility: hidden; }
.stage { min-height: 660px; }
@media (max-width: 1000px) { .stage { min-height: 870px; } }
@media (max-width: 520px) { .stage { min-height: 920px; } }

/* Services: the first two weeks as a line that fills in as it scrolls into view */
.wk { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; position: relative; }
.wk::before, .wk::after { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 3px; border-radius: 3px; background: var(--rule); }
.wk::after { background: var(--teal-ink); transform-origin: left; }
.wk li { position: relative; padding-top: 52px; }
.wk-n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-ink); color: var(--white); font: 700 1rem var(--display); border: 3px solid var(--white); box-sizing: border-box; }
.wk h3 { margin: 0 0 6px; font-size: 1.15rem; }
.wk p { margin: 0; max-width: none; font-size: 1rem; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .wk.reveal { opacity: 1; transform: none; }
  .js .wk::after { transform: scaleX(0); transition: transform 2.4s ease-out 0.2s; }
  .js .wk.in::after { transform: scaleX(1); }
  .js .wk li { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .wk.in li { opacity: 1; transform: none; }
  .js .wk.in li:nth-child(1) { transition-delay: 0.1s; }
  .js .wk.in li:nth-child(2) { transition-delay: 0.9s; }
  .js .wk.in li:nth-child(3) { transition-delay: 1.7s; }
  .js .wk.in li:nth-child(4) { transition-delay: 2.5s; }
}
@media (max-width: 760px) {
  .wk { grid-template-columns: minmax(0, 1fr); gap: 26px 0; }
  .wk::before, .wk::after { left: 17px; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; }
  .wk::after { transform-origin: top; }
  .js .wk::after { transform: scaleY(0); }
  .js .wk.in::after { transform: scaleY(1); }
  .wk li { padding: 0 0 0 56px; min-height: 38px; }
}

/* Working photos (Services, About) */
.work-photo { margin: 0 0 48px; max-width: 960px; }
.work-photo img { width: 100%; border-radius: 14px; box-shadow: 10px 10px 0 var(--volt); }
.work-photo figcaption { margin-top: 18px; font: 400 0.9375rem/1.5 var(--sans); color: var(--muted); max-width: 64ch; }
.split .work-photo { margin: 32px 0 0; }
@media (max-width: 760px) { .work-photo img { box-shadow: 6px 6px 0 var(--volt); } .work-photo { margin-bottom: 36px; } }
.playbook-practice .work-photo { margin: 32px 0 0; }
.playbook-practice .work-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }

/* Contact stays a short native form; Netlify supplies and validates the spam check. */
.contact-spam-check{min-height:78px;margin:8px 0 20px}
[data-contact-form] + aside h2{font-size:1.6rem;line-height:1.25;margin-bottom:16px}
.contact-alternative{margin-top:24px}
.contact-alternative summary{cursor:pointer;font-weight:600;color:var(--ink)}
.contact-alternative summary:focus-visible{outline:2px solid var(--teal-ink);outline-offset:5px}
@media(max-width:420px){[data-contact-form]{padding:20px}.contact-spam-check{margin-left:0}}

/* Missing-page review: labels and numbers follow the site's report typography. */
.missing-review{max-width:560px;padding:24px;border:1px solid var(--rule);border-radius:14px;background:white;margin:0 0 48px}.missing-review>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;padding:12px 0;border-bottom:1px solid var(--rule)}.missing-review>div:last-child{border:0}.missing-review dt,.missing-review dd{font-family:'JetBrains Mono',monospace;font-size:14px}.missing-review dd{margin:0;overflow-wrap:anywhere}.missing-review .missing-note{font-family:'Instrument Sans',sans-serif;font-size:16px}.missing-verdict{color:var(--teal-ink);font-weight:600}@media(max-width:420px){.missing-review{padding:18px}.missing-review>div{grid-template-columns:90px minmax(0,1fr);gap:10px}}

/* Static continuation of the getting-started guide; never added to embeds. */
.path-next { padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 12px 28px; }
.path-next p { flex-basis: 100%; color: var(--muted); margin: 0; }
.path-next a { font-size: 1rem; }
