/* ============================================================================
   Zenivorn — celestial field-guide / dark cosmic planetarium catalog
   Re-skin of the shared vitrine stack: class names (rst-*) preserved, DA reborn.
   Palette: night-indigo #0b1030 → aubergine #1a1338, gold #d9b25f,
            starlight cream #efe7d0, faint cyan #7fd6e6.
   Type: elegant high-contrast serif (Cormorant/Fraunces feel) + IBM Plex Mono.
   ============================================================================ */

:root {
  --ink-0:     #070b22;   /* deepest void */
  --ink-1:     #0b1030;   /* night indigo (base) */
  --ink-2:     #1a1338;   /* aubergine */
  --ink-3:     #221a47;   /* raised panel */
  --ink-card:  #14123a;   /* card body */
  --ink-line:  #2e2a55;   /* hairline */

  --gold:      #d9b25f;
  --gold-hi:   #f0d493;
  --gold-deep: #a9823c;
  --cream:     #efe7d0;
  --cream-dim: #cbc3ad;
  --cyan:      #7fd6e6;
  --cyan-dim:  #5fa9bd;

  --text:      #efe7d0;   /* starlight cream body text */
  --text-muted:#9b97bd;   /* dim lilac-grey */
  --text-faint:#6f6b95;

  --ff-display: 'Cormorant Garamond', 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body:    'Spectral', 'Cormorant Garamond', Georgia, serif;
  --ff-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm:  4px;
  --radius-md:  9px;
  --radius-lg:  18px;

  --shadow-card: 0 4px 22px rgba(0,0,0,0.42);
  --shadow-lift: 0 16px 44px rgba(0,0,0,0.6), 0 0 0 1px rgba(217,178,95,0.28);
  --glow-gold:   0 0 22px rgba(217,178,95,0.32);
  --glow-cyan:   0 0 26px rgba(127,214,230,0.28);

  --max-w: 1320px;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --anim: 0.24s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: clamp(0.98rem, 0.5vw + 0.85rem, 1.12rem);
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1200px 760px at 78% -8%, rgba(40,30,86,0.55), transparent 60%),
    radial-gradient(900px 620px at 10% 4%, rgba(26,19,56,0.6), transparent 55%),
    linear-gradient(180deg, var(--ink-1) 0%, var(--ink-0) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}
/* faint global starfield texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(239,231,208,0.7), transparent),
    radial-gradient(1.1px 1.1px at 28% 62%, rgba(239,231,208,0.5), transparent),
    radial-gradient(1.6px 1.6px at 47% 32%, rgba(127,214,230,0.55), transparent),
    radial-gradient(1.1px 1.1px at 63% 78%, rgba(239,231,208,0.45), transparent),
    radial-gradient(1.5px 1.5px at 82% 22%, rgba(239,231,208,0.6), transparent),
    radial-gradient(1.1px 1.1px at 90% 56%, rgba(127,214,230,0.4), transparent),
    radial-gradient(1.2px 1.2px at 72% 42%, rgba(239,231,208,0.5), transparent),
    radial-gradient(1.1px 1.1px at 38% 88%, rgba(239,231,208,0.4), transparent),
    radial-gradient(1.1px 1.1px at 6% 80%, rgba(239,231,208,0.4), transparent);
  background-size: 1100px 1100px;
  opacity: 0.55;
}
body > * { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
::selection { background: rgba(217,178,95,0.32); color: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── Utility ──────────────────────────────────────── */
.rst-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.rst-container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.rst-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rst-reveal.is-visible { opacity: 1; transform: none; }

/* section eyebrow + title shared */
.rst-section-label {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
}
.rst-section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.005em;
  line-height: 1.1;
}

/* a reusable orbital-ellipse divider (decorative) */
.rst-orbit-rule {
  height: 1px; border: 0; margin: clamp(2rem, 5vw, 4rem) auto;
  width: min(680px, 86%);
  background: linear-gradient(90deg, transparent, rgba(217,178,95,0.5), transparent);
  position: relative;
}
.rst-orbit-rule::after {
  content: "✦"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold); font-size: 0.8rem;
  background: var(--ink-0); padding: 0 0.6rem;
}

/* ── TICKER BAR ───────────────────────────────────── */
.rst-ticker {
  background: linear-gradient(90deg, var(--ink-0), var(--ink-2), var(--ink-0));
  color: var(--gold);
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink-line);
}
.rst-ticker-track { display: flex; animation: rst-ticker-scroll 32s linear infinite; gap: 0; }
.rst-ticker-track:hover { animation-play-state: paused; }
.rst-ticker-item { padding: 0 2.8rem; text-transform: uppercase; }
.rst-ticker-item::before { content: '✦'; margin-right: 2.8rem; color: var(--gold-deep); }
@keyframes rst-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HEADER ───────────────────────────────────────── */
.rst-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,11,30,0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(46,42,85,0.8);
  transition: box-shadow var(--anim), background var(--anim);
}
.rst-head--stuck { box-shadow: 0 10px 34px rgba(0,0,0,0.5); background: rgba(8,11,30,0.92); }
.rst-head-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 66px; padding: 0 var(--gutter);
  max-width: var(--max-w); margin: 0 auto;
}
.rst-head--stuck .rst-head-inner { height: 58px; }

