/* Shomizino / Version B: gpt-taste
   <design_plan>
   RNG (seed = prompt length 498 % n):
     hero = choice([cinematic_center, artistic_asymmetry, editorial_split]) -> cinematic_center
     components = sample([inline_type_images, horizontal_accordion, marquee, testimonial_carousel], 3) -> inline_type_images, marquee, horizontal_accordion
     gsap = sample([pin_split, image_scale_fade, scrub_text, card_stack], 2) -> pin_split, card_stack (+ scrub_text on the manifesto)
     type = Reem Kufi (Persian geometric display, stands in for Satoshi/Cabinet which have no Persian glyphs) + Vazirmatn
   AIDA: floating pill nav / cinematic hero / bento (grid-flow dense, 4x3 = 12 units, 6 cells) / pinned picks + stacked looks / huge CTA + footer
   Hero H1: max-width 64rem, clamp(2.4rem, 5.4vw, 5rem), 2 lines on desktop. No stamps, no tags, no stats.
   </design_plan>
   Single deliberate theme: midnight navy club room with a tan leather accent.
   Shape rule: buttons pill, cards/media 22px, inputs 14px. */

:root {
  color-scheme: dark;
  --bg: #0c1220;
  --bg-2: #121a2c;
  --bg-3: #1a2440;
  --fg: #eee9e0;
  --fg-2: #aab0bd;
  --fg-3: #7c8496;
  --line: rgba(238, 233, 224, .14);
  --tan: #cdb08a;
  --on-tan: #121827;
  --glass: rgba(18, 26, 44, .62);
  --err: #f2a59b;
  --ok: #b9d3b0;

  --f-display: "Reem Kufi", "Vazirmatn", system-ui, sans-serif;
  --f-body: "Vazirmatn", system-ui, -apple-system, Tahoma, sans-serif;
  --f-latin: "Italiana", "Didot", serif;
  --r-card: 22px; --r-in: 14px;
  --gut: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
  --max: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.9 var(--f-body); -webkit-font-smoothing: antialiased; }
main { overflow-x: hidden; width: 100%; max-width: 100%; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.latin { font-family: var(--f-latin); direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--fg-2); }
.small { font-size: .875rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.chapter { padding-block: clamp(96px, 14vw, 192px); }
.stack { display: grid; gap: 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 54px; padding: 0 1.9rem; border-radius: 999px;
  background: var(--tan); color: var(--on-tan); font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease), background .3s, color .3s; }
.btn:hover { background: var(--fg); }
.btn:active { transform: scale(.97); }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(238, 233, 224, .4); }
.btn--line:hover { background: var(--fg); color: var(--on-tan); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; }
.link-u { color: var(--tan); border-bottom: 1px solid rgba(205, 176, 138, .4); padding-bottom: 1px; transition: border-color .3s; }
.link-u:hover { border-color: var(--tan); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: rgba(238, 233, 224, .08); }
.count { position: absolute; top: 4px; inset-inline-start: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--tan); color: var(--on-tan); font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; padding: 0 4px; }
.count:empty { display: none; }

/* floating pill nav */
.pill-nav { position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 50%; transform: translateX(-50%); width: min(1100px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 8px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 50px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); }
.pill-nav .logo { display: flex; align-items: baseline; gap: 10px; padding-inline: 12px; }
.pill-nav .logo b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; }
.pill-nav .logo span { font-family: var(--f-latin); font-size: .95rem; letter-spacing: .14em; color: var(--tan); display: none; }
.pill-links { display: none; gap: 2px; }
.pill-links a { padding: 8px 16px; border-radius: 999px; font-size: .92rem; color: var(--fg-2); transition: color .2s, background .2s; }
.pill-links a:hover, .pill-links a[aria-current="page"] { color: var(--fg); background: rgba(238, 233, 224, .08); }
.pill-end { display: flex; align-items: center; }
.pill-end .hide-sm { display: none; }
@media (min-width: 960px) { .pill-links { display: flex; } .menu-btn { display: none !important; } .pill-nav .logo span { display: inline; } .pill-end .hide-sm { display: inline-grid; } }
@media (prefers-reduced-transparency: reduce) { .pill-nav { background: var(--bg-2); backdrop-filter: none; } }
.page-pad { padding-top: calc(env(safe-area-inset-top, 0px) + 96px); }

