/* =========================================================
   Thread & Needle: 2026 shared stylesheet (homepage tokens + inner pages)
   Design tokens first; components use tokens only.
   Contrast (WCAG AA, measured): ink on paper 16.4:1 · muted on paper 6.8:1 ·
   paper on oxblood 9.8:1 · paper-dim on night 12.3:1 · ink-soft on paper 13.5:1
   ========================================================= */
:root {
  /* colour: neutrals */
  --paper: #f6f2eb;
  --surface: #fbf9f5;
  --surface-2: #eee8df;
  --line: #ded6ca;
  --line-strong: #c9bfb1;
  --ink: #171412;
  --ink-soft: #2b2522;
  --muted: #5b524b;
  /* colour: brand */
  --oxblood: #6e2a32;
  --oxblood-ink: #4f1c23;
  --oxblood-tint: #f1e4e2;
  --night: #15110f;
  --night-2: #221c19;
  --night-line: #3a312c;
  --paper-dim: #d9d0c4;
  --success: #2f6b46;
  /* semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --accent: var(--oxblood);
  --accent-fg: #fbf9f5;
  --focus: var(--oxblood);

  /* type */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-text: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-display: clamp(3.25rem, 1.6rem + 6.4vw, 7.5rem);
  --t-h2: clamp(2.25rem, 1.5rem + 2.6vw, 4rem);
  --t-h3: clamp(1.25rem, 1.1rem + .4vw, 1.5rem);
  --t-lede: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --t-body: 1rem;
  --t-small: .875rem;
  --t-meta: .75rem;

  /* spacing: 4px scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* shape */
  --r-control: 2px;
  --r-media: 6px;
  --shadow-overlay: 0 24px 64px -16px rgba(23, 20, 18, .28);

  /* layout */
  --max: 1360px;
  --gutter: 24px;
  --margin: clamp(20px, 4vw, 56px);
  --header-h: 64px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 200ms;
  color-scheme: light;
}
/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-body)/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-control); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); }
.skip-link:focus { top: var(--s-4); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }
.meta { font: 500 var(--t-meta)/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; line-height: .96; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.015em; }
.h2 em, .display em { font-style: italic; color: var(--accent); }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.price { font: 500 var(--t-small)/1.4 var(--font-mono); letter-spacing: .01em; }
/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-control);
  font: 500 var(--t-small)/1 var(--font-text); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--oxblood); }
