﻿/* ============================================================
   Pickora homepage prototype — shared stylesheet
   1. Tokens + themes (day / rain / night)
   2. Base + utilities
   3. Header
   4. Hero (clay loft)
   5. Products (crossfade strip)
   6. Latest reviews (crate + mini preview)
   7. Top picks (expanding blades)
   8. Editorial spread
   9. Why trust
  10. FAQ desk
  11. Footer colophon
  12. Responsive + motion
  13. Products page
  14. Category hub (Consumer Electronics…)
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Font lab #4 · Warm Print (apartamento) — colors stay Pickora */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --display-track: -0.02em;
  --display-weight: 600;

  /* Default = Day tokens so first paint never flashes unstyled white before [data-theme] CSS */
  --bg: #f5f2ec;
  --bg-soft: #ebe5da;
  --surface: #fffdf8;
  --ink: #14181a;
  --ink-muted: #5c6160;

  /* Accent FOLLOWS THEME (Day amber / Rain cold / Night blue). Remapped in each theme block.
     --theme-accent aliases --accent so both names stay in sync. */
  --accent: #c9861a;
  --accent-ink: #ffffff;
  --theme-accent: var(--accent);
  --theme-accent-ink: var(--accent-ink);
  --theme-accent-soft: rgba(201, 134, 26, 0.14);
  --theme-accent-glow: 0 10px 24px rgba(176, 114, 18, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.42, 0.64, 1);

  --gut: clamp(16px, 3.4vw, 46px);
  --maxw: 1280px;
  --radius: 10px;
  --radius-lg: 14px;
}


