/* ---------- Tokens: V1 Still Water (#1) ---------- */
:root {
  --fog-0: #efedea;
  --fog-1: #e4e0da;
  --fog-2: #ccc6bd;
  --slate: #625b52;        /* secondary text on fog, 5.3:1 */
  --slate-light: #a9a197;  /* secondary text on graphite */
  --graphite: #25221f;
  --ink: #1a1816;
  --line: #d6d0c7;
  --line-dark: #3a3632;
  --ember: #cfa86e;        /* the one accent: brushed bronze / champagne, the warm light in the scene */
  --ember-deep: #7d5c2c;   /* bronze for text on warm fog, 5.2:1 */
  --paper: #f8f6f3;

  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  --step-3: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.5rem + 4vw, 5rem);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --radius-pill: 999px;
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 220ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fog-0); color: var(--ink); font: 400 var(--step-0)/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--ink); color: var(--fog-0); }
:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--ember); }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--fog-0); padding: 12px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.sample { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; border: 1px solid currentColor; border-radius: 4px; opacity: .8; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill); border: 1px solid transparent; font: 500 var(--step-0)/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--fog-0); }
.btn-dark:hover { background: #34302b; }
.btn-light { background: var(--fog-0); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(26,24,22,.06); }
.dark .btn-ghost:hover { background: rgba(239,237,234,.08); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--fog-2); color: #474139; cursor: not-allowed; transform: none; }
.btn[disabled] svg { transform: none; }
.link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--fog-2); transition: text-decoration-color var(--dur) var(--ease); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: var(--fog-1); font-size: var(--step--1); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; position: relative; padding-right: 44px; }
.announce a { color: #fff; }
.announce button { position: absolute; right: 0; top: 0; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; display: grid; place-items: center; }
.announce button svg { width: 16px; height: 16px; }
.announce[hidden] { display: none; }

.site-header { position: absolute; inset: auto 0 auto 0; z-index: 20; }
.nav { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; font-size: 1.05rem; min-height: 44px; }
.wm { display: inline-flex; align-items: center; gap: 12px; }
.wm img { display: block; height: 40px; width: auto; }
.wm .logo-light { display: none; }
footer.site .wm img { height: 44px; }
footer.site .wm .logo-light { display: block; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto 0 12px; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; font: 500 .95rem/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.menu a:hover, .menu button:hover { background: rgba(26,24,22,.06); }
.menu button svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.menu button[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; list-style: none; margin: 0; box-shadow: 0 18px 40px -18px rgba(26,24,22,.35); }
.dropdown[hidden] { display: none; }
.dropdown a { display: flex; width: 100%; min-height: 44px; padding: 0 12px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--fog-2); background: var(--fog-0); color: var(--ink); cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }
.mobile-panel { display: none; }

@media (max-width: 1279px) { /* full menu needs ≥1280px inside the pill */
  .menu { display: none; }
  .burger { display: grid; }
  .nav { justify-content: space-between; }
  .mobile-panel { position: fixed; inset: 0; z-index: 50; background: var(--fog-0); padding: 20px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel .top { display: flex; justify-content: space-between; align-items: center; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .mobile-panel li a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.25rem; }
  .mobile-panel .sub a { font-size: 1rem; min-height: 48px; padding-left: 16px; color: var(--slate); }
  /* quote + call stay in view at the bottom of the panel; the list scrolls above them */
  .mobile-panel { gap: 16px; padding-bottom: 0; }
  .mobile-panel li a { min-height: 52px; }
  .mobile-panel .sub a { min-height: 44px; }
  .mobile-panel .m-actions { position: sticky; bottom: 0; margin-top: auto; display: grid; gap: 10px; padding: 14px 0 calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(248,246,243,0), var(--fog-0) 18%); }
  .mobile-panel .m-actions .btn { min-height: 48px; }
}
@media (max-width: 720px) {
  .nav-right .phone span, .nav-right .btn { display: none; }
  .nav-right .phone { width: 48px; height: 48px; justify-content: center; border: 1px solid var(--fog-2); border-radius: 50%; }
}

/* ---------- Hero: the counter horizon ---------- */
.hero { position: relative; min-height: max(760px, calc(100svh - 44px)); overflow: hidden; color: var(--ink); isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -1; }
.wall { position: absolute; inset: 0 0 32% 0;
  background:
    radial-gradient(60% 70% at 78% 95%, rgba(214,176,120,.22), transparent 70%),
    linear-gradient(180deg, #efedea 0%, #e5e1db 45%, #cbc5bc 100%); }
.wall::after { content: ""; position: absolute; inset: 0; background: url(../stone/fog.svg) center/cover; opacity: .55; mix-blend-mode: multiply; }
.counter { position: absolute; inset: 68% 0 0 0; overflow: hidden; perspective: 700px; perspective-origin: 50% 0; background: #100e0c; }
.counter .stone { position: absolute; left: -150%; width: 400%; height: 320%; top: 0; background: url(../stone/nero.svg) 40% 0 / 1500px auto repeat; transform: rotateX(66deg); transform-origin: 50% 0; filter: brightness(.95) contrast(1.1); }
.counter::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(204,198,189,.42) 0%, rgba(204,198,189,.12) 22%, rgba(16,14,12,0) 50%, rgba(16,14,12,.55) 100%); }
.counter::after { /* the ember reflection: a long soft streak under the pendant */
  content: ""; position: absolute; z-index: 2; left: calc(78% - 70px); width: 140px; top: -2%; height: 90%;
  background: radial-gradient(50% 50% at 50% 30%, rgba(214,176,120,.75), rgba(214,176,120,.18) 55%, transparent 75%);
  filter: blur(14px); mix-blend-mode: screen; }
.edge { position: absolute; left: 0; right: 0; top: 68%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.6) 70%, rgba(255,255,255,.15)); z-index: 3; }
.pendant { position: absolute; left: 78%; top: 96px; height: calc(46% - 96px); width: 0; z-index: 2; }
.pendant::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, rgba(43,40,36,0), #2b2824 40%); }
.pendant span { position: absolute; left: -34px; bottom: -34px; width: 68px; height: 36px; background: linear-gradient(180deg, #2b2824, #1a1816); border-radius: 34px 34px 4px 4px; }
.pendant span::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -3px; height: 4px; border-radius: 50%; background: #f6e2bf; box-shadow: 0 6px 30px 10px rgba(214,176,120,.45), 0 30px 120px 60px rgba(214,176,120,.16); }

.hero-inner { position: relative; padding-top: clamp(130px, 15vh, 170px); display: grid; min-height: inherit; grid-template-rows: auto 1fr auto; }
.hero-copy { max-width: 1000px; }
.rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 400 .85rem/1.3 var(--mono); color: var(--slate); margin-bottom: 22px; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 13px; height: 13px; }
.hero h1 { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 .quiet { color: var(--slate); }
.hero .sub { margin-top: 22px; max-width: 52ch; color: #443e37; }
.hero .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; }
.proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: var(--step--1); color: #443e37; }
.proof .chips { display: flex; }
.proof .chips i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--fog-1); background-size: cover; margin-left: -8px; }
.proof .chips i:first-child { margin-left: 0; }
.hero-notes { list-style: none; margin: 0; padding: 26px 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); color: #e7e2db; font-size: var(--step--1); line-height: 1.45; }
.hero-notes li { display: flex; gap: 14px; align-items: flex-start; padding: 0 28px; border-left: 1px solid rgba(231,226,219,.2); }
.hero-notes li:first-child { padding-left: 0; border-left: 0; }
.hero-notes svg { flex: none; width: 26px; height: 26px; color: #e7e2db; }

@media (max-width: 860px) {
  .hero { min-height: 860px; }
  .wall { bottom: 30%; }
  .counter { top: 70%; }
  .edge { top: 70%; }
  .pendant { left: 82%; height: calc(40% - 96px); }
  .pendant span { width: 52px; height: 28px; left: -26px; bottom: -28px; }
  .counter::after { left: calc(82% - 60px); width: 120px; }
  .hero-notes { grid-template-columns: 1fr; gap: 14px; padding-bottom: 40px; }
  .hero-notes li { padding: 0; border: 0; }
}
@media (max-width: 480px) {
  .hero { min-height: 900px; }
  .pendant { display: none; }
  .counter::after { left: calc(50% - 60px); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(80px, 11vw, 160px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: var(--step-3); }
.sec-head p { color: var(--slate); max-width: 52ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.dark { background: var(--graphite); color: var(--fog-0); }
.dark .sec-head p, .dark .muted { color: var(--slate-light); }

/* Trust */
/* Trust bar: real facts + Faro's commercial clients (rules for it are in the "Home launch" block at the end) */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; list-style: none; margin: 0; padding: 0; }
.svc a { display: grid; gap: 16px; text-decoration: none; }
.svc .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--fog-2); }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.svc a:hover .ph img { transform: scale(1.04); }
.svc h3 { font-size: var(--step-1); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.svc h3 svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.svc a:hover h3 svg { transform: translateX(4px); }
.svc p { color: var(--slate); font-size: var(--step--1); margin-top: -8px; max-width: 36ch; }
.new { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ember-deep); margin-left: 8px; }
.ph .tag { position: absolute; left: 12px; bottom: 12px; font: 400 11px/1.2 var(--mono); color: #fff; background: rgba(26,24,22,.55); padding: 5px 8px; border-radius: 6px; }
.ph .fluted { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 6px, rgba(0,0,0,.18) 6px 9px, rgba(0,0,0,0) 9px 22px); mix-blend-mode: overlay; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; gap: 40px; } }

/* In-house */
.film { position: relative; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: #100e0c; }
.film img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16,14,12,.8)); }
.film .play { position: absolute; z-index: 2; left: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 44px); display: flex; align-items: center; gap: 16px; background: none; border: 0; color: var(--fog-0); font: 500 var(--step-0)/1.3 var(--sans); cursor: pointer; text-align: left; }
.film .play i { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(239,237,234,.6); display: grid; place-items: center; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.film .play:hover i { background: rgba(239,237,234,.12); border-color: var(--fog-0); }
.film .play svg { width: 18px; height: 18px; margin-left: 3px; }
.film .play small { display: block; font: 400 12px/1.4 var(--mono); color: var(--slate-light); }
.film .toast { position: absolute; z-index: 3; right: 20px; top: 20px; max-width: 320px; background: var(--fog-0); color: var(--ink); border-radius: 10px; padding: 12px 14px; font-size: var(--step--1); }
.film .toast[hidden] { display: none; }
.film-lb { padding: 0; border: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #100e0c; overflow: hidden; }
.film-lb[open] { display: grid; place-items: center; }
.film-lb::backdrop { background: #100e0c; }
.film-lb video { width: 100%; height: 100%; max-height: 100dvh; object-fit: contain; background: #100e0c; }
.film-x { position: absolute; z-index: 2; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(239,237,234,.3); background: rgba(16,14,12,.6); color: var(--fog-0); display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur) var(--ease); }
.film-x:hover { background: rgba(239,237,234,.14); }
.film-x:focus-visible, .film .play:focus-visible { outline: 2px solid var(--fog-0); outline-offset: 3px; }
.film-x svg { width: 22px; height: 22px; }
.steps3 { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps3 li { display: grid; gap: 14px; align-content: start; }
.steps3 .diagram { height: 120px; border-bottom: 1px solid var(--line-dark); padding-bottom: 18px; }
.steps3 .diagram svg { height: 100%; width: auto; color: var(--fog-1); }
.steps3 h3 { font-size: var(--step-1); }
.steps3 p { color: var(--slate-light); font-size: .98rem; max-width: 38ch; }
.arrow-join { color: var(--ember); }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } .film { aspect-ratio: 4 / 3; } }

/* Quote teaser */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.quote h2 { font-size: var(--step-3); }
.quote .lede { color: var(--slate); margin-top: 18px; max-width: 42ch; }
.quote ul.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: var(--step--1); color: #443e37; }
.quote ul.facts li { display: flex; gap: 10px; }
.quote ul.facts svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 30px 60px -40px rgba(26,24,22,.35); }
.tool-top { display: flex; justify-content: space-between; align-items: center; font: 400 12px/1 var(--mono); color: var(--slate); }
.progress { height: 3px; background: var(--fog-1); border-radius: 3px; margin: 14px 0 26px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 20%; background: var(--ink); }
.tool legend { font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; padding: 0; }
.tool fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); font-weight: 500; }
.choice label svg { width: 22px; height: 22px; color: var(--slate); flex: none; }
.choice input:hover + label { border-color: var(--slate); }
.choice input:focus-visible + label { outline: 2px solid var(--ember-deep); outline-offset: 2px; }
.choice input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--fog-0); }
.choice input:checked + label svg { color: var(--ember); }
.choice.wide { grid-column: 1 / -1; }
.tool-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.tool-foot p { font-size: var(--step--1); color: var(--slate); max-width: 30ch; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .choices { grid-template-columns: 1fr; } }

