/* Whan Tong — site styles
   Layout: wide-set grotesk headlines on porcelain white. Photography is framed by the
   logo's ring (hero) and by vanity-mirror arches (editorial); product cut-outs sit on
   porcelain tiles. Red is reserved for actions, the ring and the footer band. */


:root {
  /* colour */
  --red: #D41228;          /* Whan Tong red, sampled from the logo */
  --red-ink: #AE0E20;      /* pressed / small red text on white (6.4:1) */
  --white: #FFFFFF;
  --porcelain: #F2F3F1;    /* vitreous-china grey for tiles and bands */
  --porcelain-2: #E6E8E5;
  --graphite: #1E2226;     /* matte-black finish; text and the finish band */
  --nickel: #5B626A;       /* secondary text (5.9:1 on white) */
  --line: #D9DCD8;
  --open: #1E7A47;         /* semantic: showroom open */
  --on-red: #FFFFFF;

  /* type */
  --font: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wide: 125%;  --semiwide: 112%;  --normal: 100%;  --narrow: 87.5%;
  --t-xs: .8125rem; --t-sm: .875rem; --t-base: 1.0625rem; --t-md: 1.3125rem;
  --t-lg: 1.625rem; --t-xl: clamp(1.875rem, 1.2rem + 2.2vw, 2.625rem);
  --t-2xl: clamp(2.375rem, 1.4rem + 3.6vw, 3.75rem);
  --t-hero: clamp(2.6rem, 1.2rem + 5.4vw, 5.25rem);

  /* layout */
  --max: 1360px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
  --radius-tile: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--graphite);
  font-family: var(--font); font-size: var(--t-base); line-height: 1.6; font-stretch: var(--normal);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap.wrap-narrow > * { max-width: 760px; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; text-wrap: balance; letter-spacing: -.012em; }
.display { font-size: var(--t-hero); font-stretch: var(--wide); font-weight: 780; letter-spacing: -.03em; line-height: .98; }
.h1 { font-size: var(--t-2xl); font-stretch: var(--wide); font-weight: 760; letter-spacing: -.025em; line-height: 1.02; }
.h2 { font-size: var(--t-xl); font-stretch: var(--semiwide); font-weight: 720; letter-spacing: -.02em; }
.h3 { font-size: var(--t-md); font-stretch: var(--semiwide); font-weight: 650; line-height: 1.2; }
.lede { font-size: var(--t-md); line-height: 1.5; color: var(--graphite); max-width: 36em; }
.muted { color: var(--nickel); }
.small { font-size: var(--t-sm); }
p { margin: 0; max-width: 68ch; }
.prose { display: grid; gap: 1.1em; }
.prose h2 { font-size: var(--t-lg); font-stretch: var(--semiwide); margin-top: .8em; }
.prose h3 { font-size: var(--t-md); font-stretch: var(--semiwide); margin-top: .4em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: .4em; max-width: 66ch; }
.prose a { color: var(--red-ink); text-underline-offset: 3px; }

/* ---------- buttons ----------
   Pills fill from the bottom on hover; text links swap their underline
   (it slides out to the right, then redraws from the left). */
.btn {
  --b: var(--red); --fill: var(--red-ink); --fill-text: var(--on-red);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.6em; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--on-red); font-weight: 600; font-stretch: var(--semiwide); font-size: var(--t-sm);
  letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: color .3s ease-in, border-color .3s ease-in-out; white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--fill); transform: translateY(101%); transition: transform .3s ease-in-out; }
.btn:hover, .btn:focus-visible { color: var(--fill-text); border-color: var(--fill); }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--graphite); --b: var(--line); --fill: var(--graphite); --fill-text: var(--white); }
.btn-light { background: var(--white); color: var(--graphite); --b: var(--white); --fill: var(--red); --fill-text: var(--white); }
.btn-dark { --b: var(--graphite); --fill: var(--red); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]::after { display: none; }

