/* ==========================================================================
   ALCHESPIRE.COM — "Illuminated Brass & Starlit Obsidian" Studio Stylesheet
   100% Self-Hosted Fonts • Zero Emojis • >= 44x44px Touch Targets
   ========================================================================== */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cinzel-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-500.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg-obsidian: #05070e;
  --bg-deep: #070a14;
  --bg-panel: rgba(12, 17, 32, 0.9);
  --bg-panel-strong: rgba(9, 13, 25, 0.96);
  --bg-ledger: linear-gradient(155deg, rgba(24, 19, 14, 0.92) 0%, rgba(10, 15, 29, 0.96) 100%);
  --brass-deep: #926020;
  --brass: #d49b4b;
  --brass-bright: #fbbf24;
  --gold-champagne: #fde68a;
  --gold-ivory: #fffbeb;
  --parchment: #f3ead3;
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --cyan-ice: #cffafe;
  --emerald: #34d399;
  --emerald-deep: #065f46;
  --molten: #fb923c;
  --text-main: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --border-brass: rgba(212, 155, 75, 0.38);
  --border-brass-strong: rgba(251, 191, 36, 0.65);
  --border-subtle: rgba(148, 163, 184, 0.22);
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-weight: 400;
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(29, 40, 82, 0.5) 0%, rgba(5, 7, 14, 0) 70%),
    radial-gradient(circle at 85% 32%, rgba(34, 211, 238, 0.05) 0%, rgba(5, 7, 14, 0) 45%),
    radial-gradient(circle at 15% 68%, rgba(212, 155, 75, 0.06) 0%, rgba(5, 7, 14, 0) 48%);
  color: var(--text-main);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg,
canvas {
  max-width: 100%;
}

a,
button,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan-soft);
  outline-offset: 2px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ==========================================================================
   A. Sticky Translucent Obsidian & Brass Navigation Bar
   ========================================================================== */

.atelier-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 9, 18, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 155, 75, 0.36);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(254, 243, 199, 0.08);
}

.atelier-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 4px 6px 4px 2px;
  text-decoration: none;
  color: var(--gold-ivory);
}

.astrolabe-crest {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: visible;
}

.astrolabe-outer-ring {
  transform-origin: 24px 24px;
  animation: astrolabeSpin 38s linear infinite;
}

@keyframes astrolabeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.brand-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  line-height: 1.05;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16em;
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 52%, #d49b4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--cyan-soft);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.34);
}

.atelier-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 13px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  text-align: center;
}

.nav-anchor:hover {
  color: var(--gold-champagne);
  background: rgba(212, 155, 75, 0.1);
  border-color: rgba(212, 155, 75, 0.28);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 38%, #d97706 100%);
  color: #130d04;
  border: 1px solid #fef3c7;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    0 4px 18px rgba(245, 158, 11, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 24px rgba(245, 158, 11, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.nav-cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@media (max-width: 1039px) {
  html {
    scroll-padding-top: 116px;
  }

  .atelier-nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px 7px;
    gap: 6px 8px;
  }

  .brand-lockup {
    order: 1;
  }

  .nav-cta {
    order: 2;
  }

  .atelier-nav-links {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding-top: 5px;
    border-top: 1px solid rgba(212, 155, 75, 0.18);
  }

  .nav-anchor {
    width: 100%;
    min-height: 44px;
    padding: 4px 4px;
    font-size: 0.72rem;
    line-height: 1.18;
    background: rgba(14, 20, 38, 0.68);
    border-color: rgba(148, 163, 184, 0.18);
  }
}

@media (max-width: 579px) {
  .atelier-nav-inner {
    padding: 6px 10px 7px;
  }

  .astrolabe-crest {
    width: 28px;
    height: 28px;
  }

  .brand-lockup {
    gap: 7px;
    padding: 2px 4px 2px 0;
  }

  .brand-wordmark {
    font-size: 14px;
    letter-spacing: 0.11em;
  }

  .version-pill {
    font-size: 9.5px;
    padding: 1px 5px;
  }

  .nav-cta {
    padding: 8px 11px;
    font-size: 12.5px;
    gap: 5px;
  }

  .atelier-nav-links {
    gap: 4px;
  }

  .nav-anchor {
    font-size: 11.5px;
    line-height: 1.15;
    padding: 4px 3px;
  }
}