/* Visualizer teaser */
.viz { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.room { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #e2ddd6, #c8cdce); }
.room .window { position: absolute; left: 8%; top: 10%; width: 30%; height: 44%; border: 10px solid #cfd4d5; background: linear-gradient(180deg, #f7f5f2, #e6e2dc); }
.room .shelf { position: absolute; right: 10%; top: 26%; width: 30%; height: 3px; background: #a39a8f; }
.room .island { position: absolute; left: 12%; right: 12%; bottom: 14%; height: 30%; }
.room .top { position: absolute; left: 0; right: 0; top: 0; height: 26%; transform: perspective(600px) rotateX(55deg); transform-origin: 50% 100%; background-size: cover; background-position: center; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset; transition: background-image 300ms var(--ease); }
.room .front { position: absolute; left: 0; right: 0; top: 26%; height: 9%; background-size: cover; background-position: center 60%; filter: brightness(.82); }
.room .base { position: absolute; left: 1.5%; right: 1.5%; top: 35%; bottom: 0; background: #2b2824; }
.room .base::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 24.6%, rgba(255,255,255,.08) 24.6% 24.8%); }
.room .floor { position: absolute; inset: 86% 0 0 0; background: #b8b0a5; }
.room .label { position: absolute; left: 14px; top: 14px; font: 400 12px/1.2 var(--mono); background: rgba(248,246,243,.9); padding: 6px 9px; border-radius: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.swatch label { display: block; width: 56px; height: 56px; border-radius: 50%; background-size: 260%; background-position: center; border: 1px solid var(--line); cursor: pointer; box-shadow: 0 0 0 0 var(--ink); transition: box-shadow var(--dur) var(--ease); }
.swatch input:checked + label { box-shadow: 0 0 0 3px var(--fog-0), 0 0 0 4px var(--ink); }
.swatch input:focus-visible + label { outline: 2px solid var(--ember-deep); outline-offset: 5px; }
.swatch-name { font: 400 .85rem/1.4 var(--mono); color: var(--slate); min-height: 1.4em; }
@media (max-width: 960px) { .viz { grid-template-columns: 1fr; } }

/* Materials */
.mats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.mat .slab { aspect-ratio: 2 / 3.4; border-radius: 10px; overflow: hidden; background: var(--fog-2); box-shadow: 0 20px 30px -24px rgba(26,24,22,.6); transition: transform 400ms var(--ease); }
.mat a { text-decoration: none; display: grid; gap: 14px; }
.mat a:hover .slab { transform: translateY(-6px); }
.mat .slab img { width: 100%; height: 100%; object-fit: cover; }
.mat h3 { font-size: var(--step-1); display: flex; justify-content: space-between; align-items: baseline; }
.mat .tier { font: 400 .85rem/1 var(--mono); color: var(--slate); letter-spacing: .08em; }
.mat .tier b { color: var(--ink); font-weight: 500; }
.mat p { color: var(--slate); font-size: var(--step--1); margin-top: -6px; }
.after-link { margin-top: 36px; }
@media (max-width: 960px) { .mats { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .mat { scroll-snap-align: start; } }

/* Process timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-dark); }
.timeline li { position: relative; padding-top: 38px; padding-right: 28px; display: grid; gap: 10px; align-content: start; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--graphite); border: 1px solid var(--slate-light); }
.timeline li:last-child::before { background: var(--ember); border-color: var(--ember); }
.timeline .when { font: 400 .85rem/1.3 var(--mono); color: var(--ember); }
.timeline h3 { font-size: var(--step-1); }
.timeline p { color: var(--slate-light); font-size: .96rem; }
.total { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; justify-content: space-between; }
.total strong { font-size: var(--step-2); font-weight: 400; letter-spacing: -0.02em; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 0 40px; }
}

/* Projects */
.projects { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 28px; list-style: none; margin: 0; padding: 0; }
.projects li:first-child { grid-row: span 2; }
.proj a { display: grid; gap: 14px; text-decoration: none; height: 100%; grid-template-rows: 1fr auto; }
.proj .ph { border-radius: var(--radius); overflow: hidden; min-height: 240px; position: relative; background: var(--fog-2); }
.proj .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.proj a:hover .ph img { transform: scale(1.03); }
.proj h3 { font-size: var(--step-1); }
.proj p { font-size: var(--step--1); color: var(--slate); }
@media (max-width: 860px) { .projects { grid-template-columns: 1fr; } .projects li:first-child { grid-row: auto; } .proj .ph { aspect-ratio: 4 / 3; min-height: 0; } }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews-head h2 { font-size: var(--step-3); }
.carousel-ctrl { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--fog-2); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.round:hover { border-color: var(--ink); }
.round[disabled] { opacity: .35; cursor: not-allowed; border-color: var(--fog-2); }
.round svg { width: 18px; height: 18px; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 86%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--fog-2) transparent; }
.track blockquote { margin: 0; scroll-snap-align: start; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); display: grid; gap: 22px; align-content: space-between; }
.track blockquote p { font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.01em; }
.track footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: var(--step--1); color: var(--slate); flex-wrap: wrap; }
.note { font-size: var(--step--1); color: var(--slate); margin-top: 22px; }

/* Area + FAQ */
.area-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 8vw, 120px); }
.area h2, .faq h2 { font-size: var(--step-2); margin-bottom: 24px; }
.cities { list-style: none; margin: 0 0 20px; padding: 0; columns: 2; column-gap: 24px; }
.cities li { break-inside: avoid; }
.cities a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left var(--dur) var(--ease); }
.cities a:hover { padding-left: 6px; }
.area p { color: var(--slate); font-size: var(--step--1); margin-bottom: 8px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; font-size: var(--step-1); line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
details[open] summary svg { transform: rotate(45deg); }
details .ans { padding: 0 0 24px; color: #443e37; max-width: 62ch; }
details .ans a { font-weight: 500; }
@media (max-width: 960px) { .area-faq { grid-template-columns: 1fr; } }

/* Final CTA */
.final { position: relative; overflow: hidden; color: var(--fog-0); background: #100e0c; isolation: isolate; }
.final .bg { position: absolute; inset: 0; z-index: -1; perspective: 700px; perspective-origin: 50% 0; }
.final .bg .stone { position: absolute; left: -150%; width: 400%; height: 320%; top: 38%; background: url(../stone/nero.svg) 60% 0 / 1500px auto repeat; transform: rotateX(66deg); transform-origin: 50% 0; filter: brightness(.85); }
.final .bg::before { content: ""; position: absolute; inset: 0 0 62% 0; background: linear-gradient(180deg, #1f1c19, #312d28); z-index: 1; }
.final .bg::after { content: ""; position: absolute; left: 50%; top: 20%; width: 180px; margin-left: -90px; height: 80%; background: radial-gradient(50% 50% at 50% 30%, rgba(214,176,120,.6), transparent 70%); filter: blur(18px); mix-blend-mode: screen; z-index: 2; }
.final .wrap { text-align: center; display: grid; justify-items: center; gap: 22px; padding-block: clamp(100px, 13vw, 180px); position: relative; z-index: 3; }
.final h2 { font-size: var(--step-4); max-width: 16ch; }
.final p { color: #cfc8be; max-width: 46ch; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: center; align-items: center; margin-top: 8px; }
.final .phone-big { font-size: var(--step-1); }

/* Footer */
footer.site { background: var(--ink); color: #cfc8be; font-size: var(--step--1); }
footer.site .wrap { padding-block: 72px 40px; }
.f-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.f-grid h3 { font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--slate-light); margin-bottom: 16px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.f-grid a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #ece8e2; }
.f-grid a:hover { text-decoration: underline; }
.f-grid address { font-style: normal; line-height: 1.8; }
.f-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--slate-light); }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr; } }

/* Chat */
.chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--ink); color: var(--fog-0); border: 1px solid #403b35; cursor: pointer; font: 500 .95rem/1 var(--sans); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform var(--dur) var(--ease); }
.chat-btn:hover { transform: translateY(-2px); }
.chat-btn svg { width: 20px; height: 20px; }
.chat-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.chat { position: fixed; right: 20px; bottom: 84px; z-index: 41; width: min(380px, calc(100vw - 40px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(26,24,22,.45); overflow: hidden; }
.chat[hidden] { display: none; }
.chat header { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px 14px 18px; border-bottom: 1px solid var(--line); }
.chat header strong { font-weight: 600; }
.chat header small { display: block; color: var(--slate); font-size: 12px; }
.chat .x { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); border-radius: 50%; }
.chat .x:hover { background: var(--fog-1); }
.chat .x svg { width: 18px; height: 18px; }
.chat .msgs { padding: 18px; display: grid; gap: 10px; max-height: 300px; overflow-y: auto; font-size: .95rem; }
.bubble { background: var(--fog-1); padding: 12px 14px; border-radius: 14px 14px 14px 4px; max-width: 90%; }
.bubble.me { background: var(--ink); color: var(--fog-0); justify-self: end; border-radius: 14px 14px 4px 14px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 500 .85rem/1 var(--sans); color: var(--ink); }
.quick button:hover { border-color: var(--ink); }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat input { flex: 1; min-height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--fog-2); font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.chat input::placeholder { color: #6d665d; }
.chat input:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 1px; }
.chat input[aria-invalid="true"] { border-color: #a3311f; }
.chat .err { color: #a3311f; font-size: 12px; padding: 0 18px 10px; }
.chat .err:empty { display: none; }
.chat form .btn { min-height: 46px; padding: 0 16px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--slate); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

/* Motion: one moment. The pendant light warms up on load, the headline settles. */
@media (prefers-reduced-motion: no-preference) {
  .pendant span::after { animation: warm 1600ms var(--ease) both 200ms; }
  .counter::after { animation: warm-r 2200ms var(--ease) both 300ms; }
  .hero-copy > * { animation: settle 900ms var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 80ms; } .hero-copy > *:nth-child(3) { animation-delay: 160ms; } .hero-copy > *:nth-child(n+4) { animation-delay: 240ms; }
}
@keyframes warm { from { opacity: 0; box-shadow: none; } }
@keyframes warm-r { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }


/* ---------- Skeleton pages (inner pages until each is designed) ---------- */
.page-hero { padding: clamp(150px, 18vw, 210px) 0 clamp(40px, 6vw, 72px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ember-deep); margin: 0 0 14px; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400; margin: 0; max-width: 18ch; }
.page-hero .lede { margin: 18px 0 0; max-width: 58ch; color: var(--slate); font-size: 18px; }
section.skeleton { padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 8vw, 104px); }
.outline { max-width: 820px; border: 1px dashed var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); background: #fff; }
.outline h2 { font-size: 22px; font-weight: 500; margin: 0; }
.outline .spec-ref { font-family: var(--mono); font-size: 13px; color: var(--slate); margin: 6px 0 18px; }
.outline ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink); }
.outline li.sub { margin-left: 18px; color: var(--slate); }

/* ======================================================================
   App-style screens — pages opt in with <body data-snap>.
   Each [data-screen] fills the viewport; on desktop/tablet the page snaps
   screen by screen, and each screen's content animates in when it arrives.
   Phones keep full-height screens and the animations, but scroll freely,
   and long card rows become swipe carousels.
   ====================================================================== */
:root { --hdr: 84px; --announce-h: 0px; }

/* Header becomes a fixed app bar; compact and solid once you leave the first screen */
body[data-snap] .site-header { position: fixed; top: var(--announce-h); left: 0; right: 0; transition: top 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
body[data-snap].is-scrolled .site-header { top: 0; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
/* the bar height changes without animating (animating height causes jank); colour and shadow fade */
body[data-snap].is-scrolled .nav { min-height: 68px; }
body[data-snap].is-scrolled { --hdr: 68px; }

/* Screens */
body[data-snap] [data-screen] { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
body[data-snap] main > section.pad[data-screen] { padding-block: calc(var(--hdr) + clamp(12px, 3vh, 40px)) clamp(20px, 4vh, 56px); }
body[data-snap] .screen-hero { min-height: 0; height: calc(100vh - var(--announce-h)); height: calc(100dvh - var(--announce-h)); min-height: 600px; justify-content: stretch; }
body[data-snap] .screen-hero .hero { min-height: 0; flex: 1; display: flex; flex-direction: column; }
body[data-snap] .screen-hero .hero-inner { flex: 1; min-height: 0; }
body[data-snap] .final[data-screen] .wrap { padding-block: calc(var(--hdr) + 24px) 48px; }

/* Tighter rhythm so each section fits one screen (heights follow the viewport) */
body[data-snap] .sec-head { margin-bottom: clamp(20px, 4vh, 56px); }
body[data-snap] .services { gap: clamp(18px, 3vh, 40px) 28px; }
body[data-snap] .svc a { gap: 10px; }
body[data-snap] .svc .ph { aspect-ratio: auto; height: clamp(80px, 17vh, 230px); }
body[data-snap] .film { aspect-ratio: auto; height: clamp(100px, 25vh, 340px); }
body[data-snap] .steps3 { margin-top: clamp(18px, 3.5vh, 56px); gap: 32px; }
body[data-snap] .steps3 .diagram { height: clamp(40px, 7.5vh, 120px); padding-bottom: 12px; }
body[data-snap] .mat .slab { aspect-ratio: auto; height: clamp(140px, 33vh, 360px); }
body[data-snap] .projects { gap: clamp(16px, 2.5vh, 28px) 28px; }
body[data-snap] .proj .ph { min-height: clamp(110px, 17vh, 240px); }
body[data-snap] .after-link { margin-top: clamp(14px, 2.5vh, 36px); }
body[data-snap] .total { margin-top: clamp(20px, 4vh, 48px); }
/* Shorter laptop screens: slightly smaller section headings so every screen still fits */
@media (min-width: 768px) and (max-height: 820px) {
  body[data-snap] .sec-head h2 { font-size: clamp(28px, 2.2vw + 2.2vh, 52px); }
  body[data-snap] .sec-head { gap: 12px 48px; }
}

/* Snapping: desktop and tablet only (phones would trap content taller than the screen) */
@media (min-width: 768px) and (min-height: 600px) {
  html:has(body[data-snap]) { scroll-snap-type: y mandatory; }
  body[data-snap] [data-screen] { scroll-snap-align: start; scroll-snap-stop: always; }
  body[data-snap].has-announce .announce { scroll-snap-align: start; }
  body[data-snap].has-announce .screen-hero { scroll-snap-align: none; }
  body[data-snap] footer.site { scroll-snap-align: end; }
}

/* Phones: long card rows become swipe carousels */
@media (max-width: 767px) {
  /* no snapping here, so the first screen grows to fit: hero fills the screen, trust strip follows */
  body[data-snap] .screen-hero { height: auto; min-height: 0; }
  body[data-snap] .screen-hero .hero { flex: none; min-height: calc(100svh - var(--announce-h)); }
  body[data-snap] .services, body[data-snap] .projects {
    display: grid; grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none; grid-template-rows: none;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
  }
  body[data-snap] .services > li, body[data-snap] .projects > li { scroll-snap-align: start; }
  body[data-snap] .projects li:first-child { grid-row: auto; }
  body[data-snap] .proj .ph { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Screen dots (desktop): where you are, and a way to jump */
.screen-dots { position: fixed; right: clamp(12px, 1.6vw, 28px); top: 50%; transform: translateY(-50%); z-index: 30; mix-blend-mode: difference; }
.screen-dots ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.screen-dots a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 44px; height: 26px; color: #fff; text-decoration: none; }
.screen-dots a::after { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid #fff; transition: transform 200ms var(--ease), background-color 200ms var(--ease); }
.screen-dots a[aria-current="true"]::after { background: #fff; transform: scale(1.35); }
.screen-dots a span { position: absolute; right: 36px; white-space: nowrap; font: 400 12px/1 var(--mono); letter-spacing: .02em; opacity: 0; transform: translateX(6px); transition: opacity 180ms var(--ease), transform 180ms var(--ease); pointer-events: none; }
.screen-dots a:hover span, .screen-dots a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 1023px), (max-height: 599px) { .screen-dots { display: none; } }

/* Reveal: each screen's elements rise in, one after another, every time the screen arrives
   (scrolling down or up). Keyframe animations, not transitions, so buttons and cards keep
   their own hover transitions; no forwards fill, so elements return to their own styles after. */
@keyframes screen-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes screen-fade { from { opacity: 0; } to { opacity: 1; } }
.reveal-on [data-screen]:not(.is-in) [data-reveal] { opacity: 0; }
.reveal-on [data-screen].is-in [data-reveal] { animation: screen-rise 800ms var(--ease) backwards; animation-delay: calc(var(--ri, 0) * 70ms); }
.reveal-on .screen-hero:not(.is-in) .scene { opacity: 0; }
.reveal-on .screen-hero.is-in .scene { animation: screen-fade 1100ms var(--ease) backwards; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-screen].is-in [data-reveal] { animation: screen-fade 200ms linear backwards; animation-delay: 0ms; }
}


/* ----------------------------------------------------------------------
   Hero photo (feedback #1–#2, 2026-09-27). Illustrative AI image until Faro's own photos arrive.
   Readability is attached to the text, not to screen percentages, so it holds at every size:
   - the three notes carry their own dark band (note #2),
   - a light band sits behind the menu,
   - a light fade sits behind the headline: left-to-right on landscape screens, top-down on portrait.
   ---------------------------------------------------------------------- */
.hero {
  --hero-menu-fade: linear-gradient(to bottom, rgba(245,241,235,.82) 0%, rgba(245,241,235,.55) 12%, rgba(245,241,235,0) 22%);
  --hero-text-fade: linear-gradient(to right, rgba(245,241,235,.62) 0%, rgba(245,241,235,.4) 48%, rgba(245,241,235,0) 74%);
  background: var(--hero-text-fade),
    url(../img/hero-lobby.webp) 70% 50% / cover no-repeat, var(--fog-1, #e9e4dc);
}
.hero .scene { display: none; }
@media (min-width: 768px) and (max-width: 1180px) and (orientation: landscape) {
  .hero { --hero-text-fade: linear-gradient(to right, rgba(245,241,235,.8) 0%, rgba(245,241,235,.68) 60%, rgba(245,241,235,.3) 82%, rgba(245,241,235,0) 94%); }
}
@media (orientation: portrait) {
  /* Portrait screens: the text runs full width, so the fade runs top-down behind all of it */
  .hero {
    --hero-text-fade: linear-gradient(to bottom, rgba(245,241,235,.88) 0%, rgba(245,241,235,.8) 60%, rgba(245,241,235,.62) 100%);
    background-position: 0 0, 76% 50%, 0 0;
  }
}
/* 'See our work' sits right above the notes band on short screens: give it its own soft plate */
.hero .ctas .link { background: rgba(245,241,235,.88); padding: 8px 14px; margin-left: -2px; border-radius: 999px; }
@media (max-width: 767px) {
}

/* ======================================================================
   Pills (feedback, 2026-09-27): the menu floats as a pill that changes colour with the
   section behind it, and the hero's three notes sit in a pill. Semi-opaque solid colour,
   no backdrop blur (studio guardrail); contrast checked at every size.
   ====================================================================== */
:root { --pill-light: rgba(248,246,243,.88); --pill-dark: rgba(26,24,22,.84); --pill-line-light: rgba(26,24,22,.08); --pill-line-dark: rgba(255,255,255,.1); }
body[data-snap] { --hdr: 92px; }
body[data-snap].is-scrolled { --hdr: 84px; }
body[data-snap] .site-header, body[data-snap].is-scrolled .site-header { background: none; box-shadow: none; padding-top: 12px; pointer-events: none; }
body[data-snap].is-scrolled .site-header { padding-top: 8px; }
body[data-snap] .site-header .nav {
  pointer-events: auto; min-height: 64px; padding: 0 8px 0 22px; border-radius: 999px;
  background: var(--pill-light); box-shadow: 0 0 0 1px var(--pill-line-light), 0 12px 32px -18px rgba(26,24,22,.45);
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease), color 300ms var(--ease);
}
body[data-snap].is-scrolled .nav { min-height: 64px; }
body[data-snap] .site-header .nav .btn { min-height: 48px; }
/* dark sections: dark pill, light type, light wordmark alone (the monogram's cut-out is for light grounds) */
body[data-snap].on-dark .site-header .nav { background: var(--pill-dark); box-shadow: 0 0 0 1px var(--pill-line-dark), 0 12px 32px -18px rgba(0,0,0,.6); }
body[data-snap].on-dark .site-header .wm .logo-dark { display: none; }
body[data-snap].on-dark .site-header .wm .logo-light { display: block; }
body[data-snap].on-dark .site-header .menu a, body[data-snap].on-dark .site-header .menu button, body[data-snap].on-dark .site-header .phone { color: var(--fog-0); }
body[data-snap].on-dark .site-header .menu a:hover, body[data-snap].on-dark .site-header .menu button:hover { background: rgba(255,255,255,.08); }
body[data-snap].on-dark .site-header .nav .btn-dark { background: var(--fog-0); color: var(--ink); }
body[data-snap].on-dark .site-header .burger, body[data-snap].on-dark .site-header .nav-right .phone { border-color: rgba(255,255,255,.25); background: transparent; color: var(--fog-0); }
@media (max-width: 720px) {
  body[data-snap] .site-header .nav { min-height: 60px; padding: 0 6px 0 16px; }
  .wm img { height: 34px; }
}

/* hero notes: a translucent dark pill instead of a full-width band */
.hero-notes {
  background: var(--pill-dark); border-radius: 999px; padding: 14px 30px; margin-bottom: 22px;
  box-shadow: 0 0 0 1px var(--pill-line-dark), 0 18px 40px -24px rgba(0,0,0,.7);
}
@media (max-width: 767px) {
  .hero-notes { border-radius: 26px; padding: 16px 20px; gap: 12px; margin-bottom: 16px; }
}
body[data-snap] .site-header .nav .btn { white-space: nowrap; }
@media (max-width: 1500px) {
  body[data-snap] .site-header .nav { gap: 16px; }
  body[data-snap] .site-header .menu { margin-left: 4px; gap: 0; }
  body[data-snap] .site-header .menu a, body[data-snap] .site-header .menu button { padding: 0 8px; }
  body[data-snap] .site-header .nav-right { gap: 12px; }
  body[data-snap] .site-header .nav .btn { padding: 0 16px; }
}
/* the rating's SAMPLE tag gets a solid backing over the photo */
.hero .rating .sample { background: rgba(248,246,243,.92); }

/* Wide menu pill: nearly edge to edge (feedback, 2026-09-28) */
body[data-snap] .site-header .nav { width: calc(100% - 2 * clamp(10px, 1.2vw, 20px)); max-width: none; padding-left: clamp(18px, 2vw, 32px); }
body[data-snap] .site-header .menu { margin-inline: auto; }

/* Hero statements: three separate pills instead of one */
.hero-notes { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-bottom: 22px; gap: 14px; }
.hero-notes li, .hero-notes li:first-child {
  padding: 12px 22px 12px 16px; border: 0; border-radius: 999px; align-items: center;
  background: var(--pill-dark); box-shadow: 0 0 0 1px var(--pill-line-dark), 0 14px 32px -20px rgba(0,0,0,.7);
}
@media (max-width: 767px) {
  .hero-notes { gap: 8px; padding: 0; }
  .hero-notes li, .hero-notes li:first-child { border-radius: 22px; padding: 10px 16px 10px 12px; }
}

/* ======================================================================
   Menu without a container (feedback, 2026-09-28): transparent menu over a full-width fade from the
   top edge — bright over light sections and the hero photo, dark over dark sections. Two stacked
   layers crossfade (gradients can't animate directly). Replaces the pill fill.
   ====================================================================== */
body[data-snap] .site-header, body[data-snap].is-scrolled .site-header { padding-bottom: 34px; }
body[data-snap] .site-header::before, body[data-snap] .site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity 350ms var(--ease);
}
body[data-snap] .site-header::before { background: linear-gradient(to bottom, rgba(245,241,235,.94) 0%, rgba(245,241,235,.82) 55%, rgba(245,241,235,0) 100%); }
body[data-snap] .site-header::after { background: linear-gradient(to bottom, rgba(21,18,15,.92) 0%, rgba(21,18,15,.78) 55%, rgba(21,18,15,0) 100%); opacity: 0; }
body[data-snap].on-dark .site-header::before { opacity: 0; }
body[data-snap].on-dark .site-header::after { opacity: 1; }
body[data-snap] .site-header .nav, body[data-snap].on-dark .site-header .nav { background: none; box-shadow: none; }
body[data-snap] .site-header { isolation: isolate; }

/* ---- Services: interactive cards + details sheet ---- */
.svc a { position: relative; border-radius: var(--radius); transition: transform 380ms var(--ease); -webkit-tap-highlight-color: transparent; }
.svc .ph { transition: box-shadow 380ms var(--ease); }
.svc .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,24,22,0) 45%, rgba(26,24,22,.55)); opacity: 0; transition: opacity 380ms var(--ease); pointer-events: none; }
.svc .cue { position: absolute; z-index: 1; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border-radius: var(--radius-pill);
  background: var(--paper); color: var(--ink); font: 500 .9rem/1 var(--sans); box-shadow: 0 8px 20px -10px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(10px); transition: opacity 300ms var(--ease), transform 380ms var(--ease); }
.svc .cue svg { width: 16px; height: 16px; transition: transform 380ms var(--ease); }
.svc h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size 420ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .svc a:hover, .svc a:focus-visible { transform: translateY(-6px); }
  .svc a:hover .ph, .svc a:focus-visible .ph { box-shadow: 0 26px 44px -26px rgba(26,24,22,.55); }
  .svc a:hover .ph::after, .svc a:focus-visible .ph::after { opacity: 1; }
  .svc a:hover .cue, .svc a:focus-visible .cue { opacity: 1; transform: none; }
  .svc a:hover .cue svg { transform: rotate(90deg); }
  .svc a:hover h3, .svc a:focus-visible h3 { background-size: 100% 1px; }
  .svc a:hover .ph img, .svc a:focus-visible .ph img { transform: scale(1.06); }
}
/* touch screens: a small + badge says "tap me"; pressing gives feedback */
@media (hover: none), (pointer: coarse) {
  .svc .cue { opacity: 1; transform: none; left: auto; right: 10px; bottom: 10px; width: 36px; height: 36px; padding: 0; justify-content: center; }
  .svc .cue-txt { display: none; }
  .svc a:active { transform: scale(.975); }
}
.svc a:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 6px; }

html.sd-lock, html.sd-lock body { overflow: hidden; }
.sd { position: fixed; inset: 0; z-index: 60; }
.sd[hidden], .sd[hidden] .sd-panel, .sd[inert] .sd-panel { display: none; visibility: hidden; }
.sd-backdrop { position: absolute; inset: 0; background: rgba(26,24,22,.5); animation: sd-fade 320ms var(--ease) both; }
.sd-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(640px, calc(100vw - 24px)); display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); animation: sd-in 520ms var(--ease) both; }
.sd-photo { margin: 0; flex: none; height: clamp(160px, 34vh, 340px); background: var(--fog-2); }
.sd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); transition: transform var(--dur) var(--ease); }
.sd-close:hover { transform: rotate(90deg); }
.sd-close svg { width: 18px; height: 18px; }
.sd-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px clamp(20px, 3vw, 36px) 0; }
.sd-nav { position: sticky; top: -18px; z-index: 1; display: flex; justify-content: space-between; align-items: center; font: 500 13px/1 var(--mono); color: var(--slate); background: var(--paper); margin: -18px 0 0; padding: 18px 0 10px; }
.sd-arrows { display: inline-flex; gap: 8px; }
.sd-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur) var(--ease); }
.sd-arrows button:hover { background: var(--fog-1); }
.sd-arrows svg { width: 16px; height: 16px; }
.sd-content { display: grid; gap: 26px; padding: 8px 0 0; }
.sd-content.swap { animation: sd-swap 420ms var(--ease) both; }
.sd-content .eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--ember-deep); margin: 0 0 -14px; }
.sd-content h2 { font-size: var(--step-3); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.sd-lede { font-size: var(--step-0); line-height: 1.55; color: var(--slate); margin: -8px 0 0; max-width: 52ch; }
.sd-content h3 { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 0 0 12px; }
.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: var(--step--1); line-height: 1.4; }
.sd-list li { padding-left: 22px; position: relative; }
.sd-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 1.6px solid var(--ember-deep); border-bottom: 1.6px solid var(--ember-deep); transform: rotate(-45deg); }
.sd-mats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sd-mats a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 5px; border: 1px solid var(--line); border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); font-size: var(--step--1); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.sd-mats a:hover { border-color: var(--ink); background: var(--fog-0); }
.sd-mats .sw { width: 26px; height: 26px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sd-note { font-size: var(--step--1); line-height: 1.5; color: var(--slate); margin: 14px 0 0; }
.sd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.sd-steps li { counter-increment: s; display: grid; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--slate); padding-top: 12px; border-top: 1px solid var(--line); }
.sd-steps li::before { content: "0" counter(s); font: 500 12px/1 var(--mono); color: var(--ember-deep); }
.sd-steps strong { color: var(--ink); font-weight: 500; font-size: var(--step--1); }
.sd-faq { border-top: 1px solid var(--line); }
.sd-faq:last-of-type { border-bottom: 1px solid var(--line); }
.sd-faq summary { list-style: none; cursor: pointer; padding: 14px 32px 14px 0; position: relative; font-size: var(--step-0); }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 22px/1 var(--sans); color: var(--slate); transition: transform var(--dur) var(--ease); }
.sd-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sd-faq p { margin: 0 0 16px; color: var(--slate); font-size: var(--step--1); line-height: 1.55; max-width: 56ch; }
.sd-sample { font-size: 12px; color: var(--slate); margin: -8px 0 0; }
.sd-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0 20px; margin-top: -6px; background: linear-gradient(180deg, rgba(248,246,243,0), var(--paper) 22%); }
.sd-actions .btn { flex: 1 1 auto; }
@keyframes sd-fade { from { opacity: 0; } }
@keyframes sd-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes sd-up { from { transform: translateY(60px); opacity: 0; } }
@keyframes sd-swap { from { opacity: 0; transform: translateX(14px); } }
@media (max-width: 640px) {
  .sd-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 90svh; border-radius: 22px 22px 0 0; animation-name: sd-up; }
  .sd-photo { height: 24vh; }
  .sd-grid { grid-template-columns: 1fr; }
  .sd-steps { grid-template-columns: 1fr 1fr; }
  .sd-actions { gap: 8px; padding: 12px 0 14px; }
  .sd-actions .btn { min-height: 48px; padding: 0 14px; font-size: .95rem; }
  .sd-actions .btn-dark { flex: 1 1 58%; }
  .sd-actions .btn-ghost { flex: 1 1 30%; }
}
::view-transition-group(svc-photo) { animation-duration: 520ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(svc-photo), ::view-transition-new(svc-photo) { height: 100%; object-fit: cover; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .svc a, .svc .cue, .svc .ph img { transition: none; }
  .sd-panel, .sd-content.swap { animation: sd-fade 200ms linear both; }
}

/* ---- Services: hovered card grows into a full-height column; the rest re-flow (desktop, mouse) ---- */
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .svc a:hover, .svc a:focus-visible { transform: none; }         /* the grow replaces the lift */
  .services.is-expanded { grid-template-rows: repeat(6, minmax(0, 1fr)); row-gap: 14px; }
  .services.is-expanded[data-big="0"] { grid-template-columns: 1.6fr 1fr 1fr; }
  .services.is-expanded[data-big="1"] { grid-template-columns: 1fr 1.6fr 1fr; }
  .services.is-expanded[data-big="2"] { grid-template-columns: 1fr 1fr 1.6fr; }
  .services.is-expanded .svc { min-height: 0; }
  .services.is-expanded .svc a { display: flex; flex-direction: column; height: 100%; gap: 8px; }
  .services.is-expanded .svc .ph { flex: 1 1 auto; min-height: 0; height: auto; aspect-ratio: auto; }
  .services.is-expanded .svc:not(.big) h3 { font-size: var(--step-0); }
  .services.is-expanded .svc:not(.big) p, .services.is-expanded .svc:not(.big) .cue { display: none; }
  .services.is-expanded .svc.big h3 { font-size: var(--step-2); }
  .services.is-expanded .svc.big p { max-width: 44ch; margin-top: -2px; }
  .services.is-expanded .svc.big .ph { box-shadow: 0 30px 50px -30px rgba(26,24,22,.6); }
  .services.is-expanded .svc.big .cue { opacity: 1; transform: none; }
}
::view-transition { pointer-events: none; }                       /* the pointer keeps talking to the real page */
html.vt-grid::view-transition-old(root), html.vt-grid::view-transition-new(root) { animation: none; }
html.vt-grid::view-transition-group(*) { animation-duration: 460ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
html.vt-grid::view-transition-old(*), html.vt-grid::view-transition-new(*) { height: 100%; width: 100%; object-fit: cover; object-position: top left; mix-blend-mode: normal; }
html.vt-grid::view-transition-old(*) { animation: vt-out 140ms linear both; }
html.vt-grid::view-transition-new(*) { animation: vt-in 180ms linear both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
html.vt-grid::view-transition-group(chickadee-0), html.vt-grid::view-transition-group(chickadee-1) { z-index: 2; }

/* ---- Services: text block + the grown card as a full-bleed feature ---- */
.svc .txt { display: grid; gap: 8px; }
.svc .txt p { margin-top: 0; }
.svc .more { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .services.is-expanded[data-big="0"] { grid-template-columns: 2fr 1fr 1fr; }
  .services.is-expanded[data-big="1"] { grid-template-columns: 1fr 2fr 1fr; }
  .services.is-expanded[data-big="2"] { grid-template-columns: 1fr 1fr 2fr; }
  .services.is-expanded .svc.big a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #f8f6f3; box-shadow: 0 34px 60px -34px rgba(26,24,22,.7); }
  .services.is-expanded .svc.big .ph { position: absolute; inset: 0; height: 100%; border-radius: 0; box-shadow: none; }
  .services.is-expanded .svc.big .ph img { object-position: center; }
  .services.is-expanded .svc.big .ph::after { opacity: 1; background: linear-gradient(180deg, rgba(20,18,16,0) 22%, rgba(20,18,16,.62) 48%, rgba(20,18,16,.92) 100%); }
  .services.is-expanded .svc.big .cue { display: none; }
  .services.is-expanded .svc.big .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.2vw, 30px); gap: 10px; }
  .services.is-expanded .svc.big h3 { font-size: var(--step-3); line-height: 1; letter-spacing: -.02em; color: #fff; background-size: 0 1px; }
  .services.is-expanded .svc.big h3 svg { display: none; }
  .services.is-expanded .svc.big .txt > p { display: none; }         /* the short card line gives way to the fuller one */
  .services.is-expanded .svc.big .more { display: grid; gap: 14px; animation: more-in 520ms 120ms var(--ease) both; }
  .svc .more .more-lede { font-size: var(--step-0); line-height: 1.5; color: rgba(248,246,243,.92); max-width: 46ch; margin: 0; }
  .more-inc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .more-inc li { font-size: 13px; line-height: 1; padding: 8px 12px; border-radius: var(--radius-pill); background: rgba(248,246,243,.14); border: 1px solid rgba(248,246,243,.22); color: #f8f6f3; }
  .more-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
  .more-mats { display: inline-flex; align-items: center; }
  .more-mats .sw { width: 28px; height: 28px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid rgba(20,18,16,.9); margin-right: -8px; }
  .more-mats-label { margin-left: 18px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: rgba(248,246,243,.75); }
  .more-go { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font: 500 .95rem/1 var(--sans); }
  .more-go svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
  .svc.big a:hover .more-go svg { transform: translateX(4px); }
}
@keyframes more-in { from { opacity: 0; transform: translateY(14px); } }

/* ---- Materials: the hovered card grows to ~half the row; the others narrow into slices (desktop, mouse) ---- */
.mat-more { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .mats { transition: grid-template-columns 620ms var(--ease); }
  .mats.no-anim { transition: none; }
  .mats[data-big="0"] { grid-template-columns: 3.4fr 1fr 1fr 1fr 1fr; }
  .mats[data-big="1"] { grid-template-columns: 1fr 3.4fr 1fr 1fr 1fr; }
  .mats[data-big="2"] { grid-template-columns: 1fr 1fr 3.4fr 1fr 1fr; }
  .mats[data-big="3"] { grid-template-columns: 1fr 1fr 1fr 3.4fr 1fr; }
  .mats[data-big="4"] { grid-template-columns: 1fr 1fr 1fr 1fr 3.4fr; }
  .mat { min-width: 0; }
  .mat a { height: 100%; align-content: start; }
  .mat a:hover .slab { transform: none; }                      /* the grow replaces the lift */
  .mat h3 { white-space: nowrap; gap: 8px; }
  .mat h3, .mat p { transition: opacity 200ms var(--ease); }
  .mats[data-big] .mat:not(.big) p, .mats[data-big] .mat:not(.big) .tier { opacity: 0; }
  .mats[data-big] .mat:not(.big) h3 { font-size: var(--step-0); overflow: hidden; text-overflow: ellipsis; min-height: 1.4em; }
  /* the grown card: stone full-bleed, details on a dark fade */
  .mat.big a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(18px, 2vw, 28px);
    border-radius: 10px; overflow: hidden; color: #f8f6f3; box-shadow: 0 34px 60px -34px rgba(26,24,22,.7); }
  .mats[data-big] { grid-template-rows: minmax(0, 1fr); }
  body .mats .mat.big .slab { position: absolute; inset: 0; height: auto; border-radius: 0; box-shadow: none; z-index: 0; }
  .mat.big .slab img { transform: scale(1.06); transition: transform 1200ms var(--ease); }
  .mat.big .slab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.08) 0%, rgba(20,18,16,.62) 36%, rgba(20,18,16,.92) 100%); }
  .mat.big h3, .mat.big a > p, .mat.big .mat-more { position: relative; z-index: 1; min-width: 380px; }
  .mat.big h3 { font-size: var(--step-2); color: #fff; justify-content: flex-start; gap: 16px; }
  .mat.big .tier, .mat.big .tier b { color: rgba(248,246,243,.9); }
  .mat.big .tier { color: rgba(248,246,243,.5); }
  .mat.big a > p { color: rgba(248,246,243,.92); font-size: var(--step-0); margin: -4px 0 0; }
  .mat.big a { gap: 8px; }
  .mat.big .mat-more { gap: 12px; }
  .mat.big .mat-more { display: grid; gap: 14px; animation: more-in 520ms 160ms var(--ease) both; }
  .mat .mm-note { font-size: var(--step--1); line-height: 1.5; color: rgba(248,246,243,.8); margin: 0; max-width: 48ch; }
  .mm-rates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0; }
  .mm-rates div { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 10px; }
  .mm-rates dt { font: 500 12px/1 var(--mono); letter-spacing: .04em; color: rgba(248,246,243,.78); }
  .mm-rates dd { margin: 0; }
  .mm-rates .bar { display: block; height: 6px; border-radius: 3px; background: rgba(248,246,243,.18); position: relative; overflow: hidden; }
  .mm-rates .bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 20%); background: var(--ember); border-radius: 3px; animation: bar-in 700ms 260ms var(--ease) both; }
  .mm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .mm-best { display: flex; flex-wrap: wrap; gap: 6px; }
  .mm-best span { font-size: 12.5px; line-height: 1; padding: 7px 11px; border-radius: var(--radius-pill); background: rgba(248,246,243,.14); border: 1px solid rgba(248,246,243,.22); }
  .mm-go { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font: 500 .92rem/1 var(--sans); }
  .mm-go svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
  .mat.big a:hover .mm-go svg { transform: translateX(4px); }
}
@keyframes bar-in { from { width: 0; } }

