/* v2.css: what the v2 watercolor stage and the model sheet need. Page builders extend this file.
   Brand tokens are the live site's (see v2/BRIEF.md). */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --teal: #037887; --teal-dark: #025965; --deep: #0f3438; --gold: #D4A853; --amber: #FFBB2F; --orange: #FF8A3D;
  --paper: #FFFDFA; --char: #424143; --ink: #1f2324; --mist: #eef3f1;
}

/* ---------- the stage canvas ----------
   pnwWorld() puts .wc-wait on the canvas until its paintings have loaded and one full frame is
   drawn, then swaps it for .wc-ready, so nothing pops in. */
canvas.wc-wait { opacity: 0; }
canvas.wc-ready { opacity: 1; transition: opacity 1.1s ease; }   /* r/20261204-1: calm pace (was .7s) */
.motion-off canvas.wc-ready { transition: none; }
/* a canvas the visitor can drag to turn the model: vertical swipes still scroll the page */
canvas.wc-drag { touch-action: pan-y; cursor: grab; }
canvas.wc-drag.is-dragging { cursor: grabbing; }

/* ---------- model sheet (models.html) ---------- */
body.v2-sheet {
  margin: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sheet-bar {
  flex: none; display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap;
  padding: 10px 18px; background: var(--teal); color: var(--paper);
}
.sheet-brand { display: inline-flex; align-items: center; }
.sheet-brand img { display: block; height: 26px; width: auto; }
.sheet-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.sheet-tabs { display: flex; gap: 6px; margin-left: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sheet-tabs::-webkit-scrollbar { display: none; }
.sheet-tabs a {
  flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2;
  color: var(--paper); text-decoration: none; border: 1px solid rgba(255, 253, 250, .35);
}
.sheet-tabs a:hover { background: rgba(255, 253, 250, .12); }
.sheet-tabs a[aria-current="page"] { background: var(--paper); color: var(--teal-dark); border-color: var(--paper); }
.sheet-tabs a.is-missing { opacity: .6; border-style: dashed; }
.sheet-tabs a:focus-visible, .sheet-variants button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.sheet-variants {
  flex: none; display: flex; gap: 6px; padding: 8px 18px; overflow-x: auto; scrollbar-width: none;
  background: var(--mist); border-bottom: 1px solid rgba(15, 52, 56, .12);
}
.sheet-variants::-webkit-scrollbar { display: none; }
.sheet-variants:empty { display: none; }
.sheet-variants button {
  flex: none; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(15, 52, 56, .25);
  background: var(--paper); color: var(--deep); font: 600 13px/1.2 Inter, system-ui, sans-serif; cursor: pointer;
}
.sheet-variants button[aria-pressed="true"] { background: var(--deep); color: var(--paper); border-color: var(--deep); }

.sheet-stage { flex: 1 1 auto; min-height: 0; position: relative; background: var(--paper); outline: none; }
.sheet-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sheet-fallback {
  display: none; position: absolute; inset: 14px; border-radius: 18px;
  background: var(--paper) url("../assets/img/wc-fore-craftsman.jpg") center / cover no-repeat;
}
.no-webgl .sheet-canvas { display: none; }
.no-webgl .sheet-fallback { display: block; }
.sheet-note {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); margin: 0; max-width: calc(100% - 48px); box-sizing: border-box;
  padding: 8px 14px; border-radius: 12px; background: rgba(255, 253, 250, .92); color: var(--ink);
  font-size: 14px; line-height: 1.4; text-align: center; box-shadow: 0 1px 8px rgba(15, 52, 56, .12);
}
.sheet-note:empty { display: none; }
.sheet-hud {
  position: absolute; left: 12px; bottom: 12px; margin: 0; max-width: calc(100% - 24px); box-sizing: border-box;
  padding: 6px 10px; border-radius: 10px; background: rgba(15, 52, 56, .86); color: var(--paper);
  font-size: 11px; line-height: 1.45; letter-spacing: .01em; pointer-events: none;
}
.sheet-hud b { color: var(--amber); font-weight: 600; }
.sheet-hud:empty { display: none; }

@media (max-width: 640px) {
  .sheet-bar { padding: 8px 12px; }
  .sheet-title { display: none; }
  .sheet-tabs { margin-left: 0; flex: 1 1 100%; }
  .sheet-variants { padding: 6px 12px; }
  .sheet-note { font-size: 13px; }
}

/* =====================================================================================================
   v2 page shell (owner: shell builder; DESIGN-SPEC 2.1 to 2.3; markup in v2/shell.html).
   Everything below is scoped to body.v2 or to v2-only class names, so the v1 pages are untouched.
   One breakpoint: phone is max-width 760px (DR.phone() uses the same query). The header keeps v1's
   860px menu breakpoint (css/site.css), so the phone call icon follows the Menu button, not 760.
   z-order: paper 0, poster/still 1, canvas 2, veil and stage-ui 3, cards 4, phone story stage 5,
   header 50, cta-bar 60, open menu 70, skip links 100.
   ===================================================================================================== */
:root { --v2-card: rgba(255, 253, 250, .96); --v2-line: rgba(31, 35, 36, .10); --bar-h: 60px; }

body.v2 { background: var(--paper); }
.v2 main { padding-top: var(--nav-h); }

/* ---------- focus rings: teal-dark on paper, amber on the dark bands ---------- */
.v2 :focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
.v2 .site-header :focus-visible, .v2 .site-footer :focus-visible, .v2 .cta-band :focus-visible,
.v2 .reviews-band :focus-visible, .v2 .proto-badge :focus-visible, .v2 .tab[aria-selected="true"]:focus-visible { outline-color: var(--amber); }

/* ---------- skip links (two; first two focus stops) ---------- */
.v2 .skip { z-index: 100; }

/* ---------- header: v1 markup; 44 px targets; phone call icon; motion switch in the Menu ---------- */
.v2 .site-header { z-index: 50; }
.v2 .site-header.open { z-index: 70; }
.v2 .logo { min-height: 44px; align-items: center; }
.v2 .nav a:not(.m-only), .v2 .header-phone { min-height: 44px; display: inline-flex; align-items: center; }
.v2 .site-header.open .nav .m-only { min-height: 44px; }
.v2 .header-cta { min-height: 44px; }
.v2 .menu-btn { min-height: 44px; min-width: 64px; align-items: center; justify-content: center; }
.header-tel { display: none; }
/* returning clients (returning-client spec 1): "Past client? New request" left of the phone number, only where the
   bar has room for it, so the nav never wraps; on phones the same link sits in the Menu after Start Your Project */
.header-again { display: none; }
@media (min-width: 1180px) {
  .v2 .header-again {
    display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap;
    text-decoration: underline; text-decoration-color: rgba(255, 187, 47, .85); text-underline-offset: 4px;
  }
  .v2 .header-again:hover { color: var(--amber); }
}
@media (max-width: 860px) {
  .header-tel {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-left: auto;
    border: 2px solid rgba(255, 255, 255, .5); border-radius: 10px; color: #fff;
  }
  .header-tel:hover { color: var(--amber); border-color: var(--amber); }
  .header-tel svg { width: 20px; height: 20px; display: block; }
  .v2 .menu-btn { margin-left: 8px; }
  .v2 .site-header.open .nav .motion-btn {
    display: flex; align-items: center; width: 100%; min-height: 44px; margin-top: 8px; padding: 10px 14px;
    font: 600 16px/1.2 var(--font); text-align: left; color: #fff; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px;
  }
  .v2 .site-header.open .nav .motion-btn[aria-pressed="true"] { background: var(--amber); color: var(--ink); border-color: var(--amber); }
  /* the open menu scrolls inside itself when it is taller than a short screen */
  .v2 .site-header.open .nav { max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
  .v2 .site-header.open .nav > * { flex-shrink: 0; }
}
/* phones, tablets in portrait (to 860 px) and phones on their side: the handset carries the word "Call" (the link's
   aria-label already says it) */
@media (max-width: 860px), (max-height: 500px) {
  .header-tel { width: auto; min-width: 44px; padding: 0 12px 0 10px; gap: 6px; text-decoration: none; }
  .header-tel::after { content: "Call"; font: 700 14px/1 var(--font); }
}
/* very narrow screens or larger text (test 2026-12-03: at 300-320 px Menu was cut off): the handset alone, a smaller
   logo and tighter gaps; the link's aria-label still names the call and the number */
@media (max-width: 359px) {
  .v2 .site-header .wrap { gap: 8px; }
  .v2 .site-header .logo { width: 104px; }
  .v2 .header-tel { width: 44px; padding: 0; }
  .v2 .header-tel::after { content: none; }
}

/* ---------- buttons and links: 48 px buttons, 44 px links ---------- */
.v2 .btn { min-height: 48px; }
.v2 .arrow-link { min-height: 44px; }
.btn-call { background: var(--paper); color: var(--teal-dark); border-color: var(--teal); }
.btn-call:hover { background: var(--mist); color: var(--teal-dark); }
.btn-call svg, .cta-bar svg { width: 18px; height: 18px; flex: none; }

/* ---------- footer, CTA band, reviews band (paintings per spec 2.1 #4) ---------- */
.v2 .site-footer .logo { min-height: 44px; align-items: center; }
.v2 .cta-band .art {
  inset: 0; width: auto; height: auto; opacity: 1; -webkit-mask-image: none; mask-image: none;
  background: linear-gradient(rgba(15, 52, 56, .84), rgba(15, 52, 56, .84)), url("../assets/img/wc-fauntleroy-creek.jpg") center / cover no-repeat;
}
.v2 .reviews-band .bg { background-image: url("../assets/img/wc-lincoln-park.jpg"); }
.v2 .reviews-band::after { background: rgba(15, 52, 56, .84); }             /* .84 (test 2026-12-03): small amber text 4.5:1 */
/* phones: 800 px copies (about 56 KB each instead of about 235 KB); under the 84% wash they read the same */
@media (max-width: 760px) {
  .v2 .cta-band .art { background-image: linear-gradient(rgba(15, 52, 56, .84), rgba(15, 52, 56, .84)), url("../assets/img/wc-fauntleroy-creek-800.jpg"); }
  .v2 .reviews-band .bg { background-image: url("../assets/img/wc-lincoln-park-800.jpg"); }
}

/* ---------- prototype badge: fixed bottom-left on desktop, after the footer on phones ---------- */
.v2 .proto-badge { padding: 4px 4px 4px 14px; }
.v2 .proto-badge .motion-btn { min-height: 44px; padding: 0 14px; font-size: 12px; }
/* the badge's one comparison link (pricing.html <-> bathrooms.html): it is how the frozen copy is reached */
.v2 .proto-badge .badge-link {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; color: #fff; font-size: 12px;
  text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; white-space: nowrap;
}
.v2 .proto-badge .badge-link:hover { color: var(--amber); }
.v2 .proto-badge:has(.badge-link) span.long { display: none; } /* keep the fixed badge short when it carries the link */
/* phones: the badge is a strip in the footer's colour, so the page ends on the footer, not on paper
   (the bar hides while the footer is on screen, so the body keeps no bar padding at the end) */
@media (max-width: 760px), (max-height: 500px) {
  .v2 .proto-badge {
    position: static; inset: auto; width: auto; max-width: none; margin: 0; border-radius: 0; box-shadow: none;
    background: var(--ink); padding: 0 var(--pad) calc(16px + env(safe-area-inset-bottom)); font-size: 12px; gap: 8px;
  }
  .v2 .site-footer { padding-bottom: 24px; }
  .v2 .proto-badge .motion-btn { font-size: 12px; padding: 0 14px; }
  .v2 .proto-badge { flex-wrap: wrap; }
  .v2 .proto-badge .badge-link { white-space: normal; }
}

/* ---------- phone CTA bar (fixed bottom; hidden by site.js in its three cases) ---------- */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .cta-bar {
    display: flex; gap: 8px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--v2-line); box-shadow: 0 -6px 20px rgba(15, 52, 56, .10);
    transition: transform .25s ease, visibility .25s;
  }
  .cta-bar > * { height: 48px; min-height: 48px; padding: 0 12px; font-size: 14px; gap: 8px; box-shadow: none; }
  .cta-bar > :first-child { flex: 0 0 calc(40% - 4px); }
  .cta-bar > :last-child { flex: 1 1 0; min-width: 0; }
  .cta-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
  .motion-off .cta-bar { transition: none; }
}
@media (max-height: 500px) {
  .cta-bar { display: none !important; }
  body.v2 { padding-bottom: 0; }
}

