:root { --illo-bg: #f0ebe1; }
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;
  --radius: 10px; --radius-lg: 16px;
  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);

  --bg: #f6f3ee;
  --surface: #fffdf9;
  --surface-2: #efebe3;
  --ink: #1c1b19;
  --ink-2: #57534b;
  --ink-3: #6f6a60;
  --line: #e2dcd1;
  --accent: #0f5c4d;       /* deep bottle green — CTAs */
  --accent-ink: #ffffff;
  --accent-soft: #dcebe6;
  --accent-2: #c98a2e;     /* ochre — rotation / "new" */
  --accent-2-soft: #f6e6cc;
  --warn: #9a3b24;
  --warn-soft: #f5dfd6;
  --shadow: 0 1px 2px rgba(28,27,25,.05), 0 6px 20px -10px rgba(28,27,25,.18);
}
[data-theme="dark"] {
  --bg: #151412;
  --surface: #1e1c19;
  --surface-2: #26241f;
  --ink: #f1ede5;
  --ink-2: #bfb8aa;
  --ink-3: #a39c8f;
  --line: #34312b;
  --accent: #5fbfa6;
  --accent-ink: #0d1f1a;
  --accent-soft: #1d3530;
  --accent-2: #e9b25a;
  --accent-2-soft: #3a2e1b;
  --warn: #f0a58f;
  --warn-soft: #3b231c;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background .25s var(--ease), color .25s var(--ease); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 2 * var(--s5)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.tabular { font-variant-numeric: tabular-nums; }

/* Disclosure bar */
.disclosure-bar { display: flex; justify-content: center; gap: var(--s4); flex-wrap: wrap; align-items: center; padding: 8px var(--s4); background: var(--ink); color: var(--bg); font-size: var(--text-xs); text-align: center; }
.demo-flag { background: var(--accent-2); color: #1c1b19; padding: 2px 8px; border-radius: 999px; font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: var(--s6); height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { width: 34px; height: 34px; color: var(--ink); }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-text span { color: var(--accent); margin-left: 2px; }
.primary-nav { display: flex; gap: var(--s1); margin-left: auto; }
.primary-nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); transition: background .15s, color .15s; }
.primary-nav a:hover { background: var(--surface-2); color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; }

.cycle-strip { border-top: 1px solid var(--line); background: var(--surface); }
.cycle-row { display: flex; align-items: center; gap: var(--s5); min-height: 42px; font-size: var(--text-xs); color: var(--ink-2); flex-wrap: wrap; padding-block: 6px; }
.cycle-row strong { color: var(--ink); font-weight: 700; }
.cycle-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.cycle-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-2-soft); }
.progress { flex: 1 1 160px; max-width: 280px; height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent-2); border-radius: inherit; }
.cycle-row .sep { width: 1px; height: 14px; background: var(--line); }

.cat-nav { border-top: 1px solid var(--line); }
.cat-scroll { display: flex; gap: var(--s2); overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: var(--text-xs); font-weight: 500; text-decoration: none; color: var(--ink-2); white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.chip svg { width: 14px; height: 14px; }
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

main { padding-block: var(--s10) var(--s16); outline: none; }

/* Page intro */
.page-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s6); margin-bottom: var(--s8); flex-wrap: wrap; }
.eyebrow { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--accent); margin-bottom: var(--s2); }
.page-title { font-size: var(--text-xl); font-weight: 800; max-width: 30ch; }
.page-sub { color: var(--ink-2); max-width: 60ch; margin-top: var(--s3); }
.stat-row { display: flex; gap: var(--s6); }
.stat { text-align: right; }
.stat b { display: block; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; }
.stat span { font-size: var(--text-xs); color: var(--ink-3); }