/* layers */
.layer { position: fixed; inset: 0; z-index: 80; }
.layer .scrim { position: absolute; inset: 0; background: rgba(5, 8, 15, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.layer.open .scrim { opacity: 1; }
.panel { position: absolute; background: var(--bg-2); display: flex; flex-direction: column; transition: transform .5s var(--ease), opacity .3s; border: 1px solid var(--line); }
.panel--end { top: 10px; bottom: 10px; inset-inline-end: 10px; width: min(440px, calc(100% - 20px)); border-radius: var(--r-card); transform: translateX(-110%); }
.panel--full { inset: 0; border: 0; border-radius: 0; background: var(--bg); opacity: 0; transform: scale(1.02); }
.layer.open .panel { transform: none; opacity: 1; }
.panel--sheet { inset-inline: 8px; bottom: 8px; max-height: 86dvh; border-radius: var(--r-card); transform: translateY(105%); margin-bottom: env(safe-area-inset-bottom, 0px); }
.panel--center { top: 50%; left: 50%; width: min(580px, calc(100% - 24px)); max-height: 86dvh; border-radius: var(--r-card); transform: translate(-50%, -45%); opacity: 0; }
.layer.open .panel--center { transform: translate(-50%, -50%); }
@media (min-width: 768px) { .panel--sheet { inset-inline: auto 10px; top: 10px; bottom: 10px; width: 420px; max-height: none; transform: translateX(-110%); } }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 14px 10px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.35rem; }
.panel-body { flex: 1; overflow: auto; padding: 20px; }
.panel-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mnav { display: grid; gap: 4px; padding: 110px var(--gut) 40px; }
.mnav a { font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.3; }
.mnav a:hover { color: var(--tan); }
.mnav-sub { display: flex; flex-wrap: wrap; gap: 8px; padding-inline: var(--gut); }
.mnav-sub a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; }

/* hero */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; place-items: center; text-align: center; isolation: isolate; overflow: hidden; padding: 140px var(--gut-r) 80px var(--gut); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.35) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgba(12, 18, 32, .35), rgba(12, 18, 32, .85) 80%), linear-gradient(to top, var(--bg), transparent 40%); }
.hero h1 { width: 100%; max-width: 64rem; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 1.35; font-weight: 500; }
.ipill { display: inline-block; width: clamp(64px, 9vw, 132px); height: clamp(34px, 4.4vw, 64px); border-radius: 999px; vertical-align: middle; background-size: cover; background-position: center; margin-inline: .2em; transform: translateY(-.08em); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.hero p { max-width: 40ch; margin: 22px auto 0; color: var(--fg-2); font-size: 1.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; direction: ltr; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: mq 38s linear infinite; }
.marquee a { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3rem); color: var(--fg-3); white-space: nowrap; direction: rtl; display: flex; align-items: center; gap: 56px; transition: color .3s; }
.marquee a:hover { color: var(--tan); }
.marquee a::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--tan); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* bento */
.sec-title { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 30ch; }
.sec-lead { color: var(--fg-2); max-width: 52ch; margin-top: 14px; font-size: 1.05rem; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 200px; gap: 12px; margin-top: 56px; }
.tile { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; isolation: isolate; border: 1px solid var(--line); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); filter: saturate(.85); }
.tile:hover img { transform: scale(1.05); }
.tile.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 15, 27, .85), transparent 55%); }
.tile h3 { font-size: 1.5rem; }
.tile p { color: var(--fg-2); font-size: .92rem; }
.tile .go { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); backdrop-filter: blur(10px); }
.t-a { grid-column: span 2; grid-row: span 2; }
.t-b, .t-c { grid-column: span 1; }
.t-d { grid-column: span 1; grid-row: span 2; }
.t-e { grid-column: span 2; }
.t-f { grid-column: span 2; }
.tile.tone { background: radial-gradient(120% 140% at 100% 0%, #2a3a63 0%, var(--bg-2) 60%); justify-content: space-between; }
.tile.tan { background: var(--tan); color: var(--on-tan); justify-content: space-between; }
.tile.tan p { color: rgba(18, 24, 39, .75); }
.tile .big { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
  .t-a { grid-column: 1 / 3; grid-row: 1 / 3; } .t-d { grid-column: 3; grid-row: 1 / 3; }
  .t-b { grid-column: 4; grid-row: 1; } .t-c { grid-column: 4; grid-row: 2; }
  .t-e { grid-column: 1 / 3; grid-row: 3; } .t-f { grid-column: 3 / 5; grid-row: 3; }
}

/* pinned split */
.pin-split { display: grid; gap: 40px; }
.pin-copy { display: grid; gap: 18px; align-content: start; }
.pin-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 960px) { .pin-split { grid-template-columns: 5fr 7fr; gap: 72px; } .pin-copy { position: sticky; top: 140px; height: max-content; } .pin-list { gap: 72px 24px; } .pin-list .card:nth-child(even) { margin-top: 120px; } }

/* scrub manifesto */
.manifesto p { font-family: var(--f-display); font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.6; max-width: 26ch; }
.manifesto .w { opacity: 1; transition: opacity .2s; }
.manifesto.js-scrub .w { opacity: .22; }

/* stacked looks */
.stack-wrap { display: grid; gap: 20px; margin-top: 56px; }
.look-card { position: sticky; top: 110px; border-radius: var(--r-card); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: grid; min-height: 520px; transform-origin: 50% 0; }
.look-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; max-height: 60svh; }
.look-card .lc-body { padding: 28px; display: grid; gap: 14px; align-content: center; }
.look-card h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.look-items { display: flex; flex-wrap: wrap; gap: 8px; }
.look-items a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; transition: background .2s, color .2s; }
.look-items a:hover { background: var(--fg); color: var(--on-tan); }
@media (min-width: 900px) { .look-card { grid-template-columns: 1.2fr 1fr; min-height: 560px; } .look-card img { max-height: none; } .look-card .lc-body { padding: 56px; } }

