/* =========================================================================
   MicroZoomers — design system
   Paper, ink and one cobalt accent. Archivo (variable width) for display,
   Source Serif 4 for reading. The ruler/scale-bar is the recurring motif.
   ========================================================================= */

@font-face {
  font-family: "Archivo MZ";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif MZ";
  src: url("/assets/fonts/sourceserif4-var.woff2") format("woff2-variations"),
       url("/assets/fonts/sourceserif4-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif MZ";
  src: url("/assets/fonts/sourceserif4-var-italic.woff2") format("woff2-variations"),
       url("/assets/fonts/sourceserif4-var-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
/* Metric-matched fallbacks keep layout shift near zero while fonts load */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 102%;
  ascent-override: 88%;
  descent-override: 21%;
}
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia"), local("Times New Roman"), local("Liberation Serif");
  size-adjust: 98%;
  ascent-override: 102%;
  descent-override: 33%;
}

:root {
  --paper: #EDEBE5;
  --paper-2: #E3E0D8;
  --paper-3: #D9D5CB;
  --ink: #151514;
  --graphite: #3B3A37;
  --muted: #64615B;
  --rule: #C6C2B7;
  --cobalt: #1D3BD1;
  --cobalt-ink: #142A9C;
  --cobalt-light: #9DB0FF;
  --night: #191917;
  --night-2: #23231F;
  --night-rule: #3D3C37;
  --on-night: #E9E6DE;
  --on-night-muted: #A5A196;

  --display: "Archivo MZ", "Archivo Fallback", Arial, sans-serif;
  --serif: "Source Serif MZ", "Serif Fallback", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --fs-body: clamp(1.0625rem, 0.99rem + 0.28vw, 1.1875rem);
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-h4: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 2.9vw, 4rem);
  --fs-h1: clamp(2.75rem, 1.5rem + 5vw, 6.25rem);

  --gutter: clamp(1.25rem, 3.6vw, 3.5rem);
  --col-gap: clamp(1rem, 2vw, 2rem);
  --maxw: 92rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 4.5rem;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--cobalt); color: var(--cobalt); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 88%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 0.96; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.12; }
h4 { font-size: var(--fs-h4); font-stretch: 95%; letter-spacing: -0.01em; line-height: 1.25; }
strong { font-weight: 650; }
::selection { background: var(--cobalt); color: #fff; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.on-night :focus-visible { outline-color: var(--cobalt-light); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem;
  font-family: var(--display); font-size: var(--fs-small); text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

/* Section head: title hangs left, intro sits offset right */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 5rem); row-gap: 1.25rem; }
.section-head > h2 { grid-column: 1 / span 6; }
.section-head > .section-intro { grid-column: 8 / span 5; align-self: end; }
.section-intro { color: var(--graphite); font-size: var(--fs-lead); line-height: 1.5; margin: 0; max-width: 34em; }
.section--night .section-intro { color: var(--on-night-muted); }
@media (max-width: 900px) {
  .section-head > h2, .section-head > .section-intro { grid-column: 1 / -1; }
}

.prose { max-width: 38em; }
.prose p, .prose li { color: var(--graphite); }
.prose h2 { font-size: var(--fs-h3); margin: 2.2em 0 .7em; }
.prose h3 { font-size: var(--fs-h4); margin: 1.8em 0 .5em; }
.prose ul { list-style: none; margin: 0 0 1.25em; }
.prose ul li { position: relative; padding-left: 1.25em; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .5em; height: 1px; background: var(--ink); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--graphite); }

/* Ruler: the recurring scale-bar motif at section boundaries */
.ruler {
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 80px) top / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 16px) top / 100% 7px no-repeat;
  opacity: .9;
}
.section--night .ruler, .ruler--light {
  background:
    linear-gradient(var(--on-night-muted), var(--on-night-muted)) top / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--on-night-muted) 0 1px, transparent 1px 80px) top / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--on-night-muted) 0 1px, transparent 1px 16px) top / 100% 7px no-repeat;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--cobalt); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.25rem; padding: .85rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--display); font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: -0.005em;
  text-decoration: none; border: 1px solid var(--btn-bg); border-radius: 2px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { --btn-bg: var(--ink); color: var(--paper); text-decoration: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); color: var(--paper); }
