/* CEO Resin: the pour.
   A live metallic epoxy floor (pour.js) runs behind the whole page in Vee's own colorways.
   The interface sits on it as cured resin: deep near-black panels with a hairline that takes
   the current pour's metal colour, white type, and the logo's gold for money actions only. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("fonts/unbounded-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ground: #060608;
  --resin: rgba(8, 8, 11, 0.86);         /* cured panel */
  --resin-solid: #0b0b0f;
  --ink: #f4f3f1;
  --ink-2: #c4c2c8;                      /* 10.6:1 on resin */
  --ink-3: #9a98a0;                      /* 6.4:1 on resin */
  --gold: #e2b85a;
  --gold-deep: #b98a2c;
  --gold-ink: #1a1206;
  --field: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.16);
  --stroke-hover: rgba(255, 255, 255, 0.32);
  --error: #ff8a8a;
  --metal: #a9caff;                      /* follows the pour (opens on ocean blue) */
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 72px);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-panel: 22px;
  --r-control: 12px;
  color-scheme: dark;
}
body[data-pour="black-silver"] { --metal: #d6d9e0; }
body[data-pour="purple-gold"] { --metal: #c8b8ff; }
body[data-pour="gold"]        { --metal: #f0c46c; }
body[data-pour="ocean"]       { --metal: #a9caff; }
body[data-pour="pink"]        { --metal: #ff9ec8; }
body[data-pour="marble"]      { --metal: #ffffff; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #3a3a42 var(--ground); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--gold); color: var(--gold-ink); border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- The pour ---------- */
.pour {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: -1; display: block;
  /* still fallback before WebGL lands (or without it) */
  background:
    linear-gradient(160deg, #0b2a6b, #061a4a 45%, #1f5fd0);
}

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 0;
  padding-top: max(18px, env(safe-area-inset-top));
}
.site-header::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 100vw; height: 170px; transform: translateX(-50%);
  background: linear-gradient(rgba(4, 4, 6, 0.7), rgba(4, 4, 6, 0.35) 55%, transparent);
  pointer-events: none;
}
.brand img { width: 132px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6)); }
.nav ul { display: flex; justify-content: center; gap: clamp(8px, 2vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-decoration: none; color: var(--ink);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
  background: linear-gradient(var(--metal), var(--metal)) 50% 100% / 0 1.5px no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s;
}
.nav a:hover { background-size: calc(100% - 12px) 1.5px; }
.phone { display: grid; justify-items: end; text-decoration: none; line-height: 1.15; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.phone small { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.phone strong { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--gold); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px); gap: clamp(28px, 5vw, 96px);
  align-items: center;
  max-width: var(--max); margin: 0 auto;
  min-height: calc(100svh - 120px);
  padding: clamp(28px, 5vh, 64px) var(--gutter) clamp(48px, 8vh, 96px);
}
/* a dark glaze behind the headline so it reads on every pour, the white marble included */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -140px 30% -110px -30vw;
  background: radial-gradient(closest-side at 55% 50%, rgba(4, 4, 6, 0.8), rgba(4, 4, 6, 0.55) 55%, transparent);
  pointer-events: none; transition: opacity 1.2s var(--ease);
}
body[data-pour="marble"] .hero::before { background: radial-gradient(closest-side at 55% 50%, rgba(10, 10, 14, 0.82), rgba(10, 10, 14, 0.55) 60%, transparent); }
.hero h1 {
  font-size: clamp(40px, 5.5vw, 84px); line-height: 1; letter-spacing: -0.035em; font-weight: 700;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.hero h1 span { display: block; }
.sub { margin-top: 26px; max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8); }
.serving { margin-top: 26px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }

/* the pour picker */
.picker { margin: 40px 0 0; padding: 0; border: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.chips { display: grid; grid-template-columns: repeat(3, max-content); gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 6px 16px 6px 6px;
  font: 600 14px/1 var(--body); color: var(--ink);
  background: rgba(8, 8, 11, 0.72); border: 1px solid var(--stroke); border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.4s var(--ease);
}
.chip:hover { border-color: var(--stroke-hover); }
.chip:active { transform: scale(0.97); }
.chip[aria-checked="true"] { border-color: var(--metal); background: rgba(8, 8, 11, 0.9); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -2px 6px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease);
}
.chip[aria-checked="true"] .swatch { transform: rotate(140deg); }
.chip[data-pour="black-silver"] .swatch { background: conic-gradient(from 30deg, #0a0a0c, #3a3b40, #e6e8ee 18%, #18181c 30%, #0a0a0c 48%, #9fa2aa 60%, #0e0e11 75%, #d6d9e0 88%, #0a0a0c); }
.chip[data-pour="purple-gold"] .swatch { background: conic-gradient(from 10deg, #12083a, #4a2fd0 20%, #b9a8ff 30%, #2a1a8a 42%, #e3b04b 47%, #2a1a8a 52%, #4a2fd0 70%, #12083a); }
.chip[data-pour="gold"] .swatch { background: conic-gradient(from 60deg, #1c0d03, #7a400f 20%, #f0bd62 34%, #3b1e06 50%, #c98a34 66%, #fff1cf 72%, #7a400f 82%, #1c0d03); }
.chip[data-pour="ocean"] .swatch { background: conic-gradient(from 200deg, #061a4a, #1f5fd0 22%, #ffffff 30%, #2f6fd6 40%, #0b2a6b 58%, #bcd7ff 72%, #1f5fd0 84%, #061a4a); }
.chip[data-pour="pink"] .swatch { background: conic-gradient(from 120deg, #4a0322, #d4146c 20%, #ffb3d4 30%, #b0105a 44%, #fff4f8 52%, #d4146c 66%, #7a0a3c 84%, #4a0322); }
.chip[data-pour="marble"] .swatch { background: conic-gradient(from 90deg, #f4f4f6, #d8d9dd 20%, #ffffff 34%, #4a4c52 37%, #eeeef0 42%, #ffffff 64%, #bfc1c6 78%, #f4f4f6); }

/* ---------- Quote panel: cured resin over the pour ---------- */
.quote {
  position: relative;
  padding: clamp(24px, 2.4vw, 34px);
  background: var(--resin);
  border: 1px solid color-mix(in srgb, var(--metal) 38%, transparent);
  border-radius: var(--r-panel);
  backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255, 255, 255, 0.06) inset;
  transition: border-color 1.2s var(--ease);
}
.quote h2 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -0.025em; }
.quote .lead { margin: 8px 0 22px; color: var(--ink-2); font-size: 16px; }
.field { position: relative; margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select {
  width: 100%; height: 58px; padding: 24px 16px 8px;
  font: 500 16px/1.2 var(--body); color: var(--ink);
  background: var(--field); border: 1px solid var(--stroke); border-radius: var(--r-control);
  appearance: none; -webkit-appearance: none; caret-color: var(--gold);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s;
}
.field select { padding-right: 36px; cursor: pointer; }
.field select option { background: var(--resin-solid); color: var(--ink); }
.field input:hover, .field select:hover { border-color: var(--stroke-hover); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 184, 90, 0.22); background: rgba(255, 255, 255, 0.06); }
.field label {
  position: absolute; left: 17px; top: 19px; pointer-events: none;
  font-size: 16px; color: var(--ink-3); transform-origin: 0 0;
  transition: transform 0.2s var(--ease), color 0.2s;
}
.field label span { color: var(--ink-3); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-11px) scale(0.74); color: var(--ink-2); }
.caret { position: absolute; right: 16px; top: 26px; width: 10px; color: var(--ink-3); pointer-events: none; }
.field-error { display: none; margin-top: 6px; font-size: 14px; color: var(--error); }
[aria-invalid="true"] { border-color: var(--error) !important; }
[aria-invalid="true"] ~ .field-error { display: block; }
.style-line { margin: 4px 0 18px; font-size: 15px; color: var(--ink-2); }
.style-line strong { color: var(--ink); font-weight: 700; }
.style-hint { color: var(--ink-3); }

.submit, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  font: 700 15px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s, border-color 0.2s;
}
.submit, .btn-gold {
  color: var(--gold-ink);
  background: linear-gradient(180deg, #f0cd7a, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.submit { width: 100%; position: relative; overflow: hidden; }
/* a slow sheen crosses the gold, like light moving over fresh resin */
.submit::after, .btn-gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn-gold { position: relative; overflow: hidden; }
.submit:hover::after, .btn-gold:hover::after { transform: translateX(120%); }
.submit:hover, .btn-gold:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.submit:active, .btn:active { transform: scale(0.98); }
.btn-line { color: var(--ink); background: rgba(8, 8, 11, 0.6); border-color: var(--stroke-hover); }
.btn-line:hover { border-color: var(--ink); }
.fine { margin-top: 14px; font-size: 14px; color: var(--ink-3); text-align: center; }
.form-status { font-size: 15px; color: var(--ink-2); }
.form-status:not(:empty) { margin-top: 14px; }
.sent { margin-top: 4px; }
.sent h3 { font-size: 16px; letter-spacing: 0; margin-bottom: 10px; }
.sent-body { white-space: pre-line; padding: 14px 16px; border-radius: var(--r-control); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke); font-size: 15px; color: var(--ink-2); max-height: 220px; overflow: auto; }
.sent-actions { display: grid; gap: 10px; margin-top: 14px; }
.sent-actions .btn { width: 100%; }
.sent-edit { margin-top: 12px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--ink-2); font: 600 15px var(--body); text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.quote.is-sent .field, .quote.is-sent .field-row, .quote.is-sent .style-line, .quote.is-sent .submit, .quote.is-sent .fine, .quote.is-sent .lead { display: none; }
.noscript { margin-top: 12px; color: var(--ink-2); }

/* ---------- Section heads ---------- */
.section-head { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* the same dark glaze as the hero, so headings read on every pour, white marble included */
.section-head::before {
  content: ""; position: absolute; z-index: -1; inset: -90px 35% -70px -20vw;
  background: radial-gradient(closest-side at 50% 50%, rgba(4, 4, 6, 0.78), rgba(4, 4, 6, 0.45) 60%, transparent);
  pointer-events: none;
}
body[data-pour="marble"] .section-head::before { background: radial-gradient(closest-side at 50% 50%, rgba(10, 10, 14, 0.9), rgba(10, 10, 14, 0.6) 60%, transparent); }
.section-head h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); max-width: 16ch; }
.section-head p { margin-top: 16px; max-width: 52ch; font-size: 18px; color: var(--ink); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85); }

/* ---------- The walk ---------- */
.walk { padding: clamp(80px, 10vw, 160px) 0 clamp(40px, 6vw, 80px); }
.room {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 0;
  align-items: center;
  max-width: var(--max); margin: clamp(56px, 9vw, 140px) auto 0; padding: 0 var(--gutter);
}
.room.flip { grid-template-columns: minmax(280px, 1fr) minmax(0, 1.65fr); }
.room.flip > figure { order: 2; }
.room > figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--r-panel);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16 / 10;
  background: #111;
}
.room > figure img { width: 100%; height: 100%; object-fit: cover; }
.room-copy {
  position: relative; z-index: 1;
  margin-left: -48px; padding: clamp(24px, 2.6vw, 40px);
  background: var(--resin); border: 1px solid color-mix(in srgb, var(--metal) 30%, transparent);
  border-radius: var(--r-panel);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: border-color 1.2s var(--ease);
}
.room.flip .room-copy { margin-left: 0; margin-right: -48px; }
.room-copy h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.03em; }
.finish { margin: 10px 0 16px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--metal); transition: color 1.2s var(--ease); }
.room-copy p:not(.finish) { color: var(--ink-2); }
.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px;
  font-weight: 700; color: var(--gold); text-decoration: none;
}
.more::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width 0.35s var(--ease); }
.more:hover::after { width: 30px; }

/* before / after */
.compare { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; }
.compare .before { clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0); }
.compare .seam {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px;
  background: var(--metal); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 18px rgba(0, 0, 0, 0.5);
  transition: background-color 1.2s var(--ease);
}
.compare .handle {
  position: absolute; top: 50%; left: var(--split, 50%); width: 54px; height: 54px; margin: -27px 0 0 -27px;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--ink); background: rgba(8, 8, 11, 0.82); border: 1.5px solid var(--metal);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease), border-color 1.2s var(--ease);
  pointer-events: none;
}
.compare .handle svg { width: 22px; }
.compare.held .handle { transform: scale(1.1); }
.compare .tag {
  position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(8, 8, 11, 0.78); color: var(--ink); transition: opacity 0.3s;
}
.compare .tag.b { left: 16px; }
.compare .tag.a { right: 16px; }
.compare.before-gone .tag.b, .compare.after-gone .tag.a { opacity: 0; }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare input[type="range"]:focus-visible ~ .handle, .compare:has(input:focus-visible) .handle { outline: 2px solid var(--gold); outline-offset: 4px; }
.compare.touch-drag input[type="range"] { pointer-events: none; }
.compare.touch-drag .handle { pointer-events: auto; touch-action: none; }


/* ---------- Kinds ---------- */
.kinds { padding: clamp(80px, 10vw, 150px) 0; }
.kind-list {
  max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gutter); list-style: none;
}
.kind-list li { border-top: 1px solid color-mix(in srgb, var(--metal) 35%, transparent); }
.kind-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--metal) 35%, transparent); }
.kind-list a {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 32px; align-items: center;
  padding: clamp(22px, 2.6vw, 36px) clamp(16px, 2vw, 28px);
  text-decoration: none;
  /* a clear tint, no blur: the live floor stays sharp behind the rows */
  background: linear-gradient(90deg, rgba(6, 6, 8, 0.82), rgba(6, 6, 8, 0.5));
  transition: background-color 0.3s, padding 0.5s var(--ease);
}
.kind-list a:hover { padding-left: clamp(26px, 3vw, 44px); background: rgba(6, 6, 8, 0.9); }
.kind-name { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1.05; }
.kind-text { color: var(--ink-2); font-size: 16px; }
.arrow { width: 32px; color: var(--gold); transition: transform 0.5s var(--ease); }
.kind-list a:hover .arrow { transform: translateX(6px); }

