/* ==========================================================
   GT3D — product page stylesheet.

   THEME: GT Studios house tokens, run monochrome. Warm cream
   ground, warm near-black ink, Inter throughout, and NO colour
   accent — emphasis is carried by weight, fill and contrast
   instead. --accent is kept as a token, pointing at the ink, so
   a hue can be reintroduced in one line without hunting rules.

   LAYOUT: a full-bleed hero whose media is the live configurator,
   a planner-type card grid, a contact-form-versus-planner comparison,
   and a four-step flow.
   ========================================================== */
:root {
  /* ---- GT Studios house tokens ---- */
  --bg: #f4f3f1;
  --panel: #ffffff;
  --ink: #141312;
  --ink-2: #44423e;
  --muted: #6c6b66;
  --faint: #93918b;
  --line: rgba(0, 0, 0, 0.12);
  --line-2: rgba(0, 0, 0, 0.07);
  --dark: #0e0d0c;
  --accent: #141312;        /* monochrome: the accent IS the ink */
  /* Diagram-only semantics, same values the homepage mockups use.
     These are not a brand accent: green = you supply it, red = you
     don't, blue = a measurement or a lit screen. Nothing in the page
     chrome may use them. */
  --ok: #18a558;
  --no: #c73830;
  --info: #1f6fd0;
  --accent-deep: #000000;
  --tint: #efedea;
  --sand: #f0eae0;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* The homepage runs its sections full-width on a generous gutter rather
     than inside a narrow centred column, capping only at 1840 — the house
     ceiling named in the design hub. Same here, so the page reads as one
     piece with index.html on a wide screen. */
  --wrap: 1840px;
  --pad: clamp(1.3rem, 3.4vw, 3.4rem);
  /* blocks that must stay readable rather than stretch to the ceiling */
  --col: 1340px;
  --radius: 16px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { min-height: 100%; max-width: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
/* Author display rules outrank the UA sheet[hidden] rule, so anything
   toggled with .hidden needs this or it never actually hides. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
section { padding: clamp(2.8rem, 7vh, 5.2rem) 0; }

.mono {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border-radius: var(--pill); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--ink); color: #fff; }
.btn--accent:hover { background: #000; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { border-color: rgba(0, 0, 0, 0.22); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(0, 0, 0, 0.03); }
.btn--on-dark { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn--on-dark:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.06); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn svg, .btn:hover svg { transition: none; transform: none; } }

/* ==========================================================
   HERO — the homepage's own hero, with the configurator as the
   media. Same grid, same proportions, same trick: there is NO
   right padding on the section and the media is rounded on its
   left side only, so it runs off the edge of the screen. That
   edge-bleed is what makes the homepage hero feel ultra-wide,
   and it is the whole reason this is not just a big box.

   The thing you drag therefore sits exactly where the homepage
   photograph sits.
   ========================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4.4rem);
  min-height: min(calc(100vh - 72px), 820px);
  min-height: min(calc(100svh - 72px), 820px);   /* svh: Android hides its address bar mid-scroll and dvh judders */
  padding: clamp(1rem, 2.4vh, 2rem) 0 clamp(1.2rem, 2.6vh, 2.2rem) clamp(1.3rem, 3.4vw, 3.4rem);
}
.hero__copy { max-width: 56rem; min-width: 0; container-type: inline-size; }
/* The fallback for browsers with no container queries; the @supports block
   near the end of the file is what actually sizes this. Scaled up with the
   column, which now takes 51% of the hero grid rather than 45%. */
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.95rem, 3.75vw, 4.15rem);
  line-height: 1.04; letter-spacing: -0.037em;
}
/* Each half of the headline is its own line, and neither is allowed to wrap.
   The size steps down on narrow screens so the longer line still fits rather
   than overflowing. */
.hero__title .hl { display: block; white-space: nowrap; }
/* ---- GT3D, extruded ----
   The word is literally dialled in 3D: the face sits in dark grey and a stack
   of 1px shadows walks down and darkens to build the side of each letter,
   then two soft shadows sit it on the page. A hairline white highlight on the
   top edge is what sells it as a solid object catching the light.

   No background-clip here on purpose. The fill has to stay opaque for
   text-shadow to read as an extrusion; the previous clipped-gradient version
   needed transparent text, which is also what let it flicker out mid-sweep. */
.shine {
  display: inline-block;
  color: #4a4844;
  /* em, not px. The depth was tuned when the title capped at 56px; in px it
     stays 7px tall while the letters grow, so at 66px the stack thins out
     and the word reads as a grey smudge with a shadow rather than a solid.
     In em the extrusion grows with the type, and the step is small enough
     (0.0125em = under 1px even at the largest size) that the side stays
     solid instead of banding. */
  text-shadow:
    0 -0.018em 0 rgba(255, 255, 255, 0.5),
    0 0.0125em 0 #423f3b,
    0 0.025em  0 #3e3b37,
    0 0.0375em 0 #3a3734,
    0 0.05em   0 #363330,
    0 0.0625em 0 #32302d,
    0 0.075em  0 #2e2c29,
    0 0.0875em 0 #2a2826,
    0 0.1em    0 #262422,
    0 0.1125em 0 #22211f,
    0 0.125em  0 #1e1d1b,
    0 0.134em 0.018em rgba(20, 19, 18, 0.2),
    0 0.143em 0.107em rgba(20, 19, 18, 0.18),
    0 0.179em 0.25em  rgba(20, 19, 18, 0.12);
}

.hero__sub {
  margin-top: clamp(1.1rem, 2.2vw, 1.7rem); max-width: 58ch;
  color: var(--muted); font-size: clamp(1.06rem, 1.32vw, 1.28rem); line-height: 1.55;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: clamp(1.3rem, 2.4vw, 1.9rem); }

/* ---- "Try the Planner" menu ----
   The hero can only show one planner at a time, and the grid that holds
   the other three is a screen and a half down the page, so the button
   that used to jump to the pane now offers the four demos instead.

   The menu has to out-paint the section below the hero, and .hero__copy
   is a container query root (contain: layout => a stacking context), so
   nothing inside it can rise above a later sibling on its own. The hero
   itself is lifted instead: z-index 2, far below the navbar's 200. */
.hero { z-index: 2; }
/* and the copy column above the pane beside it: on a stacked layout the
   menu drops over the top of the planner, and .hero__copy is a stacking
   context of its own, so the menu cannot climb out of it by itself.

   .cfg__view is positioned but has no z-index of its own, so the toolbar,
   the loader and the failure panel (z-index 4, 5 and 6) were being stacked
   against the HERO, not against the pane - which is how a camera button
   ended up painted over the open menu. isolation keeps those three inside
   the pane where they belong, and the copy column clears them anyway. */
