/* CINZA — one dark palette, one accent (ember), one motion language.
   Curves: --out for things that arrive, --io for things that move on screen, --drawer for the bag.
   Durations: UI 150–250 ms, reveals 600–900 ms. Press = scale .96, 150 ms. */

:root {
  --bg: #191918;
  --bg-1: #1f1f1d;
  --bg-2: #272725;
  --tile: #363533;            /* = EDGE in tools/imagegen/cinza_process.py: photos fall off into exactly this */
  --fg: #ebe8e1;
  --fg-2: #b6b2a9;
  --fg-3: #8f8b83;            /* 5.1:1 on --bg */
  --line: rgba(235, 232, 225, .1);
  --line-2: rgba(235, 232, 225, .22);
  --ember: #e0995a;
  --ui-bg: rgba(25, 25, 24, .92);
  --err: #e6897a;

  --out: cubic-bezier(.23, 1, .32, 1);
  --io: cubic-bezier(.77, 0, .175, 1);
  --drawer: cubic-bezier(.32, .72, 0, 1);
  --ui: cubic-bezier(.2, 0, 0, 1);

  --hh: 64px;
  --pad: 28px;
  --gx: 20px;
  --f: 'Albert Sans', ui-sans-serif, system-ui, sans-serif;
  --m: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;
  color-scheme: dark;
}
@media (max-width: 1099px) { :root { --pad: 22px; } }
@media (max-width: 759px) { :root { --hh: 56px; --pad: 16px; --gx: 12px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 15px/1.55 var(--f); letter-spacing: .003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: 'ss01' 0;
}
/* film grain over everything: hides banding in dark gradients; static, so it costs nothing to scroll */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
/* while a picture is still on its way, Firefox would print its alt text inside the tile: keep it for screen readers only */
.c-media img, .rt-media img, .pp-slide img, .pp-thumb img, .li-img img, .toast-img, .fly img { color: transparent; font-size: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgba(224, 153, 90, .35); color: #fff; }
:focus-visible { outline: 1.5px solid var(--fg); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

.mono { font: 400 11px/1.4 var(--m); letter-spacing: .07em; text-transform: uppercase; }
.ic { width: 16px; height: 16px; flex: none; }
.t-h1 { font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; line-height: 1.02; letter-spacing: -.028em; }
.t-h2 { font-size: clamp(32px, 3.2vw, 46px); font-weight: 300; line-height: 1.05; letter-spacing: -.024em; }
.t-h3 { font-size: 19px; font-weight: 450; line-height: 1.3; letter-spacing: -.01em; }
.line-mask { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ----------------------------------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 6px; font-size: 15px; font-weight: 500; text-decoration: none;
  transition-property: scale, background-color, color, border-color, opacity; transition-duration: 150ms; transition-timing-function: var(--out);
  user-select: none;
}
.btn:not(:disabled):active { scale: .96; }
.btn:disabled { cursor: default; opacity: .45; }
.btn-light { background: var(--fg); color: #191918; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn-s { height: 38px; padding: 0 14px; font-size: 13px; }
.btn-w { width: 100%; }
.btn .ic { transition: translate 250ms var(--out); }
.btn-l { display: inline-block; transition-property: filter, opacity; transition-duration: 200ms; }
.btn.is-busy .btn-l { filter: blur(3px); opacity: .5; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:not(:disabled):hover { background: #fff; }
  .btn-ghost:not(:disabled):hover { border-color: var(--fg-2); background: rgba(235, 232, 225, .04); }
  .btn:hover .ic { translate: 3px 0; }
}
.lnk { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg-2); font-size: 14px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color 150ms, background-size 300ms var(--out); }
@media (hover: hover) and (pointer: fine) { .lnk:hover { color: var(--fg); } }
.icb { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--fg-2); transition-property: scale, color, background-color; transition-duration: 150ms; }
.icb:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .icb:hover { color: var(--fg); background: rgba(235, 232, 225, .06); } }

/* ----------------------------------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hh); display: flex; align-items: center; padding: 0 var(--pad); gap: 28px; }
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ui-bg); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); box-shadow: inset 0 -1px 0 var(--line); opacity: 0; transition: opacity 300ms var(--ui); }
.is-solid .hdr::before { opacity: 1; }
.hdr-mark { display: block; color: var(--fg); padding: 8px 0; }
.mark { display: block; fill: none; stroke: currentColor; stroke-width: 8.5; stroke-linecap: butt; stroke-linejoin: miter; }
.hdr-mark .mark { height: 15px; width: calc(15px * 520 / 112); }
.hdr-nav { margin-left: auto; display: flex; gap: 26px; }
.hdr-nav a, .hdr-bag { position: relative; font-size: 13.5px; color: var(--fg-2); text-decoration: none; height: 40px; display: inline-flex; align-items: center; gap: 8px; transition: color 150ms; }
.hdr-nav a[aria-current='page'], .hdr-bag { color: var(--fg); }
.hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--out); }
.hdr-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .hdr-nav a:hover { color: var(--fg); } .hdr-nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.bag-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; border: 1px solid var(--line-2); overflow: hidden; font: 500 12px/1 var(--f); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; transition: background-color 200ms, color 200ms, border-color 200ms; }
.has-items .bag-n { background: var(--fg); color: #191918; border-color: var(--fg); }
.bag-n > span { display: block; }
.bag-ping { position: absolute; right: -2px; top: 9px; width: 22px; height: 22px; margin-right: 0; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 0 rgba(224, 153, 90, .7); }
.bag-ping.is-ping { animation: ping 900ms var(--out); }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(224, 153, 90, .65); } to { box-shadow: 0 0 0 12px rgba(224, 153, 90, 0); } }
.hdr-bag:active { scale: .96; }

/* ----------------------------------------------------------------------------------------- hero: the room */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.is-tall .hero { height: max(640px, 64vw); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; background: #0f0f0e; clip-path: inset(var(--it, 0px) var(--is, 0px) 0px var(--is, 0px) round var(--ir, 0px)); }
.hero-media { position: absolute; inset: 0; background: #0e0e0d; transform: scale(var(--hs, 1.075)); transform-origin: 60% 45%; will-change: transform; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 62%) var(--fy, 55%); }
.hero-media picture { display: contents; }
/* lamp off: the same picture, five stops down and cold; the warm picture is revealed from the lamp outwards */
.h-night { filter: brightness(.46) saturate(.45); opacity: 0; transition: opacity 1400ms var(--ui); }
.ld-on .h-night { opacity: 1; }
.h-tint { position: absolute; inset: 0; background: #6f86b4; mix-blend-mode: multiply; opacity: 0; pointer-events: none; transition: opacity 1400ms var(--ui); }
.ld-on .h-tint { opacity: .92; }
.h-lit { opacity: var(--lo, 0); -webkit-mask-image: radial-gradient(circle at var(--lx, 80%) var(--ly, 45%), #000 var(--m0, 0px), rgba(0, 0, 0, .42) var(--m1, 0px), transparent var(--m2, 0px)); mask-image: radial-gradient(circle at var(--lx, 80%) var(--ly, 45%), #000 var(--m0, 0px), rgba(0, 0, 0, .42) var(--m1, 0px), transparent var(--m2, 0px)); }
.is-lit .h-lit { opacity: 1; }
.is-lit .h-lit { -webkit-mask-image: none; mask-image: none; }
.is-lit .h-night, .is-lit .h-tint { visibility: hidden; }
/* lamp off: the photo was taken with the lamp on, so the shade and its halo on the wall are put out by hand */
.h-off { position: absolute; left: var(--lx, 80%); top: var(--ly, 45%); width: var(--offw, 40vmax); height: var(--offw, 40vmax); translate: -50% -50%; border-radius: 50%; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(closest-side, rgba(26, 30, 42, .92), rgba(26, 30, 42, .86) 22%, rgba(58, 66, 88, .55) 40%, rgba(120, 130, 160, .22) 66%, rgba(255, 255, 255, 0) 100%); }
.is-lit .h-off { visibility: hidden; }
.h-glow { position: absolute; left: var(--lx, 80%); top: var(--ly, 45%); width: 56vmax; height: 56vmax; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 198, 136, .46), rgba(255, 176, 110, .16) 28%, rgba(255, 164, 98, .05) 58%, rgba(255, 160, 96, 0) 100%); mix-blend-mode: screen; opacity: 0; pointer-events: none; }
.h-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14, 14, 13, .78), rgba(14, 14, 13, .25) 34%, rgba(14, 14, 13, 0) 55%), linear-gradient(to right, rgba(14, 14, 13, .62), rgba(14, 14, 13, .2) 34%, rgba(14, 14, 13, 0) 52%); }
.hero-copy { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(36px, 7vh, 72px); width: min(620px, calc(100% - 2 * var(--pad))); }
.h-kick { display: flex; gap: 14px; color: var(--fg-2); margin-bottom: 22px; }
.h-pct { color: var(--fg-3); transition: opacity 300ms; }
.is-ready .h-pct { opacity: 0; }
.h-title { font-size: clamp(46px, 6vw, 100px); font-weight: 300; line-height: .98; letter-spacing: -.035em; margin-bottom: 26px; }
.h-sub { color: var(--fg-2); font-size: 16px; max-width: 440px; margin-bottom: 30px; }
.h-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.h-cap { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(36px, 7vh, 72px); color: var(--fg-3); }
.h-cap span { color: var(--fg-2); margin-right: 8px; }
.is-loading .h-title, .is-loading .h-sub, .is-loading .h-cta, .is-loading .h-cap, .is-loading .spots { visibility: hidden; }
.is-loading .hdr-mark, .is-loading .hdr-nav, .is-loading .hdr-bag { opacity: 0; }
.hdr-mark, .hdr-nav, .hdr-bag { transition: opacity 900ms var(--ui); }

/* ----------------------------------------------------------------------------------------- hotspots */
.spots { position: absolute; inset: 0; z-index: 2; }
.spot { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; color: var(--fg);
  background: rgba(20, 20, 19, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(235, 232, 225, .38);
  transition-property: scale, background-color, box-shadow; transition-duration: 200ms; transition-timing-function: var(--out); }
.spot::before { content: ''; position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(224, 153, 90, .55); }
.spot.is-in::before { animation: ping 1400ms var(--out) both; }
.spot:active { scale: .96; }
.spot .ic { width: 14px; height: 14px; transition: rotate 250ms var(--out); }
.spot-lab { position: absolute; left: calc(100% + 10px); top: 50%; translate: -6px -50%; white-space: nowrap; text-align: left;
  padding: 9px 12px 10px; border-radius: 8px; background: rgba(25, 25, 24, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; filter: blur(3px); pointer-events: none; transition-property: opacity, translate, filter; transition-duration: 200ms; transition-timing-function: var(--out); }
.spot.is-left .spot-lab { left: auto; right: calc(100% + 10px); translate: 6px -50%; }
.spot-lab b { display: block; font-weight: 500; font-size: 14px; }
.spot-lab span { display: block; font: 400 13px/1.5 var(--f); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.spot.is-open, .spot:focus-visible { background: rgba(235, 232, 225, .92); color: #191918; }
.spot.is-open .ic, .spot:focus-visible .ic { rotate: 90deg; }
.spot.is-open .spot-lab, .spot:focus-visible .spot-lab { opacity: 1; filter: none; translate: 0 -50%; pointer-events: auto; color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .spot:hover { background: rgba(235, 232, 225, .92); color: #191918; } .spot:hover .spot-lab { opacity: 1; filter: none; translate: 0 -50%; color: var(--fg); } .spot:hover .ic { rotate: 90deg; } }

/* ----------------------------------------------------------------------------------------- shop */
.shop { position: relative; padding: clamp(72px, 8.5vw, 124px) var(--pad) 40px; }
.shop-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px 40px; margin-bottom: 44px; }
.shop-lede { color: var(--fg-2); }
.shop-bar { position: sticky; top: var(--hh); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad);
  background: rgba(25, 25, 24, .94); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); box-shadow: inset 0 -1px 0 var(--line); }
.tabs { position: relative; flex: 1 1 auto; min-width: 0; display: flex; gap: 2px; height: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
@media (max-width: 1099px) { .tabs { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); padding-right: 28px; } }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; height: 100%; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fg-3); transition: color 150ms; }
.tab:first-of-type { padding-left: 0; }
.tab sup { font: 400 10px/1 var(--m); letter-spacing: .04em; color: var(--fg-3); top: -.5em; }
.tab[aria-selected='true'] { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--fg); } }
.tab-ind { position: absolute; left: 0; bottom: 0; width: 100px; height: 1px; background: var(--fg); transform-origin: 0 0; pointer-events: none; transition: transform 380ms var(--out); }
.sort { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; color: var(--fg-3); }
.sort select { appearance: none; -webkit-appearance: none; height: 34px; padding: 0 26px 0 12px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 13.5px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b6b2a9' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 9px; background-position: right 10px center; transition: border-color 150ms; }
.sort select:hover { border-color: var(--line-2); }
.sort option { background: var(--bg-1); color: var(--fg); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px var(--gx); padding-top: 36px; }
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px var(--gx); padding-top: 24px; } }
.grid-empty { padding: 60px 0; color: var(--fg-3); }