.on-night .btn:hover, .section--night .btn:hover { --btn-bg: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-night .btn--ghost, .section--night .btn--ghost { --btn-fg: var(--on-night); border-color: var(--on-night-muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

.link-strong {
  font-family: var(--display); font-weight: 600; font-stretch: 95%;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em;
  text-decoration-color: var(--cobalt);
}
.link-strong:hover { color: var(--cobalt); }
.section--night a:hover { color: var(--cobalt-light); text-decoration-color: var(--cobalt-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
@media (min-width: 861px) { @supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(1.2) blur(10px); } } }
@media (max-width: 860px) { .site-header { background: var(--paper); } }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-word { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: 1.375rem; letter-spacing: -0.03em; line-height: 1; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.4vw, 2.5rem); align-items: center; }
.primary-nav a {
  font-family: var(--display); font-size: 1rem; font-weight: 500; font-stretch: 95%;
  text-decoration: none; padding-block: .5rem; position: relative;
}
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: var(--cobalt);
}
.header-cta { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .9375rem; }
.menu-toggle {
  display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer;
  font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--ink);
  align-items: center; gap: .6rem; min-height: 44px;
}
.menu-toggle .bars { width: 22px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 10px; }
.menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 4rem; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
    padding: 2rem var(--gutter) 2.5rem; display: flex; flex-direction: column; justify-content: space-between;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    overflow-y: auto;
  }
  .menu-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-top: 1px solid var(--rule); }
  .primary-nav li:last-child { border-bottom: 1px solid var(--rule); }
  .primary-nav a {
    display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0;
    font-size: clamp(2.25rem, 11vw, 3.25rem); font-weight: 600; font-stretch: 75%; letter-spacing: -0.03em; line-height: 1;
  }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--cobalt); }
  .mobile-nav-foot { display: grid; gap: 1rem; margin-top: 2rem; }
  .mobile-nav-foot p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 861px) { .mobile-nav-foot { display: none; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--display); font-size: var(--fs-xs); font-stretch: 95%; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); overflow: hidden; }
.hero-title {
  font-size: clamp(3rem, 0.6rem + 7.4vw, 8.4rem);
  font-weight: 640; line-height: .9; letter-spacing: -0.04em;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  text-wrap: initial;
}
.hero-title .line { display: block; word-spacing: .07em; white-space: nowrap; transition: font-stretch 1.1s var(--ease), font-weight 1.1s var(--ease); }
.hero-title .l1 { font-stretch: 62%; font-weight: 720; }
.hero-title .l2 { font-stretch: 92%; font-weight: 620; }
.hero-title .l3 { font-stretch: 125%; font-weight: 520; }
.hero-title .l3 .dot { color: var(--cobalt); }
/* One orchestrated moment: on load, every line starts at the same width and zooms to its own */
@media (min-width: 641px) { .js .hero-title.is-pre .line { font-stretch: 100%; font-weight: 600; } }
@media (prefers-reduced-motion: reduce) { .hero-title .line { transition: none; } }
@media (max-width: 1100px) {
  .hero-title { font-size: clamp(2.6rem, 0.5rem + 8.8vw, 6rem); }
  .hero-title .l3 { font-stretch: 110%; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.65rem, 13.4vw, 4.2rem); line-height: .92; }
  .hero-title .line { white-space: normal; }
  .hero-title .l1 { font-stretch: 62%; }
  .hero-title .l2 { font-stretch: 78%; }
  .hero-title .l3 { font-stretch: 100%; font-weight: 560; }
}

.hero-body { row-gap: 2.5rem; align-items: start; }
.hero-copy { grid-column: 1 / span 4; padding-top: .25rem; }
.hero-copy .lead { margin-bottom: 1.75rem; color: var(--ink); }
.hero-copy p.small { color: var(--muted); font-size: var(--fs-small); }
.hero-specimen { grid-column: 5 / -1; }
@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / -1; max-width: 40rem; }
  .hero-specimen { grid-column: 1 / -1; }
}