.hero__media { isolation: isolate; }
.hero__copy { position: relative; z-index: 10; }
.pick { position: relative; display: inline-flex; }
.pick__btn { font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; touch-action: manipulation; }
/* .btn slides its arrow right on hover; this one turns over when open */
.pick__btn:hover .pick__chev { transform: none; }
.pick__btn[aria-expanded="true"] { border-color: var(--ink); background: rgba(0, 0, 0, 0.03); transform: none; }
.pick__btn[aria-expanded="true"] .pick__chev { transform: rotate(180deg); }
.pick__menu {
  position: absolute; z-index: 3; top: calc(100% + 0.55rem); left: 0;
  min-width: max(100%, 15.5rem);
  display: flex; flex-direction: column; gap: 2px;
  padding: 0.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 26px 60px -34px rgba(20, 19, 18, 0.6), 0 2px 10px -6px rgba(20, 19, 18, 0.25);
  animation: pickIn 0.17s var(--ease) both;
}
.pick__menu[hidden] { display: none; }
.pick__i {
  display: flex; align-items: center; gap: 0.6rem; width: 100%;
  padding: 0.56rem 0.7rem; border: 0; border-radius: 0.7rem;
  font-family: inherit; font-size: 0.92rem; line-height: 1.2; text-align: left;
  color: var(--ink-2); background: transparent; cursor: pointer; touch-action: manipulation;
  transition: color 0.15s ease, background 0.15s ease;
}
.pick__i svg { width: 17px; height: 17px; flex: 0 0 auto; opacity: 0.85; }
.pick__i span { flex: 1 1 auto; }
.pick__i:hover, .pick__i:focus-visible { color: var(--ink); background: rgba(0, 0, 0, 0.05); outline: none; }
.pick__i:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
/* the one on screen right now */
.pick__i[aria-current="true"] { color: var(--ink); font-weight: 600; }
.pick__dot {
  width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto;
  background: var(--ink); opacity: 0;
}
.pick__i[aria-current="true"] .pick__dot { opacity: 1; }
@keyframes pickIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pick__menu { animation: none; }
  .pick__i { transition: none; }
}

/* ---- Google rating + socials ----
   The same row index.html carries under its hero form. Copied rather than
   reinvented so the two heroes agree: same star colour, same mark size,
   same hairline separator, same circular icon buttons. */
.rating {
  display: inline-flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
  margin-top: clamp(1.1rem, 2vw, 1.5rem); font-size: 0.95rem; color: var(--muted);
}
.rating__stars { color: #f2ab08; letter-spacing: 0.08em; font-size: 1.16rem; line-height: 1; }
.rating__g { width: 23px; height: 23px; }
.rating__sep { width: 1px; height: 18px; margin: 0 0.3rem; background: var(--line); }
.rating__social { display: inline-flex; align-items: center; gap: 0.25rem; }
.rating__ic {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: var(--muted); touch-action: manipulation;
  transition: color 0.2s ease, background 0.2s ease;
}
.rating__ic svg { width: 18px; height: 18px; }
.rating__ic:hover { color: var(--ink); background: rgba(0, 0, 0, 0.055); }
@media (prefers-reduced-motion: reduce) { .rating__ic { transition: none; } }

/* the right-hand cell: holds the canvas box and the control panel */
.hero__media { position: relative; align-self: stretch; height: 100%; min-height: clamp(380px, 56vh, 820px); }

/* the canvas box itself — rounded left, square right, clipped */
.cfg__view {
  position: absolute; inset: 0;
  border-radius: 22px 0 0 22px; overflow: hidden; background: #eceae7;
}
/* grab/grabbing is the cheapest signal there is that a thing moves, and
   it was not here at all. */
.cfg__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.cfg__canvas.is-dragging { cursor: grabbing; }
.cfg__canvas:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }

.cfg__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.8rem; background: #eceae7; z-index: 5; }
.cfg__load p { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; }
.spin { width: 24px; height: 24px; border: 1.5px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }

.cfg__fail { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 0.6rem; padding: 1.6rem; text-align: center; background: #eceae7; z-index: 6; }
.cfg__fail.is-on { display: grid; }
.cfg__fail h3 { font-size: 1rem; }
.cfg__fail p { font-size: 0.82rem; color: var(--muted); max-width: 40ch; line-height: 1.55; }

.cfg__note {
  /* stacks under the drag hint, which shares this corner until it retires */
  position: absolute; left: clamp(12px, 1.6vw, 20px); top: calc(clamp(12px, 1.6vw, 20px) + 34px); z-index: 4; display: none;
  max-width: 30ch; font-size: 0.7rem; line-height: 1.4; color: var(--ink);
  background: rgba(255, 255, 255, 0.93); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.5rem 0.65rem;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cfg__note.is-on { display: block; }

.cfg__tags {
  position: absolute; left: clamp(12px, 1.6vw, 20px); top: clamp(12px, 1.6vw, 20px); z-index: 4;
  display: flex; align-items: center; gap: 6px;
}
/* Says what this is before anybody wonders: a working demo, not a client's
   finished planner. */
.cfg__demo {
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--pill); padding: 0.33rem 0.62rem;
}
/* ---- "drag to turn" ----
   It used to be an 8.8px label in the top-left corner, beside the DEMO tag
   and diagonally opposite the thing it was talking about, and it was
   display:none below 560px - gone from the device where a drag gesture is
   least obvious. It now sits centred under the model, big enough to read,
   on every screen.

   The floor it has to clear: above 1040px the control rail overlays the
   bottom of the canvas and reaches at most 202px up from its own bottom
   (measured across all four planners, every step, 1280-1920), so 13.5rem
   leaves 14px of air. At 1040px and below the rail drops out of the frame
   and sits under the canvas, so the whole canvas floor is free. */
.cfg__drag {
  position: absolute; z-index: 4;
  left: 50%; transform: translateX(-50%);
  bottom: 13.5rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line); border-radius: var(--pill); padding: 0.4rem 0.78rem;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px -20px rgba(20, 19, 18, 0.55);
  pointer-events: none; white-space: nowrap; transition: opacity 0.4s ease;
}
/* the arrow drifts the way your hand would. A static arrow is a picture of
   a gesture; a moving one is the gesture. */