.card { position: relative; display: block; color: inherit; text-decoration: none; outline-offset: 6px; }
.c-media { position: relative; aspect-ratio: 1; background: var(--tile); border-radius: 3px; overflow: hidden; isolation: isolate; }
.c-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-a { transition-property: scale, filter, opacity; transition-duration: 700ms; transition-timing-function: var(--out); }
.c-d { opacity: 0; scale: 1.04; filter: blur(4px); transition-property: opacity, scale, filter; transition-duration: 500ms; transition-timing-function: var(--out); }
.c-tag { position: absolute; z-index: 2; left: 12px; top: 12px; color: var(--fg-2); font-size: 10px; }
.c-tag i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--fg-2); }
.c-tag.is-made i { background: var(--ember); }
.c-go { position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(235, 232, 225, .92); color: #191918; opacity: 0; scale: .9; transition-property: opacity, scale; transition-duration: 250ms; transition-timing-function: var(--out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .c-d { opacity: 1; scale: 1; filter: blur(0); }
  .card:hover .c-a { scale: 1.02; }
  .card:hover .c-go { opacity: 1; scale: 1; }
}
.card:active .c-media { scale: .985; }
.c-media { transition: scale 200ms var(--out); }
.c-meta { padding-top: 14px; display: grid; gap: 3px; }
.c-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.c-name { font-size: 15px; font-weight: 500; letter-spacing: -.005em; }
.c-type { color: var(--fg-3); font-weight: 400; margin-left: 4px; }
.c-price { font: 500 14px/1.2 var(--f); letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-price small { font: 400 10px/1 var(--m); color: var(--fg-3); margin-right: 5px; letter-spacing: .06em; text-transform: uppercase; }
.c-sub { font-size: 13px; color: var(--fg-3); }
.c-sw { display: inline-flex; gap: 5px; flex: none; }
.c-sw i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* rooms in the grid: span two columns, same height as a tile */
.rt { grid-column: span 2; position: relative; }
.rt-media { position: relative; aspect-ratio: 2.06; background: #0f0f0e; border-radius: 3px; overflow: hidden; }
.rt-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rt-cap { padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rt-cap b { font-weight: 500; font-size: 15px; }
.rt-cap span { color: var(--fg-3); font-size: 13px; }
@media (max-width: 759px) { .rt-media { aspect-ratio: 1.5; } .rt-cap { flex-direction: column; gap: 2px; } }

/* reveal: tiles 'light up' — exposure, not a fade from nothing */
/* no translate here: Flip and GSAP own the transforms of grid items and would bake a CSS offset into them */
.rv { opacity: 0; filter: brightness(.4) blur(4px); }
.rv.is-in { opacity: 1; filter: none; transition-property: opacity, filter; transition-duration: 900ms; transition-timing-function: var(--out); transition-delay: var(--d, 0ms); }

/* ----------------------------------------------------------------------------------------- promise */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gx); margin: 80px var(--pad) 0; padding: 40px 0 96px; border-top: 1px solid var(--line); }
.pr .mono { color: var(--fg-3); margin-bottom: 18px; }
.pr h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; letter-spacing: -.01em; }
.pr p:last-child { color: var(--fg-2); font-size: 14px; max-width: 290px; }
@media (max-width: 1099px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .promise { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------------------------- product */
.pp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding: calc(var(--hh) + 24px) var(--pad) 0; align-items: start; }
.pp-gal { position: sticky; top: calc(var(--hh) + 24px); display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: start; }
.pp-thumbs { display: flex; flex-direction: column; gap: 8px; }
.pp-thumb { position: relative; width: 60px; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--tile); opacity: .5; transition-property: opacity, scale; transition-duration: 150ms; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb[aria-current='true'] { opacity: 1; box-shadow: 0 0 0 1px var(--fg); }
.pp-thumb:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .pp-thumb:hover { opacity: .9; } }
.pp-stage { position: relative; width: min(100%, calc(100svh - var(--hh) - 48px)); aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--tile); isolation: isolate; }
.pp-slide { position: absolute; inset: 0; }
.pp-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-slide.is-room img { object-position: var(--rx, 50%) 50%; }
.pp-zoom { cursor: zoom-in; }
.pp-zoom.is-zoom { cursor: zoom-out; }
.pp-zoom.is-zoom img { transition: none; }
.pp-tools { position: absolute; z-index: 4; right: 14px; top: 14px; display: flex; gap: 8px; }
.chip { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 17px; font-size: 13px; color: var(--fg); background: rgba(25, 25, 24, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(235, 232, 225, .16); transition-property: scale, background-color, color; transition-duration: 150ms; }
.chip:active { scale: .96; }
.chip[aria-pressed='true'] { background: var(--fg); color: #191918; }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed='true']):hover { background: rgba(25, 25, 24, .8); } }
.lamp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); transition: background-color 150ms, box-shadow 150ms; }
.chip-lamp[aria-pressed='true'] { background: rgba(25, 25, 24, .55); color: var(--fg); }
.chip-lamp[aria-pressed='true'] .lamp-dot { background: var(--ember); box-shadow: 0 0 8px 1px rgba(224, 153, 90, .7); }
.pp-cap { position: absolute; z-index: 4; left: 16px; bottom: 14px; color: var(--fg-2); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.pp-count { position: absolute; z-index: 4; right: 16px; bottom: 14px; color: var(--fg-2); }
.pp-dots { display: none; }

/* dimension overlay, drawn on the front elevation */
.meas { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: visible; }
.meas line, .meas path { stroke: var(--fg); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.meas .ext { stroke: rgba(235, 232, 225, .45); stroke-dasharray: 3 3; }
.meas-l { position: absolute; z-index: 4; translate: -50% -50%; padding: 4px 8px; border-radius: 4px; background: rgba(25, 25, 24, .82); color: var(--fg); font: 500 13px/1 var(--f); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; pointer-events: none; }
.meas-l.is-note { background: none; color: var(--fg-2); font-weight: 400; }
.meas .ghost { stroke: rgba(235, 232, 225, .3); stroke-dasharray: 2 5; }
.meas-l small { color: var(--fg-3); margin-left: 4px; font-size: 10px; text-transform: uppercase; }

.pp-info { padding: 6px 0 40px; max-width: 500px; }
.crumb { color: var(--fg-3); display: flex; gap: 8px; margin-bottom: 26px; }
.crumb a { text-decoration: none; color: var(--fg-2); }
@media (hover: hover) and (pointer: fine) { .crumb a:hover { color: var(--fg); } }
.pp-name { font-size: clamp(40px, 3.8vw, 58px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.pp-type { color: var(--fg-2); font-size: 16px; margin-top: 10px; }
.pp-price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 22px; }
.pp-price b { font: 400 24px/1 var(--f); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pp-price > span { color: var(--fg-3); font-size: 13px; }
.roll { display: inline-flex; overflow: clip; height: 1.15em; vertical-align: bottom; }
.roll > span { display: block; }
.pp-desc { color: var(--fg-2); margin-bottom: 28px; }
.opt { padding: 18px 0 20px; box-shadow: inset 0 1px 0 var(--line); }
.opt-h { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--fg-3); margin-bottom: 12px; }
.opt-h b { color: var(--fg); font-weight: 450; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 46px; padding: 6px 16px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; text-align: left; font-size: 14px; color: var(--fg-2);
  transition-property: scale, box-shadow, color, background-color; transition-duration: 150ms; transition-timing-function: var(--out); }
.seg button small { font: 400 10.5px/1.2 var(--m); letter-spacing: .05em; color: var(--fg-3); text-transform: uppercase; }
.seg button[aria-pressed='true'] { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); background: rgba(235, 232, 225, .04); }
.seg button:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .seg button:not([aria-pressed='true']):hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg-3); } }
.sw { display: flex; gap: 6px; }
.sw button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px transparent; transition-property: scale, box-shadow; transition-duration: 150ms; }
.sw button i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 -6px 10px rgba(0, 0, 0, .18); }
.sw button[aria-pressed='true'] { box-shadow: inset 0 0 0 1px var(--fg); }
.sw button:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .sw button:not([aria-pressed='true']):hover { box-shadow: inset 0 0 0 1px var(--fg-3); } }
.opt-note { font-size: 13px; color: var(--fg-3); margin-top: 10px; }
.lead-l { display: flex; gap: 10px; align-items: baseline; padding: 18px 0; box-shadow: inset 0 1px 0 var(--line); font-size: 14px; color: var(--fg); }
.lead-l i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-2); translate: 0 -1px; }
.lead-l.is-made i { background: var(--ember); }
.lead-l .mono { display: block; color: var(--fg-3); margin-top: 3px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 4px 0 12px; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; color: var(--fg-2); transition: color 150ms, scale 150ms; }
.qty button:not(:disabled):active { scale: .9; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { min-width: 22px; text-align: center; font: 500 14px/1 var(--f); font-variant-numeric: tabular-nums; }
.qty-s { height: 34px; }
.qty-s button { width: 32px; }
.add .btn-l { display: inline-flex; gap: 10px; }
.add .btn-l em { font-style: normal; font-weight: 400; opacity: .6; }
.add-ok { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.add-ok .ic { width: 18px; height: 18px; stroke-dasharray: 1; stroke-dashoffset: 1; }
.add.is-done .btn-l { opacity: 0; filter: blur(3px); }
.add.is-done .add-ok { opacity: 1; }
.add.is-done .add-ok .ic use { }
.add-bar { position: absolute; left: 14px; right: 14px; bottom: 9px; height: 1px; background: rgba(25, 25, 24, .35); transform: scaleX(0); transform-origin: left; }
.sample { margin-top: 2px; }
.pp-acc { margin-top: 28px; }
.acc { box-shadow: inset 0 1px 0 var(--line); }
.acc:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.acc-b { width: 100%; height: 58px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; text-align: left; color: var(--fg); }
.acc-b .ic { transition: rotate 250ms var(--out); color: var(--fg-2); }
.acc-b[aria-expanded='true'] .ic { rotate: 45deg; }
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms var(--out); }
.acc-b[aria-expanded='true'] + .acc-p { grid-template-rows: 1fr; }
.acc-i { overflow: hidden; }
.acc-c { padding: 2px 0 24px; color: var(--fg-2); font-size: 14px; opacity: 0; translate: 0 -6px; transition-property: opacity, translate; transition-duration: 250ms; transition-timing-function: var(--out); }
.acc-b[aria-expanded='true'] + .acc-p .acc-c { opacity: 1; translate: 0 0; transition-delay: 80ms; }
.acc-c p + p { margin-top: 10px; }
.dl { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 10px 16px; }
.dl dt { color: var(--fg-3); }
.dl dd { color: var(--fg-2); }
.dims-big { display: flex; gap: 28px; margin-bottom: 18px; }
.dims-big div { display: grid; }
.dims-big b { font: 300 28px/1 var(--f); color: var(--fg); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dims-big span { font: 400 10.5px/1.6 var(--m); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); }
.fit { margin-top: 20px; padding: 16px; border-radius: 8px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.fit label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--fg); font-size: 14px; }
.fit-in { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.fit-in input { width: 44px; border: 0; background: none; font: 400 14px/1 var(--m); text-align: right; outline: 0; -moz-appearance: textfield; }
.fit-in input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fit-in:focus-within { box-shadow: inset 0 0 0 1px var(--fg); }
.fit-r { margin-top: 10px; font-size: 13.5px; color: var(--fg-2); display: flex; gap: 8px; }
.fit-r i { flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 7px; background: var(--fg-2); }
.fit-r.is-no i { background: var(--ember); }
.show-ph { margin-top: 16px; }

.pp-more { padding: clamp(80px, 9vw, 130px) var(--pad) 20px; }
.pp-more .shop-head { margin-bottom: 28px; }
.pp-more .grid { padding-top: 0; }

.pp-bar { display: none; }

/* page transitions: shared element + rising blocks */
.fly { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; background: var(--tile); border-radius: 3px; overflow: hidden; will-change: transform; transform-origin: 0 0; }
.fly img { width: 100%; height: 100%; object-fit: cover; }
.view { min-height: 100vh; }

/* ----------------------------------------------------------------------------------------- info page */
.info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: calc(var(--hh) + clamp(48px, 7vw, 96px)) var(--pad) 96px; }
.info-head { position: sticky; top: calc(var(--hh) + 48px); align-self: start; }
.info-head .t-h1 { margin-bottom: 24px; }
.info-lede { color: var(--fg-2); max-width: 420px; }
.info-body section { padding: 28px 0 32px; box-shadow: inset 0 1px 0 var(--line); }
.info-body h2 { margin-bottom: 12px; }
.info-body p { color: var(--fg-2); max-width: 620px; }
.info-body p + p { margin-top: 10px; }
.lead { width: 100%; max-width: 620px; margin-top: 24px; border-collapse: collapse; font-size: 14px; }
.lead caption { text-align: left; color: var(--fg-3); padding-bottom: 10px; }
.lead th, .lead td { text-align: left; padding: 11px 0; box-shadow: inset 0 -1px 0 var(--line); font-weight: 400; }
.lead thead th { color: var(--fg-3); font-size: 12.5px; }
.lead thead th:last-child { text-align: right; }
.lead td { text-align: right; color: var(--fg); }
.lead tbody th { color: var(--fg-2); }