@media (max-height: 460px) and (min-width: 580px) {
  html {
    scroll-padding-top: 24px;
  }

  .atelier-nav {
    position: relative;
  }

  .atelier-nav-inner {
    padding: 5px 14px 6px;
    gap: 5px 10px;
  }
}

/* ==========================================================================
   B. Full-Bleed Living Observatory Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 18px 68px;
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 155, 75, 0.24);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(1.08) brightness(0.58) contrast(1.04);
  transform: scale(1.04);
  will-change: transform;
  animation: observatoryKenBurns 28s ease-in-out infinite alternate;
}

@keyframes observatoryKenBurns {
  0% {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.09) translate3d(-0.8%, -1.1%, 0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(11, 16, 34, 0.28) 0%, rgba(5, 7, 14, 0.86) 72%),
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(34, 211, 238, 0.1) 0%, rgba(5, 7, 14, 0) 65%),
    linear-gradient(180deg, rgba(5, 7, 14, 0.52) 0%, rgba(5, 7, 14, 0.72) 64%, var(--bg-obsidian) 100%);
}

.hero-sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
  width: 100%;
  text-align: center;
}

.eyebrow-deed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(9, 14, 28, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.48);
  box-shadow:
    0 0 28px rgba(251, 191, 36, 0.14),
    inset 0 1px 0 rgba(254, 243, 199, 0.2);
  color: var(--gold-champagne);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.35;
}

.eyebrow-deed svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 7.2vw, 4.95rem);
  letter-spacing: 0.14em;
  line-height: 1.08;
  margin: 18px 0 8px;
  background: linear-gradient(
    180deg,
    #fffbeb 0%,
    #fef3c7 26%,
    #fde68a 54%,
    #d49b4b 82%,
    #926020 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.92));
}

.hero-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 20px;
  max-width: 520px;
}

.hero-subtitle-rule {
  flex: 1;
  height: 1px;
  max-width: 96px;
  background: linear-gradient(90deg, rgba(212, 155, 75, 0), rgba(212, 155, 75, 0.65));
}

.hero-subtitle-rule.is-right {
  background: linear-gradient(90deg, rgba(212, 155, 75, 0.65), rgba(212, 155, 75, 0));
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  color: var(--cyan-soft);
  margin: 0;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}

.hero-lore {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-style: italic;
  color: var(--parchment);
  line-height: 1.68;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

/* Luxury Double-Bezel Brass CTA Deck */
.cta-deck {
  position: relative;
  max-width: 780px;
  margin: 0 auto 18px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 19, 36, 0.88), rgba(7, 10, 20, 0.94));
  border: 1px solid rgba(212, 155, 75, 0.48);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(254, 243, 199, 0.08),
    inset 0 1px 0 rgba(254, 243, 199, 0.22);
}

.corner-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--brass-bright);
  border-style: solid;
  pointer-events: none;
  opacity: 0.85;
}

.corner-bracket.tl {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 4px;
}

.corner-bracket.tr {
  top: 6px;
  right: 6px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 4px;
}

.corner-bracket.bl {
  bottom: 6px;
  left: 6px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 4px;
}

.corner-bracket.br {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 4px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.cta-card {
  position: relative;
  background: var(--bg-panel-strong);
  border: 1px solid rgba(212, 155, 75, 0.34);
  border-radius: 14px;
  padding: 18px 18px 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-card.primary-card {
  border-color: rgba(251, 191, 36, 0.64);
  background:
    radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.1) 0%, rgba(9, 13, 25, 0) 68%),
    var(--bg-panel-strong);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(251, 191, 36, 0.1),
    inset 0 1px 0 rgba(254, 243, 199, 0.2);
}

.cta-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-soft);
}

.alpha-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--gold-champagne);
}

.alpha-chip.is-emerald {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.48);
  color: #a7f3d0;
}