/* big CTA */
.cta-block { border-radius: calc(var(--r-card) * 1.6); background: radial-gradient(120% 120% at 0% 100%, #2a3a63, var(--bg-2) 60%); padding: clamp(40px, 8vw, 120px) clamp(20px, 6vw, 96px); display: grid; gap: 28px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.cta-block h2 { font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.2; max-width: 16ch; }
.cta-block dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; color: var(--fg-2); }
.cta-block dt { color: var(--fg-3); }
.cta-block dd { margin: 0; }

/* product cards */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 20px; } }
@media (min-width: 1280px) { .grid-products.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: grid; gap: 12px; min-width: 0; }
.card-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--bg-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s; }
.card-media img + img { opacity: 0; }
@media (hover: hover) { .card:hover .card-media img:first-child { transform: scale(1.06); } .card:hover .card-media img + img { opacity: 1; transform: scale(1.03); } }
.card-tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); }
.card-wish { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; background: var(--glass); backdrop-filter: blur(10px); }
.card-wish[aria-pressed="true"] svg { fill: var(--tan); stroke: var(--tan); }
.card-quick { position: absolute; z-index: 2; inset-inline: 10px; bottom: 10px; min-height: 44px; border-radius: 999px; background: var(--fg); color: var(--on-tan); font-size: .88rem; font-weight: 600; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease); }
@media (hover: hover) { .card:hover .card-quick, .card-quick:focus-visible { opacity: 1; transform: none; } }
.card-title { font-size: .95rem; font-family: var(--f-body); font-weight: 500; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: .9rem; color: var(--fg-2); }
.card-swatches { display: flex; gap: 5px; align-items: center; }
.price { white-space: nowrap; color: var(--fg); }
.price del { color: var(--fg-3); font-size: .85em; margin-inline-start: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; } }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.head-row h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* page heads */
.page-head { padding-block: 32px 40px; display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.crumbs { display: flex; gap: 8px; font-size: .8rem; color: var(--fg-3); flex-wrap: wrap; }
.crumbs a:hover { color: var(--fg); }

/* shop */
.shop-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 78px); z-index: 20; padding-block: 10px; }
.shop-bar .inner { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(18px); border: 1px solid var(--line); }
.chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; font-size: .9rem; color: var(--fg-2); transition: background .25s, color .25s; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--on-tan); }
.shop-tools { display: flex; gap: 6px; flex: none; }
.select { position: relative; }
.select select { appearance: none; border: 0; border-radius: 999px; background: rgba(238, 233, 224, .08); padding: 8px 14px 8px 34px; font-size: .9rem; min-height: 40px; }
.select svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.filter-btn { display: inline-flex; gap: 6px; align-items: center; background: rgba(238, 233, 224, .08); }
.result-line { display: flex; justify-content: space-between; margin: 28px 0 24px; font-size: .9rem; color: var(--fg-2); }
.fgroup { padding-block: 18px; border-bottom: 1px solid var(--line); }
.fgroup h3 { font: 600 .9rem var(--f-body); margin-bottom: 12px; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt { min-width: 48px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.size-opt:hover { border-color: rgba(238, 233, 224, .5); }
.size-opt[aria-pressed="true"], .size-opt[aria-checked="true"] { background: var(--fg); color: var(--on-tan); border-color: var(--fg); }
.size-opt:disabled { opacity: .35; text-decoration: line-through; }
.color-list { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; }
.color-opt[aria-pressed="true"] { border-color: var(--tan); color: var(--tan); }
.range { width: 100%; accent-color: var(--tan); }
.check { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.check input { width: 20px; height: 20px; accent-color: var(--tan); }
.empty { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 80px 20px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); }
.empty h2 { font-size: 1.6rem; }

/* product */
.pdp { display: grid; gap: 32px; padding-bottom: 80px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; scroll-snap-align: center; background: var(--bg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gal-dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); transition: width .3s var(--ease), background .3s; }
.gal-dots button[aria-current="true"] { width: 24px; border-radius: 4px; background: var(--tan); }
.pinfo { display: grid; gap: 24px; align-content: start; }
.pinfo-card { border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); padding: 24px; display: grid; gap: 22px; }
.pinfo h1 { font-size: clamp(2rem, 4vw, 3rem); }
.opt-label { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 10px; color: var(--fg-2); }
.opt-label b { color: var(--fg); font-weight: 500; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3px var(--tan); }
.buy-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(238, 233, 224, .07); height: 54px; padding-inline: 4px; }
.qty button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: rgba(238, 233, 224, .1); }
.qty output { min-width: 26px; text-align: center; }
.wish-lg { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(238, 233, 224, .07); }
.wish-lg[aria-pressed="true"] svg { fill: var(--tan); stroke: var(--tan); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; color: var(--fg-2); }
.perks li { display: flex; gap: 10px; align-items: center; }
.stock-note { color: var(--tan); font-size: .9rem; }
.acc > div { border-bottom: 1px solid var(--line); }
.acc button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 500; text-align: start; }
.acc button svg { transition: transform .4s var(--ease); }
.acc button[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-panel { padding-bottom: 18px; color: var(--fg-2); font-size: .92rem; display: grid; gap: 8px; }
@media (min-width: 960px) {
  .pdp { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .gallery { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; gap: 14px; }
  .gal-dots { display: none; }
  .pinfo { position: sticky; top: 100px; }
}
.sticky-buy { position: fixed; z-index: 30; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(20px); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; transform: translateY(150%); transition: transform .5s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy .btn { margin-inline-start: auto; min-height: 46px; }
@media (min-width: 960px) { .sticky-buy { display: none; } }
.size-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.size-table th, .size-table td { padding: 10px; text-align: center; border-bottom: 1px solid var(--line); }

/* cart + checkout shared */
.two-col { display: grid; gap: 32px; padding-bottom: 96px; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 400px; gap: 56px; align-items: start; } .two-col .summary { position: sticky; top: 100px; } }
.line { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 14px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); }
#lines { display: grid; gap: 12px; }
.line img { width: 100px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.line-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.line-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 500; }
.line-attrs { color: var(--fg-2); font-size: .88rem; }
.line-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.line .qty { height: 44px; }
.line .qty button { width: 36px; height: 36px; }
.rm { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--fg-2); }
.summary { border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); padding: 24px; display: grid; gap: 14px; }
.summary h2 { font-size: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--fg-2); }
.sum-row span:last-child { color: var(--fg); }
.sum-row.total { font-size: 1.1rem; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line); color: var(--fg); }
.free-ship { font-size: .88rem; color: var(--fg-2); }
.free-ship .bar { height: 4px; border-radius: 2px; background: rgba(238, 233, 224, .08); margin-top: 8px; position: relative; overflow: hidden; }
.free-ship .bar i { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 2px; background: var(--tan); transition: width .8s var(--ease); }
.coupon { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(238, 233, 224, .06); }
.coupon input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; direction: ltr; text-align: right; text-transform: uppercase; }
.coupon input:focus { outline: none; }
.coupon .btn { min-height: 42px; padding: 0 18px; }
.mini-lines { display: grid; gap: 12px; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.mini-line img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.secure { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--fg-3); justify-content: center; }