/* ---------- the stage (one per page): poster, still, canvas, on-stage chips ---------- */
.stage { position: relative; overflow: hidden; background: var(--paper); }
.stage-poster {
  position: absolute; inset: 0; z-index: 1; background: var(--paper) center / cover no-repeat; transition: opacity .65s ease;   /* r/20261204-1 calm pace (was .4s) */
}
/* the poster stays at full strength until the canvas is live; the canvas fades in over it (.7s, wc-ready),
   then the poster goes, so the hand-over is a cross-fade with no paper showing through */
.stage.is-live:not(.use-stills) > .stage-poster { opacity: 0; transition-delay: .7s; }
.stage-still {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 60%; transition: opacity .15s ease;
}
.stage-still[hidden] { display: none; }
.stage-still.is-fading { opacity: 0; }
.motion-off .stage-poster, .motion-off .stage-still { transition: none; }
.stage > .stage-canvas { z-index: 2; touch-action: pan-y; }
.stage.use-stills > .stage-canvas { display: none; }
.stage-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stage-ui > * { pointer-events: auto; }
.stage-ui .chip { position: absolute; }
.stage-ui .at-tl { left: 12px; top: 12px; } .stage-ui .at-tr { right: 12px; top: 12px; }
.stage-ui .at-bl { left: 12px; bottom: 12px; } .stage-ui .at-br { right: 12px; bottom: 12px; }
/* placeholder label for a stage whose 3D is not built yet (shell and stand-ins only) */
.stage-todo {
  position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); margin: 0; padding: 8px 14px;
  border: 2px dashed rgba(15, 52, 56, .35); border-radius: 12px; background: var(--v2-card); color: var(--deep);
  font: 600 13px/1.3 var(--font); text-align: center; white-space: nowrap;
}