.cta-card p {
  margin: 8px 0 0;
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.52;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  min-width: 44px;
  padding: 12px 16px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-cta:hover {
  transform: translateY(-1px);
}

.btn-web {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 42%, #d97706 100%);
  color: #130d04;
  border: 1px solid #fef3c7;
  box-shadow:
    0 8px 26px rgba(245, 158, 11, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-web:hover {
  filter: brightness(1.05);
  box-shadow:
    0 12px 32px rgba(245, 158, 11, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.btn-apk {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24) 0%, rgba(6, 95, 70, 0.56) 100%);
  color: #d1fae5;
  border: 1px solid rgba(52, 211, 153, 0.62);
  box-shadow:
    0 8px 24px rgba(6, 78, 59, 0.42),
    inset 0 1px 0 rgba(167, 243, 208, 0.22);
}

.btn-apk:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.34) 0%, rgba(6, 95, 70, 0.72) 100%);
  border-color: rgba(110, 231, 183, 0.82);
}

.apk-meta {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
}

/* Expandable Sideload Drawer + Copy SHA-256 */
.sideload-details {
  max-width: 780px;
  margin: 0 auto 18px;
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid rgba(212, 155, 75, 0.32);
  border-radius: 14px;
  padding: 2px 16px;
  text-align: left;
  font-size: 0.86rem;
  color: var(--text-body);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
}

.sideload-details[open] {
  padding-bottom: 16px;
  border-color: rgba(251, 191, 36, 0.5);
}

.sideload-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  min-width: 44px;
  padding: 8px 2px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-champagne);
  user-select: none;
  list-style: none;
}

.sideload-details summary::-webkit-details-marker {
  display: none;
}

.summary-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.summary-left svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.summary-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brass-bright);
  transition: transform 0.18s ease;
}

.sideload-details[open] .summary-chevron {
  transform: rotate(180deg);
}

.sideload-steps {
  margin: 10px 0 14px;
  padding-left: 22px;
  display: grid;
  gap: 7px;
}

code {
  font-family: var(--font-mono);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sideload-steps code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--gold-champagne);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(3, 6, 14, 0.76);
  border: 1px solid rgba(212, 155, 75, 0.28);
}

.sha-readout {
  flex: 1 1 240px;
  min-width: 0;
}

.sha-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 3px;
}

.mono-hash {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-main);
  word-break: break-all;
  line-height: 1.45;
}

.btn-copy-sha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 148px;
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid rgba(251, 191, 36, 0.52);
  background: rgba(212, 155, 75, 0.14);
  color: var(--gold-champagne);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-copy-sha:hover {
  background: rgba(212, 155, 75, 0.24);
  border-color: var(--brass-bright);
}

.btn-copy-sha.is-copied {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.72);
  color: #a7f3d0;
}

.btn-copy-sha svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-copy-sha .icon-check {
  display: none;
}

.btn-copy-sha.is-copied .icon-copy {
  display: none;
}

.btn-copy-sha.is-copied .icon-check {
  display: block;
}

/* Post-Alpha Storefront Row */
.store-coming-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.store-pill-muted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11, 16, 30, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.store-pill-muted svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #cbd5e1;
}

/* ==========================================================================
   Filigree Diamond Section Dividers & Shared Section Layout
   ========================================================================== */

.section-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 18px;
  scroll-margin-top: 92px;
}

@media (max-width: 1039px) {
  .section-wrap {
    scroll-margin-top: 122px;
  }
}

.filigree-divider {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.filigree-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 155, 75, 0), rgba(212, 155, 75, 0.52));
}

.filigree-line.is-right {
  background: linear-gradient(90deg, rgba(212, 155, 75, 0.52), rgba(212, 155, 75, 0));
}

.filigree-gem {
  width: 44px;
  height: 22px;
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  letter-spacing: 0.04em;
  color: var(--gold-ivory);
  margin: 0 0 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ==========================================================================
   C. Section 1 (#showcase) — Prologue Cinema & Tactile Atelier Pillars
   ========================================================================== */

.cinema-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(15, 21, 38, 0.94) 0%, rgba(8, 12, 23, 0.97) 100%);
  border: 1px solid rgba(212, 155, 75, 0.45);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(254, 243, 199, 0.07),
    inset 0 1px 0 rgba(254, 243, 199, 0.18);
  margin-bottom: 24px;
}

