/* Curb Labs website. Brand: Curb Labs Infrastructure edition (working name, 30 Nov 2026):
   monochrome editorial, Inter, square corners, mint only for small active indicators. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Curb Labs Infrastructure edition (30 Nov 2026) */
  --paper: #FFFFFF;        /* White: canvas */
  --paper-2: #F6F5F1;      /* Paper: secondary surface */
  --sand: #E9E3D8;         /* Sand: warm surface, sparingly */
  --ink: #101112;          /* Black: type, actions, dark sections */
  --carbon: #2D3436;
  --accent: #101112;       /* actions and the selected building are black */
  --accent-hover: #2D3436;
  --mint: #00FFC2;         /* active indicators only, 1-3 % of the page */
  --accent-on-dark: #00FFC2;
  --white: #FFFFFF;
  --muted: #63706F;
  --line: #D5D8D5;
  --dim: #ADB4B1;
  --grey: #D5D8D5;
  --on-ink: #FFFFFF;
  --on-ink-muted: #ADB4B1;
  --ink-2: #1C1E20;
  /* map tones: grey figure-ground, black for the answer */
  --b-light: #E3E5E2;
  --b-mid: #C2C7C4;
  --b-dark: #7E8886;
  --radius: 0;

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: var(--font); /* data in Inter with tabular figures */
  --label: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* five type steps */
  --t-s: 15px;
  --t-b: 18px;
  --t-m: clamp(22px, 1.8vw, 28px);
  --t-l: clamp(32px, 3vw, 46px);
  --t-xl: clamp(44px, 6vw, 88px);

  --margin: clamp(24px, 4.4vw, 64px);
  --gap-section: clamp(120px, 13vw, 200px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--t-b); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--carbon); outline-offset: 4px; }
.on-ink :focus-visible { outline-color: var(--accent-on-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--t-l); }
h3 { font-size: var(--t-m); line-height: 1.2; }
p { text-wrap: pretty; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */

/* ------------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--white); font-size: var(--t-s); font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.btn:hover { background: var(--carbon); border-color: var(--carbon); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: var(--carbon); }
.link {
  font-size: var(--t-s); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; transition: text-underline-offset 160ms ease, color 160ms ease;
}
.link:hover { text-underline-offset: 8px; }
.arrow::after { content: " \2192"; }

/* ------------------------------------------------------------------ top bar (inner pages) */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--margin); position: relative; z-index: 20;
}
.topbar .brand img { width: 152px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) { font-size: var(--t-s); font-weight: 500; text-decoration: none; padding: 8px 0; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 18px; }
.menu-toggle { display: none; }

/* ================================================================== HOME: split stage */
.stage-wrap { display: grid; grid-template-columns: 47fr 53fr; background: var(--paper-2); position: relative; }
.stage { position: sticky; top: 0; height: 100svh; padding: 20px 0 20px 20px; z-index: 2; }
.column { background: var(--paper); position: relative; z-index: 3; }