/* Day — warm light paper · scenic accent = amber */
:root[data-theme="day"] {
  --bg: #f5f2ec;
  --bg-soft: #ebe5da;
  --surface: #fffdf8;
  --surface-2: #f1ece2;
  --ink: #14181a;
  --ink-muted: #5c6160;
  --line: #d8d2c6;
  --line-strong: #1b1f1d;
  --accent: #c9861a;
  --accent-ink: #ffffff;
  --theme-accent: var(--accent);
  --theme-accent-ink: var(--accent-ink);
  --theme-accent-soft: rgba(201, 134, 26, 0.14);
  --theme-accent-glow: 0 10px 24px rgba(176, 114, 18, 0.14);
  --accent-soft: var(--theme-accent-soft);
  --stage: #1b1e1c;
  --stage-ink: #f3efe7;
  --card: #fbf8f2;
  --card-ink: #16191a;
  --card-muted: #5b605c;
  --card-line: rgba(20, 24, 26, 0.16);
  --shadow-1: 0 8px 24px rgba(20, 24, 26, 0.07);
  --shadow-2: 0 22px 54px rgba(20, 24, 26, 0.14);
  --scrim: linear-gradient(transparent, rgba(0, 0, 0, 0.66));
  /* Day search: warm paper pill, soft amber bloom — not neon */
  --search-glow-bg: #f7f1e6;
  --search-glow-ink: #1a1714;
  --search-glow-muted: rgba(26, 23, 20, 0.45);
  --search-glow-rim: color-mix(in srgb, #c4a574 55%, #8b7355);
  --search-glow-bloom: rgba(180, 140, 80, 0.22);
  --search-glow-wash-a: rgba(210, 170, 110, 0.28);
  --search-glow-wash-b: rgba(201, 134, 26, 0.1);
  /* Card / spine hover: warm amber */
  --card-glow-rim: var(--theme-accent);
  --card-glow-soft: var(--theme-accent-soft);
  --card-glow-bloom: var(--theme-accent-glow), 0 0 0 1px color-mix(in srgb, var(--theme-accent) 40%, transparent);
  --surface-hover: #f7f1e3;
  --crate-bg: linear-gradient(180deg, #3a3229 0%, #2a241e 55%, #221e19 100%);
  --crate-border: #5a4c3d;
  --crate-ink: rgba(247, 241, 230, 0.78);
  --crate-ink-strong: #f7f1e6;
  --crate-btn-bg: rgba(255, 248, 235, 0.06);
  --crate-btn-border: rgba(247, 241, 230, 0.22);
  --crate-stage-glow: radial-gradient(ellipse at 50% 92%, rgba(0, 0, 0, 0.4), transparent 72%);
  --crate-lip: linear-gradient(180deg, #6a5644 0%, #43362c 100%);
  --sleeve-paper: #f7f2e8;
  --sleeve-ink: #1a1714;
  --sleeve-muted: #6a6358;
  --sleeve-tab: #e5dccb;
  --sticker-bg: #f3e2b0;
  --sticker-ink: #2a2418;
}

/* Rain — cool neutral gray · scenic accent = cold blue */
:root[data-theme="rain"] {
  --bg: #e4e9ed;
  --bg-soft: #d7dee4;
  --surface: #f3f6f8;
  --surface-2: #e6ecf0;
  --ink: #161c21;
  --ink-muted: #556068;
  --line: #c3cdd4;
  --line-strong: #1b2328;
  --accent: #3b7ea8;
  --accent-ink: #ffffff;
  --theme-accent: var(--accent);
  --theme-accent-ink: var(--accent-ink);
  --theme-accent-soft: rgba(59, 126, 168, 0.14);
  --theme-accent-glow: 0 12px 26px rgba(45, 102, 145, 0.16);
  --accent-soft: var(--theme-accent-soft);
  --stage: #171d22;
  --stage-ink: #eef3f6;
  --card: #f6f8fa;
  --card-ink: #151b20;
  --card-muted: #556068;
  --card-line: rgba(21, 27, 32, 0.16);
  --shadow-1: 0 8px 24px rgba(18, 26, 33, 0.09);
  --shadow-2: 0 22px 54px rgba(18, 26, 33, 0.18);
  --scrim: linear-gradient(transparent, rgba(8, 14, 20, 0.7));
  /* Rain search: cool paper pill, soft steel bloom — no brand neon */
  --search-glow-bg: #eef2f5;
  --search-glow-ink: #151b20;
  --search-glow-muted: rgba(21, 27, 32, 0.46);
  --search-glow-rim: color-mix(in srgb, #8a9aa6 58%, #5f7382);
  --search-glow-bloom: rgba(90, 120, 145, 0.2);
  --search-glow-wash-a: rgba(120, 150, 175, 0.22);
  --search-glow-wash-b: rgba(59, 126, 168, 0.12);
  /* Card / spine hover: cold rain blue */
  --card-glow-rim: var(--theme-accent);
  --card-glow-soft: var(--theme-accent-soft);
  --card-glow-bloom: var(--theme-accent-glow), 0 0 0 1px color-mix(in srgb, var(--theme-accent) 50%, transparent);
  --surface-hover: #edf3f9;
  --crate-bg: linear-gradient(180deg, #2a333a 0%, #1e262c 55%, #181e23 100%);
  --crate-border: #3f4c56;
  --crate-ink: rgba(232, 238, 242, 0.76);
  --crate-ink-strong: #e8eef2;
  --crate-btn-bg: rgba(236, 242, 246, 0.06);
  --crate-btn-border: rgba(232, 238, 242, 0.2);
  --crate-stage-glow: radial-gradient(ellipse at 50% 92%, rgba(0, 0, 0, 0.45), transparent 72%);
  --crate-lip: linear-gradient(180deg, #45535e 0%, #2c363e 100%);
  --sleeve-paper: #eef2f5;
  --sleeve-ink: #151b20;
  --sleeve-muted: #5c6a74;
  --sleeve-tab: #d5dde4;
  --sticker-bg: #d9e7f4;
  --sticker-ink: #1a2a38;
}

/* Night — dark · scenic accent = brand blue, soft (NO neon / cyan bloom) */
:root[data-theme="night"] {
  --bg: #0e1113;
  --bg-soft: #14181b;
  --surface: #171c1f;
  --surface-2: #1d2327;
  --ink: #e9eeef;
  --ink-muted: #a0a9ac;
  --line: rgba(233, 238, 239, 0.16);
  --line-strong: rgba(233, 238, 239, 0.4);
  --accent: #2075d2;
  --accent-ink: #ffffff;
  --theme-accent: var(--accent);
  --theme-accent-ink: var(--accent-ink);
  --theme-accent-soft: rgba(32, 117, 210, 0.16);
  --theme-accent-glow: 0 12px 28px rgba(0, 0, 0, 0.45);
  --accent-soft: var(--theme-accent-soft);
  --stage: #0a0c0d;
  --stage-ink: #eef2f3;
  --card: #1c2226;
  --card-ink: #e9eeef;
  --card-muted: #a0a9ac;
  --card-line: rgba(233, 238, 239, 0.18);
  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 22px 54px rgba(0, 0, 0, 0.6);
  --scrim: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  --search-glow-bg: #0a0d0f;
  --search-glow-ink: #eef2f3;
  --search-glow-muted: rgba(238, 242, 243, 0.48);
  --search-glow-rim: #3a6fa8;
  --search-glow-bloom: rgba(32, 117, 210, 0.16);
  --search-glow-wash-a: rgba(32, 117, 210, 0.12);
  --search-glow-wash-b: rgba(32, 117, 210, 0.06);
  /* Card / spine hover: solid blue edge, soft depth — not glowing neon */
  --card-glow-rim: var(--theme-accent);
  --card-glow-soft: var(--theme-accent-soft);
  --card-glow-bloom: var(--theme-accent-glow), 0 0 0 1px color-mix(in srgb, var(--theme-accent) 45%, transparent);
  --surface-hover: #20262e;
  --crate-bg: linear-gradient(180deg, #1a2024 0%, #12171a 55%, #0d1113 100%);
  --crate-border: #2a3338;
  --crate-ink: rgba(233, 238, 239, 0.72);
  --crate-ink-strong: #e9eeef;
  --crate-btn-bg: rgba(233, 238, 239, 0.05);
  --crate-btn-border: rgba(233, 238, 239, 0.18);
  --crate-stage-glow: radial-gradient(ellipse at 50% 92%, rgba(0, 0, 0, 0.65), transparent 72%);
  --crate-lip: linear-gradient(180deg, #2c353a 0%, #1a2024 100%);
  --sleeve-paper: #1c2226;
  --sleeve-ink: #e9eeef;
  --sleeve-muted: #a0a9ac;
  --sleeve-tab: #2a3237;
  --sticker-bg: #2a3d52;
  --sticker-ink: #d6e8ff;
}

/* ---------- 2. BASE ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  /* auto = no refresh/anchor jump animation; in-page smooth via JS if needed */
  scroll-behavior: auto;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  padding-top: 52px; /* fixed soft bar */
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  /* No bg/color transition on load — it animated Day→saved theme and looked like a flash */
}

html.is-theme-ready body {
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -64px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.ui {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section {
  padding: clamp(42px, 6vw, 86px) 0;
}

/* anchor jumps clear the sticky header */
section[id],
footer[id],
main[id] {
  scroll-margin-top: 64px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.section-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  appearance: none;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  padding: 10px 15px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.08s ease;
}
.btn:hover {
  background: var(--surface-2);
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000);
}

/* ---------- 3. HEADER ---------- */
/* Frosted glass bar — hides on scroll down, returns on scroll up */
.site-header {
  --header-glass: color-mix(in srgb, var(--bg) 48%, transparent);
  --header-glass-edge: color-mix(in srgb, #fff 42%, transparent);
  --header-glass-line: color-mix(in srgb, var(--line) 45%, transparent);
  --header-glass-blur: blur(30px) saturate(1.3) brightness(1.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background:
    linear-gradient(
      180deg,
      var(--header-glass-edge) 0%,
      transparent 42%
    ),
    var(--header-glass);
  -webkit-backdrop-filter: var(--header-glass-blur);
  backdrop-filter: var(--header-glass-blur);
  border-bottom: 1px solid var(--header-glass-line);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent),
    0 8px 28px color-mix(in srgb, #000 6%, transparent);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
  will-change: transform;
  isolation: isolate;
}
html[data-theme="day"] .site-header {
  --header-glass: color-mix(in srgb, #fffdf8 46%, transparent);
  --header-glass-edge: color-mix(in srgb, #ffffff 52%, transparent);
  --header-glass-line: color-mix(in srgb, #d8d2c6 42%, transparent);
}
html[data-theme="rain"] .site-header {
  --header-glass: color-mix(in srgb, #f3f6f8 44%, transparent);
  --header-glass-edge: color-mix(in srgb, #ffffff 48%, transparent);
  --header-glass-line: color-mix(in srgb, #c3cdd4 40%, transparent);
}
html[data-theme="night"] .site-header {
  --header-glass: color-mix(in srgb, #0e1113 52%, transparent);
  --header-glass-edge: color-mix(in srgb, #ffffff 10%, transparent);
  --header-glass-line: color-mix(in srgb, #e9eeef 14%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent),
    0 10px 32px color-mix(in srgb, #000 35%, transparent);
}
.site-header.is-hidden {
  transform: translate3d(0, -110%, 0);
  pointer-events: none;
}
.site-header.is-nav-open {
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto;
  --header-glass: color-mix(in srgb, var(--bg) 78%, transparent);
}
/* is-solid: JS scroll flag only — same glass as resting (no 1-scroll visual jump) */
.site-header.is-solid {
}

/* Paper pages (no vibe hero): denser frost so glass still reads on cream */
body:not(:has(.vibe-hero)) .site-header {
  --header-glass: color-mix(in srgb, var(--bg) 62%, transparent);
  --header-glass-edge: color-mix(in srgb, #fff 48%, transparent);
  --header-glass-blur: blur(26px) saturate(1.28) brightness(1.05);
}
html[data-theme="day"] body:not(:has(.vibe-hero)) .site-header {
  --header-glass: color-mix(in srgb, #fffdf8 64%, transparent);
}
html[data-theme="rain"] body:not(:has(.vibe-hero)) .site-header {
  --header-glass: color-mix(in srgb, #f3f6f8 62%, transparent);
}
html[data-theme="night"] body:not(:has(.vibe-hero)) .site-header {
  --header-glass: color-mix(in srgb, #0e1113 66%, transparent);
}
html.nav-lock,
html.nav-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

@supports not (background: color-mix(in srgb, red, blue)) {
  .site-header {
    background: var(--bg);
    box-shadow: none;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
  }
}

.header-inner {
  position: relative;
  z-index: 82;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gut);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.header-inner > * {
  pointer-events: auto;
}

.mark {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: var(--display-track, -0.02em);
  text-transform: lowercase;
  color: var(--ink);
  text-shadow:
    0 1px 0 color-mix(in srgb, var(--bg) 90%, transparent),
    0 0 18px color-mix(in srgb, var(--bg) 75%, transparent),
    0 0 2px color-mix(in srgb, var(--bg) 95%, transparent);
}
.mark .dot {
  color: var(--accent);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  margin-left: auto;
  margin-right: 10px;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  text-shadow:
    0 1px 0 color-mix(in srgb, var(--bg) 92%, transparent),
    0 0 18px color-mix(in srgb, var(--bg) 72%, transparent),
    0 0 2px color-mix(in srgb, var(--bg) 95%, transparent);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), opacity 0.18s var(--ease);
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
html[data-theme="night"] .mark,
html[data-theme="night"] .header-nav a {
  text-shadow:
    0 1px 0 color-mix(in srgb, #000 70%, transparent),
    0 0 18px color-mix(in srgb, #000 55%, transparent),
    0 0 2px color-mix(in srgb, #000 80%, transparent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ---- 3-position scenic mood switch (Day / Rain / Night) ---- */
.scenic-switch {
  --scenic-w: 72px;
  --scenic-h: 26px;
  --thumb: 18px;
  position: relative;
  width: var(--scenic-w);
  height: var(--scenic-h);
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 35%, #111);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  isolation: isolate;
  background: #111;
  align-self: center;
}
.scenic-switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.scenic-track {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.scenic-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.scenic-switch[data-mood="day"] .scenic-scene.is-day,
.scenic-switch[data-mood="rain"] .scenic-scene.is-rain,
.scenic-switch[data-mood="night"] .scenic-scene.is-night {
  opacity: 1;
}

/* Day — warm dunes / sun */
.scenic-scene.is-day {
  background:
    radial-gradient(circle at 78% 28%, #ffe7a8 0 7%, transparent 8%),
    radial-gradient(ellipse 90% 70% at 50% 120%, #c45d6a 0%, #e8a07a 42%, transparent 43%),
    linear-gradient(180deg, #7eb6e8 0%, #f3c9a8 48%, #d9786a 100%);
}
.scenic-scene.is-day::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 42%;
  background:
    radial-gradient(ellipse 60% 100% at 20% 100%, #9a4458 0 60%, transparent 61%),
    radial-gradient(ellipse 70% 100% at 70% 100%, #b85a4e 0 55%, transparent 56%);
}

/* Rain — cool gray hills */
.scenic-scene.is-rain {
  background:
    linear-gradient(180deg, #6b7c8c 0%, #9aabba 40%, #c5d0d8 100%);
}
.scenic-scene.is-rain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent 0 7px,
    rgba(255, 255, 255, 0.22) 7px 8px
  );
  opacity: 0.45;
}
.scenic-scene.is-rain::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background:
    radial-gradient(ellipse 80% 100% at 30% 120%, #4a5a68 0 50%, transparent 51%),
    radial-gradient(ellipse 70% 100% at 75% 110%, #3d4b57 0 48%, transparent 49%);
}

/* Night — ink sky + moon (no purple SaaS glow) */
.scenic-scene.is-night {
  background:
    radial-gradient(circle at 76% 30%, #f4f0e4 0 5.5%, rgba(244, 240, 228, 0.35) 6%, transparent 9%),
    radial-gradient(circle at 22% 40%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 22%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 55%, rgba(255, 255, 255, 0.4) 0 1px, transparent 2px),
    linear-gradient(180deg, #0c1016 0%, #1a2230 55%, #243040 100%);
}
.scenic-scene.is-night::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background:
    radial-gradient(ellipse 85% 100% at 35% 120%, #0a0e14 0 55%, transparent 56%),
    radial-gradient(ellipse 70% 100% at 80% 115%, #121820 0 50%, transparent 51%);
}

.scenic-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33.333%;
  z-index: 2;
  cursor: pointer;
}
.scenic-hit[data-mood="day"] { left: 0; }
.scenic-hit[data-mood="rain"] { left: 33.333%; }
.scenic-hit[data-mood="night"] { left: 66.666%; }

.scenic-thumb {
  position: absolute;
  top: 50%;
  left: 3px;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc(var(--thumb) / -2);
  border-radius: 50%;
  border: 1.5px solid #111;
  background: rgba(12, 12, 14, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.06);
  z-index: 3;
  pointer-events: none;
  transition: left 0.28s var(--ease);
}
.scenic-switch[data-mood="day"] .scenic-thumb { left: 3px; }
.scenic-switch[data-mood="rain"] .scenic-thumb { left: calc(50% - var(--thumb) / 2); }
.scenic-switch[data-mood="night"] .scenic-thumb { left: calc(100% - var(--thumb) - 3px); }

.edge-btn {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, #fff 28%, transparent) 0%,
      transparent 70%
    ),
    color-mix(in srgb, var(--surface) 28%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.edge-btn:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--line-strong) 35%, transparent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, #fff 36%, transparent) 0%,
      transparent 70%
    ),
    color-mix(in srgb, var(--surface) 42%, transparent);
}
html[data-theme="night"] .edge-btn {
  border-color: color-mix(in srgb, #e9eeef 16%, transparent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, #fff 8%, transparent) 0%,
      transparent 70%
    ),
    color-mix(in srgb, #1d2327 40%, transparent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 2px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  color: var(--ink-muted);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  margin: 0;
  padding: calc(56px + env(safe-area-inset-top, 0px)) var(--gut) 28px;
  border: 0;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav[hidden] {
  display: none !important;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  pointer-events: auto;
}
.mobile-nav a:last-child {
  border-bottom: 0;
}
.mobile-nav a:hover {
  color: var(--ink);
}

/* ---------- 4. HERO — CLAY LOFT ---------- */
.hero {
  padding: clamp(8px, 1.2vw, 16px) 0 clamp(34px, 4vw, 54px);
}

.hero-head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px clamp(20px, 3vw, 48px);
  width: 100%;
  padding-top: 8px;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  flex: 0 0 auto;
  /* Warm Print #4: Fraunces display — strictly one line on desktop/tablet */
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 2.75vw, 2.6rem);
  font-weight: var(--display-weight, 600);
  letter-spacing: var(--display-track, -0.02em);
  line-height: 1.08;
  white-space: nowrap;
  color: var(--ink);
}
.hero-title em {
  /* Warm Print #4: Cormorant italic accent — optical x-height match to Fraunces */
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: -0.005em;
  color: var(--accent);
}

.hero-hint {
  margin: 0;
  flex: 0 1 50ch;
  min-width: 0;
  max-width: 50ch;
  padding-bottom: 0.14em;
  /* Warm Print #4: Work Sans body — optically aligned right of H1 */
  font-family: var(--font-body);
  font-size: clamp(0.81rem, 1.02vw, 0.94rem);
  font-weight: 400;
  line-height: 1.44;
  letter-spacing: 0;
  color: var(--ink-muted);
  text-align: left;
  text-wrap: balance;
}

.room-viewport {
  position: relative;
  width: 100%;
}

.room-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  user-select: none;
  touch-action: none;
}

.room-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  opacity: 0;
  /* Crossfade only after first theme paint — otherwise Day flashes under Night/Rain */
  transition: none;
}
html.is-theme-ready .room-bg {
  transition: opacity 0.7s var(--ease);
}

/* Drive loft sky from html[data-theme] (set in <head> boot) so first paint is correct */
html[data-theme="day"] .room-bg.day,
.room-frame.mode-day .room-bg.day {
  opacity: 1;
}
html[data-theme="rain"] .room-bg.rain,
.room-frame.mode-rain .room-bg.rain {
  opacity: 1;
}
html[data-theme="night"] .room-bg.night,
.room-frame.mode-night .room-bg.night {
  opacity: 1;
}

.rain-canvas {
  position: absolute;
  left: 41.5%;
  top: 12.6%;
  width: 17%;
  height: 45.6%;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: none;
}
html.is-theme-ready .rain-canvas {
  transition: opacity 0.5s ease;
}
html[data-theme="rain"] .rain-canvas,
.room-frame.mode-rain .rain-canvas {
  opacity: 1;
}

.room-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.hud-tag {
  background: rgba(253, 251, 247, 0.88);
  color: #14181a;
  border: 1px solid rgba(20, 24, 26, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
}
.room-frame.mode-rain .hud-tag,
.room-frame.mode-night .hud-tag {
  background: rgba(16, 20, 25, 0.84);
  color: #f2f5f6;
  border-color: rgba(255, 255, 255, 0.18);
}

.room-hotspot {
  position: absolute;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 8;
  padding: 0;
}
.hotspot-lamp {
  right: 0.5%;
  top: 47%;
  width: 9%;
  height: 41%;
}
.hotspot-window {
  left: 41%;
  top: 12%;
  width: 18%;
  height: 46%;
}

.clay-dog-btn {
  position: absolute;
  left: 48%;
  top: 93.2%;
  width: 11.2%;
  transform: translate(-50%, -100%);
  z-index: 22;
  cursor: grab;
  background: transparent;
  border: 0;
  padding: 0;
  touch-action: none;
  /* Hidden until saved x/y applied — prevents floor→saved jump on refresh */
  opacity: 0;
  transition: width 0.22s var(--spring), transform 0.25s var(--spring), opacity 0.18s ease;
}
.clay-dog-btn.is-dog-ready {
  opacity: 1;
}
/* Slide only after first place is set (drag/snap), never on page boot */
.clay-dog-btn.is-dog-ready.is-dog-motion {
  transition: width 0.22s var(--spring), transform 0.25s var(--spring), left 0.28s var(--spring), top 0.28s var(--spring), opacity 0.18s ease;
}
.clay-dog-btn.is-dragging {
  cursor: grabbing;
  transition: none;
  opacity: 1;
  z-index: 46;
}
.clay-dog-btn.on-sofa {
  width: 9.4%;
}
.clay-dog-btn.pose-alert {
  width: 9.2%;
}
.clay-dog-btn.pose-happy {
  width: 10.2%;
  transform: translate(-50%, -106%);
}
.clay-dog-btn.on-sofa.pose-happy {
  width: 8.8%;
}
.clay-dog-btn img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 8px rgba(28, 22, 16, 0.26));
  transition: filter 0.5s ease;
}
.clay-dog-btn::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -2px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(28, 22, 15, 0.38) 0%, rgba(28, 22, 15, 0) 74%);
  pointer-events: none;
}
.room-frame.mode-rain .clay-dog-btn img {
  filter: brightness(0.9) saturate(0.92) drop-shadow(0 6px 10px rgba(15, 20, 26, 0.34));
}
.room-frame.mode-night .clay-dog-btn img {
  filter: brightness(0.76) sepia(0.18) drop-shadow(0 7px 12px rgba(0, 0, 0, 0.5));
}

.pet-bubble {
  position: absolute;
  top: -24px;
  left: 52%;
  transform: translateX(-50%);
  background: rgba(253, 251, 247, 0.94);
  color: #14181a;
  border: 1px solid rgba(20, 24, 26, 0.16);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  pointer-events: none;
  animation: floatZzz 2.6s ease-in-out infinite;
}
.clay-dog-btn.pose-happy .pet-bubble {
  background: #c63f27;
  color: #fff;
  border-color: #c63f27;
}
.clay-dog-btn.pose-alert .pet-bubble {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

@keyframes floatZzz {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -5px);
  }
}

.play-ball {
  position: absolute;
  width: 3.1%;
  aspect-ratio: 1;
  z-index: 34;
  pointer-events: none;
  opacity: 0;
  left: var(--ball-x0, 26%);
  top: var(--ball-y0, 79%);
  filter: drop-shadow(0 4px 5px rgba(24, 18, 12, 0.3));
}
.play-ball.is-flying {
  animation: ballArcSpin 0.78s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes ballArcSpin {
  0% {
    opacity: 1;
    left: var(--ball-x0, 26%);
    top: var(--ball-y0, 79%);
    transform: scale(0.85) rotate(0deg);
  }
  45% {
    opacity: 1;
    left: var(--ball-xm, 44%);
    top: var(--ball-ym, 60%);
    transform: scale(1.1) rotate(220deg);
  }
  90% {
    opacity: 1;
    left: var(--ball-x1, 58%);
    top: var(--ball-y1, 85%);
    transform: scale(0.95) rotate(440deg);
  }
  100% {
    opacity: 0;
    left: var(--ball-x1, 59%);
    top: var(--ball-y1, 87%);
    transform: scale(0.45) rotate(520deg);
  }
}

.unbox-floor-cue {
  position: absolute;
  left: 17%;
  top: 73%;
  transform: translate(-50%, -50%);
  z-index: 14;
  pointer-events: none;
  border: 1.5px dashed var(--accent);
  background: rgba(253, 251, 247, 0.86);
  color: #15406f;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.unbox-floor-cue.is-visible {
  opacity: 1;
}

.surfaces-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.room-frame.is-dragging-any .surfaces-layer,
.room-frame.is-tap-move .surfaces-layer {
  opacity: 1;
}
.room-frame.is-tap-move .surfaces-layer {
  pointer-events: auto;
}

.surface-guide {
  position: absolute;
  height: 18px;
  border-radius: 99px;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.surface-guide::before {
  content: "";
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 252, 240, 0.82);
  box-shadow: 0 0 12px rgba(255, 240, 180, 0.85), 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, height 0.15s ease;
}
.surface-guide.is-active-snap::before {
  height: 7px;
  background: #f4c76b;
  box-shadow: 0 0 18px rgba(244, 199, 107, 0.95);
}

.surface-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 20, 22, 0.9);
  color: #fdfbf7;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
/* Only the active snap under the dragged item — never all labels at once */
.surface-guide.is-active-snap .surface-label {
  opacity: 1;
}

.items-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 18;
}

.placed-item {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  transform: translate(-50%, -100%);
  transform-origin: bottom center;
  transition: left 0.26s var(--spring), top 0.26s var(--spring), transform 0.22s var(--spring);
  touch-action: none;
}
.placed-item img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 8px rgba(26, 20, 14, 0.22));
  transition: filter 0.5s ease;
  pointer-events: none;
}
.placed-item::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(24, 18, 12, 0.44) 0%, rgba(24, 18, 12, 0) 74%);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.room-frame.mode-rain .placed-item img {
  filter: brightness(0.9) saturate(0.92) drop-shadow(0 5px 9px rgba(15, 22, 28, 0.34));
}
.room-frame.mode-night .placed-item img {
  filter: brightness(0.76) sepia(0.18) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.52));
}
.room-frame.mode-rain .placed-item[data-id="lamp"] img,
.room-frame.mode-night .placed-item[data-id="lamp"] img {
  filter: brightness(1.16) drop-shadow(0 0 26px rgba(251, 191, 36, 0.9)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.42));
}
.placed-item:hover {
  z-index: 28 !important;
  transform: translate(-50%, -102%) scale(1.03);
}
.placed-item.is-selected img {
  filter: drop-shadow(0 0 10px rgba(244, 199, 107, 0.85)) drop-shadow(0 6px 12px rgba(26, 20, 14, 0.28));
}
.placed-item.is-dragging {
  cursor: grabbing;
  z-index: 45 !important;
  transition: none;
  transform: translate(-50%, -106%) scale(1.07);
}
.placed-item.is-dragging::after {
  opacity: 0.22;
  transform: translateY(10px) scale(0.85);
}
.placed-item.is-unplaced {
  animation: floorBounce 1.8s ease-in-out infinite;
}

@keyframes floorBounce {
  0%,
  100% {
    transform: translate(-50%, -100%);
  }
  50% {
    transform: translate(-50%, -104%);
  }
}

.item-hover-label {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 20, 22, 0.92);
  color: #fdfbf7;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  max-width: min(46vw, 220px);
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease;
}
/* Hover / drag only — never all floor items labeled at once */
.placed-item:hover .item-hover-label,
.placed-item.is-dragging .item-hover-label {
  opacity: 1;
}
@media (hover: none) {
  .placed-item:hover .item-hover-label {
    opacity: 0;
  }
  .placed-item.is-dragging .item-hover-label {
    opacity: 1;
  }
}

.mobile-cam-bar {
  display: none;
  margin-top: 8px;
  gap: 6px;
  grid-template-columns: repeat(4, 1fr);
}
.cam-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
}
.cam-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* Hero dock — 1 unbox | 2 vibe+PNG+toss ; 3 = catalog below in 3 cols */
.dock-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
  align-items: stretch;
  width: 100%;
}
.dock-card-vibe {
  gap: 12px;
}
.dock-card-vibe .vibe-box {
  margin-bottom: 0;
}
.dock-card-vibe .vibe-name {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.dock-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.card-kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.box-arena {
  position: relative;
  background: radial-gradient(circle at 50% 60%, #efe9dc 0%, #e4dccb 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 10px;
  margin: 4px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 150px;
}

.kraft-box {
  position: relative;
  width: 188px;
  height: 102px;
  perspective: 500px;
}

.box-body {
  position: absolute;
  inset: 20px 0 0 0;
  background: linear-gradient(180deg, #cfa26d 0%, #bd8c55 100%);
  border: 2px solid #593e22;
  border-radius: 4px;
  box-shadow: 0 10px 18px rgba(56, 38, 18, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box-shipping-label {
  background: #faf7f0;
  border: 1px solid rgba(89, 62, 34, 0.35);
  border-radius: 2px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #2c241b;
  text-align: center;
  transform: rotate(-1.3deg);
  max-width: 11.5rem;
}
.box-shipping-label strong {
  display: block;
  font-size: 0.66rem;
  color: #15191a;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.box-flap {
  position: absolute;
  top: 0;
  width: 50%;
  height: 22px;
  background: linear-gradient(180deg, #deb480 0%, #cfa26d 100%);
  border: 2px solid #593e22;
  transition: transform 0.42s var(--spring);
  z-index: 4;
}
.box-flap.left {
  left: 0;
  border-radius: 4px 0 0 0;
  transform-origin: left bottom;
}
.box-flap.right {
  right: 0;
  border-radius: 0 4px 0 0;
  transform-origin: right bottom;
}
.kraft-box.is-opening .box-flap.left {
  transform: rotate(-122deg);
}
.kraft-box.is-opening .box-flap.right {
  transform: rotate(122deg);
}

.tape-track {
  position: absolute;
  top: 8px;
  left: -8px;
  right: -8px;
  height: 22px;
  z-index: 10;
  cursor: grab;
  touch-action: none;
  display: flex;
  align-items: center;
}

.tape-strip {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 232, 200, 0.94), rgba(232, 212, 168, 0.9));
  border: 1.5px dashed rgba(120, 86, 44, 0.55);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #5b401e;
  letter-spacing: 0.05em;
  transform-origin: right center;
  transition: transform 0.14s ease, opacity 0.2s ease;
}
.kraft-box.is-opening .tape-strip {
  opacity: 0;
  transform: translateX(48px) rotate(12deg) scaleX(0.2);
}

.puff-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #f5ebd4;
  border: 1px solid #9e7648;
  top: 42%;
  left: 50%;
  pointer-events: none;
  z-index: 20;
  animation: puffFly 0.55s var(--ease) forwards;
}

@keyframes puffFly {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(1.1) rotate(var(--rot));
  }
}

.subtle-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
}

.text-link-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-link-btn:hover {
  color: var(--ink);
}

.vibe-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 9px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.vibe-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.vibe-name {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}

.dock-actions {
  display: grid;
  gap: 8px;
}

.dock-msg {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Compact catalogue under the two dock cards — does not stretch them */
.catalog {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}
.catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.catalog-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.catalog-hint {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--ink-muted);
}
.catalog-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 16px;
}

.cat-pill {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 4px 2px;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.14s ease, border-color 0.14s ease;
}
.cat-pill .cat-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--ink-muted) 45%, transparent);
  border-radius: 3px;
  font-size: 0.58rem;
  line-height: 1;
  color: transparent;
}
.cat-pill:hover {
  color: var(--ink);
  border-bottom-color: color-mix(in srgb, var(--ink) 28%, transparent);
}
.cat-pill:hover .cat-mark {
  border-color: var(--ink-muted);
}
.cat-pill.is-placed {
  color: var(--ink);
}
.cat-pill.is-placed .cat-mark {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.cat-pill.is-selected {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.cat-pill.is-selected .cat-mark {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ---------- 5. PRODUCTS — CROSSFADE STRIP ---------- */
.campaign {
  position: relative;
  height: clamp(340px, 62svh, 620px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--stage);
  isolation: isolate;
  border: 1px solid var(--line);
}

.campaign .layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.campaign .layer[data-on="true"] {
  opacity: 1;
}
.campaign img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 7s linear;
}
.campaign .layer[data-on="true"] img {
  transform: scale(1.07);
}

.campaign .scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  z-index: 4;
  pointer-events: none;
  background: var(--scrim);
}

.campaign .zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  z-index: 5;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0;
}
.campaign .zone.prev {
  left: 0;
  cursor: w-resize;
}
.campaign .zone.next {
  right: 0;
  cursor: e-resize;
}

.campaign .cap {
  position: absolute;
  left: clamp(14px, 2.4vw, 32px);
  bottom: clamp(14px, 2.4vw, 32px);
  z-index: 6;
  color: #fff;
  display: grid;
  gap: 7px;
  max-width: min(46ch, 62vw);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}
.campaign .cap h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.campaign .cap p {
  margin: 0;
  font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.94);
}
.campaign .cap .read {
  justify-self: start;
  margin-top: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.campaign .cap .read:hover {
  border-bottom-color: #fff;
}

.campaign .pager {
  position: absolute;
  right: clamp(14px, 2.4vw, 32px);
  bottom: clamp(14px, 2.4vw, 32px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.campaign .pager .ticks {
  display: flex;
  gap: 6px;
}
.campaign .pager .ticks button {
  width: 26px;
  height: 3px;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.campaign .pager .ticks button[aria-current="true"] {
  background: var(--accent);
}
.campaign .pager .arrows {
  display: flex;
  gap: 10px;
}
.campaign .pager .arrows button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* category index rows */
.index-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 10px;
  margin-top: clamp(26px, 4vw, 44px);
}
.index-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: -0.01em;
}

/* Shared statement headers: Categories / Reviews / Picks / Editorial / Trust / FAQ */
#products.section,
#reviews.section,
#picks.section,
#editorial.section,
#trust.section,
#faq.section {
  padding-top: clamp(28px, 3.6vw, 48px);
}

#reviews.section,
#faq.section {
  border-top: 0;
}

#products .products-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(20px, 3.6vw, 52px);
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

#products .kicker,
#reviews .kicker,
#picks .kicker,
#editorial .kicker,
#trust .kicker,
#faq .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: var(--ink-muted);
}

#products .kicker::before,
#reviews .kicker::before,
#picks .kicker::before,
#editorial .kicker::before,
#trust .kicker::before,
#faq .kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--theme-accent);
}

#products #productsHeading,
#reviews #reviewsHeading,
#picks #picksHeading,
#editorial #editorialHeading,
#trust #trustHeading,
#faq #faqHeading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.3vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: var(--ink);
}

#products #productsHeading .accent-word,
#reviews #reviewsHeading .accent-word,
#picks #picksHeading .accent-word,
#editorial #editorialHeading .accent-word,
#trust #trustHeading .accent-word,
#faq #faqHeading .accent-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: -0.01em;
  color: var(--theme-accent);
}

#products .products-head-meta {
  position: relative;
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  --rail-y: 0px;
}

#products .products-head-meta::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: var(--rail-y, 0px);
  width: 2px;
  height: 26px;
  background: var(--theme-accent);
  border-radius: 1px;
  animation: productsRailThumb 3.8s var(--ease, cubic-bezier(0.4, 0, 0.2, 1)) infinite alternate;
  will-change: top;
}

#products .products-head-meta.is-scrubbing::before {
  animation: none;
  transition: top 0.35s var(--ease, cubic-bezier(0.4, 0, 0.2, 1));
}

@keyframes productsRailThumb {
  from { top: 0; }
  to { top: calc(100% - 26px); }
}

#products .cats-dek,
#reviews .reviews-dek,
#picks .picks-dek,
#editorial .editorial-dek,
#trust .trust-dek,
#faq .faq-dek {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.18vw, 1.03rem);
  line-height: 1.52;
  color: var(--ink);
  max-width: 44ch;
}

/* Centered statement heads: Reviews / Picks / Editorial / Trust / FAQ */
#picks .picks-head,
#editorial .editorial-head,
#trust .trust-head,
#faq .faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
  margin-bottom: clamp(22px, 3vw, 34px);
  text-align: center;
}
#picks .picks-head-lead,
#editorial .editorial-head-lead,
#trust .trust-head-lead,
#faq .faq-head-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 44rem;
}
#picks .kicker,
#editorial .kicker,
#trust .kicker,
#faq .kicker {
  justify-content: center;
}
#picks #picksHeading,
#editorial #editorialHeading,
#trust #trustHeading,
#faq #faqHeading {
  max-width: 22ch;
  text-align: center;
}
#picks .picks-dek,
#editorial .editorial-dek,
#trust .trust-dek,
#faq .faq-dek {
  max-width: 46ch;
  width: min(100%, 46ch);
  margin: 0 auto;
  text-align: center;
}

