/* aha925 home v4. Tokens and rules: ../DESIGN.md. No hex outside :root. */

/* Fonts are self-hosted (OFL, from Google Fonts 2026-10-25): no request leaves for Google, which EU courts treat as
   sharing the visitor's IP without consent. Variable weight and optical size; latin-ext only loads for names like Łódź. */
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(../fonts/bodoni-moda-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(../fonts/bodoni-moda-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/bodoni-moda-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/bodoni-moda-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 350 600; font-display: swap;
  src: url(../fonts/jost-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 350 600; font-display: swap;
  src: url(../fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Until the web fonts arrive, local fonts sized to their metrics (average advance of English text, ascent, descent),
   so text keeps its lines when Jost and Bodoni swap in and nothing below moves (fontTools: Jost 400 against Arial, Bodoni
   Moda 400 opsz 24 against Georgia). */
@font-face { font-family: 'Jost Fallback'; src: local('Arial'), local('ArialMT'), local('Roboto'); size-adjust: 97.14%; ascent-override: 110.15%; descent-override: 38.6%; line-gap-override: 0%; }
@font-face { font-family: 'Bodoni Moda Fallback'; src: local('Georgia'); size-adjust: 103.48%; ascent-override: 108.72%; descent-override: 38.66%; line-gap-override: 0%; }

:root {
  --velvet: #17121F;
  --velvet-2: #221B2C;
  --velvet-3: #2E2539;
  --velvet-rgb: 23, 18, 31;
  --pearl: #F4F1F3;
  --pearl-2: #EAE5EA;
  --pearl-3: #DED7DF;
  --pearl-rgb: 244, 241, 243;
  --blush: #F2E2E6;
  --white: #FFFFFF;
  --ink: #1D1724;
  --ink-2: #5A5263;
  --ink-3: #746C7D;
  --ink-rgb: 29, 23, 36;
  --on-velvet: #F4F1F3;
  --on-velvet-2: #B8B1C1;
  --on-velvet-3: #8D8698;
  --lamp-rgb: 214, 200, 235;
  --line: rgba(29, 23, 36, .12);
  --line-strong: rgba(29, 23, 36, .28);
  --line-v: rgba(244, 241, 243, .14);
  --line-v-strong: rgba(244, 241, 243, .32);
  --fire-1: #FFB8D2; --fire-2: #D6C1FF; --fire-3: #A6DBFF; --fire-4: #BFF0D6; --fire-5: #FFE2A3;
  --fire: linear-gradient(90deg, var(--fire-1), var(--fire-2) 28%, var(--fire-3) 52%, var(--fire-4) 76%, var(--fire-5));
  --metal-silver: linear-gradient(135deg, #F7F7F8 0%, #C9CBD2 50%, #9EA2AC 100%);
  --metal-gold: linear-gradient(135deg, #F3E2B6 0%, #D7B46A 55%, #B8924A 100%);
  --success: #2F7A5B;
  --error: #B3344D;
  --warning: #9A6418;

  --font-display: 'Bodoni Moda', 'Bodoni Moda Fallback', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-body: 'Jost', 'Jost Fallback', 'Futura', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);

  --wrap: 1440px;
  --gutter: 40px;
  --bar-h: 34px;
  --hdr-h: 68px;
  --sec: 120px;
  --shadow-overlay: 0 30px 80px -20px rgba(var(--velvet-rgb), .5), 0 2px 8px rgba(var(--velvet-rgb), .08);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--pearl); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
.h2 { text-wrap: balance; font: 400 clamp(36px, 4.6vw, 68px)/1 var(--font-display); font-variation-settings: 'opsz' 72; letter-spacing: -.015em; }
[data-rise] { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
[data-rise] > span { display: inline-block; }
.js [data-rise] > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js [data-rise].is-in > span { transform: none; }

/* ---------- buttons, links, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--font-body); letter-spacing: .01em; white-space: nowrap; transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--pearl { background: var(--pearl); color: var(--ink); }
.btn--pearl:hover { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--pearl); }
.btn--ink:hover { background: var(--velvet-3); }
.btn--block { width: 100%; }
.btn.is-done { background: var(--success); color: var(--white); }
.link { font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease-out); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link--v { color: var(--on-velvet); }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--pearl); border-color: var(--ink); }
.chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip[disabled] { opacity: .4; text-decoration: line-through; pointer-events: none; }
.badge { position: absolute; left: 14px; top: 14px; z-index: 3; padding: 5px 10px; border-radius: 999px; background: rgba(var(--pearl-rgb), .85); color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1; pointer-events: none; }

/* ---------- bar + header ---------- */
.bar__more { white-space: nowrap; }
.bar { position: relative; z-index: 31; height: var(--bar-h); display: flex; align-items: center; justify-content: center; padding: 0 16px; background: var(--velvet); color: var(--on-velvet-2); font-size: 13px; border-bottom: 1px solid var(--line-v); text-align: center; }
.hdr { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: var(--hdr-h); transform: translateY(var(--hy, var(--bar-h))); color: var(--on-velvet); transition: background-color .35s, color .35s, box-shadow .35s; }
.hdr.is-solid { background: rgba(var(--velvet-rgb), .82); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 var(--line-v); }
.hdr.is-solid.is-light { background: rgba(var(--pearl-rgb), .88); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { display: block; justify-self: start; padding: 6px 0; }
.logo__svg { display: block; height: 27px; width: auto; }
.nav { display: flex; gap: 30px; font-size: 15px; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__tools { justify-self: end; display: flex; align-items: center; gap: 4px; }
.hdr__icon { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.hdr__icon:hover { background: rgba(127, 127, 127, .14); }
.hdr__icon > svg { width: 22px; height: 22px; }
.hdr__menu { display: none; }
.hdr__icon > .bagbtn__ring { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); pointer-events: none; }
.bagbtn__track { fill: none; stroke: currentColor; stroke-opacity: 0; stroke-width: 1.5; transition: stroke-opacity .3s; }
.bagbtn__fill { fill: none; stroke: url(#fireg); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .9s var(--ease-out); }
.bagbtn.has-items .bagbtn__track { stroke-opacity: .18; }
.bagbtn:not(.has-items) .bagbtn__fill { opacity: 0; }
.bagbtn__n { position: absolute; right: 2px; top: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pearl); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.hdr.is-light .bagbtn__n { background: var(--ink); color: var(--pearl); }
.bagbtn.is-bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.18); } }

/* ---------- 1. stage ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; background: var(--velvet); color: var(--on-velvet); }
.stage::before { /* velvet nap */ content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.stage__lamp { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(48vmax circle at var(--lx, 66%) var(--ly, 44%), rgba(var(--lamp-rgb), .2), rgba(var(--lamp-rgb), .05) 40%, transparent 70%); transition: opacity .6s; }
.stage__in { position: relative; min-height: max(700px, calc(100svh - var(--bar-h))); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: 24px; padding-top: calc(var(--hdr-h) + 8px); padding-bottom: 84px; }
.stage__h { grid-column: 1 / 10; grid-row: 1; align-self: center; position: relative; z-index: 1; margin-top: -2vh; font: 400 clamp(58px, 10.2vw, 152px)/.9 var(--font-display); font-variation-settings: 'opsz' 96; letter-spacing: -.025em; }
.stage__h .ln { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.stage__h .ln > span { display: inline-block; }
.stage__copy { grid-column: 1 / 6; grid-row: 2; align-self: end; position: relative; z-index: 3; }
.stage__p { max-width: 30em; color: var(--on-velvet-2); font-size: 17px; line-height: 1.55; }
.stage__ctas { display: flex; align-items: center; gap: 28px; margin-top: 26px; }

.stage__piece { grid-column: 6 / 12; grid-row: 1 / 3; align-self: center; justify-self: center; position: relative; z-index: 2; width: min(600px, 41vw, calc(100svh - 300px)); margin-top: -30px; touch-action: pan-y; }
.stage__tilt { position: relative; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.stage__halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--velvet-rgb), .72), rgba(var(--velvet-rgb), .42) 55%, transparent); pointer-events: none; }
.stage__shadow { position: absolute; left: 22%; right: 22%; bottom: 6%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); transition: transform .6s var(--ease-out), opacity .6s; }
.piece { position: absolute; inset: 0; }
.piece img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fx--stars, .fx--tile, .fx--carat { mix-blend-mode: screen; }
.fx--stars { inset: -12%; width: 124%; height: 124%; }
.stage__hint { position: absolute; left: 50%; top: 1%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; color: var(--on-velvet-3); font-size: 13px; white-space: nowrap; transition: opacity .6s; }
.stage__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
.stage__hint .hint-m { display: none; }
.stage__hint.is-off { opacity: 0; }
.stage__gyro { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-v-strong); color: var(--on-velvet); font-size: 13px; white-space: nowrap; background: rgba(var(--velvet-rgb), .6); }
.stage__gyro svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }

.stage__buy { grid-column: 7 / 12; grid-row: 2; align-self: end; justify-self: center; position: relative; z-index: 3; display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 22px; padding: 10px 10px 10px 24px; border-radius: 999px; background: rgba(var(--pearl-rgb), .07); border: 1px solid var(--line-v); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stage__name { display: block; font: 500 19px/1.2 var(--font-display); font-variation-settings: 'opsz' 24; white-space: nowrap; }
.stage__mat { color: var(--on-velvet-3); font-size: 13px; }
.stage__price { font: 400 30px/1 var(--font-display); font-variation-settings: 'opsz' 60; font-variant-numeric: tabular-nums; }
.stage__info, .stage__price { transition: opacity .25s, transform .35s var(--ease-out); }
.stage__buy.is-swap .stage__info { opacity: 0; transform: translateY(6px); }

.stage__picks { grid-column: 12 / 13; grid-row: 1 / 3; align-self: center; justify-self: end; z-index: 3; display: flex; flex-direction: column; gap: 10px; margin-top: -40px; }
.pick { position: relative; display: grid; justify-items: center; gap: 4px; padding: 4px; border-radius: 16px; color: var(--on-velvet-3); font-size: 12px; transition: color .25s; }
.pick__img { width: 64px; height: 64px; border-radius: 50%; background: var(--velvet-2); border: 1px solid var(--line-v); overflow: hidden; transition: border-color .3s, transform .4s var(--ease-spring); }
.pick__img img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.15); }
.pick:hover { color: var(--on-velvet); }
.pick:hover .pick__img { transform: scale(1.06); }
.pick[aria-selected="true"] { color: var(--on-velvet); }
.pick[aria-selected="true"] .pick__img { border-color: transparent; box-shadow: 0 0 0 1.5px var(--pearl), 0 0 24px rgba(var(--lamp-rgb), .35); }

.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: center; gap: 56px; height: 56px; align-items: center; border-top: 1px solid var(--line-v); color: var(--on-velvet-2); font-size: 14px; white-space: nowrap; }
.ticker li { display: flex; align-items: center; gap: 10px; }
.ticker li::before { content: ''; width: 9px; height: 9px; background: var(--fire); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* stage intro (gated by .js so no-JS shows everything) */
.js .stage__h .ln > span { transform: translateY(108%); }
.js .stage__copy, .js .stage__buy, .js .stage__picks, .js .ticker, .js .pg-home .hdr__in { opacity: 0; }
.js .stage__piece .piece.is-on { opacity: 0; transform: translateY(-26px) scale(.96); }
.is-ready .stage__h .ln > span { transform: none; transition: transform 1.2s var(--ease-out); }
.is-ready .stage__h .ln:nth-child(2) > span { transition-delay: .12s; }
.is-ready .stage__piece .piece.is-on { opacity: 1; transform: none; transition: opacity .9s .25s, transform 1.3s .25s var(--ease-spring); }
.is-ready .stage__copy, .is-ready .stage__buy, .is-ready .stage__picks, .is-ready .ticker { opacity: 1; transition: opacity .9s .7s; }
/* Must out-rank the hide rule above (.js .pg-home .hdr__in), or the home header stays invisible after the intro. */
.js .pg-home.is-ready .hdr__in { opacity: 1; transition: opacity .9s .1s; }

/* ---------- 2. most loved ---------- */
.loved { padding: 112px 0 88px; background: var(--pearl); }
.loved__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 20px 48px; margin-bottom: 36px; }
.tabs { display: flex; gap: 28px; padding-bottom: 8px; }
.tab { position: relative; padding: 8px 0; color: var(--ink-3); font-size: 16px; font-weight: 500; transition: color .2s; }
.tab:hover { color: var(--ink); }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--fire); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.loved__tools { display: flex; align-items: center; gap: 10px; padding-bottom: 4px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--pearl-2); margin-right: 14px; }
.seg button { min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .25s, color .25s, box-shadow .25s; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(var(--ink-rgb), .12); }
.arrow { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color .2s, background-color .2s, opacity .2s; }
.arrow:hover { border-color: var(--ink); background: var(--white); }
.arrow[disabled] { opacity: .3; pointer-events: none; }
.arrow svg { width: 20px; height: 20px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 3 * 16px) / 4.2); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-block: 10px 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > .tile { scroll-snap-align: start; }
.rail.is-drag { scroll-snap-type: none; cursor: grabbing; }
.rail.is-drag .tile { pointer-events: none; }
.loved__foot { display: flex; align-items: center; gap: 32px; margin-top: 28px; }
.railbar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.railbar span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 2px; background: var(--ink); transform: translateX(var(--rx, 0)); }