/* things that point at the 3D: hidden without it; "still" ones come back when a still is showing */
.no-webgl [data-3d-only]:not([data-3d-only="still"]), .dr-stills [data-3d-only]:not([data-3d-only="still"]) { display: none !important; }
.no-webgl [data-3d-only="still"]:not(.has-still *), .dr-stills [data-3d-only="still"]:not(.has-still *) { display: none !important; }

/* ---------- shared components ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--v2-card); border: 1px solid var(--v2-line); color: var(--ink); font: 600 13px/1.3 var(--font);
}
.chip i { flex: none; width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, .12); }
/* legend marks that are not form controls: paint is a watercolour dab, ink is a short pen stroke; Home's
   "We design it. Then we build it." chip (.chip.design) shows the stroke, then the dab */
.chip.ink i, .chip.paint i, .v2 .chip.design i { height: 12px; border: 0; border-radius: 0; background: none center / contain no-repeat; }
.chip.ink i { width: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M1.5 8c2-3.6 3.6-4 5-1.8s3 2.8 4.8.3S14.6 3.6 16.5 5' fill='none' stroke='%232c2b2e' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.chip.paint i { width: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.4 7C.7 3.9 3.6 1.4 7.5 1.2c3.8-.2 7.3 1.4 7.3 4.5 0 3.3-3.6 5.2-7.4 5.1C4.2 10.7 1.9 9.3 1.4 7z' fill='%23d8cab4' stroke='%23bea985' stroke-width='.8'/%3E%3C/svg%3E"); }
.v2 .chip.design i {
  width: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 12'%3E%3Cpath d='M1.5 8c2-3.6 3.6-4 5-1.8s3 2.8 4.8.3S14.6 3.6 16.5 5' fill='none' stroke='%232c2b2e' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M21.4 7c-.7-3.1 2.2-5.6 6.1-5.8 3.8-.2 7.3 1.4 7.3 4.5 0 3.3-3.6 5.2-7.4 5.1-3.2-.1-5.5-1.5-6-3.8z' fill='%23d8cab4' stroke='%23bea985' stroke-width='.8'/%3E%3C/svg%3E");
}
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.v2-card, .beat-card {
  background: var(--v2-card); border: 1px solid var(--v2-line); border-radius: 18px; padding: 20px 22px; color: var(--char);
}
.v2-card p, .beat-card p { font-size: 16px; }
.v2-card p:last-child, .beat-card p:last-child { margin-bottom: 0; }
.v2-card h2, .v2-card h3, .beat-card h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.price-line { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 8px 0 0; }
.person-row { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.person-row img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top center; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.caption { font-size: 13px; line-height: 1.4; color: var(--char); margin: 0; }

/* tabs (DR.tabs): a [role=tablist][data-v2-tabs] of [role=tab] buttons; panels are [role=tabpanel] */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tab {
  min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--hair); background: var(--paper);
  color: var(--ink); font: 700 14px/1.2 var(--font); cursor: pointer; text-align: left;
}
.tab:hover { border-color: var(--teal); }
.tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.tab-panel[hidden] { display: none; }
/* price stairs (css/site.css) on phones: two flat rows, so each row's cards share a top and a height */
@media (max-width: 760px) { .v2 .stairs-inner { align-items: stretch; } }
/* price tabs: four rising stairs, name over price */
.price-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 6px; }
.price-tabs .tab { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; padding: 8px 10px; border-radius: 12px 12px 6px 6px; }
.price-tabs .tab:nth-child(1) { min-height: 52px; } .price-tabs .tab:nth-child(2) { min-height: 60px; }
.price-tabs .tab:nth-child(3) { min-height: 68px; } .price-tabs .tab:nth-child(4) { min-height: 76px; }
.price-tabs .what { font-size: 12px; font-weight: 600; line-height: 1.2; }
.price-tabs .amt { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 760px) {
  .price-tabs .tab { padding: 8px 6px 8px 8px; }
  .price-tabs .amt { font-size: 13px; letter-spacing: -0.02em; white-space: nowrap; }
}
@media (max-width: 379px) { .price-tabs .amt { white-space: normal; } }