/* ---------- Specimen + lens ---------- */
.specimen { margin: 0; }
.specimen-frame {
  position: relative; background: #FBFAF7; border: 1px solid var(--ink);
  aspect-ratio: 16 / 10; overflow: hidden; user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: crosshair;
}
.browser-bar {
  position: absolute; inset: 0 0 auto 0; height: 7.5%; min-height: 26px;
  display: flex; align-items: center; gap: 2%; padding-inline: 2.2%;
  border-bottom: 1px solid var(--ink); background: var(--paper);
  font-family: var(--mono); font-size: clamp(9px, .85vw, 12px); color: var(--graphite);
  z-index: 3;
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); display: block; }
.browser-bar .url { flex: 1; border: 1px solid var(--rule); background: #FBFAF7; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.layer-wrap { position: absolute; inset: 7.5% 0 0 0; }
.layer { position: absolute; inset: 0; }
.layer-surface svg { width: 100%; height: 100%; }
.layer-source {
  background: var(--night); color: var(--on-night);
  font-family: var(--mono); font-size: clamp(8.5px, .78vw, 12.5px); line-height: 1.45;
  clip-path: circle(var(--r, 110px) at var(--x, 70%) var(--y, 40%));
  -webkit-clip-path: circle(var(--r, 110px) at var(--x, 70%) var(--y, 40%));
  z-index: 2;
}
.src-block { position: absolute; white-space: pre; }
.src-block .t { color: var(--cobalt-light); }
.src-block .a { color: #E7C98A; }
.src-block .c { color: var(--on-night-muted); }
.src-block .ok { color: #9ED6A5; }
.src-block .warn { color: #F2A07B; }
.lens-ring {
  position: absolute; z-index: 4; pointer-events: none;
  width: calc(var(--r, 110px) * 2); height: calc(var(--r, 110px) * 2);
  left: var(--x, 70%); top: var(--y, 40%);
  transform: translate(-50%, -50%);
  border: 2px solid var(--cobalt); border-radius: 50%;
}
.lens-ring::after { /* crosshair tick */
  content: ""; position: absolute; left: 50%; top: -12px; width: 2px; height: 10px; background: var(--cobalt); transform: translateX(-50%);
}
.lens-handle {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: auto; cursor: grab; background: transparent;
}
.specimen figcaption {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: .9rem; font-family: var(--display); font-size: var(--fs-small); font-stretch: 95%; color: var(--muted);
}
.specimen figcaption strong { color: var(--ink); font-weight: 600; }

/* ---------- Positioning strip ---------- */
.pillars { border-top: 1px solid var(--ink); }
.pillars ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars li { padding: 1.75rem 2rem 2rem 0; }
.pillars li + li { padding-left: 2rem; border-left: 1px solid var(--rule); }
.pillars h2 { font-size: var(--fs-h4); font-stretch: 90%; margin-bottom: .5rem; }
.pillars p { color: var(--graphite); margin: 0; font-size: var(--fs-small); line-height: 1.55; max-width: 28em; }
@media (max-width: 760px) {
  .pillars ul { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li { padding: 1.4rem 0; border-left: 0; }
  .pillars li + li { border-top: 1px solid var(--rule); }
}

/* ---------- Statement ---------- */
.statement { grid-column: 1 / span 10; font-family: var(--display); font-size: clamp(1.75rem, 1rem + 2.6vw, 3.5rem); font-weight: 500; font-stretch: 85%; line-height: 1.12; letter-spacing: -0.025em; margin: 0; text-wrap: pretty; }
.statement .muted { color: var(--muted); }
.statement-aside { grid-column: 7 / span 6; margin-top: 2.5rem; color: var(--graphite); }
@media (max-width: 900px) { .statement, .statement-aside { grid-column: 1 / -1; } }

/* ---------- Service index (home) ---------- */
.service-index { list-style: none; border-top: 1px solid var(--ink); }
.service-index li { border-bottom: 1px solid var(--rule); }
.service-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 6fr) 2rem; gap: var(--col-gap);
  align-items: center; padding: clamp(1.25rem, 2.4vw, 2rem) 0; text-decoration: none; color: inherit;
}
.service-row:hover { color: inherit; }
.service-row .glyph { width: 3.5rem; height: 3.5rem; color: var(--ink); }
.service-row h3 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.75rem); font-stretch: 80%; font-weight: 600; transition: font-stretch .35s var(--ease), color .2s; }
.service-row p { margin: 0; color: var(--graphite); max-width: 34em; }
.service-row .go { width: 1.5rem; height: 1.5rem; justify-self: end; transition: transform .3s var(--ease); }
.service-row:hover h3, .service-row:focus-visible h3 { font-stretch: 100%; color: var(--cobalt); }
.service-row:hover .go { transform: translateX(4px); color: var(--cobalt); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 2.75rem minmax(0, 1fr) 1.25rem; row-gap: .5rem; align-items: start; }
  .service-row .glyph { width: 2.5rem; height: 2.5rem; }
  .service-row p { grid-column: 2 / 3; font-size: var(--fs-small); }
  .service-row .go { grid-row: 1; grid-column: 3; margin-top: .4rem; }
}