.btn-accent { background: var(--oxblood); color: var(--accent-fg); }
.btn-accent:hover { background: var(--oxblood-ink); }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; font-size: var(--t-small); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; min-height: 44px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
/* ---------- utility bar ---------- */
.utility { background: var(--night); color: var(--paper-dim); font-size: var(--t-meta); }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 36px; }
.utility ul { display: flex; gap: var(--s-5); padding: 0; margin: 0; list-style: none; overflow: hidden; white-space: nowrap; }
.utility li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: var(--s-5); vertical-align: middle; }
.utility li:nth-child(n+2) { display: none; }
.status { display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #8a7f76; flex: none; }
.dot[data-open="true"] { background: #4caf75; box-shadow: 0 0 0 3px rgba(76, 175, 117, .18); }
.utility .status-hours { display: none; }
/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; height: var(--header-h); gap: var(--s-5); }
.logo { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; min-height: 44px; }
.logo svg { width: 18px; height: 26px; color: var(--oxblood); }
.logo-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.logo-name span { font-style: italic; }
.nav { display: none; }
.nav ul { display: flex; gap: var(--s-1); padding: 0; margin: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); font-size: var(--t-small); font-weight: 500; text-decoration: none; color: var(--ink-soft); border-radius: var(--r-control); transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.tools { display: flex; align-items: center; gap: var(--s-1); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-control); text-decoration: none; transition: background var(--dur) var(--ease); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--oxblood); color: var(--accent-fg); font: 600 10px/16px var(--font-mono); text-align: center; }
.badge[data-count="0"] { display: none; }
.tool-wish, .tool-search { display: none; }
/* mobile menu (native popover) */
.menu { inset: 0 0 0 auto; width: min(420px, 100%); height: 100dvh; max-height: none; margin: 0; padding: var(--s-5); border: 0; background: var(--surface); color: var(--fg); box-shadow: var(--shadow-overlay); }
.menu::backdrop { background: rgba(21, 17, 15, .45); }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-6); }
.menu nav a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.75rem; text-decoration: none; }
.menu nav a span { font: 500 var(--t-meta) var(--font-mono); color: var(--fg-muted); }
.menu .menu-foot { margin-top: var(--s-6); display: grid; gap: var(--s-3); font-size: var(--t-small); color: var(--fg-muted); }
@media (prefers-reduced-motion: no-preference) {
  .menu { transition: translate 260ms var(--ease), display 260ms allow-discrete, overlay 260ms allow-discrete; translate: 100% 0; }
  .menu:popover-open { translate: 0 0; }
  @starting-style { .menu:popover-open { translate: 100% 0; } }
}
/* ---------- section heads ---------- */
.section { padding-block: var(--s-9); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.section-head .meta { margin-bottom: var(--s-1); }
.section-head > .link-arrow { justify-self: start; }
.section-head p.sub { color: var(--fg-muted); max-width: 52ch; }
/* ---------- products (shared with the homepage) ---------- */
.tabs { display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; padding: 0; margin: 0; list-style: none; white-space: nowrap; }
.tabs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s-3); border-radius: 999px; font-size: var(--t-small); text-decoration: none; color: var(--ink-soft); border: 1px solid transparent; }
.tabs a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.tabs a:not([aria-current]):hover { border-color: var(--line-strong); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
.product { position: relative; display: flex; flex-direction: column; gap: var(--s-3); }
.product-media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--surface-2); aspect-ratio: 4 / 5; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.product:hover .product-media img { transform: scale(1.03); }
.tag { position: absolute; top: var(--s-3); left: var(--s-3); padding: 3px var(--s-2); border-radius: var(--r-control); background: var(--surface); font: 500 11px/1.4 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.tag-accent { background: var(--oxblood); color: var(--accent-fg); }
.product:hover .quick-add, .product:focus-within .quick-add { opacity: 1; translate: 0 0; }
.product-info { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-3); align-items: baseline; }
.product-info .label { grid-column: 1 / -1; }
.product-info h3 { font: 500 var(--t-body)/1.35 var(--font-text); }
.product-info h3 a { text-decoration: none; }
.product-info h3 a::after { content: ""; position: absolute; inset: 0; }
/* whole-card link; quick-add sits above */
.product .quick-add { z-index: 2; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: var(--t-meta); color: var(--fg-muted); }
.swatches { display: flex; gap: 6px; padding: 0; margin: 0; list-style: none; }
.swatches li { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.stock { display: inline-flex; align-items: center; gap: 6px; font: 500 var(--t-meta) var(--font-mono); color: var(--oxblood); }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* ---------- newsletter + footer ---------- */
.site-footer { background: var(--night); color: var(--paper-dim); padding-top: var(--s-9); font-size: var(--t-small); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.newsletter { display: grid; gap: var(--s-5); padding-bottom: var(--s-8); border-bottom: 1px solid var(--night-line); }
.newsletter .h2 { color: var(--paper); }
.newsletter .h2 em { color: #e3b9b4; }
.nl-form { display: grid; gap: var(--s-2); max-width: 480px; }
.nl-form label { font: 500 var(--t-meta) var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.nl-row { display: flex; gap: var(--s-2); }
.nl-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--s-4); border: 1px solid var(--night-line); border-radius: var(--r-control); background: var(--night-2); color: var(--paper); font: inherit; font-size: var(--t-body); }
.nl-row input::placeholder { color: #a69b90; }
.nl-row input:focus-visible { outline: 2px solid #e3b9b4; outline-offset: 2px; }
.nl-form small { color: #a69b90; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); padding-block: var(--s-7); }
.footer-grid h3 { font: 500 var(--t-meta) var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: #a69b90; margin-bottom: var(--s-3); }
.footer-grid ul { display: grid; gap: var(--s-2); padding: 0; margin: 0; list-style: none; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: var(--s-3); }
.footer-brand .logo-name { color: var(--paper); font-size: 2rem; }
.footer-brand address { font-style: normal; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid var(--night-line); color: #a69b90; font-size: var(--t-meta); }
/* ---------- motion: scroll-driven reveals (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rise { from { opacity: 0; translate: 0 24px; } }
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}
/* =========================================================
   ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  .utility li:nth-child(2) { display: list-item; }
  .utility .status-hours { display: inline; }
  .product-grid { gap: var(--s-7) var(--s-5); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* =========================================================
   ≥ 960px
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .utility li:nth-child(3) { display: list-item; }
  .site-header .wrap { grid-template-columns: 1fr auto 1fr; }
  .nav { display: block; }
  .tools { justify-content: flex-end; }
  .tool-wish, .tool-search { display: inline-grid; }
  .menu-btn { display: none; }
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .newsletter { grid-template-columns: 1fr 1fr; align-items: end; }
  .nl-form { justify-self: end; width: 100%; }
  .footer-grid { grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

/* =========================================================
   INNER PAGES (2026): components built on the tokens above
   ========================================================= */
main { display: block; }
main:focus { outline: 0; }
html.has-dialog { overflow: hidden; }
[hidden] { display: none !important; }
.noscript { padding-block: var(--s-6); color: var(--fg-muted); }

/* ---------- shared bits ---------- */
.serif-lg { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.01em; }
.fine { font-size: var(--t-meta); color: var(--fg-muted); line-height: 1.5; }
.price-lg { font-size: 1.125rem; }
.btn-sm { min-height: 44px; padding: 0 var(--s-4); }
.btn-lg { min-height: 52px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: inherit; }
.text-btn { border: 0; background: none; padding: 0; min-height: 44px; font-size: var(--t-small); color: var(--fg-muted); text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--ink); }
.lbl { font: 500 var(--t-meta)/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--t-body); }
.textarea { min-height: 140px; padding: var(--s-3) var(--s-4); resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--oxblood); box-shadow: inset 3px 0 0 var(--oxblood); }
.select { appearance: none; padding-right: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23171412' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.field { display: grid; gap: var(--s-2); }
.field > span { font-size: var(--t-small); font-weight: 500; }
.field .hint { font-weight: 400; color: var(--fg-muted); }
.form-note { padding: var(--s-3) var(--s-4); border-left: 3px solid var(--oxblood); background: var(--oxblood-tint); font-size: var(--t-small); color: var(--oxblood-ink); }

/* ---------- page head ---------- */
.page-head { padding-block: var(--s-6) var(--s-7); }
.page-head-grid { display: grid; gap: var(--s-5); }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.75rem, 1.5rem + 5vw, 6rem); line-height: .96; letter-spacing: -.02em; }
.page-title em { font-style: italic; color: var(--accent); }
.page-head .lede { margin-top: var(--s-4); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-5); }
.crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-aside { display: grid; gap: var(--s-2); align-content: end; color: var(--fg-muted); font-size: var(--t-small); }
.page-aside strong { color: var(--ink); font-weight: 500; }

/* ---------- filter toolbar (shop, new arrivals) ---------- */
.toolbar { position: sticky; top: var(--header-h); z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.toolbar-in { display: grid; gap: var(--s-2); padding-block: var(--s-3); }
.filters { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--margin) * -1); padding: 2px var(--margin); scroll-padding-inline: var(--margin); }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: var(--t-small); font-weight: 500; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fchip-n { font: 500 var(--t-meta) var(--font-mono); color: var(--fg-muted); }
.fchip[aria-pressed="true"] .fchip-n { color: var(--paper-dim); }
.toolbar-end { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.toolbar-end .count { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); }
.sort { display: flex; align-items: center; gap: var(--s-3); }
.sort .select { width: auto; min-width: 160px; min-height: 44px; }

/* ---------- product grid and cards ---------- */
.grid-sec { padding-block: var(--s-6) var(--s-9); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); grid-auto-flow: dense; }
.product-media { aspect-ratio: 4 / 5; isolation: isolate; z-index: 2; }
.media-link { position: absolute; inset: 0; z-index: 1; }
.product-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--o, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.product:hover .product-media img.ph { transform: scale(calc(var(--z, 1) * 1.03)); }
.tile { position: absolute; inset: 0; display: grid; place-items: center; }
.tile svg.garment { width: 66%; height: auto; max-height: 86%; color: var(--g, var(--ink)); }
.wish { position: absolute; top: var(--s-1); right: var(--s-1); z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; color: var(--ink); }
.wish svg { width: 22px; height: 22px; transition: fill var(--dur) var(--ease), color var(--dur) var(--ease); }
.wish::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 88%, transparent); z-index: -1; transition: background var(--dur) var(--ease); }
.wish:hover::before { background: var(--surface); }
.wish[aria-pressed="true"] svg { fill: var(--oxblood); color: var(--oxblood); }
.qv-open { position: absolute; right: var(--s-2); bottom: var(--s-2); z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 rgba(23,20,18,.06), 0 6px 16px -6px rgba(23,20,18,.3); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.qv-open svg { width: 18px; height: 18px; }
.qv-open:hover { background: var(--ink); color: var(--paper); }
.product-info .label { margin-bottom: 0; }
.product-foot span:last-child { font-family: var(--font-mono); letter-spacing: .02em; }
.swatches li { width: 14px; height: 14px; }

.promo { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; background: var(--night); color: var(--paper); border-radius: var(--r-media); overflow: hidden; }
.promo-copy { display: grid; gap: var(--s-3); align-content: center; padding: var(--s-6) var(--s-5); order: 2; }
.promo-copy .meta { color: var(--paper-dim); }
.promo-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; letter-spacing: -.01em; }
.promo-copy p:not(.meta) { color: var(--paper-dim); font-size: var(--t-small); max-width: 36ch; }
.promo-copy .link-arrow { justify-self: start; color: var(--paper); }
.promo-img { aspect-ratio: 16 / 10; order: 1; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.promo-help { grid-column: 1 / -1; display: grid; border-block: 1px solid var(--line); margin-block: var(--s-4); }
.promo-help a { display: grid; gap: 2px; padding: var(--s-4) 0; text-decoration: none; border-bottom: 1px solid var(--line); min-height: 44px; }
.promo-help a:last-child { border-bottom: 0; }
.promo-help strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.promo-help span:last-child { font-size: var(--t-small); color: var(--fg-muted); }
.promo-help a:hover strong { color: var(--oxblood); }

/* ---------- index rows (new arrivals, labels, wishlist) ---------- */
.rows { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-2) var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-media { position: relative; display: block; grid-row: 1 / span 2; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--surface-2); isolation: isolate; }
.row-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--o, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.row-media .tile svg.garment { width: 74%; }
.row-main h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-top: 2px; }
.row-main h3 a { text-decoration: none; }
.row-main h3 a:hover { color: var(--oxblood); }
.row-blurb { display: none; color: var(--fg-muted); font-size: var(--t-small); max-width: 52ch; margin-top: var(--s-2); }
.row-side { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.row-sizes { font: 500 var(--t-meta) var(--font-mono); color: var(--fg-muted); letter-spacing: .02em; }
.row-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-2); }
.row-actions .wish { position: relative; top: auto; right: auto; border: 1px solid var(--line-strong); border-radius: var(--r-control); }
.row-actions .wish::before { display: none; }
.rows-tight .row { grid-template-columns: 56px minmax(0, 1fr); }
.rows-tight .row-actions { display: none; }