#products .section-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

/* Reviews header: title center, dek tucked left-under, search wide below */
#reviews .reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
  margin-bottom: clamp(22px, 3vw, 34px);
  text-align: center;
}
#reviews .reviews-head-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 40rem;
}
#reviews .kicker {
  justify-content: center;
}
#reviews #reviewsHeading {
  max-width: none;
  text-align: center;
}
#reviews .reviews-dek {
  max-width: 46ch;
  width: min(100%, 46ch);
  margin: 0 auto;
  text-align: center;
  transform: none;
}
#reviews .reviews-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  margin: 2px auto 0;
  padding-top: 0;
  border-top: 0;
}
#reviews .reviews-tools .search-glow {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 820px) {
  #products .products-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 22px;
  }
  #products .products-head-meta {
    border-left: 0;
    padding-left: 0;
  }
  #products .products-head-meta::before {
    display: none;
  }
  #products #productsHeading {
    max-width: none;
  }
  #reviews .reviews-tools {
    width: min(100%, 520px);
  }
}

.cat-index {
  border-top: 1px solid var(--line);
  max-width: none;
  width: 100%;
}

.cat-row {
  border-bottom: 1px solid var(--line);
}
.cat-row-main {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1.05fr) minmax(12rem, 1.35fr);
  align-items: baseline;
  gap: clamp(12px, 2.2vw, 32px);
  padding: clamp(14px, 2vw, 22px) 2px;
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.28s var(--ease), color 0.2s ease;
}
.cat-row:hover .cat-row-main,
.cat-row:focus-within .cat-row-main,
.cat-row.is-open .cat-row-main {
  padding-left: 10px;
  color: var(--accent);
}
.cat-row .n {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
.cat-row .t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.cat-row .k {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
  line-height: 1.4;
}
.cat-row:hover .k,
.cat-row:focus-within .k,
.cat-row.is-open .k {
  color: color-mix(in srgb, var(--accent) 65%, var(--ink-muted));
}

/* Draft behavior: still slides open under the row */
.cat-row .strip {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.cat-row:hover .strip,
.cat-row:focus-within .strip,
.cat-row.is-open .strip {
  grid-template-rows: 1fr;
}
.cat-row .strip-in {
  overflow: hidden;
  min-height: 0;
}
.cat-still {
  display: block;
  width: 100%;
  height: clamp(220px, 40vh, 400px);
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  object-fit: cover;
  object-position: center 45%;
  border-radius: 10px;
  image-rendering: -webkit-optimize-contrast;
}
.cat-stub {
  width: 100%;
  height: clamp(220px, 40vh, 400px);
  margin: 0 0 clamp(14px, 2.2vw, 22px);
  border-radius: 10px;
  border: 1px dashed color-mix(in srgb, var(--ink-muted) 35%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface-2)) 0%, var(--bg-soft) 55%, var(--surface) 100%);
  display: grid;
  place-items: center;
}
.cat-stub-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.cat-stub[data-stub="01"] { background: linear-gradient(135deg, #dce8f6, #f5f2ec 60%); }
.cat-stub[data-stub="02"] { background: linear-gradient(135deg, #e8dfd2, #f5f2ec 60%); }
.cat-stub[data-stub="03"] { background: linear-gradient(135deg, #d9ebe3, #f5f2ec 60%); }
.cat-stub[data-stub="04"] { background: linear-gradient(135deg, #e6ddd6, #f5f2ec 60%); }

/* ---------- 6. LATEST REVIEWS — CRATE + PREVIEW ---------- */
.reviews-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Glow search — reference pill, Pickora accent + theme tokens */
.search-glow {
  --sg-pad-y: 11px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 220px;
  min-width: min(100%, 220px);
  max-width: 100%;
  padding: var(--sg-pad-y) 14px var(--sg-pad-y) 14px;
  border-radius: 999px;
  isolation: isolate;
  cursor: text;
  color: var(--search-glow-ink);
  background:
    linear-gradient(
      105deg,
      var(--search-glow-wash-a) 0%,
      transparent 42%,
      var(--search-glow-wash-b) 78%,
      transparent 100%
    ),
    var(--search-glow-bg);
  background-size: 220% 100%, 100% 100%;
  border: 1px solid var(--search-glow-rim);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--search-glow-rim) 35%, transparent),
    0 8px 20px var(--search-glow-bloom),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background-position 0.6s var(--ease);
  animation: searchGlowWash 7.5s ease-in-out infinite alternate;
}
.search-glow:hover,
.search-glow:focus-within {
  border-color: color-mix(in srgb, var(--search-glow-rim) 55%, var(--theme-accent));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--search-glow-rim) 40%, transparent),
    0 10px 24px var(--search-glow-bloom),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.search-glow-caret {
  flex: 0 0 auto;
  width: 1.5px;
  height: 1.05em;
  border-radius: 1px;
  background: color-mix(in srgb, var(--search-glow-rim) 40%, var(--theme-accent));
  box-shadow: none;
  animation: searchCaretBlink 1.1s steps(1, end) infinite;
}
.search-glow input {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--search-glow-ink);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.3;
  width: 100%;
  min-width: 0;
  padding: 0;
}
.search-glow input::placeholder {
  color: var(--search-glow-muted);
  opacity: 1;
}
.search-glow input::-webkit-search-decoration,
.search-glow input::-webkit-search-cancel-button,
.search-glow input::-webkit-search-results-button {
  -webkit-appearance: none;
}
.search-glow-spark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--search-glow-rim) 35%, var(--theme-accent));
  filter: none;
  transition: transform 0.28s var(--spring), color 0.2s ease;
}
.search-glow:focus-within .search-glow-caret {
  opacity: 0;
  animation: none;
}
.search-glow:hover .search-glow-spark,
.search-glow:focus-within .search-glow-spark {
  color: color-mix(in srgb, var(--theme-accent) 55%, var(--search-glow-rim));
  transform: scale(1.08) rotate(-6deg);
}
:root[data-theme="day"] .search-glow {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--search-glow-rim) 28%, transparent),
    0 6px 18px rgba(90, 70, 40, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
:root[data-theme="day"] .search-glow:hover,
:root[data-theme="day"] .search-glow:focus-within {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--theme-accent) 35%, var(--search-glow-rim)),
    0 8px 22px rgba(90, 70, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
:root[data-theme="rain"] .search-glow {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--search-glow-rim) 30%, transparent),
    0 6px 18px rgba(40, 60, 75, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
:root[data-theme="rain"] .search-glow:hover,
:root[data-theme="rain"] .search-glow:focus-within {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--theme-accent) 40%, var(--search-glow-rim)),
    0 8px 22px rgba(40, 60, 75, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
:root[data-theme="night"] .search-glow {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--search-glow-rim) 35%, transparent),
    0 8px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
