/* ===== Forma — workshop frontend =====
   Visual thesis: Tactile craft expressed through a warm paper-toned canvas,
   an editorial serif (Fraunces) for headings, a precise sans (Inter) for utility,
   and a monospace annotation voice (JetBrains Mono) plus a recurring registration
   crosshair mark that ties the page together like a workshop worksheet/spec sheet. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/fraunces-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/fraunces-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/fraunces-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/jetbrains-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/artifacts/forma-frontend--v1--s2--glm-5.2--design-distinctive-websites--2026-09-19T17-33-02-736Z/assets/jetbrains-500.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --canvas: #f4f1ea;          /* warm paper */
  --surface: #faf8f3;         /* lighter card */
  --ink: #1a1916;             /* near-black ink */
  --ink-soft: #4a473f;
  --muted: #847d70;            /* warm gray */
  --border: #e3ddd0;          /* hairline */
  --border-strong: #cfc7b6;
  --accent: #b5674a;          /* clay / terracotta */
  --accent-ink: #8e4d34;
  --sage: #5c7563;             /* floristry green */
  --on-accent: #fdfaf4;
  --focus: #3a6ea5;            /* focus ring */
  --shadow: 0 1px 2px rgba(26,25,22,.05), 0 12px 30px -18px rgba(26,25,22,.22);
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --r-card: 14px;
  --r-img: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--on-accent);
  padding: 10px 14px; border-radius: 8px; font-size: 14px;
  transition: top .15s var(--ease);
}
.skip:focus { top: 8px; }

/* ---------- Registration crosshair signature ---------- */
.crosshair {
  display: inline-block;
  width: 16px; height: 16px;
  vertical-align: -2px;
  flex: none;
}
.crosshair circle { fill: none; stroke: currentColor; stroke-width: 1.1; }
.crosshair line { stroke: currentColor; stroke-width: 1.1; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 22px; letter-spacing: .02em;
}
.brand .crosshair { color: var(--accent); width: 14px; height: 14px; transform: translateY(-1px); }
.brand .sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 400; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.topbar-meta { display: flex; align-items: center; gap: 18px; }
.shortlist-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em;
  color: var(--ink-soft); text-transform: uppercase;
}
.shortlist-pill .dot { color: var(--accent); font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 0;
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(40px, 7vw, 84px);
}
.hero-text { display: flex; flex-direction: column; justify-content: flex-end; padding-right: clamp(20px, 5vw, 64px); padding-bottom: 12px; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-ink);
  display: flex; align-items: center; gap: 8px; margin-bottom: 26px;
}
.eyebrow .num { color: var(--muted); }
.hero h1 {
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: .96; font-weight: 600; letter-spacing: -.025em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent-ink); }
.hero p.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 44ch; color: var(--ink-soft); margin: 0 0 32px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--ink); color: var(--on-accent);
  padding: 14px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.hero-cta:hover { background: var(--accent-ink); transform: translateY(-2px); }
.hero-cta .arrow { transition: transform .18s var(--ease); }
.hero-cta:hover .arrow { transform: translateX(4px); }

.hero-figure {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #d9d3c6;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .tag {
  position: absolute; left: 16px; bottom: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-accent);
  background: rgba(26,25,22,.62); padding: 7px 10px; border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* ---------- Section scaffold ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--gutter);
}
.section-head {
  display: flex; align-items: baseline; gap: 18px;
  border-top: 1px solid var(--border-strong);
  padding-top: 22px; margin-bottom: 30px;
}
.section-head .ix {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em;
}
.section-head .note { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .04em; align-self: center; }

/* ---------- Controls ---------- */
.controls {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 26px;
  margin-bottom: 34px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 0 14px; min-width: 240px; flex: 1 1 260px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.search-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.search-wrap svg { flex: none; color: var(--muted); }
#search {
  border: none; background: none; outline: none; padding: 12px 0; width: 100%;
  font-size: 16px; color: var(--ink);
}
#search::placeholder { color: var(--muted); }

.select-wrap {
  position: relative; display: inline-flex;
}
#filter {
  appearance: none; -webkit-appearance: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 12px 38px 12px 14px;
  font-size: 15px; color: var(--ink); cursor: pointer; min-width: 168px;
  transition: border-color .15s var(--ease);
}
#filter:focus { border-color: var(--accent); }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-30%);
  width: 8px; height: 8px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft);
  rotate: 45deg; pointer-events: none;
}

