/* Growthline Digital site styles. Phone-first; all values come from tokens.css. */

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-ink :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: var(--track-head);
  line-height: var(--lh-head);
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; }
p { max-width: var(--max-text); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.5; }

.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.label--accent { color: var(--accent-ink); }
.mono { font-family: var(--font-mono); font-feature-settings: "zero" 1; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: var(--s-4); top: -100px; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); z-index: 100; }
.skip-link:focus { top: var(--s-4); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--s-8); }
.section--alt { background: var(--paper-2); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink .label { color: var(--ink-muted); }
.on-ink .lead, .on-ink p { color: var(--ink-muted); }
.on-ink a:not(.btn) { color: var(--accent); }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }

/* ---------- Logo (concept B: the underline breaks out) ---------- */
.logo {
  display: inline-flex; flex-direction: column; gap: 0.35em;
  color: var(--ink); text-decoration: none; font-size: 1.5rem; line-height: 1;
}
.logo__lockup { position: relative; display: inline-block; padding: 0 0.8em 0.62em 0; }
.logo__word { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.045em; }
.logo__line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 0.62em; overflow: visible; }
.logo__line path { fill: none; stroke: var(--accent); stroke-width: 0.12em; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.logo__dot { position: absolute; left: 97%; bottom: 0.527em; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--accent); transform: translate(-50%, 50%); }
.logo__sub { font-family: var(--font-mono); font-size: max(0.36em, 0.5625rem); letter-spacing: 0.32em; color: var(--muted); font-weight: 500; }
.on-ink .logo { color: var(--paper); }
.on-ink .logo__sub { color: var(--ink-muted); }
a.logo:hover .logo__dot { animation: blip 0.6s var(--ease); }
@keyframes blip { 50% { transform: translate(-50%, 50%) scale(1.6); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 76px; }
.site-header .logo { font-size: 1.35rem; }
.nav { display: none; }
.nav ul { list-style: none; padding: 0; display: flex; align-items: center; gap: var(--s-6); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-small); padding-block: var(--s-3); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent-ink); }
.menu-btn {
  min-width: var(--tap); min-height: var(--tap); display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  background: none; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink);
  font: 500 var(--fs-small) var(--font-body); padding-inline: var(--s-4); cursor: pointer;
}
.mobile-nav { border-top: 1px solid var(--rule); padding-block: var(--s-4) var(--s-5); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding: 0; display: grid; }
.mobile-nav a:not(.btn) { display: flex; align-items: center; min-height: var(--tap); color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.mobile-nav .btn { margin-top: var(--s-4); width: 100%; }
@media (min-width: 52rem) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0 var(--s-5);
  background: var(--accent); color: var(--on-accent);
  border: 2px solid var(--accent); border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 42px; padding-inline: var(--s-4); font-size: var(--fs-small); }