.cfg__drag svg { width: 14px; height: 14px; opacity: 0.75; animation: dragNudge 1.9s ease-in-out infinite; }
.cfg__drag.is-gone { opacity: 0; }
.cfg__drag-t { display: none; }
/* a coarse pointer swipes; it does not drag */
@media (hover: none) and (pointer: coarse) {
  .cfg__drag-m { display: none; }
  .cfg__drag-t { display: inline; }
}
@keyframes dragNudge {
  0%, 100% { transform: translateX(-2.5px); }
  50%      { transform: translateX(2.5px); }
}
@media (prefers-reduced-motion: reduce) { .cfg__drag svg { animation: none; } }
@media (max-width: 1040px) { .cfg__drag { bottom: clamp(12px, 2vw, 18px); } }

/* camera chrome, top-right of the canvas box. Room light sits here too:
   it changes how the wall is lit for viewing, not what gets built. */
.cfg__tools {
  position: absolute; right: clamp(12px, 1.6vw, 20px); top: clamp(12px, 1.6vw, 20px); z-index: 4;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: calc(100% - 2 * clamp(12px, 1.6vw, 20px));
}
.cfg__grp {
  display: flex; gap: 1px; padding: 3px; background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line); border-radius: 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(20, 19, 18, 0.06);
}
.cfg__grp button {
  min-width: 28px; height: 28px; padding: 0 0.5rem; border-radius: 7px;
  font-size: 0.7rem; font-weight: 500; line-height: 1; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.cfg__grp button:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.cfg__grp button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { .cfg__grp button, .cfg__drag { transition: none; } }

/* ---- the walk ----
   A bar across the bottom CENTRE of the canvas holding one question at a
   time. Narrower and taller-per-option than the old dashboard: the options
   can be big because only one set is ever on screen, which is the whole
   reason for stepping it.

   touch-action: manipulation on EVERY control. Without it a mobile browser
   waits ~300ms after a tap to see whether a second is coming, and reads any
   quick pair as double-tap-to-zoom. Two fast taps on anything does it. */
.cfg__rail {
  position: absolute; z-index: 4;
  left: 50%; transform: translateX(-50%);
  bottom: clamp(10px, 1.4vw, 18px);
  width: min(41rem, calc(100% - 2 * clamp(10px, 1.4vw, 18px)));
  padding: 0.72rem 0.85rem 0.78rem;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 19, 18, 0.06), 0 20px 44px -24px rgba(20, 19, 18, 0.45);
}

.step { display: grid; gap: 0.42rem; }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.step__dots { display: flex; gap: 4px; }
.step__dot {
  width: 20px; height: 4px; border-radius: 999px; padding: 0;
  background: var(--line); transition: background 0.2s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.step__dot.is-done { background: rgba(20, 19, 18, 0.35); }
.step__dot.is-on { background: var(--ink); }
.step__dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.step__count { font-size: 0.64rem; font-weight: 600; color: var(--faint); white-space: nowrap; }

.step__name { font-size: 0.88rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }

/* content on the left, the two buttons in a column on the right */
.step__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; }
.step__col { min-width: 0; display: grid; gap: 0.38rem; }

/* only where a row would otherwise be ambiguous - the measurements */
.step__grp { display: grid; gap: 0.2rem; align-content: start; min-width: 0; }
/* side by side, each a small block of its own, so three measurements cost
   one row of buttons instead of three */