/* ----------------------------------------------------------------------------------------- footer */
.ftr { padding: 72px var(--pad) 26px; box-shadow: inset 0 1px 0 var(--line); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 32px var(--gx); }
.ftr-visit { color: var(--fg-2); font-size: 14px; max-width: 300px; }
.l-short { display: none; }
.ftr-about { color: var(--fg-2); max-width: 520px; }
.ftr-about b { color: var(--fg); font-weight: 500; letter-spacing: .04em; }
.ftr-col .mono { color: var(--fg-3); margin-bottom: 14px; }
.ftr-col li a { display: inline-block; padding: 3px 0; text-decoration: none; color: var(--fg-2); font-size: 14px; transition: color 150ms; }
@media (hover: hover) and (pointer: fine) { .ftr-col li a:hover { color: var(--fg); } }
.ftr-mark { margin: clamp(56px, 8vw, 110px) 0 28px; color: rgba(235, 232, 225, .12); }
.ftr-mark .mark { width: 100%; height: auto; aspect-ratio: 520 / 112; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ftr-mark .mark path { vector-effect: non-scaling-stroke; }
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--fg-3); }

/* ----------------------------------------------------------------------------------------- bag */
.scrim { position: fixed; inset: 0; z-index: 79; background: rgba(8, 8, 8, .56); opacity: 0; pointer-events: none; transition: opacity 400ms var(--ui); }
.is-bag .scrim { opacity: 1; pointer-events: auto; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(460px, 100vw); display: flex; flex-direction: column; background: var(--bg-1); box-shadow: -1px 0 0 var(--line), -30px 0 80px rgba(0, 0, 0, .35);
  transform: translateX(102%); transition: transform 520ms var(--drawer); }