.link, .bento-link { position: relative; display: inline-block; padding-bottom: 4px; color: var(--graphite); font-weight: 600; font-stretch: var(--semiwide); font-size: var(--t-sm); text-decoration: none; transition: color .3s; }
.link::before, .link::after, .bento-link::before, .bento-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--red); }
.link::before, .bento-link::before { transform-origin: right center; transition: transform .4s .3s; }
.link::after, .bento-link::after { transform-origin: left center; transform: scaleX(0); transition: transform .4s; }
.link:hover, .link:focus-visible, :is(a, button):hover .link, :is(a, button):focus-visible .link { color: var(--red-ink); }
:is(.link:hover, .link:focus-visible, :is(a, button):hover .link, :is(a, button):focus-visible .link, .bento-tile:hover .bento-link, .bento-tile:focus-visible .bento-link)::before { transform: scaleX(0); transition: transform .4s; }
:is(.link:hover, .link:focus-visible, :is(a, button):hover .link, :is(a, button):focus-visible .link, .bento-tile:hover .bento-link, .bento-tile:focus-visible .bento-link)::after { transform: scaleX(1); transition: transform .4s .3s; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; position: relative; color: var(--graphite); text-decoration: none; }
.icon-btn:hover { background: var(--porcelain); }
.icon-btn svg { width: 22px; height: 22px; }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.count:empty, .count[data-n="0"] { display: none; }

/* ---------- utility bar ---------- */
.utility { background: var(--porcelain); font-size: var(--t-xs); font-stretch: var(--semiwide); }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--nickel); }
.status.is-open i { background: var(--open); box-shadow: 0 0 0 3px color-mix(in srgb, var(--open) 22%, transparent); }
.utility-links { display: flex; gap: 20px; }
@media (max-width: 720px) {
  .utility-links .hide-sm, .utility-links .hide-xs { display: none; }
  .utility .wrap { min-height: 34px; }
  .status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .status { min-width: 0; }
}
@media (max-width: 460px) { .utility-links a[href^="tel"] { display: none; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); transition: transform .35s var(--ease), box-shadow .3s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.primary-nav ul { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; }
.primary-nav a, .primary-nav button {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font-size: .9375rem; font-weight: 560; font-stretch: var(--semiwide); text-decoration: none; position: relative; color: var(--graphite);
}
.primary-nav a::after, .primary-nav button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--red);
  transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left;
}
.primary-nav a:hover::after, .primary-nav button:hover::after, .primary-nav [aria-expanded="true"]::after, .primary-nav [aria-current="page"]::after { transform: scaleX(1); }
.primary-nav svg { width: 12px; height: 12px; transition: transform .2s; }
.primary-nav [aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.menu-btn { display: none; }
.header-actions { grid-column: 3; justify-self: end; }
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .mega { display: none; }
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
}
@media (max-width: 420px) { .brand img { height: 42px; } .header-actions .hide-xs { display: none; } }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(30, 34, 38, .28); visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.mega.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega .wrap { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; height: auto; padding-block: 28px 36px; align-items: start; }
.mega-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mega-tile { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-tile); text-decoration: none; }
.mega-tile:hover { background: var(--porcelain); }
.mega-tile img { width: 64px; height: 64px; object-fit: contain; background: var(--porcelain); border-radius: 4px; padding: 4px; }
.mega-tile b { display: block; font-weight: 600; font-stretch: var(--semiwide); font-size: var(--t-sm); line-height: 1.25; }
.mega-tile span { font-size: var(--t-xs); color: var(--nickel); }
.mega h3 { font-size: var(--t-xs); font-stretch: var(--semiwide); font-weight: 600; color: var(--nickel); margin-bottom: 10px; letter-spacing: .01em; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-links a { display: block; padding: 6px 0; font-size: var(--t-sm); text-decoration: none; }
.mega-links a:hover { color: var(--red-ink); }
.mega-feature { display: grid; gap: 12px; text-decoration: none; }
.mega-feature img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 50% 50% 4px 4px / 42% 42% 4px 4px; }
.mega-feature b { font-stretch: var(--semiwide); font-weight: 650; }
.mega-feature span { font-size: var(--t-sm); color: var(--nickel); }