/* tile */
.tile { position: relative; }
.tile__media { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--pearl-2); overflow: hidden; isolation: isolate; }
.tile__media::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(70% 55% at 50% 42%, rgba(var(--pearl-rgb), .9), transparent 70%); }
.tile__media::after { /* the lamp follows the pointer */ content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 40%, transparent 65%); }
.tile__hit { position: absolute; inset: 0; z-index: 2; }
.tile__piece { position: absolute; z-index: 1; left: 7%; top: 5%; width: 86%; height: auto; pointer-events: none; transition: transform .6s var(--ease-spring); }
.tile__shadow { position: absolute; z-index: 1; left: 28%; right: 28%; top: 79%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--ink-rgb), .22), transparent); transition: transform .6s var(--ease-spring), opacity .6s; }
.tile[data-cat="necklaces"] .tile__piece { top: 0; }
.tile[data-cat="necklaces"] .tile__shadow { opacity: 0; }
.tile__worn { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; clip-path: circle(0% at var(--cx, 88%) var(--cy, 9%)); transition: clip-path .8s var(--ease-out); }
.tile.is-worn .tile__worn { clip-path: circle(150% at var(--cx, 88%) var(--cy, 9%)); }
.tile__on { position: absolute; z-index: 3; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(var(--pearl-rgb), .85); color: var(--ink); font-size: 13px; font-weight: 500; transition: background-color .2s, transform .2s var(--ease-out); }
.tile__on::before { content: ''; position: absolute; inset: -6px; }
.tile__on svg { width: 17px; height: 17px; fill: none; stroke: currentColor; }
.tile__on:hover { background: var(--white); }
.tile__on[aria-pressed="true"] { background: var(--ink); color: var(--pearl); }
.add { position: absolute; z-index: 4; right: 10px; bottom: 10px; display: inline-flex; align-items: center; height: 44px; min-width: 44px; padding: 0 12px; gap: 0; border-radius: 999px; background: var(--ink); color: var(--pearl); font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; transition: background-color .2s, gap .4s var(--ease-out), padding .4s var(--ease-out), transform .2s var(--ease-out); }
.add svg { width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.add span { max-width: 0; opacity: 0; transition: max-width .45s var(--ease-out), opacity .3s; }
.add:active { transform: scale(.94); }
.add.is-done { background: var(--success); }
.add.is-done svg { transform: rotate(90deg); }
.tile__info { padding: 14px 4px 0; }
.tile__name { font-size: 15px; font-weight: 450; line-height: 1.35; }
.tile__name a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tile__mat { margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.tile__price { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tile__sw { display: inline-flex; gap: 5px; }
.sw { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .15); }
.sw--silver { background: var(--metal-silver); }
.sw--gold { background: var(--metal-gold); }

@media (hover: hover) and (pointer: fine) {
  .tile__media:hover::after { opacity: 1; }
  .tile__media:hover .tile__piece { transform: translateY(-8px) scale(1.04); }
  .tile__media:hover .tile__shadow { transform: scale(.82); opacity: .7; }
  .tile__media:hover .add { gap: 8px; padding: 0 18px 0 14px; }
  .tile__media:hover .add span { max-width: 120px; opacity: 1; }
  .add:hover { background: var(--velvet-3); }
}

/* drop onto the tray (first view of Most loved) */
.js .loved .rail[data-rail="best"]:not(.is-landed) .tile__piece { opacity: 0; transform: translateY(var(--dy, -140px)) rotate(var(--dr, -18deg)) scale(.92); }
.js .loved .rail[data-rail="best"]:not(.is-landed) .tile__shadow { opacity: 0; transform: scale(.4); }
.rail.is-landing .tile__piece { transition: transform 1.1s var(--ease-spring) var(--dd, 0s), opacity .4s var(--dd, 0s); }
.rail.is-landing .tile__shadow { transition: transform .9s var(--ease-out) calc(var(--dd, 0s) + .25s), opacity .6s calc(var(--dd, 0s) + .25s); }

/* inline size row inside a tile */
.sizes { position: absolute; z-index: 5; left: 8px; right: 8px; bottom: 8px; padding: 12px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-overlay); transform-origin: bottom right; animation: pop .35s var(--ease-out); }
.sizes__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--ink-2); }
.sizes__h button { width: 32px; height: 32px; display: grid; place-items: center; margin: -6px -6px -6px 0; }
.sizes__row { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes .chip { min-height: 40px; min-width: 44px; padding: 0 12px; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(8px); } }

