/* Layout concept: black bands broken by one white band; a fire glow (red into ember orange) rising from the
   bottom of the hero is the single bold move. Palette is strictly red / white / black. */
:root {
  --night: #0b0a0a;        /* page ground: warm black */
  --night-2: #161312;      /* raised dark surface */
  --charcoal: #1c1817;     /* secondary dark band */
  --line-dark: rgba(255,255,255,.12);
  --text-on-dark: #f7f4f2;
  --muted-on-dark: #b0a7a3;
  --coral: #ff3b2a;        /* Kelihi fire red, tuned for dark grounds */
  --coral-deep: #d81e10;   /* fire red on white */
  --ember: #ff7a1a;        /* the hot edge of the flame, used only inside gradients */
  --paper: #ffffff;        /* the one light band: plain white */
  --ink: #0b0a0a;
  --ink-muted: #5a5250;
  --line-light: #e6e1df;
  --beam: linear-gradient(90deg, #d81e10 0%, #ff3b2a 45%, #ff7a1a 100%);
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--text-on-dark);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.band { padding-block: 112px; position: relative; }
.band.charcoal { background: var(--charcoal); }
.band.paper { background: var(--paper); color: var(--ink); }
.band.tight { padding-block: 72px; }
.kicker { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); display: block; margin-bottom: 20px; }
.paper .kicker { color: var(--coral-deep); }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 750; letter-spacing: -.035em; }
.h-l { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.03em; }
.h-m { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted-on-dark); max-width: 60ch; line-height: 1.55; }
.paper .lede { color: var(--ink-muted); }
.muted { color: var(--muted-on-dark); }
.stack { display: grid; gap: 22px; }

/* Beam rule under the header, Tiger-style */
.beam-rule { height: 2px; background: var(--beam); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(11,10,10,.88); backdrop-filter: blur(10px) saturate(1.3); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; color: var(--text-on-dark); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; }
.brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); display: inline-block; font-style: normal; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-on-dark); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--text-on-dark); border-radius: 6px; padding: 8px 10px; cursor: pointer; }

/* Buttons: outlined with a beam border, arrow glyph */
.btn {
  --bg: var(--night);
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 6px;
  font-weight: 650; font-size: .98rem; text-decoration: none; color: var(--text-on-dark);
  border: 1.5px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--beam) border-box;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -10px rgba(255,59,42,.55); }
.btn .arr { font-size: 1.05em; line-height: 1; color: var(--coral); transition: transform .15s ease; }
.btn:hover .arr { transform: translate(2px,-2px); }
.btn.solid { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn.solid .arr { color: #fff; }
.btn.small { padding: 10px 16px; font-size: .85rem; }
.charcoal .btn { --bg: var(--charcoal); }
.paper .btn { --bg: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink .arr { color: var(--coral); }
.paper .textlink .arr { color: var(--coral-deep); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 104px 96px; isolation: isolate; }
.hero::before { /* the fire */
  content: ""; position: absolute; z-index: -1; left: 25%; right: -20%; bottom: -45%; height: 130%;
  background: radial-gradient(50% 55% at 55% 75%, rgba(255,122,26,.7) 0%, rgba(255,59,42,.55) 35%, rgba(216,30,16,.25) 60%, transparent 75%);
  filter: blur(30px);
}
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(11,10,10,.0) 55%, rgba(11,10,10,.35) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; background: var(--beam); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: 28px; }
.hero .btn-row { margin-top: 40px; }
.hero-meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--muted-on-dark); text-transform: uppercase; }
.hero-meta span::before { content: "●"; color: var(--coral); margin-right: 8px; font-size: .6em; vertical-align: middle; }
.page-hero { padding-block: 96px 80px; }
.page-hero .lede { margin-top: 24px; }