/* Category overview grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--s5); }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); box-shadow: var(--shadow); }
.cat-card-head { display: flex; align-items: center; gap: var(--s3); }
.cat-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.cat-icon svg { width: 20px; height: 20px; }
.cat-card h2 { font-size: var(--text-lg); font-weight: 800; }
.cat-card-head p { font-size: var(--text-xs); color: var(--ink-3); }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mini-item { display: grid; grid-template-columns: 28px 1fr auto; gap: var(--s3); align-items: center; padding: 8px 6px; border-radius: 8px; }
.mini-item:hover { background: var(--surface-2); }
.mini-rank { font-family: var(--font-display); font-weight: 800; color: var(--ink-3); font-size: var(--text-sm); }
.mini-title { font-size: var(--text-sm); font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.mini-title a { text-decoration: none; }
.mini-title a:hover { text-decoration: underline; }
.mini-price { font-size: var(--text-xs); color: var(--ink-2); text-align: right; white-space: nowrap; }
.cat-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); border-top: 1px dashed var(--line); padding-top: var(--s4); font-size: var(--text-xs); color: var(--ink-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; padding: 10px 14px; font-size: var(--text-sm); font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .12s var(--ease), background .15s, border-color .15s; }
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { padding: 7px 10px; font-size: var(--text-xs); }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; font-size: var(--text-xs); text-decoration: underline; text-underline-offset: 2px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: var(--s5); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-3); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media .ph { display: grid; justify-items: center; gap: 6px; text-align: center; padding: var(--s4); }
.card-media .ph svg { width: 40px; height: 40px; stroke-width: 1.25; color: var(--accent); opacity: .7; }
.card-media .ph small { font-size: 12px; letter-spacing: .02em; }
.card-media .initials { position: absolute; right: -8px; bottom: -22px; font-family: var(--font-display); font-weight: 800; font-size: 92px; line-height: 1; color: var(--ink); opacity: .05; pointer-events: none; }
.card-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.rank { position: absolute; top: 10px; left: 10px; min-width: 34px; height: 34px; padding: 0 8px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border-radius: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.badge { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; font-size: 12px; font-weight: 700; border-radius: 999px; }
.badge svg { width: 12px; height: 12px; }
.badge-new { background: var(--accent-2-soft); color: color-mix(in srgb, var(--accent-2) 70%, var(--ink)); }
.badge-held { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.badge-deal { position: static; background: var(--accent-soft); color: var(--accent); }
.card-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.card-brand { font-size: var(--text-xs); color: var(--ink-3); font-weight: 500; }
.card-title { font-size: var(--text-sm); font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.trend-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.trend-bar .meter { flex: 1; height: 4px; border-radius: 9px; background: var(--surface-2); overflow: hidden; }
.trend-bar .meter span { display: block; height: 100%; background: var(--accent); }
.price-block { margin-top: auto; padding-top: var(--s3); border-top: 1px dashed var(--line); display: grid; gap: 2px; }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.was { font-size: var(--text-xs); color: var(--ink-3); text-decoration: line-through; }
.stamp { font-size: 12px; color: var(--ink-3); }
.stale { font-size: var(--text-xs); color: var(--warn); background: var(--warn-soft); padding: 6px 8px; border-radius: 8px; display: flex; gap: 6px; align-items: center; }
.stale svg { width: 14px; height: 14px; flex: none; }
.card .btn-primary { margin-top: var(--s3); width: 100%; }
.card-foot-note { font-size: 12px; color: var(--ink-3); text-align: center; }

.section-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin: var(--s10) 0 var(--s4); flex-wrap: wrap; }
.section-bar h2 { font-size: var(--text-lg); font-weight: 800; }
.dropped { display: flex; flex-wrap: wrap; gap: var(--s2); }
.dropped span { font-size: var(--text-xs); padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }

/* Rotation lab */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); box-shadow: var(--shadow); }
.lab-grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--s5); align-items: start; }
.panel h2 { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--s2); }
.panel .muted { color: var(--ink-2); font-size: var(--text-sm); }
.field { display: grid; gap: 6px; margin-top: var(--s5); }
.field label { font-size: var(--text-xs); font-weight: 700; display: flex; justify-content: space-between; }
.field input[type=range] { width: 100%; accent-color: var(--accent); }
.field select, .field input[type=text] { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: var(--text-sm); }
.weights { display: grid; gap: 10px; margin-top: var(--s4); }
.weight { display: grid; grid-template-columns: 1fr 44px; gap: 8px; align-items: center; font-size: var(--text-xs); }
.weight .bar { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: var(--surface-2); overflow: hidden; }
.weight .bar span { display: block; height: 100%; background: var(--accent); }
.rules { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: 8px; font-size: var(--text-sm); }
.rules li { display: flex; gap: 8px; align-items: flex-start; }
.rules svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.table-wrap { overflow-x: auto; margin-top: var(--s4); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: var(--text-xs); color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.is-out td { color: var(--ink-3); }
.tag { display: inline-flex; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.tag-new { background: var(--accent-2-soft); color: color-mix(in srgb, var(--accent-2) 70%, var(--ink)); }
.tag-held { background: var(--surface-2); color: var(--ink-2); }
.tag-out { background: var(--warn-soft); color: var(--warn); }
.tag-rest { background: var(--surface-2); color: var(--ink-3); }
.timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: var(--s3); margin-top: var(--s4); }
.tl-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: var(--text-xs); background: var(--bg); }
.tl-item b { display: block; font-size: var(--text-sm); }
.tl-item.current { border-color: var(--accent-2); background: var(--accent-2-soft); }