/* ---------- 3. carat ---------- */
.carat { position: relative; padding: var(--sec) 0 96px; background: var(--velvet); color: var(--on-velvet); overflow: hidden; }
.carat::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50vmax circle at 72% 45%, rgba(var(--lamp-rgb), .12), transparent 65%); }
.carat__in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.carat__copy { grid-column: 1 / 6; }
.carat__p { max-width: 30em; margin-top: 22px; color: var(--on-velvet-2); font-size: 17px; }
.carat__read { display: flex; align-items: flex-end; gap: 40px; margin-top: 40px; }
.carat__ct { font: 400 104px/.85 var(--font-display); font-variation-settings: 'opsz' 96; font-variant-numeric: tabular-nums; letter-spacing: -.03em; min-width: 2.6ch; }
.carat__ct small { margin-left: 10px; font: 400 26px var(--font-body); letter-spacing: 0; color: var(--on-velvet-2); }
.carat__dl { display: flex; gap: 32px; padding-bottom: 8px; }
.carat__dl dt { color: var(--on-velvet-3); font-size: 13px; }
.carat__dl dd { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.carat__slider { position: relative; margin-top: 34px; }
.carat__slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.carat__slider input::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--pearl) var(--p, 25%), var(--line-v-strong) var(--p, 25%)); }
.carat__slider input::-moz-range-track { height: 2px; background: var(--line-v-strong); }
.carat__slider input::-moz-range-progress { height: 2px; background: var(--pearl); }
.carat__slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -13px; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 0 6px rgba(var(--pearl-rgb), .14), 0 0 24px rgba(var(--lamp-rgb), .6); transition: transform .2s var(--ease-out); }
.carat__slider input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--pearl); box-shadow: 0 0 0 6px rgba(var(--pearl-rgb), .14); }
.carat__slider input:active::-webkit-slider-thumb { transform: scale(1.15); }
.carat__slider input:focus-visible { outline: 2px solid var(--pearl); outline-offset: 4px; border-radius: 8px; }
.carat__ticks { position: relative; height: 28px; }
.carat__tick { position: absolute; top: 0; transform: translateX(-50%); min-width: 44px; height: 32px; color: var(--on-velvet-3); font-size: 13px; transition: color .2s; }
.carat__tick:nth-child(1) { left: 14px; } .carat__tick:nth-child(2) { left: calc(14px + (100% - 28px) * .25); } .carat__tick:nth-child(3) { left: calc(14px + (100% - 28px) * .5); } .carat__tick:nth-child(4) { left: calc(14px + (100% - 28px) * .75); } .carat__tick:nth-child(5) { left: calc(100% - 14px); }
/* the Go home sells only some sizes: each tick says where it sits (--t, 0 to 1) */
.carat__tick[style] { left: calc(14px + (100% - 28px) * var(--t, 0)); }
.carat__tick:hover, .carat__tick.is-on { color: var(--on-velvet); }
.carat__buy { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-v); }
.carat__buy p { font: 500 19px/1.3 var(--font-display); font-variation-settings: 'opsz' 24; }
.carat__buy p span { font: 400 13px var(--font-body); color: var(--on-velvet-3); }
.carat__fig { grid-column: 7 / 13; position: relative; justify-self: center; width: min(100%, 460px); }
.hand { --sw: 11.8%; position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--pearl-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); }
.hand__photo { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.hand__stone { position: absolute; z-index: 2; left: var(--sx); top: var(--sy); width: var(--sw); height: auto; transform: translate(-50%, -50%) rotate(-14deg) scaleY(.94); pointer-events: none; }
.hand__shadow { position: absolute; z-index: 1; left: var(--sx); top: calc(var(--sy) + var(--sw) * .3); width: calc(var(--sw) * 1.15); aspect-ratio: 2.2; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(70, 35, 35, .32), transparent); pointer-events: none; }
.hand .fx--carat { z-index: 3; }
.hand__mm { position: absolute; z-index: 4; left: calc(var(--sx) + var(--sw) * .55 + 18px); top: var(--sy); transform: translateY(-50%); display: flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 4px 14px rgba(var(--ink-rgb), .15); }
.hand__mm::before { content: ''; position: absolute; right: 100%; top: 50%; width: 14px; height: 1px; background: rgba(255, 255, 255, .9); }
.carat__fig figcaption { margin-top: 10px; color: var(--on-velvet-3); font-size: 13px; text-align: center; }
.vs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 48px; margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line-v); }
.vs__row dt { font: 400 26px/1.1 var(--font-display); font-variation-settings: 'opsz' 36; }
.vs__row dt small { display: block; margin-top: 6px; font: 400 14px/1.4 var(--font-body); color: var(--on-velvet-3); }
.vs__row dd { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; margin-top: 14px; font-size: 14px; color: var(--on-velvet-2); }
.vs__row dd b { font-weight: 500; color: var(--on-velvet); font-variant-numeric: tabular-nums; }
.vs__bar { grid-column: 1 / -1; height: 6px; margin-bottom: 6px; border-radius: 6px; background: var(--line-v); overflow: hidden; }
.vs__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 6px; background: var(--on-velvet-3); transform-origin: left; }
.vs__row dd:first-of-type .vs__bar i { background: var(--fire); }
.js .vs__bar i { transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.js .vs.is-in .vs__bar i { transform: none; }
.vs__row:nth-child(2) i { transition-delay: .12s; } .vs__row:nth-child(3) i { transition-delay: .24s; }

/* ---------- 4. proof ---------- */
.proof { padding: var(--sec) 0; background: var(--pearl); }
.proof__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.proof__side { grid-column: 1 / 6; position: sticky; top: calc(var(--hdr-h) + 32px); }
.proof__p { max-width: 28em; margin-top: 20px; color: var(--ink-2); font-size: 17px; }
.proof__list { margin-top: 36px; border-top: 1px solid var(--line); }
.proof__list button { position: relative; display: grid; width: 100%; padding: 20px 0; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-3); transition: color .25s; }
.proof__list button:hover { color: var(--ink); }
.proof__list strong { font: 400 26px/1.15 var(--font-display); font-variation-settings: 'opsz' 36; }
.proof__list span { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; transition: max-height .5s var(--ease-out), opacity .4s, margin .5s var(--ease-out); }
.proof__list [aria-selected="true"] { color: var(--ink); }
.proof__list [aria-selected="true"] span { max-height: 6em; opacity: 1; margin-top: 8px; }
.proof__list i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--fire); transform: scaleX(0); transform-origin: left; }
.proof__list [aria-selected="true"] i { transform: scaleX(1); transition: transform .5s var(--ease-out); }
.proof__list.is-auto [aria-selected="true"] i { transform: scaleX(0); animation: fill var(--pf-t, 7s) linear forwards; }
.proof__list.is-paused [aria-selected="true"] i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.proof__stage { grid-column: 6 / 13; position: relative; aspect-ratio: 6 / 5; border-radius: 28px; background: var(--velvet); color: var(--on-velvet); overflow: hidden; isolation: isolate; }
.proof__stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 45%, rgba(var(--lamp-rgb), .16), transparent 70%); }
.pf { position: absolute; inset: 0; display: grid; place-items: center; }
.pf.is-in { animation: pfIn .7s var(--ease-out); }
@keyframes pfIn { from { opacity: 0; transform: scale(.98); } }
.pf__cap { position: absolute; left: 0; right: 0; bottom: 26px; padding: 0 32px; text-align: center; color: var(--on-velvet-3); font-size: 14px; }