.is-bag .bag { transform: none; }
.bag-head { flex: none; height: var(--hh); padding: 0 14px 0 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: inset 0 -1px 0 var(--line); }
.bag-title { font-size: 16px; font-weight: 500; display: flex; align-items: baseline; gap: 10px; }
.bag-title .mono { color: var(--fg-3); }
.bag-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; }
.bag-foot { flex: none; padding: 18px 24px 24px; box-shadow: inset 0 1px 0 var(--line); }
.bag-foot:empty { display: none; }
.meter { padding: 18px 0; box-shadow: inset 0 -1px 0 var(--line); font-size: 13.5px; color: var(--fg-2); }
.meter-b { height: 2px; margin-top: 10px; border-radius: 1px; background: var(--line); overflow: hidden; }
.meter-b i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 600ms var(--out); }
.meter.is-free .meter-b i { background: var(--ember); }
.li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 20px 0; box-shadow: inset 0 -1px 0 var(--line); }
.li-img { width: 84px; aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--tile); }
.li-img img { width: 100%; height: 100%; object-fit: cover; }
.li-t { display: flex; justify-content: space-between; gap: 12px; }
.li-t b { font-weight: 500; font-size: 14.5px; }
.li-t .mono { font: 500 14px/1.3 var(--f); font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; }
.li-sw { display: grid; place-items: center; }
.li-sw i { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 -6px 10px rgba(0, 0, 0, .18); }
.li-m { font-size: 13px; color: var(--fg-3); margin-top: 2px; }
.li-r { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.li-x { font-size: 13px; color: var(--fg-3); text-decoration: underline; text-underline-offset: 3px; transition: color 150ms; }
@media (hover: hover) and (pointer: fine) { .li-x:hover { color: var(--fg); } }
.li.is-out { opacity: 0; translate: 16px 0; transition: opacity 200ms, translate 200ms var(--out); }
.sum { display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); margin-bottom: 18px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .mono { font: 500 14px/1.3 var(--f); font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; color: var(--fg); }
.sum .tot { color: var(--fg); font-size: 16px; padding-top: 10px; box-shadow: inset 0 1px 0 var(--line); }
.sum .tot .mono { font-size: 16px; }
.bag-note { font-size: 12.5px; color: var(--fg-3); margin-top: 12px; text-align: center; }
.empty { padding: 56px 0; text-align: center; color: var(--fg-2); }
.empty p:first-child { font-size: 17px; color: var(--fg); margin-bottom: 8px; }
.empty .btn { margin-top: 24px; }
.form { display: grid; gap: 14px; padding: 22px 0 30px; }
.form h3 { font-size: 13px; font-weight: 400; color: var(--fg-3); margin-top: 10px; }
.fld { display: grid; gap: 6px; }
.fld span { font: 400 10.5px/1.2 var(--m); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); }
.fld input, .fld select { height: 46px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg); font-size: 14.5px; outline: 0; transition: border-color 150ms; }
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b6b2a9' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 9px; background-position: right 14px center; }
.fld input:focus, .fld select:focus { border-color: var(--fg); }
.fld input[aria-invalid='true'] { border-color: var(--err); }
.fld-err { font-style: normal; font-size: 12.5px; color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: start; padding: 14px; border-radius: 8px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color 150ms, background-color 150ms; }
.radio input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 2px 0 0; border-radius: 50%; border: 1px solid var(--fg-3); display: grid; place-items: center; }
.radio input::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); scale: 0; transition: scale 150ms var(--out); }
.radio input:checked::after { scale: 1; }
.radio:has(input:checked) { border-color: var(--fg); background: rgba(235, 232, 225, .03); }
.radio b { display: block; font-weight: 450; font-size: 14px; }
.radio small { display: block; color: var(--fg-3); font-size: 12.5px; margin-top: 2px; }
.radio .mono { font: 500 13.5px/1.3 var(--f); font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; }
.done { padding: 56px 0 30px; text-align: center; }
.done-ic { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ember); }
.done-ic .ic { width: 22px; height: 22px; }
.done-ic use { stroke-dasharray: 1; }
.done h3 { font-size: 22px; font-weight: 300; letter-spacing: -.01em; margin-bottom: 6px; }
.done .mono { color: var(--fg-3); margin-bottom: 22px; }
.done p { color: var(--fg-2); font-size: 14px; max-width: 340px; margin: 0 auto; }
.done .note { margin-top: 18px; font-size: 12.5px; color: var(--fg-3); }
.bag-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); margin-top: 18px; }