/* radio chips (native radios drawn as 44 px chips; the group keeps its own arrow keys) */
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.radio-chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.radio-chips label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--hair); background: var(--paper); color: var(--ink); font: 600 14px/1.2 var(--font); cursor: pointer;
}
.radio-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.radio-chips label:has(input:checked) { background: var(--deep); border-color: var(--deep); color: #fff; }
.radio-chips label:has(input:focus-visible) { outline: 3px solid var(--teal-dark); outline-offset: 3px; }

/* before and after (additive): the Before / After labels are 44 px buttons; on phones the range ignores touch */
.v2 .ba-label { z-index: 3; pointer-events: auto; border: 0; cursor: pointer; min-height: 44px; min-width: 44px; padding: 0 14px; top: 10px; }
.v2 .ba-label.b { left: 10px; } .v2 .ba-label.a { right: 10px; }
.v2 .ba-range { z-index: 2; }
.ba-hint { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.ba-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }   /* M12: the before photo's blurred reflection, said under the frame */
@media (max-width: 760px) { .v2 .ba-range { pointer-events: none; } }

/* ---------- Pattern A, story: section.story[data-v2-story] > .stage + .beats > .beat ---------- */
.story { position: relative; }
.story .stage { position: sticky; top: var(--nav-h); }
.story .beats { position: relative; z-index: 4; }
.beat.is-active .beat-card { box-shadow: inset 3px 0 0 var(--teal); }
.beat-count { display: none; }
.beat-cue { font: 600 12px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); margin: 14px 0 0; }
@media (max-width: 760px) {
  /* r/20261204-3 (feel-3D item 5): more of the phone for the 3D (was clamp(250px, 40svh, 340px)) */
  .story .stage { height: clamp(300px, 50svh, 420px); z-index: 5; overflow: visible; }
  .story .stage::after {            /* the 24 px paper fade under the stage's lower edge */
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; pointer-events: none;
    background: linear-gradient(var(--paper), rgba(255, 253, 250, 0));
    /* r/20261203-6 (staging re-test of r-5, R2-M3 count): the fade stops short of the right edge of the cards, where a
       passed card's "1 OF 4" count runs under it (3.91:1 at scroll 420 on a 390 phone; 4.7:1 without the fade). The
       count can't be lifted over the fade: the cards (z-index 4) sit below the stage (5). So the fade leaves that strip
       alone: the card's padding (18 px) and the count's width, plus a soft 12 px edge */
    -webkit-mask-image: linear-gradient(to left, transparent calc(var(--pad) + 18px + 58px), #000 calc(var(--pad) + 18px + 70px));
    mask-image: linear-gradient(to left, transparent calc(var(--pad) + 18px + 58px), #000 calc(var(--pad) + 18px + 70px));
  }
  .story .beats { padding: 0 var(--pad); }
  /* an in-page link lands its beat just under the pinned picture (html's scroll-padding-top in site.css adds the header) */
  .story .beat { padding-bottom: 24px; scroll-margin-top: calc(clamp(300px, 50svh, 420px) - 8px); }
  .story .beat-hero { padding-top: 16px; }
  .story .beat-hero h1 { font-size: 30px; line-height: 1.12; margin-bottom: 10px; }
  .story .beat-hero .lede { font-size: 16px; margin-bottom: 0; }
  .story .beat-hero .btn-row { margin-top: 14px; gap: 8px; flex-wrap: nowrap; }
  .story .beat-hero .btn-row .btn { flex: 1 1 0; padding: 0 10px; font-size: 14px; }
  .beat-card { padding: 16px 18px; }
  .beat-card h2 { font-size: 22px; }
  .beat-card .eyebrow { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
  .beat-card .step-n { display: none; }
  .beat-count { display: inline; color: var(--muted); letter-spacing: .06em; }
  /* sticky only while there is something to follow: a canvas, or a full set of stills */
  .no-webgl .story:not([data-stills="ready"]) .stage, .dr-stills .story:not([data-stills="ready"]) .stage { position: relative; top: auto; }
  /* reduced motion (test 2026-12-03): the picture scrolls away with the page, so the cards get the whole screen.
     Design and Blog keep it pinned for now: their scripts place things under the pinned picture */
  .motion-off .page-home .story .stage, .motion-off .page-about .story .stage { position: relative; top: auto; }
  .motion-off .page-home .story .beat, .motion-off .page-about .story .beat { scroll-margin-top: 0; }
  /* R2-L3: with the picture scrolled away, the cues and the "Shown:" caption would describe nothing on screen */
  .motion-off .page-home .beat-cue, .motion-off .page-about .beat-cue, .motion-off .page-home .reveal-shown { display: none; }
}
/* short phone screens and larger text (test 2026-12-03): a lower pinned picture leaves a bigger reading window */
@media (max-width: 760px) and (max-height: 700px) {
  /* r/20261204-1 (go-live DEFECTS 1): a little taller (was clamp(170px, 26svh, 220px)), so the fitted house still reads;
     r/20261204-3 (feel-3D item 5): taller again (was clamp(200px, 30svh, 240px)), still about half the screen to read */
  .story .stage { height: clamp(220px, 34svh, 260px); }
  .story .beat { scroll-margin-top: calc(clamp(220px, 34svh, 260px) - 8px); }
  /* R2-L4: Design keeps its pin under Reduce Motion (its buttons change the picture), so a lower strip: about 60% to read */
  .motion-off .page-design .story .stage { height: 135px; }
  .motion-off .page-design .story .beat { scroll-margin-top: 127px; }
}
/* below 340 px (larger text) the two hero buttons stack, so neither runs off the screen */
@media (max-width: 339px) {
  .story .beat-hero .btn-row { flex-wrap: wrap; }
  .story .beat-hero .btn-row .btn { flex: 1 1 100%; }
}
@media (min-width: 761px) {
  .story .stage { height: calc(100svh - var(--nav-h)); z-index: 0; }
  .story .stage::after {            /* the veil that keeps the left column on paper */
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(100deg, rgba(255, 253, 250, .92) 0, rgba(255, 253, 250, .78) 28%, rgba(255, 253, 250, 0) 46%);
    /* r/20261204-2 (review of -1): the fade ends at the card column's own right edge on every row (90deg, so the stops are
       x distances): never narrower than r-7's 46% stop, and on 2560 and 3440 it reaches past the text column */
    --col-r: calc(max(var(--pad), (100vw - var(--max)) / 2 + var(--pad)) + min(520px, 40vw));
    /* r/20261204-3 (go-live no-WebGL review of -2): the paper holds strong to the column's right edge, then fades over
       120 px. The old .78 stop at 60% of the column edge left the right half of the text on the picture at 2560/3440
       (Blog's H1 over the mountains) and drew a hard seam across About's road at 1920+ */
    background: linear-gradient(90deg, rgba(255, 253, 250, .92) 0, rgba(255, 253, 250, .86) max(28%, var(--col-r)), rgba(255, 253, 250, 0) max(46%, calc(var(--col-r) + 120px)));
    /* r/20261204-5 (go-live staging review of -4, #1): .86 to 0 in 120 px drew a hard straight line through roofs and
       roads at 1280-3440. Same strong paper behind the words, then an eased tail: it starts 80 px inside the column's
       right edge (text rarely runs to it) and thins out over 340 px, so there is no edge to see. */
    --veil-e: max(28%, var(--col-r));
    background: linear-gradient(90deg, rgba(255, 253, 250, .92) 0, rgba(255, 253, 250, .86) calc(var(--veil-e) - 80px),
      rgba(255, 253, 250, .72) var(--veil-e), rgba(255, 253, 250, .5) calc(var(--veil-e) + 60px),
      rgba(255, 253, 250, .28) calc(var(--veil-e) + 130px), rgba(255, 253, 250, .12) calc(var(--veil-e) + 190px),
      rgba(255, 253, 250, 0) max(46%, calc(var(--veil-e) + 260px)));
  }
  /* r/20261204-5 (review of -4, #4): Design's words sit on their own paper cards and its model stands right at the
     column, so it keeps -2's lighter veil; the stronger one washed out the chosen shower in the compare beats */
  .page-design .story .stage::after {
    background: linear-gradient(90deg, rgba(255, 253, 250, .92) 0, rgba(255, 253, 250, .78) max(28%, calc(var(--col-r) * .6)), rgba(255, 253, 250, 0) max(46%, calc(var(--col-r) + 40px)));
  }
  .story .stage > .stage-still {
    left: auto; right: 0; width: 58%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%);
  }
  .story .beats {
    margin-top: calc(-1 * (100svh - var(--nav-h))); width: min(520px, 40vw);
    margin-left: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); pointer-events: none;
  }
  .story .beat { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; }
  .story .beat-hero { min-height: calc(100svh - var(--nav-h)); }
  .story .beat > * { pointer-events: auto; }
  .story .beat-hero h1 { font-size: clamp(38px, 4.4vw, 60px); }
}
/* desktop dot rail (built by DR.story); 44 px hit areas around 12 px dots */
.v2-rail { gap: 0; right: 8px; }
.v2-rail button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.v2-rail button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--teal); box-sizing: border-box; transition: transform .2s; }
.v2-rail button[aria-current="step"] { background: none; transform: none; }
.v2-rail button[aria-current="step"]::before { background: var(--teal); transform: scale(1.25); }