@media (max-width: 920px) {
  .cinema-showcase {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

.cinema-bezel {
  position: relative;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(30, 24, 16, 0.9), rgba(9, 12, 22, 0.96));
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.2);
}

.rivet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef3c7, #b45309);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 2;
}

.rivet.tl {
  top: 6px;
  left: 6px;
}
.rivet.tr {
  top: 6px;
  right: 6px;
}
.rivet.bl {
  bottom: 6px;
  left: 6px;
}
.rivet.br {
  bottom: 6px;
  right: 6px;
}

.cutscene-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  background: #04060c;
  border: 1px solid rgba(212, 155, 75, 0.28);
  object-fit: cover;
}

.cinema-placard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px;
}

.placard-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.placard-header svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.placard-coord {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.cinema-placard h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--gold-champagne);
  margin: 8px 0 10px;
}

.cinema-placard p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.62;
}

.cinema-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 420px) {
  .cinema-specs {
    grid-template-columns: 1fr;
  }
}

.spec-badge {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(6, 10, 20, 0.78);
  border: 1px solid rgba(212, 155, 75, 0.26);
}

.spec-badge strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-champagne);
}

.spec-badge span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* 4 Sculpted Atelier Pillar Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1023px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  position: relative;
  background: linear-gradient(170deg, rgba(16, 23, 42, 0.92) 0%, rgba(9, 13, 25, 0.96) 100%);
  border: 1px solid var(--border-brass);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(254, 243, 199, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.68);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.56),
    0 0 26px rgba(212, 155, 75, 0.12),
    inset 0 1px 0 rgba(254, 243, 199, 0.28);
}

.pillar-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(251, 191, 36, 0.16), rgba(8, 12, 24, 0.9));
  border: 1px solid rgba(212, 155, 75, 0.45);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.2);
}

.pillar-emblem svg {
  width: 26px;
  height: 26px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--gold-ivory);
  margin: 0 0 8px;
  line-height: 1.32;
}

.pillar-card p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.58;
}

/* ==========================================================================
   D. Section 2 (#chambers) — Interactive Spire Architecture & Atelier Themes
   ========================================================================== */

.chambers-explorer {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(14, 20, 37, 0.94) 0%, rgba(8, 11, 22, 0.98) 100%);
  border: 1px solid rgba(212, 155, 75, 0.44);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(254, 243, 199, 0.16);
}

@media (max-width: 920px) {
  .chambers-explorer {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }
}

.chambers-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.control-group-label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}

.control-group-label small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.floor-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.floor-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  min-width: 44px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(11, 16, 31, 0.82);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.floor-btn:hover {
  border-color: rgba(212, 155, 75, 0.55);
  background: rgba(20, 28, 50, 0.88);
}

.floor-btn.is-active {
  border-color: rgba(251, 191, 36, 0.82);
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.48), rgba(20, 28, 52, 0.92));
  color: var(--gold-champagne);
  box-shadow:
    0 0 22px rgba(251, 191, 36, 0.15),
    inset 0 1px 0 rgba(254, 243, 199, 0.22);
}

.floor-btn.is-sealed {
  grid-column: 1 / -1;
  border-style: dashed;
  border-color: rgba(129, 140, 248, 0.42);
  color: #c7d2fe;
}

.floor-btn.is-sealed.is-active {
  border-style: solid;
  border-color: rgba(129, 140, 248, 0.82);
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.55), rgba(15, 23, 42, 0.94));
  color: #e0e7ff;
}

.floor-btn-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.floor-btn.is-active .floor-btn-meta {
  color: var(--cyan-soft);
}

@media (max-width: 559px) {
  .floor-switcher {
    grid-template-columns: 1fr;
  }
}

/* Floor III Collectible Theme Tabs */
.theme-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 559px) {
  .theme-tabs {
    grid-template-columns: 1fr;
  }
}