/* new arrivals lead */
.lead { display: grid; gap: var(--s-5); padding-bottom: var(--s-8); }
.lead-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-media); background: var(--surface-2); overflow: hidden; isolation: isolate; }
.lead-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--o, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.lead-media .tile svg.garment { width: 58%; }
.lead-copy { display: grid; gap: var(--s-4); align-content: center; }
.lead-copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); line-height: .98; letter-spacing: -.02em; }
.lead-copy h2 a { text-decoration: none; }
.lead-copy .swatches { margin-block: 2px; }
.size-line { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0; margin: var(--s-2) 0 0; list-style: none; }
.size-line li { display: inline-flex; align-items: baseline; gap: 6px; min-width: 44px; justify-content: center; padding: var(--s-2) var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-control); font: 500 var(--t-small) var(--font-mono); }
.size-line li small { color: var(--oxblood); font-size: 11px; }
.size-line li.is-out { color: var(--fg-muted); border-style: dashed; text-decoration: line-through; }
.lead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.lead-actions .wish { position: relative; top: auto; right: auto; border: 1px solid var(--line-strong); border-radius: var(--r-control); }
.lead-actions .wish::before { display: none; }
.index-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-4); }
.index-head h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h3); }

/* ---------- product page ---------- */
.pdp { padding-block: var(--s-4) var(--s-8); }
.pdp-grid { display: grid; gap: var(--s-6); }
.gallery { display: grid; gap: var(--s-3); align-content: start; }
.stage { position: relative; margin: 0; display: grid; gap: var(--s-2); order: 1; }
.stage-img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-media); background: var(--surface-2); overflow: hidden; isolation: isolate; }
.stage-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-img .tile svg.garment { width: 62%; }
.stage figcaption { color: var(--fg-muted); }
.thumbs { display: flex; gap: var(--s-2); order: 2; }
.thumbs button { position: relative; width: 64px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2); overflow: hidden; isolation: isolate; }
.thumbs button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.thumbs .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs .tile svg.garment { width: 72%; }
.buy { display: grid; gap: var(--s-4); align-content: start; }
.pdp-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; letter-spacing: -.02em; }
.buy .meta a { text-decoration: none; color: var(--oxblood); }
.buy .meta a:hover { text-decoration: underline; }
.pdp-blurb { color: var(--ink-soft); max-width: 46ch; }
.opt { display: grid; gap: var(--s-2); }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.opt-val { font-size: var(--t-small); font-weight: 500; }
.opt-link { font-size: var(--t-small); display: inline-flex; align-items: center; min-height: 44px; }
.sw-pick, .size-pick { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.sw { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 50%; }
.sw::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid var(--ink); }
.size { min-width: 52px; min-height: 48px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); font: 500 var(--t-small) var(--font-mono); transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size[data-out="true"] { color: var(--fg-muted); border-style: dashed; text-decoration: line-through; background: transparent; }
.size[data-out="true"][aria-pressed="true"] { color: var(--paper); background: var(--ink-soft); }
.buy-status { margin: var(--s-3) 0 var(--s-4); min-height: 1.5em; font: 500 var(--t-meta)/1.5 var(--font-mono); letter-spacing: .02em; color: var(--fg-muted); }
.buy-status.is-low { color: var(--oxblood); }
.buy-actions { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2); }
.wish-btn svg { width: 18px; height: 18px; }
.wish-btn[aria-pressed="true"] svg { fill: var(--oxblood); color: var(--oxblood); }
.notify { display: grid; gap: var(--s-2); padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.notify-row { display: flex; gap: var(--s-2); }
.notify-row .input { flex: 1; min-width: 0; }
.assure { display: grid; gap: 0; padding: 0; margin: var(--s-2) 0 0; list-style: none; border-top: 1px solid var(--line); }
.assure li { display: grid; gap: 2px; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.assure strong { font-weight: 500; }
.assure span { color: var(--fg-muted); }
.acc { border-bottom: 1px solid var(--line); }
.acc-list { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 56px; cursor: pointer; list-style: none; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--font-mono); transition: rotate var(--dur) var(--ease); }
.acc[open] summary::after { content: "\2212"; }
.acc-body, .detail-list { padding: 0 0 var(--s-4); color: var(--ink-soft); font-size: var(--t-small); display: grid; gap: var(--s-3); max-width: 56ch; }
.detail-list { padding-left: 0; margin: 0; list-style: none; gap: var(--s-2); }
.detail-list li { position: relative; padding-left: var(--s-4); }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--ink); }
.buybar { position: fixed; inset: auto 0 0 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--margin); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(23,20,18,.2); }
.buybar-name { font-weight: 500; }
.related { padding-block: var(--s-8) var(--s-9); border-top: 1px solid var(--line); }
.related .section-head { margin-bottom: var(--s-5); }
body[data-page="product"] .site-footer { padding-bottom: 0; }
.empty { padding-block: var(--s-9); display: grid; gap: var(--s-4); }