/* Pipeline diagram */
.pipe { width: 100%; height: auto; display: block; }
.pipe text { font-family: var(--font-mono); font-size: 11.5px; fill: var(--text-on-dark); letter-spacing: .02em; }
.pipe .lbl { fill: var(--muted-on-dark); font-size: 10px; letter-spacing: .14em; }
.pipe .node { fill: var(--night-2); stroke: var(--line-dark); }
.pipe .core { fill: #1f0f0c; stroke: url(#beamStroke); stroke-width: 1.5; }
.pipe .core-t { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pipe .wire { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.2; }
.pipe .flow { fill: none; stroke: url(#beamStroke); stroke-width: 1.6; stroke-dasharray: 4 14; animation: flow 1.6s linear infinite; }
.pipe .flow.slow { animation-duration: 2.4s; }
@keyframes flow { to { stroke-dashoffset: -36; } }
@media (prefers-reduced-motion: reduce) { .pipe .flow { animation: none; } .btn, .btn .arr { transition: none; } }

/* Client strip */
.clients { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 48px; padding-block: 30px; }
.clients small { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); }
.clients b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: var(--text-on-dark); }

/* Two-column intro */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.ledger { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.ledger li { display: grid; grid-template-columns: 6.8rem minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.ledger .n { font-family: var(--font-display); font-weight: 750; font-size: 1.7rem; letter-spacing: -.03em; color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.ledger .t { color: var(--muted-on-dark); }
.ledger .t b { color: var(--text-on-dark); font-weight: 600; }

/* Tinted service cards (the light band) */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.svc { border-radius: 14px; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 360px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-light); border-top: 3px solid var(--coral-deep); }
.svc:nth-child(1) { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.svc:nth-child(2) { background: var(--ink); border-color: var(--ink); border-top-color: var(--coral); color: #fff; }
.svc .glyph { width: 44px; height: 44px; stroke: var(--coral-deep); }
.svc:nth-child(1) .glyph, .svc:nth-child(2) .glyph { stroke: #fff; }
.svc h3 { font-size: 1.02rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.svc p { font-size: .97rem; opacity: .82; }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.svc li::before { content: "— "; color: var(--coral-deep); }
.svc:nth-child(1) li::before { color: #fff; }
.svc:nth-child(2) li::before { color: var(--coral); }
.svc .textlink { margin-top: auto; align-self: flex-start; font-size: .92rem; }
.svc:nth-child(1) .textlink .arr, .svc:nth-child(2) .textlink .arr { color: #fff; }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.work { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; transition: border-color .2s, transform .2s; }
.work:hover { border-color: rgba(255,59,42,.65); transform: translateY(-2px); }
.work .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.work .big { font-family: var(--font-display); font-weight: 750; font-size: clamp(2.4rem, 4vw, 3.3rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.work .big small { font-size: .45em; color: var(--muted-on-dark); letter-spacing: -.01em; margin-left: 4px; }
.work h3 { font-size: 1.2rem; }
.work p { color: var(--muted-on-dark); font-size: .97rem; }
.work .textlink { margin-top: auto; align-self: flex-start; font-size: .9rem; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.38; letter-spacing: -.012em; font-weight: 500; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--coral); margin-bottom: 18px; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .95rem; }
.quote cite b { font-weight: 700; }
.quote cite span { color: var(--muted-on-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-dark); }
.step { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.step .k { font-family: var(--font-mono); font-size: .78rem; color: var(--coral); letter-spacing: .1em; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted-on-dark); }

/* Not-a-fit panel */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.fit div { border-radius: 14px; padding: 30px; border: 1px solid var(--line-dark); }
.fit h3 { font-size: 1.1rem; margin-bottom: 14px; }
.fit ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted-on-dark); }
.fit .yes { background: var(--night-2); }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.cta::before { content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 50%; height: 2px; background: var(--beam); box-shadow: 0 0 40px 6px rgba(255,90,30,.35); transform: rotate(-4deg); opacity: .8; }
.cta-box { background: var(--night); border: 1px solid var(--line-dark); border-radius: 18px; padding: 64px 56px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.cta-box .lede { margin-top: 18px; }
.cta-side { display: grid; gap: 16px; justify-items: start; }
.mail { font-family: var(--font-mono); font-size: .92rem; color: var(--muted-on-dark); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mail code { color: var(--text-on-dark); font-family: inherit; user-select: all; }
.copy { background: none; border: 1px solid var(--line-dark); color: var(--muted-on-dark); border-radius: 5px; font: inherit; font-size: .75rem; padding: 3px 8px; cursor: pointer; }
.copy:hover { color: var(--text-on-dark); border-color: var(--muted-on-dark); }

/* Case studies page */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-on-dark); }
.chip:hover { color: var(--text-on-dark); border-color: var(--coral); }
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; padding-block: 72px; border-top: 1px solid var(--line-dark); scroll-margin-top: 90px; }
.case:first-child { border-top: 0; padding-top: 0; }
.case .meta { display: grid; gap: 18px; align-content: start; }
.case .meta .who { color: var(--muted-on-dark); }
.status { justify-self: start; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-on-dark); }
.status.live { color: var(--text-on-dark); border-color: var(--coral); }
.case .body { display: grid; gap: 24px; }
.case .body h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); font-weight: 500; margin-bottom: 8px; }
.case .body p { color: #d6cfcc; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-top: 8px; }
.results div { padding: 18px 18px 18px 0; display: grid; gap: 4px; }
.results div + div { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.results strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.results span { font-size: .86rem; color: var(--muted-on-dark); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.person { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.person .ph { aspect-ratio: 4 / 3; max-width: 100%; position: relative; background: linear-gradient(160deg, #2a100c 0%, #120d0c 70%); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: rgba(255,255,255,.85); letter-spacing: -.04em; }
.person .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person .info { padding: 24px 26px 28px; display: grid; gap: 8px; }
.person .role { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.person p { color: var(--muted-on-dark); font-size: .97rem; }

/* How-we-work page */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.principles h3 { font-size: 1.3rem; margin-bottom: 12px; }
.principles p { color: var(--muted-on-dark); }
.timeline { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.timeline div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.timeline b { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); font-weight: 500; padding-top: 4px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 6px; }
.timeline p { color: var(--muted-on-dark); }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tools span { font-family: var(--font-mono); font-size: .82rem; padding: 7px 13px; border: 1px solid var(--line-light); border-radius: 6px; color: var(--ink); background: #faf8f7; }
.faq { margin-top: 40px; border-top: 1px solid var(--line-dark); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-dark); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted-on-dark); max-width: 66ch; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.prose p, .prose li { color: #d6cfcc; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--coral); }

/* Footer */
.site-footer { background: #060505; border-top: 1px solid var(--line-dark); padding-block: 64px 36px; font-size: .93rem; color: var(--muted-on-dark); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark); font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text-on-dark); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Offer + intake form */
.offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.gets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gets li { padding-left: 28px; position: relative; }
.gets li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--beam); }
.intake { background: var(--night); border: 1px solid var(--line-dark); border-top: 3px solid var(--coral); border-radius: 14px; padding: 32px; display: grid; gap: 24px; justify-items: start; }
.grid-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; width: 100%; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); }
.field .hint { font-size: .78rem; color: var(--muted-on-dark); opacity: .75; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--text-on-dark); background: var(--night-2);
  border: 1px solid var(--line-dark); border-radius: 8px; padding: 12px 13px; transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-on-dark); opacity: .6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.field select:invalid { color: var(--muted-on-dark); }
.intake button { border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .92rem; color: var(--text-on-dark); border-left: 2px solid var(--coral); padding-left: 12px; }

/* Responsive */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid, .principles { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .split, .case, .cta-box, .offer { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .band { padding-block: 76px; }
  .hero { padding-block: 64px 64px; }
  .page-hero { padding-block: 64px 56px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 18px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a.btn { margin-top: 14px; justify-content: center; border-bottom: 1.5px solid transparent; }
  .svc-grid, .quotes, .fit, .grid-f, .people { grid-template-columns: minmax(0, 1fr); }
  .intake { padding: 24px 18px; }
  .svc { min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .results { grid-template-columns: minmax(0, 1fr); }
  .results div, .results div + div { padding: 14px 0; border-left: 0; }
  .results div + div { border-top: 1px solid var(--line-dark); }
  .timeline div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ledger li { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .cta-box { padding: 40px 24px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .clients .wrap { gap: 10px 28px; }
}
section[id] { scroll-margin-top: 80px; }

/* Seven nav items since Insights was added: tighten spacing before the mobile menu kicks in */
@media (min-width: 1081px) and (max-width: 1240px) { .nav { gap: 22px; } .nav a { letter-spacing: .05em; } }
.nav a { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1080px) { .nav-toggle { display: block; } .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 20px; } .nav.open { display: flex; } .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-dark); } .nav a.btn { margin-top: 14px; justify-content: center; border-bottom: 1.5px solid transparent; } }