/* Compliance */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s5); }
.check { display: flex; gap: 10px; font-size: var(--text-sm); padding: 10px 0; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.check small { display: block; color: var(--ink-3); font-size: var(--text-xs); }
pre { background: var(--ink); color: #e9e4d8; padding: var(--s4); border-radius: 10px; overflow-x: auto; font-size: 12.5px; line-height: 1.55; margin: var(--s3) 0 0; }
code { font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace; }
.inline-code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.tag-status { margin-top: 8px; font-size: var(--text-xs); }
.tag-status.ok { color: var(--accent); }
.tag-status.bad { color: var(--warn); }

/* Popover */
.popover { position: fixed; z-index: 50; width: min(360px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: var(--s4); box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); font-size: var(--text-xs); display: grid; gap: var(--s3); }
.pop-title { font-weight: 700; font-size: var(--text-sm); }
.pop-meta { color: var(--ink-3); }
.popover .btn { justify-self: start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: var(--s10); font-size: var(--text-xs); color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s8); }
.footer-grid p + p { margin-top: var(--s3); }
.footer-title { font-weight: 700; color: var(--ink); font-size: var(--text-sm); margin-bottom: var(--s2); }
.caps-notice { letter-spacing: .02em; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: var(--radius-lg); height: 320px; }
@keyframes sh { to { background-position: -200% 0; } }

.fade-in { animation: fi .35s var(--ease) both; }
@keyframes fi { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .lab-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-row { gap: var(--s3); height: auto; padding-block: 10px; flex-wrap: wrap; }
  .primary-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .primary-nav a { white-space: nowrap; flex: none; }
  .icon-btn { margin-left: auto; }
  .stat-row { width: 100%; justify-content: flex-start; }
  .stat { text-align: left; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .card-body { padding: var(--s3); }
  .rank { width: 28px; min-width: 28px; height: 28px; font-size: .85rem; }
  .cycle-row .sep, .cycle-row .hide-sm { display: none; }
  .site-header { position: static; }
}
@media (max-width: 340px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 480px) {
  .card-media .ph small { display: none; }
  .card-title { font-size: var(--text-xs); }
  .price { font-size: 1.1rem; }
  .badge { font-size: 11px; padding: 3px 6px; }
  .badge svg { display: none; }
  .card .btn-primary { padding: 9px 8px; font-size: var(--text-xs); }
  .trend-bar > span:first-child { display: none; }
}
.no-price { font-size: var(--text-sm); font-weight: 500; color: var(--ink-2); display: flex; gap: 6px; align-items: center; padding: 6px 0; }
.no-price svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.card-media img.cat-illo { object-fit: cover; background: var(--surface-2); }
.card-media .illo-note { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 500; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 85%, transparent); padding: 2px 8px; border-radius: 999px; }
/* Editor's Picks */
.card.is-pick { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2), var(--shadow); }
.pick-line { display: grid; gap: 4px; margin: 2px 0 4px; }
.pick-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; font-size: 12px; font-weight: 700; color: #6b4410; background: #f6e3c3; padding: 3px 9px; border-radius: 999px; }
.pick-badge svg { width: 13px; height: 13px; fill: currentColor; }
.pick-reason { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.4; }
.mini-star { width: 13px; height: 13px; color: var(--accent-2); fill: var(--accent-2); margin-right: 5px; vertical-align: -1px; flex: none; }
.picks-strip { margin: 0 0 var(--s6); }
.picks-strip .section-bar h2 { display: flex; align-items: center; gap: 8px; }
.picks-strip .section-bar h2 svg { width: 18px; height: 18px; color: var(--accent-2); fill: var(--accent-2); }
.picks-list { list-style: none; margin: 0; padding: 4px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; }
.picks-list li { scroll-snap-align: start; }
.picks-list a { display: grid; gap: 4px; height: 100%; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: var(--radius-lg); text-decoration: none; color: inherit; transition: transform .2s var(--ease); }
.picks-list a:hover { transform: translateY(-2px); }
.pl-cat { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pl-title { font-weight: 600; line-height: 1.3; }
.pl-reason { font-size: var(--text-sm); color: var(--ink-2); }
.picks-note { font-size: 12px; color: var(--ink-3); margin: var(--s3) 0 0; max-width: 72ch; }
[data-theme="dark"] .pick-badge { color: #f6e3c3; background: #5a3b12; }
.mini-item.is-pick .mini-rank { color: #6b4410; background: #f6e3c3; border-radius: 999px; display: inline-grid; place-items: center; width: 22px; height: 22px; font-weight: 700; }
[data-theme="dark"] .mini-item.is-pick .mini-rank { color: #f6e3c3; background: #5a3b12; }
/* Seasonal Favorites */
.season { margin: 0 0 var(--s10); }
.season-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #f6ecdc var(--season-img) right center / cover no-repeat; min-height: 300px; display: flex; align-items: center; box-shadow: var(--shadow); }
.season-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,240,227,.97) 0%, rgba(248,240,227,.9) 38%, rgba(248,240,227,0) 62%); }
.season-copy { position: relative; padding: var(--s8); max-width: 560px; display: grid; gap: var(--s3); color: #1c1b19; }
.season-copy .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #0f5c4d; margin: 0; }
.season-copy .eyebrow svg { width: 15px; height: 15px; }
.season-title { font-family: 'Cabinet Grotesk', var(--font-display, sans-serif); font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); line-height: 1.02; letter-spacing: -.02em; margin: 0; font-weight: 800; }
.season-tag { font-size: var(--text-base, 1rem); color: #3f3b34; margin: 0; max-width: 42ch; }
.season-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; font-size: var(--text-xs, .8rem); color: #57534b; }
.season-meta span { background: rgba(255,253,249,.8); border: 1px solid #e3dccf; padding: 3px 10px; border-radius: 999px; }
.season-cta { width: fit-content; margin-top: 4px; background: #fffdf9; color: #1c1b19; border-color: #d9d1c3; }
.season-grid { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); counter-reset: none; }
.s-tile a { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s, transform .2s var(--ease); }
.s-tile a:hover { border-color: var(--accent); transform: translateY(-2px); }
.s-tile.is-pick a { border-color: var(--accent-2); }
.s-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.s-rank { flex: none; width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--ink, #1c1b19); color: var(--surface); }
.s-occ { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-pick { margin-left: auto; color: var(--accent-2); display: inline-flex; }
.s-pick svg { width: 14px; height: 14px; fill: currentColor; }
.s-title { font-size: var(--text-sm); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-go { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--accent); }
.s-go svg { width: 13px; height: 13px; }
.card-occ { color: var(--accent); }
.chip-season { border-color: var(--accent-2); color: var(--ink); }
.chip-season svg { color: var(--accent-2); }
@media (max-width: 1100px) { .season-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .season-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .season-banner { min-height: 0; flex-direction: column; align-items: stretch; background-image: none; }
  .season-banner::before { display: none; }
  .season-banner::after { content: ""; order: -1; display: block; aspect-ratio: 16 / 7; background: var(--season-img) 78% center / cover no-repeat; }
  .season-copy { padding: var(--s5); }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
[data-theme="dark"] .season-banner { border-color: #3a362f; }
/* Memberships */
.members { margin: 0 0 var(--s8); }
.members .section-bar { margin-top: var(--s6); }
.members .section-bar h2 { display: flex; align-items: center; gap: 8px; }
.members .section-bar h2 svg { width: 18px; height: 18px; color: var(--accent); }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--s3); }
.m-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, transform .2s var(--ease); }
.m-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.m-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 4px; }
.m-icon svg { width: 19px; height: 19px; }
.m-name { font-weight: 700; font-size: var(--text-base, 1rem); }
.m-blurb { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.45; }
.m-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: var(--text-sm); font-weight: 700; color: var(--accent); }
.m-cta svg { width: 14px; height: 14px; }
/* Collapsible memberships */
.members { margin: var(--s6) 0 var(--s8); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.members-sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s3) var(--s4); flex-wrap: wrap; padding: var(--s4) var(--s5); border-radius: var(--radius-lg); }
.members-sum::-webkit-details-marker { display: none; }
.members-sum:hover .members-tog { border-color: var(--accent); }
.members-sum:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.members-h { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-lg, 1.15rem); font-weight: 800; }
.members-h svg { width: 18px; height: 18px; color: var(--accent); }
.members-hint { font-size: var(--text-sm); color: var(--ink-2); }
.members-tog { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--accent); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .15s; }
.members-tog svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.members[open] .members-tog svg { transform: rotate(180deg); }
.members .when-open, .members[open] .when-closed { display: none; }
.members[open] .when-open { display: inline; }
.members-body { padding: 0 var(--s5) var(--s5); }
.members-body .m-card { box-shadow: none; }
.members-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s3); }
.members-foot .picks-note { margin: 0; }

