/* The House of the Most High — global styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&display=swap');

:root {
  --paper: #f6efe1;
  --card: #fffdf8;
  --ink: #1c1510;
  --muted: #6d5f4b;
  --line: #ddceb2;
  --chipBg: #ece1cb;
  --gold: #a16207;
  --rust: #7c2d12;
  --accent: #a16207;
  --accent2: #b45309;
  --onAccent: #fffdf8;
  --header: #0e0b07;
  --headerInk: #cdb884;
  --headerDim: #93825e;
  --goldBright: #d9b45b;
  --live: #b42318;
  --green: #3f6212;
  --study: #4a7169;
  --apocBg: #f3e8ce;
  --apocBd: #b8854a;
  --apocFg: #7c5e1e;
  --pseudBg: #f0ddd1;
  --pseudBd: #a85a3a;
  --pseudFg: #7c2d12;
  --earlyBg: #e6eeeb;
  --earlyBd: #4a7169;
  --earlyFg: #3c5f57;
  --shadow: rgba(28, 21, 16, 0.06);
  --shadowHov: rgba(28, 21, 16, 0.14);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --hero-slant-h: 130px;
}

body.dark,
html[data-theme="dark"] body {
  --paper: #131009;
  --card: #1d1811;
  --ink: #ede3cb;
  --muted: #a59476;
  --line: #3b3221;
  --chipBg: #251f12;
  --gold: #d2a52e;
  --rust: #d98a63;
  --accent: #d2a52e;
  --accent2: #d99a4e;
  --onAccent: #1a1409;
  --header: #0b0906;
  --headerInk: #cdb884;
  --headerDim: #93825e;
  --goldBright: #d9b45b;
  --live: #e5533c;
  --green: #93b153;
  --study: #7fa9a0;
  --apocBg: #2b2313;
  --apocBd: #b8854a;
  --apocFg: #d8b46a;
  --pseudBg: #2e1e14;
  --pseudBd: #a85a3a;
  --pseudFg: #e0a284;
  --earlyBg: #17231f;
  --earlyBd: #4a7169;
  --earlyFg: #9dc4ba;
  --shadow: rgba(0, 0, 0, 0.45);
  --shadowHov: rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  transition: background 0.35s ease, color 0.35s ease;
}
::selection { background: #d9b45b; color: #1a1409; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 em, h2 em, .italic { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: 0.04em; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes flicker {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.85; transform: scaleY(0.96); }
}
@keyframes vidIn {
  0% { opacity: 0; transform: translateY(26px) scale(0.94); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.page-shell { min-height: 100vh; background: var(--paper); color: var(--ink); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 48px 0 64px; }
.site-main { min-height: 50vh; }

@keyframes maPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header);
  border-top: 2px solid var(--goldBright);
  box-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  flex-wrap: nowrap;
  padding-top: 0;
  padding-bottom: 0;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #e8d9b0;
  text-decoration: none;
  padding: 14px 0;
  margin-right: 4px;
}
.site-logo:hover { color: #e8d9b0; }
.menorah { animation: flicker 3.2s ease-in-out infinite; transform-origin: center bottom; }
.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: #e8d9b0;
  white-space: nowrap;
}
.logo-text em {
  color: var(--goldBright);
  font-style: italic;
  font-weight: 600;
}
.desk-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-left: auto;
}
.nav-link,
.mega-trigger {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cdb884;
  padding: 23px 12px 21px;
  border: none;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover,
.mega-trigger:hover,
.nav-link.is-active,
.mega-trigger.is-active,
.mega-trigger.is-open {
  color: #d9b45b;
}
.nav-link.is-active,
.mega-trigger.is-active,
.mega-trigger.is-open {
  border-bottom-color: #d9b45b;
}
.mega-chev {
  font-size: 8px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.mega-trigger.is-open .mega-chev,
.mobile-acc-trigger.is-open .mega-chev {
  transform: rotate(180deg);
}
.btn-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #40372a;
  color: #cdb884;
  text-decoration: none;
  margin-left: 8px;
  font-size: 15px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-search:hover,
.btn-search.is-active {
  border-color: #d9b45b;
  color: #d9b45b;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #40372a;
  color: var(--goldBright);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  margin-left: auto;
}
.btn-donate {
  display: inline-flex;
  align-items: center;
  background: #d9b45b;
  color: #1a1409 !important;
  border-radius: 99px;
  padding: 8px 15px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 10px;
  white-space: nowrap;
}
.btn-donate:hover { filter: brightness(1.08); color: #1a1409 !important; }
.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 99px;
  padding: 7px 13px;
  border: 1px solid rgba(217, 83, 60, 0.5);
  background: rgba(180, 35, 24, 0.14);
  color: #e8927e !important;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 6px 0 12px;
  white-space: nowrap;
}
.btn-live:hover {
  border-color: #e8927e;
  background: rgba(180, 35, 24, 0.28);
  color: #e8927e !important;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5533c;
  animation: pulse 1.6s ease-in-out infinite;
  display: inline-block;
}
.btn-theme {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #40372a;
  background: transparent;
  color: #cdb884;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s, transform 0.3s;
}
.btn-theme:hover {
  border-color: #d9b45b;
  color: #d9b45b;
  transform: rotate(-20deg);
}

/* Megamenu panel */
.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 58;
  background: #14100a;
  border-bottom: 1px solid rgba(217, 180, 91, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.mega-panel.is-open {
  animation: maPanelIn 0.22s ease-out;
}
.mega-panel-inner {
  padding: 22px 28px 28px;
}
.mega-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9b45b;
  margin: 0 0 16px;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mega-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #2a2214;
  border-radius: 6px;
  background: #100d08;
  color: #e8d9b0;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.mega-card:hover {
  border-color: rgba(217, 180, 91, 0.55);
  background: #1a140c;
  color: #e8d9b0;
  transform: translateY(-2px);
}
.mega-ico {
  color: #d9b45b;
  font-size: 16px;
  line-height: 1.4;
  min-width: 1.2em;
}
.mega-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mega-card-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #f2e8cf;
}
.mega-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #93825e;
  line-height: 1.4;
}

