/* =========================================================
   NOVA WEAR — design system
   Paper / cream / beige neutrals, ink black, olive + navy accents.
   Inter Tight for UI, Instrument Serif for editorial display.
   ========================================================= */
:root {
  --paper: #F6F4EF;
  --cream: #EEEAE2;
  --beige: #E2DBCE;
  --sand: #CFC4B1;
  --ink: #111110;
  --charcoal: #2A2A28;
  --stone: #66615A;          /* muted text, 5.6:1 on paper */
  --olive: #4F5338;
  --navy: #26324A;
  --line: rgba(17, 17, 16, 0.12);
  --line-2: rgba(17, 17, 16, 0.24);
  --error: #9B2C1F;
  --ok: #3E5B3A;

  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t: 320ms;
  --t-slow: 560ms;

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1520px;
  --hdr: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.55 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -64px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; transition: top var(--t) var(--ease); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--stone); }
.small { font-size: 13px; }
.lbl { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 8.4vw, 148px); line-height: 0.9; letter-spacing: -0.025em; }
.display em, .h2 em, .h1 em { font-style: italic; }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 88px); line-height: 0.95; letter-spacing: -0.02em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 60px); line-height: 1; letter-spacing: -0.015em; }
.h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* ---------- Links ---------- */
.ulink { position: relative; padding: 6px 0; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease); }
.ulink:hover::after, .ulink[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.tlink { font-size: 13px; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size var(--t) var(--ease); }
.tlink:hover { background-size: 0% 1px; background-position: 100% 100%; }
.flink { color: var(--stone); transition: color var(--t-fast); }
.flink:hover { color: var(--ink); }

/* ---------- Buttons (ink wipe) ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --wipe: var(--paper); --wfg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 28px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color var(--t) var(--ease), border-color var(--t), transform 160ms var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wipe); transform: scaleY(0); transform-origin: bottom; transition: transform 420ms var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--wfg); border-color: var(--ink); }
.btn:active { transform: scale(0.985); }
.btn .arr { transition: transform var(--t) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--line { --bg: transparent; --fg: var(--ink); --wipe: var(--ink); --wfg: var(--paper); border-color: var(--ink); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); --wipe: var(--ink); --wfg: var(--paper); border-color: var(--paper); }
.btn--sm { height: 42px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn.is-done { --bg: var(--ok); border-color: var(--ok); }
.arr { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.ibtn { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; }
.ibtn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(17, 17, 16, 0.07); transform: scale(0.6); opacity: 0; transition: transform var(--t) var(--ease), opacity var(--t); }
.ibtn:hover::before { transform: scale(1); opacity: 1; }
.ibtn svg { position: relative; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 12px; letter-spacing: 0.04em; padding: 9px var(--gutter); }
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(246, 244, 239, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: transform 420ms var(--ease), border-color var(--t), background-color var(--t); }
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 239, 0.93); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__inner { height: var(--hdr); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hdr__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hdr__nav { display: flex; gap: 20px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.hdr__right { display: flex; justify-content: flex-end; gap: 4px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; transform: scale(0); transition: transform var(--t) var(--ease); }
.badge.has-items { transform: scale(1); }
.badge.bump { animation: bump 520ms var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* Wordmark: the O is a ring with a center point — a nova */
.wm { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.wm__nova { display: inline-flex; align-items: center; font-weight: 700; font-size: 21px; letter-spacing: 0.16em; }
.wm__o, .ftr__wm .wm__o { position: relative; display: inline-block; width: 0.78em; height: 0.78em; margin: 0 0.16em 0 0.02em; border: 0.13em solid currentColor; border-radius: 50%; transition: transform 700ms var(--ease); }
.wm__o::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.16em; height: 0.16em; margin: -0.08em 0 0 -0.08em; border-radius: 50%; background: currentColor; }
.wm:hover .wm__o { transform: rotate(180deg) scale(1.08); }
.wm__wear { font-family: var(--serif); font-style: italic; font-size: 19px; letter-spacing: 0; }

.burger { display: none; position: relative; width: 42px; height: 42px; margin-left: -10px; }
.burger span { position: absolute; left: 11px; width: 20px; height: 1.5px; background: var(--ink); transition: transform 420ms var(--ease), top 420ms var(--ease), width 420ms var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; width: 13px; }
.burger:hover span:last-child { width: 20px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; width: 20px; transform: rotate(-45deg); }

/* ---------- Overlays (shared) ---------- */
html.is-locked { overflow: hidden; }
body.menu-open .hdr { z-index: 110; transform: none; background: var(--paper); border-bottom-color: var(--line); }
body.menu-open .scrim { top: var(--menu-top, 0); }
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 16, 0.42); opacity: 0; transition: opacity 420ms var(--ease); }
.scrim.is-on { opacity: 1; }