.step__opts--side { grid-template-columns: repeat(var(--gcols, 3), minmax(0, 1fr)); gap: 0.45rem 0.6rem; }
.step__opts--side .step__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* the stepper: minus, value, plus, as one control */
.num {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center;
  height: 36px; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(255, 255, 255, 0.72); overflow: hidden;
}
.num__btn {
  height: 100%; font-size: 0.95rem; font-weight: 500; line-height: 1; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.16s ease, color 0.16s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.num__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.num__btn:disabled { color: var(--line); cursor: default; }
.num__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.num__v {
  text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden;
}
@media (prefers-reduced-motion: reduce) { .num__btn { transition: none; } }
.step__glbl { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }

.step__body { min-height: 4.85rem; display: grid; align-content: center; gap: 0.4rem; }
.step__opts { display: grid; gap: 0.4rem; }
.step__row { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 5px; }
.step__row--sw { display: flex; flex-wrap: wrap; gap: 6px; }

.ch {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 36px; padding: 0.4rem 0.5rem;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); color: var(--ink-2);
  border-radius: 9px;
  font-size: 0.76rem; font-weight: 500; line-height: 1.2;
  min-width: 0; white-space: nowrap; overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.ch:hover { border-color: rgba(0, 0, 0, 0.3); color: var(--ink); background: #fff; }
.ch[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ch__sw { width: 12px; height: 12px; border-radius: 3px; flex: 0 0 auto; border: 1px solid rgba(0, 0, 0, 0.2); }
.ch[aria-pressed="true"] .ch__sw { border-color: rgba(255, 255, 255, 0.5); }

.sw {
  width: 30px; height: 30px; padding: 0; border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.16); position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.sw:hover { transform: scale(1.08); }
.sw:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 3.5px var(--ink); }
.sw--off { background: #fff; display: grid; place-items: center; }
.sw--off::after { content: ""; width: 15px; height: 1.5px; background: var(--faint); transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .ch, .sw, .sw:hover, .step__dot { transition: none; transform: none; } }

/* the details step reuses the body, so it is sized like a row of options */
.cfg__lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 5px; min-width: 0; }
.cfg__lead input {
  min-width: 0; height: 38px; padding: 0 0.6rem;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  font: inherit; font-size: 0.8rem; color: var(--ink);
}
.cfg__lead input::placeholder { color: var(--faint); }
.cfg__lead input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.cfg__leadmsg { font-size: 0.68rem; color: var(--no); }

/* ---- the nav row, with the running spec between the two buttons ---- */
.step__nav {
  display: flex; align-items: center; gap: 5px;
  border-left: 1px solid var(--line); padding-left: 0.75rem;
}
.step__back, .step__next {
  display: inline-flex; align-items: center; gap: 0.35rem; flex: none;
  height: 36px; border-radius: 999px; font-size: 0.76rem; font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.step__back { padding: 0 0.7rem; border: 1px solid var(--line); color: var(--ink-2); }
.step__back:hover { border-color: rgba(0, 0, 0, 0.3); color: var(--ink); background: #fff; }
.step__back svg { width: 13px; height: 13px; }
.step__next { padding: 0 0.95rem; background: var(--ink); color: #fff; }
.step__next:hover { background: #000; }
.step__next.is-send { padding: 0 1.1rem; }
.step__next svg { width: 13px; height: 13px; transition: transform 0.18s ease; }
.step__next:hover svg { transform: translateX(2px); }
.step__back:focus-visible, .step__next:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .step__next:hover svg { transform: none; } }

/* The design, held back until the step where it is the point: this is what
   the business receives, shown next to the fields that address it. */
.cfg__spec {
  grid-column: 1 / -1; min-width: 0;
  font-size: 0.64rem; line-height: 1.5; color: var(--muted);
}
.cfg__spec b { color: var(--ink-2); font-weight: 600; }

/* ---- the worked example ---- */
.cfg__sent { display: grid; gap: 0.25rem; }
.cfg__sent-hd { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.cfg__sent-hd svg { width: 12px; height: 12px; color: #12874c; flex: none; }
.cfg__sent-who { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.cfg__sent-spec { font-size: 0.7rem; line-height: 1.5; color: var(--ink-2); }
.cfg__sent-note { margin-top: 0.15rem; font-size: 0.66rem; line-height: 1.55; color: var(--muted); }
.cfg__sent-note button {
  font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 0.16em; touch-action: manipulation;
}
.cfg__sent-note button:hover { color: #000; }

/* the demo's one real exit: everything above it is a picture of the
   CONTRACTOR'S inbox, this is the way to ours, and it carries the design */
.cfg__sent-go {
  justify-self: start; margin-top: 0.55rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.54rem 0.95rem; border-radius: var(--pill);
  background: var(--ink); color: #fff;
  font-size: 0.76rem; font-weight: 600; white-space: nowrap;
  touch-action: manipulation;
  transition: transform 0.18s var(--ease), background 0.2s ease;
}
.cfg__sent-go svg { width: 14px; height: 14px; flex: none; transition: transform 0.2s var(--ease); }
.cfg__sent-go:hover { background: #000; transform: translateY(-1px); }
.cfg__sent-go:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .cfg__sent-go, .cfg__sent-go svg { transition: none; }
  .cfg__sent-go:hover { transform: none; }
}

/* ---- stacked layout ----
   Below this the two columns become one, the media stops bleeding off the
   edge and gets corners on all four sides, and the control panel drops out
   of the frame to sit under the canvas as an ordinary block. */
@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr); min-height: 0;
    padding: clamp(1rem, 3vh, 2rem) clamp(1.3rem, 3.4vw, 3.4rem) clamp(2rem, 5vh, 3rem);
    gap: clamp(1.6rem, 4vw, 2.4rem);
  }
  .hero__copy { max-width: none; }
  .hero__title { font-size: clamp(1.9rem, 6vw, 2.7rem); }
  .hero__media { position: static; min-height: 0; display: flex; flex-direction: column; gap: 0.8rem; }
  .cfg__view { position: relative; inset: auto; height: clamp(300px, 44svh, 460px); border-radius: 16px; }
  .cfg__rail {
    position: static; transform: none; width: auto;
    background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none;
    border-color: var(--line); box-shadow: none;
  }
  .ch { background: var(--panel); }
}

@media (max-width: 560px) {
  /* 6.25vw keeps the longer nowrap line inside the padding down to ~320px. */
  .hero__title { font-size: clamp(1rem, 6.25vw, 2.55rem); }
  /* The box is wider than it was, so three columns still fit at 360px -
     and three keeps every step short enough to share one height. */
  .step__row { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .step__main { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  /* the phone floor is the tallest step here, same idea as the desktop one:
     Back and Next in one place beats a few pixels saved on the short steps */
  .step__body { min-height: 7rem; }
  /* no width for three columns; stacked, but each row runs four across so
     the step stays short on a phone too */
  /* two measurement groups to a line: three steppers do not fit across a
     phone, three stacked rows make this the tallest step by far */
  .step__opts--side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem 0.5rem; }
  .step__nav { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 0.5rem; }
  .step__next { margin-left: auto; }
  .cfg__view { height: clamp(250px, 36svh, 340px); }
  .sw { width: 27px; height: 27px; }
  /* Three groups side by side fill a phone-width canvas and run over the
     DEMO tag, so they stack down the right edge instead. */
  .cfg__tools { flex-direction: column; align-items: flex-end; gap: 4px; }
  .cfg__grp button { min-width: 24px; height: 26px; padding: 0 0.38rem; font-size: 0.66rem; }
}

/* ==========================================================
   SECTION HEADS
   ========================================================== */
.sec__h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.038em; }
/* The homepage only centres a band when its CONTENT is centred too (.man,
   .why). A left-aligned heading over a centred card reads as two unrelated
   things on a wide screen, so the closing bands centre as a whole. */
.sec--center { text-align: center; }
.sec--center .sec__p { margin-inline: auto; }
.sec--center .faq { text-align: left; }
.sec__p { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.14rem); margin-top: 0.95rem; max-width: 58ch; line-height: 1.6; }
.tint { background: var(--tint); }
.dark { background: var(--dark); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .sec__p { color: rgba(255, 255, 255, 0.64); }

/* ---- the journey ----
   Four cards, one per customer-side step. Each diagram is drawn in
   currentColor at varying opacity so it inherits whatever ground the card
   sits on rather than needing its own palette. */
.jny {
  list-style: none; padding: 0; max-width: var(--col);
  /* The lane label used to supply this gap; when it was removed the cards
     ended up flush against the subhead. */
  margin: clamp(2.2rem, 4.2vw, 3.4rem) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 1.6vw, 1.3rem);
}
.jcard {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 19, 18, 0.04);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease, border-color 0.28s ease;
}
.jcard:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -30px rgba(20, 19, 18, 0.5); border-color: rgba(0, 0, 0, 0.18); }
.jcard__art {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  /* white, not tint: on a tinted band a grey panel made the card read as a
     hole rather than a card. The dot grid is the homepage mock's, which
     gives the diagram a surface to sit on without greying it out. */
  background-color: var(--panel);
  background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 13px 13px;
  border-bottom: 1px dashed var(--line);
}
.jcard__art svg { width: 100%; height: 100%; display: block; transition: transform 0.4s var(--ease); }
.jcard:hover .jcard__art svg { transform: scale(1.045); }
.jcard__n {
  position: absolute; left: 10px; top: 9px; z-index: 2;
  padding: 0.2rem 0.45rem; border-radius: 7px;
  background: #f1efeb; border: 1px solid var(--line);
  font-size: 0.64rem; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.jcard__body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.85rem 1rem 1.05rem; }
.jcard__body b { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.02em; }
.jcard__body p { margin: 0; font-size: 0.86rem; color: var(--ink-2); line-height: 1.5; }

/* Centred variant: the card bodies are flex columns, so they need their
   items centring as well as their text. */
.sec--center .jcard__body { align-items: center; }
.sec--center .jcard__body p { max-width: 34ch; }

@media (prefers-reduced-motion: reduce) {
  .jcard, .jcard:hover, .jcard__art svg, .jcard:hover .jcard__art svg { transition: none; transform: none; }
}
@media (max-width: 1100px) { .jny { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .jny { grid-template-columns: 1fr; } }
/* ==========================================================
   HOW IT WORKS
   Four cards, left aligned, each a step with a miniature of the
   interface it describes. The accent is ink, not a colour: what
   colour there is comes from the planner captures and the finish
   swatches, where it carries a fact rather than decorating one.

   The frames are a fixed height so the titles, the pictures and
   the sentences line up across all four cards. Inside them the
   images cover rather than letterbox, so a frame can hold three
   stacked layouts or one tall elevation and still measure the
   same as its neighbours.
   ========================================================== */
#how { background: var(--tint); }
.hiw__h2 {
  max-width: var(--col); margin-inline: auto;
  font-size: clamp(2.4rem, 4.6vw, 4.3rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.04;
}
.hiw__sub {
  max-width: var(--col); margin: clamp(0.6rem, 1.2vw, 1rem) auto 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; color: var(--muted);
}

.hiw {
  list-style: none; padding: 0;
  max-width: var(--col); margin: clamp(1.8rem, 3.2vw, 2.6rem) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.4rem);
}
.hiw__card {
  display: flex; flex-direction: column; text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.1rem, 1.5vw, 1.4rem);
  box-shadow: 0 1px 2px rgba(20, 19, 18, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hiw__card:hover {
  transform: translateY(-3px); border-color: rgba(0, 0, 0, 0.17);
  box-shadow: 0 26px 48px -34px rgba(20, 22, 60, 0.32);
}
.hiw__step {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
}
.hiw__t {
  margin-top: 0.4rem; font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  font-weight: 600; letter-spacing: -0.028em; line-height: 1.2;
}

/* ---- the miniature interface ---- */
.hiw__ui {
  display: block; margin-top: clamp(0.9rem, 1.3vw, 1.1rem);
  border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; background: #fff;
}
.hiw__bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.5rem; background: #f6f5f3; border-bottom: 1px solid var(--line-2);
}
.hiw__dots { flex: none; width: 22px; height: 5px; border-radius: 999px;
  background: radial-gradient(circle 2.5px at 2.5px 50%, var(--line) 99%, transparent),
              radial-gradient(circle 2.5px at 11px 50%, var(--line) 99%, transparent),
              radial-gradient(circle 2.5px at 19.5px 50%, var(--line) 99%, transparent); }
.hiw__tab {
  flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 0.14rem 0.5rem; font-size: 0.6rem; color: var(--faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hiw__in {
  display: flex; flex-direction: column; gap: 0.4rem;
  height: 232px; padding: 0.45rem;
}
.hiw__in picture { display: block; width: 100%; height: 100%; }
.hiw__in img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* step 01 - three layouts, the middle one taken */
.hiw__opts { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; min-height: 0; }
.hiw__opt {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 7px;
}
.hiw__opt.is-on { border: 2px solid var(--ink); box-shadow: 0 0 0 2px rgba(20, 19, 18, 0.08); }
.hiw__check {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center;
}
.hiw__check svg { width: 9px; height: 9px; }

/* steps 02-04 - one elevation, then the controls under it */
.hiw__shot { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 7px; border: 1px solid var(--line-2); }
.hiw__shot--sm { flex: 1 1 auto; min-height: 62px; }

.hiw__sws { display: flex; gap: 0.3rem; flex: none; }
.hiw__sw {
  flex: 1; height: 26px; border-radius: 6px; background: var(--c);
  border: 1px solid rgba(0, 0, 0, 0.14);
}
.hiw__sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.hiw__sws--sm .hiw__sw { height: 17px; }
.hiw__swname { flex: none; font-size: 0.64rem; font-weight: 600; color: var(--ink-2); }

/* step 03 - the guides over the picture, then the two fields */
.hiw__dimw, .hiw__dimh { position: absolute; display: flex; align-items: center; gap: 4px; }
.hiw__dimw { left: 8px; right: 8px; top: 7px; }
.hiw__dimh { top: 8px; bottom: 8px; right: 7px; flex-direction: column; }
.hiw__dimw i, .hiw__dimh i { flex: 1; background: var(--ink); }
.hiw__dimw i { height: 1.5px; }
.hiw__dimh i { width: 1.5px; }
.hiw__dimw b, .hiw__dimh b {
  flex: none; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.05rem 0.34rem;
  font-size: 0.58rem; font-weight: 700; color: var(--ink);
}
.hiw__fields { display: flex; gap: 0.3rem; flex: none; }
.hiw__field {
  flex: 1; min-width: 0; display: grid; gap: 0.1rem;
  border: 1px solid var(--line-2); border-radius: 6px; padding: 0.22rem 0.4rem; background: #fff;
}
.hiw__field em { font-style: normal; font-size: 0.55rem; color: var(--faint); }
.hiw__field span { font-size: 0.68rem; font-weight: 600; color: var(--ink); }

/* step 04 - the brief */
.hiw__rows { display: grid; gap: 0.25rem; flex: none; }
.hiw__row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
  border: 1px solid var(--line-2); border-radius: 6px; padding: 0.2rem 0.42rem; background: #fff;
}
.hiw__row em { font-style: normal; font-size: 0.57rem; color: var(--faint); }
.hiw__row span { font-size: 0.63rem; font-weight: 600; color: var(--ink); }
.hiw__cta {
  flex: none; display: block; text-align: center;
  background: var(--ink); color: #fff; border-radius: 7px;
  padding: 0.42rem; font-size: 0.66rem; font-weight: 600;
}

.hiw__p {
  margin-top: 0; padding-top: clamp(0.9rem, 1.3vw, 1.1rem);
  font-size: 0.95rem; line-height: 1.55; color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .hiw__card, .hiw__card:hover { transition: none; transform: none; }
}
@media (max-width: 1100px) {
  .hiw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hiw__in { height: 250px; }
}
@media (max-width: 700px) {
  .hiw { grid-template-columns: minmax(0, 1fr); }
  /* one column means a full-width card, so the visuals get more room
     rather than less */
  .hiw__in { height: 300px; }
  .hiw__shot--sm { min-height: 110px; }
}

/* ==========================================================
   PLANNER TYPES — "Built for the work you do."
   ========================================================== */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 1.6vw, 1.6rem); margin-top: clamp(1.8rem, 3.4vw, 2.8rem); }
.type {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, border-color 0.2s ease;
}
.type:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -22px rgba(20, 19, 18, 0.34); border-color: rgba(0, 0, 0, 0.2); }
/* display:block is load-bearing. As a <span> this computes to inline, and
   aspect-ratio does not apply to inline elements - the art then sized itself
   from the SVG, grew to fill the whole card, and pushed the label out past
   the card's overflow:hidden, so every card read as untitled. */
.type__art { display: block; aspect-ratio: 4 / 3; background: var(--sand); position: relative; overflow: hidden; }
.type__art picture { display: block; width: 100%; height: 100%; }
.type__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.type__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.85rem 1rem; border-top: 1px solid var(--line); }
.type__foot b { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.015em; }
.type__foot svg { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; transition: transform 0.2s var(--ease), color 0.2s ease; }
.type:hover .type__foot svg { transform: translateX(3px); color: var(--accent); }
.type__tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 0.22rem 0.5rem; color: var(--ink-2);
}
.type__tag--live { color: #fff; background: var(--accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .type, .type:hover, .type__foot svg { transition: none; transform: none; } }
@media (max-width: 920px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .types { grid-template-columns: 1fr; } }

/* ==========================================================
   VS — contact form against a configurator
   ========================================================== */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); margin: clamp(1.8rem, 3.4vw, 2.8rem) auto 0; max-width: var(--col); }
