/* =========================================================
   Thread & Needle: 2026 homepage redesign
   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; } }
}

/* ---------- hero ---------- */
.hero { padding-block: var(--s-6) var(--s-8); }
.hero-grid { display: grid; gap: var(--s-6); }
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); }
.hero-copy .display { font-size: var(--t-display); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); padding: var(--s-5) 0 0; margin: var(--s-2) 0 0; border-top: 1px solid var(--line); list-style: none; }
.proof dt { font: 500 var(--t-meta)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); margin-bottom: var(--s-1); }
.proof dd { font-size: var(--t-small); line-height: 1.4; color: var(--ink); }
.proof dd strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.05; margin-bottom: 2px; }
.hero-media { position: relative; border-radius: var(--r-media); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.look-tag {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  display: grid; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-media);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-overlay);
}
.look-tag header { display: flex; justify-content: space-between; align-items: baseline; }
.look-tag ul { display: grid; gap: var(--s-2); padding: 0; margin: 0; list-style: none; }
.look-tag li a { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: var(--s-3); min-height: 32px; text-decoration: none; font-size: var(--t-small); }
.look-tag li a:hover .n { text-decoration: underline; }
.look-tag .sw { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.look-tag .n small { color: var(--fg-muted); font-size: var(--t-meta); margin-left: var(--s-1); }
.hero-caption { position: absolute; top: var(--s-4); left: var(--s-4); color: #fbf9f5; background: rgba(21,17,15,.55); padding: var(--s-1) var(--s-2); border-radius: var(--r-control); font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- category chips ---------- */
.cats { padding-bottom: var(--s-8); }
.cats-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-4); }
.chips { display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding: 2px 2px var(--s-2); margin: 0 calc(var(--margin) * -1); padding-inline: var(--margin); scrollbar-width: none; list-style: none; }
.chips::-webkit-scrollbar { display: none; }
.chips li { scroll-snap-align: start; flex: none; }
.chip { display: inline-flex; align-items: center; gap: var(--s-3); height: 56px; padding: 0 var(--s-4) 0 var(--s-2); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; font-size: var(--t-small); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.chip .count { font: 500 var(--t-meta) var(--font-mono); color: var(--fg-muted); }

/* ---------- 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 ---------- */
.arrivals { border-top: 1px solid var(--line); }
.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); }
.quick-add { position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); min-height: 44px; border: 0; border-radius: var(--r-control); background: var(--surface); font-size: var(--t-small); font-weight: 500; opacity: 0; translate: 0 8px; transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease), background var(--dur) var(--ease); }
.quick-add:hover { background: #fff; }
.product:hover .quick-add, .product:focus-within .quick-add { opacity: 1; translate: 0 0; }
@media (hover: none) { .quick-add { display: none; } }
.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; }
.product-feature { grid-column: 1 / -1; }
.product-feature .product-media { aspect-ratio: 1 / 1; }
.product-feature .product-info h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.product-feature .note { color: var(--fg-muted); font-size: var(--t-small); max-width: 44ch; }

/* ---------- autumn edit (dark band) ---------- */
.edit { background: var(--night); color: var(--paper); }
.edit .meta { color: var(--paper-dim); }
.edit-grid { display: grid; gap: var(--s-7); }
.edit-media { position: relative; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; }
.edit-media img { width: 100%; height: 100%; object-fit: cover; }
.edit-copy { display: flex; flex-direction: column; justify-content: center; gap: var(--s-5); }
.edit-copy .lede { color: var(--paper-dim); }
.edit-copy .h2 em { color: #e3b9b4; }
.look-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--night-line); }
.look-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--night-line); }
.look-list .who { font: 500 var(--t-meta) var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--paper-dim); }
.look-list .what { font-size: var(--t-body); }
.look-list .price { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.look-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.look-total .sum { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; }
.look-total .sum small { display: block; font: 500 var(--t-meta) var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--paper-dim); margin-bottom: var(--s-1); }

