/* =========================================================
   Horloge — Watch Shop Concept
   Editorial Heritage Hybrid
   ========================================================= */

/* Self-hosted variable fonts (latin subset, woff2).
   No external requests → DSGVO-friendly, faster. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/jetbrainsmono-latin.woff2') format('woff2');
}

/* Metric-matched fallbacks so layout doesn't shift on font swap. */
@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 100%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
  size-adjust: 107.64%;
}
@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Consolas'), local('Menlo'), local('Courier New');
  ascent-override: 100%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  --bg-deep: #1a1612;
  --bg-warm: #221d18;
  --bg-card: #2a2520;
  --bg-card-hi: #322c26;
  --cream: #f0e8d8;
  --cream-2: #ddd0b8;
  --cream-3: rgba(240, 232, 216, 0.55);
  --copper: #c89858;
  --copper-glow: #e8b878;
  --copper-soft: rgba(200, 152, 88, 0.18);
  --ink: #15110d;
  --rule: rgba(232, 220, 196, 0.12);
  --rule-strong: rgba(232, 220, 196, 0.22);
  --shadow: 0 30px 80px -20px rgba(0,0,0,0.6);

  --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, monospace;

  --maxw: 1480px;
  --sidebar-w: 280px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg-deep);
  color: var(--cream);
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  background: var(--bg-deep);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select { font: inherit; color: inherit; background: none; border: none; outline: none; }

/* Custom selection */
::selection { background: var(--copper); color: var(--ink); }

/* ============================================
   Splendable Concept Frame (cross-concept)
   ============================================ */
.sp-frame {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #11182a 0%, #080d18 100%);
  color: #ffffff;
  border: 1px solid rgba(49, 130, 206, 0.45);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow:
    0 10px 32px rgba(30, 90, 156, 0.34),
    0 4px 14px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.005em;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
  animation: sp-frame-in 600ms cubic-bezier(.2,.7,.2,1) 400ms both;
}
@keyframes sp-frame-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sp-frame:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 163, 230, 0.75);
  box-shadow:
    0 14px 38px rgba(30, 90, 156, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}
.sp-frame-arrow {
  font-size: 14px;
  line-height: 1;
  color: #8cc1ee;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.sp-frame:hover .sp-frame-arrow { transform: translateX(-3px); }
.sp-frame-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.sp-frame-brand {
  font-weight: 600;
  letter-spacing: 0.005em;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
}
.sp-frame-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 100px;
  background: rgba(49, 130, 206, 0.22);
  color: #b8d2ee;
  border: 1px solid rgba(49, 130, 206, 0.40);
}
@media (max-width: 540px) {
  .sp-frame { bottom: 12px; left: 12px; padding: 8px 13px 8px 11px; font-size: 12px; gap: 8px; }
  .sp-frame-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-frame, .sp-frame-arrow { transition: none; animation: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(200,152,88,0.25); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,152,88,0.5); }

/* =========================================================
   Header
   ========================================================= */

.h-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
}

.h-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.h-logo small {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--copper);
  display: block;
  margin-top: -4px;
  text-transform: uppercase;
}

.h-nav {
  display: flex;
  gap: 28px;
  margin-left: 40px;
}
.h-nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cream-2);
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.h-nav a:hover { color: var(--copper); }
.h-nav a.is-active { color: var(--cream); }
.h-nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--copper);
}
.h-nav a.is-demo {
  color: var(--cream-3);
  cursor: not-allowed;
}
.h-nav a.is-demo:hover { color: var(--cream-2); }
.h-nav a.is-demo::before {
  content: 'demo';
  position: absolute;
  top: -10px;
  right: -10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--copper);
  opacity: 0.65;
  text-transform: uppercase;
}

.h-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.h-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.25s, transform 0.25s;
  position: relative;
}
.h-icon-btn:hover { background: var(--copper-soft); transform: scale(1.05); }
.h-icon-btn svg { width: 18px; height: 18px; stroke: var(--cream); fill: none; stroke-width: 1.5; }

.h-cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--copper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
}
.h-cart-count.is-visible { transform: scale(1); }
.h-cart-count.is-pulse { animation: cartPulse 0.6s ease; }
@keyframes cartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); background: var(--copper-glow); }
  100% { transform: scale(1); }
}

/* =========================================================
   Cinematic Hero — animated light rays
   ========================================================= */