/* Brand slot — wordmark */
.rst-brandslot {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: color var(--anim);
}
.rst-brandslot::before {
  content: ""; width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 10px rgba(217,178,95,0.6), inset -2px -2px 3px rgba(0,0,0,0.4);
  position: relative;
}
.rst-brandslot:hover { color: var(--gold); }

/* Nav */
.rst-nav { display: flex; align-items: center; gap: 0.1rem; flex: 1; justify-content: center; }
.rst-nav-link {
  font-family: var(--ff-mono);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem; border-radius: var(--radius-sm);
  transition: color var(--anim), background var(--anim);
  white-space: nowrap;
}
.rst-nav-link:hover { color: var(--cream); background: rgba(217,178,95,0.08); }
.rst-nav-link.is-active { color: var(--gold); }

/* Head actions */
.rst-head-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.rst-head-btn {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: var(--text-muted);
  padding: 0.4rem 0.55rem; border-radius: var(--radius-sm);
  transition: color var(--anim), background var(--anim); position: relative;
}
.rst-head-btn:hover { color: var(--gold); background: rgba(217,178,95,0.08); }
.rst-head-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rst-cart-badge {
  background: var(--gold); color: var(--ink-0);
  font-family: var(--ff-mono); font-size: 0.62rem; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  position: absolute; top: -3px; right: -4px;
  box-shadow: 0 0 10px rgba(217,178,95,0.55);
}

/* Hamburger */
.rst-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.rst-hamburger span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 1px; transition: transform var(--anim), opacity var(--anim); }
.rst-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rst-hamburger.is-open span:nth-child(2) { opacity: 0; }
.rst-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.rst-mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(8,11,30,0.97);
  backdrop-filter: blur(10px);
  flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
  opacity: 0; transition: opacity 0.25s ease;
}
.rst-mobile-nav.is-open { opacity: 1; }
.rst-mobile-nav-link {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 500;
  color: var(--cream); letter-spacing: 0.02em; transition: color var(--anim);
}
.rst-mobile-nav-link:hover { color: var(--gold); }

/* ── HERO — "tonight's sky" ───────────────────────── */
.rst-hero {
  display: grid; grid-template-columns: 1.02fr 1fr;
  min-height: clamp(560px, 78vh, 860px);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--ink-line);
}
.rst-hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  position: relative; z-index: 2;
}
.rst-hero-badge {
  font-family: var(--ff-mono);
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(217,178,95,0.5);
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.6rem; width: fit-content;
  background: rgba(217,178,95,0.06);
}
.rst-hero-badge::before { content: "✦"; color: var(--gold-hi); }
.rst-hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 500; line-height: 1.04; letter-spacing: 0.004em;
  color: var(--cream); margin-bottom: 1.5rem;
}
.rst-hero-headline em { font-style: italic; color: var(--gold); }
.rst-hero-lede {
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  color: var(--text-muted); max-width: 42ch; margin-bottom: 2.4rem; line-height: 1.75;
}
.rst-hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.rst-hero-right { position: relative; overflow: hidden; }
.rst-hero-right img { width: 100%; height: 100%; object-fit: cover; }
.rst-hero-right::after {
  /* blend the hero art into the left panel */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink-0) 0%, transparent 26%, transparent 100%);
  pointer-events: none;
}
.rst-hero-caption {
  position: absolute; bottom: 1.4rem; right: 1.4rem; z-index: 3;
  background: rgba(8,11,30,0.78); color: var(--gold);
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem; border-radius: 100px;
  border: 1px solid rgba(217,178,95,0.3);
}

/* ── BUTTONS ──────────────────────────────────────── */
.rst-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--ff-mono);
  padding: 0.78rem 1.6rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background var(--anim), color var(--anim), box-shadow var(--anim), transform var(--anim), border-color var(--anim);
  cursor: pointer; border: 1px solid transparent;
}
.rst-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rst-btn-primary {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  color: var(--ink-0); box-shadow: var(--glow-gold);
}
.rst-btn-primary:hover { box-shadow: 0 8px 26px rgba(217,178,95,0.45); transform: translateY(-2px); }
.rst-btn-ghost {
  background: transparent; color: var(--cream); border-color: rgba(217,178,95,0.45);
}
.rst-btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(217,178,95,0.07); }
.rst-btn-accent {
  background: rgba(127,214,230,0.12); color: var(--cyan); border-color: rgba(127,214,230,0.4);
}
.rst-btn-accent:hover { background: rgba(127,214,230,0.2); color: #aef0fb; box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.rst-btn-white { background: var(--cream); color: var(--ink-0); }
.rst-btn-white:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(239,231,208,0.25); }
.rst-btn-sm { padding: 0.5rem 1rem; font-size: 0.7rem; }

