/* ============================================================================
   FoodProTec — "clean industrial architecture" (content/design-notes/redesign-review.md, GPT v3, 2026-09-07).
   The one stylesheet for every served page: hub, 7 spokes, about, contact, calculator, intake.
   White + pale mineral grey surfaces, deep charcoal type, FoodProTec red for actions, a little icy blue.
   Hanken Grotesk everywhere (Barlow Condensed and Inter retired). Content column 1280px, 8–12px corners,
   fine neutral borders, one dark proof chapter + the footer. Calculator machinery (assets/calc.js) keeps
   its DOM contract; only the looks change here.
   ============================================================================ */

:root {
  --white: #FFFFFF; --mineral: #F4F6F7; --mineral-2: #EBEFF1; --line: #DFE4E7; --line-2: #C9D1D6;
  --ink: #1B2428; --ink-2: #4E5A60; --ink-3: #7A868C;
  --charcoal: #1B2428; --charcoal-2: #141B1F; --on-dark: rgba(255,255,255,.76); --on-dark-line: rgba(255,255,255,.14);
  --red: #B7352D; --red-ink: #93281F; --red-soft: #FBEDEB;
  --ice: #DCEFF5; --ice-2: #BFE1EC; --ice-ink: #1F7A99;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: 32px; --max: 1280px; --r: 10px; --r-lg: 12px; --r-sm: 8px;
  --shadow: 0 1px 2px rgba(27,36,40,.04), 0 8px 24px rgba(27,36,40,.06);
}
@media (max-width: 767px) { :root { --pad: 20px; } }