/* ---------- Pattern B, selector: section.selector > .selector-head, .selector-picture, .selector-side ---------- */
.selector { padding: 0 0 40px; }
.selector-head { padding: 16px var(--pad) 12px; }
.selector-head .eyebrow { margin-bottom: 4px; }
.selector-head h1, .selector-head .h1 { font-size: 26px; line-height: 1.15; margin: 0; }
.selector .stage { height: clamp(240px, 38svh, 330px); }
.selector-rows { display: grid; gap: 8px; padding: 8px var(--pad) 0; }
.selector-side { padding: 14px var(--pad) 0; }
@media (min-width: 761px) {
  .selector {
    display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); grid-template-areas: "head head" "pic side";
    column-gap: clamp(20px, 3vw, 40px); align-items: start; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad) 64px;
  }
  .selector-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 24px 0 18px; }
  .selector-head h1, .selector-head .h1 { font-size: 40px; }
  .selector-picture { grid-area: pic; position: sticky; top: calc(var(--nav-h) + 16px); }
  .selector .stage { height: min(calc(100svh - var(--nav-h) - 132px), 640px); min-height: 200px; border-radius: 18px; }
  .selector-rows { padding: 12px 0 0; }
  .selector-side { grid-area: side; padding: 0; }
}

/* ---------- Pattern C, banner and form: section.banner > .stage + .banner-body ---------- */
.banner .stage { height: clamp(210px, 28svh, 250px); }
.banner-body { padding: 16px var(--pad) 32px; }
@media (min-width: 761px) {
  .banner {
    display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); grid-template-areas: "body stage";
    column-gap: clamp(24px, 4vw, 56px); align-items: start; max-width: 1320px; margin: 0 auto; padding: 24px var(--pad) 64px;
  }
  .banner .stage { grid-area: stage; position: sticky; top: calc(var(--nav-h) + 20px); height: min(560px, calc(100svh - var(--nav-h) - 40px)); border-radius: 18px; }
  .banner-body { grid-area: body; padding: 0; }
}

