/* ============================================================
   Everett Kane — Audiobook Narrator
   Design system: warm ink, ivory, brass. Fraunces + Hanken Grotesk.
   ============================================================ */

/* ---------- Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-adjusted fallbacks to minimize CLS during swap */
@font-face {
  font-family: "Fraunces-fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 24%;
}
@font-face {
  font-family: "Hanken-fallback";
  src: local("Arial");
  size-adjust: 98%;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #121013;          /* page background, neutral near-black (matches logo) */
  --ink-deep: #0b090b;
  --panel: #1d191b;        /* raised surfaces */
  --panel-2: #262023;
  --hairline: #3a3236;     /* rules and borders */
  --ivory: #f2ebdf;        /* headings, strong text — logo cream */
  --body-c: #d9d1c6;       /* body text */
  --muted: #a69c93;        /* captions, tags */
  --brass: #f2444a;        /* single accent — logo signature red (≈5:1 on ink) */
  --brass-bright: #ff5a60;
  --oxblood: #5e3238;      /* rare tint only */

  --serif: "Fraunces", "Fraunces-fallback", Georgia, serif;
  --sans: "Hanken Grotesk", "Hanken-fallback", Arial, system-ui, sans-serif;

  --space-1: 8px;  --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --space-7: 96px; --space-8: 144px;

  --radius: 2px;
  --header-h: 72px;
  --maxw: 1100px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-h) + 16px); /* WCAG 2.4.11: sticky header never obscures focus target */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--body-c);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Lamplight vignette + film grain, both extremely subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(120% 90% at 50% -10%, rgba(242,68,74,0.05), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ivory);
  font-weight: 460;
  line-height: 1.12;
  margin: 0 0 var(--space-3);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 7.5vw, 4.75rem); font-weight: 420; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 430; }
h1, h2 { text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 380; letter-spacing: 0.01em; }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 640; letter-spacing: 0.01em; }
p { margin: 0 0 var(--space-3); max-width: 62ch; }
a {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-color: rgba(242,68,74,0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease, color 150ms ease;
}
a:hover { color: var(--brass-bright); text-decoration-color: var(--brass-bright); }
:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
  border-radius: var(--radius);
}
::selection { background: var(--brass); color: var(--ink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); position: relative; z-index: 1; }

/* ---------- Utility type ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 640;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 var(--space-2);
}
/* Foil-rule detail before every label */
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.65;
  transform: translateY(-1px);
}
.lede { font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--ivory); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 120ms ease;
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(18,16,19,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.25rem;
  letter-spacing: 0.09em;
  color: var(--brass); /* logo lockup: red name, cream descriptor */
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--brass-bright); }
.wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 640;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--body-c);
  margin-top: 1px;
}
.site-nav ul { list-style: none; display: flex; gap: clamp(16px, 3vw, 36px); margin: 0; padding: 0; }
.site-nav a {
  font-size: 0.9375rem;
  font-weight: 560;
  color: var(--body-c);
  text-decoration: none;
  padding: 12px 2px;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .site-nav a::after { transition: transform 240ms ease; }
}
.site-nav a:hover { color: var(--ivory); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ivory); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  color: var(--ivory);
  min-width: 48px; min-height: 44px;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--hairline);
    display: none;
    padding: var(--space-2) clamp(20px, 5vw, 40px) var(--space-3);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--hairline); }
  .site-nav li:last-child a { border-bottom: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.8438rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-bright); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { box-shadow: 0 6px 24px rgba(242,68,74,0.25); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
/* Ghosted signature initials, echoing the logo script */
.hero::before {
  content: "EK" / "";
  position: absolute;
  top: clamp(-90px, -6vw, -40px);
  right: clamp(-70px, -4vw, -20px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(260px, 42vw, 560px);
  line-height: 0.9;
  color: rgba(242,68,74,0.05);
  pointer-events: none;
  user-select: none;
}
.hero h1 { margin-bottom: var(--space-2); color: var(--brass); letter-spacing: 0.03em; } /* red serif name, echoing the logo */
.hero .descriptor {
  font-family: var(--sans);
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 640;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--body-c); /* cream descriptor, as in the logo lockup */
  margin: 0 0 var(--space-4);
}
.hero .descriptor::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 18px;
}
.hero .lede { max-width: 56ch; margin-bottom: var(--space-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.hero-listen {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-4);
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.hero-listen .kicker { margin-bottom: var(--space-3); }
.hero-listen .player {
  border: 1px solid var(--hairline);
  border-top-color: rgba(242,68,74,0.35);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 130%);
}

/* ---------- Audio player ---------- */
.player {
  background: var(--panel);
  border-radius: 4px;
  border-top: 1px solid var(--hairline);
  padding: var(--space-2) var(--space-3);
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .player { transition: border-color 200ms ease; }
}
.player:hover { border-top-color: rgba(242,68,74,0.45); }
.player.playing { border-top-color: var(--brass); }
.player + .player { margin-top: var(--space-2); }
.player-row { display: flex; align-items: center; gap: var(--space-2); }
.player-play {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: transparent;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.player-play:hover { background: var(--brass); color: var(--ink); }
.player-play svg { width: 18px; height: 18px; }
.player-play .icon-pause { display: none; }
.player.playing .player-play { background: var(--brass); color: var(--ink); box-shadow: 0 0 0 5px rgba(242,68,74,0.14); }
.player.playing .icon-play { display: none; }
.player.playing .icon-pause { display: block; }
.player-meta { flex: 1; min-width: 0; }
.player-title { display: block; color: var(--ivory); font-weight: 640; font-size: 1rem; line-height: 1.3; }
.player-sub { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
.player-dl {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
}
.player-dl:hover { color: var(--brass-bright); }
.player-dl svg { width: 18px; height: 18px; }
.player-seek {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  visibility: hidden; /* revealed once playback starts; layout reserved to avoid shift */
}
.player.started .player-seek { visibility: visible; }
.player-time {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: var(--muted);
  min-width: 40px;
}
.player-range {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 24px;               /* generous hit area */
  background: transparent;
  cursor: pointer;
}
.player-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(to right, var(--brass) var(--fill, 0%), var(--hairline) var(--fill, 0%));
  border-radius: 2px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brass-bright);
  margin-top: -5.5px;
  border: none;
}
.player-range::-moz-range-track { height: 3px; background: var(--hairline); border-radius: 2px; }
.player-range::-moz-range-progress { height: 3px; background: var(--brass); border-radius: 2px; }
.player-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brass-bright); border: none; }
.player-note { margin: 8px 0 0; font-size: 0.875rem; color: var(--muted); max-width: none; }
/* Progressive enhancement: native controls without JS, custom UI with JS */
.player-play, .player-seek { display: none; }
.js .player-play { display: inline-flex; }
.js .player-seek { display: flex; }
audio.native-fallback { width: 100%; margin-top: 8px; }
.js audio.native-fallback { display: none; }