/* ---------- Close ---------- */
.close {
  max-width: 880px; margin: 0 auto clamp(80px, 10vw, 140px); padding: clamp(36px, 5vw, 72px) var(--gutter);
  text-align: center;
  background: var(--resin); border: 1px solid color-mix(in srgb, var(--metal) 38%, transparent);
  border-radius: 28px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.close h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.close > p:not(.ig) { margin: 18px auto 0; max-width: 46ch; color: var(--ink-2); font-size: 18px; }
.close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.ig { margin-top: 24px; font-size: 15px; color: var(--ink-3); }
.ig a { color: var(--ink); font-weight: 600; }

/* ---------- Now pouring ---------- */
.now-pouring {
  position: fixed; left: 20px; bottom: 20px; z-index: 6;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(8, 8, 11, 0.82); border: 1px solid var(--stroke); border-radius: 999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.now-pouring.show { opacity: 1; transform: none; }
.np-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--metal); transition: background-color 1.2s var(--ease); }

/* ---------- Quick bar (phones) ---------- */
.quickbar { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--resin-solid); border-top: 1px solid var(--stroke); padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--ink-2); }
.footer-links, .footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-links p { margin-bottom: 10px; line-height: 1.9; }
.footer-links strong { color: var(--ink); margin-right: 8px; }
.footer-links a, .footer-inner a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover, .footer-inner a:hover { color: var(--ink); text-decoration: underline; }
.footer-inner { display: flex; align-items: center; gap: 28px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--stroke); }
.footer-inner img { width: 110px; flex: none; }