/* ---- Base ---- */
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
@media (min-width: 768px) { body { font-size: 17.5px; } }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(40px, 3.2vw + 28px, 72px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 1.6vw + 20px, 44px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 17px; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: currentColor; }
a.red { color: var(--red); }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.ref, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .95em; }
.label { font: 600 13px/1.3 var(--font); color: var(--ink-2); letter-spacing: .01em; }
.eyebrow { font: 600 13px/1.3 var(--font); color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.meta-label, .spec-label { font: 600 11px/1.3 var(--font); text-transform: uppercase; letter-spacing: .10em; color: var(--ink-2); }
.note { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.soft { color: var(--ink-2); }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.prose { max-width: 680px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.arrow::after { content: " →"; }
.go { display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.go::after { content: " →"; color: var(--red); }
.go:hover { text-decoration: underline; text-decoration-color: var(--red); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 1040px; margin: 0 auto; padding: 0 var(--pad); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: var(--r-sm); font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .12s, color .12s, border-color .12s, box-shadow .12s; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-ink); border-color: var(--red-ink); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--mineral-2); color: var(--ink-3); border-color: var(--mineral-2); cursor: not-allowed; }
@media (max-width: 767px) { .btn { min-height: 52px; } .btn.wide-m { width: 100%; } }
.acts { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
@media (max-width: 480px) { .acts .btn { width: 100%; } }

/* ============================================================================
   Header: white, compact, full-colour logo, quiet navigation, one red action.
   Mobile: logo · estimator · Menu on one row; the menu opens as a panel under the bar.
   ============================================================================ */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.hdr-logo { display: block; flex: none; }
.hdr-logo img { height: 62px; width: auto; }   /* vector lockup, 594x312 */
.nav { display: flex; gap: 26px; align-items: center; font-size: 15.5px; }
.nav-item { position: relative; }
.nav-btn { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 500; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-btn:hover, .nav-item.open > .nav-btn { color: var(--ink); }
.nav-link { text-decoration: none; color: var(--ink-2); font-weight: 500; white-space: nowrap; padding: 8px 0; }
.nav-link:hover { color: var(--ink); }
.nav-link.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); }
.menu { display: none; position: absolute; top: calc(100% + 6px); left: -20px; min-width: 320px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 0; z-index: 60; box-shadow: var(--shadow); }
.nav-item.open > .menu { display: block; }
@media (hover: hover) { .nav-item:hover > .menu, .nav-item:focus-within > .menu { display: block; } }
/* The menu sits a few pixels below its button (18px on the homepage). That gap is empty, so moving the cursor
   down toward the menu used to leave .nav-item, drop the hover and close the menu before it could be reached.
   This invisible strip bridges the gap: it belongs to the menu, so the pointer never leaves the item. */
.nav-item.has-menu > .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
/* The pointer also has to survive a diagonal move to the first entry, so the menu keeps a hover of its own. */
@media (hover: hover) { .nav-item.has-menu > .menu:hover { display: block; } }
.menu a { display: block; padding: 9px 20px; text-decoration: none; color: var(--ink); font-size: 15px; }
.menu a:hover { background: var(--mineral); }
.menu-label { font: 600 11px/1.3 var(--font); text-transform: uppercase; letter-spacing: .10em; color: var(--ink-3); padding: 8px 20px 4px; }
.menu-group + .menu-group { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.hdr-right { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 14px; min-height: 42px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 15px; }
.menu-btn:hover { border-color: var(--ink); }
@media (max-width: 980px) {
  .hdr-in { gap: 16px; min-height: 68px; }
  .hdr-logo img { height: 46px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 18px; max-height: calc(100vh - 68px); overflow: auto; box-shadow: var(--shadow); font-size: 17px; }
  .nav.open .nav-item, .nav.open .nav-link { display: block; border-bottom: 1px solid var(--line); }
  .nav.open .nav-link { padding: 15px 0; color: var(--ink); }
  .nav.open .nav-link:last-child { border-bottom: 0; }
  .nav.open .nav-btn { padding: 16px 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); pointer-events: none; }
  .nav.open .nav-btn::after { display: none; }
  .nav.open .menu::before { content: none; }
  .nav.open .menu { display: block; position: static; border: 0; padding: 0 0 8px; min-width: 0; box-shadow: none; border-radius: 0; }
  .nav.open .menu a { padding: 11px 0 11px 14px; font-size: 17px; }
  .nav.open .menu-label { padding-left: 14px; }
  .nav.open .menu-group + .menu-group { border-top: 0; margin-top: 0; padding-top: 0; }
}
/* Narrow phones: logo · estimator · Menu must fit 320px without the row growing past the viewport.
   Budget at 320px with 16px margins (288px): logo 96 + gap 10 + button ~108 + gap 6 + Menu ~56 = 276. */
@media (max-width: 400px) {
  :root { --pad: 16px; }
  .hdr-in { gap: 10px; min-width: 0; }
  .hdr-logo img { height: 36px; }
  .hdr-right { gap: 6px; min-width: 0; }
  .hdr .btn-sm { padding: 0 10px; font-size: 13.5px; min-height: 38px; }
  .menu-btn { padding: 0 9px; min-height: 38px; font-size: 13.5px; }
}

/* ---- Breadcrumb ---- */
.crumb { font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0 10px; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb span:last-child { color: var(--ink-2); }

/* ============================================================================
   Homepage hero: bright architectural composition. Heading left, texture right, intro + actions below.
   The texture is an abstract oversized panel-joint drawing — material, not project evidence.
   ============================================================================ */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; padding-top: 80px; padding-bottom: 72px; }
.hero .eyebrow { grid-column: 1; }
.hero h1 { grid-column: 1; max-width: 20ch; margin-top: 22px; }
.hero .hero-copy { grid-column: 1; max-width: 60ch; margin-top: 8px; }
.hero .lead { font-size: 18.5px; max-width: 56ch; }
.hero .acts { margin-top: 32px; }
.hero .alt { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.hero .alt a { color: var(--ink); font-weight: 500; }
.hero-texture { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.hero-texture svg { width: 100%; height: 100%; }
@media (max-width: 1279px) { .hero-texture { width: 36%; } }
@media (max-width: 1023px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 56px; gap: 20px; }
  .hero-texture { display: none; }
}
@media (max-width: 767px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 44px; }
  .hero h1 { margin-top: 16px; }
  .hero .lead { font-size: 17px; }
  .hero .acts { margin-top: 24px; }
}

/* Proof figures: a quiet integrated strip, delicate vertical separators */
.figs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figs .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figs .wrap > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.figs .wrap > div:first-child { border-left: 0; padding-left: 0; }
.figs .v { font-size: 38px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.figs .k { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 767px) {
  .figs .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .figs .wrap > div { padding: 20px 16px; min-width: 0; }
  .figs .v { overflow-wrap: anywhere; }
  .figs .wrap > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figs .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figs .v { font-size: 30px; }
}

/* ---- Chapters ---- */
.sec { padding: 96px 0; }
.sec-mineral { background: var(--mineral); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.sec-head .intro { color: var(--ink-2); max-width: 58ch; font-size: 17.5px; }
@media (max-width: 900px) { .sec { padding: 64px 0; } .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; } }

/* ============================================================================
   Products: catalogue tiles. Three complete-room tiles dominate; three component tiles follow; lifecycle band.
   ============================================================================ */
.group-label { font: 600 13px/1.3 var(--font); color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 24px; display: flex; justify-content: space-between; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tiles + .group-label { margin-top: 56px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.tile-art { display: block; background: var(--mineral); border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8%; }
.tile-art svg { width: 100%; height: 100%; }
.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-tag { font: 600 12px/1.3 var(--font); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.tile-life .tile-tag { margin-bottom: 6px; }
.tile-body h3 a { text-decoration: none; }
.tile-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.tile-body p { color: var(--ink-2); font-size: 16px; }
.tile-body .go { margin-top: auto; padding-top: 8px; }
.tiles.lg h3 { font-size: 24px; }
.tiles.sm .tile-art { aspect-ratio: 16 / 7; padding: 5% 18%; }
.tiles.sm h3 { font-size: 20px; }
.tile-life { margin-top: 24px; background: var(--mineral); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; padding: 24px 32px 24px 24px; }
.tile-life .art { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 20px; }
.tile-life h3 { font-size: 20px; }
.tile-life p { color: var(--ink-2); font-size: 16px; margin-top: 6px; max-width: 70ch; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .tile-life { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .tile-life .art { max-width: 200px; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile-art { aspect-ratio: 16 / 9; padding: 6% 16%; }
  .tiles.sm .tile-art { aspect-ratio: 16 / 7; padding: 4% 24%; }
  .tile-body { padding: 18px 20px 22px; }
}

/* Operator differentiators: open three-column band */
.diff { padding: 64px 0; background: var(--mineral); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diff h3 { font-size: 26px; max-width: 18ch; }
.diff .cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px 48px; align-items: start; }
.diff .cols > div h4 { font-size: 18px; margin-bottom: 10px; }
.diff .cols > div p { color: var(--ink-2); font-size: 16px; }
.diff .cols > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 900px) {
  .diff { padding: 48px 0; }
  .diff .cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .diff .cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* Planning: compact four-step sequence */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 32px 32px 8px 0; border-left: 1px solid var(--line); padding-left: 28px; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .no { font: 600 14px/1 var(--font); color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.steps h3 { font-size: 21px; margin-top: 14px; }
.steps p { color: var(--ink-2); font-size: 16px; margin-top: 10px; max-width: 34ch; }
@media (max-width: 1023px) {
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 0; }
  .steps li { border-left: 0; padding: 28px 0 12px; border-top: 1px solid var(--line); padding-right: 32px; }
  .steps li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); padding-right: 0; }
  .steps li:first-child { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li:nth-child(even) { border-left: 0; padding: 24px 0 8px; }
  .steps p { max-width: none; }
}

/* ============================================================================
   Projects + founders: the one deep-charcoal editorial chapter
   ============================================================================ */
.proof { background: var(--charcoal); color: #fff; }
.proof h2, .proof h3 { color: #fff; }
.proof .sec-head .intro { color: var(--on-dark); }
.recs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 64px; border-top: 1px solid var(--on-dark-line); }
.rec { padding: 36px 0 32px; border-bottom: 1px solid var(--on-dark-line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.rec .n { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.rec .n small { font: 500 14px/1 var(--font); color: var(--ice-2); margin-left: 10px; letter-spacing: .02em; }
.rec dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 16px; }
.rec dt { color: rgba(255,255,255,.55); font-size: 14px; padding-top: 2px; }
.rec dd { margin: 0; color: #fff; }
.rec dd:first-of-type { font-weight: 600; font-size: 18px; }
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 80px; margin-top: 72px; align-items: start; }
.story .stmt { font-size: clamp(26px, 1.4vw + 16px, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.story .std { color: var(--ice-2); font-weight: 600; margin-top: 20px; font-size: 16px; }
.story .who .eyebrow { color: var(--ice-2); margin-bottom: 12px; }
.story .who .eyebrow::before { background: var(--ice-2); }
.story .who p { color: var(--on-dark); font-size: 16.5px; }
.story .who p + p { margin-top: 14px; }
.story .who a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.story .who a:hover { text-decoration-color: #fff; }
@media (max-width: 900px) {
  .recs { grid-template-columns: minmax(0, 1fr); }
  .rec .n { font-size: 44px; }
  .story { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
}

/* ============================================================================
   Estimator feature: one large light-grey surface, real preview, one action
   ============================================================================ */
.est { background: var(--mineral); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding: 48px; align-items: center; }
.est .copy h3 { font-size: 30px; }
.est .copy p { color: var(--ink-2); font-size: 17px; margin-top: 14px; max-width: 44ch; }
.est .copy .btn { margin-top: 28px; }
.est .copy .free { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 44ch; }
.preview { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.preview .pl { font: 600 12px/1.3 var(--font); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.preview .pq { font: 600 17px/1.3 var(--font); }
.preview .opt { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; font-weight: 500; }
.preview .opt.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.preview .opt small { grid-column: 1; color: var(--ink-2); font-size: 13.5px; font-weight: 400; }
.preview .opt::after { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; }
.preview .opt.on::after { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px #fff; }
.preview .sheet { background: var(--mineral); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; }
.preview .sheet .t { font: 600 11px/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.preview .sheet .r { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.preview .sheet .r:first-of-type { margin-top: 8px; }
.preview .sheet .r b { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.routes { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; padding: 0 8px; }
.routes .go { font-size: 16px; }
.faq-block { margin-top: 64px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px 64px; align-items: start; }
.faq-block .label { padding-top: 18px; font-size: 14px; }
@media (max-width: 900px) {
  .est { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 28px; }
  .faq-block { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .faq-block .label { padding-top: 0; }
}
@media (max-width: 480px) { .est { padding: 20px; } .preview { padding: 16px; } }

/* ---- Disclosures (FAQ) ---- */
details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 17px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; flex: none; width: 22px; text-align: center; }
details.faq[open] summary::after { content: "−"; }
details.faq summary:hover { color: var(--red-ink); }
details.faq p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; font-size: 16px; }
details.faq p a { color: var(--ink); }

/* ============================================================================
   Contact: pale grey, heading + details left, white form card right
   ============================================================================ */
.contact { background: var(--mineral); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; padding-top: 96px; padding-bottom: 96px; align-items: start; }
.contact .lead { margin-top: 18px; max-width: 50ch; }
.contact .after { margin-top: 20px; color: var(--ink-2); max-width: 48ch; }
.ledger { border-top: 1px solid var(--line-2); margin-top: 32px; max-width: 460px; }
.ledger div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; overflow-wrap: anywhere; }
.ledger .k { color: var(--ink-2); font-size: 14px; padding-top: 2px; }
.ledger a { text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger a:hover { text-decoration: underline; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 26px; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 64px; } }
@media (max-width: 480px) { .form-card { padding: 22px 18px; } }

/* ---- Form controls ---- */
.field { font: 400 16px/1.3 var(--font); min-height: 50px; width: 100%; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--ink); transition: border-color .12s, box-shadow .12s; }
textarea.field { padding: 12px 14px; min-height: 130px; resize: vertical; line-height: 1.5; }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field:hover { border-color: var(--ink-3); }
.field:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(183,53,45,.14); }
.field.big { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.frow { padding: 10px 0; }
.frow:first-child { padding-top: 0; }
.frow label, .frow .flabel { display: block; font: 600 14px/1.3 var(--font); margin-bottom: 8px; }
.frow .optional { font-weight: 400; color: var(--ink-2); }
.frow-2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .frow-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.success { padding: 8px 0; }
.success h3 { font-size: 28px; }

/* ============================================================================
   Footer on charcoal
   ============================================================================ */
.foot { background: var(--charcoal-2); color: var(--on-dark); font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 32px; padding-top: 64px; padding-bottom: 40px; }
.foot .col, .foot .about { min-width: 0; overflow-wrap: anywhere; }
.foot h4 { font: 600 12px/1.3 var(--font); color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot .col a { color: rgba(255,255,255,.88); text-decoration: none; display: block; padding: 5px 0; }
.foot .col a:hover { text-decoration: underline; }
.foot .about img { height: 44px; width: auto; margin-bottom: 16px; }
.foot .about p { max-width: 32ch; }
.foot address { font-style: normal; margin-top: 14px; color: rgba(255,255,255,.88); }
.foot .lines div { padding: 4px 0; }
.foot .lines a { display: inline; padding: 0; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.foot .lines a:hover { text-decoration: underline; }
.foot-bottom { grid-column: 1 / -1; border-top: 1px solid var(--on-dark-line); padding-top: 18px; font-size: 14px; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 48px; } .foot .about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================================
   Inner pages: spacious hero, bounded content column
   ============================================================================ */
.hero-simple { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-simple .wrap { position: relative; padding-top: 44px; padding-bottom: 64px; max-width: var(--max); }
.hero-simple .crumb { margin-bottom: 28px; }
.hero-simple .eyebrow { margin-bottom: 18px; }
.hero-simple h1 { font-size: clamp(38px, 2.4vw + 22px, 60px); max-width: 20ch; }
.hero-simple .lead { margin-top: 22px; max-width: 62ch; }
.hero-simple .acts { margin-top: 30px; }
.hero-simple .acts a:not(.btn) { font-weight: 600; text-decoration: none; }
.hero-simple .acts a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--red); }
.hero-simple .hero-texture { width: 34%; }
@media (max-width: 1023px) { .hero-simple .hero-texture { display: none; } }
@media (max-width: 767px) { .hero-simple .wrap { padding-top: 28px; padding-bottom: 44px; } .hero-simple .crumb { margin-bottom: 20px; } }

/* Spoke sections: number + heading, then tables, editorial blocks, feature cards */
.spoke-body { padding-top: 24px; }
.spoke-body .sec { padding: 56px 0; border-top: 1px solid var(--line); }
.spoke-body .sec:first-child { border-top: 0; padding-top: 48px; }
.spoke-body .sec-head { grid-template-columns: 56px minmax(0, 1fr); gap: 8px 24px; align-items: baseline; margin-bottom: 28px; }
.spoke-body .sec-head .no { font: 600 13px/1.3 var(--font); color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .06em; padding-top: 6px; }
.spoke-body .sec-head h2 { font-size: clamp(28px, 1.2vw + 20px, 36px); }
.spoke-body .sec-head .intro { grid-column: 2; margin-top: 12px; max-width: 66ch; font-size: 17px; }
.spoke-body .sec-head .intro p + p { margin-top: 10px; }
.spoke-body .sec > .index, .spoke-body .sec > .soft, .spoke-body .sec > details, .spoke-body .sec > .tbl-wrap, .spoke-body .sec > .rows, .spoke-body .sec > .note { margin-left: 80px; }
@media (max-width: 767px) {
  .spoke-body .sec { padding: 40px 0; }
  .spoke-body .sec:first-child { padding-top: 32px; }
  .spoke-body .sec-head { grid-template-columns: 1fr; gap: 6px; }
  .spoke-body .sec-head .intro { grid-column: 1; }
  .spoke-body .sec > .index, .spoke-body .sec > .soft, .spoke-body .sec > details, .spoke-body .sec > .tbl-wrap, .spoke-body .sec > .rows, .spoke-body .sec > .note { margin-left: 0; }
}

/* Tables: quiet surfaces for real technical information.
   .tbl-2  = two columns (label · value): always a table, never scrolls, the label column wraps.
   .stack  = three or more columns: a table down to 600px, then each row becomes a labelled stack (every cell carries its
             column heading in data-label) so a phone buyer compares cooler and freezer without hidden columns. */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl-wrap.stack table.tbl { min-width: 520px; }
.tbl th { text-align: left; font: 600 11px/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: 12px 16px; background: var(--mineral); border-bottom: 1px solid var(--line); }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { font-variant-numeric: tabular-nums; }
.tbl td.k { font-weight: 600; white-space: nowrap; }
.tbl tr.total td { border-top: 2px solid var(--line-2); font-weight: 600; }
.tbl-note { margin-top: 14px; max-width: 72ch; }
@media (max-width: 767px) {
  table.tbl { font-size: 14.5px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl td.k { white-space: normal; }
  .tbl-wrap.tbl-2 td.k { width: 34%; }
}
@media (max-width: 600px) {
  .tbl-wrap.stack { overflow: visible; }
  .tbl-wrap.stack table.tbl, .tbl-wrap.stack tbody, .tbl-wrap.stack tr { display: block; min-width: 0; width: 100%; }
  .tbl-wrap.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tbl-wrap.stack tr { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
  .tbl-wrap.stack tr:last-child { border-bottom: 0; }
  .tbl-wrap.stack td { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 5px 0; border: 0; white-space: normal; }
  .tbl-wrap.stack td::before { content: attr(data-label); font: 600 11px/1.5 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
  .tbl-wrap.stack td.k { display: block; font-size: 16px; padding: 0 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .tbl-wrap.stack td.k[data-label]::before { display: block; margin-bottom: 2px; }
  .tbl-wrap.stack td.k:not([data-label])::before { display: none; }
}

/* Editorial sequence: number · title · explanation */
.rows { display: block; }
.row { display: grid; gap: 6px 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.rows > .row:first-child { border-top: 0; padding-top: 0; }
.row .t { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.row .d { color: var(--ink-2); font-size: 16px; }
.row .d a { color: var(--ink); }
.row .go { white-space: nowrap; font-size: 16px; }
.row .no { font: 600 13px/1.3 var(--font); color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.row .d p + p { margin-top: 10px; }
@media (min-width: 768px) {
  .row.seq { grid-template-columns: 56px 240px minmax(0, 1fr); }
  .row.dir { grid-template-columns: 240px minmax(0, 1fr) 160px; }
  .row.dir .go { text-align: right; }
}
.divider { padding: 24px 0 8px; }
.rows > .divider:first-child { padding-top: 0; }
/* Short parallel features → two-column feature cards */
.rows.cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rows.cards .row { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--mineral); }
.rows.cards .row .t { font-size: 17px; }
.rows.cards .row .d { margin-top: 6px; font-size: 15.5px; }
.rows.cards .divider { grid-column: 1 / -1; padding: 8px 0 0; }
@media (max-width: 640px) { .rows.cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* Text index (replaces pills) */
.index { color: var(--ink-2); font-size: 16.5px; max-width: 70ch; }
.index b { color: var(--ink); font-weight: 600; }

/* Close: the page's final action, on a quiet surface */
.close { background: var(--mineral); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 48px; display: grid; gap: 24px 48px; margin-top: 8px; }
.close h2 { font-size: clamp(26px, 1.2vw + 18px, 34px); }
.close .lead { max-width: 52ch; margin-top: 12px; font-size: 17px; }
.close .note { margin-top: 14px; }
.close .note a { font-weight: 600; text-decoration: none; }
.close .note a:hover { text-decoration: underline; }
.close .acts a.text { font-weight: 600; text-decoration: none; }
.close .acts a.text:hover { text-decoration: underline; text-decoration-color: var(--red); }
@media (min-width: 900px) { .close { grid-template-columns: minmax(0, 1fr) max-content; align-items: center; } }
@media (max-width: 767px) { .close { padding: 28px 22px; } .close .acts { flex-direction: column; align-items: stretch; } .close .acts .btn { width: 100%; } }
.spoke-body .sec.last { padding-bottom: 96px; }
@media (max-width: 767px) { .spoke-body .sec.last { padding-bottom: 64px; } }

/* Chapters (about, installation & service): heading left, content right */
.chapters { padding-top: 24px; padding-bottom: 96px; }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 72px; padding: 56px 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 48px; }
.chapter h2 { font-size: clamp(28px, 1.2vw + 20px, 36px); }
.chapter .p { color: var(--ink-2); margin-top: 14px; max-width: 54ch; font-size: 17px; }
.chapter .p.ink { color: var(--ink); font-size: 18px; margin-top: 0; }
.chapter .p.ink + .p.ink { margin-top: 16px; }
.chapter .stmt { font-size: clamp(24px, 1.2vw + 16px, 30px); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.chapter .stmt + .p { margin-top: 18px; }
@media (max-width: 900px) { .chapter { grid-template-columns: minmax(0, 1fr); padding: 40px 0; gap: 16px; } .chapters { padding-bottom: 64px; } }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.feat-grid > div { background: var(--mineral); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.feat-grid .t { display: block; font-weight: 600; font-size: 16.5px; }
.feat-grid .d { display: block; color: var(--ink-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 640px) { .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
.team { border-top: 1px solid var(--line); }
.team > div { display: grid; grid-template-columns: 200px 200px minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.team .n { font-weight: 600; }
.team .r { color: var(--ink-2); font-size: 15px; }
.team .d { color: var(--ink-2); font-size: 16px; }
@media (max-width: 767px) { .team > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.stmt-band { background: var(--charcoal); color: #fff; padding: 72px 0; }
.stmt-band p { font-size: clamp(26px, 1.6vw + 16px, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; }
@media (max-width: 767px) { .stmt-band { padding: 48px 0; } }
.faq-sec { padding-bottom: 96px; }
.faq-sec .faq-block { margin-top: 0; }
@media (max-width: 900px) { .faq-sec { padding-bottom: 64px; } }

/* ============================================================================
   Calculator (assets/calc.js owns the flow; these are the looks)
   ============================================================================ */
.calc-hero .wrap { padding-bottom: 36px; }
.calc-hero h1 { font-size: clamp(34px, 2vw + 20px, 52px); }
.calc-hero .lead { max-width: 60ch; }
.calc-hero .lead-support { margin-top: 10px; max-width: 60ch; font-weight: 600; font-size: 16px; color: var(--ink-2); }
/* Three stages on one line: current = ink + red underline, done = ink, future = soft */
.funnel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-top: 28px; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 16px; counter-reset: stage; }
.funnel li { color: var(--ink-3); counter-increment: stage; }
.funnel .fs-label { display: inline-flex; gap: 10px; align-items: baseline; font-weight: 500; padding-bottom: 4px; }
.funnel .fs-label::before { content: counter(stage, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.funnel .fs-line { display: none; }
.funnel li.is-done { color: var(--ink); }
.funnel li.is-current { color: var(--ink); }
.funnel li.is-current .fs-label { font-weight: 600; box-shadow: inset 0 -2px 0 var(--red); }
@media (max-width: 560px) { .funnel { font-size: 14px; gap: 0 12px; } .funnel .fs-label { gap: 6px; } }
#calc { background: var(--mineral); padding: 40px 0 88px; }
.calc-wrap { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad); }
.progress-line { padding: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.progress-line b { color: var(--ink); font-weight: 600; }
.calc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
#calc-form { padding: 8px 32px 0; }
@media (max-width: 767px) { #calc { padding: 28px 0 64px; } #calc-form { padding: 4px 18px 0; } }

/* Question rows */
.q { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 0; padding: 28px 0; border-top: 1px solid var(--line); }
#calc-form > .q:first-of-type { border-top: 0; }
.q .no { font: 600 14px/1.3 var(--font); font-variant-numeric: tabular-nums; color: var(--red); padding-top: 6px; letter-spacing: .04em; }
.q .q-label { font: 600 20px/1.3 var(--font); letter-spacing: -0.015em; }
.q .q-label .live { color: var(--red); font-variant-numeric: tabular-nums; margin-left: 10px; }
.q .body { grid-column: 2; }
.q .hint { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.q .hint a { color: var(--ink); }
.q .inline { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.q .inline .field { max-width: 240px; }
.q .unit { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.q select.field { max-width: 480px; margin-top: 10px; }
@media (max-width: 767px) { .q { padding: 22px 0; grid-template-columns: 36px minmax(0, 1fr); } .q .q-label { font-size: 18px; } .q .inline .field { max-width: 160px; } }

/* Choice cards: the whole block is the tap target; selected = red border + filled radio */
.seg { display: grid; gap: 10px; margin-top: 14px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 16px; min-height: 58px; padding: 14px 16px; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; background: var(--mineral); border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; transition: border-color .12s, background .12s, box-shadow .12s; }
.seg label > div { grid-column: 1; }
.seg label::after { content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; }
.seg label .t, .seg label .font-semibold { font-weight: 600; }
.seg label:hover { border-color: var(--ink-3); background: var(--white); }
.seg label .secondary { color: var(--ink-2); font-size: 14px; margin-top: 2px; font-weight: 400; }
.seg input:checked + label { border-color: var(--red); background: var(--white); box-shadow: inset 0 0 0 1px var(--red); }
.seg input:checked + label::after { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 4px #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 3px; }
.seg input:disabled + label { color: var(--ink-3); cursor: not-allowed; border-color: var(--line); background: var(--mineral); }
.seg input:disabled + label .secondary { color: var(--ink-3); }
@media (min-width: 768px) {
  .seg.seg-cols-2 { grid-template-columns: 1fr 1fr; }
  .seg.seg-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .seg.seg-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
/* Small toggle (length × width vs total): two text choices on one line */
.mini { display: inline-flex; gap: 4px; margin: 6px 0 4px; background: var(--mineral); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.mini input { position: absolute; opacity: 0; pointer-events: none; }
.mini label { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink-2); user-select: none; }
.mini label:hover { color: var(--ink); }
.mini input:checked + label { color: var(--ink); font-weight: 600; background: var(--white); box-shadow: 0 1px 2px rgba(27,36,40,.08); }
.mini input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
/* Slider */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; max-width: 480px; background: transparent; margin: 12px 0 4px; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--line-2); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 26px; width: 26px; border-radius: 50%; background: var(--red); cursor: pointer; margin-top: -11px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(27,36,40,.15); }
input[type=range]::-moz-range-track { height: 4px; background: var(--line-2); border-radius: 2px; }
input[type=range]::-moz-range-thumb { height: 26px; width: 26px; border-radius: 50%; background: var(--red); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(27,36,40,.15); }
input[type=range]:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.range-marks { display: flex; justify-content: space-between; max-width: 480px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Gate: the card's footer */
.gate { margin-top: 12px; padding: 24px 32px 28px; border-top: 1px solid var(--line); background: var(--mineral); border-radius: 0 0 var(--r-lg) var(--r-lg); display: grid; gap: 14px 24px; }
.gate .sum { color: var(--ink-2); font-size: 16px; }
.gate .sum b { color: var(--ink); font-weight: 600; display: block; margin-top: 4px; }
.gate .support { color: var(--ink-2); font-size: 13.5px; }
.gate .missing { color: var(--red); font-size: 13.5px; font-weight: 600; min-height: 1.4em; }
@media (min-width: 720px) { .gate { grid-template-columns: minmax(0, 1fr) max-content; align-items: center; } .gate .support, .gate .missing { grid-column: 1 / -1; } }
@media (max-width: 767px) { .gate { padding: 20px 18px 22px; } .gate .btn { width: 100%; } }
#build-btn[disabled] { background: var(--white); color: var(--ink-3); border-color: var(--line-2); cursor: not-allowed; }

/* Calculation sequence */
#view-building { max-width: 560px; }
#view-building .label { margin-bottom: 10px; }
#build-steps { counter-reset: step; }
.build-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0; padding: 14px 0 14px 20px; border-top: 1px solid var(--line); color: var(--ink-3); counter-increment: step; }
.build-step:first-child { border-top: 0; }
.build-step::before { content: counter(step, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; padding-top: 3px; letter-spacing: .04em; }
.build-step::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: transparent; }
.build-step.active { color: var(--ink); font-weight: 600; }
.build-step.active::after { background: var(--red); }
.build-step.done { color: var(--ink); }
.build-step .material-symbols-outlined { display: none; }

/* The planning estimate: a document */
#spec { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 36px; max-width: 820px; box-shadow: var(--shadow); }
#spec h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
#spec .sub { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
#spec .meta { border-top: 1px solid var(--line-2); margin-top: 16px; padding-top: 12px; display: grid; gap: 6px; font-size: 14px; }
/* Grid items default to min-width:auto, so a long Project/Reference line refused to shrink and widened the whole
   page on a phone. min-width:0 lets the track shrink; the <wbr> calc.js inserts between fields lets it wrap. */
#spec .meta > div { min-width: 0; overflow-wrap: anywhere; }
#spec .meta .spec-label { margin-right: 8px; }
#spec .meta .whitespace-nowrap { white-space: nowrap; }
#spec .meta .text-ink-soft { color: var(--ink-3); margin: 0 6px; }
.spec-head { display: none; }
.spec-row { display: grid; grid-template-columns: 1fr; gap: 2px 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.spec-row .i { font-size: 14.5px; }
.spec-row .v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15.5px; line-height: 1.25; }
.spec-row .n { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.spec-row.money .v { font-size: 20px; }
.spec-row.money-last { border-bottom: 2px solid var(--line-2); }
.spec-section { display: block; padding: 8px 0; margin-top: 12px; border-top: 2px solid var(--line-2); }
details.spec-more > summary { list-style: none; cursor: pointer; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--red); }
details.spec-more > summary::-webkit-details-marker { display: none; }
details.spec-more > summary::before { content: attr(data-closed); }
details.spec-more[open] > summary::before { content: attr(data-open); }
#spec .limits { border-top: 2px solid var(--line-2); margin-top: 16px; padding-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
#spec .limits p + p { margin-top: 4px; }
/* How to read the sheet — the last thing inside the document, before the separate email invitation. */
#spec .spec-interp { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
#spec .spec-interp h3 { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; }
#spec .spec-interp p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 640px) {
  .spec-row { grid-template-columns: minmax(0, 1.05fr) max-content minmax(0, 1fr); align-items: baseline; }
  .spec-row .v { font-size: 16px; }
  .spec-row.money .v { font-size: 21px; }
  .spec-head { display: grid; grid-template-columns: minmax(0, 1.05fr) max-content minmax(0, 1fr); gap: 0 20px; padding: 8px 0 6px; }
}
@media (max-width: 639px) { #spec { padding: 20px 18px; } }
.reveal { animation: reveal .3s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } html { scroll-behavior: auto; } }

/* Project-pack invitation + form + failure + success.
   The invitation is a tinted band so it reads as a separate offer, not as another row of the estimate. */
#email-action { margin-top: 28px; padding: 26px 28px 24px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--r-lg); background: var(--white); display: grid; gap: 14px; max-width: 820px; box-shadow: var(--shadow); }
#email-action h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
#email-action p { color: var(--ink-2); font-size: 16px; }
#email-action .promise { font-size: 14px; }
#email-action .pack { display: grid; gap: 0; border-top: 1px solid var(--line); }
#email-action .pack li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
#email-action .pack .t { font-weight: 600; font-size: 15.5px; }
#email-action .pack .d { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (min-width: 720px) { #email-action .pack li { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 0 24px; align-items: baseline; } }
@media (max-width: 639px) { #email-action { padding: 20px 18px; } }
#report-section { margin-top: 20px; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow); }
#report-form h3 { font-size: 22px; margin-bottom: 6px; }
#report-form .intro { color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
#report-form .after { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
#report-error { margin-bottom: 20px; padding: 16px 18px; border: 1px solid var(--red); border-radius: var(--r); background: #FCF3F2; }
#report-error h4 { font-size: 17px; line-height: 1.25; color: var(--red); }
#report-error p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
#report-error .btn { margin-top: 4px; }
#report-error:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
#report-form[aria-busy="true"] { opacity: .75; }
#edit-row { margin-top: 24px; font-size: 15px; }
#edit-row a { font-weight: 600; }
/* While a project-pack request is in flight the estimate must not change under it (assets/calc.js → busy). */
#edit-row.is-locked { opacity: .45; pointer-events: none; }
#view-sent { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 36px; max-width: 720px; box-shadow: var(--shadow); }
#view-sent h3 { font-size: 30px; margin-bottom: 8px; }
#view-sent .next { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
#view-sent ol { counter-reset: n; margin-top: 10px; }
#view-sent ol li { counter-increment: n; display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--line); }
#view-sent ol li::before { content: counter(n, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--red); font-size: 13px; font-weight: 600; padding-top: 4px; letter-spacing: .04em; }
#view-sent .call { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
@media (max-width: 639px) { #view-sent, #report-section { padding: 20px 18px; } }

/* ============================================================================
   Intake (project kickoff questionnaire): the shared shell + one working card
   ============================================================================ */
.ik-progress { height: 4px; background: var(--mineral-2); }
.ik-progress > div { height: 100%; background: var(--red); transition: width .3s; }
.ik-main { background: var(--mineral); padding: 48px 0 88px; min-height: 60vh; }
.ik-wrap { max-width: 800px; margin: 0 auto; padding: 0 var(--pad); }
.ik-counter { font: 600 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: .10em; color: var(--ink-3); text-align: right; margin-bottom: 14px; min-height: 16px; }
.ik-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.ik-pill { display: inline-flex; align-items: center; font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .10em; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 7px 12px; margin-bottom: 22px; }
.ik-h1 { font-size: clamp(30px, 2vw + 16px, 44px); margin-bottom: 18px; }
.ik-h2 { font-size: clamp(24px, 1.2vw + 14px, 30px); margin-bottom: 8px; }
.ik-section { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 600 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: .10em; color: var(--ice-ink); }
.ik-section .opt-flag { color: var(--ink-3); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 13px; }
.ik-section .req-flag { color: var(--red); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 13px; }
.ik-lead { color: var(--ink-2); font-size: 18px; margin-bottom: 12px; }
.ik-help { color: var(--ink-2); font-size: 16px; margin-bottom: 24px; }
.ik-space { height: 20px; }
.ik-input { display: block; width: 100%; font: 400 18px/1.4 var(--font); padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.ik-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(183,53,45,.14); }
textarea.ik-input { resize: vertical; min-height: 110px; line-height: 1.5; }
.ik-kbd { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.ik-kbd strong { color: var(--ink-2); font-weight: 600; }
.ik-opts { display: grid; gap: 10px; }
.ik-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; background: var(--mineral); font-size: 16px; line-height: 1.35; color: var(--ink); transition: border-color .12s, background .12s, box-shadow .12s; }
.ik-opt:hover { border-color: var(--ink-3); background: var(--white); }
.ik-opt.sel { border-color: var(--red); background: var(--white); box-shadow: inset 0 0 0 1px var(--red); }
.ik-opt .tick { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; background: #fff; color: #fff; }
.ik-opt .tick.round { border-radius: 50%; }
.ik-opt.sel .tick { background: var(--red); border-color: var(--red); }
.ik-opt .tick svg { width: 13px; height: 13px; opacity: 0; }
.ik-opt.sel .tick svg { opacity: 1; }
.ik-opt .txt { flex: 1; }
.ik-opt .key { flex: none; font: 700 11px/1 var(--font); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 6px; margin-left: auto; }
.ik-acts { display: flex; align-items: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.ik-acts .back { margin-left: auto; }
.ik-ghost { background: none; border: 1px solid transparent; color: var(--ink-2); padding: 0 16px; min-height: 50px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ik-ghost:hover { color: var(--red); background: var(--mineral); }
.ik-err { font-size: 14px; color: var(--red); margin-top: 12px; font-weight: 500; }
.ik-review { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 28px; }
.ik-row { display: flex; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; background: var(--white); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; align-items: flex-start; font: inherit; }
.ik-row:last-child { border-bottom: 0; }
.ik-row:hover { background: var(--mineral); }
.ik-row .st { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.ik-row .st.ok { color: #2E7D52; }
.ik-row .st.no { color: var(--line-2); }
.ik-row .body { flex: 1; min-width: 0; }
.ik-row .f { display: block; font: 600 12px/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.ik-row .a { display: block; font-size: 14.5px; margin-top: 3px; overflow-wrap: anywhere; }
.ik-row .a.skip { color: var(--ink-3); font-style: italic; }
.ik-row .edit { flex: none; color: var(--ink-3); width: 16px; height: 16px; margin-top: 4px; }
.ik-done { text-align: center; padding: 24px 0; }
.ik-done .ok { width: 56px; height: 56px; color: #2E7D52; margin: 0 auto 18px; }
.ik-done h2 { font-size: clamp(28px, 1.6vw + 16px, 36px); margin-bottom: 14px; }
.ik-done p { color: var(--ink-2); font-size: 18px; max-width: 44ch; margin: 0 auto 18px; }
.ik-done p.small { font-size: 14px; margin-bottom: 0; }
.ik-done a, .ik-err a { color: var(--red); font-weight: 600; }
.fade { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } }
@media (max-width: 640px) { .ik-card { padding: 24px 18px; } .ik-main { padding: 28px 0 64px; } .ik-acts .back { margin-left: 0; } }

/* ---- Print: the estimate remains a document ---- */
@media print {
  body { background: #fff; }
  .hdr, .foot, #view-questions, #email-action, #report-section, #edit-row, .funnel, .hero-full, .hero-texture, .calc-hero, .progress-line, .close, .no-print, .crumb, .acts { display: none !important; }
  #calc { background: #fff; padding: 0; }
  .calc-wrap { max-width: none; padding: 0; }
  #spec { border: 1px solid #000; box-shadow: none; max-width: none; }
}

/* Parametric drawing inside the planning estimate (assets/draw.js) */
.spec-draw { padding: 6px 0 14px; overflow-x: auto; overscroll-behavior-x: contain; }
.spec-draw svg { width: 100%; height: auto; display: block; font-family: inherit; }
@media print { .spec-draw svg { break-inside: avoid; } }