/* ---------- a phone on its side (max-height 500px): words first ---------- */
@media (max-width: 760px) and (max-height: 500px) {
  .story .stage { position: relative; top: auto; height: min(clamp(300px, 50svh, 420px), 62svh); }
  .story .beat { scroll-margin-top: 0; }
  .selector .stage { height: min(clamp(240px, 38svh, 330px), 62svh); }
  .banner .stage { height: min(clamp(210px, 28svh, 250px), 50svh); }
}
/* round 3 matrix: a phone on its side has no bottom bar, so the gold Start Your Project stays in the header beside
   Call, and the sections lose the desktop padding that left half-empty screens of paper. Test 2026-12-03: a tablet in
   portrait (761-860 px) has no bottom bar either, so its header gets the same button */
@media (max-width: 860px) and (max-height: 500px), (min-width: 761px) and (max-width: 860px) {
  .v2 .header-right { display: flex; margin-left: auto; }
  .v2 .header-right .header-phone { display: none; }
  .v2 .header-right .header-cta { display: inline-flex; align-items: center; padding: 0 14px; font-size: 14px; }
  .v2 .header-tel { margin-left: 8px; }
}
@media (max-height: 500px) {
  .v2 .section { padding: 36px 0; }
  .v2 .section.tight { padding: 20px 0; }
}
@media (min-width: 761px) and (max-height: 500px) {
  .selector-picture, .banner .stage { position: relative; top: auto; }
  .story .beat { min-height: 0; padding: 20px 0; }
  .story .beat-hero { min-height: calc(100svh - var(--nav-h)); justify-content: flex-start; padding-top: 14px; }
  .story .beat-hero .eyebrow { margin-bottom: 6px; }
  .story .beat-hero h1 { font-size: 28px; margin-bottom: 10px; }
  .story .beat-hero .lede { font-size: 15px; margin-bottom: 0; }
  .story .beat-hero .btn-row { margin-top: 12px; gap: 10px; }
  .story .beat-hero .btn { padding: 0 14px; font-size: 14px; }
}