/* Mobile drawer */
.mobile-drawer {
  background: #14100a;
  border-bottom: 1px solid rgba(217, 180, 91, 0.3);
}
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 8px 18px 22px;
  gap: 2px;
}
.mobile-drawer .nav-link {
  padding: 14px 4px;
  border-bottom: 1px solid #2a2214;
  width: 100%;
  justify-content: flex-start;
}
.mobile-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid #2a2214;
  color: #cdb884;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 4px;
  cursor: pointer;
}
.mobile-acc-trigger.is-open { color: #d9b45b; }
.mobile-acc-panel {
  display: flex;
  flex-direction: column;
  padding: 4px 0 10px 8px;
  gap: 2px;
}
.mobile-acc-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cdb884;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 4px;
}
.mobile-acc-panel a:hover { color: #d9b45b; }
.mobile-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.mobile-cta-row .btn-donate,
.mobile-cta-row .btn-live { margin: 0; }

/* Buttons & chips */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--onAccent) !important;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.08); color: var(--onAccent) !important; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 12px 22px;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--onAccent) !important;
}
.btn-text {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 99px;
  padding: 7px 14px;
  background: var(--chipBg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.chip.is-active,
.chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--onAccent);
}
.chip-sm { padding: 4px 10px; font-size: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 24px var(--shadow);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--shadowHov);
}
.card-typed { border-top: 2px solid var(--accent); }
.card-typed.rust { border-top-color: var(--rust); }
.card-typed.green { border-top-color: var(--green); }
.card-typed.study { border-top-color: var(--study); }
.verse-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 3px;
  padding: 18px 20px;
  margin: 16px 0;
}
.double-rule {
  border: 0;
  border-top: 3px double var(--accent);
  border-bottom: 3px double var(--accent);
  height: 8px;
  opacity: 0.85;
  margin: 24px 0;
}