/* mobile menu, search, drawers */
.scrim { position: fixed; inset: 0; background: rgba(30, 34, 38, .4); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.panel {
  position: fixed; top: 0; bottom: 0; z-index: 80; background: var(--white); width: min(440px, 100vw); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform .35s var(--ease), visibility 0s .35s; visibility: hidden;
}
.panel.right { right: 0; transform: translateX(100%); padding-right: env(safe-area-inset-right, 0px); }
.panel.left { left: 0; transform: translateX(-100%); padding-left: env(safe-area-inset-left, 0px); }
.panel.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: var(--t-md); font-stretch: var(--semiwide); }
.panel-body { flex: 1; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.panel-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

.mnav { display: grid; gap: 4px; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: var(--t-md); font-stretch: var(--semiwide); font-weight: 650; text-decoration: none; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; color: var(--nickel); }
.mnav details[open] summary::after { content: "\2013"; }
.mnav > a { border-bottom: 1px solid var(--line); }
.mnav ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.mnav ul a { display: block; padding: 9px 0; text-decoration: none; color: var(--graphite); }

.search-panel {
  position: fixed; inset: 0 0 auto; z-index: 80; background: var(--white); transform: translateY(-102%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s; max-height: 92vh; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px);
  box-shadow: 0 30px 60px -30px rgba(30, 34, 38, .35);
}
.search-panel.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.search-panel .wrap { padding-block: 20px 36px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.search-row { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--graphite); }
.search-row > svg { width: 26px; height: 26px; flex: none; }
.search-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: clamp(1.4rem, 1rem + 2vw, 2.25rem); font-stretch: var(--semiwide); font-weight: 600; padding: 14px 0; }
.search-row input::placeholder { color: #9aa0a6; }
.search-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: var(--t-sm); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.search-row input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-cols > [hidden] + .search-results { grid-column: 1 / -1; }
.search-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.search-empty { color: var(--nickel); }
@media (max-width: 860px) { .search-cols { grid-template-columns: 1fr; } .search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- product card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1100px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 12px; min-width: 0; }
.card-media { position: relative; aspect-ratio: 1; background: var(--porcelain); border-radius: var(--radius-tile); overflow: hidden; }
.card-media a { position: absolute; inset: 0; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card-media img.is-render { mix-blend-mode: normal; padding: 6%; }
.card:hover .card-media img { transform: scale(1.03); }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: var(--white); font-size: 11.5px; font-weight: 650; font-stretch: var(--semiwide); }
.badge.new { background: var(--red); color: var(--white); }
.fav { position: absolute; top: 6px; right: 6px; z-index: 2; }
.fav svg { width: 20px; height: 20px; }
.fav[aria-pressed="true"] svg path { fill: var(--red); stroke: var(--red); }
.quick-add { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; min-height: 42px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease); }
.card:hover .quick-add, .card:focus-within .quick-add { opacity: 1; transform: none; }
@media (hover: none) { .quick-add { display: none; } }
.card-body { display: grid; gap: 4px; align-content: start; }
.card-brand { font-size: var(--t-xs); color: var(--nickel); font-stretch: var(--semiwide); font-weight: 550; }
.card-name { font-size: .96875rem; font-weight: 560; line-height: 1.3; text-decoration: none; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.price { font-variant-numeric: tabular-nums; font-weight: 650; font-stretch: var(--semiwide); font-size: var(--t-sm); }
.price .from { font-weight: 450; color: var(--nickel); }
.price-request { color: var(--nickel); font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(30, 34, 38, .18); padding: 0; cursor: pointer; background: var(--c); position: relative; }
.sw::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; }
.sw[aria-pressed="true"]::after { border-color: var(--graphite); }
.sw-lg { width: 36px; height: 36px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section.flush-top { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { color: var(--nickel); margin-top: 10px; }
.band-porcelain { background: var(--porcelain); }
.band-graphite { background: var(--graphite); color: var(--white); }
.band-graphite .muted { color: #b9bec3; }

/* hero */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; align-content: center; }
.hero-copy .lede { color: var(--nickel); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ring-stage { display: grid; gap: 14px; }
.ring-frame { position: relative; aspect-ratio: 1196 / 933; width: 100%; max-width: 100%; }
.ring-photo { position: absolute; left: 6.6%; top: 21%; width: 83.7%; height: 70.8%; clip-path: ellipse(50% 50% at 50% 50%); background: var(--porcelain); }
/* photos sit in an oversized layer that drifts with scroll and pointer (site.js sets --px/--py) */
.ring-parallax { position: absolute; inset: -12% -5%; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .35s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
.ring-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.4s var(--ease); }
.ring-photo img.is-active { opacity: 1; transform: none; }
.ring-mark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.room-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.room-tabs button { border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: var(--t-sm); font-weight: 560; font-stretch: var(--semiwide); color: var(--nickel); }
.room-tabs button[aria-selected="true"] { background: var(--graphite); color: var(--white); }
.room-caption { text-align: center; font-size: var(--t-sm); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .ring-stage { order: -1; max-width: 560px; justify-self: center; width: 100%; }
}

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat-tile { display: grid; gap: 10px; text-decoration: none; }
.cat-tile figure { margin: 0; aspect-ratio: 1; background: var(--porcelain); border-radius: var(--radius-tile); display: grid; place-items: center; overflow: hidden; }
.cat-tile img { width: 78%; height: 78%; object-fit: contain; transition: transform .5s var(--ease); }
.cat-tile:hover img { transform: translateY(-4px) scale(1.04); }
.cat-tile b { font-weight: 620; font-stretch: var(--semiwide); font-size: .96875rem; line-height: 1.25; }
.cat-tile span { font-size: var(--t-xs); color: var(--nickel); display: block; }
.cat-grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cat-grid, .cat-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid, .cat-grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* shop by category: one line of cut-outs */
.dept-line { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(124px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.dept-line::-webkit-scrollbar { display: none; }
.dept { scroll-snap-align: start; display: grid; align-content: start; justify-items: center; gap: 4px; text-align: center; text-decoration: none; padding: 8px 4px 12px; border-radius: var(--radius-tile); }
.dept-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin-bottom: 6px; }
.dept-media::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 8%; height: 22%; border-radius: 50%; background: var(--porcelain); transition: background .3s; }
.dept-media img { position: relative; width: 92%; height: 92%; object-fit: contain; transition: transform .45s var(--ease); }
.dept:hover .dept-media img { transform: translateY(-6px); }
.dept:hover .dept-media::before { background: var(--porcelain-2); }
.dept b { font-weight: 620; font-stretch: var(--semiwide); font-size: .9375rem; line-height: 1.25; }
@media (max-width: 760px) { .dept-line { grid-auto-columns: 38%; } }

/* tabs + carousel */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; }
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 72%; gap: 12px; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.rail-nav button:hover { border-color: var(--graphite); }
.rail-nav svg { width: 18px; height: 18px; }

/* bento promos: one large tile, two stacked, text over photo */
.bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: clamp(440px, 44vw, 620px); }
.bento-tile { position: relative; isolation: isolate; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 10px; padding: clamp(20px, 3vw, 40px); text-align: center; text-decoration: none; color: #fff; border-radius: var(--radius-tile); background: var(--graphite); }
.bento-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 22 24 / .36); transition: background .4s; }
.bento-tile:hover img { transform: scale(1.05); }
.bento-tile:hover::after { background: rgb(20 22 24 / .4); }
.bento-lead { grid-row: span 2; place-content: start; justify-items: start; text-align: left; }
.bento-lead::after { background: linear-gradient(180deg, rgb(20 22 24 / .62), rgb(20 22 24 / .08) 60%); }
.bento-lead:hover::after { background: linear-gradient(180deg, rgb(20 22 24 / .65), rgb(20 22 24 / .12) 55%); }
.bento-title { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); font-stretch: var(--wide); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-shadow: 0 1px 24px rgb(0 0 0 / .25); }
.bento-lead .bento-title { font-size: clamp(2rem, 1rem + 2.8vw, 3.5rem); }
.bento-link { color: #fff; }
.bento-tile:hover .bento-link, .bento-tile:focus-visible .bento-link { color: var(--red); }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .bento-lead { grid-row: auto; aspect-ratio: 4 / 5; }
  .bento-tile:not(.bento-lead) { aspect-ratio: 16 / 10; }
}