.on-ink .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-ink .btn--ghost { color: var(--paper); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.arrow { font-family: var(--font-mono); transition: transform 0.2s var(--ease); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: var(--s-8) var(--s-9); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero h1 { max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.h1-line { display: block; }
.hero__sub { margin-top: var(--s-5); }
.hero .btn-row { margin-top: var(--s-6); }
.hero__proof { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.hero__proof span { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.hero__proof b { color: var(--ink); font-weight: 500; }

/* ---------- Lead line: ad to booked, the signature visual ---------- */
.leadline { list-style: none; padding: 0; margin-top: var(--s-8); position: relative; }
.leadline__svg { display: none; }
.leadline li { position: relative; padding: 0 0 var(--s-5) var(--s-6); }
.leadline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: var(--stroke); background: var(--accent); transform-origin: top; animation: grow-y 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.45s + 0.2s); }
.leadline li:last-child::before { display: none; }
.leadline__dot { position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: var(--stroke) solid var(--accent); animation: pop 0.4s var(--ease) both; animation-delay: calc(var(--i) * 0.45s); }
.leadline li:last-child .leadline__dot { background: var(--accent); width: 19px; height: 19px; left: -2px; top: 0; }
.leadline__time { display: block; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.leadline__what { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.leadline li:last-child .leadline__what { color: var(--accent-ink); }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes reveal { to { clip-path: inset(-10px -10px -10px -10px); } }
/* With JavaScript, the lead line waits until it scrolls into view before it plays. */
.js .leadline:not(.in-view) .leadline__dot,
.js .leadline:not(.in-view) li::before,
.js .leadline:not(.in-view) .leadline__svg { animation-play-state: paused; }

@media (min-width: 56rem) {
  .leadline { height: 290px; }
  .leadline__svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(-10px 100% -10px -10px); animation: reveal 2.2s var(--ease) 0.2s forwards; }
  .leadline__svg polyline { fill: none; stroke: var(--accent); stroke-width: var(--stroke); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
  .leadline li { position: absolute; left: var(--x); top: var(--y); width: 17%; padding: 0; transform: translate(-7px, -7px); }
  .leadline li::before { display: none; }
  .leadline__dot { position: relative; display: block; margin-bottom: var(--s-3); }
  .leadline li:last-child .leadline__dot { left: -2px; top: -2px; margin-bottom: var(--s-2); }
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-5); }
.stat__num { display: block; font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-stat); line-height: 1; letter-spacing: -0.04em; }
.stat__num .unit { color: var(--accent); }
.stat__label { display: block; margin-top: var(--s-3); font-size: var(--fs-small); color: var(--ink-muted); max-width: 22ch; }
.stats__note { margin-top: var(--s-6); font-size: var(--fs-label); font-family: var(--font-mono); color: var(--ink-muted); }
@media (min-width: 56rem) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards ---------- */
.grid-2 { display: grid; gap: var(--s-4); }
.grid-3 { display: grid; gap: var(--s-4); }
@media (min-width: 48rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); }
.card--core { padding: var(--s-7) var(--s-6); border-top: var(--stroke) solid var(--accent); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.card--core h3 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.card ul { padding-left: 1.1em; display: grid; gap: var(--s-2); color: var(--ink-2); }
.card ul li::marker { color: var(--accent); }
.card__link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: var(--s-2); align-items: center; min-height: var(--tap); }

/* ---------- Steps: 01 Plan → 04 Improve ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--s-5); counter-reset: step; }
.steps li { border-top: 1px solid var(--ink); padding-top: var(--s-4); display: grid; gap: var(--s-2); }
.steps li:last-child { border-top: var(--stroke) solid var(--accent); }
.steps h3 { font-size: 1.375rem; }
.steps p { color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Case study card ---------- */
.case { border-radius: var(--radius-lg); overflow: hidden; display: grid; }
.case__body { padding: var(--s-7) var(--s-5); display: grid; gap: var(--s-5); }
.case h3, .case__title { font-size: clamp(1.75rem, 4vw, 2.75rem); max-width: 24ch; }
.case__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); border-top: 1px solid rgba(247, 245, 240, 0.18); padding-top: var(--s-5); }
.case__stats b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.75rem, 4.5vw, 2.5rem); letter-spacing: -0.03em; color: var(--paper); line-height: 1.1; }
.case__stats span { font-size: var(--fs-small); color: var(--ink-muted); }
.case__foot { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-muted); }
@media (min-width: 48rem) { .case__body { padding: var(--s-8) var(--s-7); } .case__stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Brand strip ---------- */
.brands { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: baseline; }
.brands span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: -0.02em; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-5); max-width: 36rem; }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-weight: 600; font-size: var(--fs-small); }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--tap); padding: var(--s-3) var(--s-4);
  background: var(--white); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--radius);
  font: 400 1rem/1.4 var(--font-body);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: var(--s-7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.field__help { font-size: 0.875rem; color: var(--muted); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); border-width: 2px; }