/* ---------- Pipeline diagram ---------- */
.pipeline { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--on-night-muted); counter-reset: stage; }
.pipeline li { padding: 1.5rem 1.25rem 0 0; position: relative; counter-increment: stage; }
.pipeline li + li { padding-left: 1.25rem; border-left: 1px solid var(--night-rule); }
.pipeline .bar { height: 10px; background: var(--cobalt-light); margin-bottom: 1.5rem; width: var(--w, 100%); }
.pipeline h3 { font-size: var(--fs-h3); font-stretch: 80%; color: var(--on-night); margin-bottom: .25rem; }
.pipeline h3::before { content: counter(stage) " "; color: var(--on-night-muted); font-weight: 400; font-stretch: 100%; font-size: .55em; vertical-align: .55em; margin-right: .2em; }
.pipeline .q { font-family: var(--display); font-stretch: 95%; font-size: var(--fs-small); color: var(--on-night); margin: 0 0 1rem; }
.pipeline .breaks { font-size: var(--fs-small); color: var(--on-night-muted); line-height: 1.5; margin: 0; }
.pipeline-note { margin-top: 2.5rem; color: var(--on-night-muted); font-size: var(--fs-xs); font-family: var(--display); font-stretch: 95%; }
@media (max-width: 980px) {
  .pipeline { grid-template-columns: 1fr; border-top: 0; }
  .pipeline li, .pipeline li + li { padding: 1.25rem 0 1.5rem; border-left: 0; border-top: 1px solid var(--night-rule); display: grid; grid-template-columns: 7.5rem 1fr; column-gap: 1.25rem; }
  .pipeline .bar { grid-column: 1 / -1; margin-bottom: 1rem; }
  .pipeline h3 { grid-column: 1; grid-row: 2 / span 2; }
  .pipeline .q, .pipeline .breaks { grid-column: 2; }
}
@media (max-width: 480px) {
  .pipeline li, .pipeline li + li { grid-template-columns: 1fr; }
  .pipeline h3, .pipeline .q, .pipeline .breaks { grid-column: 1; grid-row: auto; }
  .pipeline h3 { margin-bottom: .5rem; }
}