/* ── "TONIGHT" STRIP (this-week reused) ───────────── */
.rst-thisweek {
  padding: clamp(2.75rem, 5vw, 4.5rem) var(--gutter);
  position: relative;
}
.rst-thisweek-header { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.rst-thisweek-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--max-w); margin: 0 auto; }

/* ── CLASS METER (roast-meter reused → aperture/class) ── */
.rst-roast-meter { display: flex; align-items: center; gap: 0.55rem; margin: 0.4rem 0; }
.rst-roast-label {
  font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.12em;
  color: var(--gold); text-transform: uppercase; white-space: nowrap;
}
.rst-roast-track { flex: 1; height: 3px; background: var(--ink-line); border-radius: 2px; overflow: hidden; }
.rst-roast-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); box-shadow: 0 0 8px rgba(217,178,95,0.6); }
.rst-roast-fill[data-level="1"] { width: 33%; }
.rst-roast-fill[data-level="2"] { width: 64%; }
.rst-roast-fill[data-level="3"] { width: 92%; }

/* ── PRODUCT CARD ─────────────────────────────────── */
.rst-card {
  background: linear-gradient(180deg, var(--ink-card), var(--ink-1));
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--anim), box-shadow var(--anim), border-color var(--anim);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.rst-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(217,178,95,0.4); }
.rst-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--ink-0); border-bottom: 1px solid var(--ink-line); }
.rst-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rst-card:hover .rst-card-img-wrap img { transform: scale(1.045); }
.rst-card-body { padding: 1.1rem 1.2rem 1.35rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.rst-card-cat {
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--gold); text-transform: uppercase;
}
.rst-card-name {
  font-family: var(--ff-display); font-size: 1.32rem; font-weight: 600; line-height: 1.16;
  color: var(--cream); letter-spacing: 0.01em;
}
.rst-card-name a { transition: color var(--anim); }
.rst-card-name a:hover { color: var(--gold); }
.rst-card-short { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.rst-card-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.15rem 0; }
.rst-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; padding-top: 0.85rem; border-top: 1px solid var(--ink-line); }

/* spec-key line on cards (astronomy headline spec) */
.rst-spec-key {
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 0.4rem;
}
.rst-spec-key::before { content: "◈"; color: var(--cyan-dim); font-size: 0.7rem; }

/* ── CHIPS ────────────────────────────────────────── */
.rst-chip {
  font-family: var(--ff-mono); font-size: 0.64rem; letter-spacing: 0.04em;
  color: var(--cream-dim);
  background: rgba(217,178,95,0.07);
  border: 1px solid var(--ink-line);
  padding: 0.22rem 0.6rem; border-radius: 100px; white-space: nowrap;
}
.rst-chip-accent { color: var(--cyan); border-color: rgba(127,214,230,0.35); background: rgba(127,214,230,0.08); }

/* ── PRICE ────────────────────────────────────────── */
.rst-price { font-family: var(--ff-mono); font-size: 1.06rem; font-weight: 600; color: var(--gold-hi); }
.rst-price-sub { font-family: var(--ff-mono); font-size: 0.68rem; color: var(--text-faint); }