/* Both cards stretch to the taller one, which left a slab of empty white
   under the shorter card. Flex column + margin-top:auto on the outcome list
   pushes that slack into the middle, so the two lists line up along the
   bottom and the gap reads as spacing rather than as a missing element. */
.vs__card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 2.2vw, 1.8rem); display: flex; flex-direction: column; }
.vs__card .vs__lines { margin-top: auto; padding-top: 0.9rem; }
.vs__card--bad { background: transparent; border-style: dashed; }
.vs__tag { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.vs__card--good .vs__tag { color: var(--accent); }
.vs__card h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.022em; line-height: 1.35; margin: 0.7rem 0 0.9rem; }
.vs__lines { display: grid; gap: 0.5rem; }
.vs__lines div { display: flex; gap: 0.6rem; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.vs__lines svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 0.18rem; }
.vs__card--bad .vs__lines svg { color: var(--faint); }
.vs__card--good .vs__lines svg { color: var(--accent); }
.vs__card--good .vs__lines div { color: var(--ink); }
/* The section heading is centred, the cards inside it are not: forms and
   spec rows are unreadable centred. */
.sec--center .vs { margin-inline: auto; text-align: left; }
.vs__head { display: flex; align-items: center; gap: 0.6rem; }

/* ---- the form a contractor actually gets ----
   Real inputs so it reads as a form rather than a picture of one, but
   readonly and out of the tab order: it is an illustration, not an intake. */