.field__error { font-size: 0.875rem; color: var(--error); font-weight: 500; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; min-height: var(--tap); padding-top: var(--s-2); cursor: pointer; font-size: var(--fs-small); }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s-8) calc(var(--s-8) + 64px); }
.site-footer__grid { display: grid; gap: var(--s-6); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--s-1); }
.site-footer a { color: var(--paper); text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.site-footer a:hover { color: var(--accent); }
.site-footer small { color: var(--ink-muted); font-size: var(--fs-label); font-family: var(--font-mono); }
@media (min-width: 48rem) { .site-footer { padding-bottom: var(--s-8); } .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Sticky call to action (phones only) ---------- */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom)); background: var(--ink); display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; }
.cta-bar p { color: var(--paper); font-size: var(--fs-small); font-weight: 500; line-height: 1.3; }
.cta-bar .btn { flex: none; }
@media (min-width: 52rem) { .cta-bar { display: none; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .leadline__svg { clip-path: none; }
}

/* ---------- Where leads go cold (Home) ---------- */
.cold { display: grid; gap: var(--s-4); }
@media (min-width: 48rem) { .cold { grid-template-columns: 1fr 1fr; } }
.cold__card { border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-5); align-content: start; }
.cold__card--off { background: var(--paper-2); border: 1px dashed var(--border); }
.cold__card--on { background: var(--white); border: 1px solid var(--rule); border-top: var(--stroke) solid var(--accent); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.cold__list { list-style: none; padding: 0; display: grid; gap: var(--s-4); position: relative; }
.cold__list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-3); align-items: baseline; }
.cold__list time, .cold__list .t { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.cold__list b { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; }
.cold__card--off li:nth-child(2) b { color: var(--ink-2); }
.cold__card--off li:nth-child(3) b, .cold__card--off li:nth-child(4) b { color: var(--muted); font-weight: 500; }
.cold__card--off li:last-child b { text-decoration: line-through; text-decoration-color: var(--muted); }
.cold__card--on li:last-child b { color: var(--accent-ink); }
@media (max-width: 22rem) { .cold__list li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Who we help ---------- */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.chips li { border: 1px solid var(--ink); border-radius: 999px; padding: var(--s-2) var(--s-4); font-weight: 500; font-size: var(--fs-small); background: var(--white); }

/* ---------- How we start + price ---------- */
.start { list-style: none; padding: 0; display: grid; gap: var(--s-5); counter-reset: start; }
.start li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); align-items: baseline; }
.start li::before { counter-increment: start; content: counter(start); font-family: var(--font-mono); font-size: 1.5rem; color: var(--accent); grid-row: span 2; line-height: 1; }
.start h3 { font-size: 1.25rem; }
.start p { color: var(--ink-muted); grid-column: 2; }
@media (min-width: 48rem) { .start { grid-template-columns: repeat(3, 1fr); } }
.price { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(247, 245, 240, 0.18); display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); align-items: baseline; }
.price b { font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--paper); letter-spacing: -0.03em; }
.price div span { color: var(--ink-muted); font-size: var(--fs-small); display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; min-height: var(--tap); padding-block: var(--s-4); font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--accent-ink); flex: none; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s-5); color: var(--ink-2); }

/* ---------- Final call to action ---------- */
.final { text-align: left; }
.final h2 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.02; max-width: 14ch; }
.final .btn-row { margin-top: var(--s-6); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding-block: var(--s-8) var(--s-7); overflow: hidden; border-bottom: 1px solid var(--rule); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); max-width: 18ch; margin-top: var(--s-4); }
.page-hero .lead { margin-top: var(--s-5); }

/* ---------- Jump links ---------- */
.jump { list-style: none; padding: 0; margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: var(--fs-small); font-weight: 500; background: var(--white); }
.jump a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Service detail ---------- */
.svc { scroll-margin-top: 96px; }
.svc__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.svc__head h2 { max-width: 16ch; }
.svc__cols { display: grid; gap: var(--s-6); }
@media (min-width: 56rem) { .svc__cols { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-7); } }
.svc__col { display: grid; gap: var(--s-4); align-content: start; border-top: 1px solid var(--ink); padding-top: var(--s-4); }
.svc__col--need { border-top-color: var(--accent); border-top-width: var(--stroke); }
.svc__col ul, .svc__col ol { padding-left: 1.1em; display: grid; gap: var(--s-3); color: var(--ink-2); }
.svc__col ul li::marker { color: var(--accent); }
.svc__col ol { list-style: none; padding: 0; counter-reset: how; }
.svc__col ol li { display: grid; grid-template-columns: 2rem 1fr; }
.svc__col ol li::before { counter-increment: how; content: "0" counter(how); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent-ink); padding-top: 0.2em; }
.svc__tools { margin-top: var(--s-7); display: grid; gap: var(--s-3); }
.svc__note { margin-top: var(--s-5); font-size: var(--fs-small); color: var(--muted); }
.support { display: grid; gap: var(--s-4); }
@media (min-width: 56rem) { .support { grid-template-columns: repeat(3, 1fr); } }
.support .card { scroll-margin-top: 96px; }
.support h3 { font-size: 1.5rem; }

