/* ══════════════════════════════════════════════════════════════════════
   RIII — the public site
   ══════════════════════════════════════════════════════════════════════
   Used by index.html, intake.html, privacy.html, terms.html and 404.html.

   One system: ink on paper, one blue, Instrument Sans for everything you
   read, DM Mono for the labels that annotate it, and Instrument Serif in
   italic for the single word in a headline that carries the feeling.

   Colour is TOKENS ONLY. Components never name a hex value for text or a
   surface; they name a token, and three places redefine the tokens:
     - the dark theme, twice (system preference and explicit choice)
     - .band-stage, a ground that stays dark in both themes
   which is why a section written tomorrow gets both for free. */

:root {
  --paper: #f7f9fb;
  --paper-2: #edf2f6;
  --paper-3: #e1e8ef;
  --ink: #15202d;
  --ink-2: #223144;
  --muted: #5c6878;          /* 5.37:1 on --paper, 5.03:1 on --paper-2 */
  --line: rgba(21, 32, 45, 0.14);
  --line-strong: rgba(21, 32, 45, 0.3);
  --accent: #c9e1f5;         /* the light blue tint, used as a ground */
  --accent-dark: #48769e;    /* 4.56:1 on --paper: links and marks */
  --accent-ink: #386080;     /* text ON --accent: 4.94:1 */
  --on-dark-muted: #9aa7b4;
  --white: #ffffff;
  --invert-bg: #15202d;      /* surfaces that invert against the page */
  --invert-fg: #ffffff;
  --invert-muted: #c8d3de;
  --invert-accent: #a8cbea;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --danger: #9f3f35;
  --ok: #2e7d5b;

  /* The stage: a ground that stays dark in both themes, for the two places
     the page wants a change of light (the comparison and the ending). */
  --stage: #0f1924;
  --stage-2: #172433;
  --stage-3: #1f2e40;
  --stage-ink: #eef3f8;
  --stage-ink-2: #c9d6e2;
  --stage-muted: #a3b4c5;    /* 8.0:1 on --stage */
  --stage-line: rgba(238, 243, 248, 0.14);
  --stage-line-strong: rgba(238, 243, 248, 0.32);
  --stage-accent: #9cc8ec;   /* 9.4:1 on --stage */
  --stage-tint: #1c3650;

  --shadow: rgba(45, 75, 103, 0.14);
  --shadow-1: 0 1px 2px rgba(21, 32, 45, 0.06);
  --shadow-2: 0 1px 2px rgba(21, 32, 45, 0.05), 0 12px 30px -12px rgba(21, 45, 70, 0.18);
  --shadow-3: 0 2px 6px rgba(21, 32, 45, 0.05), 0 40px 80px -32px rgba(21, 45, 70, 0.34);

  --font-sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, Consolas, monospace;

  --fs-display: clamp(3rem, 7.6vw, 7.6rem);
  --fs-h2: clamp(2.2rem, 4.3vw, 4.25rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.65rem);
  --fs-lead: clamp(1.06rem, 1.3vw, 1.2rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.72rem;

  --container: 88rem;
  --gutter: clamp(1rem, 3.4vw, 3.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius-xs: 0.25rem;
  --radius-sm: 0.4rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── dark ────────────────────────────────────────────────────────────
   Declared twice: under the media query (guarded so an explicit LIGHT
   choice still wins over a dark system) and under the explicit stamp. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0c131b;
    --paper-2: #131d28;
    --paper-3: #1a2633;
    --ink: #e9eff5;
    --ink-2: #c3d0dd;
    --muted: #9aabbc;          /* 7.9:1 on --paper */
    --line: rgba(233, 239, 245, 0.14);
    --line-strong: rgba(233, 239, 245, 0.32);
    --accent: #1b344a;
    --accent-dark: #8fbde4;    /* 7.2:1 on --paper */
    --accent-ink: #dbe9f6;
    --on-dark-muted: #5c6a77;
    --invert-bg: #e9eff5;
    --invert-fg: #0c131b;
    --invert-muted: #3b4956;
    --invert-accent: #2c5a86;
    --surface: #131d28;
    --surface-2: #1a2632;
    --white: #131d28;
    --danger: #f0a49a;
    --ok: #7fd1a8;
    --stage: #070c12;
    --stage-2: #101923;
    --stage-3: #17222e;
    --stage-line: rgba(238, 243, 248, 0.12);
    --stage-tint: #16304a;
    --shadow: rgba(0, 0, 0, 0.55);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 32px -12px rgba(0, 0, 0, 0.7);
    --shadow-3: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.85);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c131b;
  --paper-2: #131d28;
  --paper-3: #1a2633;
  --ink: #e9eff5;
  --ink-2: #c3d0dd;
  --muted: #9aabbc;
  --line: rgba(233, 239, 245, 0.14);
  --line-strong: rgba(233, 239, 245, 0.32);
  --accent: #1b344a;
  --accent-dark: #8fbde4;
  --accent-ink: #dbe9f6;
  --on-dark-muted: #5c6a77;
  --invert-bg: #e9eff5;
  --invert-fg: #0c131b;
  --invert-muted: #3b4956;
  --invert-accent: #2c5a86;
  --surface: #131d28;
  --surface-2: #1a2632;
  --white: #131d28;
  --danger: #f0a49a;
  --ok: #7fd1a8;
  --stage: #070c12;
  --stage-2: #101923;
  --stage-3: #17222e;
  --stage-line: rgba(238, 243, 248, 0.12);
  --stage-tint: #16304a;
  --shadow: rgba(0, 0, 0, 0.55);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 32px -12px rgba(0, 0, 0, 0.7);
  --shadow-3: 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}

/* ── the stage, as a set of local tokens ──
   Everything inside a stage band reads the same token names as the rest of
   the page, so a form, a chip or a button needs no stage-specific rule. */
.band-stage,
.site-footer {
  color-scheme: dark;
  --paper: var(--stage);
  --paper-2: var(--stage-2);
  --paper-3: var(--stage-3);
  --surface: var(--stage-2);
  --surface-2: var(--stage-3);
  --ink: var(--stage-ink);
  --ink-2: var(--stage-ink-2);
  --muted: var(--stage-muted);
  --line: var(--stage-line);
  --line-strong: var(--stage-line-strong);
  --accent: var(--stage-tint);
  --accent-dark: var(--stage-accent);
  --accent-ink: #dbe9f6;
  --invert-bg: var(--stage-ink);
  --invert-fg: #0f1924;
  --danger: #f2a197;
  --ok: #8ed6b0;
  color: var(--ink);
  background: var(--paper);
}
.band-stage { border-top: 1px solid var(--stage-line); border-bottom: 1px solid var(--stage-line); }

/* ══ base ════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
section[id], [id].band { scroll-margin-top: 4.25rem; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Any display value beats the user agent's [hidden] { display: none }, so a
   hidden panel kept its height and stayed in the accessibility tree. */
[hidden] { display: none !important; }

::selection { color: var(--ink); background: var(--accent); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }

/* One visible focus treatment everywhere. Two pixels in the link blue,
   which holds 4.5:1 or better on every ground the page uses. */
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--invert-fg);
  background: var(--invert-bg);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 60; height: 2px; pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--accent-dark); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* ══ type ════════════════════════════════════════════════════════════ */

/* A small RIII mark in front of every eyebrow: three bars, the first in
   blue. It is the brand doing the job a bullet would. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  flex: none;
  width: 0.78rem;
  height: 0.72rem;
  content: "";
  background: linear-gradient(90deg, var(--accent-dark) 0 24%, transparent 24% 38%, currentColor 38% 62%, transparent 62% 76%, currentColor 76%);
}

.micro-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* The display voice. Instrument Sans narrowed a little on its width axis
   and set tight, with one word in Instrument Serif italic doing the
   emotional work. */
.hero-title,
.section-heading h2,
.process-intro h2,
.value-copy h2,
.partner-statement h2,
.diagnostic-intro h2,
.founder-note h2,
.faq-intro h2,
.contact-copy h2 {
  font-size: var(--fs-h2);
  font-stretch: 88%;
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 0.98;
  text-wrap: balance;
}

:where(h1, h2, h3) em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -0.012em;
  color: var(--accent-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0 0.2rem;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  border: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-size 320ms var(--ease), color 200ms ease;
}
.text-link:hover { background-size: 35% 1px; }
.text-link span { display: inline-block; transition: transform 240ms var(--ease); }
.text-link:hover span { transform: translateX(3px); }

.source-link {
  display: inline-flex;
  gap: 0.4rem;
  width: fit-content;
  padding-bottom: 0.15rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.02em;
  transition: color 180ms ease, border-color 180ms ease;
}
.source-link:hover { color: var(--accent-dark); border-color: currentColor; }

/* ══ buttons ═════════════════════════════════════════════════════════ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 240ms ease, transform 200ms var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(0.985); }
.button-arrow { display: inline-block; transition: transform 260ms var(--ease); }
.button:hover .button-arrow { transform: translate(2px, -2px); }
.button-dark { color: var(--invert-fg); background: var(--invert-bg); box-shadow: 0 10px 24px -14px var(--shadow); }
.button-dark:hover { background: var(--ink-2); box-shadow: 0 16px 30px -16px var(--shadow); }
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { background: color-mix(in srgb, var(--accent) 82%, var(--accent-dark)); }
.button-ghost { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.button-ghost:hover { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); }

/* ══ header ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
  padding: 0 var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 260ms ease, border-color 260ms ease, height 260ms var(--ease);
}
/* Without a script nothing marks the header as scrolled, so it keeps its
   ground from the start rather than letting the page run underneath it. */
html:not(.js) .site-header,
.site-header.is-scrolled {
  height: 4rem;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-color: var(--line);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.04em; }