.mform { display: grid; gap: 0.6rem; margin: 0.9rem 0 1.1rem; }
.mform__f { display: grid; gap: 0.25rem; }
.mform__f > span {
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.mform input, .mform textarea {
  width: 100%; font: inherit; font-size: 0.88rem; color: var(--ink-2);
  background: var(--panel); border: 1px solid var(--line); border-radius: 9px;
  padding: 0.5rem 0.65rem; resize: none; cursor: default;
}
.mform textarea { line-height: 1.45; }
.mform input:focus, .mform textarea:focus { outline: none; }
.mform__btn {
  justify-self: start; font-size: 0.82rem; font-weight: 600; color: var(--panel);
  background: var(--ink); border-radius: 999px; padding: 0.5rem 1.1rem; opacity: 0.55;
}

/* ---- the brief the planner sends instead ---- */
.sub { margin: 0.9rem 0 1.1rem; }
/* ---- the sample collage ----
   One tall 3:2 still made this card the tallest thing on the page. Three
   angles at a smaller size say more about what gets sent AND take less
   height: the main shot sets the row height and the two thumbs split it. */
/* The proportion lives on the collage, not on the main shot. Left to size
   itself, the two stacked thumbs were taller than the main image and became
   the thing setting the card height - the opposite of the intent. */
.sub__collage { display: grid; grid-template-columns: 1.9fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 2.25; }
.sub__main { grid-row: 1 / span 2; }
.sub__collage > picture {
  display: block; min-height: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 8px; background: var(--tint);
}
.sub__collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 420px) {
  /* side-by-side thumbs get too small to read once the card is this narrow */
  .sub__collage { grid-template-columns: 1fr 1fr; }
  .sub__main { grid-row: auto; grid-column: 1 / -1; }
}
.sub__rows { display: grid; gap: 0.45rem; margin: 0.85rem 0 0; }
.sub__rows > div {
  display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.6rem; align-items: baseline;
}
.sub__rows dt {
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin: 0;
}
.sub__rows dd { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 420px) {
  .sub__rows > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* ==========================================================
   PRICING / FAQ
   ========================================================== */
/* The plan builder. Two columns: the choices on the left, a live summary on
   the right. Every price it can show comes from PRICING in the page's script;
   nothing numeric is hard-coded here. Checkboxes and radios are the real
   controls, visually hidden under .bp__box, so keyboard and screen readers
   get the native behaviour for free. */
.bp {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  max-width: var(--col); margin: clamp(2rem, 3.6vw, 3rem) auto 0;
  text-align: left; align-items: start;
}
.bp__picks {
  display: grid; gap: clamp(1rem, 1.8vw, 1.5rem);
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
}
.bp__step { border: 0; margin: 0; padding: 0; }
.bp__step + .bp__step { padding-top: clamp(1rem, 1.8vw, 1.5rem); border-top: 1px solid var(--line-2); }
.bp__legend {
  display: flex; align-items: center; gap: 0.6rem; padding: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem); font-weight: 600; letter-spacing: -0.022em;
}
.bp__legend b {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 0.72rem; font-weight: 600;
}

/* Three even columns, not a wrapped row of pills. Equal cells read as a
   set of choices; pills sized to their own text read as tags. */