/* shop the look: five rooms, swipeable */
.look-pager { position: absolute; z-index: 3; left: 16px; top: 16px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2px 14px rgb(0 0 0 / .12); font-size: var(--t-sm); font-variant-numeric: tabular-nums; color: var(--nickel); }
.look-pager span { padding: 0 6px; min-width: 3.4em; text-align: center; }
.look-pager b { color: var(--graphite); }
.look-pager button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--graphite); cursor: pointer; transition: background .2s, color .2s; }
.look-pager button:hover { background: var(--graphite); color: #fff; }
.look-pager svg { width: 16px; height: 16px; }
.look-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.look-track::-webkit-scrollbar { display: none; }
.look { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.look-media { position: relative; border-radius: var(--radius-tile); overflow: hidden; aspect-ratio: 4 / 5; background: var(--porcelain); }
.look-media > img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(255,255,255,.95); background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0,0,0,.35); padding: 0; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.hotspot span { font-size: 11px; font-weight: 700; color: var(--white); text-shadow: 0 1px 3px rgba(0,0,0,.6); line-height: 1; }
.hotspot:hover, .hotspot[aria-pressed="true"] { transform: scale(1.15); border-color: var(--red); background: rgba(212,18,40,.22); }
.look-copy { display: grid; gap: 16px; align-content: center; }
.look-list { display: grid; gap: 10px; margin-top: 4px; }
.look-item { display: grid; grid-template-columns: 22px 84px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-tile); border: 1px solid transparent; transition: border-color .2s; }
.look-item.is-active { border-color: var(--graphite); }
.look-num { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--graphite); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.look-item img { width: 84px; height: 84px; object-fit: contain; background: var(--porcelain); border-radius: 4px; padding: 8px; mix-blend-mode: multiply; }
@media (max-width: 860px) {
  .look { grid-template-columns: 1fr; align-items: start; }
  .look-item { grid-template-columns: 22px 64px 1fr; } .look-item img { width: 64px; height: 64px; } .look-item .btn { grid-column: 2 / -1; }
}