/* ---------- Work showcase ---------- */
.work-feature { row-gap: 2rem; align-items: end; }
.work-feature + .work-feature { margin-top: clamp(4rem, 8vw, 7.5rem); }
.work-shot { grid-column: 1 / span 8; position: relative; }
.work-meta { grid-column: 9 / span 4; }
.work-feature.flip .work-shot { grid-column: 5 / span 8; grid-row: 1; }
.work-feature.flip .work-meta { grid-column: 1 / span 4; grid-row: 1; }
.work-pair { row-gap: 3.5rem; margin-top: clamp(4rem, 8vw, 7.5rem); }
.work-pair > .work-card:first-child { grid-column: 1 / span 6; }
.work-pair > .work-card:last-child { grid-column: 7 / span 6; margin-top: clamp(0rem, 10vw, 9rem); }
.work-card .frame { margin-bottom: 1.5rem; }
@media (max-width: 900px) {
  .work-shot, .work-meta, .work-feature.flip .work-shot, .work-feature.flip .work-meta,
  .work-pair > .work-card:first-child, .work-pair > .work-card:last-child { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
}

.frame { border: 1px solid var(--ink); background: var(--paper); }
.frame-bar { height: 26px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; gap: 10px; padding: 0 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.frame-bar i { width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; flex: none; }
.frame-bar i:nth-child(3) { margin-right: 6px; }
.frame img { width: 100%; height: auto; }
.frame--phone { max-width: 280px; border-radius: 22px; padding: 10px; background: var(--ink); border: 0; }
.frame--phone img { border-radius: 14px; }
a.frame { display: block; text-decoration: none; transition: transform .35s var(--ease); }
a.frame:hover { transform: translateY(-3px); }

.work-index { font-family: var(--display); font-size: var(--fs-small); font-stretch: 95%; color: var(--muted); margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.work-meta h3, .work-card h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-stretch: 78%; margin-bottom: .9rem; }
.work-meta p, .work-card p { color: var(--graphite); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.25rem 0 1.5rem; }
.tags li { font-family: var(--display); font-size: var(--fs-xs); font-stretch: 95%; padding: .3rem .6rem; border: 1px solid var(--rule); color: var(--graphite); }
.phone-peek { position: absolute; right: 5%; bottom: -14%; width: 21%; min-width: 130px; box-shadow: 0 0 0 6px var(--paper); }
@media (max-width: 900px) { .phone-peek { display: none; } }

/* ---------- Principles ---------- */
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.principles li { padding: 2rem 2.5rem 2.5rem 0; border-bottom: 1px solid var(--rule); }
.principles li:nth-child(even) { padding-left: 2.5rem; padding-right: 0; border-left: 1px solid var(--rule); }
.principles h3 { font-size: var(--fs-h3); font-stretch: 85%; margin-bottom: .75rem; max-width: 18em; }
.principles p { color: var(--graphite); margin: 0; max-width: 32em; }
@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
}

/* ---------- Process (a true sequence: numbered) ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { counter-increment: step; padding: 0 1.5rem 0 0; }
.process .num { display: block; font-family: var(--display); font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 300; font-stretch: 62%; line-height: 1; color: var(--cobalt); margin-bottom: 1rem; }
.process .num::before { content: counter(step, decimal-leading-zero); }
.process h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.process p { color: var(--graphite); font-size: var(--fs-small); line-height: 1.55; margin: 0; }
.process-track { margin-bottom: 2rem; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; }
  .process li { display: grid; grid-template-columns: 4.5rem 1fr; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
  .process .num { grid-row: span 2; font-size: 2.75rem; margin: 0; }
  .process-track { display: none; }
}

/* ---------- Markets table ---------- */
.markets { row-gap: 2.5rem; }
.markets-copy { grid-column: 1 / span 4; }
.markets-table-wrap { grid-column: 6 / -1; overflow-x: auto; }
@media (max-width: 980px) { .markets-copy, .markets-table-wrap { grid-column: 1 / -1; } }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.compare caption { text-align: left; font-family: var(--display); font-stretch: 95%; color: var(--muted); font-size: var(--fs-xs); padding-bottom: .75rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--display); font-size: var(--fs-h4); font-stretch: 85%; font-weight: 600; border-bottom: 1px solid var(--ink); }
.compare tbody th { font-family: var(--display); font-weight: 500; font-stretch: 95%; width: 30%; color: var(--ink); }
.compare td { color: var(--graphite); width: 35%; }
@media (max-width: 560px) {
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); padding: .75rem 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; border: 0; padding: 0 0 .35rem; }
  .compare td { width: auto; border: 0; padding: 0 .75rem 0 0; }
  .compare td::before { content: attr(data-label); display: block; font-family: var(--display); font-size: var(--fs-xs); color: var(--muted); }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--cobalt); color: #fff; }