/* Hero cinematic / immersive */
.hero-cinematic {
  position: relative;
  background: #0a0805;
  color: #f2e8cf;
  min-height: min(72vh, 680px);
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Reserve the slant band inside the hero so media fills to the diagonal */
  padding-bottom: var(--hero-slant-h);
  margin-bottom: calc(-1 * var(--hero-slant-h));
  box-sizing: border-box;
  z-index: 0;
}
.hero-cinematic--short { min-height: min(42vh, 380px); }
.hero-cinematic--post { min-height: min(58vh, 520px); }
.hero-cinematic--post .hero-content { padding: 64px 0 88px; }
.hero-cinematic--post .hero-dek {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.hero-cinematic--post .hero-caption { margin-top: 12px; }
.post-byline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 38%, #000 62%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 38%, #000 62%);
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,5,.35) 0%, rgba(10,8,5,0) 28%, rgba(10,8,5,0) 58%, rgba(10,8,5,.55) 88%, #0a0805 100%),
    linear-gradient(90deg, #0a0805 0%, rgba(10,8,5,.92) 34%, rgba(10,8,5,.35) 68%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 0;
  max-width: 640px;
}
.hero-cinematic--short .hero-content {
  padding: 48px 0;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goldBright);
  margin-bottom: 14px;
}
.hero-cinematic h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #f2e8cf;
  margin-bottom: 18px;
}
.hero-cinematic h1 em { color: var(--goldBright); }
.hero-dek {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: #cdbd97;
  margin-bottom: 22px;
}
.hero-caption {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b5a67f;
}
.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--goldBright);
  margin: 0 0 18px;
  transform-origin: left center;
}
.statement-box {
  border-left: 3px solid var(--goldBright);
  padding: 8px 0 8px 16px;
  margin: 0 0 18px;
  color: #e8d9b0;
  line-height: 1.45;
}
.statement-box strong { color: #fff; }

.hero-slant {
  position: relative;
  z-index: 3;
  background: transparent;
  margin-top: 0;
  line-height: 0;
  pointer-events: none;
}
.hero-slant svg {
  display: block;
  width: 100%;
  height: var(--hero-slant-h);
}
/* Keep cream content above any hero paint in the slant band */
.hero-slant + * {
  position: relative;
  z-index: 2;
}
.hero-slant--ink path:first-child {
  fill: #0e0b07;
}
.footer-slant {
  background: var(--paper);
  margin-bottom: -1px;
  line-height: 0;
}
.footer-slant svg {
  display: block;
  width: 100%;
  height: 90px;
}
.footer-slant path:first-child {
  fill: #0e0b07;
}

/* Footer */
.site-footer {
  background: #0e0b07;
  color: #cdb884;
  padding: 36px 0 28px;
  margin-top: -1px;
}
.footer-inner {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: #e8d9b0;
  margin: 0 0 8px;
  max-width: 420px;
}
.footer-quote cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93825e;
  font-style: normal;
}
.footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #cdb884;
}
.footer-links a:hover { color: var(--goldBright); }
.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 180, 91, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6c5d3e;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillars .pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.14em;
}
.pillars h3 { font-size: 1.25rem; margin: 8px 0; }
.pillars a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Forms */
.form-card label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.form-card input,
.form-card textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 16px;
}
.form-card textarea { min-height: 140px; resize: vertical; }
.search-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.search-bar input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(217,180,91,0.35);
  color: #f2e8cf;
  border-radius: 3px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
}
.search-bar input::placeholder { color: #93825e; }

/* Videos */
.video-strip {
  background: #0e0b07;
  padding: 36px 0;
  overflow: hidden;
}
.video-strip h2 { color: #e8d9b0; margin-bottom: 18px; }
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  cursor: grab;
  scroll-snap-type: x mandatory;
}
.carousel:active { cursor: grabbing; }
.video-card {
  display: block;
  color: inherit;
  text-decoration: none;
  animation: vidIn 0.7s ease both;
}
.video-card--carousel { flex: 0 0 250px; scroll-snap-align: start; color: #e8d9b0; }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}
.video-card--carousel .video-thumb { border-color: #3b3221; }
.video-len {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 3px;
}
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(217,180,91,.9);
  color: #1a1409;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.video-card:hover .video-play { opacity: 1; }
.video-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.video-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
  color: inherit;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Blog archive instrument rail */
.blog-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.blog-list-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}
.blog-list-title .eyebrow {
  margin-bottom: 8px;
}
.blog-result-meta {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
  gap: 0;
  margin: 0 0 22px;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.96), rgba(246,239,225,0.92));
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 10px 28px var(--shadow);
  position: relative;
  z-index: 5;
}
body.dark .blog-toolbar {
  background: linear-gradient(180deg, #1d1811, #17130d);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 32px rgba(0,0,0,0.35);
}

.blog-typeahead {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 14px 0 16px;
}
.blog-typeahead-icon {
  flex: 0 0 auto;
  color: var(--gold);
  opacity: 0.85;
  margin-right: 10px;
}
.blog-typeahead input[type="search"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.3;
  padding: 16px 8px 16px 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.blog-typeahead input[type="search"]::-webkit-search-decoration,
.blog-typeahead input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.blog-typeahead input[type="search"]::placeholder {
  color: var(--muted);
  font-style: italic;
}
.blog-typeahead.is-focused {
  background: rgba(217,180,91,0.06);
}
.blog-typeahead-hint {
  flex: 0 0 auto;
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.35);
  padding: 3px 7px;
  border-radius: 3px;
}
@media (min-width: 820px) {
  .blog-typeahead-hint { display: inline-block; }
}

.blog-toolbar-rail {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
  margin: 10px 0;
}

.blog-toolbar-pages {
  display: flex;
  align-items: center;
  padding: 8px 10px;
}

.blog-pager {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}
.blog-pager.is-paging { opacity: 0.45; pointer-events: none; }
.blog-pager-nums {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 2px;
}
.blog-pager-btn,
.blog-pager-num,
.blog-pager-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.blog-pager-btn {
  font-size: 20px;
  line-height: 1;
  min-width: 38px;
}
.blog-pager a.blog-pager-btn:hover,
.blog-pager a.blog-pager-num:hover {
  color: var(--gold);
  border-color: rgba(161,98,7,0.28);
  background: rgba(217,180,91,0.08);
}
.blog-pager-num.is-current {
  color: var(--ink);
  border-color: var(--goldBright);
  background:
    linear-gradient(180deg, rgba(217,180,91,0.22), rgba(217,180,91,0.08));
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
}
body.dark .blog-pager-num.is-current {
  color: #f2e8cf;
  box-shadow: none;
}
.blog-pager .is-disabled {
  opacity: 0.28;
  pointer-events: none;
}
.blog-pager-gap {
  min-width: 22px;
  opacity: 0.55;
}

.blog-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 1px solid rgba(217,180,91,0.35);
  box-shadow: 0 18px 40px var(--shadowHov);
  max-height: min(360px, 55vh);
  overflow: auto;
  z-index: 20;
}
.blog-suggest[hidden] { display: none !important; }
.blog-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 11px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.blog-suggest-item:hover,
.blog-suggest-item.is-active {
  background: rgba(217,180,91,0.12);
}
.blog-suggest-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 4px;
}
.blog-suggest-title mark {
  background: transparent;
  color: var(--gold);
  font-style: italic;
}
.blog-suggest-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.blog-suggest-empty {
  padding: 14px 12px;
  color: var(--muted);
  font-style: italic;
}