/* Authenticity pass */
.card-media.no-img { aspect-ratio: auto; min-height: 0; height: 52px; place-items: start; border-bottom: 0; background: transparent; }
.card-media.no-img .badge { top: 14px; }
.card-foot-note { text-align: center; }
.cat-head-illo { width: 220px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.about { max-width: 720px; margin: 0 auto var(--s10); display: grid; gap: var(--s4); }
.about .page-title { max-width: 24ch; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; }
.about-body { display: grid; gap: var(--s3); font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); }
.about-body h2 { font-size: 1.2rem; color: var(--ink); margin-top: var(--s4); }
.about .btn { width: fit-content; margin-top: var(--s4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.page-sub a { color: var(--accent); font-weight: 600; }
.members-h { flex: 1 1 auto; min-width: 0; }
@media (max-width: 640px) {
  .cat-head-illo { display: none; }
  .members-sum { flex-wrap: wrap; }
  .members-h { flex: 1 1 0; font-size: 1.05rem; }
  .members-hint { order: 3; width: 100%; }
}

/* Seasonal theme: <html data-season> is set from js/seasons.js, so colors change with the calendar. */
:root { --pick: #c98a2e; --pick-ink: #6b4410; --pick-soft: #f6e3c3; --season-ink: var(--accent); }
[data-season="new-year"] { --bg: #f3f4f6; --surface-2: #e7e9ee; --line: #d9dce3; --accent: #1f4a75; --accent-soft: #dde6f0; --accent-2: #b8901c; --accent-2-soft: #f3e9c9; --season-ink: #1f4a75; }
[data-season="new-year"][data-theme="dark"] { --bg: #121417; --surface: #1b1e22; --surface-2: #23272c; --line: color-mix(in srgb, #8db8e4 14%, #34312b); --accent: #8db8e4; --accent-soft: #1d2a38; --accent-2: #e3c25a; --accent-2-soft: #3a321a; }
[data-season="valentines"] { --bg: #faf3f2; --surface-2: #f1e5e4; --line: #e8d6d5; --accent: #962a47; --accent-soft: #f4dde3; --accent-2: #d8697f; --accent-2-soft: #f8dde2; --season-ink: #962a47; }
[data-season="valentines"][data-theme="dark"] { --bg: #171213; --surface: #211a1b; --surface-2: #2b2223; --line: color-mix(in srgb, #f093ab 14%, #34312b); --accent: #f093ab; --accent-soft: #3a2129; --accent-2: #f2a3b3; --accent-2-soft: #3d2328; }
[data-season="spring"] { --bg: #f5f6ef; --surface-2: #eaece0; --line: #dde0d0; --accent: #3b6635; --accent-soft: #dfeadb; --accent-2: #c99a12; --accent-2-soft: #f5ebc6; --season-ink: #3b6635; }
[data-season="spring"][data-theme="dark"] { --bg: #131511; --surface: #1c1f19; --surface-2: #252920; --line: color-mix(in srgb, #93cf86 14%, #34312b); --accent: #93cf86; --accent-soft: #22321f; --accent-2: #e7c55a; --accent-2-soft: #38321a; }
[data-season="summer"] { --bg: #f8f5ec; --surface-2: #efeadb; --line: #e4dccb; --accent: #0b6670; --accent-soft: #d7ecee; --accent-2: #e3753a; --accent-2-soft: #fbe2d2; --season-ink: #0b6670; }
[data-season="summer"][data-theme="dark"] { --bg: #111516; --surface: #1a1f20; --surface-2: #222a2b; --line: color-mix(in srgb, #6fd0da 14%, #34312b); --accent: #6fd0da; --accent-soft: #173236; --accent-2: #f5a57a; --accent-2-soft: #3d2a1f; }
[data-season="back-to-school"] { --bg: #f5f3ee; --surface-2: #ebe7de; --line: #ddd8cc; --accent: #1d4d8c; --accent-soft: #dde6f3; --accent-2: #c9442a; --accent-2-soft: #f6dcd5; --season-ink: #1d4d8c; }
[data-season="back-to-school"][data-theme="dark"] { --bg: #121417; --surface: #1b1d21; --surface-2: #24272c; --line: color-mix(in srgb, #93b8ec 14%, #34312b); --accent: #93b8ec; --accent-soft: #1c2a3d; --accent-2: #f08f78; --accent-2-soft: #3d241e; }
[data-season="fall"] { --bg: #f7f1e8; --surface-2: #eee5d6; --line: #e3d7c4; --accent: #8a3a12; --accent-soft: #f2e0d3; --accent-2: #c97a2b; --accent-2-soft: #f6e3cc; --season-ink: #8a3a12; }
[data-season="fall"][data-theme="dark"] { --bg: #161210; --surface: #201a17; --surface-2: #2a221d; --line: color-mix(in srgb, #f0a070 14%, #34312b); --accent: #f0a070; --accent-soft: #3a261b; --accent-2: #eab066; --accent-2-soft: #3b2c1b; }
[data-season="holiday"] { --bg: #f6f3ee; --surface-2: #ece7df; --line: #ddd6ca; --accent: #1e5a3a; --accent-soft: #dcebe1; --accent-2: #ad3434; --accent-2-soft: #f5dada; --season-ink: #1e5a3a; }
[data-season="holiday"][data-theme="dark"] { --bg: #111513; --surface: #1a1f1c; --surface-2: #232a26; --line: color-mix(in srgb, #7fcf9f 14%, #34312b); --accent: #7fcf9f; --accent-soft: #1b3326; --accent-2: #f09a9a; --accent-2-soft: #3d2222; }
.season-copy .eyebrow { color: var(--season-ink) !important; }
.card.is-pick { border-color: var(--pick); box-shadow: 0 0 0 1px var(--pick), var(--shadow); }
.s-tile.is-pick a { border-color: var(--pick); } .s-pick, .mini-star { color: var(--pick); }
.picks-list a { border-left-color: var(--pick); } .picks-strip .section-bar h2 svg { color: var(--pick); fill: var(--pick); }
body, .site-header, .cycle-strip, .card, .cat-card, .members, .m-card, .s-tile a { transition: background-color .4s var(--ease), border-color .4s var(--ease), color .25s var(--ease); }

/* Per-product illustrations (pre-API) */
.card-media:has(img.prod-illo) { background: var(--illo-bg); }
.card-media img.prod-illo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--illo-bg); transition: transform .4s ease; }
.card:hover .card-media img.prod-illo { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card:hover .card-media img.prod-illo { transform: none; } }
.card-media .illo-note { left: auto; right: 8px; bottom: 8px; color: #4a4339; background: rgba(255,255,255,.85); }
.card-media .rank, .card-media .badge, .card-media .illo-note { z-index: 2; }
/* Thumbnails in compact lists */
.thumb { display: block; object-fit: contain; background: var(--illo-bg); border-radius: 8px; }
.mini-item { grid-template-columns: 28px 44px 1fr auto; }
.thumb-mini { width: 44px; height: 44px; }
.s-tile a { grid-template-rows: auto auto 1fr auto; }
.thumb-s { width: 100%; aspect-ratio: 4 / 3; height: auto; margin-bottom: 2px; }
.thumb-pl { width: 100%; aspect-ratio: 16 / 10; height: auto; margin-bottom: 6px; }
/* Past Editor's Picks (home, bottom) */
.past-picks { margin-top: var(--s8); }
.past-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s3); }
.past-list a { display: grid; grid-template-columns: 64px 1fr; gap: var(--s3); align-items: start; padding: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s; }
.past-list a:hover { border-color: var(--accent); }
.thumb-past { width: 64px; height: 64px; }
.pp-text { display: grid; gap: 2px; min-width: 0; }
.pp-when { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.past-list a:not(:has(img)) { grid-template-columns: 1fr; }