.h-cine {
  position: relative;
  /* Sticky h-header takes up var(--header-h); fill the rest. */
  min-height: calc(100vh - var(--header-h));
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--bg-deep);
  isolation: isolate;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
}

.h-cine-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Static gradient base (cheap) */
.h-cine-bg {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(200, 152, 88, 0.13), transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(200, 152, 88, 0.07), transparent 70%),
    linear-gradient(180deg, #15110d 0%, #1c1813 50%, #221d18 100%);
}

/* Single sweeping light bar — one transform, GPU only */
.h-cine-rays {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -40%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 184, 120, 0.05) 35%,
    rgba(232, 184, 120, 0.18) 50%,
    rgba(232, 184, 120, 0.05) 65%,
    transparent 100%
  );
  filter: blur(8px);
  transform: translate3d(0, 0, 0) skewX(-12deg);
  animation: cineSweep 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes cineSweep {
  0%   { transform: translate3d(0, 0, 0) skewX(-12deg); }
  60%  { transform: translate3d(350vw, 0, 0) skewX(-12deg); }
  100% { transform: translate3d(350vw, 0, 0) skewX(-12deg); }
}

/* Watch image — static, no animation, just blended */
.h-cine-watch {
  position: absolute;
  right: -8%;
  top: 50%;
  width: 70%;
  max-width: 920px;
  aspect-ratio: 3 / 2;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: screen;
}
.h-cine-watch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
}

/* Grain via cheap CSS noise (drop SVG) */
.h-cine-grain { display: none; }

/* Vignette static */
.h-cine-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 35%, rgba(15, 12, 9, 0.7) 100%),
    linear-gradient(180deg, rgba(15,12,9,0.4) 0%, transparent 25%, transparent 70%, rgba(15,12,9,0.7) 100%);
  pointer-events: none;
}

/* Cine content */
.h-cine-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 72px) 32px clamp(40px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 2.5vh, 28px);
}

.h-cine-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  background: rgba(34, 29, 24, 0.92);
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}
.h-cine-star {
  color: var(--copper);
  font-size: 13px;
  display: inline-block;
}

.h-cine-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  max-width: 22ch;
}
.h-cine-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, var(--copper-glow) 0%, var(--copper) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-cine-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.h-cine-line > span,
.h-cine-line {
  /* allows GSAP word-by-word reveal */
}

.h-cine-sub {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream-2);
}

.h-cine-meta {
  display: flex;
  gap: 56px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.h-cine-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.h-cine-meta strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--copper);
}

.h-cine-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color 0.3s;
}
.h-cine-scroll:hover { color: var(--copper); }
.h-cine-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, var(--cream-3) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.h-cine-scroll-line::after {
  content: '';
  position: absolute;
  top: -56px;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, var(--copper) 100%);
  animation: cineScrollDot 2s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes cineScrollDot {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(112px); opacity: 0; }
}

@media (max-width: 700px) {
  .h-cine-meta { gap: 32px; }
  .h-cine-meta strong { font-size: 28px; }
  .h-cine-watch { width: 130%; right: -30%; opacity: 0.22; }
}

@media (prefers-reduced-motion: reduce) {
  .h-cine-rays,
  .h-cine-bg::before,
  .h-cine-watch,
  .h-cine-scroll-line::after,
  .h-cine-star { animation: none !important; }
}

/* =========================================================
   Listing — Layout
   ========================================================= */

.h-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* Editorial Hero */
.h-hero {
  grid-column: 1 / -1;
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.h-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
}
.h-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream);
  max-width: 12ch;
}
.h-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
  font-feature-settings: 'liga' on;
}
.h-hero-meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cream-3);
  text-transform: uppercase;
}
.h-hero-meta span::before {
  content: '·';
  margin-right: 24px;
  color: var(--copper);
}
.h-hero-meta span:first-child::before { display: none; }

/* Sidebar */
.h-sidebar {
  position: sticky;
  top: var(--header-h);
  align-self: start;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--rule);
}
.h-sidebar::-webkit-scrollbar { width: 4px; }

.h-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.h-filter-head h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}
.h-filter-clear {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.h-filter-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.h-filter-clear:hover { color: var(--copper-glow); }

.h-filter-group {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.h-filter-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--cream);
  user-select: none;
}
.h-filter-group summary::-webkit-details-marker { display: none; }
.h-filter-group summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--copper);
  transition: transform 0.3s;
}
.h-filter-group[open] summary::after {
  content: '−';
}
.h-filter-body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Pills (Single + Multi) */
.h-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.h-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--rule-strong);
  color: var(--cream-2);
  background: transparent;
  transition: all 0.25s;
}
.h-pill:hover {
  border-color: var(--copper);
  color: var(--copper);
}
.h-pill.is-active {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--ink);
}