:root[data-theme="night"] .search-glow:hover,
:root[data-theme="night"] .search-glow:focus-within {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--theme-accent) 45%, var(--search-glow-rim)),
    0 10px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
@keyframes searchCaretBlink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}
@keyframes searchGlowWash {
  from { background-position: 0% 50%, 0 0; }
  to { background-position: 100% 50%, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .search-glow,
  .search-glow-caret {
    animation: none;
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}

.crate-bin {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--crate-bg);
  border: 1px solid var(--crate-border);
  border-radius: 12px;
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-2);
}

.crate-bin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--crate-ink);
}

.crate-controls {
  display: inline-flex;
  gap: 6px;
}

.crate-nav-btn {
  appearance: none;
  border: 1px solid var(--crate-btn-border);
  background: var(--crate-btn-bg);
  color: var(--crate-ink-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}
.crate-nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.crate-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.crate-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 360px;
  height: clamp(340px, 42vh, 420px);
  perspective: 1100px;
  perspective-origin: 50% 24%;
  overflow: hidden;
  border-radius: 6px;
  background: var(--crate-stage-glow);
}

.crate-empty {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--crate-ink);
}
.crate-stage.is-empty .crate-empty {
  display: flex;
}

.crate-sleeve {
  position: absolute;
  left: 50%;
  width: min(86%, 420px);
  margin-left: calc(min(86%, 420px) / -2);
  height: 288px;
  /* raised ~12–15% within the stage so tabs sit higher */
  bottom: clamp(52px, 14%, 78px);
  transform-origin: center bottom;
  border-radius: 4px;
  background: var(--sleeve-paper);
  color: var(--sleeve-ink);
  border: 1px solid color-mix(in srgb, var(--sleeve-ink) 18%, transparent);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: visible;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease), filter 0.4s var(--ease);
}

.sleeve-tab {
  position: absolute;
  top: -23px;
  height: 23px;
  padding: 0 11px;
  background: var(--sleeve-tab);
  color: var(--sleeve-ink);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  border-radius: 3px 3px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-bottom: 0;
  white-space: nowrap;
  max-width: 44%;
  overflow: hidden;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
/* fix: only the sleeve on top keeps a readable tab, the rest fade out
   so old labels never linger over the active cover */
.crate-sleeve[data-state="active"] .sleeve-tab {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}
.crate-sleeve[data-state="behind"] .sleeve-tab {
  opacity: 0.55;
}
.crate-sleeve[data-state="passed"] .sleeve-tab {
  opacity: 0;
}

.sleeve-art {
  position: relative;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
  background: #222620;
}
.sleeve-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clerk-sticker {
  position: absolute;
  right: 12px;
  top: 12px;
  background: var(--sticker-bg);
  color: var(--sticker-ink);
  padding: 6px 9px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 145px;
  transform: rotate(2deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.sleeve-foot {
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--sleeve-paper);
  border-radius: 0 0 3px 3px;
}
.sleeve-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
}
.sleeve-cat {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--sleeve-muted);
}
.sleeve-pull {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.sleeve-pull:hover {
  color: color-mix(in srgb, var(--accent) 70%, var(--sleeve-ink));
  border-bottom-color: var(--accent);
}

.crate-lip {
  position: relative;
  z-index: 12;
  margin-top: -14px;
  height: 26px;
  background: var(--crate-lip);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--crate-ink);
}

/* mini preview (right) */
.mini-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-1);
  min-height: 100%;
}
.mini-preview .flip-scene {
  flex: 1 1 auto;
}

.mat-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.flip-trigger {
  appearance: none;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.flip-trigger:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.flip-scene {
  perspective: 1200px;
}

.flip-card {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 48vh, 520px);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.flip-card.is-flipped {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--card);
  color: var(--card-ink);
  border: 1px solid var(--card-line);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  overflow: auto;
  box-shadow: var(--shadow-1);
}
.card-front {
  transform: translateZ(1px);
}
.card-back {
  transform: rotateY(180deg) translateZ(1px);
  background: var(--surface-2);
}

.front-cover-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 215px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--card-line);
  margin: 0 auto 14px;
  background: var(--stage);
}
.front-cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mat-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.mat-summary {
  margin: 0;
  color: var(--card-muted);
  font-size: 0.9rem;
}

.clerk-quote {
  margin: 0;
  padding: 11px 14px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem;
}

.liner-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1.5px solid var(--card-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.liner-header h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
}
.liner-cat {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--card-muted);
  white-space: nowrap;
}

.tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.track-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--card-line);
}
.track-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.track-side {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
}
.track-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--card-muted);
  margin-bottom: 2px;
}
.track-text {
  font-size: 0.86rem;
  line-height: 1.45;
}

.mat-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.review-hits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hit-pill {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 6px;
  cursor: pointer;
}
.hit-pill[aria-current="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ---------- 7. TOP PICKS — EXPANDING BLADES ---------- */
.blade-stage {
  display: flex;
  height: 480px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--stage);
  overflow: hidden;
}

.blade {
  position: relative;
  flex: 0.68;
  min-width: 72px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #222623;
}
.blade:last-child {
  border-right: 0;
}
.blade.is-open {
  flex: 3.6;
  cursor: default;
}

.blade-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.8);
  transform: scale(1.04);
  transition: filter 0.5s var(--ease), transform 0.7s var(--ease);
}
.blade:hover .blade-bg {
  filter: brightness(0.72) saturate(0.95);
}
.blade.is-open .blade-bg {
  filter: brightness(0.95) saturate(1);
  transform: scale(1);
}

.blade-spine {
  position: absolute;
  inset: 0;
  z-index: 4;
  appearance: none;
  border: 0;
  background: transparent;
  color: #f4f3ef;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.22s ease;
}
.blade.is-open .blade-spine {
  opacity: 0;
  pointer-events: none;
}

.spine-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.spine-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.blade-panel {
  position: relative;
  z-index: 6;
  margin: 18px;
  padding: 18px 20px;
  max-width: min(420px, calc(100% - 36px));
  background: color-mix(in srgb, var(--surface) 43%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.32s ease 0.12s, transform 0.4s var(--ease) 0.12s;
}
:root[data-theme="night"] .blade-panel {
  background: color-mix(in srgb, var(--surface) 38%, transparent);
}
@supports not (background: color-mix(in srgb, red, blue)) {
  .blade-panel {
    background: rgba(255, 253, 248, 0.43);
  }
  :root[data-theme="night"] .blade-panel {
    background: rgba(23, 28, 31, 0.43);
  }
}
.blade.is-open .blade-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.panel-name {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.1;
}
.panel-note {
  margin: 0 0 16px;
  font-size: 0.87rem;
  color: var(--ink-muted);
  max-width: 48ch;
}
.panel-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.16s ease;
}
.panel-cta:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000);
}
.panel-guide {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.panel-guide:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.picks-foot {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
}

/* ---------- 8. EDITORIAL SPREAD ---------- */
.cols {
  columns: 3;
  column-gap: clamp(20px, 3vw, 44px);
  column-rule: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink);
}
.cols p {
  margin: 0 0 1em;
}
.cols p:first-of-type::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 3.4em;
  line-height: 0.82;
  padding: 6px 8px 0 0;
  color: var(--accent);
}
.cols figure {
  margin: 0 0 1em;
  break-inside: avoid;
}
.cols figure img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cols figcaption {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
blockquote.pull {
  margin: 0 0 1em;
  padding: 14px 0;
  border-top: 2px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.26;
  break-inside: avoid;
}

/* ---------- 9. WHY TRUST ---------- */
.trust-list {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line-strong);
}
.trust-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(14px, 3vw, 44px);
  padding: clamp(16px, 2.4vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.trust-pair:last-child {
  border-bottom: 0;
}
.trust-pair:hover {
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent);
}
.trust-pair dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-pair dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  max-width: 54ch;
}
.trust-pair dd a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
.trust-pair dd a:hover {
  color: var(--accent);
}

/* ---------- 10. FAQ DESK ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.faq-right {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2.2vw, 24px);
  box-shadow: var(--shadow-1);
}
:root[data-theme="night"] .faq-right {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.docket-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}
.docket-head h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.docket-head span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.q-row {
  border-bottom: 1px solid var(--line);
}
.q-row-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  background: none;
  border: 0;
  padding: clamp(16px, 2.6vh, 22px) 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.q-row-btn .no {
  align-self: start;
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.q-row-btn .txt {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.q-row-btn .txt strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  transition: transform 0.3s var(--ease);
}
.q-row-btn .txt span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.q-row-btn .ar {
  justify-self: end;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}
.q-row-btn:hover .txt strong {
  transform: translateX(5px);
}
.q-row[data-open="true"] .q-row-btn {
  color: var(--accent);
}
.q-row[data-open="true"] .q-row-btn .no,
.q-row[data-open="true"] .q-row-btn .txt span {
  color: var(--accent);
}
.q-row[data-open="true"] .q-row-btn .ar {
  transform: rotate(90deg);
}

.q-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.q-row[data-open="true"] .q-panel {
  grid-template-rows: 1fr;
}
.q-panel-in {
  overflow: hidden;
}
.q-answer {
  padding: 0 0 clamp(16px, 2.4vh, 24px);
  display: grid;
  gap: 10px;
  max-width: 62ch;
}
.q-answer p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}
.q-answer a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
.q-answer a:hover {
  color: var(--accent);
}

.desk-hint {
  margin-top: clamp(16px, 3vh, 26px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.desk-hint b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 10b. AFFILIATE DISCLOSURE (before footer) ---------- */
.site-disclosure {
  margin: clamp(14px, 2vw, 22px) auto clamp(28px, 4vw, 44px);
  text-align: center;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.1vw, 0.84rem);
  line-height: 1.55;
}
.site-disclosure p {
  margin: 0 auto;
  max-width: 62rem;
}
.site-disclosure a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-disclosure a:hover {
  color: color-mix(in srgb, var(--accent) 80%, var(--ink));
}
@media (max-width: 900px) {
  .site-disclosure {
    text-align: left;
    padding-inline: 2px;
  }
}

/* ---------- 11. FOOTER COLOPHON ---------- */
.colophon {
  background: #000;
  color: #f1efe9;
  padding: clamp(48px, 7vw, 96px) 0 clamp(22px, 3vw, 36px);
  border-top: 1px solid #000;
}

.colophon-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.colophon-brand {
  min-width: 0;
}

.colophon-mark {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8.5vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  color: #f1efe9;
}
.colophon-dot {
  color: var(--accent);
  margin: 0 0.02em;
}
.colophon-mark-shop {
  color: var(--accent);
}

.colophon-dek {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.55;
  color: rgba(241, 239, 233, 0.58);
}

.colophon-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 36px);
}

.colophon-cols h2 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, 0.4);
}