.bp__chips {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr; gap: 6px;
  margin-top: clamp(0.9rem, 1.6vw, 1.2rem);
}
.bp__chip {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0.5rem 0.6rem;
  border: 1px solid var(--line); border-radius: 11px; background: var(--panel);
  font-size: 0.84rem; font-weight: 500; line-height: 1.25; color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.bp__chip:hover { border-color: rgba(0, 0, 0, 0.32); background: #faf9f8; }
.bp__chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bp__chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.bp__add { display: flex; gap: 0.45rem; margin-top: 0.7rem; }
.bp__add input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 0.85rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 0.9rem; color: var(--ink);
}
.bp__add input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.bp__add button {
  flex: none; height: 44px; padding: 0 1.1rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--tint);
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease;
  touch-action: manipulation;
}
.bp__add button:hover { background: #e7e4e0; border-color: rgba(0, 0, 0, 0.26); }
.bp__add button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.bp__access { display: grid; gap: 0.5rem; margin-top: clamp(0.9rem, 1.6vw, 1.2rem); }

.bp__opt {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem; align-items: center; cursor: pointer;
  padding: 0.8rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel);
  font-size: 0.92rem; font-weight: 500; line-height: 1.4;
  transition: border-color 0.18s ease, background 0.18s ease;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.bp__opt--wide { align-items: start; }
.bp__opt:hover { border-color: rgba(0, 0, 0, 0.3); background: #faf9f8; }
.bp__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }

.bp__box {
  width: 18px; height: 18px; flex: none; border-radius: 5px;
  border: 1.6px solid rgba(0, 0, 0, 0.28); background: #fff;
  background-position: center; background-repeat: no-repeat; background-size: 11px 11px;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.bp__box--round { border-radius: 50%; margin-top: 0.12rem; }
.bp__opt input:checked ~ .bp__box {
  border-color: var(--ink); background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.bp__opt input:checked ~ .bp__box--round {
  background-image: none; box-shadow: inset 0 0 0 3.5px #fff;
}
.bp__opt:has(input:checked) { border-color: var(--ink); background: #faf9f8; box-shadow: 0 0 0 1px var(--ink); }
.bp__opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.bp__txt { display: grid; gap: 0.2rem; min-width: 0; }
.bp__txt b { font-weight: 600; }
/* What the dearer option costs, on the option itself. A price that only
   appears in the paragraph underneath is a price people meet after they
   have already chosen. Named --plus, not --add: .bp__add is the row that
   holds the "add your own" field. */
.bp__plus {
  margin-left: 0.3rem; padding: 0.1rem 0.4rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--tint);
  font-style: normal; font-size: 0.68rem; font-weight: 600;
  color: var(--ink-2); white-space: nowrap;
}
.bp__opt:has(input:checked) .bp__plus { border-color: rgba(0, 0, 0, 0.3); background: #fff; }
.bp__txt span { font-size: 0.85rem; line-height: 1.5; color: var(--muted); font-weight: 400; }


.bp__hint { margin-top: 0.75rem; font-size: 0.8rem; line-height: 1.6; color: var(--muted); }
.bp__hint a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 0.16em; }
.bp__laterbody input {
  width: 100%; height: 44px; padding: 0 0.85rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 0.9rem; color: var(--ink);
}
.bp__laterbody input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

.bp__later summary {
  list-style: none; cursor: pointer; position: relative; padding-right: 1.6rem;
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.015em;
  touch-action: manipulation;
}
.bp__later summary::-webkit-details-marker { display: none; }
.bp__later summary::after {
  content: ""; position: absolute; right: 0.3rem; top: 50%; width: 8px; height: 8px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.22s ease;
}
.bp__later[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.bp__later summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.bp__laterbody { display: grid; gap: 0.6rem; margin-top: 0.7rem; }
.bp__laterbody .bp__hint { margin-top: 0; }

/* ---- the plan, as a house pricing card ----
   These are the .tier rules from plans.html, not a lookalike: the summary
   had grown its own small-caps heading and two-column price table, which
   appear nowhere else on the site. It is the dark variant because it is
   the card the section is arguing for, the same way the Lead Engine tier
   is dark on the plans page. */
/* Not sticky. .tier sets position: relative, which wins on equal
   specificity, and the leftover top offset then shoved the card 84px down
   out of its grid row and over the note beneath it. With the two columns
   now a similar height there is nothing to stick through anyway. */
.bp__sum { align-self: start; }
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tier--dark { background: var(--dark); border-color: var(--dark); color: #f6f5f3; }
.tier__name { font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -0.025em; }
.tier__price { display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; margin-top: clamp(0.8rem, 1.3vw, 1.1rem); }
.tier__price b {
  font-weight: 600; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
}
/* "Custom quote" is a phrase, not a figure, so it does not take the
   figure's size or its tabular numerals */
.tier__price.is-word b { font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.025em; }
.tier__price span { color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.tier--dark .tier__price span { color: rgba(246, 245, 243, 0.62); }
.tier__desc { margin-top: 0.55rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.tier--dark .tier__desc { color: rgba(246, 245, 243, 0.72); }
.tier__list {
  display: grid; gap: 0.5rem; list-style: none;
  margin: clamp(0.9rem, 1.5vw, 1.2rem) 0 0;
  padding: clamp(0.9rem, 1.5vw, 1.2rem) 0 0; border-top: 1px solid var(--line);
}
.tier--dark .tier__list { border-top-color: rgba(255, 255, 255, 0.16); }
.tier__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; align-items: start; font-size: 0.92rem; line-height: 1.45; }
.tier__tick {
  width: 15px; height: 15px; margin-top: 0.12rem; border-radius: 50%;
  background-color: rgba(18, 135, 76, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312874c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 9px 9px; background-position: center; background-repeat: no-repeat;
}
.tier--dark .tier__tick { background-color: rgba(74, 222, 128, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.tier__go {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  height: 50px; margin-top: clamp(1.2rem, 2vw, 1.7rem); padding: 0 1.2rem;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 0.9rem; font-weight: 600; transition: background 0.2s ease;
  touch-action: manipulation;
}
.tier__go:hover { background: #2a2724; }
.tier--dark .tier__go { background: #f6f5f3; color: var(--ink); }
.tier--dark .tier__go:hover { background: #fff; }
.tier__go svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .tier { transition: none; transform: none; } }

/* the caveat under the figure, and the scope note when there is no figure */
.bp__from { margin-top: 0.45rem; font-size: 0.78rem; line-height: 1.5; color: rgba(246, 245, 243, 0.55); }
.bp__custom {
  margin-top: clamp(0.9rem, 1.5vw, 1.2rem);
  padding: 0.7rem 0.85rem; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem; line-height: 1.55; color: rgba(246, 245, 243, 0.86);
}

/* what every plan carries, under its own caption so it is not mistaken
   for the list of what this visitor picked */
.bp__inchd {
  margin-top: clamp(1rem, 1.7vw, 1.4rem);
  padding-top: clamp(0.9rem, 1.5vw, 1.2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(246, 245, 243, 0.55);
}
.bp__inc { list-style: none; display: grid; gap: 0.4rem; margin: 0.6rem 0 0; padding: 0; }
.bp__inc li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem; align-items: start; font-size: 0.82rem; line-height: 1.45; color: rgba(246, 245, 243, 0.72); }
.bp__inc li::before {
  content: ""; width: 13px; height: 13px; margin-top: 0.12rem; border-radius: 50%; flex: none;
  background-color: rgba(246, 245, 243, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8d5cf' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-size: 8px 8px; background-position: center; background-repeat: no-repeat;
}


.bp__note { max-width: 74ch; margin: clamp(1.4rem, 2.6vw, 2.2rem) auto 0; font-size: 0.8rem; line-height: 1.65; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .bp__opt, .bp__box, .bp__later summary::after { transition: none; }
}

@media (max-width: 1000px) {
  .bp { grid-template-columns: 1fr; width: min(100%, 38rem); margin-inline: auto; }
  .bp__sum { align-self: stretch; }
}

.faq { max-width: 820px; margin: clamp(1.8rem, 3.4vw, 2.6rem) auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.4rem 1.1rem 0; position: relative;
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.35rem; top: 50%; width: 9px; height: 9px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.22s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq p { color: var(--muted); font-size: 0.93rem; line-height: 1.62; padding: 0 2.4rem 1.25rem 0; max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ==========================================================
   FINAL CTA + FOOTER
   Both lifted from index.html so the page ends the way every
   other page on the site ends.
   ========================================================== */
.cta { padding: clamp(1.4rem, 3vh, 2.4rem) var(--pad) clamp(2rem, 4vh, 3rem); }
.cta__panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #141312; color: #f6f5f3; border-radius: 24px;
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1.4rem, 4vw, 3.5rem);
}
.cta__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta__scrim { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.86) 100%); }
.cta__mark { height: clamp(30px, 2.8vw, 42px); width: auto; opacity: 0.9; }
.cta__h2 { margin-top: clamp(1rem, 1.8vw, 1.5rem); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -0.038em; color: #f6f5f3; }
.cta__lede { margin-top: clamp(1rem, 1.6vw, 1.3rem); max-width: 54ch; color: rgba(246, 245, 243, 0.68); font-size: clamp(0.96rem, 1.08vw, 1.05rem); line-height: 1.62; }
.cta__actions { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); flex-wrap: wrap; justify-content: center; margin-top: clamp(1.3rem, 2.2vw, 1.9rem); }
.cta__go { display: inline-flex; align-items: center; gap: 0.55rem; height: 56px; padding: 0 1.6rem; border-radius: 999px; background: #f6f5f3; color: var(--ink); font-size: 0.98rem; font-weight: 600; transition: background 0.2s ease; }
.cta__go:hover { background: #fff; }
.cta__go svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.cta__go:hover svg { transform: translateX(3px); }
.cta__alt { font-size: 0.98rem; font-weight: 600; color: rgba(246, 245, 243, 0.78); transition: color 0.2s ease; }
.cta__alt:hover { color: #f6f5f3; }
@media (prefers-reduced-motion: reduce) { .cta__go, .cta__go svg, .cta__alt { transition: none; } .cta__go:hover svg { transform: none; } }

.footer { background: var(--dark); color: #fff; margin-top: 0; }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: clamp(3.5rem, 8vh, 6.5rem) clamp(1.4rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: stretch; gap: clamp(2rem, 6vw, 5rem); }
.footer__left { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(2.5rem, 6vw, 4.5rem); }
.footer__nav { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 2.4vw, 2.4rem); }
.footer__nav a { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: #fff; opacity: 0.9; transition: opacity 0.2s ease; }
.footer__nav a:hover { opacity: 0.55; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.footer__brand .brand__mark { height: clamp(40px, 4vw, 52px); width: auto; filter: brightness(0) invert(1); }
.footer__wordmark { font-weight: 600; letter-spacing: 0.34em; font-size: clamp(1.05rem, 1.5vw, 1.4rem); color: #fff; }
.footer__right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; gap: clamp(1.6rem, 4vw, 2.6rem); }
.footer__headline { font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -0.022em; color: #fff; }
.footer__cta { min-width: clamp(220px, 22vw, 300px); justify-content: space-between; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom div { max-width: 1280px; margin: 0 auto; padding: 1.4rem clamp(1.4rem, 4vw, 3rem); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.footer__legal a { color: rgba(255, 255, 255, 0.5); transition: color 0.2s ease; }
.footer__legal a:hover { color: #fff; }
@media (min-width: 861px) { .footer__headline { white-space: nowrap; } }
@media (max-width: 860px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: clamp(2.5rem, 8vw, 3.5rem); }
  .footer__right { align-items: flex-start; text-align: left; }
  .footer__cta { min-width: 0; }
}
@media (max-width: 560px) {
  .footer__inner { align-items: center; text-align: center; }
  .footer__left { align-items: center; }
  .footer__nav { justify-content: center; }
  .footer__right { align-items: center; text-align: center; }
  .footer__bottom div { justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
}

/* ---------- Reveals: gated behind html.js so no-JS shows everything ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- headline fit ----
   Both halves of the title are nowrap, so the only way to guarantee two lines
   at every width is to size the type off the column it sits in rather than
   off the viewport. The coefficient is measured, not guessed: a Range over
   the text node gives the ink width per 1px of font-size (13.28 for the
   longer line in Inter 600 at -0.037em), so 7.35cqw fills 97.6% of the
   column and leaves the rest as slack. Checked at every width from 390 to
   2560. The vw clamps above stay as the fallback for browsers without
   container queries. */
@supports (width: 1cqw) {
  .hero__title { font-size: clamp(1rem, 7.35cqw, 4.15rem); }
}

/* ---- the planner switch ----
   The cards under the hero change what the hero is building. Two cues,
   because the thing that changes is off screen when you click: the card
   that is showing stays marked, and the stage flashes once when it
   arrives so the scroll lands on something that just moved. */
.type[data-planner] { cursor: pointer; }
.type.is-current { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.type.is-current .type__tag { background: var(--ink); border-color: var(--ink); color: #fff; }

@keyframes stageSwap {
  from { box-shadow: 0 0 0 3px rgba(20, 19, 18, 0.55); }
  to   { box-shadow: 0 0 0 3px rgba(20, 19, 18, 0); }
}
.hero__media.is-swapped .cfg__view { animation: stageSwap 1.1s ease-out 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__media.is-swapped .cfg__view { animation: none; }
}

/* The outdoor kitchen's two-group steps are taller than anything the media
   wall has, so the box's floor follows the subject. Within either planner
   the height is fixed and Back and Next never move. */
.cfg__rail[data-subject="kitchen"] .step__body,
.cfg__rail[data-subject="garage"] .step__body,
.cfg__rail[data-subject="pergola"] .step__body { min-height: 5.95rem; }
@media (max-width: 1040px) {
  .cfg__rail[data-subject="kitchen"] .step__body,
  .cfg__rail[data-subject="garage"] .step__body,
  .cfg__rail[data-subject="pergola"] .step__body { min-height: 7.6rem; }
}
