@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg: #0f1016;
  --bg-alt: #171923;
  --card: #1c1f2b;
  --card-soft: #22263380;
  --border: #2a2e3d;
  --border-strong: #3a3f52;
  --text: #eef0f6;
  --text-dim: #9aa0b4;
  --accent: #3ddad0;
  --accent-soft: #6fe8df;
  --accent2: #ff5da2;
  --ink: #0a0b10;
  --shadow-color: 5, 6, 10;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .font-display {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.14;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

.eyebrow {
  font-family: 'JetBrains Mono', 'Inter', monospace; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: #cfd3e0; font-size: 12.5px; text-align: center;
  padding: 9px 16px; letter-spacing: 0.02em; border-bottom: 1px solid var(--border);
}
.topbar a { color: var(--accent-soft); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(15,16,22,0.86); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px;
  color: var(--text); letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
nav.main-nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
nav.main-nav a {
  color: var(--text); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
}
nav.main-nav a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-strong); color: var(--text);
  font-size: 19px; padding: 5px 11px; cursor: pointer; border-radius: 6px;
}
@media (max-width: 760px) {
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 2px; padding: 14px 0; }
  nav.main-nav a { display: block; padding: 11px 4px; border-top: 1px solid var(--border); }
  .nav-toggle { display: inline-block; }
  .nav-row { flex-wrap: wrap; }
}

/* ---------- Profile bar (Find Your Sound) ---------- */
.profile-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); font-size: 13.5px; }
.profile-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.profile-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--card);
  border: 1px solid var(--border-strong); padding: 6px 14px; color: var(--text); font-weight: 500;
  border-radius: 999px;
}
.profile-link { color: var(--accent); font-weight: 600; text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.08em; }
.profile-panel {
  display: none; background: var(--card); border: 1px solid var(--border); padding: 24px; margin: 14px 0 20px;
  border-radius: 8px; box-shadow: 0 16px 38px -18px rgba(var(--shadow-color),0.7);
}
.profile-panel.open { display: block; }
.pfields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
@media (max-width: 700px) { .pfields { grid-template-columns: 1fr; } }
.psel { display: flex; flex-direction: column; gap: 7px; }
.psel label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.psel select {
  padding: 12px 13px; border: 1px solid var(--border-strong); background: var(--bg-alt);
  color: var(--text); font-size: 14.5px; border-radius: 6px; font-family: 'Inter', sans-serif;
}
.pactions { display: flex; gap: 10px; flex-wrap: wrap; }
.pnote { font-size: 12.5px; color: var(--text-dim); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0b10; font-weight: 700; padding: 14px 26px; border: none; cursor: pointer; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.09em; border-radius: 7px;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 10px 26px -10px rgba(61,218,208,0.5);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255,93,162,0.55); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 8px 22px -14px rgba(61,218,208,0.4); }
.btn-rose { background: linear-gradient(135deg, var(--accent2), #c23f7c); box-shadow: 0 10px 24px -10px rgba(255,93,162,0.5); color: #14060d; }
.btn-small { padding: 10px 18px; font-size: 11px; }

/* ---------- Sections ---------- */
section { padding: 68px 0; }
.section-tight { padding: 40px 0; }
h2.section-title { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 10px; font-weight: 600; }
p.section-sub { color: var(--text-dim); max-width: 620px; margin: 0 0 36px; font-size: 16px; }

/* ---------- Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Category cards ---------- */
.cat-card {
  background: var(--card); border: 1px solid var(--border); padding: 30px; border-radius: 9px;
  position: relative; overflow: hidden;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1), border-color .18s ease;
  box-shadow: 0 2px 12px -6px rgba(var(--shadow-color),0.5);
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -20px rgba(61,218,208,0.28); border-color: var(--border-strong); }
.cat-card.recommended { border-color: var(--accent2); box-shadow: 0 22px 40px -18px rgba(255,93,162,0.32); }
.cat-card.recommended::before { transform: scaleX(1); }
.cat-card h3 { font-size: 21px; margin: 0 0 9px; font-weight: 600; }
.cat-card p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 20px; min-height: 42px; }
.recommend-tag {
  display: inline-block; background: rgba(255,93,162,0.14); color: var(--accent2);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 11px; margin-bottom: 12px; border-radius: 999px;
  border: 1px solid rgba(255,93,162,0.35);
}