/* forms */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .legend { font-size: .9rem; color: var(--fg-2); }
.hint { font-size: .78rem; color: var(--fg-3); }
.input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: var(--r-in); border: 1px solid var(--line); background: rgba(238, 233, 224, .04); color: var(--fg); transition: border-color .2s, background .2s; -webkit-appearance: none; }
.field select option { background: var(--bg-2); }
.field textarea { min-height: 120px; resize: vertical; }
.input::placeholder, textarea::placeholder { color: var(--fg-3); }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tan); background: rgba(238, 233, 224, .07); }
.ltr { direction: ltr; text-align: right; }
.has-err .input, .has-err select, .has-err textarea { border-color: var(--err); }
.field-err { color: var(--err); font-size: .8rem; }
.field-err:empty { display: none; }
.opt-list { display: grid; gap: 10px; }
.opt-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(238, 233, 224, .03); cursor: pointer; transition: border-color .25s, background .25s; }
.opt-card:has(input:checked) { border-color: var(--tan); background: rgba(205, 176, 138, .08); }
.opt-card input { width: 20px; height: 20px; accent-color: var(--tan); margin: 0; }
.opt-card small { display: block; color: var(--fg-3); font-size: .78rem; }
.opt-card.is-off { opacity: .4; pointer-events: none; }