/* Checkboxes (Marken) */
.h-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--cream-2);
  transition: color 0.2s;
}
.h-check:hover { color: var(--cream); }
.h-check input { display: none; }
.h-check-box {
  width: 14px;
  height: 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}
.h-check input:checked + .h-check-box {
  background: var(--copper);
  border-color: var(--copper);
}
.h-check input:checked + .h-check-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--ink);
  clip-path: polygon(14% 44%, 0% 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.h-check-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cream-3);
  margin-left: auto;
}

/* Range slider */
.h-range {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.h-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.h-range-input {
  width: 70px;
  padding: 6px 8px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  transition: border-color 0.2s;
}
.h-range-input:focus { border-color: var(--copper); }
.h-range-track {
  position: relative;
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
  margin: 14px 4px 0;
}
.h-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--copper);
  border-radius: 2px;
}
.h-range input[type=range] {
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  width: 100%;
  height: 18px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.h-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  cursor: grab;
}
.h-range input[type=range]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--bg-deep);
  cursor: grab;
}

/* Toggle */
.h-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
  font-size: 13px;
  color: var(--cream-2);
}
.h-toggle input { display: none; }
.h-toggle-track {
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: var(--rule-strong);
  position: relative;
  transition: background 0.25s;
}
.h-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.25s;
}
.h-toggle input:checked + .h-toggle-track {
  background: var(--copper);
}
.h-toggle input:checked + .h-toggle-track::after {
  transform: translateX(14px);
  background: var(--ink);
}

/* =========================================================
   Main grid area
   ========================================================= */

.h-main {
  padding: 32px 0 32px 40px;
}

.h-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.h-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.h-active-filter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px 6px 12px;
  border-radius: 99px;
  background: var(--copper-soft);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.h-active-filter button {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--copper);
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}
.h-active-filter button:hover { background: var(--copper-glow); }
.h-results-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-3);
}

/* Sort dropdown */
.h-sort {
  position: relative;
}
.h-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  transition: border-color 0.25s, background 0.25s;
}
.h-sort-btn:hover { border-color: var(--copper); }
.h-sort-btn::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.25s;
}
.h-sort.is-open .h-sort-btn::after { transform: rotate(225deg); margin-top: 3px; }
.h-sort-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 10;
}
.h-sort.is-open .h-sort-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.h-sort-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--cream-2);
  transition: background 0.15s, color 0.15s;
}
.h-sort-item:hover { background: var(--copper-soft); color: var(--cream); }
.h-sort-item.is-active { color: var(--copper); }

/* =========================================================
   Bento Grid
   ========================================================= */

.h-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--bg-deep);
}
.h-card {
  position: relative;
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.h-card:hover {
  background: var(--bg-card-hi);
}
.h-card--hero { grid-column: span 2; grid-row: span 2; min-height: 724px; }
.h-card--editor { grid-row: span 2; min-height: 724px; }

.h-card-img {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--bg-warm);
}
.h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s;
  filter: saturate(0.9) contrast(1.05);
}
.h-card:hover .h-card-img img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.1);
}

.h-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(26,22,18,0.85);
  color: var(--cream);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
  z-index: 2;
}
.h-card-tag--limited { background: var(--copper); color: var(--ink); }
.h-card-tag--editor { background: rgba(232, 184, 120, 0.18); color: var(--copper-glow); border: 1px solid var(--copper); }

.h-card-quickadd {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 3;
}
.h-card:hover .h-card-quickadd {
  opacity: 1;
  transform: translateY(0);
}
.h-card-quickadd:hover { background: var(--copper-glow); }

.h-card-info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rule);
}
.h-card-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
}
.h-card-model {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1.1;
}
.h-card--hero .h-card-model { font-size: 38px; }
.h-card-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cream-2);
  margin-top: 6px;
}
.h-card-soldout {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--cream-3);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Drop banner */
.h-drop {
  grid-column: 1 / -1;
  padding: 56px 40px;
  background: linear-gradient(135deg, var(--bg-warm) 0%, #2a1f15 100%);
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.h-drop-text { flex: 1; }
.h-drop-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}
.h-drop-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}
.h-drop-body {
  max-width: 60ch;
  color: var(--cream-2);
  font-size: 14px;
  line-height: 1.6;
}
.h-drop-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}
.h-drop-link:hover { color: var(--copper-glow); border-color: var(--copper-glow); }