.cta-band .grid { row-gap: 2rem; align-items: end; }
.cta-band h2 { grid-column: 1 / span 8; font-size: clamp(2.5rem, 1.2rem + 5vw, 6rem); font-stretch: 72%; font-weight: 640; letter-spacing: -0.04em; line-height: .95; }
.cta-band .cta-side { grid-column: 9 / span 4; }
.cta-band p { color: #E4E8FF; }
.cta-band .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { --btn-bg: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta-band a:not(.btn) { color: #fff; }
.cta-band a:not(.btn):hover { color: #fff; text-decoration-color: #fff; }
@media (max-width: 900px) { .cta-band h2, .cta-band .cta-side { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cobalt-light); text-decoration: underline; }
.footer-top { row-gap: 2.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand .brand { color: var(--on-night); }
.footer-brand p { color: var(--on-night-muted); max-width: 26em; margin-top: 1.25rem; font-size: var(--fs-small); }
.footer-col { grid-column: span 2; }
.footer-col.wide { grid-column: 6 / span 3; }
.footer-col:last-child { grid-column: span 3; }
.footer-col h2 { font-size: var(--fs-small); font-stretch: 95%; font-weight: 500; color: var(--on-night-muted); letter-spacing: 0; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; font-family: var(--display); font-stretch: 95%; }
.footer-wordmark { display: block; width: 100%; height: auto; margin: 0 0 1.5rem; user-select: none; }
.footer-wordmark text { font-family: var(--display); font-weight: 700; font-stretch: 62%; font-size: 228px; letter-spacing: -0.04em; fill: var(--night-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--night-rule); font-family: var(--display); font-stretch: 95%; font-size: var(--fs-xs); color: var(--on-night-muted); }
@media (max-width: 900px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col.wide, .footer-col:last-child { grid-column: span 6; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-top: clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.page-head .grid { row-gap: 1.75rem; align-items: end; }
.page-head h1 { grid-column: 1 / span 8; }
.page-head .lead { grid-column: 9 / span 4; margin: 0; }
.page-head--wide h1 { grid-column: 1 / span 10; }
.page-head--wide .lead { grid-column: 1 / span 6; }
@media (max-width: 1000px) { .page-head h1, .page-head .lead { grid-column: 1 / -1; } }
.page-head h1 .soft { font-stretch: 62%; font-weight: 300; color: var(--muted); }

/* ---------- Services page ---------- */
.service-jump { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.service-jump ul { list-style: none; display: flex; flex-wrap: wrap; }
.service-jump li { flex: 1 1 auto; }
.service-jump a { display: block; padding: 1.1rem 1.25rem 1.1rem 0; font-family: var(--display); font-weight: 500; font-stretch: 90%; text-decoration: none; white-space: nowrap; }
.service-jump a:hover { color: var(--cobalt); }
@media (max-width: 760px) {
  .service-jump ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 1.25rem; }
  .service-jump ul::-webkit-scrollbar { display: none; }
}
.service-block { padding-block: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--rule); }
.service-block:last-of-type { border-bottom: 0; }
.service-block .grid { row-gap: 2.5rem; }
.service-block .sb-head { grid-column: 1 / span 5; }
.service-block .sb-body { grid-column: 7 / span 6; }
.service-block .sb-head h2 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem); font-stretch: 76%; margin-bottom: 1.25rem; }
.service-block .sb-head .problem { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 22em; }
.service-figure { margin: 2.5rem 0 0; max-width: 420px; color: var(--ink); }
.service-figure figcaption { font-family: var(--display); font-size: var(--fs-xs); font-stretch: 95%; color: var(--muted); margin-top: .75rem; }
.sb-body h3 { font-size: var(--fs-h4); margin: 0 0 .9rem; }
.sb-body section + section { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--rule); }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 2rem; }
.checklist li { padding: .55rem 0 .55rem 1.6rem; position: relative; border-bottom: 1px solid var(--paper-3); color: var(--graphite); font-size: var(--fs-small); line-height: 1.45; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .9rem; width: .7rem; height: .7rem; border: 1.5px solid var(--cobalt); }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.signals { list-style: none; display: grid; gap: .9rem; }
.signals li { padding-left: 1.25rem; border-left: 2px solid var(--ink); color: var(--graphite); }
.sb-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
@media (max-width: 1000px) { .service-block .sb-head, .service-block .sb-body { grid-column: 1 / -1; } .service-figure { max-width: 360px; } }

/* ---------- Case study ---------- */
.case-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.case-facts li { padding: 1rem 1rem 1.25rem 0; border-bottom: 1px solid var(--rule); }
.case-facts li + li { padding-left: 1rem; border-left: 1px solid var(--rule); }
.case-facts dt, .case-facts .k { font-family: var(--display); font-size: var(--fs-xs); font-stretch: 95%; color: var(--muted); display: block; margin-bottom: .3rem; }
.case-facts .v { font-family: var(--display); font-weight: 500; font-stretch: 92%; }
@media (max-width: 760px) {
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
.case-hero { row-gap: 2rem; align-items: end; margin-top: clamp(2.5rem, 5vw, 4rem); }
.case-hero .frame:not(.frame--phone) { grid-column: 1 / span 9; }
.case-hero .frame--phone { grid-column: 10 / span 3; justify-self: end; width: 100%; max-width: 280px; }
.case-hero .frame--phone img { width: 100%; }
@media (max-width: 760px) {
  /* Phones see the real mobile screenshot (via <picture>) inside a narrow frame */
  .case-hero .frame:not(.frame--phone) { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 320px; }
  .case-hero .frame--phone { display: none; }
}
.case-body { row-gap: 3rem; }
.case-body .case-side { grid-column: 1 / span 4; }
.case-body .case-main { grid-column: 6 / span 7; }
.case-side h2 { font-size: var(--fs-h3); font-stretch: 85%; position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 1000px) { .case-body .case-side, .case-body .case-main { grid-column: 1 / -1; } .case-side h2 { position: static; } }
.scroll-frame { height: min(80vh, 760px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.scroll-frame img { width: 100%; }
.case-next { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; padding-block: 2.5rem; border-top: 1px solid var(--ink); text-decoration: none; }
.case-next .k { font-family: var(--display); font-size: var(--fs-small); color: var(--muted); }
.case-next .name { font-family: var(--display); font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem); font-weight: 600; font-stretch: 70%; letter-spacing: -0.035em; line-height: 1; transition: font-stretch .4s var(--ease); display: block; }
.case-next:hover .name { font-stretch: 90%; color: var(--cobalt); }
.case-next svg { width: 2.5rem; height: 2.5rem; }

/* ---------- Work listing page ---------- */
.work-list { list-style: none; }
.work-entry { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--ink); }
.work-entry .we-text { grid-column: 1 / span 4; }
.work-entry .we-media { grid-column: 6 / span 7; display: grid; grid-template-columns: minmax(0, 1fr) 22%; gap: 1.25rem; align-items: end; }
.work-entry h2 { font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); font-stretch: 72%; margin-bottom: 1rem; }
.work-entry p { color: var(--graphite); }
.work-entry .frame--phone { padding: 6px; border-radius: 16px; width: 100%; max-width: 100%; }
.work-entry .frame--phone img { border-radius: 10px; }
@media (max-width: 1000px) { .work-entry .we-text, .work-entry .we-media { grid-column: 1 / -1; } }
@media (max-width: 560px) { .work-entry .we-media { grid-template-columns: 1fr; } .work-entry .we-media .frame--phone { display: none; } }

/* ---------- About ---------- */
.about-grid { row-gap: 3rem; }
.about-grid .ag-side { grid-column: 1 / span 4; }
.about-grid .ag-main { grid-column: 6 / span 7; }
@media (max-width: 1000px) { .about-grid .ag-side, .about-grid .ag-main { grid-column: 1 / -1; } }
.sector-list { list-style: none; border-top: 1px solid var(--ink); }
.sector-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--col-gap); padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.sector-list h3 { font-size: var(--fs-h4); }
.sector-list p { margin: 0; color: var(--graphite); }
@media (max-width: 640px) { .sector-list li { grid-template-columns: 1fr; gap: .4rem; } }
.notlist { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--on-night-muted); }
.notlist li { padding: 1.5rem 1.5rem 0 0; }
.notlist li + li { padding-left: 1.5rem; border-left: 1px solid var(--night-rule); }
.notlist h3 { font-size: var(--fs-h4); color: var(--on-night); margin-bottom: .6rem; }
.notlist p { color: var(--on-night-muted); font-size: var(--fs-small); margin: 0; }
@media (max-width: 860px) { .notlist { grid-template-columns: 1fr; } .notlist li, .notlist li + li { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--night-rule); } }