.saved-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong); background: var(--surface);
  border-radius: 10px; padding: 11px 16px 11px 14px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.saved-toggle .badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px;
  background: var(--border-strong); color: var(--ink-soft);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.saved-toggle[aria-pressed="true"] {
  border-color: var(--accent); color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.saved-toggle[aria-pressed="true"] .badge { background: var(--accent); color: var(--on-accent); }

.result-count {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em;
  color: var(--muted); margin-left: auto; align-self: center;
}

/* ---------- List (editorial rows) ---------- */
.list { display: flex; flex-direction: column; }

.item {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.item:nth-child(even) .item-media { order: 2; }
.item:nth-child(even) .item-body { order: 1; }
.item:last-child { border-bottom: 1px solid var(--border); }

.item-media {
  position: relative; border-radius: var(--r-img); overflow: hidden;
  background: #d9d3c6; aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.item-media .cat-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-accent);
  background: rgba(26,25,22,.6); padding: 6px 9px; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.item-media .saved-flag {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  box-shadow: var(--shadow);
}
.item-media .saved-flag svg { width: 16px; height: 16px; }

.item-body { display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.item-body .ix-row {
  display: flex; align-items: center; gap: 9px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.item-body .ix-row .crosshair { color: var(--accent); width: 13px; height: 13px; }
.item-body h3 {
  font-size: clamp(26px, 3vw, 38px); line-height: 1.02; font-weight: 600; letter-spacing: -.02em;
}
.item-body .desc { color: var(--ink-soft); max-width: 46ch; margin: 0; }
.item-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ink-soft);
  padding-top: 6px;
}
.item-meta span { display: inline-flex; align-items: center; gap: 8px; }
.item-meta .k { color: var(--muted); }
.item-meta .price { color: var(--accent-ink); font-weight: 500; }

.item-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.open-item {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--on-accent);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.open-item:hover { background: var(--accent-ink); transform: translateY(-2px); }
.open-item .arrow { transition: transform .18s var(--ease); }
.open-item:hover .arrow { transform: translateX(4px); }
.quick-save {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  padding: 11px 16px; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  background: var(--surface);
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.quick-save svg { width: 17px; height: 17px; color: var(--muted); transition: color .15s var(--ease); }
.quick-save[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.quick-save[aria-pressed="true"] svg { color: var(--accent); fill: var(--accent); }

/* ---------- Empty state ---------- */
.empty-state {
  display: none;
  flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: 70px 20px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.empty-state.show { display: flex; }
.empty-state .crosshair { color: var(--accent); width: 28px; height: 28px; }
.empty-state h3 { font-size: 26px; font-weight: 600; }
.empty-state p { color: var(--muted); margin: 0; max-width: 38ch; }
.recover-btn {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--on-accent); padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
}
.recover-btn:hover { background: var(--accent-ink); }

/* ---------- Detail (drawer) ---------- */
.detail-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(26,25,22,.42);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.detail-overlay.open { opacity: 1; visibility: visible; }

.detail {
  position: fixed; top: 0; right: 0; z-index: 101;
  width: min(620px, 100%); height: 100%; height: 100dvh;
  background: var(--canvas);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(26,25,22,.4);
  border-left: 1px solid var(--border-strong);
  overflow: hidden;
}
.detail.open { transform: translateX(0); }
.detail-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }

.detail-top {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.detail-top .ix {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.detail-top .ix .crosshair { color: var(--accent); width: 13px; height: 13px; }
.close-detail {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-strong); background: var(--surface);
  border-radius: var(--r-pill); padding: 9px 14px; font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
}
.close-detail:hover { border-color: var(--accent); color: var(--accent-ink); }
.close-detail svg { width: 15px; height: 15px; }

.detail-media { position: relative; aspect-ratio: 16 / 11; background: #d9d3c6; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .cat-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-accent);
  background: rgba(26,25,22,.62); padding: 7px 10px; border-radius: 6px;
}

.detail-content { padding: 28px clamp(20px, 5vw, 40px) 48px; }
.detail-content h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1; letter-spacing: -.02em; margin-bottom: 14px; }
.detail-content .detail-body { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin: 0 0 26px; max-width: 48ch; }

.spec-list {
  list-style: none; margin: 0 0 28px; padding: 18px 0 0;
  border-top: 1px solid var(--border-strong);
  display: grid; gap: 0;
}
.spec-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed var(--border);
}
.spec-list .k {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.spec-list .k .crosshair { color: var(--accent); width: 11px; height: 11px; }
.spec-list .v { font-size: 16px; color: var(--ink); text-align: right; }
.spec-list .v.price { color: var(--accent-ink); font-weight: 600; font-family: 'Fraunces', serif; font-size: 19px; }

.save-item {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  border-radius: var(--r-pill); padding: 13px 22px; font-size: 15px; font-weight: 600;
  color: var(--ink-soft); width: 100%; justify-content: center;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.save-item svg { width: 18px; height: 18px; color: var(--muted); transition: color .15s var(--ease), fill .15s var(--ease); }
.save-item:hover { border-color: var(--accent); }
.save-item[aria-pressed="true"] {
  border-color: var(--accent); background: var(--accent); color: var(--on-accent);
}
.save-item[aria-pressed="true"] svg { color: var(--on-accent); fill: var(--on-accent); }

.detail-foot-note {
  margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em;
  color: var(--muted); text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 36px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: end; border-top: 1px solid var(--border-strong);
}
.footer .mark { font-family: 'Fraunces', serif; font-weight: 700; font-size: 28px; display: flex; align-items: baseline; gap: 8px; }
.footer .mark .crosshair { color: var(--accent); width: 16px; height: 16px; transform: translateY(-2px); }
.footer .mark .sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer .foot-meta { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; line-height: 1.8; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-text { order: 2; padding-right: 0; padding-top: 26px; }
  .hero-figure { order: 1; aspect-ratio: 4 / 3; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .item { grid-template-columns: 1fr; gap: 18px; }
  .item:nth-child(even) .item-media { order: 1; }
  .item:nth-child(even) .item-body { order: 2; }
  .section-head { flex-wrap: wrap; }
  .section-head .note { margin-left: 0; flex-basis: 100%; }
  .result-count { margin-left: 0; flex-basis: 100%; }
  .footer { grid-template-columns: 1fr; }
  .footer .foot-meta { text-align: left; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand .sub { display: none; }
  .controls { gap: 14px; }
  .field { width: 100%; }
  .search-wrap, .select-wrap, #filter { width: 100%; }
  .select-wrap { display: block; }
  #filter { width: 100%; }
  .saved-toggle { width: 100%; justify-content: space-between; }
  .item-meta { gap: 8px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .detail { transition: none; }
  .detail-overlay { transition: none; }
  .item-media img { transition: none; }
}