/* ---------- ?poster=1: only the first stage, fixed to the viewport (page builders shoot stills here) ---------- */
.poster-mode body.v2 { visibility: hidden; overflow: hidden; }
.poster-mode .poster-stage {
  visibility: visible; position: fixed !important; inset: 0 !important; width: auto !important; height: auto !important;
  margin: 0 !important; border-radius: 0 !important; z-index: 1000;
}
.poster-mode .poster-stage .stage-ui, .poster-mode .poster-stage::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .stage-poster, .stage-still, .cta-bar, .v2-rail button::before { transition: none; }
}

/* About joined the nav (2026-11-29): seven items fit one line from 861 px when the links are a little tighter until
   "Past client? New request" appears at 1180 */
@media (min-width: 861px) and (max-width: 1179px) {
  .v2 .site-header .wrap { gap: 18px; }
  .v2 .nav { gap: 2px; }
  .v2 .nav a:not(.m-only) { padding: 8px 9px; white-space: nowrap; }
}

/* phones: footer and contact links get 44 px tap targets (test 2026-11-29: they were 19 px). Pages, Services and More
   in two columns and Follow on one row, so the footer does not get much taller */
@media (max-width: 760px) {
  .v2 .site-footer ul { gap: 0; }
  .v2 .site-footer ul a, .v2 .site-footer p a, .v2 .site-footer .legal a, .v2 .cta-band .contact-mini a { display: inline-flex; align-items: center; min-height: 44px; }
  .v2 .site-footer ul a, .v2 .site-footer .legal a { min-width: 44px; }
  .v2 .site-footer .cols > div:not(:first-child):not(:last-child) ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .v2 .site-footer .cols > div:nth-child(2) li:last-child { grid-column: 1 / -1; }
  .v2 .site-footer .cols > div:last-child ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
  .v2 .site-footer h4, .v2 .site-footer h2 { margin-bottom: 4px; }
  .v2 .site-footer { padding-top: 36px; }
  .v2 .site-footer .cols { gap: 20px; }
  .v2 .site-footer p:has(a) br { display: none; }                 /* the phone and the email: one 44 px row each */
  .v2 .site-footer p:has(a) a { display: flex; width: fit-content; }
  .v2 .site-footer .legal { margin-top: 24px; }
}
/* five footer columns (brand, Pages, Services, More, Follow); up to 1100 px the brand takes its own row */
@media (min-width: 1101px) { .v2 .site-footer .cols:has(> :nth-child(5)) { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1100px) {
  .v2 .site-footer .cols:has(> :nth-child(5)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v2 .site-footer .cols:has(> :nth-child(5)) > :first-child { grid-column: 1 / -1; }
}
/* phones on their side (touch): 44 px footer links as on phones; the column layout stays phone-only */
@media (pointer: coarse) and (max-height: 500px) {
  .v2 .site-footer ul { gap: 0; }
  .v2 .site-footer ul a, .v2 .site-footer p a, .v2 .site-footer .legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .v2 .site-footer ul a, .v2 .site-footer .legal a { min-width: 44px; }
}
/* the legal line's links are underlined, so they read as links without relying on colour */
.v2 .site-footer .legal a { text-decoration: underline; text-underline-offset: 3px; }
/* H3 (2026-12-03): each number in the legal line stays on one line. On phones the license link inside the running
   text keeps a 44 px tap row (padding, cancelled by a negative margin), so its line of text does not grow. position:
   relative puts the whole row above the text lines it overlaps, so its bottom edge takes taps too (-3 review) */
.v2 .site-footer .legal .nw, .v2 .site-footer .legal .lni { white-space: nowrap; }
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
  .v2 .site-footer .legal a.lni { position: relative; display: inline-block; min-height: 0; min-width: 0; padding: 12px 0; margin: -12px 0; }
}

/* test 2026-11-29 fix 9: a focused card is scrolled clear of the fixed Prototype badge (desktop) and the call bar (phone) */
html { scroll-padding-bottom: 84px; }

/* ---------- public mode (go-live W1, 2026-11-29): html.public from ?public=1 or the Webflow export ----------
   No Prototype badge or prototype lines; the returning-client path is prototype only (decision 9); no team line-up
   picture. Since r/20261204-1 (Angelo 12/04) every person figure is drawn in public mode too; stills come from assets/stills-public/. */
html.public .proto-badge, html.public .proto-only, html.public .header-again, html.public .m-again,
html.public a[href$="#again"], html.public .again-row, html.public [data-proto-only] { display: none !important; }
html.public .site-footer li:has(> a[href$="#again"]) { display: none !important; }
/* words that only fit public mode (the figures are hidden there) */
html:not(.public) .public-only { display: none !important; }

/* go-live W5 (2026-11-29): the paintings of the lower bands wait until the page has loaded (site.js adds html.loaded),
   so a slow phone gets the words and the first picture first */
html:not(.loaded) .v2 .cta-band .art { background-image: linear-gradient(rgba(15, 52, 56, .84), rgba(15, 52, 56, .84)) !important; }
html:not(.loaded) .v2 .reviews-band .bg { background-image: none !important; }

/* r/20261204-1 (2026-12-04): from 861 to 1023 px (an iPhone Duo open is 951, small laptops and tablets on their side) the
   number "(206) 413-8156" broke onto two or three lines beside the nav. There the bar shows the handset button instead
   (the same 44 px Call button phones get; its aria-label names the number), and the number returns from 1024 px. */
@media (min-width: 861px) and (max-width: 1023px) {
  .v2 .header-right .header-phone { display: none; }
  .v2 .header-tel {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, .5); border-radius: 10px; color: #fff;
  }
  .v2 .header-tel:hover { color: var(--amber); border-color: var(--amber); }
  .v2 .header-tel svg { width: 20px; height: 20px; display: block; }
}

