/* ============================================================
   HOLISTIC RADAR V2
   Search-Led Revenue Architecture

   A ground-up rebuild. The only inheritance from V1 is the palette
   direction: warm ivory, deep brown, burnt copper, soft beige,
   blue-gray. Structure, type scale, components, and motion are new.

   Architecture:
   1. Tokens
   2. Reset + base
   3. Radar Object System (unified 3D)
   4. Layout primitives
   5. Components
   6. Sections
   7. Motion
   8. Responsive
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* surfaces */
  --iv: #FEFCF7;   /* ivory, dominant background */
  --iv-2: #FEFCF7;   /* ivory alt, section separation */
  --beige:     #EFE6D8;   /* soft beige, cards and panels */
  --beige-2:   #E7DCCB;   /* beige pressed */
  --brown:     #1F1B16;   /* deep brown, primary type */
  --char:      #181512;   /* charcoal, contrast sections */

  /* signal */
  --cop:       #C6613F;   /* copper: CTA, sweep, active, key data */
  --cop-2:     #B0522F;   /* copper pressed */
  --cop-glow:  rgba(198, 97, 63, .22);
  --cop-dim:   rgba(198, 97, 63, .10);
  --blue:      #59729B;   /* blue-gray: AI, technical, secondary data */
  --blue-glow: rgba(89, 114, 155, .22);
  --blue-dim:  rgba(89, 114, 155, .10);

  /* ink */
  --ink:       #1F1B16;
  --ink-2:     #564E44;   /* body on ivory */
  --ink-3:     #8A8177;   /* labels, meta */
  --on-dark:   #F6F1E8;
  --on-dark-2: #A9A096;

  /* lines */
  --ln:        rgba(31, 27, 22, .12);
  --ln-2:      rgba(31, 27, 22, .22);
  --ln-dark:   rgba(246, 241, 232, .13);

  /* type */
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* scale: hero 68-84, h2 48-64, h3 22-28, body 18-21 */
  --t-h1:   clamp(40px, 5.4vw, 84px);
  --t-h2:   clamp(34px, 3.9vw, 62px);
  --t-h3:   clamp(20px, 1.8vw, 27px);
  --t-h4:   clamp(17px, 1.4vw, 20px);
  --t-body: clamp(16px, 1.16vw, 20px);
  --t-sm:   15px;
  --t-lbl:  12px;

  /* rhythm */
  --pad-sec: clamp(72px, 8.4vw, 148px);
  --gap:     clamp(36px, 4.6vw, 78px);
  --pad-card: clamp(24px, 2.2vw, 38px);
  --shell:   1240px;
  --gutter:  clamp(20px, 3.4vw, 40px);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, .68, .12, 1);
  --sh-1: 0 1px 2px rgba(31,27,22,.05), 0 8px 26px -14px rgba(31,27,22,.14);
  --sh-2: 0 2px 4px rgba(31,27,22,.05), 0 26px 60px -26px rgba(31,27,22,.28);
}

/* ---------- 2. RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--iv);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.03em; line-height: 1.03; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.16; }
h4 { font-size: var(--t-h4); letter-spacing: -.015em; line-height: 1.2; }
p { text-wrap: pretty; }
a { color: var(--cop); text-decoration: none; }
a:hover { color: var(--cop-2); }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cop); outline-offset: 3px; border-radius: 3px;
}
::selection { background: var(--cop-glow); color: var(--ink); }
[id] { scroll-margin-top: 100px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 10px; left: -9999px; z-index: 200;
  background: var(--cop); color: var(--iv);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { left: 10px; color: var(--iv); }

/* ---------- 3. RADAR OBJECT SYSTEM ---------- */
/* One unified 3D language: ivory ceramic planes, brown bases, copper
   signal, blue-gray data. Semi-isometric, one camera angle, one light
   source. Every object composes from the same four primitives. */
.ro {
  --ro-size: 96px;
  --ro-tilt: 58deg;
  --ro-spin: -38deg;
  width: var(--ro-size); height: var(--ro-size);
  perspective: 760px; perspective-origin: 50% 42%;
  flex: 0 0 auto; position: relative;
}
.ro-scene {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--ro-tilt)) rotateZ(var(--ro-spin));
  transition: transform .7s var(--ease);
}
.ro-sm { --ro-size: 62px; }
.ro-lg { --ro-size: 132px; }