/* ---------- Service and city pages ---------- */
.page-hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px); gap: clamp(28px, 5vw, 96px);
  align-items: start;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) var(--gutter) clamp(48px, 8vh, 96px);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; inset: -140px 30% 30% -30vw;
  background: radial-gradient(closest-side at 55% 45%, rgba(4, 4, 6, 0.8), rgba(4, 4, 6, 0.5) 55%, transparent);
  pointer-events: none;
}
.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(36px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); max-width: 14ch;
}
.page-hero .sub { margin-top: 20px; }
.page-hero .serving { margin-top: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ink-3); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-photo {
  margin: 32px 0 0; max-width: 600px; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--r-panel); background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.page-photo img { width: 100%; height: 100%; object-fit: cover; }

/* prose: one continuous cured-resin reading band under the hero, sections split by a hairline in the pour's metal */
.prose {
  padding: clamp(48px, 6vw, 88px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.prose + .prose { border-top: 1px solid color-mix(in srgb, var(--metal) 22%, transparent); }
.prose.alt { background: rgba(13, 13, 17, 0.9); }
.prose-inner { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 42px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 16px; }
.prose-inner p { color: var(--ink-2); max-width: 65ch; }
.prose-inner p + p { margin-top: 14px; }
.prose-inner strong { color: var(--ink); }
.prose-inner a { color: var(--ink); font-weight: 600; }
.qa { padding: 18px 0; border-top: 1px solid var(--stroke); }
.qa:first-of-type { margin-top: 8px; }
.qa h3 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.qa p { color: var(--ink-2); }

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.work-grid figure, .pair figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); background: #111; }
.work-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-grid figure:hover img { transform: scale(1.04); }
.work-grid figcaption, .pair figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; background: rgba(8, 8, 11, 0.8); color: var(--ink);
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1040px; margin-top: 24px; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pair figcaption { top: 12px; bottom: auto; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
.pair figcaption.after { color: var(--gold-ink); background: var(--gold); }
.pair-cap { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: var(--ink); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }

/* link lists: ruled rows like the homepage's three kinds of floor */
.link-cards { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.link-cards li { border-top: 1px solid color-mix(in srgb, var(--metal) 35%, transparent); }
.link-cards a {
  display: grid; gap: 4px; height: 100%; padding: 20px 22px; text-decoration: none;
  background: linear-gradient(90deg, rgba(6, 6, 8, 0.84), rgba(6, 6, 8, 0.62));
  transition: padding 0.5s var(--ease), background-color 0.3s;
}
.link-cards a:hover { padding-left: 30px; background: rgba(6, 6, 8, 0.9); }
.link-cards strong { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.link-cards a:hover strong { color: var(--gold); }
.link-cards span { font-size: 15px; color: var(--ink-2); }
.subpage .close { margin-top: clamp(40px, 6vw, 80px); }

/* ---------- Motion ---------- */
/* headline: each line rises out of the resin and un-blurs once, on load */
.js .reveal-words span { animation: rise 1.3s var(--ease) both; }
.js .reveal-words span:nth-child(2) { animation-delay: 0.12s; }
.js .hero .sub, .js .hero .picker, .js .hero .serving { animation: rise 1.2s var(--ease) 0.3s both; }
.js .hero .picker { animation-delay: 0.42s; }
.js .hero .serving { animation-delay: 0.5s; }
.js .quote { animation: settle 1.4s var(--ease) 0.25s both; }
.js .page-hero h1, .js .page-hero .sub, .js .page-hero .page-photo { animation: rise 1.2s var(--ease) both; }
.js .page-hero .sub { animation-delay: 0.15s; }
.js .page-hero .page-photo { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.5em); filter: blur(10px); } }
@keyframes settle { from { opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(6px); } }
/* rooms: the photo wipes open like a squeegee pass, the panel slides in after it */
.js .room > figure { clip-path: inset(0 100% 0 0 round var(--r-panel)); transition: clip-path 1.3s var(--ease); }
.js .room.flip > figure { clip-path: inset(0 0 0 100% round var(--r-panel)); }
.js .room .room-copy { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) 0.35s, transform 1s var(--ease) 0.35s, border-color 1.2s var(--ease); }
.js .room.in > figure { clip-path: inset(0 0 0 0 round var(--r-panel)); }
.js .room.in .room-copy { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .page-hero h1, .js .page-hero .sub, .js .page-hero .page-photo, .js .reveal-words span, .js .hero .sub, .js .hero .picker, .js .hero .serving, .js .quote { animation: fade 0.4s ease both; }
  @keyframes fade { from { opacity: 0; } }
  .js .room > figure, .js .room.flip > figure { clip-path: none; transition: none; }
  .js .room .room-copy { transform: none; transition: opacity 0.4s ease; }
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 1080px) {
  .hero, .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .quote { max-width: 560px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header { grid-template-columns: auto 1fr; gap: 12px; padding-top: max(12px, env(safe-area-inset-top)); }
  .brand img { width: 92px; }
  .nav { grid-column: 1 / -1; grid-row: 2; }
  .nav ul { justify-content: space-between; gap: 4px; }
  .nav a { font-size: 14px; padding: 0 2px; }
  .phone strong { font-size: 17px; }
  .hero { padding-top: 24px; gap: 32px; }
  .hero::before { inset: -80px -20vw 30% -20vw; }
  .sub { margin-top: 18px; }
  .picker { margin-top: 28px; }
  .chip { padding-right: 14px; }
  .room, .room.flip { grid-template-columns: 1fr; }
  .room.flip > figure { order: 0; }
  .room > figure { aspect-ratio: 4 / 3.4; }
  .room-copy, .room.flip .room-copy { margin: -40px 14px 0; }
  .kind-list a { grid-template-columns: 1fr 28px; gap: 8px 16px; }
  .kind-text { grid-column: 1; }
  .arrow { grid-row: 1 / span 2; grid-column: 2; width: 26px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .now-pouring { left: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .quickbar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 7;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 6px;
    background: rgba(8, 8, 11, 0.88); border: 1px solid var(--stroke); border-radius: 999px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: translateY(0); transition: transform 0.45s var(--ease), opacity 0.3s;
  }
  .quickbar a { display: grid; place-items: center; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; }
  .quickbar-quote { color: var(--gold-ink); background: linear-gradient(180deg, #f0cd7a, var(--gold) 45%, var(--gold-deep)); }
  .quickbar:not(.show) { transform: translateY(140%); opacity: 0; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 860px) {
  .page-hero::before { inset: -80px -20vw 40% -20vw; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work-grid figure:nth-child(3) { grid-column: 1 / -1; }
  .work-grid figure:nth-child(3) img { aspect-ratio: 16 / 10; }
  .pair { gap: 10px; }
  .link-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .chip-name { font-size: 13px; }
}

/* ?still: entrance motion off, for screenshots and review captures */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still .room > figure { clip-path: none !important; }
.still .room .room-copy { opacity: 1 !important; transform: none !important; }

/* ---------- White marble: dark lettering on a light floor ----------
   On the one light pour the dark glazes would read as grey smudges, so they step aside and the text
   that sits straight on the floor turns to dark ink. Panels, chips and buttons keep their own dark ground. */
.hero h1, .sub, .serving, .picker legend, .section-head h2, .section-head p,
.page-hero h1, .crumbs ol, .crumbs a, .nav a, .phone small, .phone strong, .pair-cap {
  transition: color 0.9s var(--ease), text-shadow 0.9s var(--ease);
}
.hero::before, .page-hero::before, .section-head::before, .site-header::before { transition: opacity 0.9s var(--ease); }
body[data-pour="marble"] .hero::before,
body[data-pour="marble"] .page-hero::before,
body[data-pour="marble"] .section-head::before,
body[data-pour="marble"] .site-header::before { opacity: 0; }
body[data-pour="marble"] :is(.hero h1, .sub, .picker legend, .section-head h2, .page-hero h1, .nav a, .crumbs a) {
  color: #111216; text-shadow: 0 1px 18px rgba(255, 255, 255, 0.7);
}
body[data-pour="marble"] :is(.serving, .section-head p, .crumbs ol, .phone small, .pair-cap) {
  color: #2a2c33; text-shadow: 0 1px 14px rgba(255, 255, 255, 0.75);
}
body[data-pour="marble"] .phone strong { color: #7a5612; text-shadow: 0 1px 14px rgba(255, 255, 255, 0.75); }
body[data-pour="marble"] .nav a { --metal: #111216; }
body[data-pour="marble"] :is(.kind-list a, .link-cards a) { background: rgba(10, 10, 14, 0.92); }
