/* ═══════════════════════════════════════════════════════
   EAGLE TEA CO. — frontier craft × terminal logic
   ═══════════════════════════════════════════════════════ */

:root {
  /* primitives */
  --ink: #0d0b08;
  --ink-2: #14110d;
  --ink-3: #1c1712;
  --cream: #f0e9dc;
  --cream-dim: #a89b87;
  --cream-mute: #6f6557;
  --amber: #e08434;
  --amber-hi: #ee9a4e;
  --amber-deep: #b45a1e;
  --green: #7dd87d;
  --rule: rgba(240, 233, 220, 0.14);
  --rule-soft: rgba(240, 233, 220, 0.08);
  /* semantic */
  --bg: var(--ink);
  --surface: var(--ink-2);
  --surface-2: var(--ink-3);
  --text: var(--cream);
  --text-dim: var(--cream-dim);
  --text-mute: var(--cream-mute);
  --accent: var(--amber);
  --accent-hi: var(--amber-hi);
  --ok: var(--green);
  /* type */
  --serif: 'Rokkitt', 'Iowan Old Style', Georgia, serif;
  --mono: 'Space Mono', 'SFMono-Regular', Consolas, monospace;
  /* layout */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber-hi); }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.cjk {
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  font-weight: 600; font-style: normal;
  letter-spacing: 0.08em;
}
.green { color: var(--ok); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.6vw, 56px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); }

.eyebrow {
  font-size: 12px; color: var(--amber);
  text-transform: uppercase; margin-bottom: 18px;
}
.section-note { font-size: 12px; color: var(--text-mute); line-height: 1.8; text-align: right; }

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 136px) var(--gutter);
}