/* ---------- dialogs: bag sheet + quick view ---------- */
dialog { color: var(--fg); }
.sheet, .qv { max-width: none; padding: 0; border: 0; background: var(--surface); box-shadow: var(--shadow-overlay); }
.sheet::backdrop, .qv::backdrop { background: rgba(21, 17, 15, .5); }
.sheet { margin: 0 0 0 auto; width: min(440px, 100%); height: 100dvh; max-height: none; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; }
.sheet-body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5); }
.sheet-foot { padding: var(--s-4) var(--s-5) var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-3); background: var(--surface); }
.sheet-foot:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; }
.empty-mini { display: grid; gap: var(--s-3); justify-items: start; padding-block: var(--s-6); }
.qv { margin: auto; width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: 8px; overflow: auto; }
.qv-close { position: absolute; top: var(--s-2); right: var(--s-2); z-index: 3; background: color-mix(in srgb, var(--surface) 90%, transparent); }
.qv-body { display: grid; }
.qv-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; isolation: isolate; }
.qv-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--o, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.qv-media .tile svg.garment { width: 40%; }
.qv-info { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); }
.qv-info h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; line-height: 1; letter-spacing: -.01em; }
.qv-blurb { color: var(--ink-soft); font-size: var(--t-small); }
@media (max-width: 759px) { .qv { margin: auto 0 0; width: 100%; max-height: 92dvh; border-radius: 12px 12px 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .sheet, .qv { transition: opacity 220ms var(--ease), translate 260ms var(--ease), overlay 260ms allow-discrete, display 260ms allow-discrete; opacity: 0; translate: 40px 0; }
  .qv { translate: 0 24px; }
  .sheet[open], .qv[open] { opacity: 1; translate: 0 0; }
  @starting-style { .sheet[open] { opacity: 0; translate: 40px 0; } .qv[open] { opacity: 0; translate: 0 24px; } }
  .sheet::backdrop, .qv::backdrop { transition: opacity 220ms var(--ease), overlay 220ms allow-discrete, display 220ms allow-discrete; opacity: 0; }
  .sheet[open]::backdrop, .qv[open]::backdrop { opacity: 1; }
  @starting-style { .sheet[open]::backdrop, .qv[open]::backdrop { opacity: 0; } }
}

/* ---------- bag lines + meter ---------- */
.meter-wrap { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.meter-text { font-size: var(--t-small); font-weight: 500; }
.meter { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.meter span { display: block; height: 100%; background: var(--oxblood); transform-origin: left; transition: transform 400ms var(--ease); }
.lines { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.line-media { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--surface-2); isolation: isolate; }
.line-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--o, 50% 50%); transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.line-media .tile svg.garment { width: 74%; }
.line-main { display: grid; gap: 2px; align-content: start; min-width: 0; }
.line-main h3 { font: 500 var(--t-body)/1.3 var(--font-text); }
.line-main h3 a { text-decoration: none; }
.line-spec { color: var(--fg-muted); font-size: var(--t-small); }
.line-note { font: 500 var(--t-meta) var(--font-mono); color: var(--oxblood); }
.line-side { display: grid; justify-items: end; align-content: space-between; }
.qty { display: inline-flex; align-items: center; margin-top: var(--s-2); border: 1px solid var(--line-strong); border-radius: var(--r-control); width: max-content; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.125rem; }
.qty button:hover { background: var(--surface-2); }
.qty button[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 28px; text-align: center; font: 500 var(--t-small) var(--font-mono); }

/* ---------- bag page ---------- */
.bag-layout { display: grid; gap: var(--s-7); padding-bottom: var(--s-9); align-items: start; }
.lines-lg .line { grid-template-columns: 88px minmax(0, 1fr) auto; }
.summary { display: grid; gap: var(--s-5); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.summary h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2) 0; margin: 0; font-size: var(--t-small); }
.sum dd { margin: 0; text-align: right; padding-left: var(--s-4); }
.sum .sum-total { padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--t-body); font-weight: 500; }
.checkout { display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.checkout h3 { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.empty-panel { display: grid; gap: var(--s-6); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.empty-panel > div { display: grid; gap: var(--s-4); align-content: start; }
.empty-panel p { max-width: 46ch; color: var(--ink-soft); }
.bag-extra { margin-top: var(--s-7); }
.bag-main > .acc-list { margin-top: var(--s-7); }
.bag-layout:has(.summary[hidden]) .bag-main { grid-column: 1 / -1; }

/* ---------- lookbook ---------- */
.looks { display: grid; gap: var(--s-9); padding-bottom: var(--s-9); }
.look { display: grid; gap: var(--s-5); scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
.look-frame { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-media); overflow: hidden; background: var(--surface-2); }
.look-frame img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 50%; }
.hotspot::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px rgba(23,20,18,.35), 0 4px 12px rgba(23,20,18,.35); }
.hotspot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--paper); opacity: .75; }
.hotspot:hover::before { background: var(--oxblood); box-shadow: 0 0 0 2px var(--paper); }
.hotspot:focus-visible { outline: 2px solid var(--paper); outline-offset: 0; box-shadow: 0 0 0 4px var(--oxblood); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ping { 0% { scale: .8; opacity: .8; } 80%, 100% { scale: 1.5; opacity: 0; } }
  .hotspot::after { animation: ping 2.8s var(--ease) infinite; }
}
.look-hint { margin-top: var(--s-2); }
.look-copy { display: grid; gap: var(--s-4); align-content: start; }
.look-no { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--oxblood); }
.look-copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); line-height: .98; letter-spacing: -.02em; }
.look-copy > p { color: var(--ink-soft); max-width: 42ch; font-size: var(--t-lede); line-height: 1.5; }
.look-items { padding: 0; margin: var(--s-2) 0 0; list-style: none; border-top: 1px solid var(--line); }
.look-items li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: var(--s-1) var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.look-items .sw-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.look-items a { text-decoration: none; font-weight: 500; }
.look-items a:hover { text-decoration: underline; }
.look-col { color: var(--fg-muted); font-size: var(--t-small); font-weight: 400; }
.look-items .btn { grid-column: 2 / -1; justify-self: start; }
.look-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); }
.look-total .sum-lbl { display: grid; font-family: var(--font-display); font-size: 2.25rem; line-height: 1; }
.look-total .sum-lbl small { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: var(--s-1); }
.stills { background: var(--surface); border-block: 1px solid var(--line); }
.still-grid { display: grid; gap: var(--s-6); }
.still { margin: 0; display: grid; gap: var(--s-3); }
.still figcaption { display: flex; justify-content: space-between; gap: var(--s-4); }
.still .look-frame { aspect-ratio: 4 / 5; }
.cta-band { background: var(--night); color: var(--paper); }
.cta-band .wrap { display: grid; gap: var(--s-5); padding-block: var(--s-8); align-items: end; }
.cta-band .h2 em { color: #e3b9b4; }
.cta-band .meta { color: var(--paper-dim); }
.cta-band p:not(.meta) { color: var(--paper-dim); max-width: 44ch; }

/* ---------- labels ---------- */
.labels-layout { display: grid; gap: var(--s-6); padding-bottom: var(--s-9); }
.label-nav { align-self: start; }
.label-nav ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.label-nav a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); min-height: 48px; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-size: 1.375rem; line-height: 1.1; }
.label-nav a span { font: 500 var(--t-meta) var(--font-mono); color: var(--fg-muted); }
.label-nav a:hover { color: var(--oxblood); }
.label-list { display: grid; gap: var(--s-8); }
.label { scroll-margin-top: calc(var(--header-h) + var(--s-5)); display: grid; gap: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--ink); }
.label-head { display: grid; gap: var(--s-2); }
.label-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.75rem, 2rem + 3vw, 5rem); line-height: .95; letter-spacing: -.02em; }
.label-kind { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.label-kind .meta:first-child { color: var(--oxblood); }
.label-copy { color: var(--ink-soft); max-width: 52ch; font-size: var(--t-lede); line-height: 1.5; }
.label-photo { margin: 0; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.label-photo img { width: 100%; height: 100%; object-fit: cover; }
.label-note { font-size: var(--t-small); color: var(--fg-muted); }
.label-note a { color: var(--ink); }

/* ---------- journal ---------- */
.jf { display: grid; gap: var(--s-5); position: relative; padding-bottom: var(--s-8); }
.jf-media { margin: 0; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.jf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.jf:hover .jf-media img { transform: scale(1.03); }
.jf-copy { display: grid; gap: var(--s-4); align-content: end; }
.jf-copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); line-height: .98; letter-spacing: -.02em; }
.jf-copy h2 a, .jl h3 a { text-decoration: none; }
.jf-copy h2 a::after, .jl h3 a::after { content: ""; position: absolute; inset: 0; }
.jf-copy p:not(.meta) { color: var(--ink-soft); max-width: 40ch; }
.jl-list { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--ink); }
.jl { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.jl-media { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface-2); }
.jl-media img { width: 100%; height: 100%; object-fit: cover; }
.jl h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.05; margin: var(--s-1) 0; }
.jl p:not(.meta) { color: var(--fg-muted); font-size: var(--t-small); max-width: 48ch; }
.jl:hover h3 { color: var(--oxblood); }