/* ======================================================================
   Phones and tablets (2026-09-28): a mobile adaptation of the approved desktop design.
   Everything below is scoped to ≤1023px, so desktop is untouched.
   Phones (≤767px) don't snap, so sections size to their content instead of filling the screen.
   A bottom dock (Get Instant Estimate + call + chat) appears once the hero's own button has
   scrolled away and hides again at the final call to action and footer.
   ====================================================================== */
.dock { display: none; }
@media (max-width: 1023px) {
  /* chat: a round icon instead of the wide pill, so it covers less of the page */
  .chat-btn { width: 52px; height: 52px; min-height: 0; padding: 0; gap: 0; justify-content: center; font-size: 0;
    right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
    transition: transform 280ms var(--ease), opacity 200ms var(--ease), visibility 0s; }
  .chat-btn .dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; box-shadow: 0 0 0 2px var(--ink); }
  footer.site .wrap { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom)); }
  .f-grid ul { gap: 0; }
  .f-grid a { min-height: 44px; }               /* touch-sized footer links */
}

/* ---------- Tablets (768–1023px, still snapping): every screen fits one screen again ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  body[data-snap] .services { grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
  body[data-snap] .svc .ph { height: clamp(80px, 16vh, 200px); }
  body[data-snap] .svc p { font-size: .82rem; }
  body[data-snap] .steps3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  body[data-snap] .film { height: clamp(100px, 22vh, 260px); }
  body[data-snap] .projects { grid-template-columns: 1.4fr 1fr; }
  body[data-snap] .projects li:first-child { grid-row: span 2; }
  body[data-snap] .proj .ph { aspect-ratio: auto; min-height: clamp(110px, 17vh, 240px); }
}

/* ---------- Phones (≤767px) ---------- */
@media (max-width: 767px) {
  /* Rhythm: content-height sections, one consistent padding, no empty bands */
  html { scroll-padding-top: 76px; }
  body[data-snap] main > [data-screen]:not(.screen-hero) { min-height: 0; justify-content: flex-start; }
  body[data-snap] main > section.pad[data-screen] { padding-block: 72px; }
  body[data-snap] .final[data-screen] .wrap { padding-block: 96px; }
  body[data-snap] .sec-head { gap: 12px; margin-bottom: 28px; }
  body[data-snap] .after-link { margin-top: 20px; }

  /* Header: phone label and estimate button stay hidden all the way to 767px (was 720px) */
  .nav-right .phone span, .nav-right .btn { display: none; }
  .nav-right .phone { width: 48px; height: 48px; justify-content: center; border: 1px solid var(--fog-2); border-radius: 50%; }
  body[data-snap] .site-header .nav { min-height: 60px; padding: 0 6px 0 16px; }

  /* Hero: fits a 360×740 screen; spare height opens up the photo between the buttons and the statements */
  body[data-snap] .hero-inner { padding-top: 96px; row-gap: 20px; }
  .rating { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2.15rem, 1rem + 5.4vw, 2.5rem); }
  .hero .sub { margin-top: 16px; }
  .hero .ctas { margin-top: 24px; gap: 12px 14px; }
  .hero .ctas .btn { min-height: 52px; }
  .hero-notes { gap: 8px; margin-bottom: 40px; }
  .hero-notes li, .hero-notes li:first-child { padding: 9px 16px 9px 12px; gap: 12px; }
  .hero-notes br { display: none; }
  .hero-notes svg { width: 22px; height: 22px; }


  /* Services and recent work: swipe rows with the next card peeking */
  body[data-snap] .services, body[data-snap] .projects { grid-auto-columns: 82%; gap: 14px; }
  body[data-snap] .svc .ph { height: auto; aspect-ratio: 4 / 3; }

  /* Made in-house: each step is one row, the diagram beside its title */
  body[data-snap] .film { height: auto; aspect-ratio: 16 / 10; }
  .film .play { gap: 14px; }
  .film .play i { width: 56px; height: 56px; }
  .film .toast { left: 12px; right: 12px; top: 12px; max-width: none; }
  body[data-snap] .steps3 { margin-top: 36px; gap: 0; }
  .steps3 li { grid-template-columns: 72px 1fr; column-gap: 18px; row-gap: 6px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
  .steps3 li:last-child { padding-bottom: 0; }
  body[data-snap] .steps3 .diagram { grid-row: 1 / span 2; height: auto; padding: 6px 0 0; border: 0; }
  .steps3 .diagram svg { width: 100%; height: auto; }
  .steps3 h3 { font-size: 1.15rem; }
  .steps3 p { font-size: .95rem; }

  /* Instant estimate: two choices per row down to 360px, so the form is half as tall */
  .quote { gap: 36px; }
  .choices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice label { gap: 10px; min-height: 56px; padding: 10px 12px; font-size: .95rem; line-height: 1.2; }
  .choice label svg { width: 20px; height: 20px; }
  .tool legend { font-size: 1.5rem; margin-bottom: 16px; }
  .progress { margin: 12px 0 20px; }

  /* Visualizer: heading close to the room, five swatches always in one row */
  .viz { gap: 28px; }
  .swatches { gap: 10px; flex-wrap: nowrap; margin: 20px 0 16px; }
  .swatch label { width: 52px; height: 52px; }

  /* Materials: edge-to-edge swipe row, a bit more than two slabs in view */
  body[data-snap] .mats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; gap: 14px;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  body[data-snap] .mat .slab { height: auto; aspect-ratio: 3 / 4; }
  .mat a { gap: 10px; }
  .mat h3 { font-size: var(--step-0); gap: 6px; }
  .mat p { margin-top: -4px; }

  /* Timeline */
  .timeline { gap: 28px; }
  .total { margin-top: 36px; gap: 18px; }

  /* Reviews: swipe edge to edge; arrows only for mouse users */
  .reviews-head { margin-bottom: 24px; }
  .track { grid-auto-columns: 86%; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .track blockquote { padding: 24px; gap: 18px; }
  .track blockquote p { font-size: 1.15rem; }

  /* Areas & FAQ */
  .area-faq { gap: 56px; }
  summary { font-size: 1.1rem; min-height: 60px; }

  /* Final call to action: two full-width buttons, easy to hit with a thumb */
  .final .ctas { flex-direction: column; align-items: stretch; width: min(100%, 360px); }
  .final .ctas .btn { width: 100%; }
  .final p { color: #ebe6de; }               /* the paragraph sits in the pendant's glow on phones */

  /* Footer: address full width, then the link groups two per row */
  footer.site .wrap { padding-top: 56px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .f-grid > :first-child { grid-column: 1 / -1; }
  .f-grid ul { gap: 0; }
  .f-grid a { min-height: 44px; }
  .f-bottom { margin-top: 40px; }

  /* Services sheet: bottom sheet on every phone (was ≤640px only) */
  .sd-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 90svh; border-radius: 22px 22px 0 0; animation-name: sd-up; }
  .sd-photo { height: 24vh; }
  .sd-grid { grid-template-columns: 1fr; }
  .sd-steps { grid-template-columns: 1fr 1fr; }
  .sd-arrows button { width: 44px; height: 44px; }
  .sd-mats a { min-height: 44px; }
  .sd-actions { gap: 8px; padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); }
  .sd-actions .btn { min-height: 48px; padding: 0 16px; font-size: .95rem; flex: 1 1 100%; }

  /* The dock: estimate + call, with the chat button sitting in its right-hand slot */
  .dock { display: flex; align-items: center; gap: 6px; position: fixed; z-index: 39; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom)); padding: 6px 60px 6px 6px; border-radius: var(--radius-pill);
    background: rgba(26,24,22,.96); box-shadow: 0 0 0 1px var(--pill-line-dark), 0 18px 40px -18px rgba(0,0,0,.6);
    transform: translateY(calc(100% + 28px)); visibility: hidden; transition: transform 300ms var(--ease), visibility 0s 300ms; }
  body.dock-on .dock { transform: none; visibility: visible; transition: transform 300ms var(--ease), visibility 0s; }
  .dock .btn { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; font-size: .95rem; white-space: nowrap; }
  .dock-call { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--fog-0);
    border: 1px solid rgba(255,255,255,.25); transition: background-color var(--dur) var(--ease); }
  .dock-call:active { background: rgba(255,255,255,.1); }
  .dock-call svg { width: 18px; height: 18px; }
  .dock-call:focus-visible { outline-color: var(--ember); }
  .chat-btn { width: 48px; height: 48px; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); }
  body.dock-on .chat-btn { box-shadow: none; border-color: rgba(255,255,255,.25); }
  .chat-btn:focus-visible { outline-color: var(--ember); }
  /* over the hero the menu bar's call button and the hero's own estimate button do the job */
  body.hero-in .chat-btn:not([aria-expanded="true"]) { opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none;
    transition: transform 280ms var(--ease), opacity 200ms var(--ease), visibility 0s 280ms; }
  .chat { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .chat .msgs { max-height: min(300px, 42svh); }
}
@media (max-width: 767px) and (hover: none), (max-width: 767px) and (pointer: coarse) {
  .carousel-ctrl { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body[data-snap] summary { min-height: 56px; padding: 10px 0; }
}
@media (max-width: 380px) {
  .hero .sub { font-size: 1rem; }
  .hero-notes { font-size: .8rem; }
  .hero-notes li, .hero-notes li:first-child { padding: 8px 12px 8px 10px; gap: 10px; }
  .hero-notes svg { width: 20px; height: 20px; }
  .swatches { gap: 8px; }
  .swatch label { width: 50px; height: 50px; }
  .dock .btn { padding: 0 14px; }
}
@media (max-width: 767px) and (max-height: 760px) {
  .sd-photo { height: 19svh; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .dock, body.dock-on .dock, .chat-btn { transition: none; }
}

/* ======================================================================
   Phones, edited (2026-09-30). Replaces "every desktop element, made compact" with a phone edit:
   each section keeps its one message and one action; the rest is cut, shortened or one tap away.
   - ≤767px (any orientation): the cuts and the phone-only wording (.for-phone / .for-desk spans).
   - ≤767px portrait: one section = one screen (100svh), vertical snapping, room reserved for the
     menu bar (top) and the dock (bottom). Phone landscape keeps free scrolling.
   Desktop (≥1024px) and tablets (768–1023px) are untouched by this block.
   ====================================================================== */
.for-phone, .hero-m { display: none; }
.film picture { display: contents; }

@media (max-width: 767px) {
  .for-desk { display: none; }
  .for-phone { display: revert; }

  /* cut: the announcement (its message moves under the hero button), the sample rating line,
     the three hero statements and 'See our work'. The trust strip is its own screen now. */
  .announce, .hero .rating, .hero-notes, .hero .ctas .link { display: none; }
  /* cut: paragraphs the heading, the cards or the next section already say */
  #h-inhouse ~ p, .steps3 p,
  .quote .lede, .quote ul.facts,
  .viz .swatch-name, .viz h2 ~ p:not(.swatch-name),
  [data-screen="Timeline"] .sec-head p, .timeline p,
  [data-screen="Recent work"] .sec-head p { display: none; }
  /* the city list gets a top rule like the rows below it (also a straight edge for the chickadee) */
  .cities { border-top: 1px solid var(--line); }

  /* studio ✎ Edit button (previews only): a small round icon in the empty middle of the menu bar */
  :root { --studio-fab-top: calc(20px + env(safe-area-inset-top)); --studio-fab-left: calc(50% + 10px); --studio-fab-bottom: auto; }
}

@media (max-width: 767px) and (orientation: portrait) {
  :root { --m-top: calc(76px + env(safe-area-inset-top)); --m-bot: calc(84px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 0; }
  html:has(body[data-snap]) { scroll-snap-type: y mandatory; }
  body[data-snap] main > [data-screen] { scroll-snap-align: start; scroll-snap-stop: always; }
  body[data-snap] main > [data-screen]:not(.screen-hero) { min-height: 100vh; min-height: 100svh; justify-content: center; }
  body[data-snap] footer.site { scroll-snap-align: end; }
  body[data-snap] main > section.pad[data-screen] { padding-block: var(--m-top) var(--m-bot); }
  /* ~40px above anything the chickadee can perch on, so it never stands on a line of text */
  body[data-snap] .sec-head { gap: 10px; margin-bottom: 40px; }
  .reviews-head { margin-bottom: 40px; }
  .hero .ctas { margin-top: 40px; }
  body[data-snap] .sec-head h2, .reviews-head h2, .quote h2 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 2.2rem); }
  body[data-snap] .after-link { margin-top: 14px; }
  /* swipe rows run edge to edge, the next card peeking */
  body[data-snap] .services, body[data-snap] .projects, body[data-snap] .mats, .track {
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  body[data-snap] .services::-webkit-scrollbar, body[data-snap] .projects::-webkit-scrollbar, body[data-snap] .mats::-webkit-scrollbar, .track::-webkit-scrollbar { display: none; }

  /* 1 · Hero: photo band on top (the menu floats over its calm ceiling), words and the button below, in thumb reach */
  body[data-snap] .screen-hero { height: 100vh; height: 100svh; min-height: 0; }
  body[data-snap] .screen-hero .hero { min-height: 0; flex: 1; display: flex; flex-direction: column; background: var(--fog-0); }
  .hero-m { display: block; position: relative; flex: 1 1 0; min-height: 150px; overflow: hidden; background: var(--fog-1); }
  .hero-m picture, .hero-m img { display: block; width: 100%; height: 100%; }
  .hero-m img { object-fit: cover; object-position: 50% 30%; }
  .hero-m::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 120px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(239,237,234,.72), rgba(239,237,234,.4) 60%, rgba(239,237,234,0)); }  /* extra light behind the menu bar */
  body[data-snap] .screen-hero .hero-inner { flex: none; display: block; padding: 22px 0 calc(24px + env(safe-area-inset-bottom)); min-height: 0; }
  .hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 2.45rem); line-height: 1.04; }
  .hero .sub { margin-top: 12px; color: #443e37; }
  .hero .ctas .btn { width: 100%; min-height: 56px; }

  /* 2 · Services: heading + one line, then big swipe cards (tap opens the details sheet) */
  body[data-snap] .services { grid-auto-columns: 80%; gap: 14px; }
  body[data-snap] .svc .ph { aspect-ratio: auto; height: clamp(200px, calc(100svh - 440px), 380px); }
  .svc p { margin-top: -6px; }

  /* 3 · Made in-house: short heading, the shop photo (film), three steps as one-line rows */
  body[data-snap] .film { aspect-ratio: auto; height: clamp(180px, calc(100svh - 456px), 360px); }
  .film img { opacity: .92; }
  body[data-snap] .steps3 { margin-top: 30px; }
  .steps3 li { grid-template-columns: 64px 1fr; row-gap: 0; padding: 12px 0; align-items: center; }
  body[data-snap] .steps3 .diagram { grid-row: auto; padding: 0; }
  .steps3 h3 { font-size: 1.1rem; }

  /* 4 · Instant estimate: the heading and the first question of the form */
  .quote { gap: 40px; }
  .tool { padding: 18px; border-radius: 18px; }
  .progress { margin: 10px 0 14px; }
  .tool legend { font-size: 1.35rem; margin-bottom: 12px; }
  .choice label { min-height: 52px; }
  .tool-foot { margin-top: 14px; gap: 10px; flex-wrap: nowrap; }
  .tool-foot p { font-size: .8rem; line-height: 1.35; }
  .tool-foot .btn { flex: none; min-height: 48px; padding: 0 18px; }

  /* 5 · Visualizer: the room, the heading, the five swatches, one link */
  .viz { gap: 20px; }
  .room { aspect-ratio: auto; height: clamp(190px, calc(100svh - 470px), 380px); }
  .viz h2 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 2.2rem) !important; }  /* the heading carries an inline size */
  .swatches { margin: 16px 0 6px; }

  /* 6 · Materials: bigger slabs, about one and a half in view */
  body[data-snap] .mats { grid-auto-columns: 62%; }
  body[data-snap] .mat .slab { aspect-ratio: auto; height: clamp(190px, calc(100svh - 480px), 400px); }

  /* 7 · Timeline: four steps (when + what), the total and the visit button */
  body[data-snap] [data-screen="Timeline"] .sec-head { margin-bottom: 26px; }
  .timeline { gap: 20px; }
  .timeline li { gap: 4px; }
  .timeline h3 { font-size: 1.2rem; }
  body[data-snap] .total { margin-top: 36px; padding-top: 20px; gap: 40px; }
  .total strong { font-size: 1.5rem; }
  .total .btn { width: 100%; }

  /* 8 · Recent work: big swipe tiles */
  body[data-snap] .proj .ph { aspect-ratio: auto; min-height: 0; height: clamp(200px, calc(100svh - 440px), 400px); }

  /* 9 · Reviews: the quotes, larger */
  .track { grid-auto-columns: 86%; }
  .track blockquote { padding: 26px 22px; }
  .track blockquote p { font-size: 1.3rem; line-height: 1.4; }

  /* 10 · Areas and FAQ: two screens, one each */
  body[data-snap] main > section.pad[data-screen="Areas & FAQ"] { padding: 0; scroll-snap-align: none; }
  .area-faq { gap: 0; }
  .area-faq > .area, .area-faq > .faq { min-height: 100vh; min-height: 100svh; padding: var(--m-top) 0 var(--m-bot);
    display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
  .area-faq > .area > *, .area-faq > .faq > * { flex: none; }
  .area h2, .faq h2 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 2.2rem); margin-bottom: 14px; }
  .faq h2 { margin-bottom: 36px; }
  .area p { font-size: var(--step-0); margin-bottom: 36px; }
  .cities { margin-bottom: 14px; }
  summary { min-height: 58px; padding: 10px 0; font-size: 1.05rem; }

  /* 11 · Get started: one screen; the dock steps aside here */
  body[data-snap] .final[data-screen] .wrap { padding-block: var(--m-top) calc(40px + env(safe-area-inset-bottom)); gap: 18px; }
  .final h2 { font-size: clamp(2.3rem, 1.3rem + 5vw, 2.8rem); }
}