/* ---------- Plan includes ---------- */
.includes { list-style: none; padding: 0; display: grid; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 48rem) { .includes { grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-7); } }
.includes li { display: flex; gap: var(--s-3); color: var(--paper); }
.includes li::before { content: "✓"; color: var(--accent); font-family: var(--font-mono); }
.on-ink .svc__col { border-top-color: rgba(247, 245, 240, 0.5); }
.on-ink .svc__col--need { border-top-color: var(--accent); }
.on-ink .svc__col ul, .on-ink .svc__col ol { color: var(--ink-muted); }
.on-ink .svc__col ol li::before { color: var(--accent); }
.on-ink .svc__tools p { color: var(--paper); max-width: 48rem; }
.svc__col b { color: var(--ink); font-weight: 600; }
.on-ink .svc__col b { color: var(--paper); }
.grid-4 { display: grid; gap: var(--s-4); }
@media (min-width: 40rem) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Work page ---------- */
.cs-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); letter-spacing: 0.02em; }
.cs-cols { display: grid; gap: var(--s-7); margin-top: var(--s-7); }
@media (min-width: 56rem) { .cs-cols { grid-template-columns: 1fr 1.3fr; } }
.cs-cols h3 { font-size: 1.375rem; margin-bottom: var(--s-3); }
.cs-cols p + h3 { margin-top: var(--s-6); }
.built { list-style: none; padding: 0; display: grid; gap: var(--s-5); counter-reset: built; }
.built li { display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s-1) var(--s-3); }
.built li::before { counter-increment: built; content: "0" counter(built); font-family: var(--font-mono); color: var(--accent-ink); font-size: var(--fs-label); padding-top: 0.3em; grid-row: span 2; }
.built b { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.built span { color: var(--ink-2); }
.results { list-style: none; padding: 0; display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.results li { color: var(--ink-muted); padding-left: var(--s-5); position: relative; }
.results li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 3px; background: var(--accent); }
.results b { color: var(--paper); font-family: var(--font-mono); font-weight: 500; }
.deliver { margin-top: var(--s-6); }
.deliver summary { font-size: 1rem; }
.deliver .deliver__grid { display: grid; gap: var(--s-5); padding-bottom: var(--s-5); }
@media (min-width: 48rem) { .deliver .deliver__grid { grid-template-columns: repeat(2, 1fr); } }
.deliver h4 { font-family: var(--font-mono); font-weight: 400; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-2); }
.deliver ul { padding-left: 1.1em; display: grid; gap: var(--s-1); color: var(--ink-2); font-size: var(--fs-small); }
.deliver li::marker { color: var(--accent); }
.tests { display: grid; gap: var(--s-4); }
@media (min-width: 56rem) { .tests { grid-template-columns: repeat(3, 1fr); } }
.test { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-4); align-content: start; }
.test dl { display: grid; gap: var(--s-4); }
.test dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.test dd { margin: var(--s-1) 0 0; }
.test dd.win { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
.test dd.win em { font-style: normal; color: var(--accent-ink); }
.earlier { display: grid; gap: var(--s-5); max-width: 52rem; }
.earlier div { border-top: 1px solid var(--rule); padding-top: var(--s-4); display: grid; gap: var(--s-1); }
.earlier b { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; }
.earlier span { color: var(--ink-2); }
.quote { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.35; border-left: var(--stroke) solid var(--accent); padding-left: var(--s-4); }
.card .result { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; color: var(--ink); border-top: 1px solid var(--rule); padding-top: var(--s-3); margin-top: auto; }

/* ---------- About page ---------- */
.about-intro { display: grid; gap: var(--s-6); }
@media (min-width: 56rem) { .about-intro { grid-template-columns: 1fr 1.2fr; gap: var(--s-8); } }
.about-intro p { color: var(--ink-2); }
.about-intro p + p { margin-top: var(--s-4); }
.timeline { list-style: none; padding: 0; position: relative; display: grid; gap: var(--s-6); }
.timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: var(--stroke); background: linear-gradient(var(--rule), var(--accent)); }
.timeline li { position: relative; padding-left: var(--s-7); display: grid; gap: var(--s-1); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: var(--stroke) solid var(--accent); }
.timeline li:last-child::before { background: var(--accent); width: 19px; height: 19px; left: -2px; top: 2px; }
.timeline time { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); }
.timeline b { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.015em; }
.timeline span { color: var(--ink-2); max-width: 40rem; }
.timeline li:last-child b { color: var(--accent-ink); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; gap: var(--s-1) var(--s-5); padding-block: var(--s-4); border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .facts div { grid-template-columns: 12rem 1fr; } }
.facts dt { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }
.facts dd { margin: 0; color: var(--ink); }
.principles { display: grid; gap: var(--s-4); }
@media (min-width: 48rem) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principles h3 { font-size: 1.375rem; }
.handoff { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 56rem) { .handoff { grid-template-columns: 1fr auto 1fr; align-items: stretch; } }
.handoff__side { border: 1px solid rgba(247, 245, 240, 0.25); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.handoff__side--us { border-color: var(--accent); }
.handoff__side h3 { font-size: 1.5rem; color: var(--paper); }
.handoff__side ul { padding-left: 1.1em; display: grid; gap: var(--s-2); color: var(--ink-muted); }
.handoff__side li::marker { color: var(--accent); }
.handoff__arrow { display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 1.75rem; color: var(--accent); }
@media (max-width: 55.99rem) { .handoff__arrow { transform: rotate(90deg); } }

/* ---------- Contact page ---------- */
.contact { display: grid; gap: var(--s-8); }
@media (min-width: 56rem) { .contact { grid-template-columns: 1.4fr 1fr; gap: var(--s-9); align-items: start; } }
.contact .form { max-width: none; }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.875rem; color: var(--muted); }
.form__status { font-weight: 500; color: var(--error); }
.form__status:empty { display: none; }
.aside { display: grid; gap: var(--s-6); }
@media (min-width: 56rem) { .aside { position: sticky; top: 110px; } }
.aside__block { border-top: 1px solid var(--ink); padding-top: var(--s-4); display: grid; gap: var(--s-3); }
.aside__block a:not(.btn) { font-weight: 500; }
.next { list-style: none; padding: 0; display: grid; gap: var(--s-3); counter-reset: next; }
.next li { display: grid; grid-template-columns: 2rem 1fr; color: var(--ink-2); }
.next li::before { counter-increment: next; content: "0" counter(next); font-family: var(--font-mono); font-size: var(--fs-label); color: var(--accent-ink); padding-top: 0.25em; }

