/* DuetRight 3D prototype v1 — shared styles.
   Palette and type copied from the live site's own tokens (duetright.com, read 2026-11-28):
   teal #037887, teal-dark #025965, deep teal #0f3438, gold #D4A853, amber #FFBB2F,
   paper #FFFDFA, char #424143, ink #1f2324, mist #eef3f1. Headings Inter. */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* r/20261203-6 (staging re-test of r-5, START-LAPTOP-CLS): until Inter arrives, text is set in Arial scaled to Inter's
   width, so nothing rewraps or moves when Inter swaps in. The old fallback (system-ui) is 7-14% narrower than Inter,
   which made lines wrap differently and pushed Start's form down 77 px on cold loads. size-adjust = Inter's width /
   Arial's, measured in Chrome per weight on the 8 pages' own texts (qa/work/r6-2026-12-03/font-headings.log);
   ascent/descent = Inter's (0.969 / 0.241 em) divided by it. Where Arial is missing (Android), local() fails and the stack goes on to system-ui as before. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 449; font-style: normal;
  size-adjust: 106.80%; ascent-override: 90.71%; descent-override: 22.61%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 450 549; font-style: normal;
  size-adjust: 106.70%; ascent-override: 90.79%; descent-override: 22.63%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 550 649; font-style: normal;
  size-adjust: 101.70%; ascent-override: 95.26%; descent-override: 23.75%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 650 749; font-style: normal;
  size-adjust: 102.40%; ascent-override: 94.60%; descent-override: 23.58%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 750 900; font-style: normal;
  size-adjust: 103.65%; ascent-override: 93.46%; descent-override: 23.30%; line-gap-override: 0%; }

:root {
  --teal: #037887;
  --teal-d: #025965;
  --deep: #0f3438;
  --gold: #D4A853;
  --gold-d: #b98f3c;
  --amber: #FFBB2F;
  --orange: #FF8A3D;
  --paper: #FFFDFA;
  --cream: #FDF9F2;
  --sand: #F4EFE6;
  --mist: #eef3f1;
  --hair: #e7e1d6;
  --char: #424143;
  --ink: #1f2324;
  --muted: #5b5a5c;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(31, 35, 36, .06), 0 10px 30px rgba(31, 35, 36, .08);
  --shadow-lg: 0 2px 6px rgba(31, 35, 36, .06), 0 30px 60px rgba(15, 52, 56, .16);
  --nav-h: 68px;
  --max: 1200px;
  --pad: clamp(18px, 4vw, 40px);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--char);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2.1vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--amber); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--char); max-width: 40em; }