/* ── CATEGORIES BAND (homepage) ───────────────────── */
.rst-cats { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }
.rst-cats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  max-width: var(--max-w); margin: 1.75rem auto 0;
}
.rst-cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--ink-line); aspect-ratio: 16/10; display: block;
  transition: transform var(--anim), box-shadow var(--anim), border-color var(--anim);
  box-shadow: var(--shadow-card);
}
.rst-cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(217,178,95,0.4); }
.rst-cat-card img { width: 100%; height: 100%; object-fit: cover; }
.rst-cat-card-label {
  position: absolute; left: 1.1rem; bottom: 1rem; right: 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.rst-cat-card-name { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; color: var(--cream); letter-spacing: 0.01em; }
.rst-cat-card-arrow { font-family: var(--ff-mono); color: var(--gold); font-size: 1rem; }

/* ── STORY BAND ───────────────────────────────────── */
.rst-story { padding: clamp(3rem, 6vw, 5.5rem) var(--gutter); }
.rst-story-inner {
  max-width: 980px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.rst-story-eyebrow { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.rst-story-title { font-family: var(--ff-display); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; color: var(--cream); line-height: 1.12; }
.rst-story-text { font-size: clamp(1.02rem, 1.2vw, 1.18rem); color: var(--text-muted); max-width: 64ch; line-height: 1.8; }
.rst-story-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--ink-line); width: 100%;
}
.rst-story-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.rst-story-stat b { font-family: var(--ff-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); font-weight: 600; }
.rst-story-stat span { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }

/* ── MOON-PHASE ROW ───────────────────────────────── */
.rst-moonrow { padding: clamp(2.5rem, 4vw, 3.5rem) var(--gutter); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); background: linear-gradient(180deg, rgba(26,19,56,0.4), transparent); }
.rst-moonrow-inner { max-width: var(--max-w); margin: 0 auto; }
.rst-moonrow-title { text-align: center; margin-bottom: 1.5rem; }
.rst-moonrow-phases { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.rst-moon { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; flex: 1 1 0; min-width: 88px; }
.rst-moon-disc { width: 54px; height: 54px; border-radius: 50%; position: relative; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--ink-line); overflow: hidden; }
.rst-moon-lit { position: absolute; inset: 0; background: radial-gradient(circle at 38% 32%, var(--gold-hi), var(--gold) 60%, var(--gold-deep)); }
.rst-moon-label { font-family: var(--ff-mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--text-faint); text-transform: uppercase; text-align: center; }
.rst-moon-date { font-family: var(--ff-mono); font-size: 0.62rem; color: var(--gold); }
/* phase masks via clip */
.rst-moon[data-phase="new"]    .rst-moon-lit { clip-path: circle(0% at 50% 50%); }
.rst-moon[data-phase="wax-c"]  .rst-moon-lit { clip-path: inset(0 0 0 70%); }
.rst-moon[data-phase="first"]  .rst-moon-lit { clip-path: inset(0 0 0 50%); }
.rst-moon[data-phase="wax-g"]  .rst-moon-lit { clip-path: inset(0 0 0 25%); }
.rst-moon[data-phase="full"]   .rst-moon-lit { clip-path: inset(0); }
.rst-moon[data-phase="wan-g"]  .rst-moon-lit { clip-path: inset(0 25% 0 0); }
.rst-moon[data-phase="last"]   .rst-moon-lit { clip-path: inset(0 50% 0 0); }
.rst-moon[data-phase="wan-c"]  .rst-moon-lit { clip-path: inset(0 70% 0 0); }

/* ── FEATURED ─────────────────────────────────────── */
.rst-featured { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }
.rst-featured-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; max-width: var(--max-w); margin-inline: auto; }
.rst-featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--max-w); margin: 0 auto; }

/* ── ORIGINS reused → CONSTELLATION GUIDE ─────────── */
.rst-origins { padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.rst-origins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: var(--max-w); margin: 1.5rem auto 0; }
.rst-origin-card { background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius-md); overflow: hidden; }
.rst-origin-img { aspect-ratio: 4/3; overflow: hidden; }
.rst-origin-img img { width: 100%; height: 100%; object-fit: cover; }
.rst-origin-body { padding: 1rem; }
.rst-origin-country { font-family: var(--ff-display); font-size: 1.2rem; color: var(--cream); margin-bottom: 0.4rem; }
.rst-origin-meta { font-family: var(--ff-mono); font-size: 0.7rem; color: var(--text-muted); line-height: 1.8; }
.rst-origin-meta span { color: var(--cyan); }

/* ── SUBSCRIPTION reused → CLUB band ──────────────── */
.rst-sub-band {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  background:
    radial-gradient(700px 360px at 80% 20%, rgba(217,178,95,0.1), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.rst-sub-inner { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.rst-sub-headline { font-family: var(--ff-display); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; color: var(--cream); line-height: 1.12; }
.rst-sub-lede { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--text-muted); max-width: 56ch; }
.rst-sub-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 0.5rem 0; }
.rst-sub-detail {
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--cream-dim);
  border: 1px solid var(--ink-line); border-radius: 100px; padding: 0.35rem 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.rst-sub-detail::before { content: "✦"; color: var(--gold); }

/* ── BREW reused → OBSERVING TABS ─────────────────── */
.rst-brew { padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.rst-brew-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.25rem 0 1.75rem; }
.rst-brew-tab {
  font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.5rem 1.1rem; border-radius: 100px;
  border: 1px solid var(--ink-line); transition: all var(--anim);
}
.rst-brew-tab:hover { color: var(--cream); border-color: rgba(217,178,95,0.4); }
.rst-brew-tab.is-active { color: var(--ink-0); background: var(--gold); border-color: var(--gold); }
.rst-brew-panel { display: none; }
.rst-brew-panel.is-active { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 1.75rem; align-items: start; }
.rst-brew-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; }
.rst-brew-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.rst-brew-card {
  background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius-md);
  padding: 1rem 1.1rem; transition: all var(--anim);
}
.rst-brew-card:hover { border-color: rgba(217,178,95,0.4); transform: translateY(-3px); }
.rst-brew-card-name { font-family: var(--ff-display); font-size: 1.1rem; color: var(--cream); margin-bottom: 0.25rem; }
.rst-brew-card-origin { font-family: var(--ff-mono); font-size: 0.68rem; color: var(--cyan); letter-spacing: 0.04em; }