/* checkout stepper */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin: 0 0 32px; list-style: none; }
.steps button { width: 100%; padding: 10px 4px; border-radius: 999px; font-size: .8rem; color: var(--fg-3); transition: background .35s var(--ease), color .35s; }
.steps .is-current button { background: var(--fg); color: var(--on-tan); font-weight: 600; }
.steps .is-done button { color: var(--tan); }
.co-step { display: grid; gap: 24px; }
.co-step h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.co-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.review { display: grid; gap: 10px; }
.review > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 18px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); font-size: .9rem; }
.review button { color: var(--tan); font-size: .82rem; }
.sum-toggle { display: flex; justify-content: space-between; width: 100%; padding: 16px 20px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .9rem; margin-bottom: 10px; }
@media (min-width: 1024px) { .sum-toggle { display: none; } #co-summary[hidden] { display: grid !important; } }
.done { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 56px 20px; border-radius: var(--r-card); background: radial-gradient(100% 120% at 50% 0%, #26365c, var(--bg-2) 70%); border: 1px solid var(--line); }
.done .seal { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--tan); color: var(--on-tan); }
.done h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* about: horizontal accordion */
.hacc { display: grid; gap: 10px; margin-top: 56px; }
.hacc-item { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; padding: 24px; isolation: isolate; border: 1px solid var(--line); }
.hacc-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.3); transition: transform 1s var(--ease), filter .6s; }
.hacc-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 15, 27, .92), rgba(10, 15, 27, .2)); }
.hacc-item h3 { font-size: 1.6rem; }
.hacc-item p { color: var(--fg-2); max-width: 36ch; margin-top: 8px; }
@media (min-width: 960px) {
  .hacc { display: flex; height: 560px; }
  .hacc-item { flex: 1; min-height: 0; transition: flex .8s var(--ease); }
  .hacc-item p { opacity: 0; transform: translateY(10px); transition: opacity .5s .1s, transform .6s var(--ease); }
  .hacc-item h3 { white-space: nowrap; }
  .hacc:hover .hacc-item { flex: .7; } .hacc .hacc-item:hover, .hacc .hacc-item:focus-within { flex: 2.4; }
  .hacc-item:hover p, .hacc-item:focus-within p { opacity: 1; transform: none; }
  .hacc-item:hover img { filter: none; transform: scale(1.04); }
}
.about-hero { display: grid; gap: 36px; }
.about-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 18ch; }
.about-hero img { border-radius: var(--r-card); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { display: grid; gap: 1.2rem; max-width: 62ch; color: var(--fg-2); font-size: 1.05rem; }

/* contact */
.contact { display: grid; gap: 32px; padding-bottom: 96px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; } }
.channels { display: grid; gap: 10px; }
.channel { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); }
.channel > span:first-child { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(205, 176, 138, .12); color: var(--tan); }
.channel small { display: block; color: var(--fg-3); font-size: .78rem; }
.channel .val { font-size: 1.05rem; }
.mini-btn { padding: 8px 14px; border-radius: 999px; background: rgba(238, 233, 224, .08); font-size: .82rem; display: inline-flex; gap: 6px; align-items: center; }
.mini-btn:hover { background: var(--fg); color: var(--on-tan); }
.form-panel { border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); }
.form-done { border-radius: var(--r-card); background: rgba(185, 211, 176, .08); border: 1px solid rgba(185, 211, 176, .35); padding: 28px; display: grid; gap: 8px; }