.muted { color: var(--muted); }
.accent { color: var(--teal); }
.underline-amber {
  background-image: linear-gradient(transparent 82%, rgba(255, 187, 47, .85) 82%, rgba(255, 187, 47, .85) 94%, transparent 94%);
  background-repeat: no-repeat;
}
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section.tight { padding: clamp(48px, 7vw, 84px) 0; }
.section.mist { background: var(--mist); }
.section.cream { background: var(--cream); }
.section.dark { background: var(--deep); color: #dfe9e8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font: 700 16px/1 var(--font); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-p { background: var(--teal); color: #fff; box-shadow: 0 8px 24px rgba(3, 120, 135, .28); }
.btn-p:hover { background: var(--teal-d); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px rgba(212, 168, 83, .35); }
.btn-gold:hover { background: #dfb766; color: var(--ink); }
.btn-g { background: #fff; color: var(--ink); border-color: var(--hair); }
.btn-g:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-dark:hover { border-color: var(--amber); color: var(--amber); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header / nav (matches the live teal bar + gold CTA) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(3, 120, 135, .94);
  backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 6px 24px rgba(15, 52, 56, .18);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1320px; }
.logo { display: inline-flex; color: #fff; width: 132px; flex: none; }
.logo svg { width: 100%; height: auto; }
.nav { display: flex; gap: 6px; align-items: center; flex: 1; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px;
  transition: background .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); box-shadow: inset 0 -2px 0 var(--amber); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-phone { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.header-phone:hover { color: var(--amber); }
.header-cta { padding: 12px 20px; font-size: 15px; border-radius: 10px; }
.menu-btn {
  display: none; margin-left: auto; background: transparent; border: 2px solid rgba(255, 255, 255, .5); color: #fff;
  border-radius: 10px; padding: 8px 12px; font: 700 14px var(--font); cursor: pointer;
}
@media (max-width: 980px) {
  .header-phone { display: none; }
}
.nav .m-only { display: none; }
@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .menu-btn { display: inline-flex; }
  .nav, .header-right { display: none; }
  .site-header.open .nav {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--teal); padding: 14px var(--pad) 22px; gap: 4px; border-bottom: 3px solid var(--gold);
    box-shadow: 0 20px 40px rgba(15, 52, 56, .25);
  }
  .site-header.open .nav a { font-size: 18px; padding: 12px 14px; }
  .site-header.open .nav .m-only { display: block; }
  .site-header.open .nav .m-cta { background: var(--gold); color: var(--ink); text-align: center; margin-top: 8px; }
  .logo { width: 118px; }
}

main { display: block; }
.page-top { padding-top: var(--nav-h); }

/* ---------- Prototype badge + motion switch ---------- */
.proto-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 90; display: flex; align-items: center; gap: 10px;
  background: rgba(31, 35, 36, .88); color: #f3efe6; border-radius: 999px; padding: 7px 8px 7px 14px;
  font: 600 12px/1 var(--font); letter-spacing: .02em; box-shadow: var(--shadow);
}
.proto-badge b { color: var(--amber); font-weight: 700; }
.motion-btn {
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  padding: 6px 10px; font: 600 12px/1 var(--font); cursor: pointer;
}
.motion-btn[aria-pressed="true"] { background: var(--amber); color: var(--ink); border-color: var(--amber); }
@media (max-width: 560px) {
  .proto-badge span.long { display: none; }
  .proto-badge { left: auto; right: 8px; bottom: auto; top: calc(var(--nav-h) + 8px); padding: 5px 5px 5px 10px; font-size: 11px; gap: 6px; }
  .proto-badge .motion-btn { padding: 5px 8px; font-size: 11px; }
}

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Reveal-on-scroll (disabled under reduced motion) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.motion-off .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- 3D tilt cards (CSS 3D, layered) ---------- */
.tilt-wrap { perspective: 1100px; }
.tilt {
  position: relative; display: block; text-decoration: none; color: inherit; border-radius: var(--radius-lg);
  transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s;
  background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow); min-height: 100%;
  --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.tilt:hover { box-shadow: var(--shadow-lg); color: inherit; }
.tilt .media {
  height: 190px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; transform: translateZ(0);
  background: var(--sand);
}
.tilt .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .5s; }
.tilt:hover .media img { transform: scale(1.1); }
.tilt .body { padding: 22px 24px 26px; transform: translateZ(36px); }
.tilt .num {
  position: absolute; top: 14px; left: 16px; transform: translateZ(60px); background: var(--paper); color: var(--teal);
  font: 800 13px/1 var(--font); padding: 8px 11px; border-radius: 999px; box-shadow: var(--shadow);
}
.tilt h3 { margin-bottom: 6px; }
.tilt p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.tilt .go { font-weight: 700; color: var(--teal); }

/* ---------- Proof strip ---------- */
.proof {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px;
  font-weight: 600; color: var(--ink);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.proof .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--hair); }
.proof-band { background: var(--teal); color: #fff; padding: 34px 0; }
.proof-band .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; text-align: center; }
.proof-band .big { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.proof-band .lbl { font-size: 14px; opacity: .92; margin-top: 6px; }
@media (max-width: 720px) { .proof-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; } }