.article-head { padding-block: var(--s-6) var(--s-6); display: grid; gap: var(--s-4); }
.article-head .page-title { max-width: 14ch; }
.article-hero { margin: 0 0 var(--s-7); border-radius: var(--r-media); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); }
.glance { align-self: start; display: grid; gap: var(--s-3); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.glance dl { display: grid; gap: var(--s-3); margin: 0; }
.glance dt { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.glance dd { margin: 2px 0 0; font-size: var(--t-small); }
.prose { max-width: 62ch; font-size: 1.125rem; line-height: 1.7; color: var(--ink-soft); }
.prose p + p { margin-top: var(--s-5); }
.prose a { color: var(--oxblood); }
.dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 5.25rem; line-height: .8; padding: 6px 12px 0 0; color: var(--oxblood); }
.mentioned { padding-block: var(--s-7); border-top: 1px solid var(--line); }
.mentioned .index-head { margin-bottom: var(--s-4); }
.next-up { padding-block: var(--s-8) var(--s-9); border-top: 1px solid var(--line); }
.next-up .jl-list { margin-top: var(--s-5); }

/* ---------- about ---------- */
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; margin: 0 0 var(--s-8); list-style: none; border-top: 1px solid var(--ink); }
.about-facts li { padding: var(--s-4) var(--s-3) var(--s-4) 0; border-bottom: 1px solid var(--line); }
.about-facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.01em; }
.about-facts span { font-size: var(--t-small); color: var(--fg-muted); }
.split { display: grid; gap: var(--s-6); align-items: center; padding-block: var(--s-6); }
.split figure { margin: 0; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: var(--s-4); align-content: center; }
.split-copy p:not(.meta) { color: var(--ink-soft); max-width: 50ch; }
.visit-list { padding: 0; margin: var(--s-5) 0 0; list-style: none; border-top: 1px solid var(--ink); }
.visit-list li { display: grid; gap: var(--s-1) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.visit-list h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; }
.visit-list address { font-style: normal; color: var(--ink-soft); }
.visit-list .vl-note { color: var(--fg-muted); font-size: var(--t-small); }