/* ── JOURNAL reused → FIELD NOTES ─────────────────── */
.rst-journal { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }
.rst-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--max-w); margin: 1.75rem auto 0; }
.rst-article-card { background: linear-gradient(180deg, var(--ink-card), var(--ink-1)); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--anim); }
.rst-article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(217,178,95,0.4); }
.rst-article-img { aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--ink-line); }
.rst-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rst-article-card:hover .rst-article-img img { transform: scale(1.05); }
.rst-article-body { padding: 1.2rem 1.3rem 1.5rem; }
.rst-article-tag { font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.rst-article-title { font-family: var(--ff-display); font-size: 1.32rem; font-weight: 600; color: var(--cream); line-height: 1.2; margin-bottom: 0.5rem; }
.rst-article-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.85rem; }
.rst-article-link { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); transition: color var(--anim); }
.rst-article-link::after { content: " →"; }
.rst-article-link:hover { color: var(--gold); }

/* ── NEWSLETTER ───────────────────────────────────── */
.rst-newsletter { padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
.rst-newsletter-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  background:
    radial-gradient(500px 280px at 50% 0%, rgba(127,214,230,0.08), transparent 60%);
  border: 1px solid var(--ink-line); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
}
.rst-newsletter-title { font-family: var(--ff-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 500; color: var(--cream); }
.rst-newsletter-desc { font-size: 1rem; color: var(--text-muted); max-width: 48ch; }
.rst-newsletter-form { display: flex; gap: 0.6rem; width: 100%; max-width: 460px; margin-top: 0.5rem; }
.rst-newsletter-input {
  flex: 1; background: var(--ink-0); border: 1px solid var(--ink-line);
  border-radius: 100px; padding: 0.7rem 1.1rem; color: var(--cream);
  font-family: var(--ff-mono); font-size: 0.82rem;
}
.rst-newsletter-input::placeholder { color: var(--text-faint); }
.rst-newsletter-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,178,95,0.15); }
.rst-newsletter-privacy { font-family: var(--ff-mono); font-size: 0.66rem; color: var(--text-faint); }

/* ── SHOP ─────────────────────────────────────────── */
.rst-shop-header { padding: clamp(1.5rem, 4vw, 2.75rem) var(--gutter) 1.25rem; border-bottom: 1px solid var(--ink-line); }
.rst-shop-title { font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; color: var(--cream); margin: 0.5rem 0 1.25rem; letter-spacing: 0.01em; }
.rst-shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.rst-filter-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.rst-filter-chip {
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.45rem 0.95rem; border-radius: 100px;
  border: 1px solid var(--ink-line); transition: all var(--anim); white-space: nowrap;
}
.rst-filter-chip:hover { color: var(--cream); border-color: rgba(217,178,95,0.4); }
.rst-filter-chip.is-active { color: var(--ink-0); background: var(--gold); border-color: var(--gold); box-shadow: var(--glow-gold); }
.rst-sort-select {
  background: var(--ink-0); border: 1px solid var(--ink-line); color: var(--cream);
  font-family: var(--ff-mono); font-size: 0.76rem; padding: 0.45rem 0.7rem; border-radius: var(--radius-sm);
}
.rst-sort-select:focus { outline: none; border-color: var(--gold); }
.rst-shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: var(--max-w); margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.75rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}

/* ── BREADCRUMB ───────────────────────────────────── */
.rst-breadcrumb { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--text-faint); display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.rst-breadcrumb a { color: var(--text-muted); transition: color var(--anim); }
.rst-breadcrumb a:hover { color: var(--gold); }
.rst-breadcrumb-sep { color: var(--ink-line); }

/* ── PDP ──────────────────────────────────────────── */
.rst-pdp {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: var(--max-w); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) clamp(3rem, 5vw, 4.5rem);
}
.rst-pdp-gallery { position: sticky; top: 90px; align-self: start; }
.rst-pdp-main-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-line); background: var(--ink-0); box-shadow: var(--shadow-card); }
.rst-pdp-main-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rst-pdp-thumbs { display: flex; gap: 0.7rem; margin-top: 0.85rem; }
.rst-pdp-thumb { width: 92px; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--ink-line); opacity: 0.6; transition: all var(--anim); }
.rst-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rst-pdp-thumb.is-active, .rst-pdp-thumb:hover { opacity: 1; border-color: var(--gold); box-shadow: var(--glow-gold); }