.videos-grid.blog-grid {
  column-gap: 22px;
  row-gap: 40px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.videos-grid.blog-grid.is-paging {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

@media (max-width: 760px) {
  .blog-toolbar {
    grid-template-columns: 1fr;
  }
  .blog-toolbar-rail { display: none; }
  .blog-toolbar-pages {
    justify-content: center;
    border-top: 1px solid var(--line);
    padding: 8px;
  }
  .blog-list-head { align-items: flex-start; }
}

/* Watch */
.watch-player {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  background-color: #0a0805;
}
.watch-player .play-big {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(217,180,91,.95);
  color: #1a1409;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

/* Calendar list */
.cal-hero {
  min-height: min(58vh, 520px);
  align-items: center;
}
.cal-hero-shade {
  background:
    linear-gradient(180deg, rgba(10,8,5,.55) 0%, rgba(10,8,5,0) 30%, rgba(10,8,5,0) 55%, rgba(10,8,5,.55) 88%, #0a0805 100%),
    linear-gradient(90deg, #0a0805 0%, rgba(10,8,5,.92) 34%, rgba(10,8,5,.35) 68%, transparent 100%);
}
.cal-hero-content { padding: 70px 0 90px; }
.cal-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}
.cal-hero-meta {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93825e;
}
.cal-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hero-slant-h) + 12px);
  z-index: 2;
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6c5d3e;
  padding: 0 28px;
}
.cal-list-section { padding-top: 8px; }
.cal-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px 40px;
}
.cal-row {
  display: flex;
  gap: 22px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, padding-left 0.2s;
  --cal-accent: var(--accent);
}
.cal-row:hover {
  background: var(--card);
  padding-left: 12px;
  color: inherit;
}
.cal-date {
  width: 86px;
  flex: none;
  text-align: center;
  padding-top: 2px;
}
.cal-date-m {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cal-accent);
}
.cal-date-d {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  margin-top: 2px;
  letter-spacing: 0;
}
.cal-date-wd {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.cal-body { flex: 1; min-width: 0; }
.cal-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.cal-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}
.cal-chip {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cal-accent);
  border: 1px solid var(--cal-accent);
  padding: 2px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.cal-sub {
  font-style: italic;
  color: var(--accent2);
  font-size: 15px;
  margin: 2px 0 0;
}
.cal-desc {
  color: var(--muted);
  font-size: 15px;
  margin: 5px 0 0;
  max-width: 62ch;
}
.cal-more {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.cal-arrow {
  color: var(--accent);
  font-size: 17px;
  align-self: center;
  flex: none;
}
.cal-footnote {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Calendar day detail */
.cal-day {
  --cal-accent: var(--accent);
  background: var(--paper);
}
.cal-day-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 54px 28px 70px;
}
.cal-day-back { margin-bottom: 18px; display: inline-block; }
.cal-day-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.cal-day-when {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-day-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.cal-day-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--accent2);
  margin: 0;
}
.cal-day-rule {
  border: 0;
  border-bottom: 3px double var(--cal-accent);
  opacity: 0.85;
  padding-top: 18px;
  margin-bottom: 26px;
}
.cal-day-desc {
  font-size: 18.5px;
  line-height: 1.65;
  margin: 0 0 30px;
}
.cal-day-section {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 0 0 16px;
}
.cal-verse {
  background: var(--card);
  border-left: 4px solid var(--cal-accent);
  padding: 16px 20px;
  border-radius: 0 3px 3px 0;
  margin-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.cal-verse-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.cal-verse-ref {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
}
.cal-verse .badge-pseud {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
}
.cal-verse-text {
  font-size: 16.5px;
  font-style: italic;
  margin: 5px 0 9px;
}
.cal-video-card {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--rust);
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 8px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cal-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--shadowHov);
  color: inherit;
}
.cal-video-thumb {
  width: 150px;
  aspect-ratio: 16 / 9;
  flex: none;
  background: #171208;
  border-radius: 3px;
}
.cal-video-meta { flex: 1; min-width: 200px; }
.cal-video-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 4px;
}
.cal-video-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}
.cal-video-info {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 0;
}
.cal-video-empty {
  border: 1px dashed var(--line);
  border-radius: 3px;
  padding: 14px 20px;
  margin: 0 0 8px;
  color: var(--muted);
}
.cal-video-empty .cal-video-kicker { color: var(--muted); }
.cal-video-empty-text {
  font-style: italic;
  font-size: 15px;
  margin: 4px 0 0;
}
.cal-day-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  flex-wrap: wrap;
}
.cal-nav-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.cal-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cal-nav-btn--next { margin-left: auto; }