/* ---------- studio ---------- */
.studio-grid { display: grid; gap: var(--s-7); }
.studio-copy, .collect-copy { display: grid; gap: var(--s-6); align-content: start; }
.studio-media { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.studio-media figure { border-radius: var(--r-media); overflow: hidden; }
.studio-media img { width: 100%; height: 100%; object-fit: cover; }
.studio-media .a { aspect-ratio: 16 / 10; }
.studio-media .b { display: none; }
.facts { counter-reset: f; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { counter-increment: f; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.facts li::before { content: counter(f, decimal-leading-zero); font: 500 var(--t-meta)/1.9 var(--font-mono); color: var(--oxblood); }
.facts h3 { font: 500 var(--t-body)/1.4 var(--font-text); margin-bottom: var(--s-1); }
.facts p { color: var(--fg-muted); font-size: var(--t-small); max-width: 52ch; }

/* ---------- labels index ---------- */
.labels { background: var(--surface); border-block: 1px solid var(--line); }
.index { width: 100%; border-collapse: collapse; }
.index thead { display: none; }
.index tr { display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--line); position: relative; }
.index tbody tr:last-child { border-bottom: 1px solid var(--line); }
.index td { padding: 0; }
.index .name a { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; text-decoration: none; }
.index .name a::after { content: ""; position: absolute; inset: 0; }
.index .name small { font: 500 var(--t-meta) var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--oxblood); margin-left: var(--s-2); vertical-align: middle; }
.index .what { grid-column: 1; color: var(--fg-muted); font-size: var(--t-small); }
.index .from { display: none; }
.index .count { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 var(--t-meta) var(--font-mono); color: var(--fg-muted); display: inline-flex; align-items: center; gap: var(--s-3); }
.index .count svg { width: 16px; height: 16px; color: var(--ink); transition: transform var(--dur) var(--ease); }
.index tr:hover .count svg { transform: translateX(4px); }
.index tr:hover .name a { color: var(--oxblood); }

/* ---------- collect ---------- */
.collect-grid { display: grid; gap: var(--s-7); }
.steps { counter-reset: s; display: grid; gap: var(--s-5); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); font: 500 var(--t-meta) var(--font-mono); }
.steps h3 { font: 500 var(--t-body)/1.4 var(--font-text); }
.steps p { color: var(--fg-muted); font-size: var(--t-small); }
.shops { border: 1px solid var(--line); border-radius: var(--r-media); background: var(--surface); overflow: hidden; }
.shops header { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.shops ul { padding: 0; margin: 0; list-style: none; }
.shops li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-4); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.shops li:last-child { border-bottom: 0; }
.shops strong { font-weight: 500; }
.shops address { font-style: normal; color: var(--fg-muted); font-size: var(--t-small); grid-column: 1; }
.shops .status { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 500 var(--t-meta) var(--font-mono); }
.shops footer { padding: var(--s-4) var(--s-5); background: var(--surface-2); font-size: var(--t-small); color: var(--fg-muted); }

/* ---------- journal ---------- */
.journal-grid { display: grid; gap: var(--s-6); }
.j-feature { position: relative; display: grid; gap: var(--s-4); }
.j-feature figure { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 3 / 2; }
.j-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.j-feature:hover img { transform: scale(1.03); }
.j-feature h3, .j-list h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.j-feature h3 a, .j-list h3 a { text-decoration: none; }
.j-feature h3 a::after, .j-list h3 a::after { content: ""; position: absolute; inset: 0; }
.j-feature p, .j-list p { color: var(--fg-muted); font-size: var(--t-small); max-width: 48ch; }
.j-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.j-list li { position: relative; display: grid; gap: var(--s-2); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.j-list li:hover h3 { color: var(--oxblood); }
.j-list h3 { font-size: 1.625rem; }

/* ---------- visit ---------- */
.visit { position: relative; color: #fbf9f5; }
.visit-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }
.visit-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,17,15,0) 30%, rgba(21,17,15,.7) 100%); }
.visit-card { position: absolute; left: var(--margin); right: var(--margin); bottom: var(--s-6); z-index: 1; display: grid; gap: var(--s-4); }
.visit-card .meta { color: #e5ddd2; }
.visit-card dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-4); font-size: var(--t-small); }
.visit-card dt { color: #e5ddd2; }
.visit-card dd a { color: inherit; }

/* ---------- 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); }
  .studio-media { grid-template-columns: 3fr 2fr; }
  .studio-media .b { display: block; aspect-ratio: auto; }
  .studio-media .a { aspect-ratio: 4 / 5; }
  .index tr { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; padding: var(--s-5) 0; }
  .index .what { grid-column: auto; font-size: var(--t-body); }
  .index .from { display: block; color: var(--fg-muted); font-size: var(--t-small); }
  .index .count { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .visit-media { aspect-ratio: 16 / 9; }
}

/* =========================================================
   ≥ 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; }

  .hero { padding-block: var(--s-7) var(--s-8); }
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
  .hero-copy { grid-column: 1 / span 5; justify-content: center; padding-right: var(--s-6); gap: var(--s-6); }
  .hero-media { grid-column: 6 / -1; aspect-ratio: auto; height: clamp(560px, calc(100svh - 36px - var(--header-h) - 120px), 760px); }
  .look-tag { left: auto; right: var(--s-5); bottom: var(--s-5); width: 300px; }

  .section-head { grid-template-columns: 1fr auto; align-items: end; }

  .product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); }
  .product-feature { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .chips { margin: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .product-feature .product-media { aspect-ratio: auto; flex: 1; min-height: 640px; }
  .product:not(.product-feature) { grid-column: span 3; }

  .edit-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
  .edit-media { grid-column: 1 / span 6; aspect-ratio: 5 / 6; }
  .edit-copy { grid-column: 8 / -1; }

  .studio-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
  .studio-copy { grid-column: 1 / span 5; display: grid; gap: var(--s-6); }
  .studio-media { grid-column: 7 / -1; }

  .collect-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
  .collect-copy { grid-column: 1 / span 5; display: grid; gap: var(--s-6); }
  .shops { grid-column: 7 / -1; }

  .journal-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
  .j-feature { grid-column: 1 / span 7; }
  .j-list { grid-column: 9 / -1; align-self: start; }

  .visit-media { aspect-ratio: auto; height: 620px; }
  .visit-media::after { background: linear-gradient(90deg, rgba(21,17,15,.72) 0%, rgba(21,17,15,.2) 55%, rgba(21,17,15,0) 100%); }
  .visit-card { left: max(var(--margin), calc((100% - var(--max)) / 2)); right: auto; bottom: 50%; translate: 0 50%; max-width: 420px; }

  .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; }
}