/* finish showcase */
.finishes { position: relative; }
.finishes-track { height: 230vh; }
/* the pinned stage is only as tall as its content and sits centred in the viewport */
.finishes-stage { --stage-h: min(100vh, 700px); position: sticky; top: max(0px, calc((100vh - var(--stage-h)) / 2)); height: var(--stage-h); display: grid; align-items: center; overflow: hidden; }
.finishes-stage .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; height: 100%; }
.finish-copy { display: grid; gap: 22px; align-content: center; }
.finish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.finish-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); opacity: .42; transition: opacity .35s; }
.finish-list li.is-active { opacity: 1; }
.finish-list .sw { width: 22px; height: 22px; margin-top: 3px; border-color: rgba(255,255,255,.35); cursor: default; }
.finish-list b { font-size: var(--t-md); font-stretch: var(--semiwide); font-weight: 650; display: block; }
.finish-list p { font-size: var(--t-sm); color: #c3c8cc; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin .3s; }
.finish-list li.is-active p { max-height: 8em; margin-top: 6px; }
.finish-list a { color: var(--white); }
.finish-canvas { position: relative; height: calc(var(--stage-h) - 40px); }
.finish-canvas canvas, .finish-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.finish-canvas img { transition: opacity .4s; }
.finish-canvas.is-live img { opacity: 0; }
.finish-thumb { display: none; }
.finish-ring { position: absolute; inset: 8% 4%; background: url(../brand/ring.webp) center / contain no-repeat; opacity: .14; filter: grayscale(1) brightness(3); pointer-events: none; }
@media (max-width: 860px) {
  .finishes-track { height: auto; }
  .finishes-stage { position: relative; height: auto; min-height: 0; padding-block: 48px; }
  .finishes-stage .wrap { grid-template-columns: 1fr; }
  .finish-canvas { display: none; }
  .finish-list li { grid-template-columns: 1fr; }
  .finish-list li > .sw { display: none; }
  .finish-thumb { display: block; float: right; width: 96px; height: 96px; margin: 0 0 8px 12px; }
  .finish-list li { opacity: 1; }
  .finish-list p { max-height: none; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .finishes-track { height: auto; }
  .finishes-stage { position: relative; height: auto; padding-block: 56px; }
  .finish-list li { opacity: 1; }
  .finish-list p { max-height: none; margin-top: 6px; }
}

/* brands */
/* brands: logos pan across in a loop (two identical sets, the track slides by half its width) */
.brands { padding-top: 0; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee-set li { flex: none; }
.marquee-set a { display: grid; place-items: center; height: 96px; padding: 0 clamp(28px, 3.5vw, 52px); text-decoration: none; }
.marquee-set img { max-height: 40px; width: auto; opacity: .72; transition: opacity .2s; }
.marquee-set b { font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); font-stretch: var(--wide); font-weight: 760; letter-spacing: -.02em; white-space: nowrap; color: var(--nickel); transition: color .2s; }
.marquee-set a:hover img { opacity: 1; }
.marquee-set a:hover b { color: var(--graphite); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-set[aria-hidden] { display: none; }
}

/* split feature panels */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-tile); overflow: hidden; background: var(--porcelain); text-decoration: none; }
.feature figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(20px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.feature-body p { color: var(--nickel); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* showroom */
.showroom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.showroom figure { margin: 0; border-radius: 999px 999px var(--radius-tile) var(--radius-tile); overflow: hidden; aspect-ratio: 5 / 6; max-height: 640px; }
.showroom figure img { width: 100%; height: 100%; object-fit: cover; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 450; }
.hours th { font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red-ink); font-weight: 650; }
.addr { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.addr b { display: block; font-stretch: var(--semiwide); font-weight: 650; margin-bottom: 2px; }
@media (max-width: 860px) { .showroom { grid-template-columns: 1fr; } .showroom figure { max-height: 420px; aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .addr { grid-template-columns: 1fr; } }

/* quote / trade columns */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--graphite); }
.trio > * { padding: 28px 28px 32px 0; display: grid; gap: 12px; align-content: start; }
.trio > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
.trio p { color: var(--nickel); font-size: var(--t-sm); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } .trio > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* journal */
.journal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.post figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-tile); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover img { transform: scale(1.04); }
.post .meta { font-size: var(--t-xs); color: var(--nickel); }
.post h3 { font-size: var(--t-md); font-stretch: var(--semiwide); line-height: 1.2; }
@media (max-width: 860px) { .journal { grid-template-columns: 1fr; } }