/* ---------- Demo grid ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-grid .player + .player { margin-top: 0; }

/* ---------- Specialty list ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: spec;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-grid > div {
  background: var(--ink);
  padding: var(--space-4) var(--space-3) var(--space-3);
  position: relative;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.spec-grid > div::before {
  counter-increment: spec;
  content: "0" counter(spec);
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: rgba(242,68,74,0.55);
}
@media (prefers-reduced-motion: no-preference) {
  .spec-grid > div { transition: background-color 200ms ease; }
}
.spec-grid > div:hover { background: var(--panel); }
.spec-grid h3 { color: var(--ivory); font-size: 1.0625rem; margin-bottom: 6px; }
.spec-grid p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* ---------- Two-column feature ---------- */
.split { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Definition cards (duet/dual) ---------- */
.def-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 860px) { .def-cards { grid-template-columns: 1fr; } }
.def-card {
  background: var(--panel);
  border-top: 1px solid var(--hairline);
  padding: var(--space-4) var(--space-3);
  border-radius: 0 0 4px 4px;
  position: relative;
}
.def-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 52px; height: 2px;
  background: var(--brass);
}
.def-card h3 { font-family: var(--serif); font-weight: 460; font-style: italic; font-size: 1.5rem; letter-spacing: 0.01em; }
.def-card p { font-size: 0.9688rem; margin: 0; }
.def-card .fits { margin-top: var(--space-2); font-size: 0.875rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-3); }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 380;
  color: var(--brass);
  line-height: 1.1;
  border-top: 1px solid var(--hairline);
  padding-top: 10px;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; font-size: 0.9688rem; }

/* ---------- Portrait placeholder ---------- */
.portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(242,68,74,0.08), transparent 65%),
    var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Bookplate double frame */
.portrait::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(242,235,223,0.10);
  border-radius: 2px;
  pointer-events: none;
}
.portrait span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4rem, 10vw, 6rem);
  color: rgba(242,68,74,0.22);
  letter-spacing: 0.04em;
}

/* ---------- Studio list ---------- */
.checklist { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: baseline; font-size: 1rem; }
.checklist li::before { content: ""; width: 8px; height: 8px; background: var(--brass); border-radius: 1px; transform: translateY(-1px); justify-self: center; }

/* ---------- Credits launch state ---------- */
.credits-panel {
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.credits-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 72px; height: 2px;
  background: var(--brass);
}
@media (max-width: 700px) { .credits-panel { grid-template-columns: 1fr; } }
.credits-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--brass);
  line-height: 1;
}
.credits-panel p { margin-bottom: var(--space-2); }
.credits-panel p:last-of-type { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
label { font-size: 0.9375rem; font-weight: 620; color: var(--ivory); }
label .optional { font-weight: 460; color: var(--muted); }
input, select, textarea {
  font: inherit;
  color: var(--ivory);
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(164,150,127,0.7); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--brass); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f2444a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field-error { color: #e8a196; font-size: 0.875rem; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #b3574a; }
.form-footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-1); }
.form-alt { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--hairline);
  background:
    radial-gradient(70% 120% at 85% 100%, rgba(242,68,74,0.06), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
}
.cta-band .container { text-align: left; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: var(--space-5) 0 var(--space-6);
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); align-items: flex-start; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brass-bright); }
.site-footer .fine { margin-top: var(--space-4); font-size: 0.8125rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-hero p.lede { max-width: 58ch; }
.breadcrumb { font-size: 0.875rem; color: var(--muted); margin-bottom: var(--space-3); }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--hairline); }
.breadcrumb a { color: var(--muted); }

/* ---------- Reveal animation (opt-in only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .hero-actions, .nav-toggle { display: none; }
}