.colophon-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}
.colophon-cols a {
  color: rgba(241, 239, 233, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.colophon-cols a:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

.colophon-end {
  max-width: var(--maxw);
  margin: clamp(32px, 5vw, 58px) auto 0;
  padding: 16px var(--gut) 0;
  border-top: 1px solid rgba(241, 239, 233, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, 0.46);
}
.colophon-end a {
  color: rgba(241, 239, 233, 0.62);
  text-decoration: none;
}
.colophon-end a:hover {
  color: #fff;
}
.colophon :focus-visible {
  outline-color: #fff;
}

@media (max-width: 900px) {
  .colophon-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .colophon-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .colophon-cols {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
  .colophon-mark {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
    white-space: normal;
  }
}

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #reviews .reviews-grid > .crate-bin,
  #reviews .reviews-grid > .mini-preview {
    min-height: 0;
  }
  .crate-stage {
    height: clamp(320px, 38vh, 400px);
    min-height: 300px;
  }
  .flip-card {
    min-height: 0;
    height: auto;
  }
  .card-face {
    position: relative;
    inset: auto;
    min-height: 0;
  }
  .card-back {
    display: none;
  }
  .flip-card.is-flipped .card-front {
    display: none;
  }
  .flip-card.is-flipped .card-back {
    display: flex;
    transform: none;
  }
  .flip-card.is-flipped {
    transform: none;
  }
  .cols {
    columns: 2;
  }
}

/* Tablet portrait / large phone landscape */
@media (max-width: 900px) {
  #reviews.section {
    padding-top: clamp(22px, 4vw, 36px);
  }
  #reviews .reviews-head {
    margin-bottom: 18px;
    gap: 10px;
  }
  #reviews #reviewsHeading {
    font-size: clamp(1.85rem, 5.5vw, 2.6rem);
  }
  #reviews .reviews-tools {
    width: min(100%, 520px);
  }
  .crate-bin {
    padding: 16px 16px 14px;
    border-radius: 10px;
  }
  .crate-bin-header {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .crate-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .crate-nav-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.75rem;
  }
  .crate-sleeve {
    width: min(90%, 400px);
    margin-left: calc(min(90%, 400px) / -2);
    bottom: clamp(40px, 10%, 64px);
  }
  .mini-preview {
    padding: 14px 14px 16px;
    border-radius: 10px;
  }
  .mat-bar {
    gap: 8px;
  }
  .flip-trigger {
    width: 100%;
    text-align: center;
  }
  .mat-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .front-cover-box {
    max-height: none;
    width: 100%;
  }
  .mat-actions {
    grid-template-columns: 1fr;
  }
  .mat-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .dock-grid {
    grid-template-columns: 1fr;
  }
  .catalog-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) {
  .mobile-nav {
    display: none !important;
  }
  .nav-toggle {
    display: none !important;
  }
}

/* Tablet + compact desktop: soft bar, but keep full loft + real nav */
@media (max-width: 1024px) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 78%, transparent);
  }
  .header-inner {
    padding: 10px var(--gut);
    min-height: 48px;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .scenic-switch {
    --scenic-w: 64px;
    --scenic-h: 22px;
    --thumb: 14px;
  }
  .edge-btn {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  .header-nav {
    gap: 14px;
  }
  .header-nav a {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  .faq-grid,
  .trust-pair {
    grid-template-columns: 1fr;
  }
  .blade-stage {
    flex-direction: column;
    height: auto;
  }
  .blade {
    flex: none;
    min-width: 0;
    height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    transition: height 0.38s var(--ease);
  }
  .blade:last-child {
    border-bottom: 0;
  }
  .blade.is-open {
    flex: none;
    height: 400px;
  }
  .blade-spine {
    flex-direction: row;
    padding: 0 18px;
  }
  .spine-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.05rem;
  }
  .blade-panel {
    margin: 12px;
    padding: 16px;
  }
  .cols {
    columns: 1;
  }
  .campaign {
    height: clamp(300px, 52svh, 440px);
  }
  .mat-actions {
    grid-template-columns: 1fr;
  }
  .search-glow {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
  }
  .search-glow input {
    font-size: 0.95rem;
  }
  .reviews-tools {
    width: 100%;
  }
}

/* Phone only — pan/zoom cam + Menu. Tablets (iPad Mini 768+) keep the full loft. */
@media (max-width: 640px) {
  .search-glow {
    --sg-pad-y: 12px;
    gap: 8px;
    padding-inline: 12px;
  }
  .search-glow-spark svg {
    width: 16px;
    height: 16px;
  }
  .header-inner {
    position: relative;
    padding: 8px 14px;
    min-height: 44px;
    gap: 8px;
  }
  .header-nav {
    display: none;
  }
  .header-tools {
    margin-left: auto;
    gap: 8px;
    align-items: center;
    padding-left: calc(var(--scenic-w, 58px) + 12px);
  }
  .header-tools .scenic-switch {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .mark {
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
  }
  .scenic-switch {
    --scenic-w: 58px;
    --scenic-h: 20px;
    --thumb: 12px;
    border-width: 1px;
  }
  .scenic-thumb {
    border-width: 1px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  }
  .edge-btn {
    position: relative;
    z-index: 1;
  }
  .nav-toggle {
    display: inline-flex !important;
  }
  /* Phone: one full-loft frame — no cam strip / pan-zoom */
  .room-viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
  }
  .room-viewport.is-zoomed .room-frame {
    width: 100%;
    max-width: none;
  }
  .mobile-cam-bar {
    display: none !important;
  }
  .room-hud {
    display: none;
  }
  .hero-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 4px;
    margin-bottom: 14px;
  }
  .hero-title {
    flex: 0 1 auto;
    white-space: normal;
    font-size: clamp(1.55rem, 6.4vw, 1.95rem);
    line-height: 1.12;
    text-wrap: balance;
  }
  .hero-hint {
    flex: 0 1 auto;
    max-width: none;
    padding-bottom: 0;
    text-align: left;
    text-wrap: pretty;
    font-size: 0.9rem;
    line-height: 1.48;
  }
}

@media (max-width: 640px) {
  #reviews .reviews-dek {
    font-size: 0.92rem;
    max-width: 36ch;
  }
  .crate-bin {
    padding: 14px 12px 12px;
  }
  .crate-bin-header {
    font-size: 0.6rem;
    margin-bottom: 10px;
  }
  .crate-stage {
    height: clamp(280px, 52vw, 340px);
    min-height: 260px;
    touch-action: pan-y;
  }
  .crate-sleeve {
    height: clamp(210px, 48vw, 250px);
    width: min(94%, 360px);
    margin-left: calc(min(94%, 360px) / -2);
    bottom: clamp(36px, 9%, 56px);
    /* lighter motion on small screens */
    transition: transform 0.4s var(--ease), opacity 0.35s var(--ease), filter 0.3s var(--ease);
  }
  .sleeve-tab {
    max-width: 62%;
    font-size: 0.58rem;
    padding: 0 8px;
    height: 20px;
    top: -20px;
  }
  .sleeve-title {
    font-size: 0.92rem;
  }
  .sleeve-foot {
    padding: 9px 11px;
  }
  .clerk-sticker {
    max-width: 120px;
    font-size: 0.58rem;
    right: 8px;
    top: 8px;
  }
  .crate-lip {
    height: auto;
    min-height: 24px;
    padding: 6px 10px;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 0.56rem;
  }
  .front-cover-box {
    max-height: none;
    width: 100%;
    margin-bottom: 10px;
  }
  .mat-title {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
  }
  .mat-summary,
  .clerk-quote {
    font-size: 0.86rem;
  }
  .card-face {
    padding: 14px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }
  #sfxToggleBtn {
    max-width: 4.2rem;
    overflow: hidden;
    text-overflow: clip;
  }
  .cat-row-main {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    row-gap: 4px;
  }
  .cat-row .k {
    grid-column: 2;
  }
  .cat-still,
  .cat-stub {
    height: clamp(180px, 44vw, 280px);
  }
  .q-row-btn {
    grid-template-columns: 26px minmax(0, 1fr) 18px;
    gap: 10px;
  }
  .colophon-end {
    flex-direction: column;
  }
  .trust-pair {
    gap: 8px;
  }
}

/* ---------- 13. PRODUCTS PAGE ---------- */
/* Header glass = global .site-header (no opaque override) */
.page-products .header-nav a:hover,
.page-products .header-nav a[aria-current="page"] {
  color: var(--accent);
}
.page-products .mark .dot {
  color: var(--accent);
}

.products-page {
  padding: clamp(64px, 7vw, 78px) 0 clamp(48px, 7vw, 80px);
}

.products-page-hat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(22px, 3vw, 34px);
}
.products-page-hat .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-muted);
}
.products-page-hat .kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--theme-accent);
}
.products-page-hat h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.products-page-hat .accent-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  color: var(--theme-accent);
}
.products-page-dek {
  margin: 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.products-page-tools {
  display: flex;
  justify-content: center;
  width: min(100%, 520px);
  margin: 0 auto clamp(28px, 4vw, 42px);
}
.products-page-tools .search-glow {
  width: 100%;
}

.products-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.products-cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}
.products-cat-card[hidden] {
  display: none;
}
.products-cat-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.products-cat-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.products-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.products-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 11px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.products-cat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
  flex: 1;
}
.products-cat-body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.28s var(--ease);
}
.products-cat-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-muted);
  flex: 1;
}
.products-cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-glow-rim);
}
.products-cat-cta span {
  transition: transform 0.28s var(--ease);
}

@media (hover: hover) {
  .products-cat-card:hover {
    border-color: var(--card-glow-rim);
    box-shadow: var(--card-glow-bloom);
    transform: translateY(-4px);
  }
  .products-cat-card:hover .products-cat-media img {
    transform: scale(1.04);
  }
  .products-cat-card:hover .products-cat-body h2 {
    color: var(--card-glow-rim);
  }
  .products-cat-card:hover .products-cat-cta span {
    transform: translateX(5px);
  }
}

/* Anchored Spine Shelf — Latest review guides (lab v5) */
.guides-spine {
  margin-top: clamp(36px, 5.5vw, 64px);
}
.guides-spine-band {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.guides-spine-anchor {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.guides-spine-anchor .kicker {
  margin: 0;
  color: var(--ink-muted);
}
.guides-spine-anchor .kicker::before {
  content: none;
}
.guides-spine-title {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: none;
}
.guides-spine-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--card-glow-rim);
}
.guides-spine-count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.guides-spine-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guides-spine-arrows {
  display: inline-flex;
  gap: 6px;
}
.guides-spine-arrow {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.guides-spine-arrow:hover {
  border-color: var(--card-glow-rim);
  color: var(--card-glow-rim);
}
.guides-spine-browse {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card-glow-rim);
  text-decoration: none;
  white-space: nowrap;
}
.guides-spine-browse:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guides-spine-rail {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.guides-spine-rail::-webkit-scrollbar {
  display: none;
}
.guides-spine-slip {
  flex: 0 0 218px;
  scroll-snap-align: start;
  border-right: 1px solid var(--line);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: background 0.18s var(--ease);
}
.guides-spine-slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--card-glow-rim);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}
.guides-spine-slip:hover,
.guides-spine-slip:focus-visible {
  background: var(--surface-hover, var(--surface-2));
}
.guides-spine-slip:hover::after,
.guides-spine-slip:focus-visible::after {
  transform: scaleX(1);
}
.guides-spine-hub {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--card-glow-rim);
}
.guides-spine-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 12px;
  background: var(--bg-soft);
  transition: transform 0.25s var(--ease);
}
.guides-spine-slip:hover .guides-spine-cover {
  transform: translateY(-3px);
}
.guides-spine-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guides-spine-read {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.18s var(--ease);
}
.guides-spine-slip:hover .guides-spine-read {
  color: var(--card-glow-rim);
}
.guides-spine-empty {
  margin: 0;
  padding: 28px 20px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* ---------- 14. CATEGORY HUB ---------- */
.page-hub .products-page.wrap {
  max-width: min(1440px, 100%);
}
.hub-crumb {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hub-crumb a {
  color: var(--card-glow-rim);
  text-decoration: none;
}
.hub-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hub-crumb span {
  margin: 0 6px;
  opacity: 0.55;
}

/* Product card hybrid: PC-15 Poster Spine + PC-20 spotlight + PC-14 flip */
.hub-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vw, 26px);
}
.hub-poster {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(220px, 320px) minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.hub-poster[hidden] {
  display: none;
}
.hub-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    var(--card-glow-soft),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.hub-poster:hover,
.hub-poster:focus-within {
  border-color: var(--card-glow-rim);
  box-shadow: var(--card-glow-bloom);
  transform: translateY(-2px);
}
.hub-poster:hover::before,
.hub-poster:focus-within::before {
  opacity: 1;
}
.hub-poster > * {
  position: relative;
  z-index: 1;
}
.hub-poster-spine {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  background: var(--line-strong);
  color: var(--bg);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.hub-poster:hover .hub-poster-spine {
  background: var(--card-glow-rim);
  color: #fff;
}
.hub-poster-media {
  position: relative;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  min-height: 280px;
  cursor: zoom-in;
}
.hub-poster-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.hub-poster-media::after {
  content: "Expand";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
}
.hub-poster:hover .hub-poster-media::after {
  opacity: 1;
}

/* Fullscreen product image lightbox */
.hub-lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(10, 12, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}
.hub-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hub-lightbox-img {
  max-width: min(1280px, 100%);
  max-height: min(88vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.hub-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  appearance: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.hub-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.hub-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: min(720px, 90vw);
  margin: 0;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
}
.hub-poster-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  min-width: 0;
}
.hub-poster-flip-wrap {
  perspective: 1000px;
  flex: 1;
}
.hub-poster-flipper {
  position: relative;
  min-height: 220px;
  height: var(--flip-h, auto);
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
}
.hub-poster.is-flipped .hub-poster-flipper {
  transform: rotateY(180deg);
}
.hub-poster-face,
.hub-poster-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hub-poster-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  overflow: visible;
}
.hub-poster-face h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.hub-poster-dek {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.hub-poster-label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card-glow-rim);
}
.hub-poster-verdict {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
}
.hub-poster-trade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.8rem;
}
.hub-poster-trade > div {
  padding: 10px 12px;
  border-radius: 6px;
}
.hub-poster-trade > div:first-child {
  background: color-mix(in srgb, #2f7a4a 12%, var(--surface));
  border: 1px solid color-mix(in srgb, #2f7a4a 28%, var(--line));
}
.hub-poster-trade > div:last-child {
  background: color-mix(in srgb, #a84a4a 11%, var(--surface));
  border: 1px solid color-mix(in srgb, #a84a4a 26%, var(--line));
}
.hub-poster-trade strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hub-poster-trade > div:first-child strong {
  color: #1f5a36;
}
.hub-poster-trade > div:last-child strong {
  color: #7a2e2e;
}
.hub-poster-trade ul {
  margin: 0;
  padding-left: 16px;
  color: var(--ink-muted);
}
.hub-poster-trade > div:first-child ul {
  color: #24553a;
}
.hub-poster-trade > div:last-child ul {
  color: #6e3232;
}
:root[data-theme="night"] .hub-poster-trade > div:first-child {
  background: rgba(70, 160, 110, 0.14);
  border-color: rgba(70, 160, 110, 0.32);
}
:root[data-theme="night"] .hub-poster-trade > div:last-child {
  background: rgba(180, 90, 90, 0.14);
  border-color: rgba(180, 90, 90, 0.32);
}
:root[data-theme="night"] .hub-poster-trade > div:first-child strong,
:root[data-theme="night"] .hub-poster-trade > div:first-child ul {
  color: #9fd4b0;
}
:root[data-theme="night"] .hub-poster-trade > div:last-child strong,
:root[data-theme="night"] .hub-poster-trade > div:last-child ul {
  color: #e0a0a0;
}
.hub-poster-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.hub-poster-flipbtn {
  appearance: none;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.hub-poster-flipbtn:hover {
  border-color: var(--card-glow-rim);
  color: var(--card-glow-rim);
}
.hub-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 5px;
  background: var(--card-glow-rim);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.hub-amazon:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: var(--card-glow-bloom);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .hub-poster-flipper {
    transition: none;
  }
  .hub-poster.is-flipped .hub-poster-flipper {
    transform: none;
  }
  .hub-poster.is-flipped .hub-poster-face {
    display: none;
  }
  .hub-poster.is-flipped .hub-poster-back {
    position: relative;
    transform: none;
  }
  .hub-poster:not(.is-flipped) .hub-poster-back {
    display: none;
  }
}

.hub-guides {
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: clamp(28px, 3.6vw, 40px);
  border-top: 1px solid var(--line);
}
.hub-guides-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.hub-guides-head .kicker {
  margin: 0 0 6px;
  color: var(--ink-muted);
}
.hub-guides-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.hub-guides-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--card-glow-rim);
}
.hub-guides-dek {
  margin: 8px 0 0;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.hub-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hub-guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.hub-guide-card:hover {
  border-color: var(--card-glow-rim);
  box-shadow: var(--card-glow-bloom);
}
.hub-guide-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-soft);
}
.hub-guide-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-glow-rim);
}
.hub-guide-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.hub-guide-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