/* ---------- Sticky 3D stage (shared) ---------- */
.stage-section { position: relative; }
.stage-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0;
}
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback {
  position: absolute; inset: 0; background-size: cover; background-position: center; display: none;
}
.no-webgl .stage-fallback { display: block; }
.stage-sticky .stage-fallback { background-position: 70% center; }
.stage-sticky .stage-fallback::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 250, .96) 0%, rgba(255, 253, 250, .82) 38%, rgba(255, 253, 250, .15) 72%, rgba(255, 253, 250, 0) 100%);
}
@media (max-width: 760px) {
  .stage-sticky .stage-fallback::after { background: linear-gradient(180deg, rgba(255, 253, 250, .1) 0%, rgba(255, 253, 250, .3) 40%, rgba(255, 253, 250, .92) 70%); }
}
.no-webgl .stage-canvas { display: none; }
.stage-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.stage-step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 20px) 0 40px; }
.stage-step .wrap { display: flex; }
.step-card {
  pointer-events: auto; width: min(440px, 100%); background: rgba(255, 253, 250, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(231, 225, 214, .9); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow-lg);
}
.step-card .eyebrow { margin-bottom: 8px; }
.step-card h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.step-card p { font-size: 16.5px; }
.step-card p:last-child { margin-bottom: 0; }
.step-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--sand); padding: 6px 12px; border-radius: 999px; margin-top: 4px;
}
.step-tag i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.right .wrap { justify-content: flex-end; }
@media (max-width: 760px) {
  .stage-step { align-items: flex-end; padding-bottom: 28px; }
  .step-card { padding: 20px 22px; }
  .step-card h2 { font-size: 26px; }
  .step-card p { font-size: 15.5px; }
}

/* Progress rail for scroll stories */
.rail {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.rail.show { opacity: 1; pointer-events: auto; }
.rail button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--teal); background: transparent; padding: 0; cursor: pointer;
}
.rail button[aria-current="step"] { background: var(--teal); transform: scale(1.25); }
@media (max-width: 760px) { .rail { display: none; } }