/* r/20261204-1 (go-live DEFECTS 0): fitted stills. A stage marked data-still-fit shows a still rendered from the page
   at its own shape (site.js picks wide, ultra, phone or short), so it fills the stage like the 3D does: full width,
   no side mask, and the veil over it as over the canvas. The crop keeps the right side, where the subject sits. */
.story .stage[data-still-fit] > .stage-still { left: 0; right: 0; width: 100%; object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }
@media (min-width: 761px) {
  .story .stage[data-still-fit] > .stage-still, .page-home .story .stage[data-still-fit] > .stage-still { object-position: 100% 50%; }
}

/* r/20261204-3 (feel-3D item 3): the drag-to-look hint on the 3D bathroom; it fades after the first drag, and is gone
   with reduced motion, the low tier or the stills (the 3D is not live then) */
.stage .drag-hint {
  position: absolute; left: 50%; bottom: 14px; z-index: 4; margin: 0; transform: translateX(-50%); pointer-events: none;
  padding: 6px 12px; border-radius: 999px; background: rgba(15, 52, 56, .78); color: var(--paper);
  font: 600 13px/1.2 var(--font, Inter, system-ui, sans-serif); white-space: nowrap; opacity: 0; transition: opacity .6s ease;
}
.stage.is-live .drag-hint { opacity: 1; }
.stage .drag-hint.is-used, html.motion-off .stage .drag-hint, html.no-webgl .stage .drag-hint, .stage.use-stills .drag-hint, html.poster-mode .stage .drag-hint { opacity: 0; }
.stage.can-drag, .story.can-drag .stage { cursor: grab; }   /* Home turns from its whole story section; the grab shows on the stage */
.stage.can-drag.is-dragging, .story.can-drag.is-dragging, .story.can-drag.is-dragging * { cursor: grabbing; }
.can-drag.is-dragging, .can-drag.is-dragging * { -webkit-user-select: none; user-select: none; }   /* a drag never selects text */
@media (max-width: 760px) {
  /* phones: top-right, clear of Design's legend (bottom-left) and the chips (top-left) */
  .stage .drag-hint { left: auto; right: 10px; top: 10px; bottom: auto; transform: none; padding: 5px 10px; font-size: 12px; }
  /* r/20261204-5 (review of -4, #2): on Pricing top-right covered the "From $30K" badge, so there it sits bottom-right
     (After and the price are on top). Design keeps top-right: its legend fills the bottom-left on narrow phones. */
  .page-pricing .stage .drag-hint { top: auto; bottom: 10px; }
}

/* r/20261204-4: Start's phone bar carries three buttons (Call, Returning Client, Go to the form). Call keeps its natural
   width, the other two share the rest; "Returning Client" may take two short lines on 360-400 px phones. */
@media (max-width: 760px) {
  .cta-bar.cta-bar-3 { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .cta-bar.cta-bar-3 > * { padding: 0 10px; gap: 6px; }
  .cta-bar.cta-bar-3 > :first-child { flex: 0 0 auto; }
  .cta-bar.cta-bar-3 > .bar-back { flex: 1 1 0; min-width: 0; white-space: normal; line-height: 1.15; text-align: center; }
  .cta-bar.cta-bar-3 > .bar-back > span { min-width: 0; }
}
@media (max-width: 339px) {
  .cta-bar.cta-bar-3 > * { padding: 0 8px; font-size: 13px; }
}