@media (max-width: 820px) {
  .products-cat-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .products-cat-media {
    aspect-ratio: 4 / 3;
  }
  .guides-spine-band {
    grid-template-columns: 1fr;
  }
  .guides-spine-anchor {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .guides-spine-slip {
    flex: 0 0 min(240px, 78vw);
  }
  .hub-poster {
    grid-template-columns: 1fr;
  }
  .hub-poster-spine {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 8px 14px;
    justify-content: flex-start;
  }
  .hub-poster-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hub-poster-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .hub-poster-trade {
    grid-template-columns: 1fr;
  }
  .hub-poster-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-amazon,
  .hub-poster-flipbtn {
    width: 100%;
    justify-content: center;
  }
  .hub-guides-grid {
    grid-template-columns: 1fr;
  }
}


/* ============ ABOUT · Light Table (lab ab1 → Warm Print tokens) ============ */
/* Accents follow --accent (theme-linked). */
.page-about {
  --ab-rim: var(--accent);
  --ab-rim-glow: var(--card-glow-bloom);
  --ab-ink-soft: var(--ink-muted);
  --ab-surface-alt: var(--surface-2);
}

.page-about .about-page {
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  max-width: 72rem;
}

@keyframes abVertUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes abVertDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.ab-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ab-rim);
  font-weight: 700;
  margin: 0 0 12px;
}
.ab-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: var(--display-track);
  margin: 0 0 16px;
  color: var(--ink);
}
.ab-h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--theme-accent);
}
.ab-dek {
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ab-ink-soft);
  margin: 0;
  max-width: 54ch;
}
.ab-who {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ab-ink-soft);
  padding: 12px 14px;
  border-left: 2px solid var(--theme-accent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-radius: 0 10px 10px 0;
}
.ab-who strong {
  color: var(--ink);
  font-weight: 600;
}
.ab-who a {
  color: var(--theme-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ab-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: var(--display-track);
  margin: 0 0 10px;
  color: var(--ink);
}
.ab-lead {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ab-ink-soft);
  margin: 0;
}
.ab-hint {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 10px 0 0;
}

.ab-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0);
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s, box-shadow 0.25s, background 0.25s;
}
.ab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(102%);
  transition: transform 0.34s var(--ease);
}
.ab-btn:hover { color: var(--surface); border-color: var(--ink); box-shadow: var(--ab-shadow); }
.ab-btn:hover::before { transform: translateY(0); }
.ab-btn:active { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(0.96); }
.ab-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ab-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--theme-accent-glow);
}
.ab-btn.primary::before {
  background: linear-gradient(115deg, transparent 22%, rgba(255,255,255,0.28) 48%, transparent 72%);
  transform: translateX(-115%);
  transition: transform 0.55s var(--ease);
}
.ab-btn.primary:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000);
  border-color: color-mix(in srgb, var(--accent) 82%, #000);
  color: #fff;
  box-shadow: var(--theme-accent-glow);
}
.ab-btn.primary:hover::before { transform: translateX(115%); }

.ab-btn-arr {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  overflow: hidden;
  position: relative;
  font-size: 1rem;
  line-height: 1;
}
.ab-btn-arr i {
  font-style: normal;
  position: absolute;
  transition: transform 0.32s var(--ease), opacity 0.25s;
}
.ab-btn-arr i:nth-child(2) { transform: translateX(-140%); opacity: 0; }
.ab-btn:hover .ab-btn-arr i:nth-child(1) { transform: translateX(140%); opacity: 0; }
.ab-btn:hover .ab-btn-arr i:nth-child(2) { transform: translateX(0); opacity: 1; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.ab1-shell { display: flex; flex-direction: column; gap: 44px; }
.ab1-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: stretch; }
.ab1-left { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 8px 0; }

.ab1-switcher {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px 22px 18px;
  box-shadow: var(--ab-shadow);
  user-select: none;
}
.ab1-sw-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ab-surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.ab1-sw-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: var(--ab-rim);
  box-shadow: 0 4px 12px rgba(0,0,0,0.14);
  transition: transform 0.36s var(--ease);
  z-index: 0;
}
.ab1-sw-btn {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 6px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ab-ink-soft);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s;
}
.ab1-sw-btn:hover { color: var(--ink); }
.ab1-sw-btn[aria-selected="true"] { color: #fff; font-weight: 700; }
.ab1-sw-viewport { overflow: hidden; cursor: grab; touch-action: pan-y; border-radius: 10px; }
.ab1-sw-viewport.is-dragging { cursor: grabbing; }
.ab1-sw-track { display: flex; width: 100%; transition: transform 0.42s var(--ease); will-change: transform; }
.ab1-sw-viewport.is-dragging .ab1-sw-track { transition: none; }
.ab1-sw-slide { flex: 0 0 100%; padding: 4px 2px 6px; box-sizing: border-box; }
.ab1-sw-slide h3 {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
.ab1-sw-slide p { margin: 0; font-size: 0.95rem; line-height: 1.58; color: var(--ab-ink-soft); }
.ab1-sw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.ab1-sw-dots { display: flex; gap: 7px; align-items: center; }
.ab1-sw-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: width 0.28s var(--ease), background 0.25s;
}
.ab1-sw-dot[aria-selected="true"] { width: 24px; background: var(--ab-rim); }
.ab1-sw-nav { display: flex; gap: 6px; align-items: center; }
.ab1-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
}
.ab1-icon-btn:hover {
  background: var(--ab-rim);
  border-color: var(--ab-rim);
  color: #fff;
  transform: scale(1.06);
}
.ab1-icon-btn:active { transform: scale(0.92); }

.ab1-cta-block { display: flex; flex-direction: column; gap: 12px; }
.ab1-cta-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.ab1-cta-head strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
}
.ab1-cta-head span { font-size: 0.9rem; color: var(--ab-ink-soft); }

.ab1-wall-wrap {
  position: relative;
  height: 556px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ab-surface-alt);
  padding: 0 12px;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.ab1-wall-wrap.is-dragging { cursor: grabbing; }
.ab1-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 100%;
  transition: transform 0.25s var(--ease);
}
.ab1-wall-wrap.is-dragging .ab1-wall { transition: none; }
.ab1-col { display: flex; flex-direction: column; gap: 12px; animation: abVertUp 34s linear infinite; }
.ab1-col.down { animation: abVertDown 38s linear infinite; }
.ab1-wall-wrap:hover .ab1-col,
.ab1-wall-wrap.is-dragging .ab1-col { animation-play-state: paused; }
.ab1-vshot {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.ab1-vshot img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.35s;
}
.ab1-vshot:hover img { transform: scale(1.06); }

/* Matches homepage crate sleeve paper (Day cream / Rain cool / Night dark) */
.ab1-darkroom {
  background: var(--sleeve-paper);
  color: var(--sleeve-ink);
  border-radius: 18px;
  padding: 38px 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  box-shadow: var(--ab-shadow);
}
.ab1-darkroom .ab-h2 { color: var(--sleeve-ink); }
.ab1-darkroom .ab-lead {
  color: var(--sleeve-muted);
  margin-bottom: 22px;
}
.ab1-dr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ab1-dr-list li {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  cursor: pointer;
  color: var(--sleeve-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.ab1-dr-list li:hover,
.ab1-dr-list li.is-lit {
  background: color-mix(in srgb, var(--sleeve-ink) 6%, transparent);
  color: var(--sleeve-ink);
  padding-left: 18px;
}
.ab1-dr-list li span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--theme-accent);
  font-weight: 700;
}
.ab1-dr-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.ab1-dr-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s, transform 0.45s;
}
.ab1-dr-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  background: color-mix(in srgb, var(--stage) 82%, transparent);
  backdrop-filter: blur(8px);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--stage-ink);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .ab1-split { gap: 28px; }
}
@media (max-width: 900px) {
  .ab1-split,
  .ab1-darkroom { grid-template-columns: 1fr; gap: 22px; }
  .ab1-wall-wrap { height: 320px; }
  .ab1-shell { gap: 36px; }
}
@media (max-width: 560px) {
  .ab-actions { flex-direction: column; align-items: stretch; }
  .ab-btn { width: 100%; }
  .ab1-darkroom { padding: 24px 18px; }
  .ab1-sw-btn { font-size: 0.58rem; padding: 8px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ab1-col,
  .ab1-col.down { animation: none !important; }
  .ab1-wall-wrap {
    overflow-y: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ============ IDEAS · Pin Wall + Story-Ring Dock ============ */
.page-ideas .ideas-page {
  padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
  max-width: 78rem;
}

.ideas-hat {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.ideas-hat .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.85rem;
}

.ideas-hat .kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--theme-accent);
}

.ideas-hat h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: var(--display-track);
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.ideas-hat .accent-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--theme-accent);
}

.ideas-dek {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* Story-Ring Dock — wrap pills (same arrangement language as Guides chips) */
.ideas-story-ring {
  position: relative;
  z-index: 1;
  margin: 0 auto 1.75rem;
  max-width: 56rem;
  isolation: isolate;
}

.ideas-story-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  align-items: stretch;
  gap: 0.55rem 0.65rem;
  padding: 0.15rem 0;
  margin: 0;
  list-style: none;
  overflow: visible;
  cursor: default;
}

.ideas-filter {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-sizing: border-box;
  line-height: 1.2;
  vertical-align: top;
  transition: border-color 0.22s, background 0.22s, color 0.22s, box-shadow 0.22s;
}

@media (hover: hover) and (pointer: fine) {
  .ideas-filter:hover {
    border-color: var(--card-glow-rim);
    box-shadow: var(--theme-accent-glow);
  }
}

.ideas-filter[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  box-shadow: none;
}

:root[data-theme="night"] .ideas-filter[aria-selected="true"] {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
}