@media (max-width: 720px) {
  .cal-row { gap: 14px; }
  .cal-arrow { display: none; }
  .cal-video-card { flex-wrap: wrap; }
  .cal-video-thumb { width: 100%; }
}

/* Floating history back pill */
.back-pill {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--header);
  color: #e8d9b0;
  border: 1px solid #40372a;
  border-radius: 99px;
  padding: 11px 20px 11px 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, transform 0.2s;
}
.back-pill[hidden] { display: none !important; }
.back-pill:hover {
  border-color: var(--goldBright);
  transform: translateY(-2px);
}
.back-pill-arrow {
  color: var(--goldBright);
  font-size: 14px;
  line-height: 1;
}
.back-pill-label { white-space: nowrap; }

/* Live page */
.live-player {
  aspect-ratio: 16/9;
  background: #0a0805;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #e8d9b0;
  position: relative;
  border: 1px solid #3b3221;
}
.live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(180,35,24,.9);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
}

/* Blog */
.blog-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--gold), var(--goldBright));
}
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 28px 0;
}
.verse-peek {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
  cursor: help;
}

/* Library cards */
.lib-card .type-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Live banner */
.live-banner {
  background: #0a0805;
  color: #e8d9b0;
  border-bottom: 1px solid rgba(217,180,91,.25);
}
.live-banner .container {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live-banner a { margin-left: auto; color: var(--goldBright); }

/* Numbered lists */
.num-list { list-style: none; padding: 0; margin: 0; }
.num-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.num-list .n {
  font-family: var(--font-mono);
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Badge types */
.badge-apoc { background: var(--apocBg); border: 1px solid var(--apocBd); color: var(--apocFg); }
.badge-pseud { background: var(--pseudBg); border: 1px solid var(--pseudBd); color: var(--pseudFg); }
.badge-early { background: var(--earlyBg); border: 1px solid var(--earlyBd); color: var(--earlyFg); }

/* Music catalogue */
.music-hero { min-height: min(66vh, 470px); }
.music-hero .hero-media {
  mask-image: none;
  -webkit-mask-image: none;
  background-position: center 40%;
}
.music-hero-shade {
  background:
    linear-gradient(90deg, #0a0805 20%, rgba(10,8,5,.72) 46%, rgba(10,8,5,.15) 72%, rgba(10,8,5,.05) 100%),
    linear-gradient(180deg, rgba(10,8,5,.5) 0%, rgba(10,8,5,0) 26%, rgba(10,8,5,0) 55%, rgba(10,8,5,.55) 88%, #0a0805 100%);
}
.music-hero-content { max-width: 560px; }
.music-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}
.music-play-latest {
  background: var(--accent2);
  gap: 9px;
  border-radius: 2px;
}
.music-sc-btn {
  color: var(--goldBright) !important;
  border-color: rgba(217,180,91,.55);
  border-radius: 2px;
}
.music-sc-btn:hover { border-color: var(--goldBright); color: var(--goldBright) !important; }

.music-cat-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.music-cat-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.music-cat-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.music-track-count {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.music-arrows { display: flex; gap: 8px; }
.music-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--gold);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .18s, background .18s;
}
.music-arrow:hover {
  border-color: var(--gold);
  background: var(--chipBg);
}

.mu-viewport {
  position: relative;
  overflow: hidden;
  padding: 4px 0 22px;
}
.mu-track {
  display: flex;
  gap: 22px;
  padding: 0 4px;
  transition: transform .42s cubic-bezier(.22,1,.36,1);
  touch-action: pan-y;
  will-change: transform;
}
.mu-track.mu-dragging { transition: none; cursor: grabbing; }
.mu-card {
  flex: none;
  width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mu-accent, var(--gold));
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}
.mu-card-inner {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mu-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.mu-cover {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 4px 12px rgba(28,21,16,.18);
}
.mu-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mu-artist {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mu-accent, var(--gold));
  margin: 0 0 5px;
}
.mu-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mu-genre {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--headerDim);
  margin: 0 0 12px;
}
.mu-blurb {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 18px;
}
.mu-player {
  margin-top: auto;
  animation: muFade .25s ease;
}
.mu-player iframe {
  display: block;
  width: 100%;
  border: none;
  background: var(--card);
  border-radius: 6px;
}
.mu-play-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.mu-play-btn:hover { color: var(--rust); }
.mu-play-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mu-accent, var(--gold));
  color: var(--onAccent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.mu-card.is-open .mu-play-btn { display: none; }
.mu-card-more {
  width: 230px;
  border: none;
  border-top: none;
  box-shadow: none;
  background: transparent;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mu-card-more a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mu-more-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px dashed var(--apocBd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mu-fade {
  position: absolute;
  top: 0;
  bottom: 22px;
  right: -1px;
  width: 56px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--paper));
}
.music-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--headerDim);
}
@keyframes muFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* GSAP initial states */
[data-anim], [data-hero], [data-scroll] { will-change: transform, opacity; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .desk-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mu-card { width: 78vw; }
  .music-hero-content { max-width: 100%; }
}
@media (max-width: 640px) {
  :root { --hero-slant-h: 80px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 18px; }
  .hero-content { padding: 40px 0; }
  .footer-links { margin-left: 0; }
}