.rst-pdp-cat { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.rst-pdp-name { font-family: var(--ff-display); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; color: var(--cream); line-height: 1.08; letter-spacing: 0.005em; margin-bottom: 1.25rem; }
.rst-pdp-specs { border: 1px solid var(--ink-line); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 1.5rem; background: rgba(20,18,58,0.5); }
.rst-pdp-spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 1rem; border-bottom: 1px solid var(--ink-line); }
.rst-pdp-spec-row:last-child { border-bottom: 0; }
.rst-pdp-spec-key { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.rst-pdp-spec-val { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--cyan); text-align: right; }
.rst-pdp-notes-title, .rst-selector-label { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.55rem; }
.rst-pdp-notes-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.rst-selector-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rst-selector-opt {
  font-family: var(--ff-mono); font-size: 0.74rem; color: var(--cream-dim);
  border: 1px solid var(--ink-line); border-radius: 100px; padding: 0.45rem 0.95rem; transition: all var(--anim);
}
.rst-selector-opt:hover { border-color: rgba(217,178,95,0.5); color: var(--cream); }
.rst-selector-opt.is-active { background: var(--gold); color: var(--ink-0); border-color: var(--gold); box-shadow: var(--glow-gold); }
.rst-pdp-price-row { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.5rem 0 0.5rem; }
.rst-pdp-price { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 600; color: var(--gold-hi); }
.rst-pdp-price-unit { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--text-faint); }
.rst-pdp-qty-row { display: flex; align-items: center; gap: 1.25rem; margin: 1.1rem 0; }
.rst-pdp-qty-ctrl, .rst-qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--ink-line); border-radius: 100px; overflow: hidden; }
.rst-pdp-qty-btn, .rst-qty-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--cream); font-size: 1.1rem; transition: background var(--anim); }
.rst-pdp-qty-btn:hover, .rst-qty-btn:hover { background: rgba(217,178,95,0.12); color: var(--gold); }
.rst-pdp-qty-val, .rst-qty-val { min-width: 38px; text-align: center; font-family: var(--ff-mono); font-size: 0.9rem; color: var(--cream); }
.rst-pdp-atc { width: 100%; justify-content: center; margin-top: 0.5rem; }
.rst-pdp-long { color: var(--text-muted); font-size: 1.04rem; line-height: 1.8; }
.rst-pdp-long-title { font-family: var(--ff-display); font-size: 1.4rem; color: var(--cream); margin-bottom: 0.6rem; }
.rst-pdp-brew-rec { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-left: 2px solid var(--gold); background: rgba(217,178,95,0.05); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.rst-pdp-brew-rec-label { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.rst-pdp-brew-rec p:last-child { color: var(--cream-dim); font-size: 0.96rem; }

/* ── RELATED ──────────────────────────────────────── */
.rst-related { padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--ink-line); }
.rst-related .rst-section-title { margin-bottom: 1.5rem; text-align: center; }
.rst-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; max-width: var(--max-w); margin: 0 auto; }