/* the map panel: a real fragment of the product */
.mapp { height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); color: var(--ink); overflow: hidden; }
.mapp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px 12px; font-size: 14px; background: var(--white); }
.mapp-head strong { font-weight: 500; }
.mapp-head span { color: var(--muted); }
.mapp-map { position: relative; min-height: 0; }
.mapp-map svg { width: 100%; height: 100%; }
.mapp-legend {
  position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px;
  background: var(--white); padding: 10px 14px; font-size: 13px; max-width: calc(100% - 28px);
}
.mapp-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; flex: none; }
.sw-line { width: 18px; height: 3px; }
.sw-dash { width: 18px; height: 0; border-top: 3px dashed var(--accent); }
.sw-hp { background: var(--white); border: 1.5px dashed var(--ink); } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.mapp-bar { background: var(--white); color: var(--ink); padding: 16px 18px 18px; display: grid; gap: 14px; }
.mapp-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--paper-2); padding: 3px; border-radius: var(--radius); }
.seg button {
  border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 14px; padding: 7px 12px; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.year { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; }
.year output { font-family: var(--mono); font-size: 20px; min-width: 4ch; color: var(--ink); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.year input[type="range"] { flex: 1; accent-color: var(--accent); height: 28px; cursor: pointer; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis div { display: grid; gap: 2px; }
.kpis dt { font-size: 13px; color: var(--muted); }
.kpis dd { font-family: var(--mono); font-size: clamp(17px, 1.5vw, 22px); font-variant-numeric: tabular-nums; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.map-note { font-size: 13px; color: var(--muted); }

/* map drawing */
.b { fill: var(--b-dark); transition: fill 420ms ease; }
.b.t-mid { fill: var(--b-mid); }
.b.t-low { fill: var(--b-light); }
.b.t-net { fill: var(--white); stroke: var(--ink); stroke-width: 1.6; }
.b.t-hp { fill: var(--white); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 4; }
.b.t-done { fill: var(--accent); }
.b.t-faint { fill: var(--b-light); }
.street-net { stroke: var(--b-dark); stroke-width: 5; fill: none; stroke-linecap: round; transition: opacity 300ms ease; }
.street-ext { stroke: var(--accent); stroke-width: 4; fill: none; stroke-linecap: round; transition: opacity 300ms ease; }
.street-ext.future { stroke-dasharray: 9 8; stroke-width: 3; }
.node { fill: var(--mint); stroke: var(--ink); stroke-width: 2.5; }
.map-layer { transition: opacity 400ms ease; }
[data-state="stock"] .layer-net, [data-state="stock"] .layer-ext,
[data-state="heat"] .layer-net, [data-state="heat"] .layer-ext { opacity: 0; }

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-actions .link { color: var(--on-ink); }

/* column sections */
.col-sec { padding: var(--gap-section) clamp(28px, 4.5vw, 72px) 0; }
.col-sec:last-child { padding-bottom: var(--gap-section); }
.intro { padding-top: clamp(96px, 10vw, 150px); }
.intro h2 { max-width: 18ch; }
.intro-text { margin-top: 40px; max-width: 46ch; display: grid; gap: 1.1em; }
.intro-text .lead { font-weight: 500; }
.source { font-size: var(--t-s); color: var(--muted); }
.source a { text-underline-offset: 3px; }

.how h2 { max-width: 16ch; }
.how-steps { margin-top: 24px; }
.how-step { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; max-width: 34ch; }
.how-step:last-child { min-height: 60svh; }
.how-step h3 { font-size: var(--t-l); font-weight: 500; letter-spacing: -0.04em; line-height: 1.06; color: var(--muted); transition: color 300ms ease; }
.how-step.is-active h3 { color: var(--ink); }
.how-step h3::before { content: ""; display: block; width: 36px; height: 4px; background: var(--b-light); margin-bottom: 22px; transition: background-color 300ms ease, width 300ms var(--ease-out); }
.how-step.is-active h3::before { background: var(--accent); width: 56px; }
.how-step p { margin-top: 18px; }
.how-step .try { margin-top: 18px; font-size: var(--t-s); color: var(--muted); }

/* ================================================================== features: small proof beside text */
.features { padding: var(--gap-section) var(--margin) 0; }
.features-inner { margin-left: clamp(0px, 16vw, 260px); }
.features h2 { max-width: 20ch; }
.features-lede { margin-top: 20px; max-width: 52ch; color: var(--muted); }
.mods { margin-top: 64px; display: grid; gap: clamp(72px, 8vw, 112px); }
.mod { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 380px); gap: 32px; align-items: start; }
.mod-panel { background: var(--paper-2); overflow: hidden; }
.mod-panel img { width: 100%; height: 100%; object-fit: cover; }
.mod-panel.photo { aspect-ratio: 16 / 10; }
.mod h3 { font-size: var(--t-m); font-weight: 500; }
.mod p { margin-top: 12px; }
.mod .was { color: var(--muted); }

/* small interface fragments */
[data-ui] { font-size: 14px; line-height: 1.4; }
.rec { padding: 18px; display: grid; gap: 14px; }
.rec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rec-head b { font-family: var(--mono); font-weight: 400; font-size: 16px; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.rec-head span { color: var(--muted); }
.rec table { width: 100%; border-collapse: collapse; background: var(--white); }
.rec td { padding: 8px 12px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.rec tr:last-child td { border-bottom: 0; }
.rec td:nth-child(2) { font-family: var(--mono); text-align: right; white-space: nowrap; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.rec td:nth-child(3) { color: var(--muted); font-size: 13px; text-align: right; white-space: nowrap; }
.rec tr.sel td { background: var(--paper-2); font-weight: 500; }
.rec tr.sel td:first-child { border-left: 3px solid var(--ink); }
.chart { padding: 18px; display: grid; gap: 10px; }
.chart svg { width: 100%; height: auto; }
.chart-key { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; }
.chart-key span { display: inline-flex; align-items: center; gap: 8px; }
.chart text { font-family: var(--mono); font-size: 11px; fill: var(--muted); } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */

/* ================================================================== showcase: input half, output half */
.showcase { margin-top: var(--gap-section); display: grid; grid-template-columns: 1fr 1fr; min-height: 90svh; }
.sc-in { background: var(--paper-2); color: var(--ink); padding: 18svh var(--margin) 40px clamp(28px, 8.3vw, 120px); display: grid; grid-template-rows: 1fr auto; gap: 40px; }
.sc-out { background: var(--white); padding: 18svh var(--margin) 40px clamp(28px, 4vw, 64px); display: grid; grid-template-rows: 1fr auto; gap: 40px; }
.sc-in label { display: block; font-size: var(--t-s); color: var(--muted); margin-bottom: 12px; max-width: 44ch; }
.sc-in textarea {
  width: 100%; max-width: 40ch; min-height: 300px; resize: vertical; background: var(--white); color: var(--ink); border-radius: var(--radius);
  border: 0; padding: 16px 18px; font-family: var(--mono); font-size: 15px; line-height: 1.7; tab-size: 4; /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
}
.sc-in textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
.sc-in .hint { margin-top: 12px; font-size: var(--t-s); color: var(--muted); max-width: 44ch; }
.sc-title { font-size: var(--t-xl); font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; }
.sc-in .sc-title { color: var(--ink); }
.plan { max-width: 520px; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; }
.plan-head b { font-weight: 500; font-size: 16px; }
.plan-head span { color: var(--muted); font-size: 13px; }
.plan table { width: 100%; border-collapse: collapse; }
.plan th { text-align: left; font-weight: 400; color: var(--muted); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--grey); }
.plan td { padding: 9px 10px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.plan td.n, .plan th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.plan td.id { font-family: var(--mono); white-space: nowrap; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.plan tr.yr td { padding-top: 16px; font-family: var(--mono); font-weight: 500; border-bottom: 0; } /* taste-skill-ignore: brand mono for IDs, years, measurements in data-ui */
.plan tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 500; padding-top: 12px; }
.plan .bar { display: block; height: 6px; background: var(--accent); margin-top: 6px; transition: width 300ms var(--ease-out); }
.plan-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.plan-empty { padding: 24px 0; color: var(--muted); }

/* ================================================================== the planning sheet */
.sheet-sec { margin-top: var(--gap-section); background: var(--paper-2); padding: clamp(80px, 9vw, 140px) var(--margin) clamp(64px, 6vw, 96px); display: grid; grid-template-columns: 1fr minmax(0, 700px); gap: 48px; align-items: start; }
.sheet-aside { max-width: 36ch; }
.sheet-aside h2 { font-size: var(--t-l); }
.sheet-aside p { margin-top: 20px; }
.sheet-aside .btn { margin-top: 28px; }
.sheet { background: var(--white); padding: clamp(28px, 4.5vw, 64px); position: relative; }
.sheet::before { /* the plan's title block corner */
  content: ""; position: absolute; top: 0; right: 0; width: 64px; height: 64px;
  background: var(--grey); clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.sheet-title { text-align: center; font-size: var(--t-l); font-weight: 500; letter-spacing: -0.04em; }
.sheet-note { text-align: center; margin-top: 10px; color: var(--muted); font-size: var(--t-s); }
.sheet-group { margin-top: 56px; }
.sheet-group h3 { text-align: center; font-size: var(--t-m); font-weight: 500; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: center; gap: 12px; }
.sheet-group h3 img { width: 22px; height: 22px; }
.sheet-items { margin: 22px auto 0; max-width: 520px; display: grid; gap: 16px; }
.sheet-items li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; }
.sheet-items .q { font-size: var(--t-b); }
.sheet-items .st { font-size: 14px; font-weight: 500; white-space: nowrap; align-self: start; padding-top: 2px; }
.st-pilot { color: var(--accent); }
.st-planned { color: var(--muted); }
.sheet-items .d { grid-column: 1; font-size: 14px; color: var(--muted); }
.sheet-foot { margin-top: 56px; text-align: center; font-size: var(--t-s); color: var(--muted); display: grid; gap: 4px; }
.sheet-foot b { color: var(--ink); font-weight: 500; }

/* ================================================================== letter */
.letter-sec { padding: clamp(96px, 9vw, 140px) var(--margin) var(--gap-section); }
.letter { max-width: 560px; margin: 0 auto; }
.letter h2 { font-size: var(--t-m); }
.letter-body { margin-top: 24px; display: grid; gap: 1.1em; line-height: 1.6; }
.letter-body mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 0.32em; text-underline-offset: -0.12em; text-decoration-skip-ink: none; }
.sign { margin-top: 32px; }
.sign b { display: block; font-size: var(--t-m); font-weight: 500; letter-spacing: -0.01em; }
.sign span { color: var(--muted); font-size: var(--t-s); }

/* ================================================================== FAQ */
.faq { padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.faq h2 { grid-column: 1 / span 3; font-size: var(--t-l); }
.faq-text { grid-column: 5 / span 8; columns: 2; column-gap: 56px; }
.faq-text p { break-inside: avoid; margin-bottom: 22px; line-height: 1.55; }
.faq-text b { font-weight: 500; }

/* ================================================================== CTA */
.cta { padding: clamp(140px, 18svh, 220px) var(--margin) clamp(120px, 16svh, 180px); }
.cta-inner { margin-left: clamp(0px, 16vw, 260px); max-width: 40ch; }
.cta-line { font-size: var(--t-m); letter-spacing: -0.01em; line-height: 1.3; }
.cta-actions { margin-top: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ================================================================== footer */
.footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--ink); color: var(--on-ink); }
.footer-photo { position: relative; overflow: hidden; background: var(--ink-2); }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.footer-photo figcaption { position: absolute; left: var(--margin); bottom: 20px; background: var(--ink); color: var(--on-ink); font-size: 13px; padding: 6px 10px; }
.footer-menu { padding: 64px var(--margin) 28px clamp(28px, 8vw, 120px); display: grid; grid-template-rows: auto 1fr auto auto; gap: 48px; }
.footer-menu .brand img { width: 150px; height: auto; }
.bigmenu { display: grid; gap: 14px; align-content: start; }
.bigmenu a {
  font-size: var(--t-l); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; text-decoration: none;
  display: inline-block; transition: transform 220ms var(--ease-out), color 220ms ease;
}
.bigmenu:hover a { color: var(--on-ink-muted); }
.bigmenu a:hover, .bigmenu a:focus-visible { color: var(--on-ink); transform: translateX(12px); }
.foot-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; font-size: var(--t-s); color: var(--on-ink-muted); }
.foot-blocks b { display: block; color: var(--on-ink); font-weight: 500; margin-bottom: 6px; }
.foot-blocks a { text-underline-offset: 3px; }
.legal { font-size: 13px; color: var(--on-ink-muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal a { text-underline-offset: 3px; }

/* ================================================================== inner pages */
.page-hero { padding: clamp(56px, 8vw, 120px) var(--margin) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.page-hero h1 { font-size: var(--t-xl); letter-spacing: -0.04em; line-height: 0.98; max-width: 14ch; }
.page-hero p { max-width: 46ch; }
.page-hero .hero-actions .link { color: var(--ink); }
.band { margin-top: clamp(64px, 7vw, 112px); }
.band img { width: 100%; height: clamp(280px, 42vw, 620px); object-fit: cover; }
.band figcaption { padding: 10px var(--margin) 0; font-size: 13px; color: var(--muted); }


.duo { padding: var(--gap-section) var(--margin) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.duo h2 { max-width: 16ch; }
.duo p + p, .duo h2 + p { margin-top: 18px; }
.duo .prose { max-width: 52ch; }
.duo figure img { width: 100%; height: auto; }
.duo figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.audience { padding: var(--gap-section) var(--margin) 0; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; scroll-margin-top: 24px; }
.audience:nth-of-type(even) .aud-text { order: 2; }
.aud-text h2 { max-width: 14ch; }
.aud-q { margin-top: 24px; font-size: var(--t-m); line-height: 1.3; letter-spacing: -0.01em; max-width: 26ch; }
.aud-text p { margin-top: 18px; max-width: 48ch; }
.aud-text ul { margin-top: 22px; display: grid; gap: 10px; max-width: 48ch; }
.aud-text li { padding-left: 26px; position: relative; }
.aud-text li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 14px; height: 4px; background: var(--accent); }
.aud-fig { background: var(--paper-2); }
.aud-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.aud-fig .rec, .aud-fig .chart { background: var(--paper-2); }

.contact-sec { padding: var(--gap-section) var(--margin); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; scroll-margin-top: 24px; }
.contact-box { background: var(--white); padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: start; }
.contact-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
.contact-box dt { color: var(--muted); }
.placeholder { color: #A1261E; }

/* ================================================================== entrance motion */
.js [data-rise] { opacity: 0.12; transform: translateY(24px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .b, .map-layer, .street-ext, .street-net { transition: none; }
}

/* ================================================================== responsive */
@media (max-width: 1100px) {
  .faq h2 { grid-column: 1 / -1; margin-bottom: 32px; }
  .faq-text { grid-column: 1 / -1; }
  .sheet-sec { grid-template-columns: 1fr; }
  .sheet-aside { position: static; }
  .sheet { justify-self: center; width: 100%; max-width: 720px; }
  .mod { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .stage-wrap { grid-template-columns: 1fr; }
  .stage { position: relative; height: 62svh; min-height: 420px; padding: 10px 10px 0; background: var(--paper-2); }
  .mapp-head { padding: 10px 12px 8px; font-size: 13px; }
  .mapp-head span { display: none; }
  .mapp-legend { left: 8px; bottom: 8px; padding: 6px 10px; gap: 4px 12px; font-size: 12px; }
  .mapp-bar { padding: 10px 12px 12px; gap: 8px; }
  .kpis dt { font-size: 12px; }
  .kpis dd { font-size: 16px; }
  .map-note { display: none; }
  .seg button { padding: 6px 9px; font-size: 13px; }
  .col-sec { padding: 96px 20px 0; }
  .col-sec:last-child { padding-bottom: 96px; }
  .how-step { min-height: 0; padding: 40px 0 8px; }
  .how-step h3 { font-size: 26px; }
  .features { padding: 112px 20px 0; }
  .features-inner { margin-left: 0; }
  .mod { grid-template-columns: 1fr; gap: 16px; }
  .showcase { grid-template-columns: 1fr; min-height: 0; }
  .sc-in, .sc-out { padding: 56px 20px 40px; }
  .sc-title { font-size: 11vw; }
  .sheet-sec { padding: 72px 10px; }
  .sheet-aside { padding: 0 10px; }
  .sheet { padding: 32px 22px; }
  .faq { padding: 0 20px 112px; }
  .faq-text { columns: 1; }
  .cta { padding: 20svh 20px 14svh; }
  .cta-inner { margin-left: 0; }
  .footer { grid-template-columns: 1fr; min-height: 0; }
  .footer-photo { height: 50svh; }
  .footer-menu { padding: 48px 20px 28px; }
  .bigmenu a { font-size: 8vw; }
  .page-hero, .duo, .audience, .contact-sec { grid-template-columns: 1fr; }
  .audience:nth-of-type(even) .aud-text { order: 0; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: 0 4px; background: none; border: 0; font-size: var(--t-s); font-weight: 500; cursor: pointer; }
  .topbar .nav { position: fixed; inset: 0; background: var(--ink); color: var(--on-ink); flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px 24px; gap: 18px; transform: translateY(-100%); visibility: hidden; transition: transform 320ms var(--ease-out), visibility 0s linear 320ms; z-index: 50; }
  .topbar .nav a:not(.btn) { font-size: 32px; color: var(--on-ink); }
  .nav.open { transform: none; visibility: visible; transition: transform 320ms var(--ease-out), visibility 0s; }
  .nav .close { display: inline-flex; }
}
.nav .close { display: none; position: absolute; top: 20px; right: 20px; background: none; border: 0; color: var(--on-ink); font-size: var(--t-s); font-weight: 500; cursor: pointer; min-height: 42px; }

@media (max-width: 560px) {
  .kpis { gap: 8px; }
  .foot-blocks { grid-template-columns: 1fr; }
  .sheet-items li { grid-template-columns: 1fr; }
  .sheet-items .st { padding-top: 0; }
}

/* budget control in the showcase */
.budget { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.budget select { background: var(--white); color: var(--ink); border: 0; border-radius: 0; padding: 6px 10px; cursor: pointer; }
.sc-in .hint.budget { margin-top: 0; }

/* the footer plan drifts slowly as it comes into view */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .footer-photo img { animation: plan-drift linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes plan-drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1) translateY(0); } }
  }
}
@media (max-width: 1100px) { .cta-inner { margin-left: 0; max-width: 36em; } .cta-line { font-size: var(--t-l); line-height: 1.12; letter-spacing: -0.035em; } }
@media (max-width: 560px) { .cta-line { font-size: var(--t-m); } }
/* On phones the entrance only moves: fast thumb-scrolling never meets a blank, half-faded screen. */
@media (max-width: 900px) {
  .js [data-rise] { opacity: 1; transform: translateY(16px); }
  .js [data-rise].in { transform: none; }
}

/* credits and small fixes */
.credits-list { display: grid; gap: 14px; font-size: var(--t-s); max-width: 60ch; }
.credits-list a, .prose a { text-underline-offset: 3px; }
.contact-sec h2 + p { margin-top: 20px; max-width: 46ch; }
.duo .prose b { font-weight: 500; }
@media (max-width: 560px) {
  .rec td { padding: 8px; }
  .rec td:nth-child(3) { white-space: normal; }
}
.contact-fig { margin-top: 40px; max-width: 420px; }
.contact-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 70%; }
.contact-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.page-hero h1 { max-width: none; }
@media (max-width: 900px) {
  .page-hero h1 { font-size: clamp(32px, 9vw, 64px); }
  .page-hero, .duo, .audience, .contact-sec { grid-template-columns: minmax(0, 1fr); }
  .aud-fig { overflow-x: auto; }
  .aud-fig .plan td, .aud-fig .plan th { padding: 8px 6px; }
}
.audience:nth-of-type(even) { grid-template-columns: 7fr 5fr; }
.duo figure img { max-height: 82svh; object-fit: cover; }
@media (max-width: 900px) { .audience:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); } }

/* ================================================================== workspace preview */
.ask { background: var(--paper-2); color: var(--ink); padding: var(--gap-section) var(--margin) clamp(64px, 6vw, 96px); }
.ask-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.ask-head p { max-width: 50ch; }
.ws { display: grid; grid-template-columns: 250px minmax(0, 1fr); background: var(--paper); color: var(--ink); min-height: 640px; border-radius: var(--radius); overflow: hidden; }
.ws-side { padding: 18px 16px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.ws-name { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ws-name b { font-weight: 500; }
.ws-facts { display: grid; gap: 6px; }
.ws-facts div { display: flex; justify-content: space-between; gap: 8px; }
.ws-facts dt { color: var(--muted); }
.ws-facts dd { font-family: var(--mono); font-size: 13px; } /* taste-skill-ignore: brand mono in data-ui */
.ws-label { color: var(--muted); font-size: 13px; margin-top: 6px; }
.ws-qs { display: grid; gap: 4px; }
.ws-qs button {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 10px 10px 10px 12px; font-size: 14px; line-height: 1.35;
  cursor: pointer; transition: background-color 160ms ease; position: relative;
}
.ws-qs button:hover { background: var(--paper-2); }
.ws-qs button[aria-pressed="true"] { background: var(--white); }
.ws-qs button[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--accent); }
.ws-sheet { background: var(--white); margin: 8px 8px 8px 0; border-radius: var(--radius); border: 1px solid var(--paper-2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 0; } /* taste-skill-ignore: app chrome inside data-ui */
.ws-chat { display: grid; grid-template-rows: 1fr auto; min-height: 0; border-right: 1px solid var(--line); } /* taste-skill-ignore: app chrome inside data-ui */
.ws-thread { padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: 560px; font-size: 15px; line-height: 1.5; }
.ws-msg p + p { margin-top: 10px; }
.ws-user { align-self: flex-end; background: var(--paper-2); color: var(--ink); border-radius: var(--radius); padding: 10px 14px; max-width: 85%; }
.ws-steps ol { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.ws-steps li { padding-left: 18px; position: relative; animation: ws-in 260ms var(--ease-out) both; }
.ws-steps li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; background: var(--accent); }
.ws-answer { animation: ws-in 320ms var(--ease-out) both; }
.ws-answer b { font-weight: 500; }
.ws-caveat { font-size: 13px; color: var(--muted); }
@keyframes ws-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ws-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); } /* taste-skill-ignore: app chrome inside data-ui */
.ws-form input { flex: 1; min-width: 0; border-radius: 0; border: 1px solid var(--grey); background: var(--paper); padding: 10px 12px; font-size: 15px; } /* taste-skill-ignore: app chrome inside data-ui */
.ws-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; } /* taste-skill-ignore: app chrome inside data-ui */
.ws-form button { border: 0; border-radius: 0; background: var(--accent); color: var(--white); padding: 0 18px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 160ms ease; } /* taste-skill-ignore: app chrome inside data-ui */
.ws-form button:hover { background: var(--accent-hover); } /* taste-skill-ignore: app chrome inside data-ui */
.ws-result { padding: 18px 20px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.ws-result-title { font-weight: 500; font-size: 15px; }
.ws-map { width: 100%; height: 300px; background: var(--paper); }
.mm { fill: var(--b-light); transition: fill 300ms ease; }
.mm-p { fill: var(--b-dark); }
.mm-hi { fill: var(--accent); }
.mm-line, .mm-line-ex { stroke: var(--b-dark); stroke-width: 6; fill: none; stroke-linecap: round; }
.mm-line { stroke: var(--accent); stroke-dasharray: 12 10; }
.ws-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.ws-key span { display: inline-flex; align-items: center; gap: 6px; }
.ws-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-kpis div { background: var(--paper); padding: 10px 12px; }
.ws-kpis dt { font-size: 12px; color: var(--muted); }
.ws-kpis dd { font-family: var(--mono); font-size: 17px; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: brand mono in data-ui */
.ws-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 4px; }
.ws-table th { text-align: left; font-weight: 400; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ws-table td { padding: 7px 8px; border-bottom: 1px solid var(--paper-2); }
.ws-table .n { text-align: right; font-family: var(--mono); white-space: nowrap; } /* taste-skill-ignore: brand mono in data-ui */
.ws-table .id { font-family: var(--mono); } /* taste-skill-ignore: brand mono in data-ui */
.ws-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ws-steps li, .ws-answer { animation: none; } }
@media (max-width: 1100px) {
  .ws { grid-template-columns: 1fr; }
  .ws-side { padding-bottom: 6px; }
  .ws-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .ws-qs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .ws-qs li { flex: 0 0 240px; }
  .ws-qs button { height: 100%; background: var(--paper-2); }
  .ws-sheet { margin: 0 8px 8px; }
}
@media (max-width: 900px) {
  .ask { padding: 96px 12px 56px; }
  .ask-head { grid-template-columns: 1fr; gap: 16px; padding: 0 8px; }
  .ws-sheet { grid-template-columns: 1fr; }
  .ws-chat { border-right: 0; border-bottom: 1px solid var(--line); } /* taste-skill-ignore: app chrome inside data-ui */
  .ws-thread { max-height: 460px; }
  .ws-note { padding: 0 8px; }
}

@media (max-width: 1100px) { .ws { grid-template-columns: minmax(0, 1fr); } .ws-side { min-width: 0; } }
@media (max-width: 560px) {
  .ws-facts { display: none; }
  .ws-side { gap: 10px; padding: 14px 12px 4px; }
  .ws-label { margin-top: 0; }
  .ws-qs li { flex-basis: 210px; }
  .ws-thread { max-height: 300px; padding: 14px; }
  .ws-map { height: 220px; }
  .ws-result { padding: 14px; }
  .ws-key { display: none; }
}

/* ================================================================== hero: text + audience panel */
.hero2 {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 3.5vw, 56px) clamp(32px, 4vw, 64px);
  padding: 0 var(--margin) clamp(72px, 7vw, 112px); align-items: stretch;
}
.hero2-text { display: flex; flex-direction: column; padding: 8px 0 0; }
.hero2 h1 { grid-column: 1 / -1; font-size: clamp(40px, 5vw, 76px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; max-width: 15.5em; padding-top: clamp(24px, 4vw, 64px); }
.hero2-paths { margin-top: auto; padding-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero2-paths a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 16px 16px 0;
  font-size: var(--t-b); font-weight: 500; text-decoration: none; position: relative;
}
.hero2-paths a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ink); transform-origin: left; transition: background-color 200ms ease; }
.hero2-paths a::after { content: "\2192"; transition: transform 200ms var(--ease-out); }
.hero2-paths a:hover::before { background: var(--accent); }
.hero2-paths a:hover::after { transform: translateX(6px); }
.hero2-lede { margin-top: 0; max-width: 46ch; color: var(--ink); font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; }
.hero2 .hero-actions { margin-top: 32px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.hero2-panel { display: grid; grid-template-rows: auto 1fr; background: var(--white); min-height: 580px; }
.htabs { display: flex; background: var(--paper-2); }
.htabs button {
  flex: 1 1 0; min-width: 0; text-align: left; border: 0; background: transparent; color: var(--muted);
  padding: 14px 16px 12px; font-size: 14px; font-weight: 500; cursor: pointer; position: relative;
  transition: color 160ms ease, background-color 160ms ease;
}
.htabs button:hover { color: var(--ink); }
.htabs button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.htabs button[aria-selected="true"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.hstage { position: relative; overflow: hidden; background: var(--paper); min-height: 560px; }
.hmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.hmap-credit { position: absolute; left: 12px; bottom: 12px; background: var(--white); font-size: 12px; padding: 4px 8px; color: var(--muted); }
.hm { fill: var(--b-mid); transition: fill 360ms ease; }
.hm-dim { fill: var(--b-light); }
.hm-hi { fill: var(--accent); }
.hm-line { stroke: var(--accent); stroke-width: 6; fill: none; stroke-linecap: round; }
.hm-line-ex { stroke: var(--b-dark); stroke-width: 7; fill: none; stroke-linecap: round; }
.hm-node { fill: var(--mint); stroke: var(--ink); stroke-width: 3; }
.hm-callout line { stroke: var(--ink); stroke-width: 2.5; }
.hm-callout circle { fill: var(--mint); stroke: var(--ink); stroke-width: 3; }
.hm-callout rect { fill: var(--ink); }
.hm-callout text { fill: var(--white); font-family: var(--font); font-size: 22px; font-weight: 500; }

.hcard {
  position: absolute; top: 18px; right: 18px; bottom: 18px; width: min(410px, 60%);
  background: var(--white); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; /* taste-skill-ignore: card floats over the map inside data-ui */
  font-size: 14px; overflow: hidden;
}
.hcard.swap > * { animation: ws-in 360ms var(--ease-out) both; }
.hcard.swap > *:nth-child(2) { animation-delay: 50ms; }
.hcard.swap > *:nth-child(3) { animation-delay: 100ms; }
.hcard.swap > *:nth-child(4) { animation-delay: 150ms; }
.hcard-head { display: flex; gap: 12px; align-items: center; }
.hcard-head b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.hcard-head span { color: var(--muted); font-size: 13px; }
.hcard-q { background: var(--paper-2); padding: 12px 14px; font-size: 15px; line-height: 1.45; margin-left: 24px; }
.hcard-ctx { display: grid; gap: 8px; }
.hcard-label, .hcard-res-label { font-size: 12px; color: var(--muted); }
.hcard-ctx ul { display: flex; flex-wrap: wrap; gap: 6px; }
.hcard-ctx li { background: var(--paper); padding: 4px 10px; font-size: 13px; }
.hcard-res { margin-top: auto; background: var(--paper); padding: 16px; display: grid; gap: 10px; }
.hcard-big { font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; display: flex; gap: 10px; align-items: baseline; }
.hcard-big::before { content: ""; width: 10px; height: 10px; border-radius: 0; background: var(--accent); flex: none; transform: translateY(-3px); }
.hcard-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.hcard-kpis dt { font-size: 12px; color: var(--muted); }
.hcard-kpis dd { font-family: var(--mono); font-size: 17px; font-variant-numeric: tabular-nums; } /* taste-skill-ignore: brand mono in data-ui */
.hcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding-top: 4px; }
.hcard-foot a { color: var(--ink); font-weight: 500; font-size: 13px; text-underline-offset: 3px; }
.hcard-foot a::after { content: " \2192"; }
.st-dot { display: inline-block; width: 8px; height: 8px; border-radius: 0; margin-right: 6px; vertical-align: 1px; }
.st-dot.st-pilot { background: var(--accent); }
.st-dot.st-planned { background: var(--b-mid); }
.how-lede { margin-top: 18px; max-width: 46ch; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .hcard.swap > * { animation: none; } .hm { transition: none; } }

@media (max-width: 1100px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); }
  .hero2-text { padding: 8px 0 0; }
  .hero2 h1 { font-size: clamp(34px, 6.2vw, 60px); }
  .hero2-panel { min-height: 0; }
}
@media (max-width: 700px) {
  .hero2 { padding: 8px 12px 72px; gap: 40px; }
  .hero2-text { padding: 0 8px; }
  .hero2 h1 { font-size: clamp(28px, 7.2vw, 40px); padding: 8px 8px 0; }
  .hero2-paths { padding-top: 32px; }
  .hero2-paths { grid-template-columns: 1fr; gap: 4px; margin-top: 32px; }
  .htabs { overflow-x: auto; }
  .htabs button { flex: 0 0 auto; }
  .hstage { min-height: 0; display: grid; }
  .hmap { position: relative; height: 260px; }
  .hmap-credit { top: 220px; bottom: auto; }
  .hcard { position: static; width: auto; border: 0; }
}

/* ================================================================== Curb Labs: radii, headings, data */
h1, h2 { font-weight: 400; letter-spacing: -0.035em; }
h3 { font-weight: 500; }
[data-ui] { font-variant-numeric: tabular-nums; }
.mapp, .mod-panel, .hero2-panel, .sheet, .contact-box, .aud-fig, .htabs, .hcard-q, .hcard-res, .hcard-ctx li,
.rec table, .ws-kpis div, .budget select, .mapp-legend, .hmap-credit { border-radius: var(--radius); }
.mod-panel, .aud-fig, .hero2-panel, .mapp, .band img, .duo figure img, .contact-fig img, .footer-photo { overflow: hidden; }
.band img, .duo figure img, .contact-fig img { border-radius: var(--radius); }
.band { padding: 0 var(--margin); }
.band figcaption { padding-left: 0; }
.mod-panel img { border-radius: 0; }
.how-step h3::before, .hero2-paths a::before { border-radius: 0; }
.hcard-big, .sc-title, .page-hero h1, .sheet-title, .bigmenu a { font-weight: 400; }
.footer { background: var(--ink); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.topbar .brand img { width: auto; height: 24px; }
.footer-menu .brand img { width: auto; height: 22px; }
.topbar { padding-top: 26px; padding-bottom: 26px; }
@media (max-width: 560px) { h2 { font-size: 28px; } }
.page-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(36px, 4vw, 60px); line-height: 1.04; }
@media (max-width: 900px) { .page-hero { grid-template-columns: minmax(0, 1fr); } .page-hero h1 { font-size: clamp(30px, 8vw, 52px); } }
/* hero map sits beside the card, not under it */
.hmap { right: auto; width: 54%; }
.hcard { width: min(420px, 50%); }
.hero2-paths { margin-top: 0; padding-top: 56px; }
@media (max-width: 700px) { .hmap { width: 100%; } .hero2-paths { padding-top: 32px; } }

/* ================================================================== the platform in four layers */
.stack-sec { padding: var(--gap-section) var(--margin) 0; }
.stack-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.stack-head p { max-width: 50ch; }
.stack-grid { margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.stack-fig { position: sticky; top: 6svh; }
.stack { --gz: clamp(34px, 5.4vw, 88px); --open: 0; position: relative; aspect-ratio: 1 / 1; }
.stack.is-open { --open: 1; }
.stack-scene {
  position: absolute; left: 17%; top: 26%; width: 66%; aspect-ratio: 4 / 3; transform-style: preserve-3d;
  transform: translateY(calc(var(--gz) * 1.2 * var(--open))) rotateX(56deg) rotateZ(-36deg);
  transition: transform 1.2s var(--ease-out);
}
.plane {
  position: absolute; inset: 0; background: var(--white); border-radius: 0;
  transform: translateZ(calc(var(--i) * var(--gz) * var(--open)));
  transition: transform 1.2s var(--ease-out) calc(var(--i) * 90ms), opacity 400ms ease;
}
.plane::after { content: ""; position: absolute; inset: 0; border-radius: 0; box-shadow: inset 0 0 0 1.5px rgba(16, 17, 18, 0.28); pointer-events: none; } /* taste-skill-ignore: the edge of a drawn map plane */
.plane[data-i="0"] { background: var(--paper); }
.plane svg { width: 100%; height: 100%; border-radius: 0; }
.plane-tag { position: absolute; left: 0; bottom: 100%; padding-bottom: 8px; font-size: 15px; font-weight: 400; white-space: nowrap; color: var(--ink); }
.stack[data-active] .plane { opacity: 0.22; }
.stack[data-active] .plane.is-active { opacity: 1; transform: translateZ(calc(var(--i) * var(--gz) * var(--open) + 24px)); }
@media (prefers-reduced-motion: reduce) { .stack-scene, .plane { transition: none; } }

/* what each layer draws */
.sl-foot { fill: none; stroke: var(--b-dark); stroke-width: 1.6; stroke-dasharray: 4 3; }
.sl-cert { fill: var(--ink); }
.sl-meter { fill: var(--b-dark); }
.sl-net-src { stroke: var(--b-dark); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.sl-obj { fill: var(--b-mid); stroke: var(--white); stroke-width: 1.2; }
.sl-obj-p { fill: var(--b-dark); }
.sl-link { stroke: var(--ink); stroke-width: 1.4; opacity: 0.55; }
.sl-node { fill: var(--white); stroke: var(--ink); stroke-width: 1.6; }
.sl-hub { fill: var(--ink); }
.sl-net { stroke: var(--b-dark); stroke-width: 6; stroke-linecap: round; }
.sl-d1 { fill: var(--b-light); stroke: var(--white); stroke-width: 1.2; }
.sl-d2 { fill: var(--b-mid); stroke: var(--white); stroke-width: 1.2; }
.sl-d3 { fill: var(--b-dark); stroke: var(--white); stroke-width: 1.2; }
.sl-route { stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.sl-plant { fill: var(--mint); stroke: var(--ink); stroke-width: 3; }
.sl-ghost { fill: none; stroke: var(--b-mid); stroke-width: 1.3; }
.sl-pick { fill: var(--accent); stroke: var(--white); stroke-width: 1.2; }
.sl-mark { fill: var(--mint); stroke: var(--ink); stroke-width: 3; }
.sl-mark-t { font: 500 20px var(--font); fill: var(--ink); }

/* the four rows */
.srows { display: grid; gap: 12px; }
.srow { padding: 28px; border-radius: var(--radius); background: transparent; transition: background-color 240ms ease; }
.srow.is-active { background: var(--white); }
.srow-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.srow h3 { font-size: var(--t-m); font-weight: 400; letter-spacing: -0.015em; }
.srow .st { font-size: 14px; font-weight: 500; white-space: nowrap; }
.srow .st::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 0; margin-right: 7px; vertical-align: 1px; background: var(--accent); }
.srow .st-dev { color: var(--muted); }
.srow .st-dev::before { background: var(--b-mid); }
.srow-lead { margin-top: 8px; font-weight: 500; }
.srow p + p { margin-top: 10px; }
.srow ul.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.srow ul.chips li { background: var(--paper-2); padding: 4px 10px; font-size: 14px; border-radius: 0; }
.srow .ev { margin-top: 20px; }
.srow-link { margin-top: 14px; display: inline-block; font-size: var(--t-s); font-weight: 500; text-underline-offset: 4px; }

/* evidence fragments on the Platform page */
.ev { background: var(--paper); border-radius: var(--radius); padding: 16px; font-size: 14px; }
.srow.is-active .ev { background: var(--paper); }
.ev-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ev-head b { font-weight: 500; }
.ev-head span { color: var(--muted); font-size: 13px; }
.ev table { width: 100%; border-collapse: collapse; }
.ev th { text-align: left; font-weight: 400; color: var(--muted); font-size: 13px; padding: 6px 8px; border-bottom: 1px solid var(--grey); }
.ev td { padding: 7px 8px; border-bottom: 1px solid var(--paper-2); }
.obj { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; }
.obj dl { display: grid; gap: 6px; }
.obj dl div { display: flex; justify-content: space-between; gap: 8px; }
.obj dt { color: var(--muted); }
.obj ul { display: grid; gap: 6px; }
.obj li { background: var(--white); border-radius: 0; padding: 6px 10px; display: grid; }
.obj li span { color: var(--muted); font-size: 12px; }
.obj li b { font-weight: 500; }
.run-q { background: var(--paper-2); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
.run-steps { display: grid; gap: 8px; }
.run-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; }
.run-steps li::before { content: ""; grid-row: span 2; width: 12px; height: 12px; margin-top: 4px; border-radius: 0; background: var(--accent); }
.run-steps li.wait::before { background: transparent; box-shadow: inset 0 0 0 2px var(--b-mid); } /* taste-skill-ignore: an open status ring */
.run-steps span { font-weight: 500; }
.run-steps b { font-weight: 400; color: var(--muted); }

@media (max-width: 1100px) {
  .stack-grid { grid-template-columns: minmax(0, 1fr); }
  .stack-fig { position: relative; top: 0; max-width: 620px; width: 100%; justify-self: center; }
}
@media (max-width: 900px) {
  .stack-sec { padding: 112px 20px 0; }
  .stack-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .srow { padding: 20px 4px; }
  .srow.is-active { background: transparent; }
  .obj { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hcard { position: static; width: auto; box-shadow: none; }
}
@media (max-width: 900px) {
  .stack { aspect-ratio: 5 / 4; }
  .stack-scene { left: 14%; top: 30%; width: 72%; }
}

/* ================================================================== Infrastructure edition (30 Nov 2026) */
/* type: Inter Regular for display, Medium for small headings and actions */
h1, h2 { font-weight: 400; letter-spacing: -0.045em; line-height: 1.04; }
h3 { font-weight: 500; letter-spacing: -0.02em; }
@media (max-width: 560px) { h1, h2 { letter-spacing: -0.035em; } }

/* labels: small monospace capitals, the brand's caption voice */
.label, .hmap-credit, .plane-tag,
.srow .st, .sheet-items .st, .hcard-label, .hcard-res-label, .ws-label {
  font-family: var(--label); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; /* taste-skill-ignore: brand label style (Infrastructure edition) */
}
.plane-tag { font-size: 11px; color: var(--ink); }

/* the indicator: a small square, mint on black, outlined on white */
.ind { display: inline-block; width: 9px; height: 9px; flex: none; background: var(--mint); outline: 1px solid var(--ink); }
.on-ink .ind { outline: 0; }
.st-dot.st-pilot, .srow .st::before, .hcard-big::before { background: var(--mint); outline: 1px solid var(--ink); }
.st-dot.st-planned, .srow .st-dev::before { background: transparent; outline: 1px solid var(--dim); }
.sheet-group h3 .ind { width: 10px; height: 10px; }
.ws-name .ind { margin-right: 2px; }

/* dark surfaces */
.on-ink :focus-visible { outline-color: var(--mint); }
.on-ink .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-ink .btn:hover { background: var(--paper-2); border-color: var(--paper-2); }
.on-ink .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.on-ink .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.topbar-ink { background: var(--ink); color: var(--on-ink); }
.topbar .brand img { width: auto; height: 37px; }
.footer-menu .brand img { width: auto; height: 40px; }

/* home hero: black text field beside a real photograph */
.hero3 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--ink); color: var(--on-ink); min-height: calc(100svh - 89px); }
.hero3-text { display: flex; flex-direction: column; padding: clamp(32px, 4.5vw, 72px) clamp(32px, 4.5vw, 72px) clamp(150px, 12vw, 190px) var(--margin); }
.hero3-ind { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--on-ink-muted); font-family: var(--label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; transition: color 160ms ease; } /* taste-skill-ignore: brand label style (Infrastructure edition) */
.hero3-ind:hover { color: var(--on-ink); }
.hero3 h1 { margin-top: clamp(40px, 6vh, 80px); font-size: clamp(44px, 5.4vw, 88px); line-height: 1.02; max-width: 11.5em; text-wrap: balance; }
.hero3-lede { margin-top: clamp(28px, 3vw, 44px); max-width: 44ch; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--on-ink); }
.hero3 .hero-actions { margin-top: 36px; }
.hero3 .hero2-paths { margin-top: auto; padding-top: 56px; }
.hero3 .hero2-paths a { color: var(--on-ink); font-weight: 400; }
.hero3 .hero2-paths a::before { height: 1px; background: rgba(255, 255, 255, 0.4); }
.hero3 .hero2-paths a:hover::before { background: var(--mint); height: 2px; }
.hero3-photo { position: relative; overflow: hidden; margin: 0; background: var(--ink-2); }
.hero3-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* the product preview overlaps the bottom of the hero */
.hpanel-sec { position: relative; padding: 0 var(--margin) clamp(24px, 3vw, 48px); margin-top: calc(-1 * clamp(110px, 9vw, 140px)); }
.hpanel-sec .hero2-panel { position: relative; min-height: 640px; border: 1px solid var(--line); } /* taste-skill-ignore: the app window edge inside data-ui */
.hpanel-sec .hstage { min-height: 600px; }
.hpanel-sec .hmap { width: 60%; }
.hpanel-sec .hcard { width: min(440px, 38%); }

/* product chrome */
.htabs { background: var(--paper-2); }
.htabs button[aria-selected="true"]::before { height: 2px; background: var(--ink); }
.hstage, .mapp, .ws-map { background: var(--paper-2); }
.hcard-q, .run-q { background: var(--paper-2); }
.hcard-res { background: var(--paper-2); }
.hmap-credit { background: var(--white); color: var(--muted); }

/* the workspace sits on black */
.ask { background: var(--ink); color: var(--on-ink); }
.ask .ws { background: var(--paper-2); color: var(--ink); }
.ask .ws-qs button[aria-pressed="true"] { background: var(--white); }
.ask .ws-qs button:hover { background: var(--white); }
.ask .ws-sheet { border-color: var(--line); }
.ask .ws-note { color: var(--on-ink-muted); }

/* stack planes: square paper sheets */
.plane, .plane::after, .plane svg { border-radius: 0; }
.plane[data-i="0"] { background: var(--paper-2); }
.srow.is-active { background: var(--paper-2); }
.srow.is-active .ev, .ev { background: var(--white); outline: 1px solid var(--line); } /* taste-skill-ignore: evidence fragment edge inside data-ui */
.srow ul.chips li, .layer li { background: var(--paper-2); }
.obj li { background: var(--paper-2); }

/* surfaces that were warm stone */
.stage-wrap, .stage { background: var(--paper-2); }
.sheet-sec { background: var(--paper-2); }
.sheet::before { background: var(--ink); }
.footer-photo { background: var(--ink); }
.footer-photo img { object-position: 50% 50%; }

@media (max-width: 1100px) {
  .hpanel-sec .hmap { width: 54%; }
  .hpanel-sec .hcard { width: min(420px, 46%); }
}
@media (max-width: 900px) {
  .hero3 { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero3-text { padding: 28px 20px 40px; }
  .hero3 h1 { margin-top: 32px; font-size: clamp(36px, 9.4vw, 60px); }
  .hero3 .hero2-paths { padding-top: 40px; }
  .hero3-photo { height: 58vw; min-height: 240px; }
  .hpanel-sec { margin-top: 0; padding: 0 0 24px; }
  .hpanel-sec .hero2-panel { border-width: 0 0 1px; }
}
@media (max-width: 700px) {
  .hpanel-sec .hero2-panel { min-height: 0; }
  .hpanel-sec .hstage { min-height: 0; }
  .hpanel-sec .hmap { width: 100%; }
  .hpanel-sec .hcard { width: auto; }
}
/* planes need an edge on a white page */
.plane { background: var(--paper-2); }
.plane[data-i="0"] { background: var(--sand); }
.plane::after { box-shadow: inset 0 0 0 1px rgba(16, 17, 18, 0.45); } /* taste-skill-ignore: the edge of a drawn map plane */
.sl-obj, .sl-d1, .sl-d2, .sl-d3, .sl-pick { stroke: var(--paper-2); }
.band figcaption, .duo figcaption, .contact-fig figcaption { font-size: 13px; color: var(--muted); }
.footer-photo figcaption { font-size: 13px; }
@media (max-width: 560px) {
  .plane-tag { opacity: 0; transition: opacity 200ms ease; }
  .plane.is-active .plane-tag { opacity: 1; }
}

/* ================================================================ buyer view
   From little data to a plan; what you get; cities. */
.ladder-sec { padding: var(--gap-section) var(--margin) 0; scroll-margin-top: 24px; }
.ladder-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.ladder-head h2 { max-width: 14ch; }
.ladder-head p { max-width: 52ch; }
.ladder { list-style: none; margin: clamp(48px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: clamp(20px, 2.4vw, 36px); row-gap: 12px; }
.rung { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; grid-row: span 5; grid-template-rows: subgrid; }
.rung h3 { font-size: var(--t-m); font-weight: 500; }
.rung-add { color: var(--muted); }
.rung .rec { background: var(--paper-2); margin-top: 8px; }
.rung .rec td:nth-child(3) { white-space: normal; }
.rung tr.est td:nth-child(2) { color: var(--muted); }
.rung-get { margin-top: 8px; }
.rung-get b { font-weight: 500; }
.ladder-note { margin-top: 20px; color: var(--muted); font-size: 13px; }

.memo { background: var(--white); margin: 18px; padding: 22px 22px 18px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.memo-title { font-weight: 500; font-size: 17px; line-height: 1.3; }
.memo-points { margin: 0; padding-left: 18px; list-style: decimal; display: grid; gap: 8px; font-size: 14px; line-height: 1.45; }
.memo-t { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.memo-t td { padding: 7px 0; border-top: 1px solid var(--line); }
.memo-t td:nth-child(2) { text-align: right; padding-right: 16px; }
.memo-t td:nth-child(3) { text-align: right; color: var(--muted); }
.memo-foot { color: var(--muted); font-size: 12px; }

.cities { margin-top: var(--gap-section); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper-2); scroll-margin-top: 24px; }
.cities-photo { margin: 0; position: relative; min-height: 520px; overflow: hidden; }
.cities-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: grayscale(1); }
.cities-text { padding: clamp(64px, 7vw, 112px) var(--margin); display: grid; gap: 20px; align-content: start; }
.cities-text h2 { max-width: 18ch; }
.cities-lede { max-width: 56ch; }
.cities-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: 12px; }
.cities-cols > div { border-top: 1px solid var(--ink); padding-top: 16px; }
.cities-cols h3 { font-size: 17px; font-weight: 500; }
.cities-cols ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.cities .btn { justify-self: start; margin-top: 12px; }

@media (max-width: 1180px) {
  .ladder { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 56px; }
  .rung { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 56px); row-gap: 12px; align-content: start; }
  .rung > * { grid-column: 1; }
  .rung > .rec { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; align-self: start; }
}
@media (max-width: 700px) {
  .rung { grid-template-columns: 1fr; }
  .rung > .rec { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
@media (max-width: 900px) {
  .ladder-head { grid-template-columns: 1fr; gap: 20px; }
  .cities { grid-template-columns: 1fr; }
  .cities-photo { min-height: 0; height: 60vw; }
}
@media (max-width: 560px) {
  .cities-cols { grid-template-columns: 1fr; }
  .memo { margin: 12px; padding: 18px 16px 14px; }
}

/* Solutions: how a pilot runs */
.pilot-run { padding: var(--gap-section) var(--margin) 0; scroll-margin-top: 24px; }
.pilot-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.pilot-head p { max-width: 52ch; }
.pilot-steps { margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); }
.pilot-steps li { border-top: 1px solid var(--ink); padding-top: 16px; }
.pilot-steps h3 { margin-top: 14px; font-weight: 500; }
.pilot-steps p { margin-top: 10px; }
@media (max-width: 1000px) { .pilot-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 900px) { .pilot-head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .pilot-steps { grid-template-columns: 1fr; } }