/* plane: the ceramic tile */
.ro-p {
  position: absolute; left: 50%; top: 50%;
  width: var(--w, 54px); height: var(--w, 54px);
  margin: calc(var(--w, 54px) / -2) 0 0 calc(var(--w, 54px) / -2);
  background: linear-gradient(148deg, #FFFCF6, var(--beige));
  border: 1.5px solid var(--ln-2);
  border-radius: var(--r-sm);
  box-shadow: 0 10px 22px -12px rgba(31,27,22,.42);
  transform: translate3d(var(--x, 0px), var(--y, 0px), var(--z, 0px));
  transition: transform .7s var(--ease), border-color .4s, background .4s;
}
.ro-p.dark { background: linear-gradient(148deg, #35302A, var(--char)); border-color: rgba(246,241,232,.16); }
.ro-p.cop  { background: linear-gradient(148deg, #D97A57, var(--cop)); border-color: var(--cop-2); }
.ro-p.blue { background: linear-gradient(148deg, #7189B0, var(--blue)); border-color: #46597B; }
.ro-p.ghost { background: rgba(31,27,22,.03); border-style: dashed; box-shadow: none; }

/* node: the signal point */
.ro-n {
  position: absolute; left: 50%; top: 50%;
  width: var(--dia, 9px); height: var(--dia, 9px);
  margin: calc(var(--dia, 9px) / -2) 0 0 calc(var(--dia, 9px) / -2);
  border-radius: 50%; background: var(--cop);
  box-shadow: 0 0 0 4px var(--cop-dim);
  transform: translate3d(var(--x, 0px), var(--y, 0px), var(--z, 0px));
  transition: transform .7s var(--ease);
}
.ro-n.blue { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-dim); }
.ro-n.dark { background: var(--char); box-shadow: 0 0 0 4px rgba(31,27,22,.08); }

/* ring: the scan */
.ro-r {
  position: absolute; left: 50%; top: 50%;
  width: var(--w, 70px); height: var(--w, 70px);
  margin: calc(var(--w, 70px) / -2) 0 0 calc(var(--w, 70px) / -2);
  border: 1.5px solid var(--cop); border-radius: 50%;
  transform: translate3d(0, 0, var(--z, 0px));
  transition: transform .7s var(--ease);
}
.ro-r.dim { border-color: var(--ln-2); }
.ro-r.blue { border-color: var(--blue); }

/* bar: the measurement riser */
.ro-b {
  position: absolute; left: 50%; bottom: 50%;
  width: 9px; height: var(--h, 22px);
  background: linear-gradient(180deg, var(--cop), #A8492A);
  border-radius: 2px 2px 0 0;
  transform-origin: 50% 100%;
  transform: translateX(var(--x, 0px)) rotateX(-90deg);
  transition: height .6s var(--ease);
}
.ro-b.blue { background: linear-gradient(180deg, var(--blue), #3F5478); }

/* idle drift, in-view only (JS toggles .live) */
@media (prefers-reduced-motion: no-preference) {
  .ro.live .ro-scene { animation: ro-drift 9s ease-in-out infinite alternate; }
  .ro.live .ro-n { animation: ro-bob 3.6s ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
  .ro.live .ro-r { animation: ro-pulse 4.4s ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
}
@keyframes ro-drift {
  from { transform: rotateX(58deg) rotateZ(-40deg); }
  to   { transform: rotateX(53deg) rotateZ(-26deg); }
}
@keyframes ro-bob {
  from { transform: translate3d(var(--x,0px), var(--y,0px), var(--z,0px)); }
  to   { transform: translate3d(var(--x,0px), var(--y,0px), calc(var(--z,0px) + 9px)); }
}
@keyframes ro-pulse {
  from { transform: translate3d(0,0,var(--z,0px)) scale(1); opacity: 1; }
  to   { transform: translate3d(0,0,var(--z,0px)) scale(1.1); opacity: .72; }
}
/* hover deepens the angle on the owning card */
.card:hover .ro-scene, .ro:hover .ro-scene {
  animation-play-state: paused;
  transform: rotateX(50deg) rotateZ(-12deg);
}
.ro.live { contain: layout paint; }

/* ---------- 4. LAYOUT ---------- */
.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gutter);
}
.sec { padding-block: var(--pad-sec); position: relative; }
.sec-beige { background: var(--iv-2); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap); align-items: center;
}
.split-wide { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.split-narrow { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }

/* section head */
.head h2 { max-width: 17em; }


.lbl {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: var(--t-lbl);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 20px;
}
.lbl::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cop); flex: 0 0 auto;
}
.lead {
  font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6;
  color: var(--ink-2); max-width: 62ch; margin-top: 22px;
}
.acc { color: var(--cop); }
.acc-b { color: var(--blue); }

/* ---------- 5. COMPONENTS ---------- */
/* button */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: var(--t-sm);
  font-weight: 500; letter-spacing: .01em;
  padding: 15px 26px; border-radius: var(--r-pill);
  background: var(--cop); color: #FFF9F5;
  border: 1.5px solid var(--cop);
  white-space: nowrap; cursor: pointer;
  transition: background .24s, border-color .24s, transform .32s var(--ease), box-shadow .3s;
}
.btn:hover {
  background: var(--cop-2); border-color: var(--cop-2); color: #FFF9F5;
  box-shadow: 0 14px 34px -12px var(--cop-glow);
}
.btn-2 {
  background: transparent; color: var(--ink); border-color: var(--ln-2);
}
.btn-2:hover { background: rgba(31,27,22,.04); border-color: var(--ink); color: var(--ink); box-shadow: none; }


.btn-full { width: 100%; justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: .03em;
  color: var(--cop);
}
.tlink::after { content: "→"; transition: transform .3s var(--ease); }
.tlink:hover::after { transform: translateX(4px); }

/* card */
.card {
  background: var(--iv);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: var(--pad-card);
  transition: border-color .3s, box-shadow .35s, transform .35s var(--ease);
}
.card:hover { border-color: var(--ln-2); box-shadow: var(--sh-2); transform: translateY(-3px); }

.card-beige { background: var(--beige); border-color: transparent; }

/* chip */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--ln-2); color: var(--ink-3);
}
.chip-cop { color: var(--cop); border-color: var(--cop); background: var(--cop-dim); }
.chip-blue { color: var(--blue); border-color: var(--blue); background: var(--blue-dim); }

/* hairline grid: shared by every multi-card block */
.hgrid {
  display: grid; gap: 1px;
  background: var(--ln-2);
  border: 1px solid var(--ln-2);
  border-radius: var(--r);
  overflow: hidden;
}
.hgrid > * { background: var(--iv); padding: var(--pad-card); transition: background .3s; }
.hgrid > *:hover { background: #FFFDF8; }



.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* numbered step list */
.steps { display: grid; }
.steps li {
  display: grid; grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--ln);
  font-size: clamp(15px, 1.25vw, 19px); font-weight: 600;
  letter-spacing: -.015em;
  transition: padding-left .32s var(--ease), color .3s;
}
.steps li:first-child { border-top: 1px solid var(--ln); }
.steps li:hover { padding-left: 10px; color: var(--cop); }
.steps li b {
  font-family: var(--mono); font-weight: 400; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cop);
}

/* metric */
.met dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .17em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px;
}
.met dd {
  font-size: clamp(26px, 2.7vw, 40px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1;
}

/* ---------- 6. SECTIONS ---------- */
/* nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 239, .82);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--ln);
}
.nav-in {
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px);
  height: 82px;
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 19px; font-weight: 700; letter-spacing: -.03em;
  color: var(--ink); flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: var(--beige); border: 1px solid var(--ln-2);
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand em { font-style: normal; color: var(--cop); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); margin-left: auto; }
.nav-links > a, .nav-t {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--ink-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > a:hover, .nav-t:hover { color: var(--cop); }
.nav-cta { padding: 12px 20px; font-size: 12.5px; }
.caret {
  width: 5px; height: 5px; border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px); transition: transform .3s var(--ease);
}
.nav-g.open .caret { transform: rotate(-135deg) translateY(-1px); }
.nav-g { display: flex; align-items: center; }
.nav-g.open .nav-t { color: var(--cop); }

/* burger */
.burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border: 1px solid var(--ln-2); border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav.open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* dropdown */
.dd {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--iv);
  border-bottom: 1px solid var(--ln);
  box-shadow: 0 34px 70px -30px rgba(31,27,22,.34);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 99;
}
.nav-g.open .dd { opacity: 1; visibility: visible; transform: none; }
.dd-in {
  width: 100%; max-width: var(--shell); margin-inline: auto;
  padding: 34px var(--gutter) 38px;
  display: grid; gap: clamp(24px, 3vw, 52px);
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(210px, .8fr);
}
.dd-in.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(210px, .8fr); }
.dd-in.n1 { grid-template-columns: minmax(0, 1fr) minmax(210px, .8fr); }
.dd-h {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cop); margin-bottom: 14px;
}
.dd-col a {
  display: block; padding: 9px 12px; margin-inline: -12px;
  border-radius: var(--r-sm); color: var(--ink);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  transition: background .22s, padding-left .24s var(--ease);
}
.dd-col a span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; letter-spacing: 0; }
.dd-col a:hover { background: var(--beige); padding-left: 17px; color: var(--cop); }
.dd-aside {
  background: var(--beige); border-radius: var(--r);
  padding: 26px; display: grid; gap: 14px; align-content: center;
}
.dd-aside p { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.dd-aside .btn { justify-self: start; padding: 12px 20px; font-size: 12.5px; }

/* hero */
.hero { padding-block: clamp(64px, 8.6vw, 128px) clamp(56px, 7.4vw, 112px); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: -6%; right: -12%;
  width: min(680px, 66vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--cop-glow), transparent 64%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero > .shell { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
}
.hero h1 { max-width: 13em; }
.hero h1 > span { display: block; }
.hero-lead { font-size: clamp(17px, 1.34vw, 21px); line-height: 1.58; color: var(--ink-2); max-width: 44ch; margin-top: 26px; }
.hero-pb { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.hero-pb em { font-style: normal; color: var(--ink); font-weight: 600; }
.hero-proof {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ln);
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-family: var(--mono); font-size: clamp(10.5px, .82vw, 12px);
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3);
}
.hero-proof i { color: var(--cop); font-style: normal; }
.hero-team { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 46ch; }

/* hero radar object */
.radar { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.radar svg { width: 100%; height: 100%; }
.radar-lbl {
  position: absolute; margin: 0; pointer-events: none;
  font-family: var(--mono); font-size: clamp(9px, .78vw, 10.5px);
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap;
}
.radar-lbl b { color: var(--cop); font-weight: 500; }
.radar-lbl.b { color: var(--blue); }







/* trust */
.trust-names {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline;
  font-size: clamp(15px, 1.42vw, 21px); font-weight: 600; letter-spacing: -.02em;
  margin-bottom: 32px;
}
.trust-names i { color: var(--cop); font-style: normal; }

/* pipeline (problem) */
.pipe { display: grid; gap: 1px; background: var(--ln); border-block: 1px solid var(--ln); margin: 34px 0; }
.pipe.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipe > div { background: var(--iv); padding: 22px 20px; }
.pipe b { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; font-weight: 400; }
.pipe s { display: block; text-decoration: line-through; text-decoration-color: var(--ln-2); color: var(--ink-3); font-size: 14px; }
.pipe span { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; margin-top: 4px; }
.pipe span::before { content: "→ "; color: var(--cop); }
.close-line { font-size: clamp(21px, 2.3vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; max-width: 26ch; }

/* engine cards */
.eng > * { display: flex; flex-direction: column; }
.eng h3 { margin: 18px 0 10px; }
.eng-what { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.eng-fix { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); line-height: 1.5; padding-bottom: 14px; }
.eng-out {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ln);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.45;
}
.eng-out b { color: var(--cop); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 5px; font-weight: 400; }

/* results */
.res > * { display: flex; flex-direction: column; }
.res-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--ink-3); }
.res h3 { margin-bottom: 4px; }
.res-dom { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 18px; }
.res-mets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 0; border-block: 1px solid var(--ln); margin-bottom: 16px; }
.res-mets dt { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.res-mets dd { font-size: clamp(19px, 1.8vw, 25px); font-weight: 700; letter-spacing: -.03em; color: var(--cop); line-height: 1; }
.res-rows { display: grid; gap: 9px; margin-bottom: 18px; font-size: 13.5px; }
.res-rows > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.res-rows dt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.res-rows dd { color: var(--ink-2); }
.res-ver { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--blue); padding-top: 14px; border-top: 1px dashed var(--ln-2); }

