/* Hue & Hand Painting Co. | gallery white, ink type, color is the hero.
   Shape rule: buttons are full pills, cards 14-16px, paint chips 4-6px. */

@property --p { syntax: "<percentage>"; inherits: false; initial-value: 103%; }

:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #141414;
  --ink-2: #393939;
  --muted: #5b5b5b;
  --line: #e2e2de;
  --line-2: #c9c9c4;
  --err: #b42318;

  /* paint tokens: rewritten live by script.js from the chosen chip */
  --paint: #6f7b57;
  --paint-ink: #56603f;     /* AA text on white */
  --paint-deep: #6f7b57;    /* >= 3:1 for large display text */
  --on-paint: #ffffff;      /* text on a paint fill */
  --paint-tint: #e9ebe4;    /* quiet wash */
  --paint-hi: #a0a88f;
  --paint-lo: #565f42;

  --display: "Rufina", "Iowan Old Style", Georgia, serif;
  --sans: "Inclusive Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 68px;
  --shadow-1: 0 1px 2px rgba(20, 20, 20, .06), 0 10px 30px -18px rgba(20, 20, 20, .28);

  --q1: #a2ad92; --q2: #c3dcdb; --q3: #e7c2a5;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top 160ms var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }

.h2 {
  font: 700 clamp(34px, 4.3vw, 60px)/1.04 var(--display);
  letter-spacing: -.012em; text-wrap: balance; margin: 0 0 18px;
}
.h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.1 var(--display); text-wrap: balance; }
.body-lg { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.ink-paint { color: var(--paint-ink); transition: color 500ms ease; }
.nw { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 500ms ease, color 500ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-paint { background: var(--paint); color: var(--on-paint); box-shadow: inset 0 0 0 1px var(--paint-ring, transparent), inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px -14px rgba(20,20,20,.55); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-onpaint { background: var(--on-paint); color: var(--paint); }
.btn-onpaint-line { background: transparent; color: var(--on-paint); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn-paint:hover { box-shadow: inset 0 0 0 1px var(--paint-ring, transparent), inset 0 1px 0 rgba(255,255,255,.22), 0 14px 26px -14px rgba(20,20,20,.6); }
  .btn-line:hover { background: var(--ink); color: #fff; }
  .btn-ink:hover { background: #2a2a2a; }
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h); background: rgba(246, 246, 244, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow 200ms ease; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-chip { width: 22px; height: 30px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); padding: 2px 2px 8px; display: block; }
.logo-chip i { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--paint); transition: background-color 500ms ease; }
.logo-word { font: 700 23px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.logo-word em { font-style: normal; color: var(--paint-ink); transition: color 500ms ease; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 11px; border-radius: 999px; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease; }
@media (hover: hover) { .nav-links a:hover { background: rgba(20,20,20,.06); color: var(--ink); } }
.nav-act { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 4px; font-variant-numeric: tabular-nums; }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(20,20,20,.06); align-items: center; justify-content: center; }
.nav-menu .ic { width: 22px; height: 22px; }
.menu-sheet { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: grid; gap: 4px; box-shadow: 0 30px 40px -30px rgba(0,0,0,.25); }
.menu-sheet[hidden] { display: none; }
.menu-sheet > a:not(.btn) { padding: 14px 4px; font-size: 18px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-sheet .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.24fr);
  gap: clamp(28px, 3.6vw, 60px); align-items: start;
  padding: calc(var(--nav-h) + clamp(20px, 3.4vh, 40px)) var(--gutter) clamp(40px, 6vh, 72px);
  max-width: 1440px; margin: 0 auto;
}
.hero-title {
  font: 700 clamp(44px, 5.2vw, 78px)/1.0 var(--display);
  letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; padding-bottom: .04em;
}
.glaze {
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image:
    linear-gradient(104deg, transparent 0 42%, rgba(255,255,255,.4) 47.5%, rgba(255,255,255,.08) 51%, transparent 56% 100%),
    linear-gradient(180deg, #4a4a4a 0%, #1c1c1c 30%, #0d0d0d 58%, #1a1a1a 86%, #333 100%);
  background-size: 280% 100%, 100% 100%;
  background-position: 118% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 3px 3px rgba(20,20,20,.07));
}
.glaze-paint {
  background-image:
    linear-gradient(104deg, transparent 0 42%, rgba(255,255,255,.45) 47.5%, rgba(255,255,255,.1) 51%, transparent 56% 100%),
    linear-gradient(180deg, var(--paint-hi) 0%, var(--paint-deep) 34%, var(--paint-lo) 66%, var(--paint-deep) 92%, var(--paint-hi) 100%);
  transition: filter 400ms ease;
}
html.js:not(.rm):not(.shot) .glaze { animation: glaze 2.6s var(--ease) .35s both; }
html.js:not(.rm):not(.shot) .glaze-paint { animation-delay: .5s; }
@keyframes glaze { from { background-position: 118% 0, 0 0; } to { background-position: -30% 0, 0 0; } }
html.shot .glaze { background-position: 30% 0, 0 0; }

.lede { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 32ch; margin-bottom: 26px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* mixer card */
.mixer { margin-top: clamp(22px, 3.4vh, 36px); background: var(--surface); border-radius: 18px; padding: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); max-width: 520px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.surf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 999px; padding: 4px; gap: 2px; }
.surf { min-height: 40px; border: 0; background: transparent; border-radius: 999px; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-2); transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease; white-space: nowrap; padding: 0 8px; }
.surf[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line); }
.surf:active { transform: scale(.97); }
.surf-dot { width: 13px; height: 16px; border-radius: 2px; background: var(--dot, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); transition: background-color 400ms ease; flex: none; }
.surf[data-surface="accent"][data-off="1"] .surf-dot { background: repeating-linear-gradient(135deg, #ddd 0 3px, #f4f4f4 3px 6px); }

.readout { display: flex; align-items: center; gap: 16px; padding: 16px 6px 12px; }
.readout-chip { width: 58px; height: 76px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(0,0,0,.35); position: relative; flex: none; overflow: hidden; }
.readout-chip::before { content: ""; position: absolute; inset: 4px 4px 18px; border-radius: 3px; background: var(--sw, var(--paint)); transition: background-color 400ms ease; }
.readout-where { font-size: 13px; font-weight: 600; color: var(--muted); }
.readout-name { font: 700 clamp(24px, 2.2vw, 30px)/1.1 var(--display); margin: 2px 0 4px; }
.readout-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mixer-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 2px; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--bg); font-size: 14px; font-weight: 600; transition: transform 160ms var(--ease), background-color 160ms ease; -webkit-user-select: none; user-select: none; touch-action: none; }
.pill-btn .ic { width: 18px; height: 18px; }
.pill-btn:active { transform: scale(.97); }
@media (hover: hover) { .pill-btn:hover { background: #ececea; } }
.pill-btn .ic-on { display: none; color: var(--paint-ink); }
.pill-btn[aria-pressed="true"] .ic-on { display: block; }
.pill-btn[aria-pressed="true"] .ic-off { display: none; }
#beforeBtn { touch-action: none; }
.switch { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 8px; border: 0; background: transparent; font-size: 14px; font-weight: 600; margin-left: auto; }
.switch-track { width: 36px; height: 22px; border-radius: 999px; background: #cfcfcb; position: relative; transition: background-color 180ms ease; }
.switch-track i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform 220ms var(--ease); }
.switch[aria-checked="true"] .switch-track { background: var(--ink); }
.switch[aria-checked="true"] .switch-track i { transform: translateX(14px); }
.saved { margin-top: 12px; border-top: 1px solid var(--line); padding: 12px 4px 2px; }
.saved-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.saved-list { display: flex; flex-wrap: wrap; gap: 6px; }
.saved-list:empty { display: none; }
.saved-chip { width: 40px; height: 48px; border-radius: 4px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 3px 8px -5px rgba(0,0,0,.4); position: relative; padding: 0; transition: transform 160ms var(--ease); }
.saved-chip::before { content: ""; position: absolute; inset: 3px 3px 11px; border-radius: 2px; background: var(--sw); }
.saved-chip:active { transform: scale(.95); }
@media (hover: hover) { .saved-chip:hover { transform: translateY(-2px); } }
.saved-empty { font-size: 14px; color: var(--muted); }
.saved-list:not(:empty) + .saved-empty { display: none; }

/* stage / room */
.stage { position: relative; min-width: 0; }
.room { position: relative; aspect-ratio: 1600 / 1067; border-radius: 16px; overflow: hidden; background: #c9c9c7; isolation: isolate; box-shadow: 0 0 0 1px rgba(20,20,20,.06), 0 50px 90px -50px rgba(20, 20, 20, .55); }
.room-img, .mini-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.coat {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("assets/shade.webp"); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;
  background-color: var(--c, transparent); background-blend-mode: multiply;
  -webkit-mask-image: url("assets/m-walls.png"); mask-image: url("assets/m-walls.png");
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 50% 50%; mask-position: 50% 50%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: opacity 240ms ease;
}
.coat[data-coat="accent"] { -webkit-mask-image: url("assets/m-accent.png"); mask-image: url("assets/m-accent.png"); }
.coat[data-coat="trim"] { -webkit-mask-image: url("assets/m-trim.png"); mask-image: url("assets/m-trim.png"); }
.coat[data-coat="accent"][data-off="1"] { opacity: 0; }
.coat[data-empty="1"] { visibility: hidden; }
.coat-wet { opacity: 0; will-change: clip-path; }
.coat-wet.is-wet { opacity: 1; filter: brightness(1.07) saturate(1.06); transition: none; }
.coat-wet.is-drying { opacity: 0; transition: opacity 420ms ease; }
.room.is-before .coat { opacity: 0; transition-duration: 160ms; }
.roller { position: absolute; left: 0; top: 0; width: 54px; height: 54px; margin: -46px 0 0 -27px; color: var(--ink); opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 0 rgba(255,255,255,.7)) drop-shadow(0 8px 10px rgba(0,0,0,.25)); transition: opacity 160ms ease; z-index: 3; }
.roller .ic { width: 100%; height: 100%; }
.roller.is-on { opacity: 1; }
.room-tag { position: absolute; left: 14px; bottom: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); max-width: calc(100% - 28px); }
.room-tag > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-tag-chip { width: 16px; height: 20px; border-radius: 3px; background: var(--sw, var(--paint)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; transition: background-color 400ms ease; }
.before-tag { position: absolute; top: 14px; left: 14px; z-index: 4; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; opacity: 0; transform: translateY(-4px); transition: opacity 160ms ease, transform 160ms var(--ease); pointer-events: none; }
.room.is-before .before-tag { opacity: 1; transform: none; }
.room.is-before .room-tag { opacity: 0; }

/* deck arc */
.deck-wrap { position: relative; margin-top: 10px; }
.deck { position: relative; height: 150px; --R: 1500px; --cw: 30px; }
.dchip {
  position: absolute; left: 50%; bottom: 8px; width: var(--cw); height: 116px; margin-left: calc(var(--cw) / -2);
  border: 0; padding: 0; border-radius: 5px; background: #fff;
  box-shadow: 0 0 0 1px rgba(20,20,20,.07), 0 8px 16px -10px rgba(20,20,20,.45);
  transform-origin: 50% calc(100% + var(--R));
  transform: rotate(var(--a, 0deg)) translateY(var(--lift, 0px));
  transition: transform 300ms var(--ease), box-shadow 200ms ease;
}
.dchip::before { content: ""; position: absolute; inset: 3px 3px 16px; border-radius: 2px; background: var(--sw); }
.dchip::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; box-shadow: inset 0 0 0 1px #cfcfca; }
.dchip .dc-code { display: none; }
@media (hover: hover) and (pointer: fine) { .dchip:hover { --lift: -12px; z-index: 30; } }
.dchip[aria-selected="true"] { --lift: -22px; z-index: 31; box-shadow: 0 0 0 2px var(--ink), 0 14px 22px -12px rgba(20,20,20,.55); }
.deck-hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 6px; text-align: center; }
.deck-hint .ic { width: 18px; height: 18px; }

/* ---------- roller reveal ----------
   Fail-open: content is never hidden by default. JS adds .roll-wait, which lays a page-colored
   cover over the element; the cover's ragged roller edge then sweeps left to right (.roll-go). */
.roll { position: relative; }
.roll-wait::after, .roll-go::after {
  content: ""; position: absolute; inset: -3px; z-index: 6; pointer-events: none;
  background: var(--cover, var(--bg));
  clip-path: polygon(calc(var(--p) + 2px) 0%, calc(100% + 4px) 0, calc(100% + 4px) 100%, calc(var(--p) + -1px) 100%, calc(var(--p) + 4px) 93%, calc(var(--p) + -4px) 87%, calc(var(--p) + 3px) 81%, calc(var(--p) + -2px) 75%, calc(var(--p) + 5px) 69%, calc(var(--p) + -5px) 63%, calc(var(--p) + 2px) 57%, calc(var(--p) + -3px) 51%, calc(var(--p) + 6px) 45%, calc(var(--p) + 0px) 39%, calc(var(--p) + 4px) 33%, calc(var(--p) + -5px) 27%, calc(var(--p) + 3px) 21%, calc(var(--p) + -1px) 15%, calc(var(--p) + 5px) 10%, calc(var(--p) + -4px) 5%);
}
.roll-wait::after { --p: -4%; }
.roll-go::after { --p: 104%; transition: --p 1.15s var(--ease-io); }

/* ---------- problem ---------- */
.chiplie { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); }
.chiplie-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chiplie-copy .h2 { max-width: 14ch; }
.lies { margin-top: 36px; display: grid; gap: 22px; }
.lie { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.lie-chip { width: 40px; height: 52px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 12px -8px rgba(0,0,0,.35); position: relative; }
.lie-chip::before { content: ""; position: absolute; inset: 3px 3px 12px; border-radius: 2px; background: color-mix(in oklab, var(--paint) calc(100% - var(--t) * 200%), white); transition: background-color 500ms ease; }
.lie h3 { font-size: 19px; font-weight: 650; margin-bottom: 3px; }
.lie p { color: var(--muted); max-width: 44ch; }
.chiplie-media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; position: relative; box-shadow: var(--shadow-1); }
.chiplie-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- fan deck ---------- */
.fan { position: relative; background: var(--surface); border-block: 1px solid var(--line); }
.fan-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 32px; overflow: hidden; }
.fan-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.fan-read { display: flex; gap: 18px; align-items: center; margin: 30px 0 22px; }
.fan-read-sw { width: 86px; height: 112px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgba(0,0,0,.45); position: relative; flex: none; }
.fan-read-sw::before { content: ""; position: absolute; inset: 5px 5px 24px; border-radius: 3px; background: var(--sw, var(--paint)); transition: background-color 300ms ease; }
.fan-read-name { font: 700 clamp(26px, 2.6vw, 36px)/1.06 var(--display); }
.fan-read-meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); margin: 6px 0 6px; font-variant-numeric: tabular-nums; }
.fan-read-note { color: var(--ink-2); max-width: 36ch; }
.fan-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.fiine { font-size: 13.5px; color: var(--muted); margin-top: 18px; max-width: 46ch; }
.fan-stage { position: relative; height: min(72vh, 620px); min-height: 420px; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.fan-stage.is-drag { cursor: grabbing; }
.fan-ring { position: absolute; left: 50%; bottom: 46px; width: 0; height: 0; --chipH: min(50vh, 430px); }
.fchip {
  position: absolute; left: -38px; bottom: -34px; width: 76px; height: var(--chipH);
  border: 0; padding: 0; border-radius: 6px; background: #fff;
  box-shadow: 0 0 0 1px rgba(20,20,20,.08), 0 10px 22px -14px rgba(20,20,20,.5);
  transform-origin: 50% calc(100% - 34px);
  transform: rotate(var(--rot, 0deg)) translateY(var(--pop, 0px));
  transition: transform 180ms var(--ease);
  overflow: hidden; display: flex; flex-direction: column; text-align: left;
}
.fchip .fs { display: block; }
.fchip .fs1 { flex: 0 0 34%; background: var(--sw); margin: 5px 5px 0; border-radius: 3px 3px 0 0; }
.fchip .fs2 { flex: 0 0 14%; background: var(--sw2); margin: 0 5px; }
.fchip .fs3 { flex: 0 0 12%; background: var(--sw3); margin: 0 5px; border-radius: 0 0 3px 3px; }
.fchip .fl { flex: 1; position: relative; padding: 8px 6px 40px; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; }
.fchip .fl b { font: 700 12.5px/1.15 var(--display); color: var(--ink); }
.fchip .fl em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #5d5d5d; font-variant-numeric: tabular-nums; }
.fchip .fl b, .fchip .fl em { opacity: 0; transition: opacity 200ms ease; }
.fchip[aria-selected="true"] .fl b, .fchip[aria-selected="true"] .fl em, .fchip:last-child .fl b, .fchip:last-child .fl em { opacity: 1; }
.fchip[aria-selected="true"] { z-index: 39 !important; }
.fchip .fl::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d6d6d2; }
.fchip[aria-selected="true"] { --pop: -26px; box-shadow: 0 0 0 2px var(--ink), 0 16px 26px -14px rgba(20,20,20,.6); }
.fchip.is-hot:not([aria-selected="true"]) { --pop: -14px; }
.fan-rivet { position: absolute; left: 50%; bottom: 46px; width: 26px; height: 26px; margin: 0 0 -13px -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fafafa 0 18%, #b9b9b4 55%, #7d7d78 100%); box-shadow: 0 2px 4px rgba(0,0,0,.35), inset 0 -1px 2px rgba(0,0,0,.3); z-index: 40; pointer-events: none; }

/* ---------- services bento ---------- */
.services { padding: clamp(80px, 10vw, 140px) 0; }
.svc-h { max-width: 18ch; margin-bottom: clamp(28px, 4vw, 48px); }
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 250px 250px minmax(310px, auto);
  grid-template-areas:
    "int int int int int int int ext ext ext ext ext"
    "int int int int int int int ext ext ext ext ext"
    "cab cab cab prep prep prep lead lead con con con con";
}
.tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.tile h3 { font: 700 clamp(22px, 1.9vw, 28px)/1.1 var(--display); margin-bottom: 8px; }
.tile p { font-size: 15.5px; line-height: 1.5; }
.tile-int { grid-area: int; } .tile-ext { grid-area: ext; } .tile-cab { grid-area: cab; } .tile-prep { grid-area: prep; } .tile-lead { grid-area: lead; } .tile-consult { grid-area: con; }
.tile-int img, .tile-ext img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.tile-int .tile-txt, .tile-ext .tile-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 28px 26px; color: #fff; background: linear-gradient(180deg, rgba(14,14,14,0) 0%, rgba(14,14,14,.55) 45%, rgba(14,14,14,.82) 100%); }
.tile-int .tile-txt p, .tile-ext .tile-txt p { max-width: 46ch; color: rgba(255,255,255,.92); }
@media (hover: hover) and (pointer: fine) { .tile-int:hover img, .tile-ext:hover img { transform: scale(1.03); } }
.tile-cab, .tile-prep { display: flex; flex-direction: column; }
.tile-cab img, .tile-prep img { width: 100%; height: 170px; object-fit: cover; flex: none; }
.tile-cab .tile-txt, .tile-prep .tile-txt { padding: 20px 22px 22px; }
.tile-cab p, .tile-prep p { color: var(--muted); }
.tile-lead { background: var(--ink); color: #fff; box-shadow: none; padding: 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-lead p { color: rgba(255,255,255,.8); }
.tile-ic { width: 36px; height: 36px; margin-bottom: auto; color: #fff; }
.tile-consult { background: var(--paint); color: var(--on-paint); box-shadow: inset 0 0 0 1px var(--paint-ring, transparent); padding: 26px 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; transition: background-color 500ms ease, color 500ms ease; }
.tile-consult p { margin-bottom: 18px; max-width: 34ch; opacity: .92; }
.consult-chips { display: flex; gap: 6px; margin-bottom: auto; padding-bottom: 20px; }
.consult-chips i { width: 34px; height: 44px; border-radius: 4px; background: #fff; position: relative; box-shadow: 0 6px 12px -8px rgba(0,0,0,.5); }
.consult-chips i::before { content: ""; position: absolute; inset: 3px 3px 10px; border-radius: 2px; background: var(--sw, #ddd); }

/* ---------- sheen lab ---------- */
.sheen { padding: clamp(70px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--bg), #efefec 60%, var(--bg)); }
.sheen-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.sheen-opts { display: grid; gap: 8px; margin-top: 30px; max-width: 480px; }
.sheen-opt { display: grid; grid-template-columns: 130px 1fr; gap: 4px 16px; align-items: baseline; text-align: left; padding: 14px 16px; border-radius: 14px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease); }
.sheen-opt b { font: 700 21px/1.1 var(--display); }
.sheen-opt span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.sheen-opt[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 24px -18px rgba(0,0,0,.5); }
.sheen-opt:active { transform: scale(.985); }
@media (hover: hover) { .sheen-opt:not([aria-checked="true"]):hover { background: rgba(255,255,255,.6); } }
.sheen-stage { position: relative; aspect-ratio: 1 / 1; max-height: 640px; width: 100%; border-radius: 22px; background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #f1f1ee 55%, #e4e4e0 100%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; touch-action: pan-y; }
.sheen-stage canvas { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 48px); }
.sheen-fallback { position: absolute; inset: 0 0 48px; display: grid; place-items: center; }
.sheen-stage.is-gl .sheen-fallback { display: none; }
.door { width: 46%; aspect-ratio: 1 / 1.55; background: var(--paint); border-radius: 6px; padding: 9% 9%; display: grid; grid-template-rows: 1fr 1.5fr; gap: 9%; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 30px 50px -30px rgba(0,0,0,.6); transition: background-color 500ms ease; }
.door i { display: block; border-radius: 3px; background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(0,0,0,.12)); box-shadow: inset 0 0 0 7px rgba(0,0,0,.06), inset 2px 2px 0 7px rgba(255,255,255,.12); }
.sheen-hint { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 0 16px; text-align: center; }
.sheen-hint .ic { width: 18px; height: 18px; }

/* ---------- process ---------- */
.process { padding: clamp(70px, 9vw, 130px) 0; }
.proc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.proc-media { position: sticky; top: calc(var(--nav-h) + 24px); height: min(calc(100vh - var(--nav-h) - 80px), 660px); border-radius: 16px; overflow: hidden; background: #ddd; box-shadow: var(--shadow-1); }
.pm { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms ease; }
.pm.is-on { opacity: 1; }
.pm img, .pm video { width: 100%; height: 100%; object-fit: cover; }
.mini-room { position: absolute; inset: 0; }
.pm-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 22px 18px; color: #fff; font: 700 22px/1.2 var(--display); background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); pointer-events: none; }
.steps { margin-top: 30px; counter-reset: s; }
.step { padding: 30px 0 34px; border-top: 1px solid var(--line); opacity: .45; transition: opacity 400ms ease; }
.step.is-on { opacity: 1; }
.step h3 { font: 700 clamp(24px, 2.2vw, 30px)/1.15 var(--display); display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.step-n { width: 34px; height: 42px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: end center; padding-bottom: 3px; font: 600 11px/1 var(--sans); color: var(--muted); flex: none; position: relative; }
.step-n::before { content: ""; position: absolute; inset: 3px 3px 15px; border-radius: 2px; background: color-mix(in oklab, var(--paint) 70%, white); transition: background-color 500ms ease; }
.step.is-on .step-n::before { background: var(--paint); }
.step p { color: var(--ink-2); max-width: 46ch; }
.steps .step:last-child { padding-bottom: 20vh; }

/* ---------- proof ---------- */
.proof { padding: clamp(70px, 9vw, 130px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.proof-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.promises li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.promises .ic { width: 28px; height: 28px; color: var(--paint-ink); transition: color 500ms ease; }
.promises h3 { font-size: 18px; font-weight: 650; margin-bottom: 4px; }
.promises p { color: var(--muted); font-size: 15.5px; }
.quotes { margin-top: clamp(56px, 7vw, 90px); }
.quotes-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.quotes-note .ic { width: 18px; height: 18px; }
.quote-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { background: #fff; border-radius: 8px; padding: 8px 8px 0; box-shadow: 0 0 0 1px var(--line), 0 20px 30px -24px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.quote:nth-child(2) { transform: translateY(26px); }
.quote blockquote { background: var(--q); border-radius: 4px; padding: 26px 22px 34px; font: 400 clamp(19px, 1.55vw, 22px)/1.35 var(--display); color: var(--ink); flex: 1; }
.quote figcaption { padding: 14px 12px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.area { margin-top: clamp(70px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.area-copy p { color: var(--muted); margin-top: 10px; max-width: 40ch; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 500; }
.area-chips li::before { content: ""; width: 14px; height: 18px; border-radius: 3px; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* ---------- pricing ---------- */
.cost { padding: clamp(70px, 9vw, 120px) 0; }
.cost-band { background: var(--paint-tint); border-radius: 24px; padding: clamp(28px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; transition: background-color 600ms ease; }
.cost-ctrls { margin-top: 30px; display: grid; gap: 22px; }
.field-row { display: grid; gap: 10px; }
.field-lab { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.tog { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms var(--ease); }
.tog::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color 160ms ease, box-shadow 160ms ease; }
.tog[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tog[aria-pressed="true"]::before { background: var(--paint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: none; }
.tog:active { transform: scale(.97); }
.tog-wide { margin-top: 18px; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); justify-self: start; }
.seg button { min-height: 40px; padding: 0 18px; border: 0; background: transparent; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }

/* drag counter */
.counter { display: inline-flex; align-items: stretch; gap: 6px; justify-self: start; }
.cnt-btn { width: 48px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; transition: transform 160ms var(--ease), background-color 160ms ease; }
.cnt-btn .ic { width: 20px; height: 20px; }
.cnt-btn:active { transform: scale(.94); }
.cnt-btn:disabled { opacity: .35; cursor: default; }
.cnt-val { position: relative; min-width: 168px; height: 72px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); display: flex; align-items: baseline; justify-content: center; gap: 8px; padding-top: 10px; cursor: ew-resize; touch-action: none; -webkit-user-select: none; user-select: none; overflow: hidden; }
.counter-wide .cnt-val { min-width: 210px; }
.cnt-num { font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.cnt-unit { font-size: 14px; font-weight: 600; color: var(--muted); }
.cnt-ticks { position: absolute; left: 10px; right: 10px; bottom: 7px; height: 9px; background-image: repeating-linear-gradient(90deg, #b9b9b4 0 1.5px, transparent 1.5px 11px); background-position: var(--tx, 0) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.cnt-ticks::after { content: ""; position: absolute; left: 50%; top: -3px; width: 2px; height: 13px; margin-left: -1px; background: var(--paint); border-radius: 2px; }
.cnt-val.is-drag { box-shadow: inset 0 0 0 2px var(--ink); }
.cnt-val:focus-visible { outline-offset: 2px; }

.cost-out { background: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-1); }
.cost-label { font-size: 14px; font-weight: 650; color: var(--muted); }
.cost-num { font: 700 clamp(36px, 4.2vw, 56px)/1.05 var(--display); margin: 6px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cost-days { color: var(--ink-2); margin-bottom: 18px; }
.cost-break { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 16px; display: grid; gap: 6px; }
.cost-break li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cost-fine { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.faq-head a { color: var(--ink); font-weight: 600; }
.hours { margin-top: 28px; display: grid; gap: 0; max-width: 360px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.hours dt { font-weight: 650; }
.hours dd { color: var(--muted); text-align: right; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 22px; height: 22px; transition: transform 240ms var(--ease); flex: none; }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- booking ---------- */
.book { padding: clamp(70px, 9vw, 120px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.book-head { max-width: 720px; margin-bottom: 36px; }
.sim-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); border-radius: 999px; padding: 9px 16px 9px 12px; }
.sim-note .ic { width: 18px; height: 18px; flex: none; }
.book-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.card-chip { position: sticky; top: calc(var(--nav-h) + 24px); background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgba(0,0,0,.5); }
.cc-top { background: var(--paint); color: var(--on-paint); border-radius: 5px; min-height: 180px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; transition: background-color 500ms ease, color 500ms ease; }
.cc-code { font-size: 13px; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.cc-name { font: 700 28px/1.1 var(--display); }
.cc-list { padding: 14px 12px 6px; display: grid; gap: 12px; }
.cc-list > div { display: grid; gap: 2px; }
.cc-list dt { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.cc-list dd { font-size: 15px; color: var(--ink); }
.cc-empty { color: var(--muted); }
.cc-colors { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.cc-colors i { width: 22px; height: 28px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; }
.cc-colors i::before { content: ""; position: absolute; inset: 2px 2px 7px; border-radius: 1.5px; background: var(--sw); }
.cc-progress { margin: 10px 12px 0; height: 4px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.cc-progress i { display: block; height: 100%; width: 16%; background: var(--ink); border-radius: 4px; transition: width 400ms var(--ease); }
.cc-step { font-size: 13px; color: var(--muted); padding: 8px 12px 8px; font-weight: 600; }

.bk { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); padding: clamp(20px, 3vw, 36px); min-height: 470px; display: flex; flex-direction: column; }
.bk-form { display: flex; flex-direction: column; flex: 1; }
.bk-step { display: none; }
.bk-step.is-on { display: block; animation: stepIn 360ms var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.shot .bk-step.is-on, html.rm .bk-step.is-on { animation: none; }
.bk-q { font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--display); margin-bottom: 8px; display: block; }
.bk-help { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.proj-opts, .cond-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.proj, .cond { text-align: left; border: 0; background: #fff; border-radius: 16px; padding: 18px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; gap: 4px; transition: box-shadow 160ms ease, background-color 160ms ease, transform 160ms var(--ease); }
.proj .ic { width: 30px; height: 30px; margin-bottom: 18px; }
.proj b, .cond b { font: 700 21px/1.15 var(--display); }
.proj span, .cond span { font-size: 14.5px; color: var(--muted); }
.cond { padding: 8px 8px 16px; }
.cond img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.cond b, .cond span { padding: 0 8px; }
.proj[aria-checked="true"], .cond[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paint-tint); }
.proj:active, .cond:active { transform: scale(.98); }
@media (hover: hover) { .proj:not([aria-checked="true"]):hover, .cond:not([aria-checked="true"]):hover { box-shadow: inset 0 0 0 1.5px var(--line-2); } }
.size-grp { display: grid; gap: 20px; padding: 18px 0; }
.size-grp + .size-grp { border-top: 1px solid var(--line); }
.size-grp[hidden] { display: none; }

.scheme { display: grid; gap: 8px; margin-bottom: 18px; }
.sch-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 12px; background: var(--bg); }
.sch-sw { width: 34px; height: 42px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; flex: none; }
.sch-sw::before { content: ""; position: absolute; inset: 3px 3px 10px; border-radius: 2px; background: var(--sw); }
.sch-txt { flex: 1; min-width: 0; }
.sch-txt b { display: block; font-weight: 650; font-size: 15px; }
.sch-txt span { font-size: 13.5px; color: var(--muted); }
.sch-row .tog { min-height: 40px; padding: 0 14px; font-size: 14px; }
.mini-deck { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.mchip { aspect-ratio: 3 / 4; min-height: 40px; border-radius: 4px; border: 0; padding: 0; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; transition: transform 160ms var(--ease), box-shadow 160ms ease; }
.mchip::before { content: ""; position: absolute; inset: 3px 3px 9px; border-radius: 2px; background: var(--sw); }
.mchip[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); transform: translateY(-3px); }
.mchip:active { transform: scale(.95); }

.days-wrap { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 8px; align-items: center; margin-top: 8px; }
.days-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; }
.days-nav:disabled { opacity: .3; cursor: default; }
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.day { border: 0; background: #fff; border-radius: 12px; padding: 10px 4px 12px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; justify-items: center; gap: 2px; transition: box-shadow 160ms ease, background-color 160ms ease, transform 160ms var(--ease); min-width: 0; }
.day small { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.day b { font: 700 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.day[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.day[aria-checked="true"] small { color: rgba(255,255,255,.75); }
.day:active { transform: scale(.97); }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.time { min-height: 52px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15.5px; font-variant-numeric: tabular-nums; transition: box-shadow 160ms ease, background-color 160ms ease, transform 160ms var(--ease); }
.time[aria-checked="true"] { background: var(--paint); color: var(--on-paint); box-shadow: none; }
.time:disabled { color: #9a9a96; text-decoration: line-through; background: var(--bg); box-shadow: none; cursor: not-allowed; }
.time:active:not(:disabled) { transform: scale(.97); }
.times-empty { grid-column: 1 / -1; color: var(--muted); font-size: 15px; padding: 10px 0; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 16px; }
.fld { display: grid; gap: 6px; align-content: start; }
.fld-full { grid-column: 1 / -1; }
.fld label { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.fld .opt { font-weight: 500; color: var(--muted); }
.fld input, .fld textarea { width: 100%; min-height: 50px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); transition: box-shadow 160ms ease; }
.fld textarea { resize: vertical; min-height: 90px; }
.fld input::placeholder, .fld textarea::placeholder { color: #6b6b67; }
.fld input:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px color-mix(in oklab, var(--paint) 30%, transparent); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.err { color: var(--err); font-size: 13.5px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }

.review { display: grid; gap: 0; margin: 14px 0 18px; }
.review > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.review dt { font-size: 14px; font-weight: 650; color: var(--muted); }
.review dd { font-size: 15.5px; }

.bk-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.bk-err { flex: 1; color: var(--err); font-size: 14px; font-weight: 600; text-align: center; }
.bk-foot[hidden] { display: none; }
.bk-step + .bk-foot { margin-top: 28px; }

.bk-done:focus { outline: none; }
.done-head { display: flex; gap: 16px; align-items: flex-start; }
.done-check { width: 52px; height: 52px; border-radius: 50%; background: var(--paint); color: var(--on-paint); display: grid; place-items: center; flex: none; }
.done-check .ic { width: 26px; height: 26px; }
.done-title { font: 700 clamp(26px, 2.6vw, 34px)/1.1 var(--display); }
.done-sub { color: var(--ink-2); margin-top: 6px; }
.done-sub b { font-variant-numeric: tabular-nums; }
.done-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.done-note { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.previews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.pv-label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; color: var(--muted); margin-bottom: 10px; }
.pv-label .ic { width: 18px; height: 18px; }
.phone-shell { background: #f2f2f0; border-radius: 26px; padding: 18px 14px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.sms-from { text-align: center; font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 12px; }
.bubble { background: #e5e5ea; color: #111; border-radius: 18px 18px 18px 6px; padding: 11px 14px; font-size: 15px; line-height: 1.45; max-width: 92%; }
.sms-time { font-size: 12px; color: var(--muted); margin-top: 6px; padding-left: 6px; }
.mail-shell { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.mail-meta { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: grid; gap: 2px; }
.mail-meta b { color: var(--ink); font-weight: 650; }
.mail-band { background: var(--paint); color: var(--on-paint); padding: 18px 20px; display: flex; align-items: center; gap: 10px; }
.mail-band .logo-chip { box-shadow: none; }
.mail-band .logo-chip i { background: var(--on-paint); opacity: .9; }
.mail-band span { font: 700 20px/1 var(--display); }
.mail-body { padding: 18px 20px 20px; font-size: 15px; line-height: 1.55; display: grid; gap: 10px; }
.mail-body h4 { font: 700 22px/1.2 var(--display); margin: 0; }
.mail-when { background: var(--bg); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.mail-when b { font-variant-numeric: tabular-nums; }
.mail-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; background: var(--bg); border-radius: 999px; padding: 5px 10px 5px 6px; }
.mail-chips span i { width: 14px; height: 18px; border-radius: 2px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mail-foot { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }

/* ---------- final CTA ---------- */
.final { background: var(--paint); color: var(--on-paint); padding: clamp(90px, 12vw, 170px) 0; position: relative; overflow: hidden; box-shadow: inset 0 1px 0 var(--paint-ring, transparent), inset 0 -1px 0 var(--paint-ring, transparent); transition: background-color 600ms ease, color 600ms ease; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.final-in { position: relative; }
.final-stack { position: absolute; right: 2%; top: 50%; width: clamp(220px, 24vw, 330px); aspect-ratio: 3 / 4.3; transform: translateY(-50%); pointer-events: none; }
.big-chip { position: absolute; inset: 0; background: #fff; border-radius: 8px; padding: 10px 10px 0; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.05); color: var(--ink); transform-origin: 50% 100%; }
.big-chip[data-big="trim"] { transform: rotate(-13deg) translateX(-14%); }
.big-chip[data-big="accent"] { transform: rotate(-5deg) translateX(-4%); }
.big-chip[data-big="walls"] { transform: rotate(5deg) translateX(8%); }
.bc-sw { flex: 1; border-radius: 4px; background: var(--sw, var(--paint)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: background-color 500ms ease; }
.bc-name { font: 700 clamp(20px, 2vw, 28px)/1.1 var(--display); padding: 16px 8px 2px; }
.bc-code { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 8px 18px; font-variant-numeric: tabular-nums; }
.final-chip { display: inline-flex; gap: 12px; font-size: 15px; font-weight: 650; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.final-title { font: 700 clamp(46px, 7.2vw, 96px)/1 var(--display); letter-spacing: -.02em; max-width: 13ch; text-wrap: balance; margin-bottom: 22px; }
.final-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; margin-bottom: 30px; opacity: .92; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot p, .foot li { font-size: 15px; color: var(--ink-2); }
.foot p + p { margin-top: 12px; }
.foot-brand .logo { margin-bottom: 16px; }
.foot-legal { font-size: 13.5px !important; color: var(--muted) !important; }
.foot-h { font-size: 14px; font-weight: 650; margin-bottom: 12px; }
.foot-list { display: grid; gap: 6px; }
.foot a { text-decoration: none; }
@media (hover: hover) { .foot a:hover { text-decoration: underline; } }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; }
.foot-bottom p { font-size: 13.5px; color: var(--muted); }
.foot-proto { max-width: 60ch; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 55; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); pointer-events: none; transition: opacity 220ms ease, transform 300ms var(--ease); display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); }
.toast i { width: 14px; height: 18px; border-radius: 2px; background: var(--sw, var(--paint)); flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-menu { display: inline-flex; }
  .nav-act { margin-left: auto; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { display: contents; }
  .hero-title { order: 1; margin-bottom: 0; }
  .lede { order: 2; margin-bottom: 0; max-width: 40ch; }
  .hero > .hero-copy > .cta-row { order: 3; }
  .stage { order: 4; }
  .mixer { order: 5; margin-top: 0; max-width: none; }
  .hero { gap: 18px; }
  .deck { height: auto; display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .dchip { position: relative; left: auto; bottom: auto; margin: 0; flex: 0 0 44px; width: 44px; height: 78px; transform: none; scroll-snap-align: start; }
  .dchip::before { inset: 3px 3px 16px; }
  .dchip[aria-selected="true"] { transform: translateY(-4px); }
  .deck-wrap { margin-top: 8px; }
  .deck-hint { justify-content: flex-start; margin-top: 2px; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 340px 340px auto auto; grid-template-areas: "int int int int int int" "ext ext ext ext ext ext" "cab cab cab prep prep prep" "lead lead con con con con"; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .card-chip { position: relative; top: auto; display: grid; grid-template-columns: 200px 1fr; }
  .cc-top { min-height: 0; }
  .cc-progress, .cc-step { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .chiplie-grid, .fan-grid, .sheen-grid, .proc-grid, .faq-grid, .area, .cost-band { grid-template-columns: minmax(0, 1fr); }
  .chiplie-media { aspect-ratio: 4 / 3; }
  .fan-pin { min-height: 0; display: block; padding: 70px 0 40px; }
  .fan-stage { height: calc(min(44vw, 250px) + 90px); min-height: 0; margin-top: 10px; }
  .fan-ring { --chipH: min(44vw, 250px); bottom: 34px; }
  .fan-rivet { bottom: 34px; }
  .fchip { width: 46px; left: -23px; bottom: -26px; transform-origin: 50% calc(100% - 26px); }
  .fchip .fs1 { margin: 4px 4px 0; } .fchip .fs2, .fchip .fs3 { margin: 0 4px; }
  .fchip .fl { padding: 6px 4px 30px; }
  .fchip .fl b { font-size: 10px; } .fchip .fl em { font-size: 9px; }
  .fchip .fl::after { width: 10px; height: 10px; margin-left: -5px; bottom: 16px; }
  .fchip .fl b { font-size: 11px; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-row { grid-template-columns: minmax(0, 1fr); }
  .quote:nth-child(2) { transform: none; }
  .faq-head { position: static; }
  .proc-media { top: calc(var(--nav-h) + 8px); height: 40vh; z-index: 2; }
  .pm-cap { display: none; }
  .steps .step:last-child { padding-bottom: 30px; }
  .previews { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sheen-stage { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16.5px; }
  .nav-phone span { display: none; }
  .nav-phone { width: 44px; height: 44px; justify-content: center; border-radius: 999px; background: rgba(20,20,20,.06); padding: 0; }
  .nav-act .btn-sm { display: none; }
  .logo-word { font-size: 21px; }
  .hero-title { font-size: clamp(40px, 11vw, 54px); }
  .cta-row .btn { flex: 1 1 auto; }
  .mixer { padding: 10px; }
  .surf { font-size: 13.5px; gap: 6px; }
  .readout { padding: 14px 4px 10px; }
  .switch { margin-left: 0; }
  .room { border-radius: 12px; }
  .room-tag { font-size: 13px; left: 10px; bottom: 10px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "int" "ext" "con" "cab" "prep" "lead"; }
  .tile-int, .tile-ext { min-height: 380px; }
  .tile-lead { min-height: 220px; }
  .tile-consult { min-height: 300px; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .proj-opts, .cond-opts { grid-template-columns: minmax(0, 1fr); }
  .proj { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
  .proj .ic { margin: 0; }
  .proj span { flex-basis: 100%; padding-left: 44px; margin-top: -4px; }
  .cond { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 2px 12px; padding: 8px; align-items: center; }
  .cond img { grid-row: 1 / 3; margin: 0; aspect-ratio: 1; }
  .cond b, .cond span { padding: 0; }
  .cond b { align-self: end; }
  .cond span { align-self: start; }
  .mini-deck { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .review > div { grid-template-columns: 1fr; gap: 2px; }
  .card-chip { grid-template-columns: minmax(0, 1fr); order: 2; }
  .bk { order: 1; }
  .cc-top { min-height: 120px; }
  .cc-list { grid-template-columns: 1fr 1fr; }
  .bk { padding: 18px 16px; min-height: 0; }
  .bk-foot { flex-wrap: wrap; }
  .bk-err { order: -1; flex-basis: 100%; }
  .bk-foot .btn { flex: 1; }
  .cost-band { padding: 24px 18px; border-radius: 18px; }
  .cnt-val { min-width: 0; flex: 1; }
  .counter { display: flex; width: 100%; }
  .seg { justify-self: stretch; }
  .seg button { padding: 0 10px; }
  .sheen-opt { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17.5px; }
  .faq-list details p { padding-right: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .final-title { font-size: clamp(42px, 12vw, 60px); }
  .final-stack { display: none; }
  .fan-acts .btn { flex: 1 1 auto; }
  #estToBook { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 12px 20px; }
}

/* reduced motion: keep color fades, drop movement */
html.rm *, html.rm *::before, html.rm *::after { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .dchip, .fchip, .btn, .tog, .pill-btn, .tile-int img, .tile-ext img { transition-property: background-color, color, box-shadow, opacity !important; }
  .roll-go { transition: none; }
}