/* ---------- Contact ---------- */
.contact-grid { row-gap: 3rem; align-items: start; }
.contact-form { grid-column: 1 / span 7; }
.contact-aside { grid-column: 9 / span 4; }
@media (max-width: 1000px) { .contact-form, .contact-aside { grid-column: 1 / -1; } }
fieldset { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
legend { font-family: var(--display); font-size: var(--fs-h4); font-weight: 600; font-stretch: 90%; padding: 0; margin-bottom: 1rem; }
.legend-note { font-family: var(--serif); font-weight: 400; color: var(--muted); font-size: var(--fs-small); margin: -.5rem 0 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-family: var(--display); font-size: var(--fs-small); font-weight: 500; font-stretch: 95%; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #FBFAF7; border: 1px solid var(--graphite); border-radius: 2px; padding: .8rem .9rem; min-height: 3.1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.field .error { color: #9C211A; font-family: var(--display); font-size: var(--fs-xs); min-height: 0; }
.field .hint { color: var(--muted); font-size: var(--fs-xs); font-family: var(--display); font-stretch: 95%; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .7rem .9rem;
  border: 1px solid var(--rule); background: #FBFAF7; font-family: var(--display); font-stretch: 95%; font-size: var(--fs-small); font-weight: 500;
  transition: border-color .15s, background-color .15s;
}
.choice span::before { content: ""; width: 1rem; height: 1rem; border: 1.5px solid var(--graphite); flex: none; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:hover + span { border-color: var(--graphite); }
.choice input:checked + span { border-color: var(--cobalt); background: #fff; }
.choice input:checked + span::before { background: var(--cobalt); border-color: var(--cobalt); box-shadow: inset 0 0 0 2px #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.form-actions .note { color: var(--muted); font-size: var(--fs-xs); font-family: var(--display); font-stretch: 95%; max-width: 30em; margin: 0; }
.form-status { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--cobalt); background: #fff; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { border-left-color: #B3261E; }
.form-status h3 { font-size: var(--fs-h4); margin-bottom: .35rem; }
.form-status p { margin: 0; color: var(--graphite); font-size: var(--fs-small); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-block { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.aside-block:first-child { border-top: 1px solid var(--ink); }
.aside-block h2 { font-size: var(--fs-h4); margin-bottom: .6rem; }
.aside-block p, .aside-block li { color: var(--graphite); font-size: var(--fs-small); }
.aside-block ol { padding-left: 1.2rem; display: grid; gap: .5rem; }
.contact-email { font-family: var(--display); font-weight: 600; font-stretch: 90%; font-size: 1.25rem; word-break: break-all; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.nf-code { font-family: var(--display); font-weight: 700; font-stretch: 62%; font-size: clamp(7rem, 30vw, 22rem); line-height: .8; letter-spacing: -0.05em; color: var(--paper-3); margin: 0 0 1rem; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.ext::after { content: "\2197"; display: inline-block; margin-left: .25em; font-family: var(--display); text-decoration: none; }

@media print {
  .site-header, .site-footer, .cta-band, .menu-toggle { display: none !important; }
  body { background: #fff; }
}

/* Mobile specimen: full-bleed, taller, larger annotations */
@media (max-width: 640px) {
  .hero-specimen { margin-inline: calc(var(--gutter) * -1); }
  .hero-specimen .specimen-frame { aspect-ratio: 1 / 1.02; border-left: 0; border-right: 0; }
  .hero-specimen .layer-source { font-size: 9.6px; }
  .hero-specimen .b3 { left: 3% !important; top: 42% !important; }
  .hero-specimen .b4, .hero-specimen .b5, .hero-specimen .b7 { display: none; }
  .hero-specimen .b6 { left: 3% !important; top: 78% !important; }
  .hero-specimen figcaption { padding-inline: var(--gutter); flex-direction: column; gap: .35rem; }
}

/* Case study header */
.case-title { grid-column: 1 / span 9; }
.case-lead { grid-column: 1 / span 7; margin-top: 1.5rem; }
@media (max-width: 1000px) { .case-title, .case-lead { grid-column: 1 / -1; } }
.primary-nav .mobile-nav-foot .btn { display: inline-flex; justify-content: center; font-size: 1.0625rem; font-weight: 600; font-stretch: 100%; letter-spacing: -0.005em; padding: .95rem 1.5rem; line-height: 1.2; color: #fff; }

/* Capabilities table (work page) */
.compare--capabilities tbody th { width: 24%; }
.compare--capabilities td:nth-of-type(1) { width: 52%; }
.compare--capabilities td:nth-of-type(2) { width: 24%; }
.compare--capabilities th a, .compare--capabilities td a { text-decoration-color: var(--cobalt); }
@media (max-width: 560px) {
  .compare--capabilities tr { grid-template-columns: 1fr; row-gap: .5rem; }
  .compare--capabilities tbody th, .compare--capabilities td { width: auto; }
}

/* Contact: explains the email-app hand-off */
.send-explainer { border: 1px solid var(--ink); background: #FBFAF7; padding: 1.1rem 1.25rem; margin-bottom: 2.5rem; }
.send-explainer h2 { font-size: var(--fs-h4); margin-bottom: .4rem; }
.send-explainer p { margin: 0; color: var(--graphite); font-size: var(--fs-small); line-height: 1.55; }