/* ── reveal (JS-gated: content visible without JS) ── */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ── grain overlay ── */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none; z-index: 2000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.055;
  animation: grain-shift 8s steps(10) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-3%,-6%); }
  20% { transform: translate(-8%,3%); }
  30% { transform: translate(4%,-8%); }
  40% { transform: translate(-2%,8%); }
  50% { transform: translate(-8%,2%); }
  60% { transform: translate(6%,0); }
  70% { transform: translate(0,6%); }
  80% { transform: translate(-6%,0); }
  90% { transform: translate(6%,3%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ── status bar ── */
.statusbar {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px var(--gutter);
  background: var(--ink-2);
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--text-mute); text-transform: uppercase;
}
.statusbar-right { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--live { background: var(--ok); box-shadow: 0 0 8px rgba(125,216,125,0.8); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (max-width: 640px) { .statusbar-left { display: none; } .statusbar { justify-content: center; } }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  background: rgba(13, 11, 8, 0.94);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.nav-star { width: 30px; height: 30px; color: var(--amber); flex-shrink: 0; }
.nav-wordmark { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); padding: 8px 0;
}
.nav-links a:hover { color: var(--amber-hi); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-cart {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  border: 1px solid var(--rule); padding: 9px 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-cart:hover { border-color: var(--amber); color: var(--amber-hi); }
.cart-count {
  background: var(--amber); color: var(--ink);
  min-width: 20px; height: 20px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; padding: 0 5px;
}
.nav-burger {
  display: none; flex-direction: column; gap: 6px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
}
.nav-burger span { width: 20px; height: 2px; background: var(--cream); transition: transform 0.25s ease; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: rgba(13, 11, 8, 0.97);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); font-weight: 600;
  color: var(--cream);
}
.mobile-menu a:hover { color: var(--amber-hi); }
.mobile-menu-foot { position: absolute; bottom: 32px; font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 28px; border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-hi); color: var(--ink); }
.btn--ghost { border-color: var(--rule); color: var(--cream); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-hi); }
.btn--full { width: 100%; }

/* ── hero ── */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,8,0.35) 0%, rgba(13,11,8,0.08) 38%, rgba(13,11,8,0.78) 78%, rgba(13,11,8,0.97) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
}
.hero-eyebrow { font-size: 12px; color: var(--cream-dim); letter-spacing: 0.12em; margin-bottom: 20px; }
.hero-title {
  font-size: clamp(38px, 7vw, 96px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.015em;
  max-width: 100%;
}
.hero-title em { font-style: italic; color: var(--amber-hi); white-space: nowrap; }
.hero-tag { margin-top: 18px; font-size: clamp(15px, 1.5vw, 19px); color: var(--cream); }
.hero-tag .hl { color: var(--amber-hi); }
.hero-couplet {
  margin-top: 22px; max-width: 34ch;
  font-family: var(--serif); font-size: clamp(21px, 2.7vw, 33px); font-weight: 600;
  line-height: 1.38; color: var(--cream);
}
.hero-couplet em { font-style: italic; color: var(--amber-hi); white-space: nowrap; }
.hero-sub {
  margin-top: 20px; max-width: 52ch; font-size: clamp(15px, 1.4vw, 18px);
  color: var(--cream-dim);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-term {
  margin-top: 30px; font-size: 12.5px; color: var(--green);
  min-height: 1.4em; text-shadow: 0 0 12px rgba(125,216,125,0.35);
}
.hero-term .prompt { color: var(--text-mute); text-shadow: none; }
.cursor {
  display: inline-block; width: 8px; height: 15px; margin-left: 2px;
  background: var(--green); vertical-align: -2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px var(--gutter) 20px;
  border-top: 1px solid var(--rule-soft);
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em;
}
.hero-scroll { color: var(--amber); animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (max-width: 768px) {
  .hero-foot span:last-child { display: none; }
}

/* ── marquee ── */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--ink-2);
  padding: 13px 0;
}
.marquee-track {
  display: inline-block; will-change: transform;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--amber);
  animation: marquee 30s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── stats ── */
.stats {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.stat { border-left: 1px solid var(--rule); padding-left: clamp(16px, 2vw, 28px); }
.stat-num { display: block; font-size: clamp(38px, 4.6vw, 62px); font-weight: 600; line-height: 1; color: var(--cream); }
.stat-label { display: block; margin-top: 10px; font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.1em; line-height: 1.6; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ── story / ritual shared split ── */
.story, .ritual {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.ritual { grid-template-columns: 6fr 5fr; }
.ritual .ritual-figures { order: 2; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 44px); }
.story-figure, .ritual-figure { position: relative; }
.story-left { display: flex; flex-direction: column; }
.story { padding-bottom: clamp(44px, 5.5vw, 72px); }
.ritual { padding-bottom: clamp(44px, 5.5vw, 72px); }
.reviews { padding-top: clamp(44px, 5.5vw, 72px); }
.story-intro {
  background: #f7f2e6; color: #171310;
  padding: clamp(26px, 2.8vw, 42px);
  margin-bottom: clamp(20px, 2.4vw, 34px);
}
.story-intro-eyebrow { font-size: 11px; letter-spacing: 0.16em; color: #8a4514; margin-bottom: 16px; }
.story-intro-text { font-family: var(--serif); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; line-height: 1.55; max-width: 46ch; }
.story-intro-text .fire { color: #b45a1e; font-style: italic; font-weight: 600; }
.story-left .story-figure { margin-top: clamp(4px, 1.2vw, 16px); }
.story-figure img, .ritual-figure img {
  width: 100%; border: 1px solid var(--rule);
}
.ritual-figure img { aspect-ratio: 8 / 5; object-fit: cover; object-position: center 42%; }
.story-figure { margin-top: clamp(0px, 4vw, 56px); }
.story-figure figcaption, .ritual-figure figcaption {
  margin-top: 12px; font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em;
}
.story-copy { position: relative; }
.story-copy > * { position: relative; z-index: 1; }
.story-copy p + p { margin-top: 18px; }
.story-copy h2 { margin-bottom: 26px; }
.story-copy > p { color: var(--cream-dim); max-width: 60ch; }
.story-copy > p em { color: var(--cream); }
.story-hanzi {
  position: absolute; right: -14px; top: 30px; z-index: 0;
  writing-mode: vertical-rl;
  font-size: clamp(88px, 10.5vw, 152px); font-weight: 700; line-height: 1.1;
  color: rgba(224, 132, 52, 0.08);
  pointer-events: none; user-select: none;
}
.story-manifest { list-style: none; margin-top: 28px; }
.story-manifest li {
  padding: 13px 0 13px 26px; position: relative;
  border-top: 1px solid var(--rule-soft);
  font-size: 19px; font-weight: 500;
}
.story-manifest li:last-child { border-bottom: 1px solid var(--rule-soft); }
.story-manifest li::before {
  content: '✦'; position: absolute; left: 0; color: var(--amber); font-size: 13px; top: 17px;
}
.story-term {
  margin-top: 30px; padding: 16px 20px;
  background: var(--ink-2); border: 1px solid var(--rule);
  font-size: 12.5px; line-height: 1.9;
}
.story-term .prompt { color: var(--text-dim); }
@media (max-width: 900px) {
  .story, .ritual { grid-template-columns: 1fr; }
  .ritual .ritual-figures { order: 0; }
  .story-figure { margin-top: 0; }
  .story-hanzi { display: none; }
  .nav-wordmark { font-size: 10.5px; letter-spacing: 0.08em; }
  .nav-brand { gap: 9px; }
  .nav-star { width: 26px; height: 26px; }
}

/* ── section head ── */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* ── blends ── */
.blend-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  transition: opacity 0.22s ease;
}
.blend-card {
  background: var(--surface-2);
  border: 1px solid var(--rule-soft);
  padding: 24px 22px;
  display: flex; flex-direction: column;
  transition: opacity 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
@media (min-width: 901px) { .blend-card:nth-child(2) { margin-top: 52px; } }
@media (max-width: 900px) { .blend-card { margin-top: 0 !important; } }
.blend-grid:hover .blend-card { opacity: 0.35; }
.blend-grid .blend-card:hover { opacity: 1; border-color: var(--amber); }
.blend-batch {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--text-mute); margin-bottom: 18px;
}
.blend-caf { font-size: 11px; color: var(--amber); letter-spacing: 0.14em; }
.blend-tag {
  font-family: var(--mono); font-size: 10.5px; color: var(--text-mute);
  letter-spacing: 0.1em; text-transform: uppercase; margin: 14px 0 6px;
}
.blend-card h3 { font-size: 24px; margin-bottom: 4px; }
.blend-type { font-family: var(--mono); font-size: 11.5px; color: var(--amber); letter-spacing: 0.06em; }
.blend-notes { margin-top: 14px; font-size: 15px; color: var(--cream-dim); line-height: 1.6; flex-grow: 1; }
.blend-steep {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.08em;
}
.blend-buy {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 16px;
}
.blend-price { font-family: var(--mono); font-weight: 700; font-size: 18px; }
.blend-size { display: block; font-family: var(--mono); font-size: 10px; color: var(--text-mute); letter-spacing: 0.08em; }
.btn-add {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid var(--amber); color: var(--amber-hi);
  padding: 10px 14px; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-add:hover { background: var(--amber); color: var(--ink); }
.btn-add.added { background: var(--ok); border-color: var(--ok); color: var(--ink); }
@media (max-width: 1100px) { .blend-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blend-grid { grid-template-columns: 1fr; } }

/* bundle */
.bundle {
  margin-top: clamp(48px, 7vw, 88px);
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: clamp(28px, 4vw, 48px);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.bundle h3 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 10px; }
.bundle-copy p:last-child { color: var(--cream-dim); max-width: 46ch; }
.bundle-buy { display: flex; align-items: center; gap: 24px; }
.bundle-price { font-family: var(--mono); font-size: 26px; font-weight: 700; }
.bundle-price s { color: var(--text-mute); font-size: 17px; margin-right: 8px; font-weight: 400; }

/* ── terminal section ── */
.terminal-section {
  max-width: none;
  background: var(--surface);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.terminal-section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.terminal-wrap {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.terminal {
  position: relative;
  border: 1px solid rgba(240,233,220,0.2);
  background: #090705;
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--ink-2);
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; background: #3a332a; }
.tb-dot--amber { background: var(--amber); }
.tb-title { margin-left: 10px; font-size: 11px; color: var(--text-mute); letter-spacing: 0.08em; }
.terminal-body {
  padding: 22px 24px 26px;
  font-size: 13px; line-height: 2.05;
  color: var(--ok);
  text-shadow: 0 0 10px rgba(125,216,125,0.28);
  white-space: pre-wrap; word-break: break-word;
  min-height: 300px;
}
.terminal-body .t-dim { color: var(--text-mute); text-shadow: none; }
.terminal-body .t-amber { color: var(--amber-hi); text-shadow: 0 0 10px rgba(238,154,78,0.3); }
.terminal-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 3px);
}
.stack-list { list-style: none; }
.stack-list li {
  padding: 18px 0; border-top: 1px solid var(--rule-soft);
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
}
.stack-list li:last-child { border-bottom: 1px solid var(--rule-soft); }
.stack-key { font-size: 11px; color: var(--amber); letter-spacing: 0.1em; padding-top: 3px; }
.stack-val { font-size: 15px; color: var(--cream-dim); line-height: 1.65; }
@media (max-width: 900px) {
  .terminal-wrap { grid-template-columns: 1fr; }
  .stack-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* perks */
.perks {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.perk { border-top: 1px solid var(--rule); padding-top: 22px; }
.perk svg { color: var(--amber); margin-bottom: 16px; }
.perk h4 { font-size: 20px; margin-bottom: 8px; }
.perk p { font-size: 15px; color: var(--cream-dim); }
@media (max-width: 760px) { .perks { grid-template-columns: 1fr; } }

/* ── ritual steps ── */
.ritual-copy h2 { margin-bottom: 34px; }
.ritual-steps { list-style: none; counter-reset: step; }
.ritual-steps li {
  display: flex; gap: 22px;
  padding: 22px 0; border-top: 1px solid var(--rule-soft);
}
.ritual-steps li:last-child { border-bottom: 1px solid var(--rule-soft); }
.step-num { color: var(--amber); font-size: 13px; padding-top: 5px; }
.ritual-steps h3 { font-size: 22px; margin-bottom: 6px; }
.ritual-steps p { color: var(--cream-dim); font-size: 16px; max-width: 56ch; }

/* ── reviews ── */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.review { border-top: 1px solid var(--rule); padding-top: 26px; }
.review p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; font-weight: 500; }
.review footer { margin-top: 18px; font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* ── subscribe ── */
.subscribe { text-align: center; }
.subscribe-inner { max-width: 640px; margin: 0 auto; }
.subscribe h2 { margin-bottom: 20px; }
.subscribe p { color: var(--cream-dim); max-width: 54ch; margin: 0 auto; }
.subscribe-form {
  display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap;
}
.subscribe-form input {
  flex: 1; min-width: 240px; max-width: 380px;
  background: var(--surface-2); border: 1px solid var(--rule);
  color: var(--cream); font-family: var(--mono); font-size: 14px;
  padding: 15px 18px;
}
.subscribe-form input::placeholder { color: var(--text-mute); }
.subscribe-form input:focus { border-color: var(--amber); outline: none; }
.form-msg { margin-top: 16px; font-size: 12px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--amber-hi); }

/* ── faq ── */
.faq-list { max-width: 860px; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); font-weight: 600;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--amber-hi); }
.faq-x { color: var(--amber); font-size: 18px; transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-x { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 0 24px; color: var(--cream-dim); max-width: 68ch; }

/* ── footer ── */
.footer { border-top: 1px solid var(--rule); background: var(--ink-2); }
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
.footer-brand .nav-star { width: 38px; height: 38px; margin-bottom: 20px; }
.footer-tag { font-size: 21px; font-weight: 500; max-width: 20ch; line-height: 1.35; }
.footer-status { margin-top: 18px; font-size: 11px; display: flex; align-items: center; gap: 8px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; color: var(--amber); letter-spacing: 0.12em; margin-bottom: 6px; }
.footer-col a { font-size: 15px; color: var(--cream-dim); width: fit-content; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.09em;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ── cart drawer ── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(5, 4, 2, 0.65);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
  width: min(430px, 100%);
  background: var(--ink-2);
  border-left: 1px solid var(--rule);
  transform: translateX(100%);
  transition: transform 0.32s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--rule-soft);
}
.cart-head h3 { font-size: 20px; }
.cart-close {
  width: 40px; height: 40px; font-size: 15px;
  border: 1px solid var(--rule); color: var(--cream-dim);
  transition: border-color 0.2s, color 0.2s;
}
.cart-close:hover { border-color: var(--amber); color: var(--amber-hi); }
.cart-pane { display: flex; flex-direction: column; flex: 1; overflow-y: auto; padding: 20px 24px 24px; }
.cart-pane[hidden] { display: none; }

.ship-progress { margin-bottom: 20px; }
.ship-progress p { font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.08em; margin-bottom: 8px; }
.ship-progress p strong { color: var(--ok); font-weight: 700; }
.ship-bar { height: 4px; background: var(--surface-2); border: 1px solid var(--rule-soft); }
.ship-bar span { display: block; height: 100%; width: 0; background: var(--amber); transition: width 0.4s ease; }

.cart-items { flex: 1; }
.cart-empty { text-align: center; padding: 56px 0; color: var(--text-mute); }
.cart-empty p { font-family: var(--mono); font-size: 12.5px; line-height: 2; }
.cart-row {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px;
  padding: 16px 0; border-bottom: 1px solid var(--rule-soft);
}
.cart-row-name { font-size: 18px; font-weight: 600; }
.cart-row-meta { font-family: var(--mono); font-size: 10.5px; color: var(--text-mute); letter-spacing: 0.06em; }
.cart-row-controls { display: flex; align-items: center; gap: 10px; grid-row: span 2; }
.qty-btn {
  width: 30px; height: 30px; border: 1px solid var(--rule);
  font-family: var(--mono); font-size: 14px; color: var(--cream-dim);
  transition: border-color 0.2s, color 0.2s;
}
.qty-btn:hover { border-color: var(--amber); color: var(--amber-hi); }
.cart-row-qty { font-family: var(--mono); font-size: 13px; min-width: 18px; text-align: center; }
.cart-row-price { font-family: var(--mono); font-size: 14px; font-weight: 700; text-align: right; }
.cart-row-remove {
  grid-column: 1; justify-self: start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-mute); text-decoration: underline; text-underline-offset: 3px;
}
.cart-row-remove:hover { color: var(--amber-hi); }

.cart-foot { padding-top: 18px; }
.cart-subtotal {
  display: flex; justify-content: space-between;
  font-size: 14px; margin-bottom: 16px; letter-spacing: 0.06em;
}
.cart-note { margin-top: 14px; font-size: 9.5px; color: var(--text-mute); text-align: center; letter-spacing: 0.08em; line-height: 1.8; }

/* checkout */
.link-back { font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; margin-bottom: 20px; width: fit-content; }
.link-back:hover { color: var(--amber-hi); }
#checkout-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field label { font-size: 10px; color: var(--text-mute); letter-spacing: 0.12em; }
.field input {
  background: var(--surface-2); border: 1px solid var(--rule);
  color: var(--cream); font-family: var(--mono); font-size: 13px; padding: 12px 14px;
}
.field input:focus { border-color: var(--amber); outline: none; }
.field.invalid input { border-color: var(--amber-deep); }
.field-err { font-size: 9.5px; color: var(--amber-hi); min-height: 1.2em; letter-spacing: 0.06em; }
.field-row { display: flex; gap: 12px; }

/* success */
.cart-success { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.cart-success h3 { font-size: 24px; }
.cart-success .mono { font-size: 12px; letter-spacing: 0.1em; }
.cart-success p { color: var(--cream-dim); font-size: 15px; max-width: 30ch; }
.cart-success .btn { margin-top: 12px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1100;
  transform: translate(-50%, 140%);
  background: var(--ink-3); border: 1px solid var(--ok); color: var(--ok);
  font-size: 12px; letter-spacing: 0.06em;
  padding: 13px 22px; max-width: calc(100vw - 40px);
  transition: transform 0.35s ease;
}
.toast.show { transform: translate(-50%, 0); }

/* ── mobile nav ── */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .btn-cart-label { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-note { text-align: left; }
  .bundle { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; gap: 6px; }
  .hero-foot span:first-child { display: none; }
  .hero-foot { justify-content: center; }
  .field-row { flex-direction: column; }
}

/* print-ish sanity */
@media (prefers-reduced-motion: reduce) {
  .dot--live, .hero-scroll, .cursor { animation: none; }
  .cart-drawer, .cart-overlay, .toast { transition: none; }
}