/* ── CART DRAWER ──────────────────────────────────── */
.rst-cart-overlay { position: fixed; inset: 0; background: rgba(4,6,18,0.7); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; z-index: 200; }
.rst-cart-overlay.is-visible { opacity: 1; visibility: visible; }
.rst-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border-left: 1px solid var(--ink-line); z-index: 201;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.rst-drawer.is-open { transform: translateX(0); }
.rst-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--ink-line); }
.rst-drawer-title { font-family: var(--ff-display); font-size: 1.4rem; color: var(--cream); }
.rst-drawer-close { font-size: 1.6rem; color: var(--text-muted); width: 36px; height: 36px; border-radius: 50%; transition: all var(--anim); }
.rst-drawer-close:hover { color: var(--gold); background: rgba(217,178,95,0.1); }
.rst-drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.rst-drawer-empty { color: var(--text-muted); font-family: var(--ff-mono); font-size: 0.85rem; text-align: center; padding: 2.5rem 0; }
.rst-drawer-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--ink-line); }
.rst-drawer-item-img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--ink-line); }
.rst-drawer-item-name { font-family: var(--ff-display); font-size: 1rem; color: var(--cream); line-height: 1.2; }
.rst-drawer-item-meta { font-family: var(--ff-mono); font-size: 0.66rem; color: var(--text-faint); margin: 0.2rem 0 0.5rem; }
.rst-drawer-item-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.rst-drawer-item-price { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--gold-hi); }
.rst-drawer-remove { color: var(--text-faint); font-size: 1.1rem; align-self: start; transition: color var(--anim); }
.rst-drawer-remove:hover { color: var(--gold); }
.rst-drawer-foot { padding: 1.25rem 1.4rem; border-top: 1px solid var(--ink-line); }
.rst-drawer-subtotal { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; font-family: var(--ff-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.rst-drawer-subtotal-val { font-size: 1.15rem; color: var(--gold-hi); }
body.rst-drawer-lock { overflow: hidden; }

/* ── SEARCH OVERLAY ───────────────────────────────── */
.rst-search-overlay { position: fixed; inset: 0; background: rgba(4,6,18,0.85); backdrop-filter: blur(6px); z-index: 210; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s; padding-top: 12vh; }
.rst-search-overlay.is-open { opacity: 1; visibility: visible; }
.rst-search-box { max-width: 600px; margin: 0 auto; padding: 0 var(--gutter); }
.rst-search-input {
  width: 100%; background: var(--ink-1); border: 1px solid var(--ink-line);
  border-radius: 100px; padding: 1rem 1.5rem; color: var(--cream);
  font-family: var(--ff-display); font-size: 1.2rem;
}
.rst-search-input:focus { outline: none; border-color: var(--gold); box-shadow: var(--glow-gold); }
.rst-search-results { margin-top: 1rem; max-height: 60vh; overflow-y: auto; }
.rst-search-result { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem; border-radius: var(--radius-md); transition: background var(--anim); }
.rst-search-result:hover { background: rgba(217,178,95,0.08); }
.rst-search-result img { width: 50px; height: 50px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--ink-line); }
.rst-search-result-name { font-family: var(--ff-display); font-size: 1.05rem; color: var(--cream); }
.rst-search-result-meta { font-family: var(--ff-mono); font-size: 0.66rem; color: var(--cyan); }

/* ── TOAST ────────────────────────────────────────── */
#rst-toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.rst-toast {
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(217,178,95,0.4); color: var(--cream);
  font-family: var(--ff-mono); font-size: 0.78rem;
  padding: 0.7rem 1.2rem; border-radius: 100px; box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.rst-toast.is-visible { opacity: 1; transform: none; }

/* ── CART PAGE ────────────────────────────────────── */
.rst-cart-page { max-width: 980px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.75rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.rst-cart-page-title { font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; color: var(--cream); margin: 0.75rem 0 1.5rem; }
.rst-cart-table { width: 100%; border-collapse: collapse; }
.rst-cart-table thead th { font-family: var(--ff-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--ink-line); }
.rst-cart-table td { padding: 1rem 0.5rem; border-bottom: 1px solid var(--ink-line); vertical-align: middle; }
.rst-cart-item-img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--ink-line); }
.rst-cart-item-name { font-family: var(--ff-display); font-size: 1.1rem; color: var(--cream); }
.rst-cart-item-name a:hover { color: var(--gold); }
.rst-cart-item-meta { font-family: var(--ff-mono); font-size: 0.68rem; color: var(--text-faint); margin-top: 0.2rem; }
.rst-cart-totals { display: flex; justify-content: flex-end; margin: 1.5rem 0; }
.rst-cart-total-row { display: flex; align-items: baseline; gap: 2rem; font-family: var(--ff-mono); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.rst-cart-total-row strong { font-family: var(--ff-display); font-size: 1.6rem; color: var(--gold-hi); }
.rst-cart-actions { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HERO (about/contact/legal) ──────────────── */
.rst-page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--ink-line); text-align: center; position: relative; }
.rst-page-hero-inner { max-width: 800px; margin: 0 auto; }
.rst-page-title { font-family: var(--ff-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; color: var(--cream); letter-spacing: 0.01em; }
.rst-page-sub { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--text-muted); margin-top: 0.75rem; max-width: 60ch; margin-inline: auto; }

/* ── ABOUT ────────────────────────────────────────── */
.rst-about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: var(--max-w); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }
.rst-about-lead { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; color: var(--cream); line-height: 1.35; }
.rst-about-text { color: var(--text-muted); font-size: 1.05rem; line-height: 1.85; }
.rst-about-text p { margin-bottom: 1rem; }
.rst-about-img { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-line); box-shadow: var(--shadow-card); }
.rst-about-grid { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.rst-about-values, .rst-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--max-w); margin: 1.75rem auto 0; }
.rst-value-card { background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: 1.5rem; transition: all var(--anim); }
.rst-value-card:hover { border-color: rgba(217,178,95,0.4); transform: translateY(-4px); }
.rst-value-num { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; }
.rst-value-title { font-family: var(--ff-display); font-size: 1.3rem; color: var(--cream); margin: 0.6rem 0; }
.rst-value-body { color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; }
.rst-about-process { padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter); }
.rst-process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: var(--max-w); margin: 1.75rem auto 0; }
.rst-process-step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--gold); }
.rst-process-step h4 { font-family: var(--ff-display); font-size: 1.2rem; color: var(--cream); margin-bottom: 0.5rem; }
.rst-process-step p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }
.rst-process-step span { font-family: var(--ff-mono); font-size: 0.7rem; color: var(--gold); }

/* ── CONTACT / FORM ───────────────────────────────── */
.rst-contact-wrap { max-width: var(--max-w); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.rst-contact-title { font-family: var(--ff-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 500; color: var(--cream); margin-bottom: 1rem; }
.rst-contact-intro { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.5rem; }
.rst-contact-meta { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--cream-dim); line-height: 2; }
.rst-contact-meta a { color: var(--cyan); }
.rst-form { display: flex; flex-direction: column; gap: 1.1rem; }
.rst-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.rst-form-label { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.rst-form-input, .rst-form-textarea, .rst-form-select {
  background: var(--ink-0); border: 1px solid var(--ink-line); border-radius: var(--radius-md);
  padding: 0.7rem 1rem; color: var(--cream); font-family: var(--ff-sans); font-size: 0.92rem;
}
.rst-form-input:focus, .rst-form-textarea:focus, .rst-form-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,178,95,0.15); }
.rst-form-textarea { resize: vertical; min-height: 130px; }
.rst-form-success { background: rgba(127,214,230,0.1); border: 1px solid rgba(127,214,230,0.4); color: var(--cyan); padding: 1rem; border-radius: var(--radius-md); font-family: var(--ff-mono); font-size: 0.85rem; }