/* ---------- Home hero ---------- */
.hero-copy { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 60px; }
.hero-card { max-width: 560px; pointer-events: auto; }
.hero-card h1 { font-size: clamp(40px, 5.3vw, 70px); }
.hero-card h1 { margin-bottom: 18px; text-shadow: 0 2px 18px rgba(255, 253, 250, .9); }
.hero-card .lede { text-shadow: 0 1px 12px rgba(255, 253, 250, .95); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 600 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--deep); pointer-events: none;
}
.scroll-cue { transition: opacity .4s; }
.scrolled .scroll-cue { opacity: 0; }
.scroll-cue span { width: 2px; height: 34px; background: linear-gradient(var(--teal), transparent); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(.2); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(.2); transform-origin: bottom; } }
.motion-off .scroll-cue span { animation: none; }
.stage-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 70% 55%, rgba(255, 187, 47, .10), transparent 60%),
    radial-gradient(900px 600px at 20% 20%, rgba(3, 120, 135, .08), transparent 60%),
    linear-gradient(180deg, #fffdfa 0%, #f6f1e8 100%);
}
.hero-proof .dot { width: 4px; height: 4px; border-radius: 50%; background: #c9c2b5; }
.stage-step.hero-step { align-items: center; }
@media (max-width: 760px) {
  .stage-step.hero-step { align-items: flex-end; padding-bottom: 18px; }
  .hero-card {
    background: rgba(255, 253, 250, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(231, 225, 214, .9); border-radius: 22px; padding: 20px 20px 18px; box-shadow: var(--shadow-lg);
  }
  .hero-card .eyebrow { margin-bottom: 8px; font-size: 12px; }
  .hero-card h1 { font-size: 31px; margin-bottom: 10px; text-shadow: none; }
  .hero-card .lede { font-size: 15.5px; text-shadow: none; margin-bottom: 0; }
  .hero-card .btn-row { margin-top: 14px; gap: 8px; }
  .hero-card .btn { padding: 12px 15px; font-size: 14.5px; }
  .hero-proof { margin-top: 12px; font-size: 13px; gap: 6px 10px; }
  .scroll-cue { display: none; }
}

/* ---------- Price stairs (CSS 3D) ---------- */
.stairs { perspective: 1400px; display: flex; justify-content: center; }
.stairs-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; width: 100%; max-width: 980px;
  transform: rotateX(14deg); transform-style: preserve-3d;
}
.stair {
  position: relative; border-radius: 18px 18px 6px 6px; padding: 18px 18px 20px; color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); border: 1px solid var(--hair);
  box-shadow: 0 24px 40px rgba(15, 52, 56, .12); transform-style: preserve-3d; transition: transform .3s;
}
.stair:hover { transform: translateZ(26px) translateY(-6px); color: var(--ink); }
.stair::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 18px 18px 0 0; background: var(--c, var(--teal)); }
.stair .amt { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.stair .what { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.stair.s1 { min-height: 150px; } .stair.s2 { min-height: 190px; } .stair.s3 { min-height: 232px; } .stair.s4 { min-height: 280px; }
@media (max-width: 760px) {
  .stairs-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none; }
  .stair.s1, .stair.s2, .stair.s3, .stair.s4 { min-height: 0; }
}
.fine { font-size: 14px; color: var(--muted); max-width: 46em; }

/* ---------- Before / after (CSS 3D tilt + clip) ---------- */
.ba { perspective: 1300px; }
.ba-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #ddd;
  transform-style: preserve-3d; transition: transform .3s ease-out; --rx: 0deg; --ry: 0deg; --pos: 50%;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y;
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-frame .after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--amber); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%;
  background: var(--amber); color: var(--ink); font: 800 18px/50px var(--font); text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.ba-label {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(31, 35, 36, .72); color: #fff; pointer-events: none;
}
.ba-label.b { left: 14px; } .ba-label.a { right: 14px; background: rgba(3, 120, 135, .9); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-focus { outline: 3px solid var(--gold); }
.ba-focus { position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none; }
.ba-meta { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-top: 16px; flex-wrap: wrap; }
.ba-meta h3 { margin: 0; }
.ba-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ba-thumbs button {
  border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; width: 96px; height: 66px; cursor: pointer; background: var(--sand);
}
.ba-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.ba-thumbs button[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(3, 120, 135, .2); }

/* ---------- Reviews band over watercolor ---------- */
.reviews-band { position: relative; overflow: hidden; color: #fff; }
.reviews-band .bg {
  position: absolute; inset: -12% 0; background: url("../assets/img/wc-evening-firs.jpg") center/cover no-repeat; transform: translateY(var(--py, 0));
}
.reviews-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 52, 56, .55), rgba(15, 52, 56, .78)); }
.reviews-band .wrap { position: relative; z-index: 2; }
.reviews-band h2 { color: #fff; }
.quote {
  background: rgba(255, 253, 250, .96); color: var(--char); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); margin: 0;
}
.quote blockquote { margin: 0 0 14px; font-size: 16.5px; }
.quote figcaption { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.quote .stars { font-size: 15px; display: block; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--hair); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 18px; padding: 16px 40px 16px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; color: var(--teal); font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 52em; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--deep); color: #dfe9e8;
  padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band .art {
  position: absolute; right: -40px; bottom: -40px; width: 55%; height: 130%; background: url("../assets/img/wc-window-dusk.jpg") center/cover;
  opacity: .32; mask-image: linear-gradient(90deg, transparent, #000 50%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.cta-band > * { position: relative; }
.cta-band .contact-mini { font-size: 15px; line-height: 1.9; }
.cta-band .contact-mini a { color: var(--amber); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9cfcf; padding: 64px 0 90px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer .logo { width: 150px; margin-bottom: 14px; }
.site-footer a { color: #e8ecec; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer h4, .site-footer h2 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #9aa3a3; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(40px, 7vw, 90px)) 0 clamp(30px, 5vw, 60px); position: relative; }
.page-hero h1 { max-width: 15em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Price ladder explorer (bathrooms page) ---------- */
.ladder { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; align-items: stretch; min-height: min(620px, 76vh); }
.ladder-stage { position: relative; min-height: 460px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #fbf7ef 0%, #f1ece2 100%); }
.ladder-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.ladder-stage canvas:active { cursor: grabbing; }
.ladder-panel { background: #fff; border: 1px solid var(--hair); border-left: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.ladder-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ladder-tabs button {
  border: 1.5px solid var(--hair); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 700 14px/1 var(--font); cursor: pointer;
  transition: all .2s;
}
.ladder-tabs button:hover { border-color: var(--teal); }
.ladder-tabs button[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.ladder-price { font-size: clamp(36px, 4.2vw, 56px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin: 6px 0 10px; }
.ladder-price small { font-size: .42em; letter-spacing: 0; font-weight: 700; color: var(--muted); }
.ladder-panel ul { padding-left: 0; list-style: none; margin: 14px 0 18px; display: grid; gap: 8px; }
.ladder-panel li { position: relative; padding-left: 28px; }
.ladder-panel li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--chip, var(--teal)); }
.ladder-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair); }
.ladder-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ladder-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.drag-hint { position: absolute; left: 16px; bottom: 14px; font: 600 12.5px var(--font); color: var(--muted); background: rgba(255, 253, 250, .85); padding: 6px 11px; border-radius: 999px; }
@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; min-height: 0; }
  .ladder-stage { height: 62vh; min-height: 380px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .ladder-panel { border-left: 1px solid var(--hair); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

/* Project type chips */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.type { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px 22px; transition: transform .25s, box-shadow .25s; }
.type:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.type h3 { font-size: 18px; margin-bottom: 6px; }
.type p { font-size: 15px; margin: 0; color: var(--muted); }

/* ---------- Exploded layer stacks (services page, CSS 3D) ---------- */
.stacks { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .stacks { grid-template-columns: 1fr; } }
.stack-card { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.stack-scene { perspective: 1200px; min-height: 400px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 150px 0 36px; position: relative; }
.stack {
  position: relative; width: 210px; height: 210px; transform-style: preserve-3d; margin: 0 auto;
  transform: rotateX(58deg) rotateZ(-38deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  --gap: 10px;
}
.stack-card.open .stack, .stack-card:hover .stack { --gap: 34px; }
.layer {
  position: absolute; inset: 0; border-radius: 12px; transform: translateZ(calc(var(--i) * var(--gap)));
  transition: transform .8s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 20px rgba(0, 0, 0, .08);
}
.layer-labels { position: relative; display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: right; z-index: 2; }
.layer-labels span { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.layer-labels i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(0, 0, 0, .1); }
@media (max-width: 1180px) {
  .stack-scene { grid-template-columns: 1fr; padding-top: 150px; padding-bottom: 10px; }
  .layer-labels { text-align: left; margin-top: 46px; grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .layer-labels span { justify-content: flex-end; flex-direction: row-reverse; }
}
@media (max-width: 560px) {
  .stack { width: 160px; height: 160px; }
  .layer-labels { font-size: 12.5px; }
}
.toggle-explode { margin-top: 10px; }

/* ---------- Process ---------- */
.phase-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.phase-pill i { width: 10px; height: 10px; border-radius: 50%; }
.step-num { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; color: var(--teal); line-height: .9; margin-bottom: 8px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.member { text-align: center; }
.member .ph {
  aspect-ratio: 5 / 6; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--mist), #dfe9e6); margin-bottom: 12px;
  box-shadow: var(--shadow); transition: transform .3s;
}
.member:hover .ph { transform: translateY(-4px) rotate(-1deg); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.member h3 { font-size: 16.5px; margin: 0; }
.member p { font-size: 14px; color: var(--muted); margin: 2px 0 0; line-height: 1.35; }

/* ---------- Start page ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .start-grid { grid-template-columns: 1fr; } }
.map-stage { position: relative; height: min(640px, 78vh); min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(circle at 50% 40%, #fbf6ea, #efe7d6); box-shadow: var(--shadow); }
.map-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-stage .stage-fallback { background-image: url("../assets/img/wc-map-wseattle.jpg"); background-size: cover; background-position: 30% 70%; }
.map-pin-label {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: rgba(255, 253, 250, .94); border-radius: 999px; padding: 8px 14px;
  font: 700 13.5px var(--font); color: var(--ink); box-shadow: var(--shadow); white-space: nowrap;
}
form.start-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); font-size: 15px; }
.field input, .field select, .field textarea {
  font: 16px var(--font); padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--hair); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(3, 120, 135, .15); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--hair); border-radius: 999px; padding: 9px 14px; cursor: pointer; font-weight: 600; font-size: 14.5px;
  color: var(--ink); background: #fff;
}
.chips input { accent-color: var(--teal); }
.chips label:has(input:checked) { border-color: var(--teal); background: rgba(3, 120, 135, .08); }
.form-note { font-size: 14px; color: var(--muted); }
.proto-sent { display: none; background: var(--mist); border: 1px solid #cfe1dd; border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.proto-sent.show { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; }
.contact-list b { min-width: 74px; color: var(--ink); }

/* ---------- Services sample shelf ---------- */
.svc-stage .stage-bg { background: linear-gradient(180deg, #fffdfa 0%, #f3eee4 100%); }
.svc-card .num { font: 800 14px var(--font); color: var(--teal); letter-spacing: .08em; }
.price-note { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--ink); background: var(--sand); padding: 6px 12px; border-radius: 999px; font-size: 14px; }

/* Utility */
.mt0 { margin-top: 0; } .mt1 { margin-top: 12px; } .mt2 { margin-top: 24px; } .mt3 { margin-top: 40px; }
.mb0 { margin-bottom: 0; }
.maxw { max-width: 44em; }
.watercolor-strip {
  height: clamp(140px, 22vw, 260px); background: url("../assets/img/wc-fore-craftsman.jpg") center 70%/cover no-repeat;
  mask-image: linear-gradient(180deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .tilt, .ba-frame, .stack, .layer { transition: none; }
}

/* ---------- Process v2: the drive down California Ave SW ---------- */
.route-stage .stage-bg { background: radial-gradient(1100px 700px at 68% 45%, rgba(3, 120, 135, .07), transparent 60%), linear-gradient(180deg, #f7f2e8 0%, #ede6d8 100%); }
.route-stage .stage-canvas { transition: opacity .6s; }
.route-stage.is-loading .stage-canvas { opacity: 0; }
.route-stage.is-loading .stage-fallback { display: block; }
.route-fallback { background: #f2ece0 url("../assets/img/ws-route-static.jpg") no-repeat right 4% center / contain; }
.route-hero {
  background: rgba(255, 253, 250, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(231, 225, 214, .9); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: var(--shadow-lg); max-width: 520px;
}
.hero-card.route-hero h1 { font-size: clamp(34px, 3.9vw, 52px); text-shadow: none; }
.hero-card.route-hero .lede { text-shadow: none; }
.route-hero .proof { flex-wrap: wrap; gap: 8px 16px; }
.stop-tag {
  display: block; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--hair);
  font-size: 13.5px !important; font-weight: 600; color: var(--ink); line-height: 1.4;
}
.stop-tag::before {
  content: ""; display: inline-block; vertical-align: -3px; margin-right: 8px; width: 12px; height: 16px; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0a12 12 0 0 0-12 12c0 9 12 20 12 20s12-11 12-20A12 12 0 0 0 12 0zm0 16.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0a12 12 0 0 0-12 12c0 9 12 20 12 20s12-11 12-20A12 12 0 0 0 12 0zm0 16.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stop-tag span { color: var(--muted); font-weight: 500; }
.step-card .btn + .stop-tag { margin-top: 18px; }

.version-toggle {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 20px; pointer-events: auto;
  background: rgba(255, 253, 250, .95); border: 1px solid var(--hair); border-radius: 999px; box-shadow: var(--shadow);
}
.version-toggle a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font: 600 14px var(--font); color: var(--ink); text-decoration: none; }
.version-toggle a:hover { background: var(--sand); color: var(--ink); }
.version-toggle a[aria-current="page"] { background: var(--teal); color: #fff; }
.version-toggle span { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .72; }

/* nav-style heads-up display over the map (decorative; the step cards carry the text) */
.nav-hud { position: absolute; z-index: 3; bottom: 34px; right: 52px; width: min(370px, calc(100% - 32px)); display: grid; gap: 8px; pointer-events: none; transition: opacity .4s; --b1: 44%; --b2: 78%; }
.route-stage.is-loading .nav-hud, .nav-hud[data-mode="overview"] { opacity: 0; }
.no-webgl .nav-hud { display: none; }
.hud-top { display: flex; align-items: center; gap: 12px; background: var(--deep); color: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg); }
.hud-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .1); color: var(--amber); display: grid; place-items: center; }
.hud-icon svg { width: 23px; height: 23px; grid-area: 1 / 1; display: none; }
.nav-hud[data-mode="overview"] .i-map, .nav-hud[data-mode="drive"] .i-arrow, .nav-hud[data-mode="stop"] .i-pin { display: block; }
.hud-text { display: grid; line-height: 1.28; min-width: 0; }
.hud-text b { font-size: 15.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.hud-text span { font-size: 13.5px; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-bottom {
  display: flex; align-items: center; gap: 10px; justify-self: end; max-width: 100%;
  background: rgba(255, 253, 250, .95); border: 1px solid var(--hair); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow);
  font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.hud-bottom span:last-child { overflow: hidden; text-overflow: ellipsis; }
.hud-bar { flex: 0 0 96px; height: 6px; border-radius: 99px; background: #e6dfd2; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, var(--teal) 0 var(--b1), var(--orange) var(--b1) var(--b2), var(--gold) var(--b2)); }
.map-credit { position: absolute; z-index: 3; right: 10px; bottom: 8px; margin: 0; font-size: 11px; line-height: 1.4; color: var(--muted); background: rgba(255, 253, 250, .82); padding: 2px 8px; border-radius: 6px; }
.map-credit a { color: inherit; }
@media (max-width: 760px) {
  .route-fallback { background-position: center calc(var(--nav-h) + 8px); background-size: auto 62%; }
  .route-hero { padding: 20px 20px 18px; border-radius: 22px; }
  .hero-card.route-hero h1 { font-size: 29px; }
  .version-toggle { margin-top: 14px; }
  .version-toggle a { padding: 6px 11px; font-size: 13px; }
  .nav-hud { top: calc(var(--nav-h) + 50px); bottom: auto; left: 12px; right: 12px; width: auto; }
  .hud-top { padding: 9px 12px; border-radius: 14px; gap: 10px; }
  .hud-icon { width: 32px; height: 32px; border-radius: 9px; }
  .hud-icon svg { width: 19px; height: 19px; }
  .hud-text b { font-size: 14px; }
  .hud-text span { font-size: 12.5px; }
  .hud-bottom { display: none; }
  .map-credit { bottom: auto; top: calc(var(--nav-h) + 8px); right: auto; left: 10px; font-size: 10.5px; }
  .stop-tag { margin-top: 10px; padding-top: 9px; font-size: 13px !important; }
}
.home-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.home-note::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 83, .22); }
@media (max-width: 760px) { .home-note { font-size: 13.5px; } .route-hero .lede { font-size: 15px; } }
.route-stage .stage-sticky .stage-fallback::after { background: linear-gradient(90deg, rgba(255, 253, 250, .92) 0%, rgba(255, 253, 250, .6) 26%, rgba(255, 253, 250, 0) 40%); }
@media (max-width: 760px) { .route-stage .stage-sticky .stage-fallback::after { background: linear-gradient(180deg, rgba(255, 253, 250, 0) 45%, rgba(255, 253, 250, .85) 75%); } }