/* value props */
.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prop { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; text-decoration: none; }
.prop svg { width: 32px; height: 32px; color: var(--red); }
.prop b { font-stretch: var(--semiwide); font-weight: 650; display: block; font-size: .96875rem; }
.prop span { font-size: var(--t-sm); color: var(--nickel); }
@media (max-width: 1000px) { .props { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .props { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--red); color: var(--on-red); }
.site-footer a { color: var(--on-red); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding-block: 56px 40px; border-bottom: 1px solid rgba(255,255,255,.28); align-items: end; }
.foot-top .h2 { max-width: 14em; }
.foot-top > * { min-width: 0; }
.news { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.news-row { display: flex; gap: 8px; background: var(--white); border-radius: 999px; padding: 5px; }
.news-row input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 0 16px; color: var(--graphite); }
.news-row .btn { min-height: 42px; }
.news small { opacity: .85; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-block: 44px; }
.foot-cols h3 { font-size: var(--t-sm); font-stretch: var(--semiwide); font-weight: 700; margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: var(--t-sm); }
.foot-info { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 36px; border-top: 1px solid rgba(255,255,255,.28); font-size: var(--t-sm); align-items: start; }
.foot-info img { height: 84px; width: auto; }
.foot-info b { display: block; font-stretch: var(--semiwide); margin-bottom: 4px; }
.socials { display: flex; gap: 6px; margin-top: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.socials a:hover { background: var(--white); color: var(--red); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.28); font-size: var(--t-xs); }
@media (max-width: 1000px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-info { grid-template-columns: 1fr; } }

/* ---------- page header / breadcrumbs ---------- */
.crumbs { font-size: var(--t-xs); color: var(--nickel); padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding-block: 28px clamp(28px, 4vw, 48px); display: grid; gap: 16px; }
.page-head .lede { color: var(--nickel); }
.page-head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.page-head-split figure { margin: 0; aspect-ratio: 16 / 10; border-radius: 50% 50% var(--radius-tile) var(--radius-tile) / 38% 38% var(--radius-tile) var(--radius-tile); overflow: hidden; }
.page-head-split figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-head-split { grid-template-columns: 1fr; } }