/* ---------- Category/blog real photos (opt-in — see CATEGORY_PHOTOS/BLOG_PHOTOS
   in build_site.py; a slug not in those sets keeps the plain icon-badge design
   above, so nothing here is required for a category or post to work) ---------- */
.cat-photo {
  height: 170px; margin: -30px -30px 20px; width: calc(100% + 60px);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.cat-banner {
  height: 260px; border-radius: 10px; margin-bottom: 24px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 1px solid var(--border);
}
/* Combined selector at (0,3,0)-ish specificity so this reliably beats the
   .blog-card .thumb gradient-background shorthand regardless of source order
   (a sibling site shipped that exact specificity bug once). */
.blog-card .thumb.blog-img-cartridge-upgrade-first {
  /* Dedicated close-crop shot, not the wide post banner below — a landscape
     banner center-cropped down to a small square thumb was cutting off the
     interesting part of the frame, so this post gets its own tighter image
     for card use. */
  background-size: cover; background-position: center; background-image: url('../images/blog/cartridge-upgrade-first-thumb.jpg');
}
.blog-card .thumb.blog-img-usb-audio-interface-explained {
  background-size: cover; background-position: center; background-image: url('../images/blog/usb-audio-interface-explained.jpg');
}
.blog-card .thumb.blog-img-closed-back-vs-open-back {
  background-size: cover; background-position: center; background-image: url('../images/blog/closed-back-vs-open-back.jpg');
}
.blog-card .thumb.blog-img-acoustic-vs-digital-piano {
  background-size: cover; background-position: center; background-image: url('../images/blog/acoustic-vs-digital-piano.jpg');
}
.blog-card .thumb.blog-img-breaking-in-guitar-strings {
  background-size: cover; background-position: center; background-image: url('../images/blog/breaking-in-guitar-strings.jpg');
}
.post-banner {
  height: 300px; border-radius: 10px; margin-bottom: 28px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 1px solid var(--border);
}
.post-banner.blog-img-cartridge-upgrade-first { background-image: url('../images/blog/cartridge-upgrade-first.jpg'); }
.post-banner.blog-img-usb-audio-interface-explained { background-image: url('../images/blog/usb-audio-interface-explained.jpg'); }
.post-banner.blog-img-closed-back-vs-open-back { background-image: url('../images/blog/closed-back-vs-open-back.jpg'); }
.post-banner.blog-img-acoustic-vs-digital-piano { background-image: url('../images/blog/acoustic-vs-digital-piano.jpg'); }
.post-banner.blog-img-breaking-in-guitar-strings { background-image: url('../images/blog/breaking-in-guitar-strings.jpg'); }
.post-banner.about-banner { background-image: url('../images/about/studio.jpg'); }
.cat-img-turntables-vinyl { background-image: url('../images/categories/turntables-vinyl.jpg'); }
.cat-img-music-tech { background-image: url('../images/categories/music-tech.jpg'); }
.cat-img-production-dj { background-image: url('../images/categories/production-dj.jpg'); }
.cat-img-instruments { background-image: url('../images/categories/instruments.jpg'); }
.cat-img-accessories { background-image: url('../images/categories/accessories.jpg'); }

/* ---------- Product cards ---------- */
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 9px;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  box-shadow: 0 2px 12px -6px rgba(var(--shadow-color),0.5);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -20px rgba(61,218,208,0.24); }
.product-card .swatch {
  height: 108px; position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #4b4f9e 52%, var(--accent2) 100%);
  border-bottom: 1px solid var(--border);
}
.product-card .swatch-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(10,11,16,0.55); color: var(--accent-soft); border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 20px -8px rgba(0,0,0,0.6);
}
.product-card .swatch-icon .icon-svg { width: 26px; height: 26px; }
.product-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card .kicker {
  color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 9px;
}
.product-card h3 { font-size: 20px; margin: 0 0 10px; font-weight: 600; }
.product-card p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 15px; }
.product-card ul { margin: 0 0 18px; }
.product-card li { font-size: 13.5px; color: var(--text-dim); padding-left: 17px; position: relative; margin-bottom: 7px; }
.product-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--accent); }
.cta-row { display: flex; align-items: center; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.price-note { font-size: 12px; color: var(--text-dim); font-style: italic; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 100px 0 68px; overflow: hidden; background: var(--bg); }
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #0f1016 0%, #0f1016 34%, rgba(15,16,22,0.8) 54%, rgba(15,16,22,0.32) 80%, rgba(15,16,22,0.1) 100%),
    radial-gradient(680px 460px at 84% -6%, rgba(61,218,208,0.16), transparent 60%),
    radial-gradient(600px 460px at 4% 104%, rgba(255,93,162,0.14), transparent 60%),
    url('../images/hero-photo.jpg');
  background-size: cover, auto, auto, cover;
  background-position: center, center, center, right center;
  background-repeat: no-repeat;
}
.hero-motif { position: absolute; z-index: 0; pointer-events: none; }
.hero-motif-eq { top: -30px; right: -60px; width: 560px; height: 230px; opacity: 0.85; }
.hero-motif-wave { bottom: -10px; left: -40px; width: 360px; height: 145px; opacity: 0.6; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 700px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); margin: 0 0 22px; font-weight: 700; letter-spacing: -0.02em; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-rule { width: 84px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); margin: 0 0 26px; border-radius: 2px; }
.hero .lede { font-size: 18px; color: var(--text-dim); max-width: 560px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); color: var(--text);
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 14px; border-radius: 999px;
}
.badge svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Section divider ---------- */
.section-divider { display: block; line-height: 0; position: relative; z-index: 1; background: var(--bg); }
.section-divider svg { display: block; width: 100%; height: 44px; }