.ideas-filter-thumb {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 2.15rem;
  border: 2px solid var(--card-glow-rim);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.ideas-filter-thumb.is-empty {
  border-style: dashed;
  border-color: var(--line-strong);
}

.ideas-filter[aria-selected="true"] .ideas-filter-thumb {
  border-color: color-mix(in srgb, var(--bg) 55%, transparent);
}

:root[data-theme="night"] .ideas-filter[aria-selected="true"] .ideas-filter-thumb {
  border-color: color-mix(in srgb, #fff 55%, transparent);
}

.ideas-filter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ideas-filter-lbl {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}

.ideas-filter-cnt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.ideas-foot-note {
  max-width: 40rem;
  margin: clamp(36px, 5vw, 56px) auto 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.ideas-foot-note a {
  color: var(--theme-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ideas-board {
  column-count: 3;
  column-gap: 1rem;
}

.ideas-pin {
  break-inside: avoid;
  margin: 0 0 1rem;
}

.ideas-pin[hidden] {
  display: none !important;
}

/* Elevated pin wall (lab id1 → Warm Print) */
.ideas-pin-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #14161b;
  border: 1.5px solid var(--line);
  transition: transform 0.36s cubic-bezier(.22, 1, .36, 1), border-color 0.25s, box-shadow 0.3s;
}
.ideas-pin-link:hover,
.ideas-pin-link:focus-visible {
  border-color: var(--card-glow-rim);
  box-shadow: var(--card-glow-bloom);
  transform: translateY(-6px);
  outline: none;
}

.ideas-pin-media {
  position: relative;
  overflow: hidden;
}
.ideas-pin-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.58s cubic-bezier(.22, 1, .36, 1);
}
.ideas-pin-link:hover .ideas-pin-media img,
.ideas-pin-link:focus-within .ideas-pin-media img {
  transform: scale(1.05);
}

.ideas-pin-scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 18px;
  background: linear-gradient(
    180deg,
    rgba(14, 16, 20, 0.38) 0%,
    rgba(14, 16, 20, 0.04) 42%,
    rgba(14, 16, 20, 0.92) 100%
  );
  color: #f6f4ef;
  pointer-events: none;
}
.ideas-pin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ideas-pin-cat,
.ideas-pin-shop {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 18, 22, 0.74);
  color: #f6f4ef;
}
.ideas-pin-shop {
  background: var(--theme-accent);
  color: var(--theme-accent-ink, #fff);
  font-weight: 700;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.24s, transform 0.24s;
}
.ideas-pin-link:hover .ideas-pin-shop,
.ideas-pin-link:focus-within .ideas-pin-shop {
  opacity: 1;
  transform: translateY(0);
}
.ideas-pin-copy {
  min-width: 0;
}
.ideas-pin-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  font-weight: 500;
  line-height: 1.16;
  margin: 0 0 6px;
  color: #fff;
}
.ideas-pin-desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.44;
  color: rgba(246, 244, 239, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ideas-pin-peek {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(.22, 1, .36, 1), opacity 0.26s;
}
.ideas-pin-link:hover .ideas-pin-peek,
.ideas-pin-link:focus-within .ideas-pin-peek {
  max-height: 68px;
  opacity: 1;
}
.ideas-pin-peek span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f6f4ef;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: none), (max-width: 720px) {
  .ideas-pin-shop {
    opacity: 1;
    transform: none;
  }
  .ideas-pin-peek {
    max-height: 68px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ideas-pin-link,
  .ideas-pin-media img,
  .ideas-pin-shop,
  .ideas-pin-peek {
    transition: none;
  }
  .ideas-pin-link:hover .ideas-pin-media img {
    transform: none;
  }
}

.ideas-empty {
  text-align: center;
  max-width: 28rem;
  margin: 2.5rem auto 0;
  padding: 1.75rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.ideas-empty-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.ideas-empty-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.ideas-empty-dek {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.ideas-empty-reset {
  appearance: none;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.ideas-empty-reset:hover {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
  transform: translateY(-1px);
}

:root[data-theme="night"] .ideas-empty-reset {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
}

/* Pin detail lightbox — themed (Day / Rain / Night) */
.ideas-lightbox {
  --pd-scrim: color-mix(in srgb, var(--ink) 55%, transparent);
  --pd-box: var(--surface);
  --pd-box-ink: var(--ink);
  --pd-muted: var(--ink-muted);
  --pd-line: var(--line);
  --pd-line-strong: var(--line-strong);
  --pd-well: var(--bg-soft);
  --pd-row: var(--surface-2);
  --pd-row-hover: var(--surface-hover);
  --pd-strip: var(--surface-2);
  --pd-close-bg: color-mix(in srgb, var(--surface) 88%, transparent);
  --pd-close-ink: var(--ink);
  --pd-close-line: var(--line-strong);
  --pd-shadow: var(--shadow-2);

  position: fixed;
  inset: 0;
  z-index: 120; /* above .site-header (100) so close is never buried */
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  /* Solid scrim only — no backdrop-filter (blur re-rasterizes the whole pin wall every frame) */
  background: var(--pd-scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

:root[data-theme="day"] .ideas-lightbox {
  --pd-scrim: rgba(32, 26, 18, 0.62);
}

:root[data-theme="rain"] .ideas-lightbox {
  --pd-scrim: rgba(18, 26, 34, 0.64);
}

:root[data-theme="night"] .ideas-lightbox {
  --pd-scrim: rgba(4, 6, 8, 0.86);
  --pd-box: #14181c;
  --pd-box-ink: #f3f1eb;
  --pd-muted: #a8b0ba;
  --pd-line: rgba(255, 255, 255, 0.1);
  --pd-line-strong: rgba(255, 255, 255, 0.18);
  --pd-well: #0c0e12;
  --pd-row: rgba(255, 255, 255, 0.05);
  --pd-row-hover: rgba(255, 255, 255, 0.09);
  --pd-strip: #0b0d11;
  --pd-close-bg: rgba(16, 18, 24, 0.82);
  --pd-close-ink: #fff;
  --pd-close-line: rgba(255, 255, 255, 0.24);
  --pd-shadow: 0 28px 66px rgba(0, 0, 0, 0.5);
}

.ideas-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ideas-lightbox-close {
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top));
  right: max(0.85rem, env(safe-area-inset-right));
  z-index: 130;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--pd-close-line);
  background: var(--pd-close-bg);
  color: var(--pd-close-ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: background 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}

.ideas-lightbox-close:hover {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
  transform: scale(1.06);
}

.ideas-lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 2.75rem auto 1rem;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.34s var(--ease);
  box-sizing: border-box;
}

.ideas-lightbox.is-open .ideas-lightbox-stage {
  transform: translateY(0) scale(1);
}

.pd3-box {
  background: var(--pd-box);
  color: var(--pd-box-ink);
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--pd-line-strong);
  box-shadow: var(--pd-shadow);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pd3-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.pd3-photo {
  padding: clamp(0.85rem, 2vw, 1.5rem);
  display: grid;
  place-items: center;
  background: var(--pd-well);
  min-width: 0;
}

.pd3-photo img {
  width: 100%;
  max-height: min(52vh, 490px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}

.pd3-info {
  padding: clamp(1.25rem, 2.4vw, 1.85rem) clamp(1.1rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.pd3-kicker {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--theme-accent);
}

.pd3-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0.15rem 0 0.55rem;
  color: var(--pd-box-ink);
}

.pd3-lead {
  margin: 0 0 1rem;
  color: var(--pd-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.pd3-picks {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pd3-glass-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: var(--pd-row);
  border: 1px solid var(--pd-line);
  transition: border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
}

.pd3-glass-row:hover {
  border-color: var(--theme-accent);
  background: var(--pd-row-hover);
  transform: translateX(3px);
  box-shadow: var(--theme-accent-glow);
}

.pd3-pick-name {
  display: block;
  font-weight: 600;
  color: var(--pd-box-ink);
  font-size: 0.9rem;
  line-height: 1.3;
}

.pd3-pick-num {
  font-family: var(--font-mono);
  color: var(--theme-accent);
  margin-right: 0.5rem;
}

.pd3-glass-row .ab-btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.pd3-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--pd-strip);
  border-top: 1px solid var(--pd-line);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pd3-sth {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.pd3-sth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd3-sth:hover,
.pd3-sth.is-on {
  opacity: 1;
  border-color: var(--theme-accent);
  transform: translateY(-2px);
}

body.is-lightbox-open {
  overflow: hidden;
}

/* ---- Ideas responsive: tablet + phone ---- */
@media (max-width: 1100px) {
  .ideas-lightbox-stage { width: min(920px, 100%); }
}

@media (max-width: 980px) {
  .ideas-board { column-count: 2; column-gap: 0.85rem; }
  .ideas-hat { margin-bottom: 1.35rem; }
  .ideas-story-ring {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  /* Keep flex-wrap centered pills like Guides — not a 2-col stretch grid */
  .ideas-story-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }
  .ideas-filter {
    width: auto;
    max-width: none;
    flex: 0 1 auto;
  }
  .pd3-main { grid-template-columns: 1fr; }
  .pd3-photo img { max-height: min(42vh, 420px); }
  .pd3-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ideas-lightbox-stage { margin-top: 3.25rem; }
}

@media (max-width: 720px) {
  .ideas-dek { font-size: 0.98rem; }
  .ideas-story-rail { gap: 0.5rem; }
  .ideas-filter {
    padding: 0.3rem 0.55rem 0.3rem 0.3rem;
    gap: 0.4rem;
  }
  .ideas-filter-thumb {
    width: 1.85rem;
    height: 1.85rem;
    flex: 0 0 1.85rem;
  }
  .ideas-filter-lbl { font-size: 0.72rem; }
  .ideas-filter-cnt { font-size: 0.58rem; flex: 0 0 auto; }
  .ideas-pin-title { font-size: 1.02rem; }
  .ideas-pin-desc { font-size: 0.8rem; }
  .ideas-pin-scrim { padding: 12px 12px 14px; }
}

@media (max-width: 560px) {
  .ideas-board { column-count: 1; }
  .ideas-lightbox {
    place-items: start stretch;
    justify-items: stretch;
    width: 100%;
    max-width: 100vw;
    padding: max(0.65rem, env(safe-area-inset-top)) max(0.65rem, env(safe-area-inset-right)) max(0.85rem, env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-left));
  }
  .ideas-lightbox-close {
    top: max(0.7rem, env(safe-area-inset-top));
    right: max(0.7rem, env(safe-area-inset-right));
    width: 2.85rem;
    height: 2.85rem;
  }
  .ideas-lightbox-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 3.35rem 0 0.5rem;
    justify-self: stretch;
  }
  .pd3-box { border-radius: 16px; }
  .pd3-photo { padding: 0.7rem; }
  .pd3-photo img {
    max-height: min(38vh, 300px);
    border-radius: 10px;
  }
  .pd3-info { padding: 1.05rem 0.9rem 1.2rem; gap: 0.85rem; }
  .pd3-info h2 { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .pd3-lead { font-size: 0.9rem; margin-bottom: 0.75rem; }
  .pd3-glass-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.7rem 0.75rem;
  }
  .pd3-glass-row:hover { transform: none; }
  .pd3-glass-row .ab-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .pd3-strip {
    display: flex;
    overflow-x: auto;
    gap: 0.45rem;
    padding: 0.7rem 0.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .pd3-strip::-webkit-scrollbar { display: none; }
  .pd3-sth {
    flex: 0 0 68px;
    min-width: 68px;
    max-width: 68px;
    scroll-snap-align: start;
  }
  .pd3-pick-name {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .ideas-filter-lbl { font-size: 0.7rem; }
  .pd3-sth { flex-basis: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .ideas-lightbox,
  .ideas-lightbox-stage,
  .pd3-glass-row,
  .pd3-sth,
  .ideas-lightbox-close {
    transition: none;
  }
}

/* ============ GUIDES INDEX (local guides/) — Warm Print ============ */
/* Header glass = global .site-header (no opaque override) */
.page-guides .header-nav a:hover,
.page-guides .header-nav a[aria-current="page"] {
  color: var(--accent);
}
.page-guides .mark .dot {
  color: var(--accent);
}

.guides-index-page {
  padding: clamp(64px, 7vw, 78px) 0 clamp(48px, 7vw, 80px);
}

.guides-index-hat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(22px, 3vw, 34px);
}
.guides-index-hat .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-muted);
}
.guides-index-hat .kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--theme-accent);
}
.guides-index-hat h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.guides-index-hat .accent-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  color: var(--theme-accent);
}
.guides-index-dek {
  margin: 0;
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.guides-index-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(100%, 420px);
  margin: 0 auto clamp(16px, 2.4vw, 26px);
}
/* Root cause: global .search-glow { flex: 1 1 220px } is for ROW parents.
   Inside this COLUMN tools stack, flex-basis 220px becomes HEIGHT → giant vertical pill. */
.guides-index-tools .search-glow {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  align-self: stretch;
  --sg-pad-y: 12px;
  padding-inline: 16px;
}
.page-guides .guides-index-tools .search-glow-caret {
  display: none;
}
.guides-index-count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.guides-index-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 56rem;
}
.guides-index-filter {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.guides-index-filter span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}
@media (hover: hover) and (pointer: fine) {
  .guides-index-filter:hover {
    border-color: var(--card-glow-rim);
    box-shadow: var(--theme-accent-glow);
  }
}
.guides-index-filter.is-active,
.guides-index-filter[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.guides-index-filter.is-active span,
.guides-index-filter[aria-selected="true"] span {
  opacity: 0.7;
}
:root[data-theme="night"] .guides-index-filter.is-active,
:root[data-theme="night"] .guides-index-filter[aria-selected="true"] {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
}

.guides-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}
.guides-index-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
}
.guides-index-card[hidden] {
  display: none;
}
.guides-index-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.guides-index-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.guides-index-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.guides-index-chips {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 28px);
}
.guides-index-chip {
  padding: 6px 11px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.guides-index-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.2vw, 24px);
  flex: 1;
}
.guides-index-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  transition: color 0.28s var(--ease);
}
.guides-index-line {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
  flex: 1;
}
.guides-index-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-glow-rim);
}
.guides-index-cta span {
  transition: transform 0.28s var(--ease);
}

@media (hover: hover) {
  .guides-index-card:hover {
    border-color: var(--card-glow-rim);
    box-shadow: var(--card-glow-bloom);
    transform: translateY(-4px);
  }
  .guides-index-card:hover .guides-index-media img {
    transform: scale(1.04);
  }
  .guides-index-card:hover .guides-index-title {
    color: var(--card-glow-rim);
  }
  .guides-index-card:hover .guides-index-cta span {
    transform: translateX(5px);
  }
}

.guides-index-empty {
  text-align: center;
  max-width: 28rem;
  margin: 2.5rem auto 0;
  padding: 1.75rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}
.guides-index-empty[hidden] {
  display: none;
}
.guides-index-empty-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.guides-index-empty-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.guides-index-empty-dek {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.guides-index-reset {
  appearance: none;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.guides-index-reset:hover {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
  transform: translateY(-1px);
}
:root[data-theme="night"] .guides-index-reset {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: var(--theme-accent-ink);
}

/* Guides index responsive */
@media (max-width: 980px) {
  .guides-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .guides-index-grid {
    grid-template-columns: 1fr;
  }
  .guides-index-dek {
    font-size: 0.98rem;
  }
}
/* Zero-count chips stay visible (articles coming) — just quieter */
.guides-index-filter.is-empty:not(.is-active) {
  opacity: 0.72;
}
@media (prefers-reduced-motion: reduce) {
  .guides-index-card,
  .guides-index-filter {
    transition: none;
  }
}

/* ============ ARTICLE / GUIDE (Warm Print gold) ============ */
/* Header glass = global .site-header (no opaque override) */
.page-article .header-nav a:hover,
.page-article .header-nav a[aria-current="page"] {
  color: var(--accent);
}
.page-article .mark .dot { color: var(--accent); }

.article-page {
  padding: clamp(64px, 7vw, 78px) 0 clamp(48px, 7vw, 80px);
}
.article-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  /* Same axis as .article-body so cover + text share page center */
  max-width: 42rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
}
.article-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-muted);
}
.article-hero .kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--theme-accent);
}
.article-hero .hub-crumb {
  margin: 0;
}
.article-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.article-hero .accent-word,
.article-hero em.accent-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--theme-accent);
}
.article-dek {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 46ch;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.article-cover {
  margin: 10px 0 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Body stays on page center; TOC lives in the left gutter (does not push content) */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42rem) minmax(0, 1fr);
  column-gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.article-toc {
  grid-column: 1;
  justify-self: end;
  width: min(11rem, 100%);
  position: sticky;
  top: 4.75rem;
  padding: 0;
  align-self: start;
  border: 0;
  background: transparent;
}
.article-body {
  grid-column: 2;
}
.article-toc-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  list-style: none;
  cursor: default;
}
.article-toc-kicker::-webkit-details-marker { display: none; }
.article-toc-kicker::marker { content: ""; }
.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-toc a {
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 10px;
  display: block;
}
.article-toc a:hover,
.article-toc a.is-active,
.article-toc a[aria-current="true"] {
  color: var(--ink);
  border-left-color: var(--theme-accent);
}
/* Desktop: always show list (TOC is a side rail, not a disclosure) */
@media (min-width: 1101px) {
  .article-toc > .article-toc-kicker {
    pointer-events: none;
  }
  .article-toc > ol {
    display: flex !important;
  }
}