.brand-word { display: inline-flex; align-items: baseline; }
.brand-muted { margin-left: 0.35rem; color: var(--muted); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.05em; }
.brand-mark { display: inline-flex; align-items: stretch; gap: 0.17rem; width: 1.2rem; height: 1.3rem; }
.brand-mark i { display: block; flex: 1; background: currentColor; border-radius: 1px; transition: transform 320ms var(--ease); transform-origin: bottom; }
.brand-mark i:first-child { background: var(--accent-dark); }
.brand:hover .brand-mark i:nth-child(2) { transform: scaleY(0.78); }
.brand:hover .brand-mark i:nth-child(3) { transform: scaleY(0.56); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: 0.9rem; font-weight: 500; }
.site-nav > a:not(.nav-cta) { position: relative; color: var(--ink-2); padding: 0.4rem 0; }
.site-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 0.1rem; left: 0; height: 1px; content: ""; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 240ms var(--ease); }
.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta).is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav > a.is-active { color: var(--ink); }
.nav-tools { display: inline-flex; align-items: center; gap: 1rem; padding-left: clamp(0.25rem, 1vw, 1rem); border-left: 1px solid var(--line); }
.nav-signin { color: var(--muted); font-size: 0.88rem; }
.nav-signin:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1rem;
  color: var(--invert-fg);
  background: var(--invert-bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 200ms ease, transform 200ms var(--ease);
}
.nav-cta:hover { background: var(--ink-2); transform: translateY(-1px); }
.menu-toggle { display: none; align-items: center; gap: 0.7rem; padding: 0.6rem 0; color: inherit; background: none; border: 0; font-size: 0.9rem; font-weight: 500; cursor: pointer; }

/* On a dark page the featured price card inverts to light, where the pale
   blue button would vanish into it; there it becomes a dark button. */
:root[data-theme="dark"] .price-featured .button-accent { color: var(--invert-bg); background: var(--invert-fg); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .price-featured .button-accent { color: var(--invert-bg); background: var(--invert-fg); }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 300ms var(--ease);
}
.theme-toggle:hover { border-color: var(--line-strong); background: var(--paper-2); transform: rotate(18deg); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
}
/* With no script there is nothing to run the button, so it is not shown. */
html:not(.js) .theme-toggle { display: none; }
.theme-toggle-loose {
  position: fixed;
  top: clamp(0.9rem, 2.5vw, 1.6rem);
  right: clamp(0.9rem, 2.5vw, 1.6rem);
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ══ layout ══════════════════════════════════════════════════════════ */
.section { width: min(100%, var(--container)); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.band-tint { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* The standard section opening: the label, the headline, and the paragraph
   that earns it, on one line where there is room. */
.section-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.27fr) minmax(0, 1fr) minmax(15rem, 0.44fr);
  align-items: end;
  gap: clamp(1.25rem, 4vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 5.5vw, 4.5rem);
}
.section-heading .eyebrow { align-self: start; padding-top: 0.55rem; }
.section-heading h2 { max-width: 17ch; }
.section-heading > p:last-child,
.section-aside { max-width: 30rem; color: var(--muted); font-size: 1rem; text-wrap: pretty; }
.section-aside p + p { margin-top: 0.9rem; }
.section-aside strong { color: var(--ink); font-weight: 600; }

.honesty-note {
  max-width: 46rem;
  margin: 1.6rem 0 0 auto;
  padding-top: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  text-wrap: pretty;
}

/* ══ chips ═══════════════════════════════════════════════════════════
   Single-choice groups (role="radio"). The checked one is filled in ink,
   and carries a small dot so the state is not colour alone. */
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 160ms var(--ease);
}
.chip::before {
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.chip:hover { color: var(--ink); border-color: var(--line-strong); }
.chip:active { transform: scale(0.97); }
.chip[aria-checked="true"] { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); }
.chip[aria-checked="true"]::before { background: var(--accent); border-color: var(--accent); }
html:not(.js) [data-business-group] { display: none; }

.step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step-label > span {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  letter-spacing: 0;
}
.step-label b { margin-left: auto; color: var(--ink); font-weight: 500; }

/* ══ hero ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3.25rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
}
/* A faint drafting grid behind the opening, fading out before it reaches
   the work. It is the only decoration on the page. */