/* Empty state */
.h-empty {
  grid-column: 1 / -1;
  padding: 96px 32px;
  text-align: center;
  color: var(--cream-3);
}
.h-empty h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--cream);
  margin-bottom: 12px;
}
.h-empty button {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 4px;
}

/* =========================================================
   Search Modal
   ========================================================= */

.h-search-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.h-search-modal.is-open { display: block; }

.h-search-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 10, 0.85);
  animation: searchFade 0.25s ease forwards;
}
@keyframes searchFade { from { opacity: 0; } to { opacity: 1; } }

.h-search-inner {
  position: absolute;
  top: 12vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  max-height: 70vh;
  background: var(--bg-warm);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: searchSlide 0.3s cubic-bezier(.2,.8,.2,1) forwards;
  opacity: 0;
}
@keyframes searchSlide {
  from { opacity: 0; transform: translate(-50%, -16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.h-search-head {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 0 24px;
}
#searchInput {
  flex: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.01em;
  padding: 22px 0;
  color: var(--cream);
  background: transparent;
  border: none;
  outline: none;
}
#searchInput::placeholder { color: var(--cream-3); }
.h-search-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--cream-2);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.h-search-close:hover { background: var(--copper-soft); color: var(--cream); }

.h-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 24px;
}
.h-search-hint {
  color: var(--cream-3);
  font-size: 13px;
  padding: 24px 0;
  font-style: italic;
}

.h-search-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  padding: 14px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  align-items: center;
  text-decoration: none;
}
.h-search-result:hover { background: var(--copper-soft); }
.h-search-result img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}
.h-search-result-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h-search-result-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--copper);
  text-transform: uppercase;
}
.h-search-result-model {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
  line-height: 1.2;
}
.h-search-result-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-2);
}

.h-search-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--cream-3);
  font-size: 14px;
  font-style: italic;
}

/* =========================================================
   Cart Drawer
   ========================================================= */

.h-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 10, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 80;
}
.h-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.h-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 90vw);
  background: var(--bg-warm);
  z-index: 81;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.7,0,.2,1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
}
.h-drawer.is-open { transform: translateX(0); }
.h-drawer-head {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.h-drawer-head h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.h-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--cream-2);
  transition: background 0.2s, color 0.2s;
}
.h-drawer-close:hover { background: var(--copper-soft); color: var(--cream); }
.h-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}
.h-drawer-empty {
  padding: 56px 0;
  text-align: center;
  color: var(--cream-3);
  font-size: 14px;
}
.h-drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.h-drawer-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}
.h-drawer-item-info { display: flex; flex-direction: column; gap: 4px; }
.h-drawer-item-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--copper);
  text-transform: uppercase;
}
.h-drawer-item-model {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--cream);
  line-height: 1.2;
}
.h-drawer-item-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-2);
}
.h-drawer-item-remove {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color 0.2s;
}
.h-drawer-item-remove:hover { color: var(--copper); }
.h-drawer-foot {
  padding: 24px 28px;
  border-top: 1px solid var(--rule);
}
.h-drawer-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cream);
}
.h-drawer-total strong { color: var(--copper); font-weight: 600; }

/* =========================================================
   Toast
   ========================================================= */

.h-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--copper);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--cream);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  white-space: nowrap;
  max-width: 90vw;
}
.h-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   Buttons
   ========================================================= */

.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--copper);
  color: var(--ink);
  border-radius: 2px;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.h-btn:hover { background: var(--copper-glow); }
.h-btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--rule-strong);
}
.h-btn--ghost:hover { border-color: var(--copper); color: var(--copper); }
.h-btn--block { width: 100%; }

/* =========================================================
   PDP — Product Detail Page
   ========================================================= */

.p-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px;
}

.p-breadcrumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 32px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.p-breadcrumb a { color: var(--cream-3); transition: color 0.2s; }
.p-breadcrumb a:hover { color: var(--copper); }
.p-breadcrumb span:last-child { color: var(--cream); }

.p-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

/* Gallery */
.p-gallery {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
}
.p-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-thumb {
  width: 80px;
  height: 80px;
  border: 1px solid var(--rule);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s;
}
.p-thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-thumb:hover { border-color: var(--copper); }
.p-thumb.is-active { border-color: var(--copper); border-width: 2px; }