/* ── LEGAL ────────────────────────────────────────── */
.rst-legal-wrap { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.rst-legal-title { font-family: var(--ff-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 500; color: var(--cream); margin-bottom: 0.5rem; }
.rst-legal-meta { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--text-faint); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ink-line); }
.rst-legal-section { margin-bottom: 2rem; }
.rst-legal-section h2 { font-family: var(--ff-display); font-size: 1.4rem; color: var(--gold); margin-bottom: 0.75rem; }
.rst-legal-section h3 { font-family: var(--ff-display); font-size: 1.1rem; color: var(--cream); margin: 1rem 0 0.5rem; }
.rst-legal-section p, .rst-legal-section li { color: var(--text-muted); font-size: 0.98rem; line-height: 1.8; margin-bottom: 0.6rem; }
.rst-legal-section ul { list-style: none; padding-left: 1.2rem; }
.rst-legal-section li::before { content: "✦"; color: var(--gold-deep); margin-right: 0.6rem; font-size: 0.7rem; }
.rst-legal-section a { color: var(--cyan); }

/* ── FOOTER ───────────────────────────────────────── */
.rst-foot {
  background: linear-gradient(180deg, var(--ink-1), var(--ink-0));
  border-top: 1px solid var(--ink-line);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 1.5rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.rst-foot-grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 2rem; max-width: var(--max-w); margin: 0 auto; }
.rst-foot-brand { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; color: var(--cream); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; }
.rst-foot-tagline { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; max-width: 32ch; }
.rst-foot-address { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--text-faint); line-height: 1.9; margin-bottom: 1rem; }
.rst-foot-hours { font-family: var(--ff-mono); font-size: 0.74rem; color: var(--text-faint); line-height: 1.9; }
.rst-foot-col h4 { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.rst-foot-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.rst-foot-col a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--anim); }
.rst-foot-col a:hover { color: var(--cream); }
.rst-foot-lang { display: flex; gap: 0.4rem; align-items: center; justify-content: center; max-width: var(--max-w); margin: 2.5rem auto 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); flex-wrap: wrap; }
.rst-lang-btn { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-muted); padding: 0.35rem 0.7rem; border-radius: 100px; border: 1px solid var(--ink-line); transition: all var(--anim); }
.rst-lang-btn:hover { color: var(--cream); border-color: rgba(217,178,95,0.4); }
.rst-lang-btn.is-active { color: var(--ink-0); background: var(--gold); border-color: var(--gold); }
.rst-foot-fine { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--max-w); margin: 0 auto; font-family: var(--ff-mono); font-size: 0.72rem; color: var(--text-faint); }
.rst-foot-fine-links { display: flex; gap: 1rem; }
.rst-foot-fine-links a:hover { color: var(--gold); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .rst-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .rst-origins-grid { grid-template-columns: repeat(2, 1fr); }
  .rst-related-grid { grid-template-columns: repeat(2, 1fr); }
  .rst-process-steps { grid-template-columns: repeat(2, 1fr); }
  .rst-brew-panel.is-active { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .rst-nav { display: none; }
  .rst-hamburger { display: flex; }
  .rst-mobile-nav { display: flex; }
  .rst-hero { grid-template-columns: 1fr; }
  .rst-hero-right { min-height: 320px; order: -1; }
  .rst-hero-right::after { background: linear-gradient(0deg, var(--ink-0) 0%, transparent 40%); }
  .rst-pdp { grid-template-columns: 1fr; }
  .rst-pdp-gallery { position: static; }
  .rst-contact-wrap { grid-template-columns: 1fr; }
  .rst-about-hero { grid-template-columns: 1fr; }
  .rst-thisweek-grid, .rst-featured-grid, .rst-journal-grid, .rst-cats-grid, .rst-shop-grid, .rst-values-grid, .rst-about-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rst-thisweek-grid, .rst-featured-grid, .rst-journal-grid, .rst-cats-grid, .rst-shop-grid, .rst-related-grid, .rst-values-grid, .rst-about-values, .rst-origins-grid, .rst-process-steps { grid-template-columns: 1fr; }
  .rst-foot-grid { grid-template-columns: 1fr 1fr; }
  .rst-newsletter-form { flex-direction: column; }
  .rst-newsletter-input { border-radius: var(--radius-md); }
  .rst-moon { min-width: 70px; }
  .rst-cart-actions { flex-direction: column; }
  .rst-cart-actions .rst-btn { width: 100%; justify-content: center; }
}