.theme-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  min-width: 44px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(11, 16, 31, 0.82);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.theme-tab:hover {
  border-color: rgba(212, 155, 75, 0.55);
}

.theme-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.theme-swatch.is-obsidian {
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
}

.theme-swatch.is-magma {
  background: #fb923c;
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.85);
}

.theme-swatch.is-feywild {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.85);
}

.theme-tab.is-active {
  border-color: rgba(251, 191, 36, 0.82);
  background: rgba(120, 53, 15, 0.45);
  color: var(--gold-champagne);
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.2);
}

.chamber-dossier {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(6, 10, 20, 0.82);
  border: 1px solid rgba(212, 155, 75, 0.3);
}

.dossier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.dossier-coord {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-soft);
  letter-spacing: 0.08em;
}

.dossier-role {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(212, 155, 75, 0.14);
  border: 1px solid rgba(212, 155, 75, 0.4);
  color: var(--gold-champagne);
}

.chamber-dossier h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold-ivory);
  margin: 0 0 6px;
}

.chamber-dossier p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.58;
}

/* Ornate 4:5 Chamber Preview Stage with Ambient Aura Glow */
.surround-preview-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.surround-aura {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  transition: background 0.35s ease, opacity 0.35s ease;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.28) 0%, rgba(212, 155, 75, 0.12) 44%, rgba(5, 7, 14, 0) 74%);
}

.surround-preview-stage[data-aura='brass'] .surround-aura {
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.3) 0%, rgba(34, 211, 238, 0.12) 46%, rgba(5, 7, 14, 0) 74%);
}

.surround-preview-stage[data-aura='molten-amber'] .surround-aura {
  background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.38) 0%, rgba(220, 38, 38, 0.18) 46%, rgba(5, 7, 14, 0) 74%);
}

.surround-preview-stage[data-aura='emerald-fey'] .surround-aura {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.36) 0%, rgba(52, 211, 153, 0.18) 46%, rgba(5, 7, 14, 0) 74%);
}

.surround-preview-stage[data-aura='sealed-summit'] .surround-aura {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.34) 0%, rgba(103, 232, 249, 0.16) 46%, rgba(5, 7, 14, 0) 74%);
}

.surround-preview-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(212, 155, 75, 0.62);
  background: #070a13;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(254, 243, 199, 0.22);
}

.surround-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.22s ease, filter 0.28s ease, transform 0.28s ease;
}

.surround-preview-frame.is-fading img {
  opacity: 0.42;
}

.surround-preview-stage[data-aura='sealed-summit'] .surround-preview-frame img {
  filter: blur(12px) brightness(0.28) saturate(0.7);
  transform: scale(1.08);
}

.sealed-summit-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(15, 23, 42, 0.76) 0%, rgba(5, 7, 14, 0.94) 85%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.surround-preview-stage[data-aura='sealed-summit'] .sealed-summit-veil {
  opacity: 1;
}

.sealed-summit-veil svg {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.sealed-summit-veil strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-champagne);
  margin-bottom: 6px;
}

.sealed-summit-veil span {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   E. Section 3 (#voices) — Voices of Oakhaven (Interactive Audio Cards)
   ========================================================================== */

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 959px) {
  .voices-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }
}

.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(15, 22, 40, 0.94) 0%, rgba(8, 12, 23, 0.98) 100%);
  border: 1px solid var(--border-brass);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(254, 243, 199, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.voice-card.is-playing {
  border-color: var(--cyan-soft);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(34, 211, 238, 0.18),
    inset 0 1px 0 rgba(165, 243, 252, 0.3);
}

.voice-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.portrait-medallion {
  position: relative;
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #fef3c7 0%, #d49b4b 50%, #22d3ee 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65);
}

.portrait-medallion img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #090d18;
  border: 2px solid #080c17;
}

.voice-identity h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--gold-ivory);
  margin: 0 0 4px;
}

.voice-faction {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan-soft);
  letter-spacing: 0.04em;
}

.voice-tagline {
  margin: 12px 0 10px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.54;
}

.voice-quote {
  margin: 0;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(5, 8, 17, 0.72);
  border-left: 3px solid var(--brass);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.56;
}