/* phone portrait on shorter screens: the hero keeps a real slice of photo */
@media (max-width: 767px) and (orientation: portrait) and (max-height: 780px) {
  .hero h1 { font-size: 1.95rem; }
  body[data-snap] .screen-hero .hero-inner { padding-top: 18px; }
}
/* phone portrait on short screens (≤700px tall, e.g. 360×640): tighter still */
@media (max-width: 767px) and (orientation: portrait) and (max-height: 700px) {
  body[data-snap] .sec-head { margin-bottom: 34px; }
  .choice label { min-height: 46px; padding: 6px 10px; }
  .timeline { gap: 14px; }
}

/* ======================================================================
   Inner pages: /inventory, /inventory/<id>, /materials, /quote (2026-11-17)
   Built from the Xslabs stone feed (tools/build-feed-pages.mjs). Tokens only; no new colours.
   ====================================================================== */
.piece[hidden], .stone[hidden], .empty[hidden], .filter-sheet[hidden], .est-state[hidden], .remnant-note[hidden], .show-all [hidden] { display: none !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }
.dark .btn-ghost { color: var(--fog-0); }
.list-sec { padding: clamp(32px, 5vw, 56px) 0 clamp(64px, 8vw, 104px); }
.sample-note { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Filters (JS adds them; the list works without) */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; align-items: end; margin-bottom: 20px; }
.field { display: grid; gap: 6px; min-width: 0; font-size: var(--step--1); color: var(--slate); }
.field select { appearance: none; width: 100%; min-width: 0; min-height: 48px; padding: 0 44px 0 16px; border: 1px solid var(--fog-2); border-radius: 12px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2325221f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  color: var(--ink); font: 400 var(--step-0)/1 var(--sans); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.field select:hover { border-color: var(--ink); }
.filters .clear { min-height: 48px; padding: 0 20px; }
.filters .clear[disabled] { background: transparent; border-color: var(--fog-2); color: #474139; }
.count { color: var(--slate); font-size: var(--step--1); margin-bottom: 24px; }
.slab-note { margin-top: 14px; max-width: 58ch; color: var(--slate); font-size: var(--step--1); }

/* Filter control: always open from 768px; one "Filter" button on phones (see the phone block) */
.filter-sheet > summary { display: none; }
.filter-sheet .filters { margin-bottom: 20px; }
.show-all { display: none; }
.piece .size .area { display: inline; }

/* Remnant cards */
.pieces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.piece a { display: grid; gap: 8px; align-content: start; text-decoration: none; }
.piece .ph, .stone .ph, .detail-ph { aspect-ratio: 600 / 424; border-radius: 12px; overflow: hidden; background: var(--fog-2); box-shadow: 0 20px 30px -24px rgba(26,24,22,.6); transition: transform 300ms var(--ease); }
.piece a:hover .ph { transform: translateY(-4px); }
.piece .ph img, .stone .ph img, .detail-ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.none, .detail-ph.none { display: grid; place-items: center; color: var(--slate); font-size: var(--step--1); }
.piece h3 { font-size: var(--step-1); margin-top: 6px; }
.piece .size { font: 400 .85rem/1.4 var(--mono); color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag { font: 500 12px/1 var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--slate); }
.tag.brand { color: var(--ink); border-color: var(--fog-2); }

/* Empty states */
.empty { max-width: 560px; padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--fog-2); border-radius: var(--radius); background: var(--paper); display: grid; gap: 14px; }
.empty h2 { font-size: var(--step-2); }
.empty p { color: var(--slate); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Closing band */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-in { display: grid; gap: 14px; justify-items: start; }
.band h2 { font-size: var(--step-3); max-width: 18ch; }
.band p { color: var(--slate-light); max-width: 52ch; }

/* One piece */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--step--1); color: var(--slate); margin-bottom: 18px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs [aria-current] { color: var(--ink); }
.piece-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.piece-hero h1 { max-width: 20ch; }
.piece-detail { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.detail-ph { margin: 0; border-radius: 18px; }
.detail-body { display: grid; gap: 24px; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.avail { color: var(--slate); max-width: 46ch; }
.detail-actions { display: grid; gap: 12px; justify-items: start; }
.back { margin-top: -4px; }

/* Stone guide */
.stones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 28px; }
.stone { display: grid; gap: 18px; align-content: start; scroll-margin-top: 110px; }
.stone:target .ph { outline: 2px solid var(--ember-deep); outline-offset: 4px; }
.stone-body { display: grid; gap: 8px; justify-items: start; }
.stone h3 { font-size: var(--step-2); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.stone .tier { font: 400 .85rem/1 var(--mono); color: var(--slate); letter-spacing: .08em; }
.stone .tier { color: #857d72; }  /* inactive $: 3.5:1 or better on white, paper and fog (was 1.8:1) */
.stone .tier b { color: var(--ink); font-weight: 600; }
.est-help { margin-top: 16px; color: var(--slate); font-size: var(--step--1); }
.stone .meta { color: var(--slate); font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stone .blurb { max-width: 40ch; }
.stone .btn { margin-top: 8px; min-height: 48px; padding: 0 22px; font-size: var(--step--1); }

/* Quote page */
.remnant-note { margin-top: 18px; max-width: 58ch; padding: 14px 18px; border-left: 3px solid var(--ember-deep); background: var(--fog-1); border-radius: 0 10px 10px 0; }
.estimate-sec { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.estimate-shell { position: relative; min-height: 640px; border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: clamp(12px, 2.5vw, 32px); }
.estimate-target { position: relative; min-height: 580px; }
.est-state { position: absolute; z-index: 1; inset: clamp(12px, 2.5vw, 32px); display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; color: var(--slate); }
.est-error { background: #fff; color: var(--ink); }
/* loading: a quiet skeleton (covers the frame until it reports it has painted), not a blank white box */
.est-state[data-loading] { background: #fff; align-content: start; justify-items: stretch; gap: 22px; padding-top: clamp(8px, 3vw, 28px); }
.sk { display: grid; gap: 14px; max-width: 520px; width: 100%; margin-inline: auto; }
.sk i { display: block; height: 14px; border-radius: 7px; background: var(--fog-1); animation: faro-pulse 1.6s var(--ease) infinite; }
.sk i:nth-child(1) { width: 38%; height: 22px; }
.sk i:nth-child(2) { width: 100%; height: 52px; border-radius: 12px; }
.sk i:nth-child(3) { width: 82%; }
.sk i:nth-child(4) { width: 64%; }
.est-state[data-loading] p { text-align: center; font-size: var(--step--1); }
@keyframes faro-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sk i { animation: none; } }
/* failed: the box shrinks to the message (the frame stays mounted but collapsed, so a late "painted" message still recovers it) */
/* Use the screen (owner rule): on the estimate page the header is one compact block and the estimate,
   once it shows, sits straight on the page; its own cards are the boxes (no white card in a padded band) */
[data-page="quote"] .page-hero { padding: calc(var(--hdr) + 28px) 0 20px; }
[data-page="quote"] .page-hero .eyebrow { display: none; }
[data-page="quote"] .page-hero h1 { font-size: clamp(28px, 3.2vw, 40px); max-width: none; }
[data-page="quote"] .page-hero .lede { margin-top: 6px; font-size: var(--step-0, 16px); }
[data-page="quote"] .estimate-sec { padding: 8px 0 clamp(32px, 4vw, 56px); }
.estimate-shell[data-state="ready"] { border: 0; background: none; padding: 0; min-height: 0; }
.estimate-shell[data-state="ready"] .estimate-target { min-height: 0; }
/* the estimate scrolls the page back to its top on each step: keep that top clear of the fixed header */
#estimate iframe { scroll-margin-top: calc(var(--hdr) + 12px); }
.estimate-shell[data-state="failed"] { min-height: 0; }
.estimate-shell[data-state="failed"] .est-error { position: relative; inset: auto; padding: clamp(20px, 4vw, 40px) 8px; }
.estimate-shell[data-state="failed"] .estimate-target { min-height: 0; height: 0; overflow: hidden; }
.est-error h3 { font-size: var(--step-2); }
.est-error p { color: var(--slate); max-width: 44ch; }
.est-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.spin { width: 28px; height: 28px; border: 2px solid var(--fog-2); border-top-color: var(--ember-deep); border-radius: 50%; animation: faro-spin 900ms linear infinite; }
@keyframes faro-spin { to { transform: rotate(360deg); } }
.next-sec { padding: clamp(56px, 8vw, 112px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.next-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.next-steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.next-steps li::before { content: counter(step); font: 500 .85rem/1 var(--mono); color: var(--ember-deep); }
.next-steps h3 { font-size: var(--step-1); }
.next-steps p { color: var(--slate); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.addr { color: var(--slate); font-size: var(--step--1); }
.faq-sec { padding: clamp(56px, 8vw, 112px) 0; }
.faq-sec .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 8vw, 120px); }
.faq-sec h2 { font-size: var(--step-2); }
.btn:focus-visible { outline-offset: 3px; }

@media (max-width: 960px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters .clear { grid-column: 1 / -1; justify-self: start; }
  .detail-grid, .faq-sec .faq { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; }
}

/* Phones: edited down, like the home page. Heading, the cards, the action. */
@media (max-width: 767px) {
  [data-page="materials"] .page-hero .lede, [data-page="inventory"] .list-sec > .wrap > .note,
  .stone .blurb, [data-page="quote"] .next-steps p { display: none; }
  .page-hero .hero-actions.for-phone { display: flex; }
  .page-hero { padding-top: 112px; padding-bottom: 28px; }
  .page-hero .hero-actions { margin-top: 20px; }
  .page-hero .hero-actions .btn, .detail-actions .btn, .contact-row .btn, .band .btn { width: 100%; }
  .filters { grid-template-columns: 1fr 1fr; gap: 12px; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .filters .clear { width: auto; }

  /* EXCEPTION to the 2026-09-30 snap rule (needs CEO OK, see NOTES.md): long lists do not snap. They are edited down instead:
     a compact hero, one Filter control, the first 8 cards (6 stones), then a "Show all" button. */
  [data-page="inventory"] .page-hero { padding-top: 92px; padding-bottom: 20px; }
  [data-page="inventory"] .page-hero .eyebrow, [data-page="inventory"] .page-hero .hero-actions { display: none; }
  [data-page="inventory"] .page-hero h1 { font-size: clamp(2rem, 1.2rem + 4vw, 2.4rem); }
  [data-page="inventory"] .page-hero .lede { margin-top: 10px; font-size: 1rem; }
  [data-page="inventory"] .list-sec { padding-top: 16px; }
  .filter-sheet { margin-bottom: 14px; }
  .filter-sheet > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; list-style: none;
    border: 1px solid var(--ink); border-radius: var(--radius-pill); font-weight: 500; cursor: pointer; }
  .filter-sheet > summary::-webkit-details-marker { display: none; }
  .filter-sheet > summary::after { content: ""; width: 18px; height: 18px; margin-left: auto; flex: none; background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--dur) var(--ease); }
  .filter-sheet[open] > summary::after { transform: rotate(180deg); }
  .filter-sheet > summary b { font: 500 .8rem/1 var(--mono); color: var(--ember-deep); }
  .filter-sheet > summary:focus-visible { outline: 2px solid var(--ember-deep); outline-offset: 3px; }
  .filter-sheet .filters { margin: 12px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
  .count { margin-bottom: 16px; }
  .pieces.capped .beyond, .stones.capped .beyond { display: none; }
  .show-all { display: block; margin-top: 28px; }
  .show-all .btn { width: 100%; }
  .piece .size .sep { display: none; }
  .piece .size .area { display: block; }       /* "about N sq ft" stays: it moves to its own line */
  [data-page="inventory"] .page-hero .lede .for-phone { display: inline; }
  .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .piece h3 { font-size: var(--step-0); }
  .piece .size { font-size: .8rem; }
  .piece .tag { padding: 5px 8px; }
  /* one piece: photo, name, size and both actions on the first screen; the specs follow */
  .piece-hero { padding-top: 88px; padding-bottom: 12px; }
  .piece-hero .crumbs { display: none; }
  .piece-hero h1 { font-size: clamp(1.8rem, 1.1rem + 3.4vw, 2.2rem); }
  [data-page="inventory-piece"] .page-hero .lede { display: block; margin-top: 6px; font-size: .95rem; }
  .piece-detail { padding-top: 4px; }
  .detail-grid { gap: 16px; }
  .detail-body > .detail-actions { order: -1; }
  .detail-actions { gap: 10px; }
  .detail-actions .btn { min-height: 48px; }
  .detail-actions .btn-dark svg { display: none; }
  .detail-ph { border-radius: 14px; }
  .stones { grid-template-columns: 1fr; gap: 24px; }
  .stone { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .stone .ph { aspect-ratio: 1; }
  .stone h3 { font-size: var(--step-1); }
  .stone .btn { width: 100%; padding: 0 12px; }
  .estimate-shell { min-height: 520px; padding: 8px; border-radius: 14px; }
  .estimate-target { min-height: 500px; }
  .estimate-shell[data-state="failed"] { min-height: 0; }
  .estimate-shell[data-state="failed"] .estimate-target { min-height: 0; }
  .est-error .btn { width: 100%; }
  .est-actions { width: 100%; }
  .next-steps { gap: 18px; margin-bottom: 28px; }
  .next-steps li { padding-top: 14px; }
  .next-sec, .faq-sec { padding: 48px 0; }
  /* quote: one section per screen, gently snapped (proximity: the estimate can be taller than a screen) */
  html:has(body[data-page="quote"]) { scroll-snap-type: y proximity; scroll-padding-top: 76px; }
  [data-page="quote"] main > section { scroll-snap-align: start; }
  /* quote: a short hero so the estimate starts on the first screen */
  [data-page="quote"] .page-hero { padding-top: 88px; padding-bottom: 16px; }
  [data-page="quote"] .page-hero .eyebrow { display: none; }
  [data-page="quote"] .page-hero h1 { font-size: clamp(1.9rem, 1.1rem + 4vw, 2.3rem); }
  [data-page="quote"] .page-hero .lede { margin-top: 8px; font-size: .95rem; }
  [data-page="quote"] .remnant-note { margin-top: 12px; padding: 10px 14px; font-size: .9rem; }
  .estimate-sec { padding-top: 16px; }
  [data-page="quote"] .page-hero, [data-page="quote"] .estimate-sec { scroll-snap-align: none; }  /* the estimate can be taller than a screen: no snap points on the way */
  [data-page="quote"] .next-sec, [data-page="quote"] .faq-sec { min-height: 100svh; display: grid; align-content: center; }
}

/* Touch targets: inline links in running text reach 44px of tap height on phones without changing the line spacing */
@media (max-width: 767px) {
  .est-help a, .faq .ans a, .note a, .remnant-note a, .avail a, .sample-note a, .empty p a {
    display: inline-block; padding-block: 12px; margin-block: -12px; }
}

/* ======================================================================
   Home launch (2026-11-17): real content, no estimate, no standby links.
   Home-page rules only (trust bar, free-quote section, photo placeholders).
   ====================================================================== */
/* phones only: a real job photo gives the trust screen its top half */
.trust-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-facts li { padding: 14px 24px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.trust-facts li:first-child { border-left: 0; padding-left: 0; }
.trust-facts strong { font-weight: 500; font-size: var(--step-0); letter-spacing: -0.01em; }
.trust-facts span { font-size: var(--step--1); color: var(--slate); }
.trust-clients { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 20px 48px; align-items: center; padding: 14px 0 16px; }
.tc-intro h2 { font: 500 var(--step--1)/1.3 var(--sans); letter-spacing: 0; margin: 0 0 2px; }
.tc-intro p { margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--slate); max-width: 56ch; }
.tc-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
@media (min-width: 1400px) { .tc-logos { flex-wrap: nowrap; gap: 12px 14px; } .tc-logos img { max-width: 80px; } .tc-logos img[src*="rogers"] { max-width: 96px; } }
.tc-logos li { height: 38px; display: flex; align-items: center; }
@media (max-width: 1023px) {
  .trust-facts li { padding: 12px 14px; }
  .trust-clients { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 767px) {
  .trust { border-bottom: 0; }
  .trust .wrap { display: grid; gap: 40px; }
  .trust-facts { grid-template-columns: 1fr; }
  .trust-facts li, .trust-facts li:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust-facts li:last-child { border-bottom: 1px solid var(--line); }
  .trust-facts strong { font-size: 1.2rem; }
  .trust-clients { border-top: 0; padding: 0; gap: 28px; }
  .tc-intro h2 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 12px; }
  .tc-intro p { font-size: var(--step--1); line-height: 1.5; }
  .tc-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; justify-items: start; }
  .tc-logos li { height: 40px; }
  }
@media (max-width: 767px) and (orientation: portrait) {
  /* the first screen is the hero alone; the trust strip is the second screen */
  body[data-snap] .screen-hero { height: auto; scroll-snap-align: none; }
  body[data-snap] .screen-hero .hero { flex: none; height: 100vh; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }
  .trust { min-height: 100vh; min-height: 100svh; padding: var(--m-top) 0 var(--m-bot); display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
}
@media (max-width: 767px) and (orientation: landscape) { .trust { padding: 28px 0; } }

/* services: the AI illustrations carry a quiet label */

/* made in-house: shop picture (the film button is off until Faro records one) */

/* free quote section */
.ask-lede { margin-top: 18px; max-width: 42ch; color: var(--slate); }
.ask-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.drivers h3 { font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.drivers ul { list-style: none; margin: 0; padding: 0; }
.drivers li { padding: 13px 0; border-top: 1px solid var(--line); font-size: var(--step-0); }
@media (max-width: 767px) {
  .ask-lede { margin-top: 12px; }
  .ask-ctas { margin-top: 28px; }
  .ask-ctas .btn { width: 100%; min-height: 56px; }
  .ask-ctas .link { display: inline-flex; align-items: center; min-height: 44px; }
  .drivers h3 { font-size: 1.25rem; margin-bottom: 14px; }
  .drivers ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .drivers li { padding: 9px 14px; border: 1px solid var(--fog-2); border-radius: var(--radius-pill); font-size: var(--step--1); }
}

/* recent work: calm placeholder until Faro's photos arrive */
.proj .soon { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--fog-1), var(--fog-2)); }
.proj .soon::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(26,24,22,.16); border-radius: calc(var(--radius) - 4px); }
.proj .soon b { position: relative; font: 400 .85rem/1 var(--mono); color: var(--graphite); }

/* final call to action */
.final .hours { font-size: var(--step--1); color: #cfc8be; margin-top: -4px; }
@media (max-width: 767px) { .final .hours { color: #ebe6de; } }
@media (max-width: 767px) and (orientation: portrait) { body[data-snap] [data-screen="Materials"] .after-link { margin-top: 12px; } body[data-snap] [data-screen="Materials"] .mat .slab { max-height: 340px; } }


/* ---------- Launch fix pass ---------- */
/* Home services: the sixth cell is the repair note (static; never expands or opens the sheet) */
.svc-repair { align-self: stretch; display: grid; align-content: center; justify-items: start; gap: 12px; min-height: 0; overflow: hidden; padding: clamp(20px, 2.4vw, 32px); border: 1px dashed var(--fog-2); border-radius: var(--radius); background: var(--paper); }
.svc-repair h3 { font-size: var(--step-1); }
.svc-repair p { color: var(--slate); font-size: var(--step--1); max-width: 36ch; }
.services.is-expanded .svc-repair p { display: none; }
@media (max-width: 767px) { body[data-snap] .svc-repair { min-height: 220px; } }
/* Dock: no reserved slot for the chat button unless the chat is on, so the buttons fill the bar */
@media (max-width: 1023px) { .dock { padding-right: 6px; } body:has(.chat-btn) .dock { padding-right: 60px; } }

/* Client-logo strips (home trust bar, /contractors, /services/commercial): one shared rule so every logo has the
   same visual height, no background, and the same greyscale + opacity. The "City of Coquitlam" text matches it. */
:is(.tc-logos, .sv-logos, .clients) { --logo-h: 40px; }
:is(.tc-logos, .sv-logos, .clients) li { display: flex; align-items: center; min-height: 44px; height: auto; }
:is(.tc-logos, .sv-logos, .clients) img { height: var(--logo-h); width: auto; max-width: 128px; object-fit: contain; background: none; opacity: .72; }
:is(.tc-logos, .sv-logos, .clients) :is(.tc-text, .sv-logo-text, .txt) { font: 500 1.05rem/1 var(--sans); letter-spacing: -.005em; color: var(--slate); white-space: nowrap; opacity: .9; }
@media (max-width: 767px) { :is(.tc-logos, .sv-logos, .clients) { --logo-h: 34px; } :is(.tc-logos, .sv-logos, .clients) img { max-width: min(108px, 100%); } .tc-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trust-clients { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .trust .wrap { grid-template-columns: minmax(0, 1fr); } }
/* Logos are pre-processed into one-colour "ink" marks on transparency, trimmed to the mark (originals: content/current-site/logos/). */

/* Home trust row on wide screens: all seven clients on one line inside the container. */
@media (min-width: 1400px) { .tc-logos { gap: 12px 12px; } .tc-logos .tc-text { font-size: .95rem; } }

/* ======================================================================
   Home: trust screen with pictures (phones) and the service-area map (2026-11-18)
   ====================================================================== */
.tf-media { display: none; }
.area-map { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #dde2e1;
  aspect-ratio: 400 / 474; height: min(487px, 54vh); max-width: 100%; }
.area-map svg { display: block; width: 100%; height: 100%; font-family: var(--sans); }
.area-map .m-land { fill: var(--fog-0); }
.area-map .m-water { fill: #dde2e1; }
.area-map .m-river { fill: none; stroke: #dde2e1; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.area-map .m-road { fill: none; stroke: var(--ember-deep); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .75; }
.area-map .m-note { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; fill: var(--slate); opacity: .8; }
.area-map .m-cities circle { fill: var(--ink); stroke: var(--fog-0); stroke-width: 1.5; }
.area-map .m-cities text { font-size: 14px; fill: var(--ink); paint-order: stroke; stroke: var(--fog-0); stroke-width: 3.5px; stroke-linejoin: round; }
.area-map .m-shop circle:first-child { fill: var(--ember); opacity: .35; }
.area-map .m-shop circle { fill: var(--ember-deep); }
.area-map .m-shop text { font-size: 15.5px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--fog-0); stroke-width: 3.5px; stroke-linejoin: round; }
.area-map .m-shop .m-sub { font-size: 12px; font-weight: 500; fill: var(--ember-deep); }
@media (prefers-reduced-motion: no-preference) {
  .area-map .m-shop circle:first-child { transform-box: fill-box; transform-origin: center; animation: shop-pulse 2.8s var(--ease) infinite; }
  @keyframes shop-pulse { 0%, 100% { transform: scale(.75); opacity: .45; } 50% { transform: scale(1.25); opacity: .15; } }
}
@media (max-width: 960px) { .area-map { height: min(487px, 60vh); } }
@media (max-width: 767px) and (orientation: portrait) {
  /* trust screen: the stones as swatches, the shop as a photo */
  .trust .wrap { gap: 0; }
  .trust-facts { gap: 14px; }
  .trust-facts li, .trust-facts li:first-child, .trust-facts li:last-child { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--fog-0); gap: 3px; overflow: hidden; }
  .tf-media { display: block; }
  .tf-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .tf-swatches a { display: grid; gap: 6px; text-decoration: none; font-size: .72rem; color: var(--slate); text-align: center; }
  .tf-swatches img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
  .tf-stones .tf-text { display: none; }   /* the swatches carry the five names */
  .tf-photo { margin: -16px -16px 12px; }
  .tf-photo img { display: block; width: 100%; height: clamp(110px, 20svh, 190px); object-fit: cover; object-position: 50% 42%; }
  /* where we work: the map names every town */
  .area p { margin-bottom: 16px; }
  .area-map { height: min(487px, 50svh); margin-inline: auto; margin-bottom: 14px; }
}

/* ======================================================================
   One header on every page (CEO, 2026-11-23): the logo, menu and main button sit in the same
   place on the home page and every inner page, using the full width — the home page's geometry.
   Inner pages keep their plain (not fixed, no fade) header; only the position is shared.
   ====================================================================== */
.site-header { padding-top: 12px; }
.site-header .nav { width: calc(100% - 2 * clamp(10px, 1.2vw, 20px)); max-width: none; min-height: 64px; padding: 0 8px 0 clamp(18px, 2vw, 32px); }
.site-header .menu { margin-inline: auto; }
.site-header .nav .btn { min-height: 48px; white-space: nowrap; }
@media (max-width: 1500px) {
  .site-header .nav { gap: 16px; }
  .site-header .menu { gap: 0; }
  .site-header .menu a, .site-header .menu button { padding: 0 8px; }
  .site-header .nav-right { gap: 12px; }
  .site-header .nav .btn { padding: 0 16px; }
}
@media (max-width: 720px) {
  .site-header .nav { min-height: 60px; padding: 0 6px 0 16px; }
}