/* ---------- listing ---------- */
.listing { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-bottom: 96px; }
.filters { display: grid; gap: 4px; align-content: start; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 8px; }
.filters fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0 16px; display: grid; gap: 8px; }
.filters legend { font-size: var(--t-sm); font-weight: 650; font-stretch: var(--semiwide); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters legend + * { clear: both; }
.check { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); cursor: pointer; min-height: 28px; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.check .sw { width: 18px; height: 18px; cursor: inherit; }
.check em { font-style: normal; color: var(--nickel); margin-left: auto; font-variant-numeric: tabular-nums; font-size: var(--t-xs); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar select { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 36px 0 16px; background: var(--white); font-size: var(--t-sm); }
.filter-toggle { display: none; }
.result-count { font-size: var(--t-sm); color: var(--nickel); font-variant-numeric: tabular-nums; }
.empty-state { padding: 48px 0; display: grid; gap: 14px; justify-items: start; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); max-height: none; z-index: 80; background: var(--white); padding: calc(20px + env(safe-area-inset-top, 0px)) 20px 20px max(20px, env(safe-area-inset-left, 0px)); transform: translateX(-100%); transition: transform .35s var(--ease), visibility 0s .35s; visibility: hidden; top: 0; }
  .filters.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .filter-toggle { display: inline-flex; }
}
.filters-head { display: none; }
@media (max-width: 900px) { .filters-head { display: flex; justify-content: space-between; align-items: center; } }
.type-chips { margin-top: 8px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-bottom: 72px; align-items: start; }
.pdp-media { position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-media figure { margin: 0; aspect-ratio: 1; background: var(--porcelain); border-radius: var(--radius-tile); display: grid; place-items: center; overflow: hidden; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.pdp-media img.is-render { mix-blend-mode: normal; }
.pdp-media figcaption { font-size: var(--t-xs); color: var(--nickel); margin-top: 10px; }
.pdp-info { display: grid; gap: 22px; align-content: start; }
.pdp-info h1 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-stretch: var(--semiwide); font-weight: 720; letter-spacing: -.02em; }
.pdp-price { font-size: var(--t-lg); font-weight: 700; font-stretch: var(--semiwide); font-variant-numeric: tabular-nums; }
.pdp-sku { font-size: var(--t-sm); color: var(--nickel); font-variant-numeric: tabular-nums; }
.opt-label { font-size: var(--t-sm); font-weight: 600; margin-bottom: 10px; }
.opt-label span { font-weight: 450; color: var(--nickel); }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 36px; border: 0; text-align: center; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.notes { display: grid; gap: 10px; }
.note { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--radius-tile); background: var(--porcelain); font-size: var(--t-sm); align-items: start; }
.note svg { width: 20px; height: 20px; color: var(--red); margin-top: 2px; }
.specs { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--nickel); }
.help-row { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--t-sm); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp-media { position: static; } }