/* ----------------------------------------------------------------------------------------- toast */
.toast { position: fixed; z-index: 70; right: var(--pad); top: calc(var(--hh) + 12px); width: 372px; padding: 12px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  border-radius: 12px; background: rgba(31, 31, 29, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 50px rgba(0, 0, 0, .35);
  opacity: 0; translate: 0 -10px; filter: blur(4px); pointer-events: none; transition-property: opacity, translate, filter; transition-duration: 150ms; transition-timing-function: var(--out); }
.toast.is-on { opacity: 1; translate: 0 0; filter: none; pointer-events: auto; transition-duration: 300ms; }
.toast-img { width: 56px; height: 56px; border-radius: 4px; background: var(--tile); object-fit: cover; }
.toast-t .mono { color: var(--ember); margin-bottom: 2px; }
.toast-name { font-size: 14px; font-weight: 500; }
.toast-meta { font-size: 12.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-timer { position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: var(--fg-3); transform: scaleX(0); transform-origin: left; }

/* ----------------------------------------------------------------------------------------- failure */
.ld-fail { position: fixed; z-index: 250; inset: auto var(--pad) 40px var(--pad); max-width: 420px; padding: 22px; border-radius: 12px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line-2); }
.ld-fail .mono { color: var(--ember); margin-bottom: 6px; }
.ld-fail p:nth-child(2) { color: var(--fg-2); margin-bottom: 16px; }

/* ----------------------------------------------------------------------------------------- phones */
@media (max-width: 759px) {
  .hdr { gap: 14px; }
  .hdr-mark .mark { height: 13px; width: calc(13px * 520 / 112); }
  .hdr-nav { gap: 16px; }
  .l-long { display: none; }
  .l-short { display: inline; }
  .hero { min-height: 600px; }
  .hero-copy { top: calc(var(--hh) + 26px); bottom: calc(26px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
  .h-cta { margin-top: auto; }
  .h-kick { margin-bottom: 16px; }
  .h-title { font-size: clamp(44px, 13vw, 60px); margin-bottom: 18px; }
  .h-sub { font-size: 15px; margin-bottom: 24px; max-width: 288px; }
  .h-cap { display: none; }
  .h-shade { background: linear-gradient(to bottom, rgba(14, 14, 13, .72), rgba(14, 14, 13, .35) 30%, rgba(14, 14, 13, 0) 46%), linear-gradient(to top, rgba(14, 14, 13, .7), rgba(14, 14, 13, 0) 18%); }
  .shop-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .shop-bar { height: 52px; }
  .sort span { display: none; }
  .sort select { width: 40px; padding: 0; color: transparent; background-position: center; background-size: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1.5 3.5h11M1.5 7h7.5M1.5 10.5h4' fill='none' stroke='%23ebe8e1' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .tabs { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 24px; }
  .tab { font-size: 14px; padding: 0 10px; }
  .c-name { font-size: 14px; }
  .c-type { display: block; margin-left: 0; font-size: 13px; }
  .c-row { align-items: flex-start; }
  .c-row.c-sub { display: none; }
  .c-price { font-size: 12px; }
  .c-tag { left: 9px; top: 9px; font-size: 9px; }
  .rt-cap b { font-size: 14px; }

  .pp { grid-template-columns: 1fr; gap: 26px; padding: var(--hh) 0 0; }
  .pp-gal { position: relative; top: 0; display: block; }
  .pp-thumbs { display: none; }
  .pp-stage { width: 100%; border-radius: 0; touch-action: pan-y; }
  .pp-dots { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
  .pp-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); transition: background-color 200ms, scale 200ms; }
  .pp-dots i.is-on { background: var(--fg); }
  .pp-info { padding: 0 var(--pad) 40px; max-width: none; }
  .crumb { margin-bottom: 16px; }
  .pp-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(25, 25, 24, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 var(--line); translate: 0 110%; transition: translate 400ms var(--drawer); }
  .pp-bar.is-on { translate: 0 0; }
  .pp-bar b { font-weight: 500; font-size: 14px; display: block; }
  .pp-bar > div span { font: 400 13px/1.3 var(--f); font-variant-numeric: tabular-nums; color: var(--fg-2); }
  .pp-bar .btn { height: 46px; }
  .info { grid-template-columns: 1fr; gap: 24px; }
  .info-head { position: static; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-col:last-child { grid-column: 1 / -1; }
  .ftr-about { grid-column: 1 / -1; }
  .toast { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); translate: 0 10px; background: var(--bg-1); }
  .bag { width: 100vw; }
  .row2 { grid-template-columns: 1fr; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .pp-gal { grid-template-columns: 1fr; }
  .pp-thumbs { flex-direction: row; order: 2; }
  .pp-stage { width: 100%; }
}

/* ----------------------------------------------------------------------------------------- reduced motion: cross-fades only */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .rv { filter: none; }
  .rv.is-in { transition-duration: 300ms !important; transition-property: opacity !important; }
  .toast, .toast.is-on { transition-duration: 200ms !important; transition-property: opacity !important; translate: none; filter: none; }
  .acc-p { transition: none; }
  .bag { transition-duration: 200ms !important; transition-property: opacity, transform !important; }
}

/* the stylesheet is in: the page may show (index.html hides it until then) */
body { visibility: visible; }