/* ---------- click & collect ---------- */
.steps-3 { counter-reset: st; display: grid; gap: 0; padding: 0; margin: 0 0 var(--s-8); list-style: none; border-top: 1px solid var(--ink); }
.steps-3 li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-content: start; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.steps-3 li::before { content: counter(st, decimal-leading-zero); font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--oxblood); }
.steps-3 h3 { font: 500 var(--t-body)/1.4 var(--font-text); }
.steps-3 p { color: var(--fg-muted); font-size: var(--t-small); max-width: 38ch; }
.collect-layout { display: grid; gap: var(--s-6); align-items: start; }
.collect-form { display: grid; gap: var(--s-6); }
.fset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-3); min-width: 0; }
.fset legend { padding: 0; margin-bottom: var(--s-3); font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--oxblood); }
.choice { display: block; position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-card { display: grid; gap: 2px; padding: var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-media); background: var(--surface); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.choice-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.choice-card span { font-size: var(--t-small); color: var(--ink-soft); }
.choice-card .choice-note { color: var(--fg-muted); }
.choice:hover .choice-card { border-color: var(--ink); }
.choice input:checked + .choice-card { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + .choice-card { outline: 2px solid var(--focus); outline-offset: 2px; }
.slots { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.slot { min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font: 500 var(--t-small) var(--font-mono); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fields-2 { display: grid; gap: var(--s-4); }
.collect-aside { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.collect-aside h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; }
.collect-aside dl { display: grid; gap: var(--s-3); margin: 0; }
.collect-aside dt { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.collect-aside dd { margin: 2px 0 0; font-size: var(--t-small); }
.collect-aside dd strong { font-weight: 500; font-size: var(--t-body); }
.shop-rows { padding: 0; margin: var(--s-5) 0 0; list-style: none; border-top: 1px solid var(--ink); }
.shop-rows li { display: grid; gap: var(--s-1) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + var(--s-5)); }
.shop-rows h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; line-height: 1; }
.shop-rows address { font-style: normal; color: var(--ink-soft); }
.shop-rows .vl-note { color: var(--fg-muted); font-size: var(--t-small); }
.shop-rows li:target h3 { color: var(--oxblood); }
.shop-status { display: inline-flex; align-items: center; gap: var(--s-2); font: 500 var(--t-meta) var(--font-mono); letter-spacing: .02em; }
.faq { max-width: 760px; }

/* ---------- size guide ---------- */
.sg-layout { display: grid; gap: var(--s-7); padding-bottom: var(--s-9); align-items: start; }
.sg-controls { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.seg button { min-height: 44px; padding: 0 var(--s-4); border: 0; border-radius: 999px; background: transparent; font-size: var(--t-small); font-weight: 500; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:not([aria-selected="true"]):not([aria-pressed="true"]):hover { background: var(--surface-2); }
.chart-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.chart-wrap:focus-visible { outline-offset: 2px; }
.chart { width: 100%; border-collapse: collapse; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.chart caption { text-align: left; padding: var(--s-4); color: var(--fg-muted); caption-side: top; border-bottom: 1px solid var(--line); }
.chart th, .chart td { padding: var(--s-3) var(--s-4); text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chart tbody tr:last-child > * { border-bottom: 0; }
.chart thead th { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); background: var(--surface-2); }
.chart tbody th { font-weight: 500; }
.chart .code { display: inline-block; min-width: 40px; margin-right: var(--s-3); font: 500 var(--t-meta) var(--font-mono); color: var(--oxblood); }
.chart tbody tr:hover > * { background: var(--oxblood-tint); }
.finder { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.finder h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.finder-fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.finder-result { min-height: 1.5em; font-size: var(--t-small); color: var(--ink-soft); }
.finder-result:not(:empty) { padding: var(--s-4); background: var(--oxblood-tint); border-left: 3px solid var(--oxblood); color: var(--oxblood-ink); }
.fit-notes { margin: var(--s-7) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.fit-notes li { display: grid; gap: var(--s-1) var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.fit-notes strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.fit-notes span { color: var(--fg-muted); font-size: var(--t-small); }

/* ---------- contact ---------- */
.contact-layout { display: grid; gap: var(--s-7); padding-bottom: var(--s-9); align-items: start; }
.contact-details { display: grid; gap: var(--s-6); }
.contact-details h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; }
.dl-rows { margin: 0; border-top: 1px solid var(--ink); }
.dl-rows > div { display: grid; gap: 2px var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.dl-rows dt { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.dl-rows dd { margin: 0; }
.dl-rows a { text-decoration-thickness: 1px; }
.map { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-media); background-color: var(--surface-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='%23ded6ca'/%3E%3C/svg%3E"); overflow: hidden; border: 1px solid var(--line); }
.map::before { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 14px; background: var(--paper); rotate: -6deg; box-shadow: 0 0 0 1px var(--line-strong); }
.map::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 10px; background: var(--paper); rotate: 8deg; box-shadow: 0 0 0 1px var(--line-strong); }
.map-pin { position: absolute; left: 52%; top: 40%; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--oxblood); box-shadow: 0 0 0 6px color-mix(in srgb, var(--oxblood) 22%, transparent); }
.map-label { position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 2; padding: 3px var(--s-2); background: var(--surface); border-radius: var(--r-control); }
.contact-form { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); }
.contact-form h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; }
.topics { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.topics button { min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: var(--t-small); font-weight: 500; }
.topics button:hover { border-color: var(--ink); }
.topics button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- wishlist ---------- */
.wl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.wl-head .meta { margin: 0; }
body[data-page="wishlist"] main, body[data-page="bag"] main { min-height: 60vh; }

/* ---------- reveal fallback hint ---------- */
@media (prefers-reduced-motion: reduce) { .hotspot::after { animation: none !important; } }

/* =========================================================
   ≥ 640px
   ========================================================= */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
  .promo { grid-column: span 2; grid-template-columns: 1fr 1fr; }
  .promo-copy { order: 1; padding: var(--s-6); }
  .promo-img { order: 2; aspect-ratio: auto; min-height: 100%; }
  .promo-help { grid-template-columns: repeat(3, 1fr); }
  .promo-help a { border-bottom: 0; border-right: 1px solid var(--line); padding: var(--s-5) var(--s-5) var(--s-5) 0; }
  .promo-help a + a { padding-left: var(--s-5); }
  .promo-help a:last-child { border-right: 0; }
  .toolbar-in { grid-template-columns: 1fr; }
  .row { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .row-media { grid-row: auto; }
  .row-side { grid-column: auto; flex-direction: column; align-items: flex-end; gap: var(--s-1); }
  .row-actions { grid-column: auto; }
  .row-blurb { display: block; }
  .fields-2 { grid-template-columns: 1fr 1fr; }
  .qv-body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .qv-media { aspect-ratio: auto; min-height: 100%; }
  .still-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .still:nth-child(2) { margin-top: var(--s-8); }
  .about-facts { grid-template-columns: repeat(4, 1fr); }
  .steps-3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); border-top: 0; }
  .steps-3 li { grid-template-columns: 1fr; border-top: 1px solid var(--ink); border-bottom: 0; padding-top: var(--s-4); gap: var(--s-3); }
  .label-nav ol { grid-template-columns: repeat(3, 1fr); }
  .finder-fields { grid-template-columns: 1fr 1fr; }
  .jl { grid-template-columns: 160px minmax(0, 1fr); }
  .lines-lg .line { grid-template-columns: 120px minmax(0, 1fr) auto; }
  .visit-list li { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); align-items: baseline; }
  .shop-rows li { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr); align-items: baseline; }
  .dl-rows > div { grid-template-columns: 120px 1fr; }
  .fit-notes li { grid-template-columns: 1fr 1.4fr; align-items: baseline; }
  .empty-panel { grid-template-columns: 1fr 1fr; }
  .toolbar-in { padding-block: var(--s-3); }
}

/* =========================================================
   ≥ 960px
   ========================================================= */
@media (min-width: 960px) {
  .page-head { padding-block: var(--s-8) var(--s-8); }
  .page-head-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
  .page-head-grid > :first-child { grid-column: 1 / span 8; }
  .page-head-grid > .page-aside { grid-column: 10 / -1; }
  .toolbar-in { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-6); }
  .filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-8) var(--gutter); }
  .qv-open { opacity: 0; translate: 0 6px; transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
  .product:hover .qv-open, .product:focus-within .qv-open, .qv-open:focus-visible { opacity: 1; translate: 0 0; }
  @media (hover: none) { .qv-open { opacity: 1; translate: 0 0; } }
  .lead { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
  .lead-media { grid-column: 1 / span 6; }
  .lead-copy { grid-column: 8 / -1; }
  .row { grid-template-columns: 96px minmax(0, 1fr) 140px auto; gap: var(--s-5); padding: var(--s-5) 0; align-items: center; }
  .row-side { align-items: flex-start; }
  .pdp-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
  .gallery { grid-column: 1 / span 7; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-4); }
  .thumbs { order: 1; flex-direction: column; }
  .stage { order: 2; }
  .buy { grid-column: 9 / -1; }
  .buybar { display: none; }
  @media (min-height: 760px) { .buy { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
  .bag-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .bag-main { grid-column: 1 / span 7; }
  .summary { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
  .looks { gap: var(--s-10); }
  .look { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
  .look-media { grid-column: 1 / span 6; }
  .look-copy { grid-column: 8 / -1; }
  .look:nth-child(even) .look-media { grid-column: 7 / -1; grid-row: 1; }
  .look:nth-child(even) .look-copy { grid-column: 1 / span 5; grid-row: 1; }
  .cta-band .wrap { grid-template-columns: 1fr auto; }
  .labels-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .label-nav { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
  .label-nav ol { grid-template-columns: 1fr; }
  .label-list { grid-column: 5 / -1; }
  .jf { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
  .jf-media { grid-column: 1 / span 7; }
  .jf-copy { grid-column: 9 / -1; }
  .article-head { padding-block: var(--s-8) var(--s-7); }
  .article-hero { aspect-ratio: 21 / 9; }
  .article-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .glance { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
  .prose { grid-column: 5 / span 7; }
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-block: var(--s-7); }
  .split figure { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
  .split .split-copy { grid-column: 9 / -1; }
  .split.rev figure { grid-column: 6 / -1; grid-row: 1; }
  .split.rev .split-copy { grid-column: 1 / span 4; grid-row: 1; }
  .collect-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .collect-form { grid-column: 1 / span 7; }
  .collect-aside { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
  .sg-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .sg-main { grid-column: 1 / span 7; }
  .finder { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
  .contact-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .contact-details { grid-column: 1 / span 5; }
  .contact-form { grid-column: 7 / -1; }
}