/* ---------- drawer (cart) ---------- */
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 80px; height: 80px; object-fit: contain; background: var(--porcelain); border-radius: 4px; padding: 6px; mix-blend-mode: multiply; }
.line b { font-size: var(--t-sm); font-weight: 600; line-height: 1.3; display: block; }
.line small { color: var(--nickel); display: block; }
.line .qty { height: 36px; margin-top: 8px; }
.line .qty button { width: 32px; }
.line .remove { border: 0; background: none; padding: 0; color: var(--nickel); font-size: var(--t-xs); text-decoration: underline; cursor: pointer; margin-top: 8px; }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; font-stretch: var(--semiwide); font-variant-numeric: tabular-nums; }
.drawer-empty { display: grid; gap: 14px; justify-items: start; padding-top: 12px; }
.checkout-note { font-size: var(--t-xs); color: var(--nickel); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 90; background: var(--graphite); color: var(--white); padding: 12px 18px; border-radius: 999px; font-size: var(--t-sm); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a, .toast button { color: var(--white); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #b9bdb8; border-radius: 6px; padding: 10px 14px; background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: transparent; }
.field .hint { font-size: var(--t-xs); color: var(--nickel); }
.form-done { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-tile); background: var(--porcelain); }
.form-done pre { white-space: pre-wrap; font: inherit; font-size: var(--t-sm); margin: 0; background: var(--white); padding: 14px; border-radius: 4px; max-height: 220px; overflow: auto; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- content components ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--graphite); }
.steps li::before { content: counter(s); font-size: var(--t-2xl); font-stretch: var(--wide); font-weight: 780; color: var(--red); line-height: 1; }
.steps b { font-size: var(--t-md); font-stretch: var(--semiwide); }
.steps p { color: var(--nickel); font-size: var(--t-sm); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 620; font-stretch: var(--semiwide); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--nickel); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .ans { padding: 0 0 20px; color: var(--graphite); display: grid; gap: .8em; max-width: 68ch; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { display: grid; gap: 10px; padding: 24px; border-radius: var(--radius-tile); background: var(--porcelain); text-decoration: none; align-content: start; }
a.tile:hover { background: var(--porcelain-2); }
.tile p { font-size: var(--t-sm); color: var(--nickel); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--graphite); }
.tech > div { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.tech > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.tech h3 { font-size: var(--t-lg); font-stretch: var(--wide); font-weight: 760; letter-spacing: -.02em; }
.tech p { color: var(--nickel); }
@media (max-width: 760px) { .tech { grid-template-columns: 1fr; } .tech > div:nth-child(even) { padding-left: 0; border-left: 0; } }
.gallery { columns: 3 260px; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin: 0 0 20px; display: grid; gap: 8px; }
.gallery img { width: 100%; border-radius: var(--radius-tile); }
.gallery figcaption { font-size: var(--t-sm); color: var(--nickel); }
.draft-note { display: flex; gap: 10px; align-items: start; padding: 12px 16px; border: 1px dashed var(--red); border-radius: var(--radius-tile); font-size: var(--t-sm); color: var(--red-ink); max-width: 68ch; }
.coll-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.coll { display: grid; gap: 10px; text-decoration: none; }
.coll figure { margin: 0; aspect-ratio: 4 / 3; background: var(--porcelain); border-radius: var(--radius-tile); display: grid; place-items: center; overflow: hidden; }
.coll figure img { width: 70%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.coll b { font-stretch: var(--semiwide); font-weight: 650; }
.coll span span { display: block; font-size: var(--t-xs); color: var(--nickel); }
.coll b { display: block; }
@media (max-width: 1000px) { .coll-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .ring-parallax { transform: none; }
}