.p-main-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  overflow: hidden;
}
.p-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: saturate(0.95) contrast(1.05);
}

/* Info column */
.p-info { padding-top: 8px; }
.p-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}
.p-brand small {
  color: var(--cream-3);
  margin-left: 12px;
  letter-spacing: 0.2em;
}
.p-model {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 24px;
}
.p-model em { font-style: italic; color: var(--copper); }
.p-price {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.p-price small {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-left: 12px;
}

.p-variants {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-variant-row { display: flex; flex-direction: column; gap: 10px; }
.p-variant-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.p-variant-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.p-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.p-actions .h-btn { flex: 1; }
.p-fav {
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule-strong);
  display: grid;
  place-items: center;
  border-radius: 2px;
  transition: border-color 0.25s, color 0.25s;
}
.p-fav:hover { border-color: var(--copper); color: var(--copper); }
.p-fav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.p-fav.is-active { color: var(--copper); border-color: var(--copper); }
.p-fav.is-active svg { fill: currentColor; }

.p-shipping {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-3);
  margin-bottom: 36px;
}
.p-shipping strong { color: var(--copper); font-weight: 500; }

.p-specs h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.p-spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
}
.p-spec-row span:first-child {
  color: var(--cream-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.p-spec-row span:last-child { color: var(--cream); }

/* Story section */
.p-story {
  margin: 120px -32px;
  padding: 96px 32px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.p-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.p-story-text { padding-right: 40px; }
.p-story-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}
.p-story-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 32px;
}
.p-story-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cream-2);
  max-width: 50ch;
}
.p-story-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.p-story-img img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  position: absolute;
  top: -5%;
  filter: saturate(0.9) contrast(1.05);
}

/* Related */
.p-related {
  margin-top: 80px;
}
.p-related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 20px;
}
.p-related-head h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
}
.p-related-head a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}
.p-related-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
}
.p-related-scroll::-webkit-scrollbar { height: 4px; }
.p-related-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  cursor: pointer;
}
.p-related-card .h-card-img {
  aspect-ratio: 1 / 1;
}

/* =========================================================
   Footer
   ========================================================= */

.h-footer {
  margin-top: 120px;
  padding: 80px 32px 80px;
  background: var(--bg-warm);
  border-top: 1px solid var(--rule);
}
.h-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.h-footer-brand h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.h-footer-brand p {
  color: var(--cream-3);
  font-size: 13px;
  max-width: 30ch;
}
.h-footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.h-footer-col a, .h-footer-col p {
  display: block;
  font-size: 13px;
  color: var(--cream-2);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.h-footer-col a:hover { color: var(--copper); }
.h-footer-bottom {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.h-footer-disclaimer {
  color: var(--copper);
}

/* =========================================================
   Custom Cursor
   ========================================================= */

.h-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copper);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s, mix-blend-mode 0.25s;
  display: none;
}
.h-cursor.is-active { display: block; }
.h-cursor.is-hover {
  width: 56px;
  height: 56px;
  background: rgba(232, 184, 120, 0.92);
  mix-blend-mode: normal;
}
.h-cursor-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s 0.05s;
}
.h-cursor.is-hover .h-cursor-text { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .h-shell { grid-template-columns: 1fr; padding: 0 20px; }
  .h-sidebar { display: none; }
  .h-main { padding: 24px 0; }
  .h-grid { grid-template-columns: repeat(2, 1fr); }
  .h-card--hero, .h-card--editor { grid-column: span 2; grid-row: span 1; min-height: 360px; }
  .p-grid { grid-template-columns: 1fr; gap: 40px; }
  .p-gallery { position: static; grid-template-columns: 1fr; }
  .p-thumbs { flex-direction: row; overflow-x: auto; }
  .p-story-inner { grid-template-columns: 1fr; gap: 40px; }
  .h-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .h-grid { grid-template-columns: 1fr; }
  .h-card--hero, .h-card--editor { grid-column: span 1; }
  .h-nav { display: none; }
  .h-shell { padding: 0 16px; }
  .h-main { padding-left: 0; padding-right: 0; }
  .p-shell { padding: 20px 16px; }
  .h-footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .h-header {
    padding: 0 16px;
    gap: 12px;
  }
  .h-actions { gap: 8px; }
  .h-icon-btn { width: 36px; height: 36px; }
  .h-logo { font-size: 22px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .h-cursor { display: none !important; }
}

/* Reveal animation init */
.h-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.h-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