/* account */
.acct { display: grid; gap: 24px; padding-bottom: 96px; }
@media (min-width: 1024px) { .acct { grid-template-columns: 260px 1fr; gap: 40px; align-items: start; } }
.acct-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.acct-nav a { flex: none; display: flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; font-size: .88rem; color: var(--fg-2); }
.acct-nav a[aria-current="page"] { background: var(--fg); color: var(--on-tan); }
@media (min-width: 1024px) { .acct-nav { flex-direction: column; border-radius: var(--r-card); position: sticky; top: 100px; } .acct-nav a { border-radius: 14px; padding: 12px 16px; } }
.acct-pane { display: grid; gap: 24px; min-width: 0; }
.acct-pane h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-row div { padding: 20px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); display: grid; }
.stat-row div:first-child { background: var(--tan); color: var(--on-tan); }
.stat-row div:first-child span { color: rgba(18, 24, 39, .7); }
.stat-row b { font-family: var(--f-display); font-size: 2.4rem; line-height: 1.1; font-weight: 500; }
.stat-row span { font-size: .8rem; color: var(--fg-2); }
.orders { display: grid; gap: 10px; }
.order { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
@media (min-width: 768px) { .order { grid-template-columns: auto 1fr auto auto; } }
.order-thumbs { display: flex; }
.order-thumbs img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-2); margin-inline-start: -10px; }
.order-thumbs img:first-child { margin: 0; }
.order-meta { display: grid; font-size: .9rem; }
.status { font-size: .78rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.status.processing { background: rgba(205, 176, 138, .16); color: var(--tan); }
.status.shipped { background: rgba(140, 170, 230, .16); color: #b5c7f0; }
.status.completed { background: rgba(185, 211, 176, .14); color: var(--ok); }
.status.cancelled { background: rgba(242, 165, 155, .12); color: var(--err); }
.addr-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
.addr { padding: 22px; border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 8px; font-size: .92rem; }
.addr.def { border-color: var(--tan); }
.addr header { display: flex; justify-content: space-between; }
.login { max-width: 460px; margin: 0 auto 96px; padding: clamp(24px, 5vw, 40px); border-radius: var(--r-card); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 20px; }
.login h1 { font-size: 2rem; }
.otp { display: flex; gap: 8px; justify-content: center; direction: ltr; }
.otp input { width: 54px; height: 62px; border-radius: 14px; border: 1px solid var(--line); background: rgba(238, 233, 224, .04); text-align: center; font-size: 1.4rem; color: var(--fg); }
.otp input:focus { outline: none; border-color: var(--tan); }

/* footer */
.ftr { padding-block: 72px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.ftr-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ftr h3 { font: 600 .9rem var(--f-body); margin-bottom: 14px; color: var(--fg); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--fg-2); font-size: .9rem; }
.ftr ul a:hover { color: var(--tan); }
.ftr-club p { color: var(--fg-2); font-size: .9rem; margin-bottom: 14px; }
.club-form { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.club-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; direction: ltr; text-align: right; color: var(--fg); }
.club-form input:focus { outline: none; }
.club-form button { padding: 10px 20px; border-radius: 999px; background: var(--tan); color: var(--on-tan); font-weight: 600; }
.ftr-word { font-family: var(--f-latin); direction: ltr; font-size: clamp(3.4rem, 15vw, 13rem); line-height: 1; letter-spacing: .04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(238, 233, 224, .16); margin-top: 56px; white-space: nowrap; overflow: hidden; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--fg-3); font-size: .8rem; margin-top: 28px; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 180%); background: var(--fg); color: var(--on-tan); border-radius: 999px; padding: 12px 22px; display: flex; gap: 16px; align-items: center; font-size: .9rem; max-width: calc(100% - 24px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); transition: transform .5s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.toast-act { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .marquee-track { animation: none; }
  .manifesto.js-scrub .w { opacity: 1; }
}
.visit-media { margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.page-head .muted { max-width: 52ch; }

/* overflow guards */
.card, .summary, .pinfo, .co-step, .acct-pane { grid-template-columns: minmax(0, 1fr); }
.two-col > *, .cart-layout > *, .co > *, .summary > *, .pdp > * { min-width: 0; }
.price { white-space: normal; }
.price del { white-space: nowrap; display: inline-block; }
.coupon input, .club-form input { width: 0; }
.field > * { min-width: 0; }