.btn-voice-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: linear-gradient(135deg, rgba(212, 155, 75, 0.16), rgba(15, 23, 42, 0.88));
  color: var(--gold-champagne);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn-voice-preview:hover {
  background: linear-gradient(135deg, rgba(212, 155, 75, 0.28), rgba(20, 30, 54, 0.94));
  border-color: var(--brass-bright);
}

.btn-voice-preview.is-playing {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(15, 23, 42, 0.94));
  border-color: var(--cyan-soft);
  color: var(--cyan-ice);
}

.voice-btn-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.voice-btn-left svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-voice-preview .icon-pause {
  display: none;
}

.btn-voice-preview.is-playing .icon-play {
  display: none;
}

.btn-voice-preview.is-playing .icon-pause {
  display: block;
}

.voice-btn-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.voice-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.voice-eq i {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: var(--brass-bright);
  opacity: 0.55;
}

.btn-voice-preview.is-playing .voice-eq i {
  background: var(--cyan-soft);
  opacity: 1;
  animation: eqPulse 0.75s ease-in-out infinite alternate;
}

.btn-voice-preview.is-playing .voice-eq i:nth-child(2) {
  animation-delay: 0.18s;
}
.btn-voice-preview.is-playing .voice-eq i:nth-child(3) {
  animation-delay: 0.34s;
}
.btn-voice-preview.is-playing .voice-eq i:nth-child(4) {
  animation-delay: 0.1s;
}

@keyframes eqPulse {
  0% {
    height: 4px;
  }
  100% {
    height: 14px;
  }
}

.voice-cue-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.btn-voice-preview.is-playing .voice-cue-tag {
  color: var(--cyan-soft);
}

/* ==========================================================================
   F. Section 4 (#alpha) — Alpha Field Ledger & Studio Footer
   ========================================================================== */

.field-ledger {
  position: relative;
  background: var(--bg-ledger);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 20px;
  padding: 28px 28px 26px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(254, 243, 199, 0.08),
    inset 0 1px 0 rgba(254, 243, 199, 0.22);
}

@media (max-width: 559px) {
  .field-ledger {
    padding: 22px 18px;
  }
}

.ledger-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 155, 75, 0.26);
}

.ledger-head svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.ledger-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  color: var(--gold-champagne);
  font-size: clamp(1.24rem, 2.8vw, 1.55rem);
}

.ledger-head span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 2px;
}

.alpha-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.ledger-col {
  padding: 18px;
  border-radius: 14px;
  background: rgba(7, 11, 22, 0.68);
  border: 1px solid rgba(212, 155, 75, 0.24);
}

.ledger-col h3 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--cyan-soft);
}

.ledger-col ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-body);
  font-size: 0.9rem;
  display: grid;
  gap: 9px;
}

.ledger-col strong {
  color: var(--gold-ivory);
}

/* Engraved Brass Studio Footer */
.site-footer {
  border-top: 1px solid rgba(212, 155, 75, 0.34);
  background:
    radial-gradient(ellipse 65% 80% at 50% 0%, rgba(212, 155, 75, 0.08) 0%, rgba(4, 6, 12, 0) 70%),
    #04060c;
  padding: 40px 18px 52px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand svg {
  width: 24px;
  height: 24px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.18em;
  color: var(--gold-champagne);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  max-width: 860px;
  margin: 0 auto 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 155, 75, 0.24);
  background: rgba(12, 17, 32, 0.72);
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-links a:hover {
  color: var(--gold-champagne);
  border-color: rgba(251, 191, 36, 0.6);
  background: rgba(212, 155, 75, 0.12);
}

.footer-colophon {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ==========================================================================
   Reduced Motion Accessibility Safeguards
   ========================================================================== */

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

  .astrolabe-outer-ring,
  .hero-art img,
  .btn-voice-preview.is-playing .voice-eq i {
    animation: none !important;
  }

  .hero-art img {
    transform: scale(1.02);
  }

  .hero-sparks {
    display: none !important;
  }

  .btn-cta,
  .nav-cta,
  .pillar-card,
  .surround-preview-frame img {
    transition: none !important;
  }
}