/* loupe */
.pf--loupe { cursor: none; touch-action: pan-y; }
.pf__ring { width: 84%; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.loupe { position: absolute; left: 0; top: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate3d(var(--lx, 0), var(--ly, 0), 0); will-change: transform; }
.loupe::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; background: var(--metal-silver); box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.loupe::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .28), transparent 34%), radial-gradient(circle, transparent 62%, rgba(0, 0, 0, .35)); }
.loupe__glass { position: absolute; inset: 0; border-radius: 50%; background-color: var(--velvet); background-repeat: no-repeat; }
.loupe__note { position: absolute; left: 28px; bottom: 26px; right: 28px; display: flex; align-items: center; gap: 10px; min-height: 48px; font: 400 22px/1.25 var(--font-display); font-variation-settings: 'opsz' 30; transition: opacity .3s; }
.loupe__note::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--fire); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.loupe__note.is-swap { opacity: 0; }
.no-js .loupe { display: none; }

/* scale */
.scale { position: relative; width: 62%; aspect-ratio: 1.25; }
.scale__ring { position: absolute; left: 22%; top: -4%; width: 56%; z-index: 2; }
.pf--scale.is-in .scale__ring { animation: drop 1s var(--ease-spring) .15s both; }
@keyframes drop { from { transform: translateY(-60%) rotate(-12deg); opacity: 0; } 60% { opacity: 1; } }
.scale__pan { position: absolute; left: 12%; right: 12%; top: 38%; height: 10%; border-radius: 50%; background: var(--metal-silver); box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .6); }
.scale__body { position: absolute; left: 0; right: 0; top: 47%; bottom: 0; display: grid; place-items: center; align-content: center; gap: 10px; border-radius: 22px; background: linear-gradient(var(--velvet-3), var(--velvet-2)); border: 1px solid var(--line-v); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); }
.scale__read { min-width: 60%; padding: 12px 22px; border-radius: 10px; background: rgba(0, 0, 0, .35); color: var(--fire-4); font: 400 44px/1 var(--font-body); font-variant-numeric: tabular-nums; text-align: right; letter-spacing: .02em; box-shadow: inset 0 0 0 1px var(--line-v); }
.scale__read b { font-weight: 400; }
.scale__brand { color: var(--on-velvet-3); font-size: 12px; }

/* GRA card */
.cert { position: relative; width: min(78%, 460px); padding: 26px 28px 24px; border-radius: 16px; background: var(--pearl); color: var(--ink); transform: rotate(-2deg); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .8); }
.pf--gra.is-in .cert { animation: certIn .9s var(--ease-spring); }
@keyframes certIn { from { transform: rotate(-9deg) translateY(30px) scale(.94); opacity: 0; } }
.cert__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.cert__logo { font: 600 26px/1 var(--font-display); color: var(--ink); letter-spacing: .02em; }
.cert__dl { display: grid; gap: 4px; margin-top: 14px; width: 62%; }
.cert__dl div { display: flex; justify-content: space-between; font-size: 14px; }
.cert__dl dt { color: var(--ink-3); }
.cert__dl dd { font-weight: 500; }
.cert__stone { position: absolute; right: 22px; top: 70px; width: 30%; }
.cert__check { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cert__check label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.cert__check div { display: flex; gap: 8px; }
.cert__check input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: 15px; }
.cert__check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.cert__check .btn { min-height: 46px; padding: 0 20px; }
.cert__msg { min-height: 1.4em; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.cert__msg.is-err { color: var(--error); }

/* receipt */
.slot { position: relative; width: min(72%, 400px); padding-top: 18px; }
.slot::before { content: ''; position: absolute; left: -16px; right: -16px; top: 0; height: 18px; border-radius: 9px; background: var(--velvet-3); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .55); z-index: 2; }
.receipt { position: relative; padding: 26px 26px 34px; background: var(--pearl); color: var(--ink); -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 18px 12px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 18px 12px repeat-x; }
.pf--door.is-in .receipt { animation: print 1.6s steps(14, end) both; }
@keyframes print { from { transform: translateY(-100%); } }
.receipt__h { font: 400 22px var(--font-display); font-variation-settings: 'opsz' 30; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.receipt dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; border-bottom: 1px dashed var(--line); }
.receipt dd { font-variant-numeric: tabular-nums; font-weight: 500; }
.receipt .receipt__due { border-bottom: 0; padding-top: 14px; font-size: 18px; }
.receipt__due dd { font: 400 28px/1 var(--font-display); color: var(--success); }
.receipt__f { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* refund */
.refund { display: grid; justify-items: center; text-align: center; }
.refund__n { font: 400 min(30vw, 220px)/.8 var(--font-display); font-variation-settings: 'opsz' 96; letter-spacing: -.04em; color: var(--on-velvet); }
.refund__l { margin-top: 10px; color: var(--on-velvet-2); font-size: 17px; }
.refund__card { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding: 16px 22px 16px 16px; border-radius: 18px; background: var(--pearl); color: var(--ink); text-align: left; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.pf--refund.is-in .refund__card { animation: pop .8s var(--ease-spring) .5s both; }
.refund__card svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--success); color: var(--white); fill: none; stroke: currentColor; }
.refund__card strong { display: block; font-weight: 500; }
.refund__card span { color: var(--ink-2); font-size: 14px; }
/* tracking proof: four stops, the fire line runs to "Shipped" when the panel opens */
.hroute { display: grid; justify-items: center; gap: 34px; width: min(520px, 100%); }
.hroute__line { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
.hroute__line::before, .hroute__line::after { content: ''; position: absolute; left: 12.5%; top: 6px; width: 75%; height: 2px; border-radius: 2px; }
.hroute__line::before { background: var(--line-v-strong); }
.hroute__line::after { background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .2s; }
.pf--route.is-in .hroute__line::after { transform: scaleX(.667); }
.hroute__line li { position: relative; display: grid; justify-items: center; padding-top: 30px; }
.hroute__line li::before { content: ''; position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--velvet); box-shadow: inset 0 0 0 2px var(--line-v-strong); }
.hroute__line li.is-done::before { background: var(--pearl); box-shadow: none; }
.hroute__line li.is-now::before { background: var(--white); box-shadow: 0 0 0 5px rgba(var(--lamp-rgb), .22), 0 0 22px 6px rgba(var(--lamp-rgb), .45); }
.hroute__line b { font-size: 14px; font-weight: 500; color: var(--on-velvet); }
.hroute__line li:not(.is-done):not(.is-now) b { color: var(--on-velvet-3); }
.hroute__card { margin-top: 0; }
.pf--route.is-in .hroute__card { animation: pop .8s var(--ease-spring) .9s both; }
.hroute__card svg { background: var(--ink); fill: none; }
.hroute__go { font-size: 14px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .hroute__line::after { transition: none; } }

/* ---------- 5. what do you want it to say? ---------- */
.say { position: relative; padding: var(--sec) 0; background: var(--velvet); color: var(--on-velvet); overflow: hidden; }
.say::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46vmax circle at 76% 50%, rgba(var(--lamp-rgb), .13), transparent 65%); }
.say__in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.say__side { grid-column: 1 / 7; }
.say__p { max-width: 30em; margin-top: 18px; color: var(--on-velvet-2); font-size: 17px; }
.say__tabs { display: grid; justify-items: start; margin-top: 34px; }
.say__tab { position: relative; padding: 2px 0 2px 0; font: 400 clamp(36px, 4.2vw, 62px)/1.12 var(--font-display); font-variation-settings: 'opsz' 72; letter-spacing: -.015em; text-align: left; color: rgba(var(--pearl-rgb), .24); transition: color .35s, transform .55s var(--ease-out); }
.say__tab span { position: relative; display: inline-block; }
.say__tab span::before { content: ''; position: absolute; left: -34px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--fire); opacity: 0; transform: scale(.3) rotate(-45deg); transition: opacity .35s, transform .55s var(--ease-spring); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.say__tab:hover { color: rgba(var(--pearl-rgb), .55); }
.say__tab[aria-selected="true"] { color: var(--on-velvet); transform: translateX(34px); }
.say__tab[aria-selected="true"] span::before { opacity: 1; transform: none; }
.say__tab:focus-visible { outline: 2px solid var(--pearl); outline-offset: 4px; border-radius: 6px; }
.say__stage { grid-column: 7 / 13; }
.say__card { padding: 32px 32px 30px; border-radius: 28px; background: var(--pearl); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); }
.say__card.is-on { animation: pfIn .6s var(--ease-out); }
.say__line { font: 400 30px/1.15 var(--font-display); font-variation-settings: 'opsz' 36; }
.say__picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.say__picks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.say__picks--2 .pick2__img { aspect-ratio: 4 / 3; }
.pick2 { position: relative; display: grid; align-content: start; gap: 2px; }
.pick2__img { display: block; aspect-ratio: 1; margin-bottom: 8px; border-radius: 16px; background: var(--pearl-2); overflow: hidden; }
.pick2__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-spring); }
.pick2:hover .pick2__img img { transform: translateY(-4px) scale(1.06); }
.pick2__name { font-size: 14px; font-weight: 450; line-height: 1.3; }
.pick2__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.pick2__price { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pick2 .add.add--sm { position: absolute; top: 8px; right: 8px; bottom: auto; width: 40px; height: 40px; min-width: 40px; }
.pick2 .add::before { content: ''; position: absolute; inset: -4px; }
.say__body { max-width: 34em; margin-top: 20px; color: var(--ink-2); font-size: 16px; }
.say__card .btn { margin-top: 22px; }

/* ---------- 6. gifts ---------- */
.gifts { padding: var(--sec) 0 104px; background: var(--blush); }
.gifts__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px 48px; margin-bottom: 40px; }
.gifts__note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.gifts__note svg { width: 14px; height: 14px; color: var(--ink); }
.gifts__filters { display: grid; gap: 10px; justify-items: end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--quiet .chip { min-height: 40px; border-color: transparent; color: var(--ink-2); }
.chips--quiet .chip:hover { border-color: var(--line-strong); }
.chips--quiet .chip[aria-pressed="true"] { background: rgba(var(--ink-rgb), .08); color: var(--ink); border-color: transparent; }
.gifts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }
.gifts .tile__media { aspect-ratio: 1; background: rgba(var(--pearl-rgb), .7); }
.gifts .tile__piece { left: 9%; top: 3%; width: 82%; }
.gifts .tile__shadow { top: 83%; }
.gifts .tile.is-out { display: none; }
.gifts__empty { padding: 40px var(--gutter); color: var(--ink-2); }