/* method preview */
.layers > * { display: grid; gap: 6px; align-content: start; }
.layers b { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--cop); }
.layers h4 { font-size: 16.5px; }
.layers span { font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.layers > *:last-child { background: var(--beige); }



/* AI signals */
.sig > * { display: grid; gap: 6px; }
.sig b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.sig span { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }

/* scan report */
.report {
  background: var(--iv); border: 1px solid var(--ln-2);
  border-top: 2px solid var(--cop); border-radius: var(--r);
  padding: clamp(24px, 2.4vw, 34px); box-shadow: var(--sh-2);
}
.report-k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cop); margin-bottom: 20px; }
.score { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--ln); }
.score b { font-size: clamp(48px, 5.6vw, 74px); font-weight: 700; letter-spacing: -.05em; line-height: .92; }
.score i { font-size: 20px; font-weight: 600; color: var(--ink-3); font-style: normal; }
.score span { flex: 1 0 100%; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 9px; }
.report-rows > div { padding: 15px 0; border-bottom: 1px solid var(--ln); }
.report-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.report-rows dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--cop); margin-bottom: 5px; }
.report-rows dd { font-size: 15.5px; line-height: 1.45; font-weight: 500; }
.deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; margin: 28px 0 0; }
.deliv li { font-size: 14.5px; color: var(--ink-2); padding-left: 20px; position: relative; line-height: 1.45; }
.deliv li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--cop); }

/* team */
.team-g > * { display: flex; flex-direction: column; }
.team-lyr { font-family: var(--mono); font-size: 9.5px; letter-spacing: .19em; text-transform: uppercase; color: var(--cop); margin-bottom: 14px; }
.team-g h3 { font-size: clamp(18px, 1.6vw, 21px); margin-bottom: 5px; }
.team-role { font-family: var(--mono); font-size: 11.5px; color: var(--ink); line-height: 1.5; margin-bottom: 12px; }
.team-cred { font-size: 12.5px; color: var(--blue); padding-bottom: 14px; border-bottom: 1px solid var(--ln); margin-bottom: 14px; }
.team-does { margin-top: auto; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* form */
.form { display: grid; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 7px; }
.f label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.f input, .f select, .f textarea {
  background: var(--iv); border: 1px solid var(--ln-2); border-radius: var(--r-sm);
  color: var(--ink); font-family: var(--sans); font-size: 15.5px;
  padding: 13px 14px; width: 100%; resize: vertical;
}
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--cop); box-shadow: 0 0 0 3px var(--cop-dim); }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-3); }
.form-note { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: center; }