.article-body {
  min-width: 0;
  max-width: none;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
}
.article-aff-note {
  margin: 0 0 1.5rem;
  padding: 12px 14px;
  border-left: 2px solid var(--theme-accent);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.article-aff-note a { color: var(--theme-accent); }

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 650;
  line-height: 1.2;
  margin: 2.2rem 0 0.85rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 5.5rem;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.4rem 0 0.55rem;
}
.article-body h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-body p { margin: 0 0 1rem; }
.article-body a.pk-inline {
  color: var(--theme-accent);
  text-underline-offset: 3px;
}
.article-body ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.article-body li { margin: 0.25rem 0; }
/* Warm Print body media (non–pick cards) */
.article-body > img,
.article-body .pk-mw-guide > img,
.article-body p > img,
.article-body figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.article-body figure { margin: 0 0 1.25rem; }
.article-body figcaption {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.article-body .pk-skip {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
}
.article-body .pk-skip h2 { margin-top: 0; font-size: 1.2rem; }
.article-body .pk-swipe-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.65rem;
}

.article-body .pk-mw-table-wrap,
.article-body .pk-table--compare {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  /* edge cue that more columns exist */
  background-image:
    linear-gradient(to right, var(--surface) 85%, transparent),
    linear-gradient(to right, transparent, color-mix(in srgb, var(--ink) 12%, transparent));
  background-position: right center, right center;
  background-repeat: no-repeat;
  background-size: 28px 100%, 12px 100%;
  background-attachment: local, scroll;
}
.article-body .pk-mw-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.article-body .pk-mw-table th,
.article-body .pk-mw-table td {
  padding: 0.6rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.article-body .pk-mw-table td:first-child,
.article-body .pk-mw-table th:first-child {
  min-width: 8rem;
  font-weight: 600;
}
.article-body .pk-mw-table td:first-child a.pk-inline {
  font-weight: 650;
}
.article-body .pk-mw-table th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: color-mix(in srgb, var(--bg) 55%, var(--surface));
}
.article-body .pk-mw-table tr:last-child td { border-bottom: 0; }
/* Compact Amazon CTAs inside compare tables — full buttons blow the column */
.article-body .pk-mw-table .pk-aff-btn,
.article-body .pk-mw-table a.pk-aff-btn {
  min-height: 0;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 6px;
}

.article-body .pk-mw-pick {
  position: relative;
  margin: 0 0 2rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.article-body .pk-mw-pick > img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 0 0 0.85rem;
  display: block;
}
/* Editorial kicker on photo — dash + mono, soft scrim (not accent pill) */
.article-body .pk-mw-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 7px 12px 7px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 8%, transparent);
}
.article-body .pk-mw-badge::before {
  content: "";
  width: 12px;
  height: 1.5px;
  flex-shrink: 0;
  background: var(--theme-accent);
}
.article-body .pk-mw-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1rem 0;
}
.article-body .pk-mw-box {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.92rem;
}
.article-body .pk-mw-verdict {
  margin: 0.85rem 0 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--theme-accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--theme-accent) 35%, var(--line));
  font-size: 0.95rem;
  line-height: 1.5;
}
.article-body .pk-mw-verdict--blue {
  background: color-mix(in srgb, var(--theme-accent) 14%, var(--surface));
}
.article-body .pk-aff-btn,
.article-body a.pk-aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--theme-accent) !important;
  color: var(--theme-accent-ink, #fff) !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
}
.article-body .pk-aff-btn:hover { filter: brightness(1.06); }
.article-body .pk-mw-criteria {
  display: grid;
  gap: 14px;
  margin: 0 0 1.5rem;
}
.article-body .pk-mw-criteria article {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.article-body .pk-faq-section { margin: 1.5rem 0 0; }
.article-body .pk-faq-acc {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin: 0 0 0.65rem;
  padding: 0 14px;
}
.article-body .pk-faq-q {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}
.article-body .pk-faq-q::-webkit-details-marker { display: none; }
.article-body .pk-faq-a {
  padding: 0 0 12px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.article-related {
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: min(72rem, 100%);
  padding: 0 clamp(4px, 1.5vw, 12px);
}
.article-related h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.55rem);
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.article-related-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.article-related-card:hover {
  border-color: var(--card-glow-rim);
  box-shadow: var(--card-glow-bloom);
  transform: translateY(-2px);
}
.article-related-card:hover .article-related-media img {
  transform: scale(1.03);
}
.article-related-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 6%, var(--surface));
}
.article-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease, ease);
}
.article-related-media--empty {
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--theme-accent) 18%, var(--surface)),
      var(--surface) 55%);
}
.article-related-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 65%, transparent);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
  backdrop-filter: blur(8px) saturate(1.05);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-accent);
  line-height: 1.2;
}
.article-related-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1;
}
.article-related-kicker {
  display: none; /* legacy text-only; visual cards use chip + CTA */
}
.article-related-title {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.article-related-line {
  display: none; /* visual cards drop dek — cover does the sell */
}
.article-related-cta {
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.article-related-card:hover .article-related-cta {
  color: var(--theme-accent);
}

@media (max-width: 1100px) {
  /* Quiet editorial disclosure — no card chrome */
  .article-layout {
    grid-template-columns: minmax(0, 42rem);
    justify-content: center;
  }
  .article-toc {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    max-width: 42rem;
    box-sizing: border-box;
    position: static;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .article-body { grid-column: 1; }
  .article-toc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 0;
    cursor: pointer;
    color: var(--ink-muted);
    font-weight: 400;
    letter-spacing: 0.1em;
    width: fit-content;
  }
  .article-toc-kicker::before {
    content: "";
    width: 12px;
    height: 1.5px;
    background: var(--theme-accent);
    flex-shrink: 0;
  }
  .article-toc-kicker::after {
    content: "";
    width: 0.4em;
    height: 0.4em;
    margin-left: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease, ease);
    flex-shrink: 0;
    opacity: 0.65;
  }
  .article-toc[open] > .article-toc-kicker {
    color: var(--ink);
  }
  .article-toc[open] > .article-toc-kicker::after {
    transform: rotate(-135deg);
    margin-top: 3px;
  }
  .article-toc ol {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 8px 0 0;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--line);
  }
  .article-toc a {
    border-left: 0;
    border-radius: 0;
    padding: 5px 0 5px 10px;
    font-size: 0.88rem;
    background: transparent;
  }
  .article-toc a:hover,
  .article-toc a.is-active,
  .article-toc a[aria-current="true"] {
    background: transparent;
    color: var(--ink);
    border-left-color: transparent;
  }
}
@media (max-width: 900px) {
  .article-related {
    max-width: none;
    margin-left: calc(-1 * clamp(12px, 4vw, 24px));
    margin-right: calc(-1 * clamp(12px, 4vw, 24px));
    padding: 0;
  }
  .article-related h2 {
    padding: 0 clamp(16px, 4vw, 24px);
  }
  .article-related-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 2px clamp(16px, 4vw, 24px) 10px;
    scrollbar-width: none;
  }
  .article-related-grid::-webkit-scrollbar { display: none; }
  .article-related-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
}
@media (max-width: 720px) {
  .article-body .pk-mw-cols { grid-template-columns: 1fr; }
}

/* page-mascot preview — draggable companion on guides (Warm Print) */
.page-mascot {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  touch-action: none;
}
.page-mascot-btn {
  pointer-events: auto;
  position: relative;
  display: block;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
  /* Soft halo only — keeps ink fox readable on Night without a frame */
  filter:
    drop-shadow(0 0 1px color-mix(in srgb, var(--bg) 85%, transparent))
    drop-shadow(0 8px 18px color-mix(in srgb, var(--ink) 22%, transparent));
}
html[data-theme="night"] .page-mascot-btn {
  filter:
    drop-shadow(0 0 2px rgba(245, 242, 236, 0.55))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}
.page-mascot.is-dragging .page-mascot-btn {
  cursor: grabbing;
}
.page-mascot.is-dragging {
  z-index: 110;
}
.page-mascot-squash {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 78%;
}
.page-mascot-layer {
  position: absolute;
  inset: 0;
  background-size: 300% 300%;
  background-repeat: no-repeat;
  transition: opacity 0.05s linear;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .page-mascot-layer { transition: none; }
}

/* Cookie consent — Warm Print (same duty as live pickora-consent) */
#pk-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  max-width: 720px;
  margin: 0 auto;
  width: auto;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 50%, transparent);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 12px 36px color-mix(in srgb, #000 28%, transparent);
}
#pk-consent p {
  margin: 0;
  flex: 1 1 220px;
  min-width: 0;
}
#pk-consent a {
  color: var(--theme-accent);
  text-underline-offset: 2px;
}
html[data-theme="day"] #pk-consent a,
html[data-theme="rain"] #pk-consent a {
  color: color-mix(in srgb, var(--theme-accent) 70%, #fff);
}
#pk-consent .pk-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
}
#pk-consent button {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}
#pk-accept {
  background: var(--theme-accent);
  color: var(--theme-accent-ink, #fff);
}
#pk-reject {
  background: transparent;
  color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--bg) 45%, transparent);
}
/* No padding-bottom — fixed bar must not resize the document (that caused scroll jumps). */
html.pk-consent-open .page-mascot {
  /* Keep fox clear of the bar */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
@media (max-width: 991px) {
  #pk-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: none;
  }
  #pk-consent p {
    flex: 0 0 auto;
    font-size: 0.84rem;
  }
  #pk-consent .pk-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  #pk-consent .pk-actions button {
    width: 100%;
  }
}
@media (max-width: 380px) {
  #pk-consent .pk-actions {
    grid-template-columns: 1fr;
  }
}

/* ===== Legal / Contact Warm Print (legal-warm1) ===== */
.page-legal {
  min-height: 100vh;
}
.page-legal .legal-page {
  padding-bottom: 2rem;
}
.page-legal .legal-hero {
  /* Same axis + centered title stack as .article-hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
  padding-top: 1.25rem;
  box-sizing: border-box;
}
.page-legal .legal-hero .kicker {
  margin: 0;
}
.page-legal .legal-hero h1 {
  font-family: "Fraunces", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink, #1a1a1a);
}
.page-legal .legal-hero h1 .accent-word,
.page-legal .legal-hero h1 em.accent-word {
  font-style: italic;
  color: var(--accent, #2075d2);
  font-weight: 600;
}
.page-legal .legal-dek {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-muted, #5c5c5c);
  max-width: 36rem;
}
.page-legal .legal-hero .hub-crumb {
  margin: 0;
}
/* Match .article-layout: side rails + centered 42rem column */
.page-legal .legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42rem) minmax(0, 1fr);
  column-gap: clamp(16px, 2vw, 28px);
  align-items: start;
  max-width: none;
  width: 100%;
  margin: 0;
}
.page-legal .legal-body,
.page-legal .legal-body.article-body {
  grid-column: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .page-legal .legal-layout {
    grid-template-columns: minmax(0, 42rem);
    justify-content: center;
  }
  .page-legal .legal-body,
  .page-legal .legal-body.article-body {
    grid-column: 1;
  }
}
.page-legal .legal-body .pk-legal-meta {
  font-size: 0.85rem;
  color: var(--muted, #8a8a8a);
  margin: 0 0 1.5rem;
}
.page-legal .legal-body h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2rem 0 0.85rem;
  color: var(--ink, #1a1a1a);
  scroll-margin-top: 5rem;
}
.page-legal .legal-body h3 {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.65rem;
}
.page-legal .legal-body p {
  margin: 0 0 1rem;
  line-height: 1.75;
}
.page-legal .legal-body ul {
  margin: 0 0 1.15rem;
  padding-left: 0;
  list-style: none;
}
.page-legal .legal-body ul li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0 0 0.55rem;
  line-height: 1.65;
}
.page-legal .legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #2075d2);
}
.page-legal .legal-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}
.page-legal .legal-body a {
  color: var(--accent, #2075d2);
  text-underline-offset: 3px;
}
.page-legal .legal-body code {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.88em;
  background: color-mix(in srgb, var(--ink, #111) 6%, transparent);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.page-legal .pk-contact-email-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  margin: 0 0 1.25rem;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--ink, #111) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink, #111) 12%, transparent);
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.page-legal .pk-contact-email-card:hover {
  border-color: var(--accent, #2075d2);
  transform: translateY(-1px);
  color: inherit;
}
.page-legal .pk-contact-email-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent, #2075d2) 14%, transparent);
  color: var(--accent, #2075d2);
}
.page-legal .pk-contact-email-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.page-legal .pk-contact-email-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.page-legal .pk-contact-email-label {
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6b6b6b);
}
.page-legal .pk-contact-email-address {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  word-break: break-all;
}
.page-legal .pk-contact-email-card:hover .pk-contact-email-address {
  color: var(--accent, #2075d2);
}
html[data-theme="night"] .page-legal .pk-contact-email-card {
  background: color-mix(in srgb, #fff 6%, transparent);
  border-color: color-mix(in srgb, #fff 14%, transparent);
}
html[data-theme="night"] .page-legal .pk-contact-email-address {
  color: #f2f2f2;
}

/* ===== 404 Warm Print (lab) ===== */
.page-404 {
  min-height: 100vh;
}
.page-404 .lost-page {
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 80px);
}
.page-404 .lost-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 40rem;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.page-404 .lost-code {
  margin: 0;
  font-family: var(--font-mono, "Space Mono", monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-404 .lost-hero h1 {
  margin: 0;
  font-family: var(--font-display, Fraunces, serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.page-404 .lost-hero h1 em {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.page-404 .lost-dek {
  margin: 0;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.page-404 .lost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.page-404 .lost-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.page-404 .lost-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 20px;
  border-radius: var(--radius-lg, 14px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-1);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), background 0.18s var(--ease);
}
.page-404 .lost-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--surface);
  transform: translateY(-2px);
}
.page-404 .lost-card-tag {
  font-family: var(--font-mono, "Space Mono", monospace);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-404 .lost-card h2 {
  margin: 0;
  font-family: var(--font-display, Fraunces, serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-404 .lost-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
@media (max-width: 900px) {
  .page-404 .lost-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .page-404 .lost-grid {
    grid-template-columns: 1fr;
  }
}