.menu { position: fixed; top: var(--menu-top, 0); left: 0; bottom: 0; z-index: 100; width: min(440px, 90vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform 460ms var(--ease); visibility: hidden; }
.menu.is-open { transform: none; visibility: visible; }
.menu:not(.is-open) { transition: transform 420ms var(--ease-io), visibility 0s linear 420ms; }
.menu__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.menu__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 12px; }
.menu__nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-16px); transition: opacity 420ms var(--ease), transform 520ms var(--ease), color var(--t-fast); }
.menu__nav a span { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.01em; transition: transform var(--t) var(--ease); }
.menu__nav a small { color: var(--stone); font-size: 12px; }
.menu__nav a:hover span, .menu__nav a:focus-visible span { transform: translateX(8px); font-style: italic; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 80ms; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 120ms; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 160ms; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 200ms; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 240ms; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: 280ms; }
.menu.is-open .menu__nav a:nth-child(7) { transition-delay: 320ms; }
.menu.is-open .menu__nav a:nth-child(8) { transition-delay: 360ms; }
.menu__foot { padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 12px; border-top: 1px solid var(--line); }

.search { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--paper); max-height: 86vh; overflow-y: auto; transform: translateY(-104%); transition: transform 460ms var(--ease); visibility: hidden; box-shadow: 0 24px 60px rgba(17, 17, 16, 0.12); }
.search.is-open { transform: none; visibility: visible; }
.search:not(.is-open) { transition: transform 380ms var(--ease-io), visibility 0s linear 380ms; }
.search__bar { display: flex; align-items: center; gap: 12px; height: 76px; border-bottom: 1px solid var(--line); }
.search__bar > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.search__bar input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); outline: none; }
.search__body { padding-top: 24px; padding-bottom: 32px; }
.search__sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.sres a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px; transition: background-color var(--t-fast); }
.sres a:hover { background: var(--cream); }
.sres .thumb { aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.sres .thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.sres__meta { font-size: 13px; }
.sres__meta b { display: block; font-weight: 600; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(460px, 100vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 480ms var(--ease); visibility: hidden; box-shadow: -24px 0 60px rgba(17, 17, 16, 0.12); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer:not(.is-open) { transition: transform 400ms var(--ease-io), visibility 0s linear 400ms; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.drawer__title span { font-family: var(--sans); font-size: 13px; color: var(--stone); vertical-align: middle; }
.drawer__ship { padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.meter { height: 3px; background: var(--cream); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform 600ms var(--ease); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 24px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--paper); }
.drawer__foot:empty { display: none; }
.cline { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cline.is-new { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { background: var(--cream); } 100% { background: transparent; } }
.cline__img { aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cline__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.cline__meta { font-size: 12.5px; color: var(--stone); margin-top: 4px; }
.cline__ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.cline__rm { font-size: 12px; color: var(--stone); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: color var(--t-fast); }
.cline__rm:hover { color: var(--error); }
.sumrow { display: flex; justify-content: space-between; font-size: 14px; }
.sumrow--total { font-size: 16px; font-weight: 600; }
.fine { font-size: 12px; color: var(--stone); text-align: center; }
.empty { padding: 56px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.empty .h2 { font-size: 34px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 40px; }
.qty button { width: 38px; height: 100%; display: grid; place-items: center; font-size: 17px; transition: background-color var(--t-fast); }
.qty button:hover:not(:disabled) { background: var(--cream); }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty output { min-width: 30px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.qty--lg { height: 52px; }
.qty--lg button { width: 46px; }

.sheet { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(560px, calc(100vw - 32px)); max-height: 86vh; display: flex; flex-direction: column; background: var(--paper); transform: translate(-50%, -46%); opacity: 0; visibility: hidden; transition: transform 420ms var(--ease), opacity 320ms var(--ease), visibility 0s linear 420ms; }
.sheet.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; transition: transform 420ms var(--ease), opacity 320ms var(--ease); }
@media (max-width: 640px) {
  .sheet { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 88vh; transform: translateY(100%); opacity: 1; }
  .sheet.is-open { transform: none; }
  .sheet__body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
.sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.sheet__body { overflow-y: auto; padding: 24px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease), visibility 0s linear 360ms; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 360ms var(--ease); }
.lb__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px 10px 22px; }
.lb__count { font-size: 13px; font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; min-height: 0; overflow: hidden; touch-action: none; cursor: zoom-in; }
.lb__stage.is-zoomed { cursor: grab; }
.lb__stage.is-dragging { cursor: grabbing; }
.lb__stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; transition: transform 380ms var(--ease), opacity 260ms; will-change: transform; }
.lb__stage.no-anim img { transition: opacity 260ms; }
.lb.is-open .lb__stage img { animation: lbIn 480ms var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__nav { position: absolute; top: 50%; margin-top: -21px; background: rgba(246, 244, 239, 0.9); }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb__thumbs { display: flex; justify-content: center; gap: 8px; padding: 12px; }
.lb__thumbs button { width: 54px; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; opacity: 0.5; outline-offset: 2px; transition: opacity var(--t-fast); }
.lb__thumbs button[aria-current="true"] { opacity: 1; outline: 1px solid var(--ink); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 130; transform: translate(-50%, 16px); background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Image loading ---------- */
.fade { opacity: 0; transition: opacity 500ms var(--ease); }
.fade.is-loaded { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: calc(100svh - var(--hdr) - 34px); max-height: 980px; }
.hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(28px, 4vw, 48px); }
.hero__copy .display span { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__copy .display span > i { display: block; font-style: normal; animation: lineUp 1s var(--ease) both; }
.hero__copy .display span:nth-child(2) > i { animation-delay: 110ms; font-style: italic; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero__lede { max-width: 440px; font-size: 16.5px; color: var(--charcoal); margin-top: 28px; animation: fadeUp 900ms 260ms var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: fadeUp 900ms 360ms var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 40px; border-top: 1px solid var(--line); padding-top: 18px; }
.hero__meta dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.hero__meta dd { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.hero__media { position: relative; overflow: hidden; background: var(--beige); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: heroImg 1.6s var(--ease) both; }
@keyframes heroImg { from { transform: scale(1.06); } to { transform: none; } }
.hero__cap { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 10px; align-items: center; background: rgba(246, 244, 239, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 10px 14px; font-size: 12px; }
.hero__cap b { font-weight: 600; }

.band { background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; padding: 16px 0; }
.band__track { display: inline-flex; gap: 56px; animation: marquee 42s linear infinite; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; }
.band__track span::after { content: "✦"; font-style: normal; font-size: 0.5em; margin-left: 56px; vertical-align: middle; opacity: 0.6; }
.band:hover .band__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.sec { padding-block: clamp(64px, 8vw, 120px); }
.sec--tight { padding-top: 0; }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.sec__head .h2 { margin-top: 12px; }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { position: relative; display: flex; flex-direction: column; gap: 12px; }
.cat__media { position: relative; aspect-ratio: 3 / 4; background: var(--cream); overflow: hidden; transition: background-color var(--t-slow) var(--ease); }
.cat:hover .cat__media { background: var(--beige); }
.cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: opacity 420ms var(--ease), transform 900ms var(--ease); }
.cat__media .is-back { opacity: 0; }
.cat:hover .cat__media .is-back { opacity: 1; }
.cat:hover .cat__media .is-front { opacity: 0; }
.cat:hover .cat__media img { transform: scale(1.04); }
.cat__name { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 500; }
.cat__name small { color: var(--stone); font-size: 12px; }
.cat__name .arr { transform: translateX(-6px); opacity: 0; transition: transform var(--t) var(--ease), opacity var(--t); }
.cat:hover .cat__name .arr { transform: none; opacity: 1; }
.cat--soon .cat__media { background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center; padding: 16px; }
.cat--soon .cat__media span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; }
.cat--soon:hover .cat__media { background: var(--charcoal); }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { height: 36px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 18px; font-size: 13px; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.split__media { position: relative; min-height: 640px; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 1.4s var(--ease); }
.split:hover .split__media img { transform: scale(1.03); }
.split__copy { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(32px, 6vw, 96px); }
.specs { display: grid; border-top: 1px solid var(--line-2); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.specs li span:last-child { color: var(--stone); text-align: right; }
.mini { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 12px; background: var(--paper); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.mini:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17, 17, 16, 0.08); }
.mini__img { aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.campaign { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; overflow: hidden; background: #fff; }
.campaign img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.campaign__copy { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; padding-bottom: clamp(32px, 5vw, 64px); }
.campaign__copy .display { font-size: clamp(54px, 9vw, 160px); mix-blend-mode: difference; color: #fff; }

.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__ctrls { display: flex; gap: 8px; }
.rail__ctrls .ibtn { border: 1px solid var(--line-2); }
.rail__ctrls .ibtn:disabled { opacity: 0.3; cursor: default; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.values li { padding: 28px 28px 8px 0; display: grid; gap: 10px; }
.values li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.values b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.values p { color: var(--stone); max-width: 340px; }

.letter { background: var(--cream); }
.letter__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.news { display: flex; gap: 8px; margin-top: 4px; }
.news input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); background: var(--paper); transition: border-color var(--t-fast); }
.news input:focus { outline: none; border-color: var(--ink); }
.ftr .news input { height: 42px; background: transparent; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; background: #F1EFEA; overflow: hidden; }
.pcard__link { position: absolute; inset: 0; display: block; }
.pcard__track { position: absolute; inset: 0; display: grid; }
.pcard__track img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; padding: 4%; mix-blend-mode: multiply; transition: opacity 340ms var(--ease), transform 900ms var(--ease); }
.pcard__track .is-back { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .pcard.has-back .pcard__media:hover .is-back { opacity: 1; }
  .pcard.has-back .pcard__media:hover .is-front { opacity: 0; }
  .pcard__media:hover .pcard__track img { transform: scale(1.025); }
}
.pcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--paper); padding: 5px 8px; pointer-events: none; }
.pcard__dots { display: none; }
.pcard__quick { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(246, 244, 239, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transform: translateY(calc(100% + 14px)); transition: transform 420ms var(--ease), background-color var(--t-fast), color var(--t-fast); }
.pcard__quick:hover { background: var(--ink); color: var(--paper); }
.pcard__media:hover .pcard__quick, .pcard__quick:focus-visible { transform: none; }
.pcard__sizes { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; background: rgba(246, 244, 239, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 14px 12px 12px; transform: translateY(100%); transition: transform 420ms var(--ease); visibility: hidden; }
.pcard.is-quick .pcard__sizes { transform: none; visibility: visible; }
.pcard__sizes p { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.pcard__sizes p button { font-size: 18px; line-height: 1; width: 28px; height: 28px; }
.pcard__sizes div { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.pcard__info { display: grid; gap: 6px; }
.pcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard__name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.pcard__name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size var(--t) var(--ease); }
.pcard__name a:hover { background-size: 100% 1px; }
.pcard__price { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard__color { font-size: 12.5px; color: var(--stone); min-height: 19px; }
.pcard .swatches { margin-top: 2px; }

/* Swatches + sizes (shared) */
.swatches { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -5px; }
.sw { position: relative; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(17, 17, 16, 0.18); transition: transform var(--t) var(--ease); }
.sw::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid var(--ink); transform: scale(0.7); opacity: 0; transition: transform var(--t) var(--ease), opacity var(--t); }
.sw:hover i { transform: scale(1.12); }
.sw[aria-pressed="true"]::after { transform: scale(1); opacity: 1; }
.sw[aria-pressed="true"] i { transform: scale(0.82); }
.swatches--lg .sw { width: 44px; height: 44px; }
.swatches--lg .sw i { width: 28px; height: 28px; }

.chip { min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; font-weight: 500; transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.chip:hover:not(:disabled) { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:disabled { color: rgba(17, 17, 16, 0.32); cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(17, 17, 16, 0.22) 50%, transparent calc(50% + 0.5px)); }
.chip--sm { min-width: 0; height: 36px; font-size: 12.5px; }

/* ---------- Shop ---------- */
.shop-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(20px, 2.4vw, 32px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.shop-hero p.muted { max-width: 460px; margin-top: 14px; }
.catbar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.catbar::-webkit-scrollbar { display: none; }
.catbar .tab { flex: none; height: 38px; display: inline-flex; align-items: center; gap: 8px; }
.catbar .tab small { color: inherit; opacity: 0.6; font-size: 11.5px; }
.toolbar { position: sticky; top: var(--hdr); z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; margin-top: 20px; background: rgba(246, 244, 239, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top 420ms var(--ease); }
.hdr.is-hidden ~ main .toolbar { top: 0; }
.toolbar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fbtn { display: none; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; align-items: center; gap: 8px; }
.fbtn b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 10.5px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color var(--t-fast); }
.select select:hover, .select select:focus { border-color: var(--ink); outline: none; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.afchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: var(--cream); font-size: 12px; transition: background-color var(--t-fast); }
.afchip:hover { background: var(--beige); }
.shop { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; padding: 28px 0 96px; }
.filters { position: sticky; top: calc(var(--hdr) + 84px); align-self: start; display: grid; gap: 28px; }
.fgroup h3 { margin-bottom: 12px; }
.fgroup .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fcolor { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 8px; border: 1px solid var(--line-2); font-size: 12.5px; transition: border-color var(--t-fast), background-color var(--t-fast); }
.fcolor i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(17, 17, 16, 0.2); }
.fcolor:hover { border-color: var(--ink); }
.fcolor[aria-pressed="true"] { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.results-count { font-size: 13px; color: var(--stone); }
.grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.noresults { grid-column: 1 / -1; padding: 72px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }

/* ---------- PDP ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--stone); padding: 20px 0; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; padding-bottom: 80px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery__item { position: relative; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; cursor: zoom-in; }
.gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 500ms var(--ease), opacity 400ms var(--ease); }
.gallery__item:first-child img { object-fit: contain; }
.gallery__item.is-detail img { object-fit: cover; transform: scale(2.1); }
.gallery__item.is-zooming img { transition: transform 200ms linear, opacity 400ms; }
.gallery__label { position: absolute; left: 12px; bottom: 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--paper); padding: 4px 8px; pointer-events: none; }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); pointer-events: none; opacity: 0; transform: scale(0.8); transition: opacity var(--t), transform var(--t) var(--ease); }
.gallery__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gallery__item:hover .gallery__zoom { opacity: 1; transform: none; }
.gallery__dots { display: none; }
.is-swapping .gallery__item img, .is-swapping .pcard__track img { opacity: 0.25; }

.pinfo { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 22px; }
.pinfo__title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.015em; }
.pinfo__price { display: flex; align-items: baseline; gap: 12px; font-size: 19px; font-variant-numeric: tabular-nums; }
.pinfo__price small { font-size: 12px; color: var(--stone); }
.pinfo__tag { color: var(--charcoal); }
.opt { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.opt__head b { font-weight: 600; }
.opt__head .val { color: var(--stone); margin-left: 6px; font-weight: 400; }
.sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.sizes--one { grid-template-columns: minmax(0, 160px); }
.err { color: var(--error); font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.err.shake { animation: shake 420ms var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy .btn { height: 52px; }
.perks { display: grid; gap: 8px; font-size: 13px; color: var(--stone); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); flex: none; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 14px; font-weight: 500; text-align: left; }
.acc__btn i { position: relative; width: 12px; height: 12px; }
.acc__btn i::before, .acc__btn i::after { content: ""; position: absolute; left: 0; top: 5.5px; width: 12px; height: 1.2px; background: currentColor; transition: transform var(--t) var(--ease); }
.acc__btn i::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] i::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 18px; color: var(--charcoal); font-size: 14px; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.sticky-buy { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 244, 239, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 420ms var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__info { flex: 1; min-width: 0; font-size: 13px; }
.sticky-buy__info b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

table.sizes-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sizes-table th, .sizes-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.sizes-table th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); font-weight: 600; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: clamp(24px, 5vw, 80px); padding: 32px 0 96px; align-items: start; }
.demo-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--cream); border-left: 2px solid var(--olive); font-size: 13.5px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form h2 { grid-column: 1 / -1; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 500; }
.field input, .field select { height: 50px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 16, 0.08); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { font-size: 12px; }
.ship-opts { grid-column: 1 / -1; display: grid; gap: 8px; }
.ship-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.ship-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship-opt span { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ship-opt input { accent-color: var(--ink); width: 18px; height: 18px; }
.summary { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 16px; padding: 28px; background: var(--cream); }
.sline { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; font-size: 13.5px; }
.sline__img { position: relative; aspect-ratio: 4 / 5; background: var(--paper); }
.sline__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.sline__img b { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.summary hr { border: 0; border-top: 1px solid var(--line-2); margin: 4px 0; width: 100%; }
.done { padding: clamp(56px, 8vw, 120px) 0; display: grid; gap: 20px; justify-items: start; max-width: 760px; }

/* ---------- Info / credits / soon ---------- */
.prose { max-width: 720px; display: grid; gap: 16px; padding: 24px 0 96px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-top: 16px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.soon { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.soon__art { background: var(--ink); color: var(--paper); display: grid; place-items: center; padding: 40px; }
.soon__art p { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 9vw, 150px); line-height: 0.9; text-align: center; }
.soon__copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(32px, 6vw, 96px); }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-top: clamp(56px, 6vw, 88px); }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.ftr__wm { display: inline-flex; align-items: center; font-weight: 700; font-size: clamp(44px, 5vw, 72px); letter-spacing: 0.12em; line-height: 1; margin-bottom: 18px; }
.ftr__wm span:last-child { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; margin-left: 0.2em; font-size: 0.86em; }
.ftr nav { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.ftr .lbl { margin-bottom: 8px; }
.ftr__news { display: grid; gap: 10px; align-content: start; }
.social { display: flex; gap: 16px; font-size: 13px; margin-top: 6px; }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 20px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 12px; color: var(--stone); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .hdr__nav { gap: 16px; font-size: 12.5px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .fbtn { display: inline-flex; }
  .grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero__media { order: -1; height: 64svh; min-height: 420px; }
  .hero__copy { gap: 32px; }
  .split, .soon { grid-template-columns: 1fr; }
  .split__media { min-height: 0; aspect-ratio: 4 / 5; }
  .campaign__copy { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .letter__in { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pinfo { position: static; }
  .gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item, .gallery__item:first-child { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .gallery__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width var(--t) var(--ease), background-color var(--t); }
  .gallery__dots i.is-on { width: 20px; background: var(--ink); }
  .gallery__zoom { opacity: 1; transform: none; }
  .sticky-buy { display: flex; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .shop-hero { grid-template-columns: 1fr; }
  .sres { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --hdr: 58px; }
  body { font-size: 14.5px; }
  .announce { font-size: 11px; }
  .wm__nova { font-size: 18px; }
  .wm__wear { font-size: 16px; }
  .hero__media { height: 58svh; min-height: 360px; }
  .hero__meta { grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
  .hero__meta dd { font-size: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid, .grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 10px; }
  .rail__track { grid-auto-columns: 72%; }
  .pcard__name, .pcard__price { font-size: 13px; }
  .sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
  .sres { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; gap: 32px; }
  .toolbar .select select { max-width: 150px; }
  .lb__hint { display: none; }
  .lb__nav { display: none; }
}

/* Touch: swipe between front/back on cards, quick add always reachable */
@media (hover: none), (pointer: coarse) {
  .pcard__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pcard__track::-webkit-scrollbar { display: none; }
  .pcard__track img { flex: 0 0 100%; scroll-snap-align: start; }
  .pcard__track .is-back { opacity: 1; }
  .pcard__link { overflow: hidden; }
  .pcard__dots { display: flex; position: absolute; z-index: 2; left: 12px; bottom: 14px; gap: 5px; pointer-events: none; }
  .pcard__dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(17, 17, 16, 0.25); transition: width var(--t) var(--ease), background-color var(--t); }
  .pcard__dots i.is-on { width: 16px; background: var(--ink); }
  .pcard__quick { left: auto; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; transform: none; font-size: 0; }
  .pcard__quick::before { content: "+"; font-size: 22px; font-weight: 400; letter-spacing: 0; }
  .cat__name .arr { opacity: 1; transform: none; }
  .gallery__zoom { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .band__track { animation: none; }
}