/* ---------- 6. worn ---------- */
.worn { padding: var(--sec) 0; background: var(--pearl); }
.worn__head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 16px 64px; margin-bottom: 40px; }
.worn__head p { max-width: 30em; color: var(--ink-2); font-size: 16px; justify-self: end; }
.worn__row { display: flex; gap: 16px; overflow-x: auto; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.worn__row::-webkit-scrollbar { display: none; }
.worn__row.is-drag { scroll-snap-type: none; cursor: grabbing; }
.shot { position: relative; flex: none; width: clamp(240px, 22vw, 320px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: visible; scroll-snap-align: start; }
.shot > img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; user-select: none; -webkit-user-drag: none; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; border-radius: 50%; }
.spot span { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--white); box-shadow: 0 0 14px rgba(var(--lamp-rgb), .9), inset 0 0 10px rgba(255, 255, 255, .35); transition: transform .3s var(--ease-spring); }
.spot::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); animation: ping 2.4s var(--ease-out) infinite; }
.spot:hover span, .spot[aria-expanded="true"] span { transform: scale(1.25); }
@keyframes ping { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.spotcard { position: absolute; z-index: 5; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 16px; background: rgba(var(--pearl-rgb), .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-overlay); animation: pop .4s var(--ease-out); }
.spotcard img { width: 56px; height: 56px; border-radius: 10px; background: var(--pearl-2); object-fit: contain; }
.spotcard a { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.spotcard p { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.add--sm { position: static; height: 44px; width: 44px; padding: 0; justify-content: center; }


/* ---------- footer ---------- */
.ftr { background: var(--velvet-2); color: var(--on-velvet); padding: 88px 0 32px; }
.ftr__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ftr__news { grid-column: 1 / 6; }
.ftr__news h2 { font: 400 40px/1 var(--font-display); font-variation-settings: 'opsz' 60; }
.ftr__news > p { margin: 12px 0 22px; color: var(--on-velvet-2); }
.ftr__news div { display: flex; gap: 8px; max-width: 460px; }
.ftr__news input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-v-strong); background: transparent; color: var(--on-velvet); }
.ftr__news input::placeholder { color: var(--on-velvet-3); }
.ftr__news input:focus-visible { outline: 2px solid var(--pearl); outline-offset: 1px; }
.ftr__msg { min-height: 1.5em; margin-top: 10px; color: var(--fire-4); font-size: 14px; }
.ftr__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ftr__fine { margin-top: 12px; color: var(--on-velvet-3); font-size: 13px; }
.ftr__fine a { color: var(--on-velvet-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ftr__fine a:hover { color: var(--on-velvet); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__legal a { color: inherit; }
.ftr__legal a:hover { color: var(--on-velvet); }
.ftr__legal button { padding: 0; color: inherit; font: inherit; cursor: pointer; }
.ftr__legal button:hover { color: var(--on-velvet); }

/* ================= analytics consent bar (js/consent.js, views.consent) =================
   A velvet card at the foot, like the product page's sticky bar; Accept and Decline weigh the same. */
.consent { position: fixed; z-index: 56; left: 24px; bottom: 24px; width: 440px; padding: 20px 20px 18px 22px; border-radius: 20px; background: rgba(var(--velvet-rgb), .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--on-velvet-2); box-shadow: var(--shadow-overlay); outline: 1px solid var(--line-v); animation: consentIn .55s var(--ease-out); }
.consent[hidden] { display: none; }
.consent.is-out { animation: consentOut .3s var(--ease-in) forwards; }
.consent__t { font-size: 14px; line-height: 1.55; }
.consent__t b { display: block; margin-bottom: 4px; color: var(--on-velvet); font: 400 19px/1.25 var(--font-display); }
.consent__t a { color: var(--on-velvet); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent__b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent__b .btn { min-height: 46px; padding: 0 18px; border-color: var(--line-v-strong); color: var(--on-velvet); }
.consent__b .btn:hover { border-color: var(--on-velvet); background: rgba(var(--pearl-rgb), .06); }
.consent__b .btn:focus-visible { outline: 2px solid var(--on-velvet); outline-offset: 2px; }
@keyframes consentIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes consentOut { to { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .consent, .consent.is-out { animation-duration: .01s; } }

/* ================= search panel (js/search.js) =================
   Desktop: drops from the top over a dimmed page; phones: full screen (teardown S1 4/7, S2 7/7). */
.srch { position: fixed; z-index: 66; top: 0; left: 0; right: 0; max-height: 100svh; overflow-y: auto; overscroll-behavior: contain; background: var(--pearl); color: var(--ink); box-shadow: var(--shadow-overlay); animation: srchIn .45s var(--ease-out); }
.srch__scrim { z-index: 65; }
@keyframes srchIn { from { opacity: 0; transform: translateY(-24px); } }
.srch__bar { position: sticky; top: 0; z-index: 1; background: var(--pearl); border-bottom: 1px solid var(--line); }
.srch__field { display: flex; align-items: center; gap: 16px; height: calc(var(--bar-h) + var(--hdr-h)); }
.srch__ico { flex: none; width: 22px; height: 22px; color: var(--ink-2); }
.srch__field input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; color: var(--ink); font: 400 30px/1 var(--font-display); font-variation-settings: 'opsz' 48; letter-spacing: -.01em; outline: 0; }
.srch__field input::placeholder { color: var(--ink-3); }
.srch__field input::-webkit-search-cancel-button { display: none; }
.srch__clear { padding: 10px 6px; color: var(--ink-2); font-size: 14px; }
.srch__clear:hover { color: var(--ink); }
.srch__x { flex: none; }
.srch__x:hover { background: var(--pearl-2); }
.srch__body { padding-top: 30px; padding-bottom: 44px; }
.srch__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.srch__side { grid-column: 1 / 4; }
.srch__main { grid-column: 4 / 13; }
.srch__h { margin-bottom: 14px; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.srch__links a { display: inline-block; padding: 6px 0; font-size: 17px; transition: color .2s; }
.srch__links a:hover { color: var(--ink-2); }
.srch__all { margin-top: 24px; }
.srch__none { margin-bottom: 4px; font: 400 28px/1.15 var(--font-display); font-variation-settings: 'opsz' 48; }
.srch__tip { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.srch__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scard { display: block; }
.scard__img { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; background: var(--pearl-2); overflow: hidden; }
.scard__img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 42%, rgba(var(--pearl-rgb), .9), transparent 70%); }
.scard__img img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease-spring); }
.scard:hover .scard__img img { transform: translateY(-4px) scale(1.04); }
.scard__n { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.35; }
.scard__m { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; line-height: 1.35; }
.scard__p { display: block; margin-top: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.scard:focus-visible, .srch__links a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
@media (max-width: 767px) {
  .srch { bottom: 0; box-shadow: none; animation-name: fade; }
  .srch__field { height: 64px; gap: 10px; }
  .srch__field input { font-size: 22px; }
  .srch__body { padding-top: 22px; }
  .srch__cols { display: block; }
  .srch__side { margin-bottom: 28px; }
  .srch__links { display: flex; flex-wrap: wrap; gap: 8px; }
  .srch__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; }
  .srch__all { display: flex; width: 100%; }
  .srch__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) { .srch { animation: none; } }
.ftr__cols { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ftr__cols h3 { margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--on-velvet-3); }
.ftr__cols a { display: block; padding: 5px 0; color: var(--on-velvet-2); font-size: 15px; transition: color .2s; }
.ftr__cols a:hover { color: var(--on-velvet); }
.ftr__base { display: flex; align-items: center; gap: 32px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-v); color: var(--on-velvet-3); font-size: 14px; }
.ftr__base p:last-child { margin-left: auto; }
.logo--sm { color: var(--on-velvet); }
.logo--sm .logo__svg { height: 22px; }

/* ---------- bag, size sheet, toast, menu ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(var(--velvet-rgb), .5); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.bag { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--pearl); box-shadow: var(--shadow-overlay); animation: slideIn .5s var(--ease-out); }
.bag.is-closing { animation: slideOut .35s var(--ease-in) forwards; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
.bag__grab { display: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px 28px; }
.bag__head h2 { font: 400 30px var(--font-display); font-variation-settings: 'opsz' 48; }
.meter { margin: 0 28px; padding: 16px 18px; border-radius: 16px; background: var(--white); }
.meter__t { font-size: 14px; margin-bottom: 10px; }
.meter__t b { font-weight: 600; }
.meter__bar { position: relative; display: block; height: 6px; border-radius: 6px; background: var(--pearl-3); overflow: hidden; }
.meter__bar > span { position: absolute; inset: 0 auto 0 0; width: calc(var(--m, 0) * 100%); border-radius: 6px; background: var(--fire); transition: width .9s var(--ease-out); }
/* the bag's shipping line: the store's promise until the bag knows the country, then a bar to that country's free
   shipping (site.js renderShip; owner 2026-10-31: free from each zone's threshold) */
.meter--free { display: flex; align-items: center; gap: 12px; }
.meter--free > svg { flex: none; width: 22px; height: 22px; }
.meter__b { flex: 1; min-width: 0; }
.meter--free .meter__t { margin: 0; line-height: 1.45; color: var(--ink-2); }
.meter--free .meter__t b { color: var(--ink); font-weight: 500; }
.meter--free .meter__bar { margin-top: 8px; height: 4px; }
.bag__ship { margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.bag__ship b { font-weight: 500; color: var(--ink); }
.bag__items { flex: 0 1 auto; overflow-y: auto; padding: 8px 28px; }
.bag__foot { margin-top: auto; }
.bag__items li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: pop .4s var(--ease-out); }
.bag__items img { width: 76px; height: 76px; border-radius: 12px; background: var(--pearl-2); object-fit: contain; }
.bag__items .n { font-size: 15px; font-weight: 500; line-height: 1.3; }
.bag__items .m { font-size: 13px; color: var(--ink-3); }
.bag__items .p { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.bag__empty { padding: 32px 28px; color: var(--ink-2); }
.bag__more { padding: 16px 28px 8px; }
.bag__more h3 { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 10px; }
.bag__minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini { position: relative; display: grid; gap: 4px; font-size: 13px; }
.mini img { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--pearl-2); object-fit: contain; }
.mini b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mini__img { position: relative; display: block; }
.mini .add { right: 6px; bottom: 6px; height: 36px; min-width: 36px; padding: 0; justify-content: center; }
.mini .add::before { content: ''; position: absolute; inset: -4px; }
.mini .add svg { width: 16px; height: 16px; }
.bag__foot { padding: 18px 28px 24px; border-top: 1px solid var(--line); background: var(--pearl); }
.bag__sub { display: flex; justify-content: space-between; font-size: 17px; }
.bag__sub b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bag__fine { margin: 4px 0 14px; font-size: 13px; color: var(--ink-3); }
/* one-tap wallets under Checkout (js/pay.js): the device's own wallet on a full row, PayPal and Pay Later beside each other */
.bag__or { position: relative; margin: 12px 0 10px; text-align: center; font-size: 12px; color: var(--ink-3); }
.bag__or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.bag__or span { position: relative; padding: 0 10px; background: var(--pearl); }
.bag__xp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bag__xp-btn { flex: 1 0 100%; min-width: 0; height: 44px; border-radius: 999px; }
.bag__xp-btn > div { display: block !important; height: 100%; }   /* PayPal's and Google's inline-block wrappers */
.bag__xp-row > :not([hidden]) ~ :not([hidden]) { flex: 1 1 0; }
.bag__xp-btn--pp { min-width: 150px; }
.bag__xp-btn > * { width: 100%; }
.apay { display: block; width: 100%; height: 44px; border-radius: 999px; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; cursor: pointer; }
.bag__xp-err { margin-top: 8px; font-size: 13px; color: var(--error); }
.bag__paylater { margin-top: 10px; min-height: 18px; }

.sheet { position: fixed; z-index: 62; width: 300px; padding: 16px; border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-overlay); animation: pop .35s var(--ease-out); }
.sheet__h { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.sheet__row { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet__row .chip { min-width: 48px; padding: 0 12px; }
.sheet__guide { display: inline-block; margin-top: 12px; font-size: 13px; }

.toast { position: fixed; z-index: 55; right: 24px; top: calc(var(--hdr-h) + 12px); width: 360px; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--pearl); color: var(--ink); box-shadow: var(--shadow-overlay); animation: toastIn .5s var(--ease-spring); }
.toast.is-out { animation: toastOut .3s var(--ease-in) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }
.toast img { width: 56px; height: 56px; border-radius: 12px; background: var(--pearl-2); object-fit: contain; }
.toast p { font-size: 14px; font-weight: 500; }
.toast .toast__s { margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.toast .link { font-size: 13px; }

.menu { position: fixed; z-index: 70; inset: 0; overflow-y: auto; padding: 0 16px 32px; background: var(--velvet); color: var(--on-velvet); animation: fade .3s; }
.menu__head { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.menu__cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.menu__cats a { display: grid; justify-items: center; gap: 4px; padding: 10px 10px 14px; border-radius: 18px; background: var(--velvet-2); font: 400 20px var(--font-display); }
.menu__cats img { width: 72%; aspect-ratio: 1; object-fit: contain; }
.menu__cats li { animation: pop .5s var(--ease-out) both; }
.menu__cats li:nth-child(2) { animation-delay: .04s; } .menu__cats li:nth-child(3) { animation-delay: .08s; } .menu__cats li:nth-child(4) { animation-delay: .12s; } .menu__cats li:nth-child(5) { animation-delay: .16s; } .menu__cats li:nth-child(6) { animation-delay: .2s; }
.menu__links { display: grid; margin-top: 24px; border-top: 1px solid var(--line-v); }
.menu__links a { padding: 14px 4px; border-bottom: 1px solid var(--line-v); font-size: 17px; }

/* ---------- dropdowns (js/select.js) ----------
   Closed, a <select> is styled where it sits (.sort on the shop pages, .fld at checkout). Open on a mouse or trackpad,
   the list is this one instead of the operating system's; phones keep their own picker. */
select { color-scheme: light; }
select option, select optgroup { background: var(--white); color: var(--ink); }   /* the native list, where the OS lets us */
select[data-xsel-open] { border-color: var(--ink); }
.xsel { position: fixed; z-index: 80; top: -9999px; left: 0; min-width: 180px; max-width: min(420px, calc(100vw - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 16px; background: var(--white); color: var(--ink-2); font: 400 15px/1.3 var(--font-body); box-shadow: var(--shadow-overlay); outline: 1px solid var(--line); transform-origin: 50% 0; animation: xselIn .22s var(--ease-out); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.xsel.is-up { transform-origin: 50% 100%; animation-name: xselUp; }
.xsel__grp { margin: 6px 0 0; padding: 12px 12px 6px; border-top: 1px solid var(--line); color: var(--ink-3); font: 500 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.xsel__grp:first-child { margin-top: 0; border-top: 0; }
.xsel__opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; padding: 8px 12px; border-radius: 10px; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.xsel__opt svg { flex: none; width: 16px; height: 16px; color: var(--ink); opacity: 0; }
.xsel__opt.is-act { background: var(--pearl-2); color: var(--ink); }
.xsel__opt[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.xsel__opt[aria-selected="true"] svg { opacity: 1; }
.xsel__opt--ph { color: var(--ink-3); }
.xsel__opt[aria-disabled="true"] { opacity: .4; cursor: default; }
@keyframes xselIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes xselUp { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .xsel { animation: none; } }

/* fly-to-bag + sparks */
.fly { position: fixed; z-index: 80; left: 0; top: 0; pointer-events: none; }
.fly img { width: 100%; height: 100%; object-fit: contain; }
.spark { position: fixed; z-index: 81; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none; }
.spark svg { width: 100%; height: 100%; }

/* ---------- scroll: smooth wheel, reveals, the word band, sections that open up, progress ---------- */
html.is-smooth { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

.rv { transition: opacity .9s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s), clip-path 1.2s var(--ease-out) var(--rd, 0s); }
.rv--up:not(.is-in) { opacity: 0; transform: translateY(46px); }
.rv:not(.is-in) { pointer-events: none; }
/* the clip goes on the photo, not the observed box: a fully clipped box never counts as on screen */
.rv--clip > img { clip-path: inset(0 0 0 0 round 18px); transition: clip-path 1.2s var(--ease-out) var(--rd, 0s), transform 1.6s var(--ease-out) var(--rd, 0s); }
.rv--clip:not(.is-in) > img { clip-path: inset(100% 0 0 0 round 18px); transform: scale(1.25); }
.rv--clip > .spot { transition: opacity .6s calc(var(--rd, 0s) + .6s); }
.rv--clip:not(.is-in) > .spot { opacity: 0; }
.rv--zoom:not(.is-in) { opacity: 0; transform: scale(.9) translateY(30px); }

.hdr__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--fire); transform: scaleX(0); transform-origin: left; pointer-events: none; opacity: .9; }

[data-expand] { clip-path: inset(calc(var(--ex, 0) * 2.4vw) calc(var(--ex, 0) * 3.2vw) 0 round calc(var(--ex, 0) * 40px)); }

.velo { overflow: hidden; padding: 30px 0 34px; background: var(--pearl); color: var(--ink); border-top: 1px solid var(--line); }
.velo__track { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; margin: 0; padding-left: 44px; font: 400 clamp(46px, 7vw, 108px)/1 var(--font-display); font-variation-settings: 'opsz' 96; letter-spacing: -.02em; will-change: transform; }
.velo__track span:nth-child(4n + 3) { color: var(--ink-2); }
.velo__track i { flex: none; width: .42em; height: .42em; background: var(--fire); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.3 5.7 11.4 12 12-6.3.6-11.4 5.7-12 12-.6-6.3-5.7-11.4-12-12C6.3 11.4 11.4 6.3 12 0z'/%3E%3C/svg%3E") center / contain no-repeat; }

.stage__h { will-change: transform; }
a.stage__name:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* breadcrumbs (shop pages) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-2); }
.crumbs__sep { opacity: .5; }

/* Small controls get a 44px tall hit area that moves nothing (DESIGN §9: 44 × 44 targets; ui-qa 10-29 #31):
   breadcrumbs, "Find her size", the footer's and checkout's small links, "Edit bag", Piece / On hand, carat ticks,
   the bag's quantity buttons. */
.crumbs a, .opt__h .link, .ftr__fine a, .ftr__legal a, .sheet__guide, .sum__edit, .co-ftr a, .seg button, .qty button { position: relative; }
.crumbs a::after, .opt__h .link::after, .ftr__fine a::after, .ftr__legal a::after, .sheet__guide::after, .sum__edit::after, .co-ftr a::after,
.seg button::after, .carat__tick::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
.qty button::after { content: ''; position: absolute; inset: -4px; }

/* ---------- desktop: no sideways scrolling to discover ---------- */
.worn__foot { display: none; }
@media (min-width: 1024px) {
  /* Most loved and related pieces: everything visible at once, four to a row */
  .loved .rail, .rel .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 40px 16px; overflow: visible; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); scroll-snap-type: none; }
  .loved .arrow, .rel .arrow, .loved__foot .railbar, .rel__foot { display: none; }
  .loved__foot { justify-content: center; margin-top: 44px; }
  .rel .rail > .tile:nth-child(n + 5) { display: none; }

  /* On real hands: the section holds still while scrolling slides the photos across */
  .worn.is-pinned { padding: 0; height: var(--worn-h, auto); }
  .worn.is-pinned .worn__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--hdr-h); }
  .worn.is-pinned .worn__head { width: 100%; margin-bottom: 32px; }
  .worn.is-pinned .worn__row { width: max-content; overflow: visible; scroll-snap-type: none; padding-bottom: 0; will-change: transform; }
  .worn.is-pinned .shot { width: calc(min(52vh, 500px) * .8); transform: scale(var(--sc, 1)); }
  .worn.is-pinned .worn__foot { display: flex; align-items: center; gap: 22px; width: 100%; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
  .worn__count { font-variant-numeric: tabular-nums; min-width: 4ch; }
  .worn__count b { color: var(--ink); font-weight: 600; }
  .worn__bar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .worn__bar span { position: absolute; inset: 0; background: var(--fire); transform: scaleX(var(--p, 0)); transform-origin: left; }
  .worn__hint { transition: opacity .4s; }
  .worn.is-end .worn__hint { opacity: 0; }

  /* reduced motion on desktop: a plain grid instead */
  .worn.is-grid .worn__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
  .worn.is-grid .shot { width: auto; }
}

/* ---------- tablet ---------- */
@media (max-width: 1199px) {
  .nav { gap: 20px; font-size: 14px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 24px; --sec: 96px; }
  .nav { display: none; }
  .hdr__menu { display: inline-grid; justify-self: start; }
  .hdr__in { grid-template-columns: 1fr auto 1fr; }
  .logo { justify-self: center; }
  .hdr__in > .logo { grid-column: 2; }
  .hdr__acct { display: none; }
  .stage__in { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; row-gap: 16px; padding-bottom: 80px; }
  .stage__h { grid-column: 1; grid-row: 1; margin-top: 24px; font-size: 13vw; }
  .stage__piece { grid-column: 1; grid-row: 2; width: min(520px, 76vw); margin-top: -9vw; }
  .stage__buy { grid-column: 1; grid-row: 3; }
  .stage__picks { grid-column: 1; grid-row: 4; flex-direction: row; justify-self: center; margin: 0; }
  .stage__copy { display: none; }
  .stage__hint { top: auto; bottom: -4px; }
  .loved__head { grid-template-columns: 1fr auto; }
  .tabs { grid-column: 1 / -1; grid-row: 2; }
  .loved__tools { grid-column: 2; grid-row: 1; }
  .rail { grid-auto-columns: calc((100vw - 2 * var(--gutter) - 16px) / 2.3); }
  .carat__copy, .carat__fig { grid-column: 1 / -1; }
  .carat__fig { margin-top: 40px; }
  .vs { grid-template-columns: 1fr; }
  .proof__side { grid-column: 1 / -1; position: static; }
  .proof__stage { grid-column: 1 / -1; }
  .proof__stage { margin-top: 32px; }
  .say__side, .say__stage { grid-column: 1 / -1; }
  .say__stage { margin-top: 36px; }
  .gifts__head { grid-template-columns: 1fr; }
  .gifts__filters { justify-items: start; }
  .gifts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .worn__head { grid-template-columns: 1fr; }
  .worn__head p { justify-self: start; }
  .ftr__news, .ftr__cols { grid-column: 1 / -1; }
  .ftr__cols { margin-top: 48px; }
}

/* ---------- phone (primary) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --hdr-h: 56px; --bar-h: 32px; --sec: 72px; }
  .bar { font-size: 12px; }
  .bar__more { display: none; }
  .logo__svg { height: 24px; }
  .hdr__icon { width: 44px; height: 44px; }

  .stage__in { min-height: calc(100svh - var(--bar-h)); grid-template-rows: auto 1fr auto auto; row-gap: 0; padding-top: calc(var(--hdr-h) + 14px); padding-bottom: 60px; }
  .stage__h { margin-top: 4px; font-size: 15.4vw; line-height: .92; }
  .stage__piece { width: min(92vw, calc(100svh - 430px), 420px); min-width: 250px; margin-top: -11vw; align-self: center; }
  .stage__hint { font-size: 12px; }
  .stage__buy { width: 100%; grid-template-columns: 1fr auto; gap: 12px 16px; margin-top: 18px; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stage__info { display: contents; }
  .stage__name { grid-column: 1 / -1; font-size: 21px; white-space: normal; text-wrap: balance; }
  .stage__mat { grid-column: 1; grid-row: 2; align-self: center; }
  .stage__price { grid-column: 2; grid-row: 2; }
  .stage__buy { row-gap: 6px; }
  .stage__add { margin-top: 8px; }
  .stage__price { font-size: 30px; }
  .stage__add { grid-column: 1 / -1; width: 100%; }
  .stage__picks { gap: 16px; margin-top: 14px; }
  .pick { font-size: 11px; padding: 0; }
  .pick__img { width: 48px; height: 48px; }
  .ticker { justify-content: flex-start; gap: 36px; height: 46px; font-size: 13px; overflow: hidden; padding-left: 16px; }
  .ticker.is-marquee { animation: marq 26s linear infinite; width: max-content; padding-left: 16px; }
  @keyframes marq { to { transform: translateX(-50%); } }

  .velo { padding: 18px 0 22px; }
  .velo__track { gap: 24px; padding-left: 24px; font-size: 44px; }
  [data-expand] { clip-path: inset(calc(var(--ex, 0) * 3vw) calc(var(--ex, 0) * 3vw) 0 round calc(var(--ex, 0) * 26px)); }
  .loved { padding: 64px 0 56px; }
  .loved__head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
  .loved__tools { grid-column: 1; grid-row: 2; }
  .tabs { grid-row: 3; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .tab { font-size: 15px; white-space: nowrap; }
  .loved__tools .arrow { display: none; }
  .seg { margin: 0; }
  .rail { grid-auto-columns: 74%; gap: 12px; scroll-snap-type: x mandatory; padding-inline: 13%; scroll-padding-inline: 13%; padding-block: 12px 4px; }
  .rail > .tile { scroll-snap-align: center; transform: scale(var(--cf-s, 1)); opacity: var(--cf-o, 1); transition: transform .12s linear, opacity .12s linear; }
  .tile__media { border-radius: 20px; }
  .tile__info { text-align: center; }
  .tile__price { justify-content: center; }
  .add { right: 12px; bottom: 12px; height: 48px; min-width: 48px; padding: 0 14px; }
  .loved__foot { flex-direction: column; align-items: stretch; gap: 22px; text-align: center; }
  .loved__foot .link { align-self: center; }
  .railbar { flex: none; width: 100%; }

  .carat { padding: 64px 0 64px; }
  .carat__p { font-size: 16px; }
  .carat__read { gap: 24px; margin-top: 28px; }
  .carat__ct { font-size: 76px; }
  .carat__ct small { font-size: 20px; }
  .carat__dl { gap: 22px; }
  .carat__dl dd { font-size: 19px; }
  .carat__fig { order: -1; margin: 28px auto 0; width: 86%; }
  .carat__in { display: flex; flex-direction: column; align-items: stretch; }
  .carat__copy { display: contents; }
  .carat__copy > .h2 { order: -3; }
  .carat__p { order: -2; }
  .carat__read, .carat__slider, .carat__buy { order: 0; }
  .carat__buy { flex-direction: column; align-items: stretch; text-align: left; }
  .vs { margin-top: 48px; padding-top: 28px; gap: 28px; }
  .vs__row dt { font-size: 22px; }

  .proof { padding: 64px 0; }
  .proof__p { font-size: 16px; }
  .proof__stage { aspect-ratio: 1 / 1.08; border-radius: 22px; margin-top: 24px; }
  .proof__in { display: flex; flex-direction: column; align-items: stretch; }
  .proof__side { display: contents; }
  .proof__side > .h2 { order: -3; }
  .proof__p { order: -2; }
  .proof__stage { order: -1; }
  .proof__list { margin-top: 18px; }
  .proof__list strong { font-size: 22px; }
  .proof__list button { padding: 16px 0; }
  .loupe { width: 44%; }
  .loupe__note { left: 18px; right: 18px; bottom: 16px; font-size: 18px; }
  .scale { width: 74%; }
  .scale__read { font-size: 34px; }
  .cert { width: 88%; padding: 20px 18px 18px; }
  .cert__stone { right: 14px; top: 62px; }
  .slot { width: 84%; }
  .receipt { padding: 20px 18px 28px; }
  .receipt dl div { font-size: 14px; }
  .refund__n { font-size: 150px; }

  .hand { border-radius: 20px; }
  .hand__mm { font-size: 12px; padding: 4px 8px; left: calc(var(--sx) + var(--sw) * .55 + 12px); }
  .hand__mm::before { width: 9px; }
  .say { padding: 64px 0; }
  .say__p { font-size: 16px; }
  .say__tabs { display: flex; gap: 22px; margin: 22px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .say__tabs::-webkit-scrollbar { display: none; }
  .say__tab { flex: none; font-size: 30px; scroll-snap-align: start; padding-bottom: 8px; }
  .say__tab[aria-selected="true"] { transform: none; }
  .say__tab span::before { left: 0; right: 0; top: auto; bottom: -8px; width: auto; height: 2px; margin: 0; border-radius: 2px; -webkit-mask: none; mask: none; transform: scaleX(0); transform-origin: left; }
  .say__tab[aria-selected="true"] span::before { transform: none; }
  .say__stage { margin-top: 20px; }
  .say__card { padding: 22px 16px 20px; border-radius: 22px; }
  .say__line { font-size: 24px; }
  /* the picks as rows: three 103px cards wrapped names onto three lines under a 36px + (ui-qa 10-29 #5) */
  .say__picks, .say__picks--2 { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px; }
  .pick2 { grid-template-columns: 72px minmax(0, 1fr) 44px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
  .pick2:first-child { border-top: 0; }
  .pick2__img, .say__picks--2 .pick2__img { grid-row: 1 / 3; width: 72px; aspect-ratio: 1; margin: 0; border-radius: 14px; }
  .pick2__name { grid-column: 2; align-self: end; font-size: 15px; }
  .pick2__price { grid-column: 2; grid-row: 2; align-self: start; }
  .pick2 .add.add--sm { position: static; grid-column: 3; grid-row: 1 / 3; width: 44px; height: 44px; min-width: 44px; }
  .say__body { font-size: 15px; }
  .say__card .btn { width: 100%; }

  .gifts { padding: 64px 0 72px; }
  .gifts__head { margin-bottom: 24px; gap: 18px; }
  .gifts__note { font-size: 15px; }
  .gifts__filters { width: 100%; justify-items: stretch; min-width: 0; }
  .chips { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips .chip { flex: none; }
  .gifts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .gifts .tile__on { display: none; }
  .gifts .tile__info { padding-top: 10px; }
  .gifts .tile__name { font-size: 14px; }
  .gifts .add { right: 8px; bottom: 8px; height: 44px; min-width: 44px; padding: 0 12px; }

  .worn { padding: 64px 0; }
  .worn__head { margin-bottom: 22px; }
  .worn__head p { font-size: 15px; }
  .shot { width: 72vw; }


  .ftr { padding: 56px 0 28px; }
  .ftr__news h2 { font-size: 32px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__cols div:last-child { grid-column: 1 / -1; }
  .ftr__base { flex-wrap: wrap; gap: 12px 20px; margin-top: 48px; }
  .ftr__base p:last-child { margin-left: 0; }

  .bag { top: auto; left: 0; width: 100%; max-height: 88svh; border-radius: 24px 24px 0 0; animation-name: sheetIn; }
  .bag.is-closing { animation-name: sheetOut; }
  @keyframes sheetIn { from { transform: translateY(100%); } }
  @keyframes sheetOut { to { transform: translateY(100%); } }
  .bag__grab { display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: var(--pearl-3); }
  .bag__head { padding: 8px 8px 6px 20px; }
  .meter { margin: 0 16px; }
  .meter--free { padding: 12px 14px; }
  .meter--free .meter__t { font-size: 13px; }
  .bag__items, .bag__more, .bag__foot { padding-inline: 16px; }
  .bag__foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .sheet { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; border-radius: 22px 22px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); animation-name: sheetIn; }
  .sheet__row .chip { flex: 1; }
  .toast { left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; animation-name: toastUp; }
  .consent { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; padding: 16px 16px 14px; }
  .consent__t { font-size: 13px; }
  .consent__t b { font-size: 17px; }
  .consent__b { margin-top: 12px; }
  @keyframes toastUp { from { opacity: 0; transform: translateY(20px) scale(.97); } }
}

@media (hover: none) {
  .pf--loupe { cursor: default; }
  .stage__hint .hint-d { display: none; }
  .stage__hint .hint-m { display: inline; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ticker.is-marquee { animation: none; }
}

/* ================= owner preview (html.pv, set by ?pv=1 in the boot script) =================
   New layouts ship hidden: .pv-only shows only with the switch on, and .pv rules change existing parts. Every visitor
   gets the same HTML and CSS, so caching is untouched. Delete the switch once the owner has approved a layout. */
html:not(.pv) .pv-only { display: none !important; }
html:not(.pv-2) .pv2-only { display: none !important; }