/* ---------- Section texture ---------- */
.texture-dots {
  background-color: var(--bg-alt);
  background-image: radial-gradient(rgba(61,218,208,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.texture-hairline {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(120deg, rgba(61,218,208,0.05) 0px, rgba(61,218,208,0.05) 1px, transparent 1px, transparent 30px);
}

/* ---------- Trust strip ---------- */
.trust-bar { background: var(--ink); color: #e6e9f4; position: relative; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(61,218,208,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}
.trust-bar .wrap { position: relative; z-index: 1; }
.trust-bar .grid-4 { padding: 38px 0; }
.trust-item { text-align: center; }
.trust-item .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; color: var(--accent-soft); }
.trust-item .label { font-size: 11.5px; color: #9199b3; margin-top: 5px; text-transform: uppercase; letter-spacing: 0.07em; font-family: 'JetBrains Mono', monospace; }

/* ---------- Icon badges (vinyl-groove category SVG icon system) ---------- */
.icon-badge {
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  position: relative; border-radius: 50%;
  background: var(--card-soft);
  color: var(--accent); margin-bottom: 16px;
  box-shadow:
    0 0 0 1px var(--border-strong),
    0 0 0 5px var(--bg),
    0 0 0 6px rgba(61,218,208,0.30),
    0 0 0 10px var(--bg),
    0 0 0 11px rgba(255,93,162,0.16);
}
.icon-svg { width: 24px; height: 24px; display: block; }
.footer-cat-icon {
  display: inline-flex; width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px;
  color: var(--accent-soft); border-radius: 50%; padding: 3px;
  box-shadow: 0 0 0 1px rgba(61,218,208,0.35), 0 0 0 3px var(--ink), 0 0 0 4px rgba(255,93,162,0.2);
}
.footer-cat-icon svg { width: 100%; height: 100%; }

/* ---------- Blog ---------- */
.blog-card { background: var(--card); border: 1px solid var(--border); overflow: hidden; border-radius: 9px;
  box-shadow: 0 2px 12px -6px rgba(var(--shadow-color),0.5);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s cubic-bezier(.2,.8,.2,1);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 42px -20px rgba(255,93,162,0.22); }
.blog-card .thumb {
  height: 128px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b2a33, #241a30); border-bottom: 1px solid var(--border);
}
.blog-card .thumb .icon-badge { margin-bottom: 0; background: rgba(10,11,16,0.5); }
.blog-card .content { padding: 22px; }
.blog-card .tag { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; margin: 0 0 9px; font-weight: 600; }
.blog-card p { color: var(--text-dim); font-size: 14px; margin: 0 0 12px; }
.read-more { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; }
article.post h1 { font-size: clamp(28px, 4.2vw, 42px); margin: 0 0 12px; font-weight: 700; }
article.post .meta { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; margin-bottom: 32px; text-transform: uppercase; letter-spacing: 0.06em; }
article.post h2 { font-size: 24px; margin: 38px 0 14px; font-weight: 600; }
article.post p { font-size: 16px; margin: 0 0 16px; color: var(--text); }
article.post ul { margin: 0 0 18px; padding-left: 20px; }
article.post li { list-style: disc; margin-bottom: 8px; font-size: 15.5px; }
.callout {
  background: var(--card-soft); border-left: 3px solid var(--accent2); padding: 18px 22px; margin: 28px 0;
  font-size: 15px; border-radius: 0 8px 8px 0;
}

/* ---------- Disclosure / FAQ ---------- */
.disclosure-banner {
  background: var(--card-soft); border: 1px solid var(--border-strong); padding: 18px 22px;
  font-size: 14px; color: var(--text-dim); border-radius: 8px;
}
.faq-block { margin-top: 52px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 16.5px; margin: 0 0 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.faq-item p { color: var(--text-dim); font-size: 15px; margin: 0; }
.crumb { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.crumb a { color: var(--text-dim); }

/* ---------- Category header video card ---------- */
/* Used on category pages that have a real product-in-use video (currently
   just Headphones & Home Audio). Deliberately sized to the source video's
   own aspect ratio (3:4, portrait) rather than cropped into a wide banner —
   the hero background photo on the homepage learned the hard way that
   forcing a portrait shot to fill a very different aspect ratio (via
   background-size:cover against a wide/short box) badly mis-scales a face.
   Matching the box to the source ratio means no cropping is ever needed,
   regardless of viewport width. */
.category-header-split { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.category-header-text { flex: 1 1 380px; min-width: 0; }
.cat-video-card {
  position: relative;
  flex: 0 0 300px; width: 300px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: 0 22px 44px -20px rgba(5,6,10,0.6);
  background: var(--card);
}
.cat-video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Video autoplays muted (browsers block autoplay with sound); this button
   is the only way a visitor opts in to the audio track underneath. */
.video-sound-toggle {
  position: absolute; bottom: 14px; right: 14px; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(10,11,16,0.6); backdrop-filter: blur(6px);
  color: #eef0f6; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.video-sound-toggle:hover, .video-sound-toggle:focus-visible {
  background: rgba(10,11,16,0.85); border-color: var(--accent, #3ddad0);
}
@media (max-width: 700px) {
  .cat-video-card { flex-basis: 240px; width: 240px; margin: 0 auto; }
  .category-header-split { justify-content: center; text-align: center; }
}

/* ---------- Simple pages ---------- */
.simple-page { max-width: 760px; }
.simple-page h1 { margin: 0 0 20px; font-weight: 700; }
.simple-page h2 { font-size: 21px; margin: 32px 0 10px; font-weight: 600; }
.simple-page p { font-size: 15.5px; color: var(--text-dim); margin: 0 0 14px; }
.simple-page ul { padding-left: 20px; margin: 0 0 16px; }
.simple-page li { list-style: disc; color: var(--text-dim); font-size: 15px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab0c4; margin-top: 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 54px 0 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: #eef0f6; font-size: 16px; margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.site-footer p { font-size: 13.5px; color: #8991a8; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer a { color: #aab0c4; font-size: 13.5px; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: 12px; color: #6d7488;
}
.sibling-promo {
  border-top: 1px solid var(--border); padding: 16px 0; font-size: 13px; color: #8991a8;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.sibling-promo-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent);
}
.sibling-promo a { color: var(--accent-soft); font-weight: 600; }
.sibling-promo-desc { color: #8991a8; }

/* ---------- Scroll-reveal (progressive enhancement, JS-gated) ---------- */
html.js-anim .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1);
}
html.js-anim .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
}