/* footer */
.foot { background: var(--char); color: var(--on-dark); padding-block: clamp(56px, 6.4vw, 92px) 32px; }
.foot-top {
  display: grid; grid-template-columns: minmax(232px, 1.5fr) repeat(5, minmax(112px, 1fr));
  gap: clamp(24px, 2.8vw, 46px);
  padding-bottom: clamp(34px, 4vw, 52px); border-bottom: 1px solid var(--ln-dark);
}
.foot .brand { color: var(--on-dark); margin-bottom: 18px; }
.foot .brand-mark { background: #2A241E; border-color: rgba(246,241,232,.2); box-shadow: none; }
.foot-pitch { font-size: 15.5px; line-height: 1.5; color: var(--on-dark-2); max-width: 32ch; margin-bottom: 22px; }
.foot-h { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cop); margin-bottom: 15px; }
.foot-col ul { display: grid; gap: 9px; }
.foot-col a { font-size: 13.5px; color: var(--on-dark-2); transition: color .22s, padding-left .24s var(--ease); }
.foot-col a:hover { color: var(--on-dark); padding-left: 4px; }
.foot-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.foot-meta { font-family: var(--mono); font-size: 11px; color: rgba(246,241,232,.5); line-height: 1.8; }
.foot-soc { display: flex; gap: 9px; flex-wrap: wrap; }
.foot-soc a {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-2); border: 1px solid rgba(246,241,232,.22);
  border-radius: var(--r-pill); padding: 9px 15px;
  transition: all .24s;
}
.foot-soc a:hover { background: var(--cop); border-color: var(--cop); color: #FFF9F5; }

/* progress + floating CTA */
.prog { position: fixed; top: 0; left: 0; height: 2px; background: var(--cop); z-index: 101; width: 0; transition: width .1s linear; }
.float {
  position: fixed; right: clamp(16px, 2.2vw, 28px); bottom: clamp(16px, 2.2vw, 28px);
  z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.float.on { opacity: 1; transform: none; pointer-events: auto; }
.float-wa {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--iv); border: 1px solid var(--ln-2); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--sh-1);
  transition: background .24s, transform .24s;
}
.float-wa:hover { background: var(--cop); border-color: var(--cop); color: #FFF9F5; transform: translateY(-2px); }
.float-wa svg { width: 21px; height: 21px; }

/* ---------- 7. MOTION ---------- */
.rv { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ro-scene, .ro-n, .ro-r, .ro-b { animation: none !important; transition: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 8. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe.g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(212px, 1fr) repeat(2, minmax(120px, 1fr)); }
}
@media (max-width: 1080px) {
  .nav-links {
    position: absolute; top: 82px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--iv-2); border-bottom: 1px solid var(--ln);
    box-shadow: 0 18px 34px -18px rgba(31,27,22,.2);
    max-height: 0; overflow: hidden; visibility: hidden; opacity: 0;
    pointer-events: none; transition: max-height .34s var(--ease), opacity .2s, visibility .34s;
  }
  .nav.open .nav-links { max-height: calc(100vh - 82px); overflow-y: auto; visibility: visible; opacity: 1; pointer-events: auto; }
  .nav-links > a, .nav-t { padding: 15px var(--gutter); border-bottom: 1px solid var(--ln); width: 100%; justify-content: space-between; }
  .nav-g { display: block; width: 100%; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--iv); display: none; }
  .nav-g.open .dd { display: block; }
  .dd-in, .dd-in.n2, .dd-in.n1 { grid-template-columns: 1fr; padding: 18px var(--gutter); gap: 22px; }
  .dd-col a span { display: none; }
  .dd-aside { display: none; }
}
@media (max-width: 859px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .split, .split-wide, .split-narrow { grid-template-columns: 1fr; }
  .radar { max-width: 420px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head, 
}
@media (max-width: 680px) {
  .g2, .g3, .g4, .g5, .pipe.g5 { grid-template-columns: 1fr; }
  .frow, .deliv { grid-template-columns: 1fr; }
  .res-mets { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .steps li { grid-template-columns: 52px 1fr; gap: 12px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  
  
}
@media (max-width: 420px) {
  .foot-top { grid-template-columns: 1fr; }
  .trust-names { gap: 6px 16px; }
}
@media (max-height: 560px) { .float { display: none; } }


/* ---------- hero radar motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .sweep { transform-origin: 280px 280px; animation: rad-sweep 8s linear infinite; }
  .bl { animation: rad-blip 8s ease-out infinite; animation-delay: var(--bd, 0s); }
  .pulse { transform-origin: 280px 280px; animation: rad-pulse 3s ease-out infinite; }
  .rpath { stroke-dasharray: 5 5; animation: rad-flow 1.6s linear infinite; }
}
@keyframes rad-sweep { to { transform: rotate(360deg); } }
@keyframes rad-blip {
  0%, 5% { opacity: 0; }
  9% { opacity: 1; }
  42% { opacity: .9; }
  72%, 100% { opacity: 0; }
}
@keyframes rad-pulse {
  0% { transform: scale(.4); opacity: .85; }
  100% { transform: scale(3.2); opacity: 0; }
}
@keyframes rad-flow { to { stroke-dashoffset: -20; } }
.bl { fill: var(--cop); opacity: 0; }
.bl.b { fill: var(--blue); }
.radar { cursor: crosshair; }
.radar.track .sweep {
  animation: none;
  transform: rotate(var(--tr, 0deg));
  transition: transform .18s var(--ease);
}


/* brand lockup: mark + single wordmark item, so gap applies once */
.brand-word { display: inline; white-space: nowrap; }


/* real brand mark asset */
.brand-mark img { width: 24px; height: 24px; object-fit: contain; }


/* ============================================================
   BRAND: bare mark, no container box
   ============================================================ */
.brand-img { width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; }
.foot .brand-img { width: 38px; height: 38px; }

/* ============================================================
   HERO: light grid field + subhead line
   The grid reads as an instrument plane rather than a texture:
   it fades out toward the edges so the type stays the subject.
   ============================================================ */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(31,27,22,.055) 1px, transparent 1px) 0 0 / 100% 68px,
    linear-gradient(90deg, rgba(31,27,22,.055) 1px, transparent 1px) 0 0 / 68px 100%;
  mask-image: radial-gradient(118% 96% at 62% 22%, #000 0%, rgba(0,0,0,.55) 46%, transparent 82%);
  -webkit-mask-image: radial-gradient(118% 96% at 62% 22%, #000 0%, rgba(0,0,0,.55) 46%, transparent 82%);
}
.h1-sub {
  display: block; margin-top: 14px;
  font-size: clamp(17px, 1.5vw, 25px); font-weight: 500;
  letter-spacing: -.02em; color: var(--ink-2);
}

/* hero fits one screen: tighter block, radar level with the title */
.hero { padding-block: clamp(48px, 5.4vw, 84px) clamp(52px, 6vw, 96px); }
.hero-grid { align-items: start; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
}
.hero h1 { max-width: 15em; }
.hero-lead { margin-top: 22px; }
.cta-row { margin-top: 26px; }
.hero-proof { margin-top: 22px; padding-top: 18px; }
.hero-team { margin-top: 12px; }
.radar { margin-top: 4px; max-width: 480px; }

/* ============================================================
   SECTION SEPARATOR
   An organic signal trace: hand-drawn weight, three detection
   marks, one sweep tick. Replaces the hard rule so section
   changes read as intentional punctuation.
   ============================================================ */
.sep { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.sep svg { width: 100%; height: 34px; display: block; overflow: visible; }




@media (prefers-reduced-motion: no-preference) {
  
  .sep.in 
  .sep.in 
  .sep.in 
  .sep.in 
  .sep.in 
  .sep.in 
}
@keyframes sep-draw { to { stroke-dashoffset: 0; } }
@keyframes sep-pop { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* the trace now punctuates, so drop the surface borders */
.sec-beige, 

/* ============================================================
   ALIGNMENT: one shared measure, one baseline
   Every section head, lead, and grid resolves the same left
   edge and the same max measure, so nothing drifts.
   ============================================================ */
.sec > .shell > .head,
.sec > .shell > 
.sec > .shell > .hgrid { margin-top: 0; }
.head h2, 
.lead { margin-top: 20px; }

.split > * > .lbl:first-child { margin-top: 0; }
.close-line { margin-top: clamp(26px, 2.6vw, 40px); }


@media (max-width: 859px) {
  .hero-grid { align-items: center; }
}
@media (max-width: 960px) {
  .sep svg { height: 26px; }
}

/* separator uses the reveal observer for its draw, not the lift */
.sep.rv { opacity: 1; transform: none; transition: none; }


/* ============================================================
   HERO FIRST-SCREEN FIT
   .radar derived its height from column width via aspect-ratio,
   with no viewport cap, so a 4-line H1 pushed a 394px object into
   233px of remaining viewport. Cap against vh and let width follow;
   tighten the H1 clamp so the headline resolves to 3 lines.
   ============================================================ */
.hero h1 { font-size: clamp(34px, 4.1vw, 60px); max-width: 17em; }
.h1-sub { font-size: clamp(16px, 1.28vw, 21px); margin-top: 11px; }


/* keep the diagnostic card inside the visible box */


@media (min-height: 900px) {
  
}
@media (max-width: 859px) {
  
}

/* ============================================================
   SEPARATOR: draw without depending on the reveal observer
   stroke-dasharray was 2000 against a 1601 path length, so any
   element that never received .in stayed fully hidden. Base state
   is now drawn; .in only replays the draw where it fires.
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .sep.in 
  
}
@keyframes sep-draw { from { stroke-dashoffset: 1650; } to { stroke-dashoffset: 0; } }


/* ============================================================
   HEADLINE MEASURE
   Each span must hold one line. At 924px the copy column was
   410px while the longest span needs ~560px at the resolved size,
   so both spans wrapped and the headline rendered 5 lines instead
   of 3, pushing the primary CTA to the fold edge. Fix the measure:
   shrink the mid-range of the clamp and widen the copy column in
   the band where the squeeze occurs.
   ============================================================ */
.hero h1 { font-size: clamp(30px, 3.3vw, 60px); max-width: 19em; text-wrap: nowrap; }
.hero h1 > span { text-wrap: balance; }

/* 900-1180: copy column takes more of the grid so each span fits one line */
@media (max-width: 1180px) and (min-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.34fr) minmax(0, .66fr); gap: clamp(24px, 2.6vw, 40px); }
  .hero h1 { font-size: clamp(28px, 3.05vw, 40px); }
  
}
/* below 960 the grid stacks, so the full width is available */
@media (max-width: 859px) {
  .hero h1 { font-size: clamp(30px, 5.4vw, 48px); }
}
/* short viewports: recover vertical room from the type block */
@media (max-height: 620px) {
  .hero { padding-block: clamp(28px, 3.4vw, 48px) clamp(32px, 4vw, 56px); }
  .hero h1 { font-size: clamp(30px, 3.4vw, 46px); }
  .h1-sub { font-size: clamp(14px, 1.1vw, 17px); margin-top: 8px; }
  .hero-lead { margin-top: 16px; font-size: clamp(15px, 1.15vw, 17px); }
  .cta-row { margin-top: 20px; }
  .hero-proof { margin-top: 16px; padding-top: 14px; }
  .hero-team { display: none; }
}

/* the CTA row is a conversion surface, not reflowable text */
.hero .cta-row { flex-wrap: nowrap; }
@media (max-width: 520px) { .hero .cta-row { flex-wrap: wrap; } }

/* tlink: the arrow belongs to the label, so it can never orphan */
.tlink { display: inline; white-space: nowrap; }
.tlink::after { content: "\00a0→"; display: inline; }


/* ============================================================
   SECTION SURFACES: FADE, NOT CUT
   A hard background edge plus a separator is two devices doing
   one job, which is why the trace read as decoration beside a
   seam. Surfaces now dissolve into the page so the trace is the
   only boundary marker.
   ============================================================ */
.sec-beige { background: transparent; }






/* ============================================================
   SEPARATOR: NOISE RESOLVING INTO SIGNAL
   Left: scattered noise, amplitude decaying. Centre: the copper
   detection where the pattern resolves. Right: one clean signal.
   The mark states the promise rather than decorating the gap.
   ============================================================ */
.sep { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.sep svg { width: 100%; height: 38px; display: block; overflow: visible; }






@media (prefers-reduced-motion: no-preference) {
  .sep.in 
  .sep.in 
  .sep.in 
  .sep.in 
}
 to { stroke-dashoffset: 0; } }

 to { opacity: 1; r: 2.8; } }
@media (max-width: 960px) { .sep svg { height: 28px; } }


/* ============================================================
   DIAGNOSTIC READOUT
   Previously a fixed 178px card absolutely positioned inside the
   dish; once the dish resolved to 216px it covered four of the
   five labels. It now sits below the dish as its own row, so the
   card and the percentage-positioned labels never share a box.
   ============================================================ */


.radar .radar-lbl { z-index: 2; }


.diag-score, .diag-cell { background: var(--iv); padding: 10px 13px; display: grid; gap: 3px; align-content: center; }
.diag-score { border-left: 2px solid var(--cop); }
.diag-k { font-family: var(--mono); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.diag-v { font-size: 23px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.diag-v small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.diag-t { font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
@media (max-width: 520px) {
  .diag { grid-template-columns: 1fr 1fr; }
  .diag-score { grid-column: 1 / -1; }
}


/* ============================================================
   CREAM SURFACE replaces the charcoal blocks
   The dark sections were fighting the warm palette. Contrast now
   comes from a deeper cream field holding white cards, so the
   page stays warm end to end.
   ============================================================ */
:root { --cream: #FEFCF7; --cream-2: #F7F2E6; --white: #FFFFFF; }
.sec-cream { background: transparent; color: var(--ink); }
.sec-cream::before, .sec-cream::after { content: none; }
.sec-cream .hgrid { background: var(--ln); border-color: var(--ln); }
.sec-cream .hgrid > * { background: var(--white); }
.sec-cream .hgrid > *:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--ln-2); }
.sec-cream .card { background: var(--white); }
.sec-cream .layers > *:last-child { background: var(--cream-2); }
.sec-cream .report { background: var(--white); }
.sec-cream .btn-2 { color: var(--ink); border-color: var(--ln-2); }
.sec-cream .btn-2:hover { background: rgba(31,27,22,.04); color: var(--ink); border-color: var(--ink); }

/* white cards on cream want a softer, rounder container */
.sec-cream .hgrid { border-radius: var(--r-lg); gap: 14px; background: transparent; border: 0; }
.sec-cream .hgrid > * { border: 1px solid var(--ln); border-radius: var(--r); }

/* ============================================================
   LINE-ART ICONS
   One expressive mark per idea, drawn on a shared 40px grid with
   three stroke roles: primary form, accent detail, hairline
   connector. Copper carries the subject, blue-gray the data.
   ============================================================ */
.ic { display: block; flex: 0 0 auto; }
.ic svg { width: 100%; height: 100%; display: block; }
.ic .s1 { stroke: var(--ink); stroke-width: 1.6; }
.ic .s2 { stroke: var(--cop); stroke-width: 1.6; color: var(--cop); }
.ic .s3 { stroke: var(--blue); stroke-width: 1.4; }
.ic-lg { width: 44px; height: 44px; }
.ic-sm { width: 30px; height: 30px; margin-bottom: 12px; }
.ic-head { width: 38px; height: 38px; margin-bottom: 16px; }


/* subtle life: the accent stroke draws in on reveal */
@media (prefers-reduced-motion: no-preference) {
  .ic .s2, .ic .s3 { transition: stroke .3s; }
  .card:hover .ic .s1, .hgrid > *:hover .ic .s1 { stroke: var(--cop); }
  .hgrid > *:hover .ic .s3 { stroke: var(--cop); }
}

/* engine cards: icon then title */
.eng h3 { margin-top: 16px; }
.pipe > div .ic-sm { margin-bottom: 10px; }
.sig > div .ic-sm { margin-bottom: 10px; }


/* ============================================================
   FOOTER: dark surface with a faded instrument grid
   The grid is the same 68px module as the hero, at very low
   opacity and masked so it dissolves before the legal line.
   ============================================================ */
.foot { position: relative; overflow: hidden; }
.foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(246,241,232,.055) 1px, transparent 1px) 0 0 / 100% 68px,
    linear-gradient(90deg, rgba(246,241,232,.055) 1px, transparent 1px) 0 0 / 68px 100%;
  mask-image: radial-gradient(112% 88% at 22% 8%, #000 0%, rgba(0,0,0,.5) 52%, transparent 88%);
  -webkit-mask-image: radial-gradient(112% 88% at 22% 8%, #000 0%, rgba(0,0,0,.5) 52%, transparent 88%);
}
.foot > .shell { position: relative; z-index: 1; }


/* ============================================================
   SEPARATOR: GROWTH, LEFT TO RIGHT
   Seed, sprout, two bushes, then a full plant. The mark states
   what the work does rather than decorating the gap: the same
   compounding the copy promises, drawn once per boundary.
   ============================================================ */
:root { --leaf: #A9C4A2; --leaf-2: #C3D8BC; --stem: #8FAE89; }

.sep { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.sep svg { width: 100%; height: 44px; display: block; overflow: visible; }
.sep-ground { fill: none; stroke: var(--stem); stroke-width: 1; opacity: .5; stroke-linecap: round; }
.sep-seed { fill: var(--stem); opacity: .85; }
.sep-stem { fill: none; stroke: var(--stem); stroke-width: 1.15; stroke-linecap: round; }
.sep-leaf { fill: var(--leaf); }
.sep-leaf-t { fill: var(--leaf-2); }

@media (prefers-reduced-motion: no-preference) {
  .sep-ground { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
  .sep.in .sep-ground { animation: sep-grow-line 1.6s var(--ease) forwards; }
  .sep-stage { opacity: 0; transform: translateY(4px); transform-origin: center bottom; }
  .sep.in .sep-stage { animation: sep-sprout .7s var(--ease) forwards; animation-delay: calc(.35s + var(--sd, 0s)); }
}
@keyframes sep-grow-line { to { stroke-dashoffset: 0; } }
@keyframes sep-sprout { to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .sep svg { height: 32px; } }

/* ============================================================
   CENTRED HEAD MEASURE
   30ch broke "The engine underneath compounding growth." into
   four ragged lines. An em-based cap scales with the type and
   balance evens the rag.
   ============================================================ */



.head h2 { text-wrap: balance; }
@media (max-width: 700px) {  }


/* ============================================================
   HERO RADAR: DISH OWNS A SQUARE BOX, STRIP SITS BELOW IT
   The readout was a grid row inside the dish's height cap, so a
   square viewBox letterboxed to 54% and the percentage-positioned
   labels drifted off the rings. The figure is now a flow column:
   .radar-dish is square and carries the labels in its own
   coordinate space; .diag is a sibling sized independently.
   ============================================================ */
.radar {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: min(460px, 40vh); margin-inline: auto;
  align-self: start;
}
.radar-dish { position: relative; width: 100%; aspect-ratio: 1; }
.radar-dish > svg { width: 100%; height: 100%; display: block; }
.radar .radar-lbl { z-index: 2; }

/* strip is a sibling: it sizes to the figure, never to the dish */
.diag {
  position: static; width: 100%;
  display: grid; grid-template-columns: auto 1fr; gap: 1px;
  background: var(--ln-2); border: 1px solid var(--ln-2);
  border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-1);
}
.diag-score, .diag-cell { background: var(--iv); padding: 9px 12px; display: grid; gap: 3px; align-content: center; min-width: 0; }
.diag-score { border-left: 2px solid var(--cop); grid-row: span 2; }
.diag-k { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.diag-v { font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.diag-v small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.diag-t { font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1181px) {
  .diag { grid-template-columns: auto 1fr 1fr; }
  .diag-score { grid-row: auto; }
}
@media (max-width: 859px) { .radar { max-width: 420px; } }


/* ============================================================
   ONE SECTION HEAD, EVERYWHERE
   Three sections were centred and nine left-aligned, so the page
   had two competing head structures. Every head is now the same
   left-aligned block: icon, label, H2, lead, on one measure and
   one vertical rhythm.
   ============================================================ */
.head { max-width: none; text-align: left; margin-inline: 0; }
.head > .ic-head { margin-inline: 0; margin-bottom: 16px; }
.head .lbl { justify-content: flex-start; margin-bottom: 16px; }
.head h2 { max-width: 17em; text-wrap: balance; }
.head .lead { max-width: 62ch; margin-top: 20px; margin-inline: 0; }

/* full-width sections give the head its own leading row */
.sec > .shell > .head { margin-bottom: clamp(38px, 3.6vw, 56px); }
/* split sections: the head sits in the left column, no extra gap */
.split > * > .head, .split > .head { margin-bottom: 0; }
.split .head + .cta-row { margin-top: 28px; }

.bridge {
  margin-top: clamp(26px, 2.6vw, 38px); text-align: left;
  font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; letter-spacing: -.02em;
  max-width: 40ch;
}
.layers + .bridge { margin-top: clamp(28px, 2.8vw, 40px); }


/* full-width sections: the head can use the page measure */
.sec > .shell > .head > h2 { max-width: 20em; }
.sec > .shell > .head > .lead { max-width: 68ch; }
/* split sections: the column is already the constraint */
.split .head > h2 { max-width: 100%; }


/* ============================================================
   ONE SURFACE, ONE CARD EDGE
   Sections no longer paint their own background, so the page is
   a single #FEFCF7 field. Cards carry a complete hairline edge
   with room for it to render on every side.
   ============================================================ */
body { background: var(--iv); }
.sec-beige, .sec-cream { background: transparent; }

.hgrid { background: transparent; border: 0; border-radius: 0; overflow: visible; gap: 16px; }
.hgrid > * {
  background: #FFFFFF;
  border: 1px solid rgba(31,27,22,.13);
  border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(31,27,22,.03);
}
.hgrid > *:hover { background: #FFFFFF; border-color: rgba(31,27,22,.26); box-shadow: var(--sh-2); }
.sec-cream .hgrid > *, .sec-beige .hgrid > * { background: #FFFFFF; border-color: rgba(31,27,22,.13); }
/* the grid sat inside a clipping container, so outer card edges were cut */
.sec > .shell { overflow: visible; }

/* ---- 3. PIPELINE: number must not sit under the icon ---- */
.pipe { background: transparent; border: 0; gap: 16px; }
.pipe > div {
  background: #FFFFFF; border: 1px solid rgba(31,27,22,.13);
  border-radius: var(--r); padding: 22px 20px;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto;
  gap: 4px 12px; align-items: start;
}
.pipe > div .ic-sm { grid-column: 1; grid-row: 1; margin: 0 0 12px; }
.pipe > div b { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
.pipe > div s { grid-column: 1 / -1; grid-row: 2; }
.pipe > div span { grid-column: 1 / -1; grid-row: 3; }

@media (max-width: 960px) { .sep svg { height: 34px; } }


/* hero figure reads as the subject, so give it real size */
.radar { max-width: min(560px, 52vh); }
@media (min-height: 760px) { .radar { max-width: min(600px, 56vh); } }
@media (max-width: 1180px) and (min-width: 860px) { .radar { max-width: min(430px, 46vh); } }
@media (max-width: 859px) { .radar { max-width: 480px; } }
.diag-score, .diag-cell { padding: 11px 14px; }
.diag-v { font-size: 26px; }
.diag-k { font-size: 9px; }
.diag-t { font-size: 13.5px; }

/* engine cards: more presence */
.eng > * { padding: clamp(26px, 2.4vw, 34px); }
.eng h3 { font-size: clamp(21px, 1.9vw, 25px); }
.eng-what { font-size: 15.5px; }


/* ============================================================
   FUNNEL SELECTOR
   Four entry objects, one per visitor state, so nobody has to
   guess which door is theirs.
   ============================================================ */
.pick-card {
  display: flex; flex-direction: column; gap: 8px;
  color: var(--ink); text-decoration: none;
}
.pick-card:hover { color: var(--ink); }
.pick-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--cop); }
.pick-card h3 { font-size: clamp(18px, 1.65vw, 21px); margin-top: 2px; }
.pick-card p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pick-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); margin-top: 2px; }
.pick-card .tlink { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ln); width: 100%; }
.hgrid.pick > *:hover .tlink { color: var(--cop-2); }

/* stage handoff: every section ends with the next step */
.stage-cta {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(26px, 2.6vw, 38px);
  padding-top: 0; border-top: 0;
}
.stage-cta > span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}
.stage-cta .tlink { font-size: 14.5px; font-weight: 600; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news-in { max-width: 720px; margin-inline: auto; text-align: center; }
.news-in .lbl { justify-content: center; }
.news-in h2 { max-width: 20em; margin-inline: auto; }
.news-in .lead { max-width: 58ch; margin-inline: auto; }
.news-ic { margin-inline: auto; width: 46px; height: 46px; }
.news-form {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px;
  margin-top: 32px; text-align: left;
}
.news-form .f { gap: 0; }
.news-form input {
  background: #FFFFFF; border: 1px solid rgba(31,27,22,.16); border-radius: var(--r-sm);
  padding: 15px 16px; font-size: 15.5px; font-family: var(--sans); color: var(--ink); width: 100%;
}
.news-form input:focus { outline: none; border-color: var(--cop); box-shadow: 0 0 0 3px var(--cop-dim); }
.news-form .btn { padding: 15px 30px; }
.news-note { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 620px) {
  .news-form { grid-template-columns: 1fr; }
}


/* separator: aspect preserved, so rotated leaves cannot shear */
.sep svg { height: 44px; }
@media (max-width: 960px) { .sep svg { height: 34px; } }

/* diag: wrap rather than truncate — the strip has vertical room */
.diag-t { white-space: normal; overflow: visible; text-overflow: clip; }
.diag { align-items: stretch; }

/* hero labels: keep every one inside the dish box */
.radar-lbl { max-width: 46%; }


/* frameworks card + contact form: page surface, hairline copper edge */
.team-credit, .form.card {
  background: #FFFFFF;
  border: 0.5px solid rgba(198, 97, 63, .55);
}
.team-credit:hover { border-color: rgba(198, 97, 63, .8); }
.card-beige { background: #FFFFFF; }

/* separators already mark the boundary, so no rules on handoffs or heads */
.stage-cta { border-top: 0 !important; padding-top: 0 !important; }


/* pipeline cards: breathing room between the icon and the text block */
.pipe > div .ic-sm { margin: 0 0 20px; }
.pipe > div s { margin-top: 4px; display: block; }
.pipe > div span { margin-top: 6px; }
.pipe > div { gap: 6px 14px; padding: 26px 22px; }


/* separator line: fine, near-flat, barely undulating */
.sep-ground { stroke-width: .7; opacity: .55; }
.sep svg { height: 34px; }
@media (max-width: 960px) { .sep svg { height: 26px; } }

/* ============================================================
   SQUARE EDGES SITEWIDE
   Buttons and cards use a small, consistent radius instead of
   pills and large rounds.
   ============================================================ */
:root { --r-sm: 4px; --r: 5px; --r-lg: 6px; --r-pill: 5px; }
.btn, .nav-cta, .float .btn, .foot-soc a, .chip, .float-wa,
.hgrid > *, .card, .pipe > div, .report, .diag,
.f input, .f select, .f textarea, .news-form input,
.dd-col a, .dd-aside, .brand-mark, .burger, .pick-card {
  border-radius: 5px;
}
.float-wa { border-radius: 5px; }
.chip { border-radius: 4px; }
.skip { border-radius: 4px; }


/* ============================================================
   BUTTONS: tighter, and the arrow only where it means "go"
   ============================================================ */
.btn {
  font-size: 13.5px; letter-spacing: .005em; font-weight: 500;
  padding: 11px 20px; gap: 8px; line-height: 1.25;
}
.btn-full { padding: 13px 20px; }
.nav-cta { padding: 10px 16px; font-size: 12px; }
.dd-aside .btn { padding: 10px 16px; font-size: 12px; }
.news-form .btn { padding: 13px 24px; }
.pick-card .btn { padding: 10px 16px; }

/* arrow is opt-in: primary conversion actions only */
.btn[data-arrow]::after {
  content: "→"; font-size: 14px; line-height: 1;
  transition: transform .28s var(--ease);
}
.btn[data-arrow]:hover::after { transform: translateX(3px); }


/* ============================================================
   READY CARD: the closing conversion block
   ============================================================ */
.ready-card {
  background: #FFFFFF; border: 1px solid rgba(31,27,22,.13);
  border-radius: 5px; padding: clamp(36px, 4.4vw, 64px);
  text-align: center; max-width: 860px; margin-inline: auto;
  box-shadow: 0 1px 2px rgba(31,27,22,.03);
}
.ready-card h2 { font-size: clamp(26px, 2.8vw, 40px); max-width: 22em; margin-inline: auto; }
.ready-card p { margin-top: 16px; font-size: clamp(16px, 1.2vw, 18px); color: var(--ink-2); max-width: 54ch; margin-inline: auto; }
.ready-card .cta-row { justify-content: center; margin-top: 30px; }
.btn-dark { background: var(--char); border-color: var(--char); color: #FFF9F5; }
.btn-dark:hover { background: #24201B; border-color: #24201B; color: #FFF9F5; box-shadow: 0 10px 26px -12px rgba(24,21,18,.4); }


/* ============================================================
   LIBRARY CARDS ON THE HOMEPAGE
   ============================================================ */
.post-card { display: flex; flex-direction: column; }
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3);
}
.post-card h3 { font-size: clamp(18px, 1.65vw, 21px); margin-bottom: 12px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--cop); }
.post-card > p:not(.post-meta):not(.post-foot) { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.post-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ln);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
}
.hgrid > .post-card:hover .tlink { color: var(--cop-2); }


/* footer selection: copper is unreadable on charcoal, so invert it */
.foot ::selection { background: #C6613F; color: #FFF9F5; }
.foot ::-moz-selection { background: #C6613F; color: #FFF9F5; }


/* ============================================================
   CLIENT INTAKE
   Uses the V2 form primitives (.f, .frow, .card) so it inherits
   the design system rather than carrying a bespoke sheet.
   ============================================================ */
.intake-note {
  margin-top: 20px; padding: 16px 18px;
  background: #FFFFFF; border: 1px solid var(--ln);
  border-left: 2px solid var(--cop); border-radius: var(--r-sm);
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 60ch;
}
.intake { display: grid; gap: clamp(18px, 1.8vw, 26px); padding-bottom: 96px; }
.intake-sec { border: 0; padding: clamp(24px, 2.4vw, 34px); }
.intake-legend {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: clamp(19px, 1.8vw, 24px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.2; padding: 0; margin-bottom: 8px;
}
.intake-num {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: .14em; color: var(--cop);
  padding: 5px 9px; border: 1px solid var(--cop); border-radius: var(--r-pill);
}
.intake-help { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin-bottom: 22px; }
.intake-sec .f + .f, .intake-sec .frow + .f, .intake-sec .f + .frow, .intake-sec .frow + .frow { margin-top: 14px; }
.intake-sec .intake-opts + .f { margin-top: 18px; }

/* repeatable rows */
.intake-rows { display: grid; gap: 10px; }
.intake-row { display: grid; grid-template-columns: 26px 1fr 1fr 1.3fr auto; gap: 10px; align-items: center; }
.intake-row.n2 { grid-template-columns: 26px 1fr 1.6fr auto; }
.intake-rn { font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: right; }
.intake-row input {
  background: var(--iv); border: 1px solid var(--ln-2); border-radius: var(--r-sm);
  color: var(--ink); font-family: var(--sans); font-size: 14.5px; padding: 11px 12px; width: 100%;
}
.intake-row input:focus { outline: none; border-color: var(--cop); box-shadow: 0 0 0 3px var(--cop-dim); }
.intake-row input::placeholder { color: var(--ink-3); }
.intake-del {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ln-2);
  color: var(--ink-3); font-size: 15px; line-height: 1;
  display: grid; place-items: center; flex: 0 0 auto;
  transition: border-color .2s, color .2s, background .2s;
}
.intake-del:hover { border-color: var(--cop); color: var(--cop); background: var(--cop-dim); }
.intake-add {
  justify-self: start; margin-top: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--cop); padding: 9px 16px;
  border: 1px dashed rgba(198,97,63,.5); border-radius: var(--r-pill);
  transition: background .2s, border-color .2s;
}
.intake-add:hover { background: var(--cop-dim); border-color: var(--cop); }
.intake-add::before { content: "+ "; }

/* option chips */
.intake-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.intake-opt {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 9px 14px;
  background: var(--iv); border: 1px solid var(--ln-2); border-radius: var(--r-pill);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.intake-opt:hover { border-color: var(--ln-2); background: #FFFFFF; }
.intake-opt input { position: absolute; opacity: 0; pointer-events: none; }
.intake-opt .box {
  width: 14px; height: 14px; border-radius: 3px; flex: 0 0 auto;
  border: 1.5px solid var(--ln-2); position: relative; transition: all .2s;
}
.intake-opt input:checked ~ .box { background: var(--cop); border-color: var(--cop); }
.intake-opt input:checked ~ .box::after {
  content: ""; position: absolute; left: 3.5px; top: .5px;
  width: 4px; height: 8px; border: 2px solid #FFF9F5;
  border-top: 0; border-left: 0; transform: rotate(42deg);
}
.intake-opt:has(input:checked) { border-color: var(--cop); background: var(--cop-dim); color: var(--ink); }
.intake-opt input:focus-visible ~ .box { outline: 2px solid var(--cop); outline-offset: 2px; }

.intake-foot { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 68ch; }

/* sticky action bar */


.intake-saved { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); margin-right: auto; }
.intake-saved.on { color: var(--cop); }
.intake-mini { padding: 9px 15px; font-size: 12px; }

.intake-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translate(-50%, 12px);
  z-index: 96; background: var(--char); color: var(--on-dark);
  padding: 13px 22px; border-radius: var(--r-pill);
  font-size: 14px; box-shadow: var(--sh-2);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.intake-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .intake-row { grid-template-columns: 22px 1fr auto; }
  .intake-row.n2 { grid-template-columns: 22px 1fr auto; }
  .intake-row input { grid-column: 2; }
  .intake-row .intake-del { grid-row: 1; grid-column: 3; }
  .intake-bar-in { gap: 8px; }
  .intake-saved { flex: 1 0 100%; margin-bottom: 4px; }
  .intake-mini { flex: 1; justify-content: center; }
}
@media print {
  .nav, .foot, .float, .intake-bar, .intake-add, .intake-del, .sep, .prog { display: none !important; }
  .intake-sec { break-inside: avoid; border: 1px solid #999 !important; box-shadow: none !important; }
}



/* footer column headings: original copper, more presence */
.foot .foot-h { font-weight: 600; font-size: 11px; letter-spacing: .16em; opacity: 1; }


/* ============================================================
   SEPARATOR + CARD HOVER FIXES
   The separator svg was clipped by its wrapper and the hero's
   radial glow painted over it. Cards scaled on hover, which
   read as a jump and clipped inside the grid.
   ============================================================ */

/* separator: give the wrapper room and lift it above section glows */
.sep { position: relative; z-index: 2; overflow: visible; padding-block: 4px; }
.sep svg { overflow: visible; height: 48px; }
@media (max-width: 960px) { .sep svg { height: 36px; } }

/* section glows must not paint over the separator */
.hero::after { z-index: 0; }
.hero { z-index: 0; }

/* cards: settle on hover instead of growing */
.card:hover,
.hgrid > *:hover,
.pick-card:hover,
.intake-sec:hover {
  transform: none;
}
.hgrid > * { transition: border-color .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease); }
.hgrid > *:hover { box-shadow: 0 2px 4px rgba(31,27,22,.04), 0 12px 30px -18px rgba(31,27,22,.18); }
.card { transition: border-color .28s var(--ease), box-shadow .28s var(--ease); }
.card:hover { box-shadow: 0 2px 4px rgba(31,27,22,.04), 0 12px 30px -18px rgba(31,27,22,.18); }


/* actions sit in flow at the end of the form: nothing to overlap */
.intake-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: 8px; padding: 22px 24px;
  background: #FFFFFF; border: 1px solid var(--ln);
  border-top: 2px solid var(--cop); border-radius: var(--r);
}
.intake-actions .intake-saved { margin: 0; }
.intake-actrow { display: flex; gap: 10px; flex-wrap: wrap; }
.intake { padding-bottom: clamp(48px, 5vw, 80px); }
.intake-toast { bottom: 28px; }
@media (max-width: 620px) {
  .intake-actions { flex-direction: column; align-items: stretch; }
  .intake-actrow { display: grid; grid-template-columns: 1fr 1fr; }
  .intake-actrow .btn:last-child { grid-column: 1 / -1; justify-content: center; }
}
@media print { .intake-actions { display: none !important; } }

/* hero variant without the copper bloom, for pages with no radar figure */
.hero.no-glow::after { display: none; }


/* floating CTA lifts clear of the footer's social row at the page end */
.float { bottom: calc(clamp(16px, 2.2vw, 28px) + var(--lift, 0px)); transition: opacity .4s var(--ease), transform .4s var(--ease), bottom .32s var(--ease); }


/* ============================================================
   MOBILE HARDENING
   Audited at 390, 360, and 320 wide. Each rule closes a specific
   overflow, cramping, or tap-target defect rather than scaling
   the page down uniformly.
   ============================================================ */

/* nothing may exceed the viewport, whatever its intrinsic width */
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video, canvas, iframe, table { max-width: 100%; }

@media (max-width: 760px) {
  /* type: tighter ramp so headlines do not eat the first screen */
  :root { --t-h1: clamp(30px, 8.6vw, 42px); --t-h2: clamp(26px, 7.4vw, 36px); }
  .hero { padding-block: clamp(40px, 9vw, 64px) clamp(36px, 7vw, 56px); }
  .hero h1 { max-width: none; }
  .hero-lead, .lead, .head .lead { max-width: none; }

  /* CTA rows stack full width: a 44px tap target on every button */
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-row .btn { justify-content: center; padding: 14px 22px; }
  .hero .cta-row { flex-wrap: wrap; }

  /* radar: centred, capped, readout below */
  .radar { max-width: min(100%, 380px); margin-inline: auto; }
  .radar-dish { max-width: min(100%, 380px); }
  .radar-lbl { font-size: 8.5px; letter-spacing: .04em; max-width: 44%; }
  .diag { grid-template-columns: 1fr 1fr; }
  .diag-score { grid-column: 1 / -1; grid-row: auto; }

  /* proof rows wrap instead of scrolling */
  .hero-proof { gap: 5px 8px; font-size: 10px; }
  .trust-names { gap: 6px 14px; font-size: 15px; }

  /* every multi-column grid collapses */
  .hgrid, .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .pipe.g5 { grid-template-columns: 1fr; }
  .split, .split-wide, .split-narrow, .hero-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }

  /* cards: less padding, no hover lift on touch */
  .hgrid > *, .card, .intake-sec { padding: 22px 20px; }
  .eng > * { padding: 22px 20px; }

  /* step lists: narrow index column */
  .steps li { grid-template-columns: 44px 1fr; gap: 12px; font-size: 15.5px; }
  .pb-weeks li, .cp-list li, .ecom-flow li { grid-template-columns: 62px 1fr; }

  /* report panel */
  .report { padding: 22px 20px; }
  .score b { font-size: clamp(40px, 13vw, 56px); }
  .deliv { grid-template-columns: 1fr; }

  /* separators shorter so they do not dominate */
  .sep svg { height: 30px; }

  /* section rhythm */
  .sec { padding-block: clamp(48px, 11vw, 72px); }
}

@media (max-width: 480px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-soc { width: 100%; }
  .foot-soc a { flex: 1; text-align: center; }
  .foot-bot { flex-direction: column; align-items: stretch; }

  /* floating pill: icon plus short label only */
  .float { right: 12px; bottom: calc(12px + var(--lift, 0px)); flex-direction: row; align-items: center; }
  .float .btn { font-size: 11.5px; padding: 11px 15px; }
  .float-wa { width: 42px; height: 42px; }

  /* nav */
  .nav-in { height: 66px; gap: 12px; }
  .brand-word { font-size: 16px; }
  .brand-img { width: 30px; height: 30px; }
  .nav-links { top: 66px; }
  .nav.open .nav-links { max-height: calc(100vh - 66px); }

  /* intake: single column throughout */
  .frow { grid-template-columns: 1fr; }
  .intake-row, .intake-row.n2 { grid-template-columns: 20px 1fr auto; }
  .intake-opts { gap: 6px; }
  .intake-opt { font-size: 13px; padding: 8px 12px; }
  .intake-legend { font-size: 18px; }

  /* article */
  .article-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .crumbs { font-size: 10px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; --t-h1: clamp(27px, 8.4vw, 34px); }
  .lbl { font-size: 10.5px; letter-spacing: .12em; }
  .btn { font-size: 12.5px; padding: 12px 16px; }
  .hgrid > *, .card { padding: 18px 16px; }
  .steps li { grid-template-columns: 36px 1fr; font-size: 14.5px; }
  .met dd { font-size: clamp(22px, 8vw, 30px); }
}

/* touch: no hover-dependent affordance, no tilt */
@media (hover: none) {
  .card:hover, .hgrid > *:hover, .pick-card:hover { box-shadow: none; transform: none; }
  .ro-scene { transition: none; }
  .steps li:hover, .cp-list li:hover, .ecom-flow li:hover, .pb-weeks li:hover { padding-left: 0; }
  .nav-cta { display: none; }
}


/* week labels wrap on narrow screens, so let the index column
   size to its content instead of a fixed track */
@media (max-width: 760px) {
  #playbook .steps li { grid-template-columns: auto 1fr; gap: 10px; }
  #playbook .steps li b { white-space: nowrap; }
}
@media (max-width: 420px) {
  #playbook .steps li { grid-template-columns: 1fr; gap: 2px; }
  #playbook .steps li b { display: block; }
}