/* ---------- Legal and simple pages ---------- */
.legal { max-width: var(--max-text); display: grid; gap: var(--s-4); }
.legal h2 { font-size: 1.5rem; margin-top: var(--s-6); }
.legal ul { padding-left: 1.2em; display: grid; gap: var(--s-2); color: var(--ink-2); }
.legal p { color: var(--ink-2); }
.legal li::marker { color: var(--accent); }
.simple { min-height: 60vh; display: grid; align-content: center; }

/* Fixes: keep the logo paper-coloured on dark sections; roomy tap targets in the contact sidebar */
.on-ink a.logo, .site-footer a.logo { color: var(--paper); }
.aside__block a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }

/* ---------- Brand logo strip (grey, optically balanced) ---------- */
.logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-7); }
.logos li { display: flex; align-items: center; min-height: 56px; }
.logos img { height: var(--h, 30px); width: auto; filter: grayscale(1) contrast(1.15); opacity: 0.68; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos__text { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink-2); opacity: 0.8; }
@media (max-width: 40rem) { .logos { gap: var(--s-4) var(--s-6); } .logos img { height: calc(var(--h, 30px) * 0.85); } }

/* ---------- Articles (Insights) ---------- */
.article-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); }
.prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: var(--s-8); }
.prose h3 { font-size: 1.3rem; margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: var(--s-2); }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: var(--stroke) solid var(--accent); padding-left: var(--s-4); font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; }
.prose .takeaway { background: var(--white); border: 1px solid var(--rule); border-top: var(--stroke) solid var(--accent); padding: var(--s-5); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.site-footer a:not(.btn) { color: var(--paper); }
.site-footer a:not(.btn):hover { color: var(--accent); }