.hero::before {
  position: absolute;
  z-index: -1;
  inset: -4.5rem 0 30% 0;
  content: "";
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: center top;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 25rem);
  align-items: end;
  gap: clamp(1.5rem, 4.5vw, 4.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.hero-title {
  max-width: 13ch;
  margin-top: 1.1rem;
  font-size: var(--fs-display);
  font-stretch: 84%;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.hero-title em { letter-spacing: -0.02em; }
.hero-side { display: grid; gap: 1.6rem; padding-bottom: 0.5rem; }
.hero-lede { max-width: 30rem; color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; }

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  margin: 0;
  padding: 0.38rem 0.85rem 0.38rem 0.65rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: var(--shadow-1);
}
.availability-dot { position: relative; flex: none; width: 0.5rem; height: 0.5rem; background: var(--ok); border-radius: 50%; }
.availability-dot::after { position: absolute; inset: -0.3rem; content: ""; border: 1px solid var(--ok); border-radius: 50%; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.availability.is-full .availability-dot { background: #a8722c; }
.availability.is-full .availability-dot::after { border-color: #a8722c; }
@keyframes ping { 0% { opacity: 0.7; transform: scale(0.5); } 100% { opacity: 0; transform: scale(1.6); } }

/* ── the builder: pick, preview, price ── */
.builder {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.3fr) minmax(0, 1fr) minmax(16rem, 0.4fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.chips-stack { flex-direction: column; flex-wrap: nowrap; gap: 0.4rem; }
.chips-stack .chip { justify-content: flex-start; width: 100%; min-height: 2.75rem; border-radius: var(--radius-sm); }
.chips-stack .chip[aria-checked="true"]::after { margin-left: auto; content: "→"; font-size: 0.9rem; }
.builder-static { margin-top: 0.75rem; color: var(--muted); font-size: var(--fs-small); }
.builder-more { margin-top: 1.1rem; padding-top: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5; text-wrap: pretty; }
.builder-more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2rem; }
.builder-more a:hover { text-decoration-color: currentColor; }
html.js .builder-static { display: none; }

.frame {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
}
.frame-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  height: 2.6rem;
  padding: 0 0.9rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.frame-dots { display: flex; gap: 0.38rem; }
.frame-dots i { width: 0.6rem; height: 0.6rem; background: var(--line-strong); border-radius: 50%; }
.frame-url {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.22rem 0.85rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
}
.frame-url svg { width: 0.7rem; height: 0.7rem; }
.frame-tag {
  justify-self: end;
  padding: 0.12rem 0.5rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.frame-view { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); }
.frame-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.frame-plot {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: var(--accent-dark);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 1.5rem 0.3rem rgba(72, 118, 158, 0.45);
  opacity: 0;
  pointer-events: none;
}
.frame-caption {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 1rem 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.5;
}
.frame-caption strong { color: var(--ink); font-weight: 600; }
.frame-nearest { color: var(--accent-ink); }

/* The sheet reads like the title block on a drawing: ruled cells, mono
   labels, one figure that matters. */
.sheet {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
.sheet-cell { padding: 1.1rem 1.15rem 1.2rem; }
.sheet-cell + .sheet-cell { border-top: 1px solid var(--line); }
.ticks { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.45rem; font-size: 0.9rem; line-height: 1.4; text-wrap: pretty; }
.ticks li::before {
  position: absolute;
  top: 0.3em;
  left: 0.1rem;
  width: 0.62rem;
  height: 0.34rem;
  content: "";
  border-bottom: 1.7px solid var(--accent-dark);
  border-left: 1.7px solid var(--accent-dark);
  transform: rotate(-45deg);
}
.sheet-figure {
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
  font-stretch: 88%;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1;
}
.sheet-route { margin-top: 0.4rem; font-weight: 600; }
.sheet-move { margin-top: 0.55rem; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; text-wrap: pretty; }
.sheet-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem -1.15rem -1.2rem;
  padding: 0.9rem 1.15rem;
  color: var(--invert-fg);
  background: var(--invert-bg);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 200ms ease;
}
.sheet-cta span { transition: transform 240ms var(--ease); }
.sheet-cta:hover { background: var(--ink-2); }
.sheet-cta:hover span { transform: translate(2px, -2px); }
.sheet-cta:focus-visible { outline-offset: -4px; }

/* ══ the terms ═══════════════════════════════════════════════════════ */
.terms { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.terms-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
}
.terms-list li { display: grid; align-content: start; gap: 0.4rem; padding: 1.6rem 1.25rem 1.75rem; border-left: 1px solid var(--line); }
.terms-list li:first-child { padding-left: 0; border-left: 0; }
.terms-list strong { font-size: 1.45rem; font-stretch: 88%; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1.1; }
.terms-list li > span { color: var(--muted); font-size: 0.86rem; line-height: 1.45; text-wrap: pretty; }

/* ══ before and after ════════════════════════════════════════════════ */
.change-section {
  display: grid;
  grid-template-columns: minmax(15rem, 0.32fr) minmax(0, 1fr);
  grid-template-areas: "head head" ". pick" "notes compare";
  column-gap: clamp(1.5rem, 4vw, 4.5rem);
}
.change-section .section-heading { grid-area: head; }
.change-picker { grid-area: pick; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-bottom: 1.1rem; }
.change-picker .step-label { margin: 0; }
.change-picker .chip { min-height: 2.25rem; padding: 0.35rem 0.8rem; font-size: 0.85rem; }
.compare { grid-area: compare; margin: 0; }
.change-notes { grid-area: notes; align-self: start; display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.change-notes li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.change-notes strong { display: block; margin-bottom: 0.2rem; font-size: 1rem; font-weight: 600; }
.change-notes p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.pin {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  color: #fff;
  background: #2f6ea6;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(47, 110, 166, 0.28);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
}

.compare-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.compare-pane { position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 3 / 2; border-radius: var(--radius-md); }
.compare-before { order: -1; }
.compare-after img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.compare-handle { display: none; }
.compare-tag {
  position: absolute;
  bottom: 0.75rem;
  z-index: 3;
  padding: 0.3rem 0.6rem;
  color: #eef3f8;
  background: rgba(10, 17, 25, 0.78);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.compare-tag-before { left: 0.75rem; }
.compare-tag-after { right: 0.75rem; }
.compare-caption { margin-top: 0.9rem; color: var(--muted); font-size: 0.82rem; }

/* With scripts: one picture, a divider you can drag. */
.js .compare-stage {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.js .compare-pane { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.js .compare-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.js .compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.75rem;
  margin-left: -1.375rem;
  cursor: ew-resize;
}
.js .compare-handle::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; content: ""; background: #fff; box-shadow: 0 0 0 1px rgba(10, 17, 25, 0.25), 0 0 18px rgba(0, 0, 0, 0.35); }
.compare-grip {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #15202d;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 200ms var(--ease);
}
.compare-grip svg { width: 1.2rem; height: 1.2rem; }
.compare-handle:focus-visible { outline: none; }
.compare-handle:focus-visible .compare-grip { outline: 3px solid var(--stage-accent); outline-offset: 3px; }
.compare:hover .compare-grip,
.compare.is-dragging .compare-grip { transform: scale(1.08); }

/* ── the dated page, drawn ──
   Everything is sized in container units so the parody scales with the
   frame exactly the way a screenshot would. It is decoration: the slider
   and the caption carry the meaning for assistive technology. */
.dated {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2cqw;
  padding: 2.4cqw 0 0 3cqw;
  overflow: hidden;
  color: #1c1c1c;
  background-color: #bdb8aa;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 9px);
  font-family: "Times New Roman", Times, serif;
  font-size: 1.05cqw;
  line-height: 1.35;
  text-align: center;
}
/* A fixed 760-pixel table, pinned to the left of a wide screen: the
   layout of a site built for a monitor nobody owns any more. */
.dated > * { width: 50cqw; }
.dated-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1cqw;
  padding: 1.3cqw 0;
  background: linear-gradient(#3b5d93, #1d335c);
  border: 0.3cqw outset #8ea6cc;
}
.dated-logo { width: 3cqw; height: 3cqw; background: radial-gradient(circle at 35% 35%, #ffe68a, #d9a40f); border-radius: 50%; box-shadow: 0.15cqw 0.15cqw 0 #000; }
.dated-name { color: #fff; font-size: 3cqw; font-style: italic; font-weight: 700; letter-spacing: 0.02em; text-shadow: 0.2cqw 0.2cqw 0 #000; }
.dated-shout { padding: 0.4cqw 0; color: #b00000; background: #fff59a; font-family: Arial, Helvetica, sans-serif; font-size: 1.25cqw; font-weight: 700; letter-spacing: 0.08em; }
.dated-nav { color: #00008b; font-family: Arial, Helvetica, sans-serif; font-size: 0.98cqw; }
.dated u { text-decoration-thickness: 0.08cqw; }
.dated-main { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.6cqw; padding: 1.8cqw; background: #fffdf3; border: 0.25cqw inset #bdb6a2; text-align: left; }
.dated-photo { display: grid; place-items: center; aspect-ratio: 1; color: #555; background: #e6e2d6; border: 0.2cqw dashed #9b9483; font-family: Arial, Helvetica, sans-serif; font-size: 0.9cqw; }
.dated-photo span::before { display: inline-block; width: 1.1cqw; height: 1.1cqw; margin-right: 0.5cqw; vertical-align: -0.15cqw; content: ""; border: 0.12cqw solid #777; background: linear-gradient(135deg, transparent 45%, #c33 45% 55%, transparent 55%); }
.dated-copy { display: grid; align-content: start; gap: 1cqw; font-family: Verdana, Geneva, sans-serif; font-size: 0.95cqw; line-height: 1.5; }
.dated-h { color: #6b1f7a; font-family: "Times New Roman", Times, serif; font-size: 1.9cqw; font-style: italic; font-weight: 700; }
.dated-copy u { color: #00008b; }
.dated-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1cqw; }
.dated-row > div { display: grid; align-content: start; gap: 0.5cqw; padding: 0.9cqw 1.1cqw 1.2cqw; background: #fffdf3; border: 0.25cqw inset #bdb6a2; font-family: Arial, Helvetica, sans-serif; font-size: 0.9cqw; text-align: left; }
.dated-row b { color: #6b1f7a; font-family: "Times New Roman", Times, serif; font-size: 1.35cqw; font-style: italic; }
.dated-row ul { margin: 0; padding-left: 1.6cqw; list-style: square; }
.dated-row u { color: #00008b; }
.dated-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqw; }
.dated-boxes div { display: grid; gap: 0.6cqw; padding: 0.8cqw 0.8cqw 1.4cqw; background: #fffdf3; border: 0.25cqw inset #bdb6a2; font-family: Arial, Helvetica, sans-serif; font-size: 0.86cqw; }
.dated-boxes b { padding: 0.25cqw 0; color: #fff; background: linear-gradient(#7b8fb3, #4b5f85); font-size: 0.95cqw; }
.dated-boxes u { color: #00008b; }
.dated-foot { padding: 0.6cqw 0 1cqw; color: #2a2a2a; font-family: Arial, Helvetica, sans-serif; font-size: 0.78cqw; }
.dated-pin {
  display: inline-grid;
  place-items: center;
  width: 2cqw;
  min-width: 11px;
  height: 2cqw;
  min-height: 11px;
  margin-left: 0.5cqw;
  color: #fff;
  background: #2f6ea6;
  border-radius: 50%;
  box-shadow: 0 0 0 0.35cqw rgba(47, 110, 166, 0.3);
  font-family: "DM Mono", monospace;
  font-size: max(7px, 1.05cqw);
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-shadow: none;
  vertical-align: middle;
}

/* ══ why it matters ══════════════════════════════════════════════════ */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.stat { display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; padding: 2rem clamp(1.25rem, 2.5vw, 2.5rem) 2.25rem 0; }
.stat + .stat { padding-left: clamp(1.25rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.stat-figure {
  display: block;
  margin: 0.5rem 0 0.4rem;
  color: var(--ink);
  font-size: clamp(3.8rem, 6.4vw, 6.25rem);
  font-stretch: 80%;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.05em;
  line-height: 0.82;
}
.stat-figure span { margin-left: 0.04em; color: var(--accent-dark); font-family: var(--font-serif); font-size: 0.5em; font-stretch: 100%; font-style: italic; font-weight: 400; letter-spacing: 0; }
.stat h3 { max-width: 24rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; text-wrap: pretty; }
.stat > p:not(.micro-label) { max-width: 26rem; color: var(--muted); font-size: 0.95rem; text-wrap: pretty; }
.stat .source-link { margin-top: auto; padding-top: 0.6rem; }

.meaning {
  display: grid;
  grid-template-columns: minmax(9rem, 0.27fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
  background: var(--accent);
  border-radius: var(--radius-md);
}
.meaning .micro-label { color: var(--accent-ink); }
.meaning ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.meaning li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.meaning li > span { color: var(--accent-ink); font-family: var(--font-mono); font-size: var(--fs-micro); padding-top: 0.2rem; }
.meaning b { display: block; color: var(--ink); font-size: 1.02rem; }
.meaning li p { margin-top: 0.25rem; color: var(--accent-ink); font-size: 0.92rem; line-height: 1.5; }
.evidence-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; }
.evidence-note { max-width: 52rem; color: var(--muted); font-size: var(--fs-small); }
.evidence-footer .text-link { flex: none; }

/* ══ the concept gallery ═════════════════════════════════════════════ */
.work-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 clamp(1.6rem, 3vw, 2.4rem); }
.work-filter {
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.work-filter:hover { color: var(--ink); border-color: var(--line-strong); }
.work-filter.is-on { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); }

.work-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.5rem); }
.work-card { min-width: 0; }
.work-card-wide { grid-column: 1 / -1; }
.work-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}
.work-image {
  display: block;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
.work-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top center; transition: transform 800ms var(--ease); }
.work-zoom {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.4rem 0.75rem;
  color: #15202d;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.work-open:hover .work-zoom,
.work-open:focus-visible .work-zoom { opacity: 1; transform: none; }
@media (hover: none) { .work-zoom { opacity: 1; transform: none; } }
.work-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.7fr) auto; align-items: start; gap: 1.25rem 2rem; padding: 1.25rem 0 0; }
.work-meta.compact { grid-template-columns: minmax(0, 1fr) auto; }
.work-meta h3 { margin-top: 0.35rem; font-size: var(--fs-h3); font-stretch: 92%; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.work-meta > p { color: var(--muted); font-size: 0.95rem; text-wrap: pretty; }
.tag { align-self: start; padding: 0.3rem 0.65rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: 0.7rem; white-space: nowrap; }
.work-more-row { display: flex; justify-content: center; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.work-more {
  min-height: 2.9rem;
  padding: 0.7rem 1.5rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.work-more:hover { color: var(--invert-fg); background: var(--invert-bg); }
.work-none { margin: 0 0 2rem; color: var(--muted); }

.work-dialog {
  width: min(1120px, 94vw);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}
.work-dialog::backdrop { background: rgba(8, 13, 20, 0.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.work-dialog[open] { animation: dialog-in 280ms var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }
.work-dialog-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(19rem, 1fr); max-height: 92vh; }
.work-dialog-figure { display: flex; align-items: center; margin: 0; overflow: hidden; background: var(--paper-2); border-right: 1px solid var(--line); }
.work-dialog-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.work-dialog-copy { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.5rem, 3vw, 2.6rem); overflow-y: auto; }
.work-dialog-copy h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-stretch: 92%; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
.work-dialog-copy > p { color: var(--muted); text-wrap: pretty; }
.work-dialog-copy .micro-label { color: var(--accent-ink); }
.work-dialog-honest { font-size: var(--fs-small); }
.work-dialog-facts { display: grid; gap: 0.75rem; margin: 0.3rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.work-dialog-facts dt { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.07em; text-transform: uppercase; }
.work-dialog-facts dd { margin: 0.15rem 0 0; font-size: 1rem; }
.work-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: auto; padding-top: 1.4rem; }
.work-dialog-actions .button { grid-column: 1 / -1; order: -1; justify-content: space-between; }
.work-dialog-nav,
.pass-step {
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.work-dialog-nav:hover,
.pass-step:hover { color: var(--ink); border-color: var(--line-strong); background: var(--paper-2); }
.work-dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.work-dialog-close:hover { background: var(--paper-2); }

/* ══ four passes ═════════════════════════════════════════════════════ */
.pass-shell { display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.pass-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper-2); }
.pass-tab {
  display: grid;
  gap: 0.25rem;
  padding: 1rem clamp(0.75rem, 1.6vw, 1.4rem);
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.pass-tab:last-child { border-right: 0; }
.pass-tab:hover { color: var(--ink); background: var(--surface); }
.pass-tab.is-on { color: var(--ink); background: var(--surface); border-bottom-color: transparent; }
.pass-n { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.pass-tab.is-on .pass-n { color: var(--accent-dark); }
.pass-name { font-size: 0.95rem; font-weight: 600; }
.pass-tab:focus-visible { outline-offset: -3px; }
.pass-track { height: 2px; background: var(--line); }
.pass-track-fill { display: block; height: 100%; background: var(--accent-dark); transform: scaleX(0.25); transform-origin: left; transition: transform 340ms var(--ease); }
.pass-panel { display: grid; grid-template-columns: 1.45fr 1fr; }
.pass-figure { margin: 0; background: var(--paper-2); }
.pass-figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pass-copy { display: flex; flex-direction: column; gap: 0.8rem; padding: clamp(1.5rem, 3vw, 2.6rem); border-left: 1px solid var(--line); }
.pass-copy .micro-label { color: var(--accent-dark); }
.pass-copy h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); font-stretch: 92%; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.pass-copy > p:not(.micro-label) { color: var(--muted); font-size: 0.98rem; text-wrap: pretty; }
.pass-changed-label { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pass-changed { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.pass-changed li { position: relative; padding-left: 1.2rem; font-size: 0.92rem; }
.pass-changed li::before { position: absolute; top: 0.62em; left: 0; width: 0.36rem; height: 0.36rem; content: ""; background: var(--accent-dark); transform: rotate(45deg); }
.pass-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem clamp(1rem, 2vw, 1.6rem); background: var(--paper-2); border-top: 1px solid var(--line); }
.pass-count { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }

/* ══ services ════════════════════════════════════════════════════════ */
.services-list { border-top: 1px solid var(--line-strong); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row summary { list-style: none; }
.service-row summary::-webkit-details-marker { display: none; }
.service-summary {
  display: grid;
  grid-template-columns: minmax(3rem, 0.18fr) minmax(0, 0.85fr) minmax(0, 0.95fr) auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 4.5rem);
  min-height: 7.5rem;
  padding: 1.75rem 0;
  cursor: pointer;
  transition: color 200ms ease;
}
.service-summary:focus-visible { outline-offset: -2px; }
.service-number { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); }
.service-row h3 { font-size: clamp(1.45rem, 2.6vw, 2.5rem); font-stretch: 90%; font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.service-summary > p { max-width: 36rem; color: var(--muted); font-size: 0.98rem; }
.service-mark { position: relative; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform 300ms var(--ease), background-color 200ms ease, border-color 200ms ease; }
.service-mark::before,
.service-mark::after { position: absolute; top: 50%; left: 50%; width: 0.85rem; height: 1.5px; margin: -0.75px 0 0 -0.425rem; content: ""; background: currentColor; transition: transform 300ms var(--ease); }
.service-mark::after { transform: rotate(90deg); }
.service-row[open] .service-mark { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); transform: rotate(180deg); }
.service-row[open] .service-mark::after { transform: rotate(0deg); }
.service-detail { display: grid; grid-template-columns: minmax(3rem, 0.18fr) minmax(0, 0.85fr) minmax(0, 0.95fr) auto; gap: clamp(1rem, 4vw, 4.5rem); padding: 0 0 2.25rem; }
.service-detail > .micro-label { grid-column: 2; padding-top: 0.2rem; }
.service-detail ul { grid-column: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.service-detail li { position: relative; padding-left: 1rem; font-size: 0.92rem; }
.service-detail li::before { position: absolute; top: 0.6em; left: 0; width: 0.32rem; height: 0.32rem; content: ""; background: var(--accent-dark); transform: rotate(45deg); }
.service-detail > p:last-child { grid-column: 3; max-width: 40rem; margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; }
.service-detail strong { color: var(--ink); }
.service-row[open] .service-detail { animation: detail-in 360ms var(--ease); }
@keyframes detail-in { from { opacity: 0; transform: translateY(-0.4rem); } }

/* ══ process ═════════════════════════════════════════════════════════ */
.process-section { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.process-intro { position: sticky; top: 6.5rem; display: grid; gap: 1.5rem; }
.process-intro h2 { max-width: 12ch; }
.process-intro > p:not(.eyebrow) { max-width: 32rem; color: var(--muted); text-wrap: pretty; }
.process-intro .text-link { width: fit-content; }
.process-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0.5rem 0 0; border-top: 1px solid var(--line); }
.process-totals div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.process-totals div:nth-child(odd) { padding-right: 1rem; }
.process-totals div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.process-totals dt { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.07em; text-transform: uppercase; }
.process-totals dd { margin: 0.2rem 0 0; font-weight: 600; }

/* The line runs down between the "when" column and the steps. Steps are
   rings; the three points where you decide are solid diamonds. */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; --when: 6.5rem; --rail: 2.6rem; }
.timeline::before { position: absolute; top: 0.6rem; bottom: 1.5rem; left: calc(var(--when) + var(--rail) / 2); width: 1px; content: ""; background: var(--line-strong); }
.tl { position: relative; display: grid; grid-template-columns: var(--when) minmax(0, 1fr); column-gap: var(--rail); padding-bottom: 2rem; }
.tl::before {
  position: absolute;
  top: 0.32rem;
  left: calc(var(--when) + var(--rail) / 2 - 0.4rem);
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background: var(--paper);
  border: 1.5px solid var(--accent-dark);
  border-radius: 50%;
}
.tl-when { padding-top: 0.12rem; color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.06em; text-align: right; text-transform: uppercase; }
.tl h3 { margin-bottom: 0.3rem; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.3; }
.tl p { max-width: 36rem; color: var(--muted); font-size: 0.97rem; text-wrap: pretty; }
.tl-decide::before { width: 0.85rem; height: 0.85rem; background: var(--accent-dark); border: 0; border-radius: 2px; box-shadow: 0 0 0 4px var(--paper); transform: rotate(45deg); }
.tl-decide .tl-when { padding-top: 1.05rem; color: var(--accent-dark); font-weight: 500; }
.tl-decide::before { top: 1.2rem; }
.tl-decide > div { padding: 0.95rem 1.15rem 1.05rem; background: var(--accent); border-radius: var(--radius-sm); }
.tl-decide p { color: var(--accent-ink); }
.tl:last-child { padding-bottom: 0; }

/* ══ calculator ══════════════════════════════════════════════════════ */
.value-section { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.value-copy { position: sticky; top: 6.5rem; display: grid; gap: 1.4rem; }
.value-copy h2 { max-width: 10ch; }
.value-copy > p:not(.eyebrow) { max-width: 32rem; color: var(--muted); text-wrap: pretty; }
.value-assurance { display: grid; margin-top: 1rem; border-top: 1px solid var(--line); }
.value-assurance > div { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.6rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.value-assurance span { color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--fs-micro); padding-top: 0.15rem; }
.value-assurance p { color: var(--muted); font-size: 0.92rem; }
.value-assurance strong { color: var(--ink); font-weight: 600; }
.calculator { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.calculator-topbar,
.diagnostic-topbar { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.2rem; color: var(--muted); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; }
.calculator-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.calculator-inputs label { display: grid; gap: 1rem; min-height: 8rem; padding: clamp(1.1rem, 2.4vw, 1.75rem); background: var(--surface); }
.calculator-inputs label:first-child { grid-column: 1 / -1; min-height: 7rem; }
.calculator-inputs label > span { color: var(--muted); font-size: 0.88rem; }
.calculator-inputs label > div { display: flex; align-items: baseline; gap: 0.5rem; margin-top: auto; }
.calculator-inputs input {
  width: 100%;
  min-width: 0;
  padding: 0 0 0.15rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  transition: border-color 180ms ease;
}
.calculator-inputs input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.calculator-inputs input[type="number"]::-webkit-inner-spin-button,
.calculator-inputs input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; appearance: none; }
.calculator-inputs input:focus { border-color: var(--accent-dark); box-shadow: 0 1px 0 var(--accent-dark); }
.calculator-inputs input:focus-visible { outline: none; }
.calculator-inputs small { color: var(--accent-ink); font-family: var(--font-mono); font-size: 0.8rem; }
.calculator-output { display: grid; grid-template-columns: 0.8fr 0.8fr 1.4fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.calculator-output > div { display: grid; align-content: space-between; gap: 1rem; min-height: 8.5rem; padding: clamp(1.1rem, 2.4vw, 1.6rem); background: var(--surface); }
.calculator-output span { color: var(--muted); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; line-height: 1.45; text-transform: uppercase; }
.calculator-output strong { font-family: var(--font-mono); font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -0.06em; }
.calculator-output .output-primary { background: var(--accent); }
.calculator-output .output-primary span { color: var(--accent-ink); }
.calculator-handoff { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 1.1rem clamp(1.1rem, 2.4vw, 1.6rem); background: var(--surface); border-top: 1px solid var(--line); }
.calculator-handoff small { color: var(--muted); font-size: var(--fs-small); }
.calculator-note { padding: 1rem clamp(1.1rem, 2.4vw, 1.6rem); color: var(--muted); background: var(--paper-2); border-top: 1px solid var(--line); font-size: 0.82rem; }

/* ══ why trust ═══════════════════════════════════════════════════════ */
.partner-section { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 8rem); padding-top: 0; }
.partner-statement { position: sticky; top: 6.5rem; align-self: start; display: grid; gap: 1.4rem; }
.partner-statement h2 { max-width: 12ch; }
.partner-reasons { border-top: 1px solid var(--line-strong); }
.partner-reasons article { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.partner-reasons article > span { padding-top: 0.45rem; color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--fs-micro); }
.partner-reasons h3 { max-width: 30rem; text-wrap: balance; margin-bottom: 0.6rem; font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-stretch: 92%; font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.partner-reasons p { max-width: 38rem; color: var(--muted); }

/* ══ diagnostic ══════════════════════════════════════════════════════ */
.diagnostic-section { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.diagnostic-intro { position: sticky; top: 6.5rem; display: grid; gap: 1.4rem; }
.diagnostic-intro h2 { max-width: 10ch; }
.diagnostic-intro > p:not(.eyebrow) { max-width: 32rem; color: var(--muted); }
.diagnostic-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.04em; text-transform: uppercase; }
.diagnostic-meta span { display: flex; align-items: center; gap: 0.45rem; }
.diagnostic-meta span::before { width: 0.3rem; height: 0.3rem; content: ""; background: var(--accent-dark); transform: rotate(45deg); }
.diagnostic-shell { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.diagnostic-progress { height: 2px; background: var(--paper-2); }
.diagnostic-progress span { display: block; width: 100%; height: 100%; background: var(--accent-dark); transform: scaleX(0.2); transform-origin: left; transition: transform 260ms var(--ease); }
.diagnostic-body { min-height: 31rem; padding: clamp(1.5rem, 4.5vw, 3.75rem); }
.diagnostic-question { display: flex; flex-direction: column; min-height: 24rem; }
.diagnostic-question .micro-label,
.diagnostic-result .micro-label { color: var(--accent-dark); }
.diagnostic-question h3 { max-width: 19ch; margin: 1.25rem 0 1rem; font-size: clamp(1.9rem, 3.6vw, 3.4rem); font-stretch: 90%; font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.diagnostic-question > p:not(.micro-label) { max-width: 36rem; color: var(--muted); }
.diagnostic-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: auto; padding-top: 2rem; }
.diagnostic-actions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0 1.15rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ease);
}
.diagnostic-actions button:first-child { background: var(--accent); border-color: transparent; }
.diagnostic-actions button:hover { border-color: var(--ink-2); }
.diagnostic-actions button:active { transform: scale(0.98); }
.diagnostic-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: 0 1.2rem; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.82rem; }
.diagnostic-footer button { padding: 0.5rem 0; color: var(--ink); background: none; border: 0; font-weight: 600; cursor: pointer; }
.diagnostic-footer button:disabled { color: var(--muted); opacity: 0.55; cursor: default; }
.diagnostic-result { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); min-height: 24rem; }
.score-ring {
  --score: 0;
  display: grid;
  grid-template-columns: auto auto;
  place-content: center;
  align-items: baseline;
  width: clamp(8rem, 15vw, 11rem);
  aspect-ratio: 1;
  color: var(--ink);
  background: radial-gradient(circle at center, var(--surface) 61%, transparent 62%), conic-gradient(var(--accent-dark) calc(var(--score) * 1%), var(--paper-2) 0);
  border-radius: 50%;
}
.score-ring span { font-family: var(--font-mono); font-size: clamp(2.3rem, 4.5vw, 3.6rem); letter-spacing: -0.08em; }
.score-ring small { color: var(--muted); font-family: var(--font-mono); font-size: 0.8rem; }
.result-copy h3 { margin: 0.9rem 0 0.8rem; font-size: clamp(1.9rem, 3.4vw, 3rem); font-stretch: 90%; font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
.result-copy > p:not(.micro-label) { max-width: 34rem; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.3rem; margin-top: 1.75rem; }
.result-actions .text-link { white-space: nowrap; }

/* ══ founder ═════════════════════════════════════════════════════════ */
.founder-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr); gap: 0; }
.founder-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  min-height: clamp(30rem, 46vw, 42rem);
  padding: clamp(2rem, 6vw, 6rem);
  color: var(--invert-fg);
  background: var(--invert-bg);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.founder-note .eyebrow { color: var(--invert-accent); }
.founder-note h2 { max-width: 13ch; font-weight: 500; }
.founder-note > p:not(.eyebrow) { max-width: 40rem; color: var(--invert-muted); font-size: var(--fs-lead); text-wrap: pretty; }
.founder-sign { font-family: var(--font-serif); font-size: 1.6rem; font-style: italic; color: var(--invert-fg); }
.founder-sign i { margin: 0 0.35rem; color: var(--invert-accent); }
.proof-policy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.proof-policy .micro-label { color: var(--accent-ink); }
.proof-policy h3 { max-width: 13ch; font-size: clamp(2rem, 3.6vw, 3.4rem); font-stretch: 90%; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.proof-policy > p:not(.micro-label) { max-width: 34rem; color: var(--accent-ink); text-wrap: pretty; }
.proof-policy ul { margin: 1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.proof-policy li { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-strong); }
.proof-policy strong { font-size: 0.98rem; }
.proof-policy span { color: var(--accent-ink); font-size: 0.9rem; }

/* ══ included ════════════════════════════════════════════════════════ */
.include-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.include-group { padding: clamp(1.25rem, 2.2vw, 1.85rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.include-group h3 { display: flex; gap: 0.6rem; margin: 0 0 1rem; color: var(--ink); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.include-group h3 span { color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 400; padding-top: 0.2rem; }
.include-group ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.include-group li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; line-height: 1.45; text-wrap: pretty; }
.include-group li::before { position: absolute; top: 0.32em; left: 0.05rem; width: 0.6rem; height: 0.33rem; content: ""; border-bottom: 1.6px solid var(--accent-dark); border-left: 1.6px solid var(--accent-dark); transform: rotate(-45deg); }

/* ══ the comparison table ════════════════════════════════════════════ */
.compare-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 46rem; border-collapse: collapse; font-size: 0.92rem; }
.compare-table th,
.compare-table td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { position: sticky; top: 0; z-index: 1; background: var(--paper-2); }
.compare-table tbody th { position: sticky; left: 0; z-index: 1; min-width: 12rem; color: var(--ink); font-weight: 500; background: var(--surface); }
.compare-table thead th:first-child { left: 0; z-index: 2; }
.compare-table td { color: var(--muted); }
.compare-name { display: block; font-size: 0.98rem; font-weight: 600; letter-spacing: -0.015em; }
.compare-sub { display: block; margin-top: 0.15rem; color: var(--muted); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; }
.compare-table .is-us { background: var(--accent); }
.compare-table td.is-us { color: var(--accent-ink); font-weight: 500; }
.compare-table thead th.is-us,
.compare-table thead th.is-us .compare-sub { color: var(--accent-ink); }
.compare-note-row th,
.compare-note-row td { border-bottom: 0; }
.compare-note-row td { font-style: italic; }
.compare-hint { display: none; margin-top: 0.7rem; color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.06em; text-transform: uppercase; }
.compare-hint.is-on { display: block; }

/* ══ pricing ═════════════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.price-card {
  position: relative;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}
.price-card .micro-label { color: var(--muted); }
.price-card h3 { margin-top: 0.9rem; font-size: clamp(1.35rem, 2vw, 1.65rem); font-stretch: 92%; font-weight: 600; letter-spacing: -0.03em; }
.price-figure { margin: 1rem 0 0.9rem; font-size: clamp(2.2rem, 3.4vw, 3rem); font-stretch: 86%; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.045em; line-height: 1; }
.price-currency { margin-right: 0.05em; font-size: 0.55em; font-weight: 500; vertical-align: 0.42em; }
.price-to { margin: 0 0.08em; color: var(--muted); font-weight: 400; }
.price-line { margin-bottom: 1.25rem; padding-bottom: 1.25rem; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 0.95rem; text-wrap: pretty; }
.price-card ul { align-self: start; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.price-card li { position: relative; padding: 0.55rem 0 0.55rem 1.4rem; font-size: 0.92rem; }
.price-card li::before { position: absolute; top: 0.92rem; left: 0.05rem; width: 0.6rem; height: 0.33rem; content: ""; border-bottom: 1.6px solid var(--accent-dark); border-left: 1.6px solid var(--accent-dark); transform: rotate(-45deg); }
.price-card .button { align-self: end; width: 100%; justify-content: space-between; }
.price-featured { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); box-shadow: var(--shadow-3); }
.price-featured .micro-label { color: var(--invert-accent); }
.price-featured .price-to,
.price-featured .price-line { color: var(--invert-muted); }
.price-featured .price-line { border-color: color-mix(in srgb, var(--invert-fg) 16%, transparent); }
.price-featured li::before { border-color: var(--invert-accent); }
.price-featured .button-accent { color: #15202d; background: #c9e1f5; }
.price-featured .button-accent:hover { background: #b4d3ee; }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .price-featured:hover { box-shadow: var(--shadow-3); }
}

.price-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-care h3 { margin: 0.7rem 0; font-size: clamp(1.35rem, 2.3vw, 1.85rem); font-stretch: 92%; font-weight: 500; letter-spacing: -0.035em; }
.price-care h3 strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.price-care p:not(.micro-label) { max-width: 36rem; color: var(--muted); font-size: 0.95rem; text-wrap: pretty; }
.price-care p + p { margin-top: 0.7rem; }
.price-note { font-style: italic; }
.price-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; align-content: start; border-top: 1px solid var(--line); }
.price-terms div { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.price-terms div:nth-child(odd) { padding-right: 1rem; }
.price-terms div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.price-terms dt { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.07em; text-transform: uppercase; }
.price-terms dd { margin: 0.2rem 0 0; font-size: 0.95rem; font-weight: 500; text-wrap: pretty; }

.consultation-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); margin-top: 1rem; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.consultation-factors { padding: clamp(1.5rem, 4vw, 3.25rem); }
.consultation-factors ol { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.consultation-factors li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.consultation-factors li > span { color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--fs-micro); padding-top: 0.2rem; }
.consultation-factors strong { font-size: 1.02rem; font-weight: 600; }
.consultation-factors li p { max-width: 36rem; margin-top: 0.25rem; color: var(--muted); font-size: 0.92rem; }
.consultation-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 4vw, 3.25rem); background: var(--accent); }
.consultation-cta .micro-label { color: var(--accent-ink); }
.consultation-cta h3 { max-width: 11ch; font-size: clamp(2rem, 3.6vw, 3.25rem); font-stretch: 90%; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.consultation-cta > p:not(.micro-label) { max-width: 30rem; color: var(--accent-ink); }
.consultation-cta small { color: var(--accent-ink); font-size: 0.82rem; }

/* ══ FAQ ═════════════════════════════════════════════════════════════ */
.faq-section { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-intro { position: sticky; top: 6.5rem; display: grid; gap: 1.4rem; }
.faq-intro h2 { max-width: 11ch; }
.faq-intro > p:not(.eyebrow) { max-width: 30rem; color: var(--muted); }
.faq-list { display: grid; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: color 180ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-mark { position: relative; flex: none; width: 1.9rem; height: 1.9rem; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.faq-mark::before,
.faq-mark::after { position: absolute; top: 50%; left: 50%; width: 0.7rem; height: 1.5px; margin: -0.75px 0 0 -0.35rem; content: ""; background: currentColor; transition: transform 260ms var(--ease); }
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark { color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-answer { padding: 0 3.5rem 1.5rem 0; }
.faq-answer p { max-width: 50rem; color: var(--muted); text-wrap: pretty; }
.faq-item[open] .faq-answer { animation: detail-in 320ms var(--ease); }

/* ══ contact ═════════════════════════════════════════════════════════ */
.contact-section { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-copy { display: grid; gap: 1.5rem; }
.contact-copy h2 { max-width: 10ch; }
.contact-copy > p:not(.eyebrow) { max-width: 32rem; color: var(--muted); font-size: var(--fs-lead); text-wrap: pretty; }
.next-steps { display: grid; margin: 0.75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: none; }
.next-steps li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.next-steps span { padding-top: 0.2rem; color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.08em; }
.next-steps strong { display: block; font-size: 1rem; font-weight: 600; }
.next-steps p { margin-top: 0.15rem; color: var(--muted); font-size: 0.92rem; text-wrap: pretty; }
.contact-direct { display: grid; gap: 0.15rem; }
.contact-direct span { color: var(--muted); font-size: 0.88rem; }
.contact-direct a { width: fit-content; font-size: 1.2rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 0.3rem; transition: text-decoration-color 200ms ease; }
.contact-direct a:hover { text-decoration-color: currentColor; }

.inquiry-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.4rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}
.form-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.form-head p:not(.micro-label) { color: var(--muted); font-size: 0.9rem; }
.form-package { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; background: var(--accent); border-left: 3px solid var(--accent-dark); border-radius: var(--radius-xs); }
.form-package div { display: flex; align-items: baseline; gap: 0.75rem; }
.form-package span { color: var(--accent-ink); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.07em; text-transform: uppercase; }
.form-package strong { font-size: 0.95rem; }
.form-package button { padding: 0.3rem 0; color: var(--accent-ink); background: none; border: 0; font-size: 0.85rem; cursor: pointer; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.inquiry-form label { display: grid; gap: 0.45rem; color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.inquiry-form label > span i { margin-left: 0.35rem; color: var(--muted); font-size: 0.8rem; font-style: normal; font-weight: 400; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.inquiry-form input,
.inquiry-form select { height: 3.15rem; }
.inquiry-form textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.inquiry-form ::placeholder { color: var(--muted); opacity: 0.85; }
.inquiry-form input:hover,
.inquiry-form select:hover,
.inquiry-form textarea:hover { border-color: var(--muted); }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-dark) 28%, transparent); }
.inquiry-form [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 0; color: var(--danger); font-size: 0.82rem; font-weight: 500; }
.field-error:empty { display: none; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem !important; color: var(--muted) !important; font-weight: 400 !important; }
.consent input { width: 1.1rem; height: 1.1rem !important; margin-top: 0.15rem; padding: 0; accent-color: var(--accent-dark); }
.consent .field-error { grid-column: 2; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 0.25rem; }
.form-footer p { color: var(--muted); font-size: 0.85rem; }
.form-status { min-height: 0; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 0.85rem 1rem; color: var(--ink); background: color-mix(in srgb, var(--ok) 16%, transparent); border-left: 3px solid var(--ok); border-radius: var(--radius-xs); }
.form-status.is-error { padding: 0.85rem 1rem; color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--danger) 14%, transparent); border-left: 3px solid var(--danger); border-radius: var(--radius-xs); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ══ footer ══════════════════════════════════════════════════════════ */
.site-footer { display: grid; gap: clamp(2rem, 4vw, 3rem); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 1.75rem; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand .brand-mark { width: 2.2rem; height: 2.4rem; gap: 0.3rem; }
.footer-brand strong { font-size: clamp(3rem, 7vw, 5.5rem); font-stretch: 84%; font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; }
.footer-line { max-width: 28rem; color: var(--muted); font-size: 1.05rem; }
.footer-line em { display: block; color: var(--ink); font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer-grid > div { display: grid; align-content: start; gap: 0.5rem; }
.footer-grid .micro-label { margin-bottom: 0.25rem; }
.footer-grid a { width: fit-content; color: var(--ink-2); font-size: 0.95rem; transition: color 160ms ease; }
.footer-grid a:hover { color: var(--accent-dark); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.25rem; color: var(--muted); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--fs-micro); }

/* ══ phone action bar, back to top ═══════════════════════════════════ */
.action-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: none;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.action-bar-link { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 3rem; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 600; }
.action-bar-link.is-primary { flex: 1.6; color: var(--invert-fg); background: var(--invert-bg); border-color: var(--invert-bg); }
@media (max-width: 760px) {
  .action-bar:not([hidden]) { display: flex; }
  main { padding-bottom: 0; }
  .site-footer { padding-bottom: 6rem; }
}
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 44;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 220ms var(--ease), border-color 200ms ease;
}
.to-top:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.to-top svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 760px) { .to-top { bottom: 5.3rem; } }

/* ══ legal pages and 404 ═════════════════════════════════════════════ */
.legal-page { min-height: 100dvh; padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.legal-wrap { width: min(100%, 46rem); margin: 0 auto; }
.legal-wrap h1 { margin: 1rem 0 2rem; font-size: clamp(2.6rem, 6.5vw, 5rem); font-stretch: 88%; letter-spacing: -0.045em; line-height: 0.98; }
.legal-wrap h2 { margin-top: 2.75rem; margin-bottom: 0.75rem; font-size: 1.35rem; letter-spacing: -0.02em; }
.legal-wrap p, .legal-wrap li { color: var(--muted); }
.legal-wrap p + p { margin-top: 1rem; }
.legal-wrap strong { color: var(--ink); }
.legal-wrap a:not(.legal-back) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 0.2rem; }
.legal-updated { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-back { display: inline-flex; margin-bottom: 2rem; color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.06em; }
.legal-back:hover { color: var(--ink); }
.not-found { display: grid; place-items: center; min-height: 100dvh; padding: var(--gutter); text-align: center; }
.not-found strong { display: block; color: var(--accent-dark); font-family: var(--font-mono); font-size: clamp(6rem, 20vw, 13rem); font-weight: 400; letter-spacing: -0.08em; line-height: 0.8; }
.not-found h1 { margin: 2rem 0 0.75rem; font-size: clamp(2rem, 5vw, 3.6rem); font-stretch: 88%; letter-spacing: -0.04em; line-height: 1; }
.not-found p { max-width: 35rem; margin: 0 auto 2rem; color: var(--muted); }
.not-found-links { display: grid; gap: 0.5rem; width: min(34rem, 100%); margin: 0 auto 2rem; text-align: left; }
.not-found-links a { display: grid; gap: 0.15rem; padding: 0.9rem 1rem; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color 160ms ease, transform 160ms var(--ease); }
.not-found-links a:hover { border-color: var(--accent-dark); transform: translateY(-1px); }
.not-found-links strong { display: block; color: var(--ink); font-family: inherit; font-size: 0.98rem; letter-spacing: 0; line-height: 1.3; }
.not-found-links span { color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.not-found-foot { font-size: 0.9rem; }
.not-found-foot a { color: var(--accent-dark); text-decoration: underline; }

/* ══ hover-only refinements ══════════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
  .work-open:hover .work-image img { transform: scale(1.018); }
  .service-summary:hover { color: var(--accent-dark); }
  .service-summary:hover .service-mark { border-color: currentColor; }
}

/* ══ responsive ══════════════════════════════════════════════════════ */
@media (max-width: 78rem) {
  .builder { grid-template-columns: minmax(11rem, 0.3fr) minmax(0, 1fr); }
  .builder .sheet { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .builder .sheet-cell + .sheet-cell { border-top: 0; border-left: 1px solid var(--line); }
  .terms-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terms-list li:nth-child(4) { padding-left: 0; border-left: 0; }
  .terms-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 70rem) {
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.6fr); }
  .section-heading .eyebrow { grid-column: 1 / -1; padding-top: 0; }
  .hero-head { grid-template-columns: 1fr; align-items: start; }
  .hero-title { max-width: 14ch; }
  .hero-side { max-width: 40rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: minmax(9rem, 0.4fr) minmax(0, 1fr); gap: 0.6rem clamp(1.5rem, 4vw, 3rem); padding: 1.75rem 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat > * { grid-column: 2; }
  .stat .stat-figure { grid-column: 1; grid-row: 1 / span 4; }
  .meaning { grid-template-columns: 1fr; }
  .change-section { grid-template-columns: 1fr; grid-template-areas: "head" "pick" "compare" "notes"; }
  .change-notes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; margin-top: 2rem; }
}

@media (max-width: 60rem) {
  .site-header { height: 4rem; }
  .menu-toggle { display: inline-flex; }
  .menu-glyph, .menu-glyph::before { display: block; width: 1.3rem; height: 1.5px; background: currentColor; transition: transform 240ms var(--ease); }
  .menu-glyph { position: relative; }
  .menu-glyph::before { position: absolute; top: -0.4rem; content: ""; }
  .menu-toggle[aria-expanded="true"] .menu-glyph { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-glyph::before { top: 0; transform: rotate(90deg); }
  .site-nav {
    position: fixed;
    top: 4rem;
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    max-height: calc(100dvh - 4rem);
    padding: 0.5rem var(--gutter) 1.5rem;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 220ms ease, transform 260ms var(--ease), visibility 0s linear 260ms;
  }
  .site-header:has(.site-nav.is-open) { background: var(--paper); border-color: var(--line); }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease, transform 260ms var(--ease); }
  .site-nav > a:not(.nav-cta) { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-tools { justify-content: space-between; padding: 0.9rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: center; margin-top: 1rem; min-height: 3rem; }

  .builder { grid-template-columns: 1fr; }
  .chips-stack { flex-direction: row; flex-wrap: wrap; }
  .chips-stack .chip { width: auto; min-height: 2.5rem; border-radius: 999px; }
  .chips-stack .chip[aria-checked="true"]::after { display: none; }

  .process-section, .value-section, .partner-section, .diagnostic-section, .faq-section, .contact-section { grid-template-columns: 1fr; }
  .process-intro, .value-copy, .partner-statement, .diagnostic-intro, .faq-intro { position: static; }
  .founder-section { grid-template-columns: 1fr; }
  .founder-note { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .proof-policy { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 34rem; }
  .price-after, .consultation-panel { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card-wide { grid-column: auto; }
  .work-meta { grid-template-columns: minmax(0, 1fr) auto; }
  .work-meta > p { grid-column: 1 / -1; grid-row: 2; }
  .meaning ol { grid-template-columns: 1fr; }
  .service-summary { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  .service-summary > p { grid-column: 2 / -1; grid-row: 2; }
  .service-summary .service-mark { grid-column: 3; grid-row: 1; }
  .service-detail { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .service-detail > .micro-label, .service-detail ul, .service-detail > p:last-child { grid-column: 2; }
  .work-dialog-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .work-dialog-figure { overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-dialog-figure img { max-height: 46vh; }
  .work-dialog-copy { overflow: visible; }
  .pass-panel { grid-template-columns: 1fr; }
  .pass-copy { border-top: 1px solid var(--line); border-left: 0; }
  .pass-figure img { height: auto; aspect-ratio: 3 / 2; }
}

@media (max-width: 44rem) {
  :root { --fs-display: clamp(2.6rem, 12.2vw, 4rem); --fs-h2: clamp(2rem, 9vw, 2.8rem); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading h2 { max-width: 18ch; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .builder .sheet { grid-template-columns: 1fr; }
  .builder .sheet-cell + .sheet-cell { border-top: 1px solid var(--line); border-left: 0; }
  .frame-bar { grid-template-columns: auto 1fr; }
  .frame-tag { display: none; }
  .frame-url { justify-self: end; }
  .terms-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-list li { padding: 1.2rem 0.9rem 1.3rem; }
  .terms-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .terms-list li:nth-child(4) { padding-left: 0.9rem; border-left: 1px solid var(--line); }
  .terms-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .terms-list strong { font-size: 1.25rem; }
  .terms-list li > span { font-size: 0.82rem; }
  .compare-stage { grid-template-columns: 1fr; }
  .change-notes { grid-template-columns: 1fr; }
  .compare-tag { bottom: 0.5rem; padding: 0.2rem 0.45rem; font-size: 0.62rem; }
  .tag-more { display: none; }
  .compare-tag-before { left: 0.5rem; }
  .compare-tag-after { right: 0.5rem; }
  .js .compare-handle { width: 3rem; margin-left: -1.5rem; }
  .compare-grip { width: 2.4rem; height: 2.4rem; }
  .stat { grid-template-columns: 1fr; }
  .stat > *, .stat .stat-figure { grid-column: 1; grid-row: auto; }
  .work-meta, .work-meta.compact { grid-template-columns: 1fr; gap: 0.75rem; }
  .work-meta > p { grid-row: auto; }
  .tag { justify-self: start; }
  .pass-tabs { grid-template-columns: repeat(2, 1fr); }
  .pass-tab:nth-child(2n) { border-right: 0; }
  .pass-actions { flex-wrap: wrap; justify-content: center; }
  .pass-count { order: -1; width: 100%; text-align: center; }
  .service-detail ul { grid-template-columns: 1fr; }
  .timeline { --when: 0rem; --rail: 1.9rem; }
  .tl { grid-template-columns: 0 minmax(0, 1fr); }
  .tl-when { grid-column: 2; margin-bottom: 0.35rem; text-align: left; }
  .tl > div { grid-column: 2; }
  .process-totals { grid-template-columns: 1fr 1fr; }
  .calculator-inputs, .calculator-output { grid-template-columns: 1fr; }
  .calculator-inputs label:first-child { grid-column: auto; }
  .calculator-inputs label, .calculator-output > div { min-height: 0; }
  .diagnostic-body { min-height: 0; padding: 1.4rem; }
  .diagnostic-question { min-height: 30rem; }
  .diagnostic-actions { grid-template-columns: 1fr; }
  .diagnostic-result { grid-template-columns: 1fr; min-height: 30rem; }
  .result-actions { align-items: flex-start; flex-direction: column; }
  .result-actions .button { width: 100%; justify-content: space-between; }
  .price-terms { grid-template-columns: 1fr; }
  .price-terms div:nth-child(n) { padding-right: 0; padding-left: 0; border-left: 0; }
  .field-grid { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { justify-content: space-between; }
  .faq-answer { padding-right: 0; }
  .honesty-note { margin-left: 0; }
  .evidence-footer { flex-direction: column; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .compare-table { min-width: 40rem; font-size: 0.86rem; }
  .compare-table tbody th { position: static; min-width: 9.5rem; }
  .compare-table th, .compare-table td { padding: 0.8rem 0.85rem; }
}

/* ══ motion preferences ══════════════════════════════════════════════
   The page does not depend on motion for anything. With less motion asked
   for, transitions and the few loops are switched off outright. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .availability-dot::after { display: none; }
}

/* ══ print ═══════════════════════════════════════════════════════════
   Someone printing this is usually saving it as a PDF for a colleague.
   Controls disappear, panels lose their ink, every tab and every concept
   prints, and the comparison prints both halves side by side. */
@media print {
  .page-progress, .site-nav, .menu-toggle, .action-bar, .to-top, .theme-toggle,
  .work-filters, .work-more-row, .work-dialog, .pass-tabs, .pass-actions, .pass-track,
  .compare-hint, .calculator, .calculator-handoff, .diagnostic-shell, .result-actions,
  .inquiry-form, .hero-actions, .change-picker, .builder-pick, .compare-handle,
  .frame-plot, .sheet-cta, .not-found-links { display: none !important; }

  html, body { color: #000 !important; background: #fff !important; font-size: 11pt; }
  .site-header { position: static !important; height: auto; }
  main, .section, .legal-wrap { max-width: none !important; padding: 0 !important; }
  .band-stage, .band-tint, .terms, .site-footer, .meaning, .founder-note, .proof-policy,
  .consultation-cta, .price-featured, .compare-table .is-us {
    color: #000 !important;
    background: #fff !important;
    --ink: #000; --ink-2: #222; --muted: #333; --line: #999; --line-strong: #666;
    --accent: #fff; --accent-ink: #000; --accent-dark: #000; --invert-fg: #000; --invert-muted: #333;
  }
  .js .compare-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; aspect-ratio: auto; box-shadow: none; }
  .js .compare-pane { position: relative; aspect-ratio: 3 / 2; }
  .js .compare-before { clip-path: none; }
  .process-intro, .value-copy, .partner-statement, .diagnostic-intro, .faq-intro { position: static !important; }

  h1 { font-size: 22pt !important; }
  h2 { font-size: 16pt !important; }
  h3 { font-size: 12pt !important; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  article, .stat, .work-card, .tl, .faq-item, .include-group, .price-card, .next-steps li, .pass-panel {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  img { max-width: 100% !important; break-inside: avoid; }
  details { display: block; }
  details > * { display: block !important; }
  .pass-panel[hidden] { display: grid !important; }
  .pass-shell { border: 0; box-shadow: none; }
  .work-card[hidden] { display: block !important; }
  .compare-wrap { overflow: visible !important; border: 0; }
  .compare-table { min-width: 0 !important; font-size: 8.5pt; }
  .compare-table thead th, .compare-table tbody th { position: static !important; }
  .compare-table tr { break-inside: avoid; page-break-inside: avoid; }
  .faq-mark { display: none; }

  /* Printing just the diagnostic result: set on <html> by the "Print it"
     button and removed as soon as the dialog closes. */
  .print-result body > *:not(main),
  .print-result main > *:not(#diagnostic) { display: none !important; }
  .print-result .diagnostic-shell { display: block !important; border: 0; box-shadow: none; }
  .print-result .diagnostic-question,
  .print-result .diagnostic-progress,
  .print-result .diagnostic-topbar,
  .print-result .diagnostic-footer { display: none !important; }
}

/* The launch edition: pale mineral paper, ink, and a refractive glass header.
   A saved theme choice still wins. These tokens apply only to the public
   homepage; the operator dashboard and reference designs remain independent. */
:root[data-theme="light"] .studio-public {
  color-scheme: light;
  --paper: #f5f7f5;
  --paper-2: #eaf0ef;
  --paper-3: #dce7e7;
  --ink: #193037;
  --ink-2: #304b53;
  --muted: #53676d;
  --line: rgba(25, 48, 55, .14);
  --line-strong: rgba(25, 48, 55, .3);
  --accent: #c9e0e3;
  --accent-dark: #396b76;
  --accent-ink: #274f59;
  --invert-bg: #193037;
  --invert-fg: #fff;
  --surface: #fff;
  --surface-2: #f1f6f5;
}
.studio-public .site-header {
  width: min(calc(100% - 2 * var(--gutter)), 91rem);
  top: .9rem;
  margin: .9rem auto 0;
  height: 4.7rem;
  padding-inline: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 8px 32px -20px var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
}
:root[data-theme="dark"] .studio-public .site-header { background: rgba(19,29,40,.88); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 32px -20px var(--shadow); }
.studio-public .site-header.is-scrolled { border-color: var(--line); }
.studio-public .brand-word { letter-spacing: -.035em; }
.studio-public .nav-cta { background: var(--invert-bg); color: var(--invert-fg); }
.studio-public .theme-toggle:hover { transform: none; }
.studio-public .hero::before {
  display: block;
  inset: -6rem -4rem 25%;
  background: radial-gradient(ellipse at 80% 15%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 58%);
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}
.studio-public .hero { padding-top: clamp(3.5rem, 6.5vw, 6.8rem); }
.studio-public .hero-head { grid-template-columns: minmax(0,1fr) minmax(17rem,.41fr); align-items: end; gap: 3.2rem; margin-bottom: clamp(3rem,5vw,5rem); }
.hero-kicker { display: flex; align-items: center; gap: .65rem; color: var(--accent-dark); font-size: .78rem; font-weight: 600; letter-spacing: .025em; margin-bottom: 1.8rem; }
.hero-kicker > span { width: 1.45rem; height: 1px; background: currentColor; }
.studio-public .hero-title { max-width: none; font-size: clamp(3.5rem, 6.55vw, 6.4rem); line-height: .99; font-stretch: 100%; letter-spacing: -.06em; margin-top: 0; font-weight: 500; }
.studio-public .hero-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.035em; color: var(--accent-dark); }
.studio-public .hero-side { padding-bottom: .3rem; gap: 1.6rem; }
.studio-public .hero-lede { font-size: 1.07rem; max-width: 29ch; color: var(--ink-2); }
.studio-public .hero-actions { gap: 1.1rem 1.25rem; }
.studio-public .hero-actions .text-link { font-size: .86rem; }
.hero-note { padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.6; }
.studio-public .button, .studio-public .nav-cta { border-radius: .5rem; }
.studio-public .builder {
  grid-template-columns: minmax(0,1fr) minmax(15rem,.31fr);
  gap: 1.5rem 2rem;
  align-items: stretch;
  margin-inline: -1.4rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--paper-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.studio-public .builder-pick { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; padding-block: 0 1.35rem; border-bottom: 1px solid var(--line); }
.studio-public .builder-pick .step-label { flex: 1 1 100%; margin: 0; font: 500 .86rem var(--font-sans); color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.studio-public .builder-index { display: inline; width: auto; height: auto; padding-right: .55rem; color: var(--muted); background: transparent; font: .7rem var(--font-mono); }
.studio-public .builder-pick .chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: .35rem; }
.studio-public .chips-stack .chip { width: auto; border-color: var(--line); padding: .6rem .8rem; border-radius: .45rem; min-height: 2.65rem; font-size: .82rem; background: var(--surface); }
.studio-public .chips-stack .chip[aria-checked="true"] { color: var(--invert-fg); background: var(--invert-bg); }
.studio-public .chips-stack .chip[aria-checked="true"]::after { display: none; }
.studio-public .builder-more { margin: 0 0 0 auto; padding: 0; border: 0; max-width: 20rem; font-size: .78rem; }
.studio-public .frame { border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 20px 40px -28px var(--shadow); align-self: start; overflow: hidden; background: var(--surface); }
.studio-public .frame-bar { display: flex; justify-content: space-between; gap: .75rem; height: auto; min-height: 3rem; padding: .7rem 1rem; background: var(--surface); border: 0; font-size: .76rem; color: var(--muted); }
.studio-public .frame-bar a { color: var(--ink); text-underline-offset: .2em; font-weight: 600; }
.studio-public .frame-view { display: block; aspect-ratio: 3/2; border-block: 1px solid var(--line); }
.studio-public .frame-view:focus-visible { outline-offset: 4px; }
.studio-public .frame-caption { padding: .8rem 1rem; background: var(--surface); border: 0; font-size: .69rem; color: var(--muted); }
.studio-public .sheet { display: flex; flex-direction: column; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding-top: .85rem; }
.studio-public .sheet-cell { padding: .4rem 0 1.5rem; }
.studio-public .sheet-cell + .sheet-cell { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.studio-public .sheet .step-label { font: 500 .78rem var(--font-sans); text-transform: none; letter-spacing: 0; margin-bottom: 1.2rem; }
.studio-public .ticks { gap: .9rem; }
.studio-public .ticks li { font-size: .9rem; line-height: 1.5; }
.studio-public .sheet-figure { font-size: clamp(1.6rem,2.3vw,2.3rem); }
.studio-public .sheet-route { font-size: .88rem; }
.studio-public .sheet-move { font-size: .8rem; }
.studio-public .sheet-cta { margin: 1.25rem 0 0; padding: .85rem 1rem; border-radius: .45rem; font-size: .87rem; }
.studio-public .section-heading { display: block; max-width: 54rem; margin-bottom: 2.5rem; }
.studio-public .section-heading .eyebrow { margin-bottom: 1rem; }
.studio-public .section-heading h2 { max-width: 20ch; letter-spacing: -.05em; }
.studio-public .section-heading > p:last-child { max-width: 48ch; margin-top: 1.25rem; }
.studio-public .eyebrow { text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: .85rem; }
.design-details { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; border-bottom: 1px solid var(--line); }
.details-intro h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.05em; }
.details-intro > p { color: var(--muted); max-width: 30ch; margin-top: 1.5rem; font-size: 1.1rem; }
.details-list article { display: flex; gap: 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.details-list article:first-child { padding-top: 0; border-top: 0; }
.details-list article > span { color: var(--accent-dark); font: .8rem var(--font-mono); padding-top: .3rem; }
.details-list h3 { font-size: 1.15rem; }
.details-list p { color: var(--muted); margin-top: .55rem; max-width: 44ch; font-size: .95rem; }
.studio-public .work-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem 2rem; }
.studio-public .work-image { border-radius: .65rem; padding: 0; background: var(--paper-2); aspect-ratio: 3/2; border: 1px solid var(--line); }
.studio-public .work-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.studio-public .work-card-wide .work-image { aspect-ratio: 3/2; max-height: 54rem; }
.studio-public .work-meta { padding-top: 1.1rem; }
.studio-public .work-meta .micro-label { text-transform: none; font-family: var(--font-sans); letter-spacing: 0; color: var(--muted); font-size: .78rem; }
.studio-public .work-meta h3 { font-size: clamp(1.2rem,2.2vw,1.8rem); letter-spacing: -.035em; }
.studio-public .work-meta .tag { border: 0; background: none; padding: 0; font: .76rem var(--font-sans); color: var(--muted); }
.studio-public .work-zoom { border-radius: .45rem; }
.work-live-link { display: inline-flex; margin-block: 1rem; }
.studio-public .terms { background: var(--paper); }
.studio-public .contact-copy h2 { font-family: var(--font-sans); letter-spacing: -.05em; }
.studio-public .inquiry-form { box-shadow: var(--shadow-2); }
:root[data-theme="light"] .studio-public :is(.band-stage,.site-footer) {
  color-scheme: light;
  --paper: #eaf0ef;
  --paper-2: #e2ebea;
  --paper-3: #d7e4e3;
  --surface: #f7faf8;
  --surface-2: #f0f5f3;
  --ink: #193037;
  --ink-2: #304b53;
  --muted: #53676d;
  --line: rgba(25,48,55,.14);
  --line-strong: rgba(25,48,55,.3);
  --accent: #c9e0e3;
  --accent-dark: #396b76;
  --accent-ink: #274f59;
  --invert-bg: #193037;
  --invert-fg: #fff;
  --danger: #9f3f35;
  --ok: #2e7d5b;
}
@media (max-width: 1100px) {
 .studio-public .hero-head { grid-template-columns: 1fr; gap: 1.5rem; }
 .studio-public .hero-title { font-size: clamp(3rem,7vw,5.5rem); }
 .studio-public .hero-side { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
 .hero-note { display: none; }
 .studio-public .hero-lede { max-width: 38ch; }
 .studio-public .builder-more { display: none; }
 .studio-public .builder { gap: 1.25rem; grid-template-columns: minmax(0,1fr) 15rem; margin-inline: 0; padding: 1.25rem; }
 .studio-public .builder .sheet { grid-column: auto; }
}
@media (max-width: 760px) {
 .studio-public .site-header { width: calc(100% - 1.5rem); top: .65rem; margin-top: .65rem; height: 4rem; padding-inline: 1rem; border-radius: .85rem; }
 .studio-public .site-nav { top: calc(100% + .5rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); box-shadow: var(--shadow-2); }
 .studio-public .hero { padding-top: 2.5rem; }
 .hero-kicker { margin-bottom: 1.2rem; font-size: .7rem; }
 .studio-public .hero-title { font-size: clamp(2.65rem,10.5vw,4.5rem); letter-spacing: -.055em; }
 .studio-public .hero-head { margin-bottom: 2.3rem; gap: 1.5rem; }
 .studio-public .hero-side { display: grid; gap: 1.25rem; }
 .studio-public .hero-lede { font-size: 1rem; }
 .studio-public .builder { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; border-radius: 1rem; }
 .studio-public .builder-pick { padding-bottom: 1rem; }
 .studio-public .builder-pick .chips { gap: .25rem; }
 .studio-public .chips-stack .chip { font-size: .74rem; padding: .55rem .6rem; }
 .studio-public .sheet { padding-top: 1rem; display: grid; grid-template-columns: 1fr; }
 .studio-public .sheet-cell { padding: 0 0 1rem; }
 .studio-public .builder .sheet-cell + .sheet-cell { border-left: 0; padding-top: 1rem; }
 .studio-public .frame-bar { font-size: .73rem; gap: .4rem; }
 .studio-public .frame-caption { font-size: .72rem; }
 .design-details { grid-template-columns: 1fr; gap: 2rem; }
 .studio-public .work-grid { grid-template-columns: 1fr; gap: 2.5rem; }
 .studio-public .work-card-wide { grid-column: auto; }
 .studio-public .work-meta { display: block; }
 .studio-public .work-meta .tag { display: inline-block; margin-top: .65rem; }
 .studio-public .section-heading h2 { font-size: clamp(2rem,8vw,3.5rem); }
}
