:root {
  --black: #050608;
  --black-soft: #0a0c10;
  --charcoal: #11161b;
  --blue-black: #071018;
  --gold: #c99a4c;
  --gold-soft: #e0bd73;
  --bronze: #8b6634;
  --ivory: #eee3cf;
  --muted: rgba(238, 227, 207, 0.68);
  --faint: rgba(238, 227, 207, 0.42);
  --line: rgba(201, 154, 76, 0.28);
  --shadow: rgba(0, 0, 0, 0.72);

  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;

  --section-pad: clamp(5rem, 9vw, 9rem);
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(122, 90, 46, 0.12), transparent 36rem),
    linear-gradient(180deg, #050608 0%, #081018 48%, #050608 100%);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.018;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 28rem);
  mix-blend-mode: overlay;
}

.cursor-glow {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background: radial-gradient(circle, rgba(201,154,76,0.16), transparent 68%);
  transform: translate(-50%, -50%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem clamp(1rem, 2.5vw, 2.4rem);
  background: rgba(0,0,0,.76);
  border-bottom: 1px solid rgba(201,154,76,.14);
  backdrop-filter: blur(12px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--serif);
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .88rem;
}

.brand-lockup img {
  width: 46px;
  filter: drop-shadow(0 0 13px rgba(201,154,76,.45));
}

.main-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  font-family: var(--serif);
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(224,189,115,.78);
}

.main-nav a { transition: color .25s ease; }
.main-nav a:hover { color: var(--gold-soft); }

.ambient-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 34px;
  padding: .44rem .62rem;
  border: 1px solid rgba(201,154,76,.28);
  background: rgba(0,0,0,.24);
  color: rgba(224,189,115,.78);
  font-family: var(--serif);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.ambient-audio-toggle:hover,
.ambient-audio-toggle:focus-visible {
  color: var(--gold-soft);
  border-color: rgba(224,189,115,.54);
  background: rgba(201,154,76,.08);
  outline: none;
}

.ambient-audio-toggle.is-on {
  color: var(--ivory);
  border-color: rgba(224,189,115,.62);
  box-shadow: 0 0 18px rgba(201,154,76,.14);
}

.tm-sound-resonance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  color: rgba(224,189,115,.74);
  font-size: .7rem;
  line-height: 1;
  text-shadow: 0 0 9px rgba(224,189,115,.18);
}

.tm-sound-eq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 18px;
  height: 12px;
  margin-right: 9px;
  color: currentColor;
}

.tm-sound-eq span {
  display: block;
  width: 2px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: .58;
  box-shadow: 0 0 8px rgba(224,189,115,.18);
  transform-origin: center bottom;
  transition:
    height .42s ease,
    opacity .42s ease,
    box-shadow .42s ease;
}

.ambient-audio-toggle.is-audio-on .tm-sound-eq span {
  height: 8px;
  opacity: .86;
  animation: tmSoundEqBreath 2.8s ease-in-out infinite;
}

.ambient-audio-toggle.is-audio-on .tm-sound-eq span:nth-child(2) {
  height: 11px;
  animation-duration: 3.4s;
  animation-delay: -.55s;
}

.ambient-audio-toggle.is-audio-on .tm-sound-eq span:nth-child(3) {
  height: 7px;
  animation-duration: 3.1s;
  animation-delay: -.95s;
}

.ambient-audio-toggle.is-audio-on .tm-sound-eq span:nth-child(4) {
  height: 10px;
  animation-duration: 3.8s;
  animation-delay: -1.35s;
}

@keyframes tmSoundEqBreath {
  0%, 100% {
    transform: scaleY(.5);
    opacity: .58;
  }

  45% {
    transform: scaleY(1);
    opacity: .94;
    box-shadow: 0 0 10px rgba(224,189,115,.24);
  }
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#tm-home-ambience-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

#tm-home-hero-ambience-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

body.is-home-ambience-on #tm-home-ambience-canvas,
body.is-home-ambience-on #tm-home-hero-ambience-canvas {
  opacity: .86;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("../images/hero/tm-hero-sanctuary.jpg?v44.3.3");
  background-size: cover;
  background-position: center;
  transform: scale(1.035);
  filter: brightness(.82) contrast(1.08) saturate(.9);
  animation: slowBreath 16s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 40%, rgba(0,0,0,0), rgba(0,0,0,.32) 42%, rgba(0,0,0,.9) 100%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.12) 45%, rgba(0,0,0,.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 2rem));
  margin-top: 4rem;
  text-align: center;
  display: grid;
  justify-items: center;
}

.hero-sigil-wrap {
  position: relative;
  width: clamp(245px, 24vw, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.hero-logo {
  width: 100%;
  height: auto;
  opacity: .98;
  filter:
    drop-shadow(0 0 16px rgba(224,189,115,.62))
    drop-shadow(0 0 64px rgba(224,189,115,.28));
  animation: sigilBreath 5s ease-in-out infinite;
}

.hero-rune-orbit {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px solid rgba(224,189,115,.18);
  box-shadow: 0 0 30px rgba(224,189,115,.1);
  pointer-events: none;
  animation: runeRotate 38s linear infinite;
  opacity: .7;
}

.hero-rune-orbit::before {
  content: "ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ ᛇ ᛈ ᛉ ᛊ ᛏ ᛒ ᛖ ᛗ ᛚ ᛝ ᛞ ᛟ";
  position: absolute;
  inset: -12%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(224,189,115,.74);
  font-family: Georgia, serif;
  font-size: .85rem;
  letter-spacing: .42rem;
  text-shadow: 0 0 12px rgba(224,189,115,.6);
}

.hero-subtitle {
  margin: .2rem 0 .6rem;
  color: rgba(238,227,207,.84);
  font-family: var(--serif);
  font-size: clamp(.68rem, 1vw, .92rem);
  letter-spacing: .34em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.15rem, 6.2vw, 6.9rem);
  letter-spacing: .13em;
  color: #f0e5d1;
  text-shadow: 0 12px 44px rgba(0,0,0,.86), 0 0 26px rgba(201,154,76,.14);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: .08em;
}

h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: .08em;
}

.hero-actions { margin-top: 1.25rem; display: flex; justify-content: center; }

.btn,
.platform-row a,
.archive-list a {
  position: relative;
  border: 1px solid rgba(201,154,76,.55);
  background: rgba(5,6,8,.48);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .9rem 1.35rem;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn:hover,
.platform-row a:hover,
.archive-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(224,189,115,.8);
  box-shadow: 0 0 22px rgba(201,154,76,.2);
}

.btn-rune { isolation: isolate; }

.btn-rune::before {
  content: "ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ ᛇ ᛈ ᛉ ᛊ ᛏ ᛒ ᛖ ᛗ ᛚ ᛝ ᛞ ᛟ";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%,-50%) scale(.75);
  font-family: Georgia, serif;
  font-size: .9rem;
  letter-spacing: .44rem;
  color: rgba(224,189,115,0);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  text-shadow: 0 0 8px rgba(224,189,115,.9), 0 0 22px rgba(224,189,115,.46);
  transition: opacity .35s ease, transform .35s ease, color .35s ease;
}

.btn-rune::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  border: 1px solid rgba(224,189,115,0);
  transform: translate(-50%,-50%) scale(.75);
  z-index: -2;
  opacity: 0;
  transition: .35s ease;
  pointer-events: none;
}

.btn-rune:hover::before,
.btn-rune:focus-visible::before {
  opacity: 1;
  color: rgba(224,189,115,.96);
  transform: translate(-50%,-50%) scale(1);
  animation: runeRotate 13s linear infinite;
}

.btn-rune:hover::after,
.btn-rune:focus-visible::after {
  opacity: 1;
  border-color: rgba(224,189,115,.48);
  transform: translate(-50%,-50%) scale(1);
  box-shadow: 0 0 22px rgba(224,189,115,.25), inset 0 0 18px rgba(224,189,115,.09);
}

.hero:has(.btn-rune:hover) .hero-logo {
  filter:
    drop-shadow(0 0 20px rgba(224,189,115,.9))
    drop-shadow(0 0 86px rgba(224,189,115,.46));
}

.scroll-hint {
  position: absolute;
  bottom: 1.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: .5rem;
  color: var(--faint);
  font-family: var(--serif);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-hint span {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.section {
  position: relative;
  padding: var(--section-pad) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(900px, 88vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.narrow { max-width: 850px; }
.center { text-align: center; }

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(320px, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .9rem;
  font-family: var(--serif);
  color: var(--gold-soft);
  font-size: .73rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.content-block p { color: var(--muted); max-width: 620px; }

.section-lead {
  color: var(--gold-soft) !important;
  font-family: var(--serif);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 1.5rem 0;
  color: var(--faint);
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.meta-line span {
  border-left: 1px solid var(--line);
  padding-left: .8rem;
}

.cover-frame {
  border: 1px solid var(--line);
  padding: .8rem;
  background: linear-gradient(145deg, rgba(201,154,76,.1), rgba(255,255,255,.02));
  box-shadow: 0 26px 90px rgba(0,0,0,.52);
}

.cover-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.08);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.4rem;
}

.platform-row.center { justify-content: center; }

.section-heading { max-width: 820px; margin-bottom: 3rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); }

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.chapter-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(201,154,76,.22);
  background: #080b0f;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.chapter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .8;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.chapter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.86));
}

.chapter-card:hover::before { transform: scale(1.05); opacity: 1; }
.chapter-card > * { position: relative; z-index: 1; }
.chapter-card p:not(.eyebrow) { color: var(--muted); }

.chapter-card span {
  margin-top: 1rem;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.chapter-one::before {
  background:
    radial-gradient(circle at 50% 22%, rgba(120,160,190,.26), transparent 30%),
    linear-gradient(145deg, #0d1822, #050608);
}

.chapter-two::before {
  background:
    radial-gradient(circle at 50% 24%, rgba(201,154,76,.34), transparent 32%),
    linear-gradient(145deg, #1a0f08, #050608);
}

.chapter-three::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(80,100,120,.26), transparent 28%),
    linear-gradient(145deg, #0b0d12, #030304);
}

.fragments-section {
  min-height: 80vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(201,154,76,.12), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(0,0,0,.36), transparent);
}

.fragment {
  margin: 3rem 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 4.5rem);
  line-height: 1.18;
  text-align: center;
  color: var(--ivory);
  letter-spacing: .02em;
}

.archive-list { display: grid; gap: .9rem; }
.archive-list a { display: flex; justify-content: space-between; padding: 1.1rem 1.2rem; }
.archive-list a::after { content: "↗"; color: var(--gold-soft); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 2.2rem clamp(1.2rem, 3vw, 3rem);
  background: #030405;
  border-top: 1px solid rgba(201,154,76,.18);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.footer-brand img {
  width: 64px;
  filter: drop-shadow(0 0 14px rgba(201,154,76,.35));
}

.footer-brand strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .95rem;
}

.footer-brand span {
  display: block;
  font-family: var(--serif);
  color: rgba(224,189,115,.62);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .58rem;
  margin-top: .2rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(224,189,115,.72);
}

.site-footer small {
  justify-self: end;
  color: rgba(224,189,115,.62);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes slowBreath {
  from { transform: scale(1.035); filter: brightness(.78) contrast(1.08) saturate(.9); }
  to { transform: scale(1.065); filter: brightness(.92) contrast(1.1) saturate(.94); }
}

@keyframes sigilBreath {
  0%,100% { transform: translateY(0) scale(1); opacity: .94; }
  50% { transform: translateY(-3px) scale(1.018); opacity: 1; }
}

@keyframes runeRotate {
  from { transform: translate(-50%,-50%) scale(1) rotate(0deg); }
  to { transform: translate(-50%,-50%) scale(1) rotate(360deg); }
}

.hero-rune-orbit { transform-origin: center; }
.hero-rune-orbit { animation-name: orbitSpin; }

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

@media (max-width: 860px) {
  .main-nav { display: none; }
  .site-header { justify-content: center; }
  .brand-lockup img { width: 42px; }
  .brand-lockup span { font-size: .78rem; }
  .ambient-audio-toggle {
    position: absolute;
    right: clamp(.65rem, 3vw, 1rem);
    top: 50%;
    min-height: 36px;
    padding: .42rem .54rem;
    font-size: .52rem;
    transform: translateY(-50%);
  }
  .hero-sigil-wrap { width: clamp(210px, 62vw, 300px); }
  h1 { font-size: clamp(2.4rem, 12vw, 4.2rem); letter-spacing: .09em; }
  .two-column, .chapter-grid { grid-template-columns: 1fr; }
  .chapter-card { min-height: 340px; }
  .platform-row { flex-direction: column; align-items: stretch; }
  .platform-row a, .btn { text-align: center; }
  .btn-rune::before, .btn-rune::after { display: none; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .site-footer small { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ambient-audio-toggle.is-audio-on .tm-sound-eq span { height: 8px; opacity: .82; }
  .ambient-audio-toggle.is-audio-on .tm-sound-eq span:nth-child(2) { height: 11px; }
  .ambient-audio-toggle.is-audio-on .tm-sound-eq span:nth-child(3) { height: 7px; }
  .ambient-audio-toggle.is-audio-on .tm-sound-eq span:nth-child(4) { height: 10px; }
  body.is-home-ambience-on #tm-home-ambience-canvas,
  body.is-home-ambience-on #tm-home-hero-ambience-canvas { opacity: .48; }
}


/* Release v7 — Safe rune hover fix */
.btn-rune::before,
.btn-rune::after {
  display: none !important;
  content: none !important;
}

.btn-rune {
  --rune-radius: 78px;
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.rune-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.72);
  transition: opacity .32s ease, transform .32s ease;
  z-index: -1;
}

.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: runeOrbitSpin 12s linear infinite;
}

.rune-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--rune-radius) * 2.18);
  height: calc(var(--rune-radius) * 2.18);
  border: 1px solid rgba(224,189,115,.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 18px rgba(224,189,115,.22),
    inset 0 0 16px rgba(224,189,115,.08);
}

.rune {
  position: absolute;
  left: 0;
  top: 0;
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--rune-radius) * -1))
    rotate(calc(var(--i) * -15deg));
  transform-origin: center center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  line-height: 1;
  color: rgba(224,189,115,.96);
  text-shadow:
    0 0 7px rgba(224,189,115,.95),
    0 0 18px rgba(224,189,115,.52),
    0 0 32px rgba(224,189,115,.28);
}

@keyframes runeOrbitSpin {
  from {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
  }
}

.hero:has(.btn-rune:hover) .hero-logo,
.hero:has(.btn-rune:focus-visible) .hero-logo {
  filter:
    drop-shadow(0 0 20px rgba(224,189,115,.9))
    drop-shadow(0 0 86px rgba(224,189,115,.46));
}

@media (max-width: 860px) {
  .rune-orbit {
    display: none;
  }
}


/* Release v8 — larger global rune system */

.hero-rune-orbit{
  inset:-10% !important;
  border:1px solid rgba(224,189,115,.26) !important;
  box-shadow:
    0 0 30px rgba(224,189,115,.16),
    inset 0 0 18px rgba(224,189,115,.06);
}

.hero-rune-orbit::before{
  inset:-17% !important;
  font-size: 1rem !important;
  letter-spacing: .55rem !important;
  opacity:.95;
}

.btn-rune{
  --rune-radius: 108px !important;
}

.rune-orbit::before{
  width: calc(var(--rune-radius) * 2.35) !important;
  height: calc(var(--rune-radius) * 2.35) !important;
}

.rune{
  font-size: 1.08rem !important;
  text-shadow:
    0 0 9px rgba(224,189,115,.96),
    0 0 24px rgba(224,189,115,.58),
    0 0 40px rgba(224,189,115,.34) !important;
}

.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit{
  animation: runeOrbitSpin 18s linear infinite !important;
}

.hero:has(.btn-rune:hover) .hero-logo,
.hero:has(.btn-rune:focus-visible) .hero-logo{
  filter:
    drop-shadow(0 0 22px rgba(224,189,115,.96))
    drop-shadow(0 0 110px rgba(224,189,115,.62)) !important;
}

/* Apply rune hover to all interactive buttons/links */
.platform-row a,
.archive-list a{
  overflow: visible;
}

.platform-row a::before,
.platform-row a::after,
.archive-list a::before,
.archive-list a::after{
  display:none !important;
}

.platform-row a,
.archive-list a{
  --rune-radius: 88px;
  position:relative;
  isolation:isolate;
}

.platform-row a .rune-orbit,
.archive-list a .rune-orbit{
  z-index:-1;
}

@media (max-width: 860px){
  .hero-rune-orbit{
    inset:-5% !important;
  }

  .hero-rune-orbit::before{
    font-size:.75rem !important;
    letter-spacing:.32rem !important;
  }

  .btn-rune{
    --rune-radius: 82px !important;
  }
}


/* Release v9 — TRUE RUNE ORBITS
   Fixes:
   - No rune text line in hero.
   - Runes sit outside the ring.
   - Inner ring stays inside, runes outside.
   - Same effect applies to all buttons, platform links, and archive links.
*/

/* Kill all previous pseudo rune text systems */
.hero-rune-orbit::before,
.hero-rune-orbit::after,
.btn-rune::before,
.btn-rune::after,
.platform-row a::before,
.platform-row a::after,
.archive-list a::before,
.archive-list a::after {
  content: none !important;
  display: none !important;
}

/* Hero orbit container */
.hero-sigil-wrap {
  --hero-ring-radius: clamp(168px, 16vw, 255px);
  overflow: visible !important;
}

.hero-rune-orbit.true-rune-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px !important;
  height: 1px !important;
  inset: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: .9 !important;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: heroRuneOrbitSpin 42s linear infinite;
}

.hero-rune-orbit.true-rune-orbit .orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--hero-ring-radius) * 2);
  height: calc(var(--hero-ring-radius) * 2);
  border-radius: 50%;
  border: 1px solid rgba(224,189,115,.32);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 26px rgba(224,189,115,.18),
    inset 0 0 18px rgba(224,189,115,.08);
}

.hero-rune-orbit.true-rune-orbit .rune {
  position: absolute;
  left: 0;
  top: 0;
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--hero-ring-radius) * -1.18))
    rotate(calc(var(--i) * -15deg));
  transform-origin: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.86rem, 1.05vw, 1.22rem);
  line-height: 1;
  color: rgba(224,189,115,.9);
  text-shadow:
    0 0 8px rgba(224,189,115,.95),
    0 0 22px rgba(224,189,115,.54),
    0 0 42px rgba(224,189,115,.26);
}

/* Button/link true orbit */
.btn-rune,
.rune-links a {
  --button-ring-radius: 86px;
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
}

.btn-rune .rune-orbit,
.rune-links a .rune-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.74);
  transition: opacity .32s ease, transform .32s ease;
  z-index: -1;
}

.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit,
.rune-links a:hover .rune-orbit,
.rune-links a:focus-visible .rune-orbit {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: buttonRuneOrbitSpin 15s linear infinite;
}

.btn-rune .orbit-ring,
.rune-links a .orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--button-ring-radius) * 2);
  height: calc(var(--button-ring-radius) * 2);
  border: 1px solid rgba(224,189,115,.46);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 20px rgba(224,189,115,.23),
    inset 0 0 16px rgba(224,189,115,.08);
}

.btn-rune .rune,
.rune-links a .rune {
  position: absolute;
  left: 0;
  top: 0;
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--button-ring-radius) * -1.22))
    rotate(calc(var(--i) * -15deg));
  transform-origin: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .98rem;
  line-height: 1;
  color: rgba(224,189,115,.96);
  text-shadow:
    0 0 8px rgba(224,189,115,.95),
    0 0 20px rgba(224,189,115,.55),
    0 0 38px rgba(224,189,115,.3);
}

/* Bigger orbit for the hero CTA */
.hero .btn-rune {
  --button-ring-radius: 104px;
}

/* Slightly smaller orbit for narrow platform buttons */
.platform-row a {
  --button-ring-radius: 78px;
}

.archive-list a {
  --button-ring-radius: 82px;
}

/* Hover resonance */
.hero:has(.btn-rune:hover) .hero-logo,
.hero:has(.btn-rune:focus-visible) .hero-logo {
  filter:
    drop-shadow(0 0 20px rgba(224,189,115,.92))
    drop-shadow(0 0 90px rgba(224,189,115,.42)) !important;
}

@keyframes heroRuneOrbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes buttonRuneOrbitSpin {
  from { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  to { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
}

@media (max-width: 860px) {
  .hero-sigil-wrap {
    --hero-ring-radius: clamp(145px, 45vw, 215px);
  }

  .btn-rune .rune-orbit,
  .rune-links a .rune-orbit {
    display: none;
  }
}


/* Release v10 — Disable rune orbit on large archive-list buttons */
.archive-list a .rune-orbit {
  display: none !important;
}

.archive-list a {
  z-index: auto;
}

.archive-list a:hover,
.archive-list a:focus-visible {
  box-shadow:
    0 0 18px rgba(201,154,76,.16),
    inset 0 0 18px rgba(201,154,76,.04);
  background: rgba(201,154,76,.07);
}

/* Keep rune effects on compact buttons/platform links */
.platform-row a .rune-orbit,
.hero .btn-rune .rune-orbit {
  display: block;
}


/* Release v11 — Energy Rune System */

/* HERO ORBIT TIGHTEN */
.hero-sigil-wrap{
  --hero-ring-radius: clamp(120px, 12vw, 175px) !important;
}

/* SINGLE RING ONLY */
.btn-rune .orbit-ring,
.hero-rune-orbit .orbit-ring{
  border-width:1px;
  border-color: rgba(224,189,115,.58) !important;
  box-shadow:
    0 0 20px rgba(224,189,115,.22),
    inset 0 0 10px rgba(224,189,115,.05) !important;
}

/* REMOVE SECONDARY LOOK */
.btn-rune .orbit-ring::before,
.btn-rune .orbit-ring::after,
.hero-rune-orbit .orbit-ring::before,
.hero-rune-orbit .orbit-ring::after{
  display:none !important;
  content:none !important;
}

/* THICKER RUNES */
.btn-rune .rune,
.hero-rune-orbit .rune{
  font-weight:700 !important;
  filter:
    drop-shadow(0 0 6px rgba(224,189,115,.95))
    drop-shadow(0 0 18px rgba(224,189,115,.52));
}

/* ENERGY CONNECTIONS */
.btn-rune .rune::after,
.hero-rune-orbit .rune::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:1px;
  height:24px;
  background:linear-gradient(
    180deg,
    rgba(224,189,115,.95),
    rgba(224,189,115,.18),
    transparent
  );
  transform:
    translateX(-50%)
    rotate(180deg)
    translateY(12px);
  transform-origin:top center;
  opacity:.82;
  filter:
    drop-shadow(0 0 8px rgba(224,189,115,.55));
}

/* HERO ENERGY LONGER */
.hero-rune-orbit .rune::after{
  height:34px;
  opacity:.9;
}

/* BUTTON ORBIT SIZE */
.hero .btn-rune{
  --button-ring-radius: 86px !important;
}

/* BETTER CTA COMPOSITION */
.hero .btn-rune .rune{
  font-size:1.05rem !important;
}

/* HERO RUNES OUTSIDE CLEANLY */
.hero-rune-orbit .rune{
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--hero-ring-radius) * -1.24))
    rotate(calc(var(--i) * -15deg)) !important;
}

/* BUTTON RUNES OUTSIDE CLEANLY */
.btn-rune .rune{
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--button-ring-radius) * -1.28))
    rotate(calc(var(--i) * -15deg)) !important;
}

/* STRONGER HERO GLOW */
.hero:has(.btn-rune:hover) .hero-logo{
  filter:
    drop-shadow(0 0 24px rgba(224,189,115,.96))
    drop-shadow(0 0 120px rgba(224,189,115,.48)) !important;
}


/* Release v12 — Single Rune Circle, no outer ring */

/* Remove old visible circle artifacts and keep only one central rune circle */
.btn-rune .rune-orbit::before,
.btn-rune .rune-orbit::after,
.hero-rune-orbit::before,
.hero-rune-orbit::after {
  content: none !important;
  display: none !important;
}

/* The only visible circle is .orbit-ring */
.btn-rune .orbit-ring,
.hero-rune-orbit .orbit-ring {
  width: calc(var(--button-ring-radius, var(--hero-ring-radius)) * 1.88) !important;
  height: calc(var(--button-ring-radius, var(--hero-ring-radius)) * 1.88) !important;
  border: 1.5px solid rgba(224,189,115,.82) !important;
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(224,189,115,.32),
    0 0 38px rgba(224,189,115,.14),
    inset 0 0 8px rgba(224,189,115,.06) !important;
}

/* Hero orbit tighter: runes stay around the logo, not viewport edge */
.hero-sigil-wrap {
  --hero-ring-radius: clamp(118px, 11.2vw, 168px) !important;
}

.hero-rune-orbit.true-rune-orbit .orbit-ring {
  width: calc(var(--hero-ring-radius) * 1.86) !important;
  height: calc(var(--hero-ring-radius) * 1.86) !important;
}

/* Hero rune placement: outside the single circle */
.hero-rune-orbit.true-rune-orbit .rune,
.hero-rune-orbit .rune {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--hero-ring-radius) * -1.12))
    rotate(calc(var(--i) * -15deg)) !important;
  font-size: clamp(.95rem, 1vw, 1.18rem) !important;
  font-weight: 800 !important;
  color: rgba(255,210,120,.98) !important;
}

/* Button CTA single circle: ring inside, runes outside */
.hero .btn-rune {
  --button-ring-radius: 76px !important;
}

.platform-row a.btn-rune,
.platform-row a {
  --button-ring-radius: 72px !important;
}

/* Runes outside the ring */
.btn-rune .rune,
.rune-links a .rune {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--button-ring-radius) * -1.18))
    rotate(calc(var(--i) * -15deg)) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: rgba(255,210,120,.98) !important;
}

/* Energy rays from ring to runes */
.btn-rune .rune::after,
.rune-links a .rune::after,
.hero-rune-orbit .rune::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:1.5px;
  height:26px;
  background:
    linear-gradient(180deg,
      rgba(255,224,145,.95) 0%,
      rgba(224,189,115,.55) 45%,
      rgba(224,189,115,0) 100%);
  transform: translateX(-50%) translateY(13px);
  opacity:.9;
  filter:
    drop-shadow(0 0 6px rgba(255,210,120,.9))
    drop-shadow(0 0 14px rgba(224,189,115,.45));
}

.hero-rune-orbit .rune::after {
  height: 32px;
}

/* Remove any circular border from orbit container itself */
.hero-rune-orbit.true-rune-orbit,
.hero-rune-orbit,
.rune-orbit {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Make the hover result closer to the concept: clear single radiant circle */
.btn-rune:hover .orbit-ring,
.btn-rune:focus-visible .orbit-ring,
.rune-links a:hover .orbit-ring,
.rune-links a:focus-visible .orbit-ring {
  border-color: rgba(255,218,136,.95) !important;
  box-shadow:
    0 0 20px rgba(255,210,120,.42),
    0 0 52px rgba(224,189,115,.18),
    inset 0 0 10px rgba(224,189,115,.08) !important;
}

@media (max-width:860px){
  .hero-sigil-wrap {
    --hero-ring-radius: clamp(100px, 34vw, 145px) !important;
  }
}


/* Release v13 — Soft Resonance Mode */

/* HERO LOGO: remove orbit circle completely */
.hero-rune-orbit .orbit-ring,
.hero-rune-orbit.true-rune-orbit .orbit-ring {
  display: none !important;
}

/* Hero runes softly pulse instead of rotate */
.hero-rune-orbit.true-rune-orbit {
  animation: none !important;
  opacity: .78;
}

/* Hero runes target logo outer ring with energy lines */
.hero-rune-orbit .rune {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--hero-ring-radius) * -1.01))
    rotate(calc(var(--i) * -15deg)) !important;
  animation: heroRunePulse 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * .08s);
}

/* Gas-lamp style breathing glow */
@keyframes heroRunePulse {
  0% {
    opacity: .22;
    filter:
      drop-shadow(0 0 2px rgba(224,189,115,.12));
  }
  50% {
    opacity: .96;
    filter:
      drop-shadow(0 0 10px rgba(255,218,136,.82))
      drop-shadow(0 0 24px rgba(224,189,115,.42));
  }
  100% {
    opacity: .22;
    filter:
      drop-shadow(0 0 2px rgba(224,189,115,.12));
  }
}

/* Energy lines now connect directly to logo */
.hero-rune-orbit .rune::after {
  height: 54px !important;
  opacity: .75;
  background:
    linear-gradient(
      180deg,
      rgba(255,223,145,.82) 0%,
      rgba(224,189,115,.26) 60%,
      rgba(224,189,115,0) 100%
    ) !important;
}

/* BUTTON EFFECTS */
/* remove visible orbit circle */
.btn-rune .orbit-ring,
.rune-links a .orbit-ring {
  display: none !important;
}

/* Hidden by default */
.btn-rune .rune-orbit,
.rune-links a .rune-orbit {
  opacity: 0 !important;
  animation: none !important;
  transition:
    opacity 1.1s ease,
    transform 1.1s ease !important;
}

/* Hover: slow ignite */
.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit,
.rune-links a:hover .rune-orbit,
.rune-links a:focus-visible .rune-orbit {
  opacity: .96 !important;
  transform: translate(-50%, -50%) scale(1.02) !important;
}

/* No rotation — gentle shimmer */
.btn-rune .rune,
.rune-links a .rune {
  animation: buttonRuneGlow 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * .05s);
}

@keyframes buttonRuneGlow {
  0% {
    opacity: 0;
    filter: drop-shadow(0 0 1px rgba(224,189,115,.08));
  }
  40% {
    opacity: .95;
    filter:
      drop-shadow(0 0 8px rgba(255,220,140,.78))
      drop-shadow(0 0 18px rgba(224,189,115,.34));
  }
  100% {
    opacity: .35;
    filter:
      drop-shadow(0 0 3px rgba(224,189,115,.12));
  }
}

/* softer energy lines */
.btn-rune .rune::after,
.rune-links a .rune::after {
  height: 18px !important;
  opacity: .45 !important;
}


/* Release v14 — Inward Energy Flow
   Goal:
   - Energy lines always point toward the orbit center.
   - Hero runes do not rotate.
   - Button runes do not rotate.
   - Runes breathe like warm lantern light.
   - No extra visible circle artifacts.
*/

/* Remove all old visible orbit rings */
.hero-rune-orbit .orbit-ring,
.hero-rune-orbit.true-rune-orbit .orbit-ring,
.btn-rune .orbit-ring,
.rune-links a .orbit-ring {
  display: none !important;
}

/* Remove old pseudo circles/text */
.hero-rune-orbit::before,
.hero-rune-orbit::after,
.btn-rune::before,
.btn-rune::after,
.rune-orbit::before,
.rune-orbit::after {
  content: none !important;
  display: none !important;
}

/* HERO: no rotation, only subtle pulse */
.hero-rune-orbit.true-rune-orbit,
.hero-rune-orbit {
  animation: none !important;
  opacity: .82 !important;
  transform: translate(-50%, -50%) !important;
}

/* Tighter hero rune placement around logo */
.hero-sigil-wrap {
  --hero-ring-radius: clamp(116px, 10.8vw, 160px) !important;
}

/* Keep each rune upright, placed around the logo */
.hero-rune-orbit .rune {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--hero-ring-radius) * -1.08))
    rotate(calc(var(--i) * -15deg)) !important;

  font-size: clamp(.9rem, .95vw, 1.12rem) !important;
  font-weight: 800 !important;
  color: rgba(255,216,135,.96) !important;
  animation: inwardHeroRunePulse 4.8s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .07s) !important;
}

/* HERO ENERGY LINES:
   The line is attached to each rune and extends inward toward the center.
   Because it lives inside the rotated placement context, its local +Y direction points to center.
*/
.hero-rune-orbit .rune::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.4px !important;
  height: clamp(38px, 4.2vw, 62px) !important;
  transform: translateX(-50%) translateY(10px) !important;
  transform-origin: top center !important;
  background:
    linear-gradient(
      180deg,
      rgba(255,226,150,.98) 0%,
      rgba(224,189,115,.46) 48%,
      rgba(224,189,115,0) 100%
    ) !important;
  opacity: .78 !important;
  filter:
    drop-shadow(0 0 6px rgba(255,220,140,.78))
    drop-shadow(0 0 16px rgba(224,189,115,.34)) !important;
}

/* BUTTONS: invisible until hover, no rotation */
.btn-rune .rune-orbit,
.rune-links a .rune-orbit {
  opacity: 0 !important;
  animation: none !important;
  transform: translate(-50%, -50%) scale(.82) !important;
  transition:
    opacity 1.05s ease,
    transform 1.05s ease !important;
}

/* Hover: slow ignite, no spin */
.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit,
.rune-links a:hover .rune-orbit,
.rune-links a:focus-visible .rune-orbit {
  opacity: .98 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  animation: none !important;
}

/* Button placement around center */
.hero .btn-rune {
  --button-ring-radius: 82px !important;
}

.platform-row a.btn-rune,
.platform-row a {
  --button-ring-radius: 72px !important;
}

.btn-rune .rune,
.rune-links a .rune {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--button-ring-radius) * -1.12))
    rotate(calc(var(--i) * -15deg)) !important;

  font-size: .98rem !important;
  font-weight: 800 !important;
  color: rgba(255,216,135,.96) !important;
  animation: inwardButtonRuneGlow 3.4s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .055s) !important;
}

/* BUTTON ENERGY LINES: always inward toward button center */
.btn-rune .rune::after,
.rune-links a .rune::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.2px !important;
  height: 22px !important;
  transform: translateX(-50%) translateY(9px) !important;
  transform-origin: top center !important;
  background:
    linear-gradient(
      180deg,
      rgba(255,226,150,.9) 0%,
      rgba(224,189,115,.32) 55%,
      rgba(224,189,115,0) 100%
    ) !important;
  opacity: .65 !important;
  filter:
    drop-shadow(0 0 5px rgba(255,220,140,.64))
    drop-shadow(0 0 12px rgba(224,189,115,.28)) !important;
}

/* Soft breathing lights */
@keyframes inwardHeroRunePulse {
  0%, 100% {
    opacity: .26;
    filter:
      drop-shadow(0 0 2px rgba(224,189,115,.14));
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 10px rgba(255,220,140,.86))
      drop-shadow(0 0 26px rgba(224,189,115,.44));
  }
}

@keyframes inwardButtonRuneGlow {
  0%, 100% {
    opacity: .34;
    filter:
      drop-shadow(0 0 2px rgba(224,189,115,.14));
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 8px rgba(255,220,140,.78))
      drop-shadow(0 0 20px rgba(224,189,115,.36));
  }
}

/* Hover resonance to nearby logo */
.hero:has(.btn-rune:hover) .hero-logo,
.hero:has(.btn-rune:focus-visible) .hero-logo {
  filter:
    drop-shadow(0 0 22px rgba(224,189,115,.92))
    drop-shadow(0 0 88px rgba(224,189,115,.42)) !important;
}

@media (max-width:860px){
  .hero-sigil-wrap {
    --hero-ring-radius: clamp(96px, 31vw, 135px) !important;
  }

  .hero-rune-orbit .rune::after {
    height: 34px !important;
  }

  .btn-rune .rune-orbit,
  .rune-links a .rune-orbit {
    display: none !important;
  }
}


/* Release v15 — Radial Energy Fix
   Real structure:
   orbit center -> ray wrapper rotates around center
   energy line lives on ray wrapper and always points to center
   rune symbol is counter-rotated inside wrapper so it stays upright
*/

/* Remove all previous pseudo energy lines from the rune itself */
.hero-rune-orbit .rune::after,
.btn-rune .rune::after,
.rune-links a .rune::after {
  content: none !important;
  display: none !important;
}

/* Remove every visual circle/ring */
.hero-rune-orbit .orbit-ring,
.btn-rune .orbit-ring,
.rune-links a .orbit-ring {
  display: none !important;
}

/* Base ray wrapper */
.rune-ray {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: center center;
}

/* HERO radius and layout */
.hero-sigil-wrap {
  --hero-ring-radius: clamp(116px, 10.8vw, 158px) !important;
}

.hero-rune-orbit.true-rune-orbit,
.hero-rune-orbit {
  animation: none !important;
  transform: translate(-50%, -50%) !important;
  opacity: .86 !important;
}

/* This wrapper rotates to angle and moves upward.
   Its local DOWN direction now points back to the center. */
.hero-rune-orbit .rune-ray {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--hero-ring-radius) * -1.08));
}

/* Energy line: from rune inward to logo center */
.hero-rune-orbit .rune-ray::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: clamp(38px, 4vw, 58px);
  transform: translateX(-50%) translateY(10px);
  background:
    linear-gradient(
      180deg,
      rgba(255,226,150,.98) 0%,
      rgba(224,189,115,.54) 45%,
      rgba(224,189,115,0) 100%
    );
  opacity: .82;
  filter:
    drop-shadow(0 0 6px rgba(255,220,140,.76))
    drop-shadow(0 0 16px rgba(224,189,115,.34));
  animation: radialLinePulse 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * .07s);
}

/* Rune counter-rotates to stay readable/upright */
.hero-rune-orbit .rune-ray .rune {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(calc(var(--i) * -15deg)) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.9rem, .95vw, 1.12rem) !important;
  font-weight: 800 !important;
  color: rgba(255,216,135,.96) !important;
  animation: radialRunePulse 4.8s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .07s) !important;
}

/* BUTTON orbit hidden by default, no rotation */
.btn-rune .rune-orbit,
.rune-links a .rune-orbit {
  opacity: 0 !important;
  animation: none !important;
  transform: translate(-50%, -50%) scale(.84) !important;
  transition:
    opacity 1.05s ease,
    transform 1.05s ease !important;
}

.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit,
.rune-links a:hover .rune-orbit,
.rune-links a:focus-visible .rune-orbit {
  opacity: .98 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  animation: none !important;
}

/* Button radius slightly larger */
.hero .btn-rune {
  --button-ring-radius: 92px !important;
}

.platform-row a.btn-rune,
.platform-row a {
  --button-ring-radius: 78px !important;
}

/* Button ray wrapper */
.btn-rune .rune-ray,
.rune-links a .rune-ray {
  transform:
    rotate(calc(var(--i) * 15deg))
    translateY(calc(var(--button-ring-radius) * -1.1));
}

/* Button energy line inward to button center */
.btn-rune .rune-ray::after,
.rune-links a .rune-ray::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.25px;
  height: 25px;
  transform: translateX(-50%) translateY(9px);
  background:
    linear-gradient(
      180deg,
      rgba(255,226,150,.9) 0%,
      rgba(224,189,115,.4) 55%,
      rgba(224,189,115,0) 100%
    );
  opacity: .68;
  filter:
    drop-shadow(0 0 5px rgba(255,220,140,.62))
    drop-shadow(0 0 12px rgba(224,189,115,.28));
  animation: radialLinePulse 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .055s);
}

/* Button rune symbol */
.btn-rune .rune-ray .rune,
.rune-links a .rune-ray .rune {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(calc(var(--i) * -15deg)) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: rgba(255,216,135,.96) !important;
  animation: radialRunePulse 3.4s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .055s) !important;
}

/* Disable old direct rune positioning */
.hero-rune-orbit > .rune,
.rune-orbit > .rune {
  display: none !important;
}

@keyframes radialRunePulse {
  0%, 100% {
    opacity: .28;
    filter: drop-shadow(0 0 2px rgba(224,189,115,.14));
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 9px rgba(255,220,140,.82))
      drop-shadow(0 0 22px rgba(224,189,115,.42));
  }
}

@keyframes radialLinePulse {
  0%, 100% {
    opacity: .22;
  }
  50% {
    opacity: .9;
  }
}

@media (max-width:860px){
  .hero-sigil-wrap {
    --hero-ring-radius: clamp(96px, 31vw, 135px) !important;
  }

  .hero-rune-orbit .rune-ray::after {
    height: 34px !important;
  }
}


/* Release v16 — Electric Rune Energy */

/* Disable old straight CSS ray lines */
.hero-rune-orbit .rune-ray::after,
.btn-rune .rune-ray::after,
.rune-links a .rune-ray::after {
  content: none !important;
  display: none !important;
}

/* Electric bolt SVG layer */
.energy-bolt {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 8px);
  width: 34px;
  height: var(--bolt-length, 58px);
  overflow: visible;
  pointer-events: none;
  opacity: .78;
  filter:
    drop-shadow(0 0 5px rgba(255,220,140,.95))
    drop-shadow(0 0 16px rgba(224,120,35,.42))
    drop-shadow(0 0 28px rgba(224,189,115,.28));
}

.energy-bolt .bolt-main {
  fill: none;
  stroke: rgba(255,226,150,.96);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 5;
  animation: electricFlow 1.15s linear infinite;
}

.energy-bolt .bolt-core {
  fill: none;
  stroke: rgba(255,248,205,.9);
  stroke-width: .75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 6;
  animation: electricFlow 0.78s linear infinite reverse;
}

.energy-bolt .bolt-branch {
  fill: none;
  stroke: rgba(255,180,74,.72);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 7;
  opacity: .82;
  animation: electricFlicker 1.8s ease-in-out infinite;
}

/* Hero bolt length */
.hero-rune-orbit .energy-bolt {
  --bolt-length: clamp(46px, 4.8vw, 76px);
}

/* Button bolt length */
.btn-rune .energy-bolt,
.rune-links a .energy-bolt {
  --bolt-length: 32px;
  opacity: .66;
}

/* Thicker, hotter runes */
.hero-rune-orbit .rune-ray .rune,
.btn-rune .rune-ray .rune,
.rune-links a .rune-ray .rune {
  font-weight: 900 !important;
  color: rgba(255,230,150,.98) !important;
  text-shadow:
    0 0 8px rgba(255,220,140,.98),
    0 0 20px rgba(255,158,50,.58),
    0 0 44px rgba(224,189,115,.34) !important;
}

/* More natural pulsing */
.hero-rune-orbit .rune-ray .rune {
  animation: electricRunePulse 4.6s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .075s) !important;
}

.btn-rune .rune-ray .rune,
.rune-links a .rune-ray .rune {
  animation: electricRunePulse 3.2s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .05s) !important;
}

/* Electrical shimmer */
@keyframes electricFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -24; }
}

@keyframes electricFlicker {
  0%, 100% { opacity: .28; }
  12% { opacity: .9; }
  20% { opacity: .4; }
  42% { opacity: .82; }
  57% { opacity: .2; }
  76% { opacity: .96; }
}

@keyframes electricRunePulse {
  0%, 100% {
    opacity: .34;
    filter:
      drop-shadow(0 0 2px rgba(224,189,115,.2));
  }
  44% {
    opacity: .98;
    filter:
      drop-shadow(0 0 9px rgba(255,220,140,.88))
      drop-shadow(0 0 24px rgba(255,160,58,.46));
  }
  52% {
    opacity: .72;
  }
  58% {
    opacity: 1;
  }
}

/* Button hover feels alive, but still fades gently */
.btn-rune .rune-orbit,
.rune-links a .rune-orbit {
  transition:
    opacity 1.15s ease,
    transform 1.15s ease,
    filter 1.15s ease !important;
}

.btn-rune:hover .rune-orbit,
.btn-rune:focus-visible .rune-orbit,
.rune-links a:hover .rune-orbit,
.rune-links a:focus-visible .rune-orbit {
  filter: brightness(1.18) saturate(1.12);
}


/* Release v17 — Shorter Electric Lines
   Fix: electric bolts no longer cross over the runes or the logo.
*/

.energy-bolt {
  width: 22px !important;
  height: var(--bolt-length, 34px) !important;
  transform: translate(-50%, 13px) !important;
  opacity: .72 !important;
}

.hero-rune-orbit .energy-bolt {
  --bolt-length: clamp(24px, 2.6vw, 38px) !important;
}

.btn-rune .energy-bolt,
.rune-links a .energy-bolt {
  --bolt-length: 18px !important;
  width: 18px !important;
  transform: translate(-50%, 11px) !important;
  opacity: .64 !important;
}

.energy-bolt .bolt-main {
  stroke-width: 1.55 !important;
}

.energy-bolt .bolt-core {
  stroke-width: .55 !important;
}

.energy-bolt .bolt-branch {
  stroke-width: .75 !important;
  opacity: .62 !important;
}

/* keep runes readable above bolts */
.rune-ray .rune {
  z-index: 2;
}

.energy-bolt {
  z-index: 1;
}

/* slightly stronger rune glow compensates for shorter electricity */
.hero-rune-orbit .rune-ray .rune,
.btn-rune .rune-ray .rune,
.rune-links a .rune-ray .rune {
  text-shadow:
    0 0 8px rgba(255,220,140,.98),
    0 0 18px rgba(255,158,50,.5),
    0 0 34px rgba(224,189,115,.3) !important;
}


/* Release v18 — Art Director Pass */

.hero-bg {
  filter: brightness(.72) contrast(1.12) saturate(.86) !important;
}

.hero::after {
  background:
    radial-gradient(circle at 50% 40%, rgba(201,154,76,.10), transparent 18rem),
    radial-gradient(circle at 50% 12%, rgba(130,160,185,.10), transparent 32rem) !important;
}

.hero-atmosphere,
.hero-embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-atmosphere {
  opacity: .42;
  background:
    radial-gradient(ellipse at 50% 26%, rgba(210,210,205,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.045), transparent 38%, transparent);
  filter: blur(1px);
  animation: atmosphereDrift 18s ease-in-out infinite alternate;
}

.hero-embers {
  opacity: .28;
  background-image:
    radial-gradient(circle, rgba(224,189,115,.46) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,230,170,.28) 0 1px, transparent 1.4px);
  background-size: 220px 220px, 340px 340px;
  background-position: 12% 15%, 70% 30%;
  mask-image: radial-gradient(ellipse at 50% 45%, black 0%, black 35%, transparent 76%);
  animation: emberAscend 26s linear infinite;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.65vw, 6.35rem) !important;
  letter-spacing: .15em !important;
  text-shadow:
    0 14px 48px rgba(0,0,0,.92),
    0 0 20px rgba(201,154,76,.09) !important;
}

.hero-subtitle {
  letter-spacing: .37em !important;
  opacity: .86;
}

.hero-rune-orbit.true-rune-orbit,
.hero-rune-orbit {
  opacity: .62 !important;
}

.hero-rune-orbit .rune-ray .rune {
  font-size: clamp(.78rem, .85vw, 1rem) !important;
  color: rgba(255,218,144,.78) !important;
  text-shadow:
    0 0 5px rgba(255,220,140,.52),
    0 0 16px rgba(224,189,115,.24) !important;
  animation: directorHeroRunePulse 5.6s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .11s) !important;
}

.hero-rune-orbit .energy-bolt {
  --bolt-length: clamp(18px, 2.15vw, 30px) !important;
  width: 18px !important;
  transform: translate(-50%, 13px) !important;
  opacity: .38 !important;
}

.btn-rune .energy-bolt,
.rune-links a .energy-bolt {
  --bolt-length: 16px !important;
  width: 16px !important;
  transform: translate(-50%, 10px) !important;
  opacity: .48 !important;
}

.energy-bolt .bolt-main {
  stroke-width: 1.15 !important;
  stroke: rgba(255,222,145,.68) !important;
  stroke-dasharray: 4 8 !important;
  animation-duration: 1.75s !important;
}

.energy-bolt .bolt-core {
  stroke-width: .42 !important;
  stroke: rgba(255,248,205,.64) !important;
  stroke-dasharray: 3 9 !important;
  animation-duration: 1.05s !important;
}

.energy-bolt .bolt-branch {
  stroke-width: .6 !important;
  opacity: .45 !important;
}

.btn,
.platform-row a,
.archive-list a {
  transition:
    transform 1.1s cubic-bezier(.19,1,.22,1),
    border-color 1.1s cubic-bezier(.19,1,.22,1),
    color 1.1s cubic-bezier(.19,1,.22,1),
    background 1.1s cubic-bezier(.19,1,.22,1),
    box-shadow 1.1s cubic-bezier(.19,1,.22,1) !important;
}

.btn-rune .rune-orbit,
.rune-links a .rune-orbit {
  transition:
    opacity 1.35s cubic-bezier(.19,1,.22,1),
    transform 1.35s cubic-bezier(.19,1,.22,1),
    filter 1.35s cubic-bezier(.19,1,.22,1) !important;
}

.hero .btn-rune {
  --button-ring-radius: 100px !important;
}

.btn-rune .rune-ray .rune,
.rune-links a .rune-ray .rune {
  font-size: .94rem !important;
  color: rgba(255,218,144,.86) !important;
  animation: directorButtonRunePulse 3.8s ease-in-out infinite !important;
  animation-delay: calc(var(--i) * .075s) !important;
}

.platform-row a {
  min-width: 148px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
}

.platform-row a small {
  display: block;
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .18em;
  opacity: .52;
}

.platform-row a:not(.pending-link) small {
  display: none;
}

.platform-row a.pending-link {
  opacity: .58;
  cursor: not-allowed;
}

.platform-row a .platform-main,
.recovered-entry-links a .platform-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  color: inherit;
  line-height: 1;
}

.platform-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: inherit;
  opacity: .94;
}

.platform-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.platform-row a:hover .platform-icon,
.platform-row a:focus-visible .platform-icon,
.recovered-entry-links a:hover .platform-icon,
.recovered-entry-links a:focus-visible .platform-icon {
  opacity: 1;
}

.platform-row a.pending-link .platform-icon,
.recovered-entry-links a.pending-link .platform-icon {
  opacity: .82;
}

.archive-list a .rune-orbit {
  display: none !important;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.58rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  transform: translateX(-50%);
  transition: width .9s cubic-bezier(.19,1,.22,1);
}

.main-nav a:hover::after {
  width: 120%;
}

.hero-bg,
.hero-sigil-wrap {
  will-change: transform;
}

@keyframes directorHeroRunePulse {
  0%, 100% {
    opacity: .16;
    filter: drop-shadow(0 0 1px rgba(224,189,115,.08));
  }
  38% {
    opacity: .48;
  }
  52% {
    opacity: .82;
    filter:
      drop-shadow(0 0 7px rgba(255,220,140,.58))
      drop-shadow(0 0 18px rgba(224,189,115,.24));
  }
  65% {
    opacity: .34;
  }
}

@keyframes directorButtonRunePulse {
  0%, 100% {
    opacity: .18;
    filter: drop-shadow(0 0 1px rgba(224,189,115,.08));
  }
  50% {
    opacity: .92;
    filter:
      drop-shadow(0 0 7px rgba(255,220,140,.72))
      drop-shadow(0 0 18px rgba(224,189,115,.30));
  }
}

@keyframes atmosphereDrift {
  from { transform: translate3d(0, -1%, 0) scale(1); }
  to { transform: translate3d(0, 1.5%, 0) scale(1.04); }
}

@keyframes emberAscend {
  from { background-position: 12% 30%, 70% 50%; }
  to { background-position: 12% -220px, 70% -340px; }
}

@media (max-width: 860px) {
  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.9rem) !important;
    letter-spacing: .105em !important;
  }

  .hero-subtitle {
    font-size: .62rem !important;
    letter-spacing: .22em !important;
  }

  .hero-rune-orbit .energy-bolt,
  .hero-rune-orbit .rune-ray .rune {
    opacity: .42 !important;
  }

  .platform-row a {
    min-width: unset;
  }

  .platform-icon {
    width: 21px;
    height: 21px;
  }
}


/* Release v19 — Archive Civilization Hero Polish */

.hero-bg {
  background-image: url("../images/hero/tm-hero-sanctuary.jpg?v44.3.3") !important;
  background-position: center center !important;
  filter: brightness(.74) contrast(1.16) saturate(.94) !important;
}

.hero-vignette {
  background:
    radial-gradient(circle at 50% 44%, rgba(0,0,0,0.02), rgba(0,0,0,.28) 38%, rgba(0,0,0,.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.94) 100%) !important;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 39%;
  width: clamp(260px, 34vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255,207,120,.18), rgba(201,154,76,.08) 28%, transparent 62%);
  filter: blur(14px);
  opacity: .48;
  pointer-events: none;
  z-index: -1;
  animation: archivePulse 7.5s ease-in-out infinite;
}

.hero-atmosphere {
  opacity: .36 !important;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,218,150,.10), transparent 30%),
    radial-gradient(ellipse at 50% 55%, rgba(210,210,205,.06), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 42%, transparent) !important;
}

.hero-embers {
  opacity: .20 !important;
  background-size: 260px 260px, 420px 420px !important;
  mask-image: radial-gradient(ellipse at 50% 44%, black 0%, black 32%, transparent 78%) !important;
}

.hero h1 {
  text-shadow:
    0 16px 54px rgba(0,0,0,.96),
    0 0 24px rgba(0,0,0,.72),
    0 0 18px rgba(201,154,76,.08) !important;
}

.hero-subtitle {
  text-shadow:
    0 7px 20px rgba(0,0,0,.85),
    0 0 12px rgba(0,0,0,.72) !important;
}

.hero-logo {
  filter:
    drop-shadow(0 0 11px rgba(224,189,115,.42))
    drop-shadow(0 0 42px rgba(224,189,115,.14)) !important;
}

.hero-sigil-wrap {
  --hero-ring-radius: clamp(106px, 10.2vw, 148px) !important;
}

.hero .btn-rune {
  --button-ring-radius: 92px !important;
}

@keyframes archivePulse {
  0%, 100% {
    opacity: .34;
    transform: translate(-50%, -50%) scale(.96);
  }
  50% {
    opacity: .58;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (max-width: 860px) {
  .hero-bg {
    background-position: center center !important;
  }

  .hero::before {
    top: 36%;
    width: clamp(220px, 76vw, 380px);
  }

  .hero-sigil-wrap {
    --hero-ring-radius: clamp(92px, 29vw, 128px) !important;
  }
}


/* Release v20 — Full Transmission Archive */

.featured-transmission {
  background:
    radial-gradient(circle at 18% 42%, rgba(201,154,76,.11), transparent 26rem),
    radial-gradient(circle at 80% 30%, rgba(90,120,150,.08), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(0,0,0,.18));
}

.first-transmission {
  background:
    radial-gradient(circle at 78% 45%, rgba(201,154,76,.10), transparent 26rem),
    radial-gradient(circle at 18% 25%, rgba(100,125,155,.07), transparent 30rem),
    linear-gradient(180deg, rgba(0,0,0,.14), rgba(255,255,255,.01));
}

.transmission-feature {
  align-items: center;
}

.transmission-feature-reverse {
  grid-template-columns: minmax(320px, 1.12fr) minmax(280px, .88fr);
}

.release-cover-frame {
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
}

.release-cover-frame::before {
  content: "";
  position: absolute;
  inset: -9%;
  z-index: -1;
  background: radial-gradient(circle, rgba(224,189,115,.22), transparent 52%);
  filter: blur(18px);
  opacity: .78;
  animation: coverResonance 6.5s ease-in-out infinite;
}

.release-cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(224,189,115,.26);
  box-shadow:
    inset 0 0 28px rgba(224,189,115,.06),
    0 0 34px rgba(201,154,76,.12);
}

.release-cover-image {
  transform: translateZ(0);
  box-shadow: 0 32px 110px rgba(0,0,0,.62);
}

.transmission-archive-section {
  background:
    radial-gradient(circle at 50% 10%, rgba(201,154,76,.11), transparent 30rem),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.34));
}

.transmission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.transmission-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(201,154,76,.24);
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(201,154,76,.035)),
    rgba(5,6,8,.52);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  transition:
    transform 1s cubic-bezier(.19,1,.22,1),
    border-color 1s cubic-bezier(.19,1,.22,1),
    box-shadow 1s cubic-bezier(.19,1,.22,1);
}

.transmission-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224,189,115,.48);
  box-shadow:
    0 34px 110px rgba(0,0,0,.44),
    0 0 40px rgba(201,154,76,.10);
}

.transmission-card img {
  width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.08);
}

.transmission-card h3 {
  margin-bottom: .45rem;
  font-size: clamp(1.15rem, 1.7vw, 1.8rem);
}

.transmission-card p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 1rem;
}

.mini-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.mini-platforms a {
  border: 1px solid rgba(201,154,76,.28);
  padding: .46rem .6rem;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(0,0,0,.22);
  transition: .7s cubic-bezier(.19,1,.22,1);
}

.mini-platforms a:hover {
  border-color: rgba(224,189,115,.62);
  background: rgba(201,154,76,.08);
}

.pending-link {
  opacity: .58;
}

@keyframes coverResonance {
  0%, 100% {
    opacity: .48;
    transform: scale(.96);
  }
  50% {
    opacity: .82;
    transform: scale(1.04);
  }
}

@media (max-width: 920px) {
  .transmission-feature-reverse {
    grid-template-columns: 1fr;
  }

  .transmission-feature-reverse .cover-frame {
    order: -1;
  }

  .transmission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .transmission-card {
    grid-template-columns: 1fr;
  }

  .transmission-card img {
    width: 100%;
  }
}


/* Release v23 — Clean Standard Transmission Buttons */

.transmission-buttons {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: .85rem;
  width: 100%;
  max-width: 720px;
}

.transmission-buttons a {
  min-width: 0 !important;
  width: 100%;
  min-height: 58px;
}

.transmission-buttons a small {
  display: block;
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .18em;
  opacity: .52;
  margin-top: .15rem;
}

.mini-platforms {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}

.mini-platforms a {
  text-align: center;
}

.pending-link {
  opacity: .58;
}

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

  .mini-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 360px) {
  .transmission-buttons {
    grid-template-columns: 1fr;
  }
}


/* Release v24 — The Archive Awakens Coming Soon State */

.current-transmission .release-cover-frame::before {
  background:
    radial-gradient(circle, rgba(224,189,115,.20), transparent 48%),
    radial-gradient(circle, rgba(90,120,150,.10), transparent 62%);
  animation: lockedSignalPulse 8s ease-in-out infinite;
}

.current-transmission .release-cover-frame::after {
  border-color: rgba(224,189,115,.34);
  box-shadow:
    inset 0 0 28px rgba(224,189,115,.07),
    0 0 42px rgba(201,154,76,.14);
}

.current-transmission .section-lead {
  color: rgba(224,189,115,.86) !important;
}

.current-transmission .pending-link {
  opacity: .72;
}

.current-transmission .pending-link small {
  color: rgba(224,189,115,.78);
}

.current-transmission .pending-link:hover {
  cursor: default;
  transform: none !important;
}

.current-transmission .pending-link::before {
  opacity: .35;
}

.transmission-card:first-child {
  position: relative;
}

.transmission-card:first-child::after {
  content: "SOURCE #000";
  position: absolute;
  top: .85rem;
  right: .85rem;
  padding: .32rem .48rem;
  border: 1px solid rgba(224,189,115,.28);
  background: rgba(0,0,0,.36);
  color: rgba(224,189,115,.72);
  font-family: var(--serif);
  font-size: .52rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@keyframes lockedSignalPulse {
  0%, 100% {
    opacity: .42;
    transform: scale(.96);
  }
  50% {
    opacity: .86;
    transform: scale(1.035);
  }
}


/* Release v25 — Phase 1 Signal Activation */

.signal-phase .section-lead {
  color: rgba(224,189,115,.94);
  letter-spacing: .22em;
}

.signal-phase .cover-frame::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at center,
      rgba(224,189,115,.24) 0%,
      rgba(224,189,115,.08) 28%,
      transparent 62%);
  animation: signalPulse 7s ease-in-out infinite;
  pointer-events: none;
}

.signal-phase .cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(224,189,115,.14);
  box-shadow:
    inset 0 0 44px rgba(224,189,115,.05),
    0 0 65px rgba(224,189,115,.08);
  pointer-events: none;
}

.signal-microtext {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: rgba(224,189,115,.72);
  letter-spacing: .08em;
}

.signal-status-panel {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(224,189,115,.16);
  background: rgba(0,0,0,.26);
  color: rgba(224,189,115,.78);
  letter-spacing: .16em;
  font-size: .72rem;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(224,189,115,.92);
  box-shadow: 0 0 14px rgba(224,189,115,.88);
  animation: signalBlink 2.8s ease-in-out infinite;
}

@keyframes signalPulse {
  0%,100% { opacity:.42; transform:scale(.985); }
  50% { opacity:.92; transform:scale(1.018); }
}

@keyframes signalBlink {
  0%,100% { opacity:.45; }
  50% { opacity:1; }
}


/* Release v28 — Runic Cover Resonance Effects */

.release-cover-frame,
.transmission-card {
  position: relative;
  overflow: visible;
}

/* Sacred rune resonance aura */
.release-cover-frame::before,
.transmission-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 22px;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 1.2s cubic-bezier(.19,1,.22,1),
    transform 1.2s cubic-bezier(.19,1,.22,1),
    filter 1.2s cubic-bezier(.19,1,.22,1);

  background:
    radial-gradient(circle at center,
      rgba(224,189,115,.18) 0%,
      rgba(224,189,115,.08) 24%,
      transparent 68%);

  filter: blur(10px);
  z-index: -2;
}

/* Floating magical rune ring */
.release-cover-frame::after,
.transmission-card::after {
  content: "ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ ᛉ ᛊ ᛏ ᛗ";
  position: absolute;
  inset: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: rgba(224,189,115,.0);
  font-family: "Times New Roman", serif;
  font-size: .82rem;
  letter-spacing: .65rem;
  line-height: 1.8;

  opacity: 0;
  transform: scale(.96);

  transition:
    opacity 1.1s cubic-bezier(.19,1,.22,1),
    transform 1.1s cubic-bezier(.19,1,.22,1),
    text-shadow 1.1s cubic-bezier(.19,1,.22,1);

  pointer-events: none;
  z-index: 4;
}

/* Main hover state */
.release-cover-frame:hover .release-cover-image,
.transmission-card:hover img {
  transform:
    scale(1.045)
    translateY(-4px);

  filter:
    brightness(1.06)
    contrast(1.04);

  box-shadow:
    0 42px 120px rgba(0,0,0,.64),
    0 0 42px rgba(224,189,115,.10);

  transition:
    transform 1.1s cubic-bezier(.19,1,.22,1),
    filter 1.1s cubic-bezier(.19,1,.22,1),
    box-shadow 1.1s cubic-bezier(.19,1,.22,1);
}

.release-cover-frame:hover::before,
.transmission-card:hover::before {
  opacity: 1;
  transform: scale(1.03);
  filter: blur(16px);
}

.release-cover-frame:hover::after,
.transmission-card:hover::after {
  opacity: .92;
  transform: scale(1);

  color: rgba(224,189,115,.82);

  text-shadow:
    0 0 8px rgba(224,189,115,.82),
    0 0 18px rgba(224,189,115,.48),
    0 0 36px rgba(224,189,115,.22);

  animation: runeOrbitGlow 5.5s linear infinite;
}

/* Slow mystical movement */
@keyframes runeOrbitGlow {
  0% {
    opacity: .42;
    filter: blur(.1px);
  }

  50% {
    opacity: .96;
    filter: blur(.25px);
  }

  100% {
    opacity: .42;
    filter: blur(.1px);
  }
}

/* Gentle ambient resonance even without hover */
.release-cover-image,
.transmission-card img {
  transition:
    transform 1.1s cubic-bezier(.19,1,.22,1),
    filter 1.1s cubic-bezier(.19,1,.22,1),
    box-shadow 1.1s cubic-bezier(.19,1,.22,1);

  animation: archiveBreath 8s ease-in-out infinite;
}

@keyframes archiveBreath {
  0%,100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.008);
  }
}

/* Mobile restraint */
@media (max-width: 768px) {

  .release-cover-frame::after,
  .transmission-card::after {
    font-size: .62rem;
    letter-spacing: .38rem;
    inset: -14px;
  }

  .release-cover-frame:hover .release-cover-image,
  .transmission-card:hover img {
    transform: scale(1.025);
  }
}


/* Release v29 — Cinematic Modal Cover Hover */

.release-cover-frame::after,
.transmission-card::after {
  content: "" !important;
  opacity: 0 !important;
  animation: none !important;
}

/* Keep magical aura only */
.release-cover-frame::before,
.transmission-card::before {
  inset: -24px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at center,
      rgba(224,189,115,.22) 0%,
      rgba(224,189,115,.10) 22%,
      rgba(224,189,115,.04) 42%,
      transparent 72%) !important;

  filter: blur(14px) !important;
  opacity: 0 !important;

  transition:
    opacity 1.2s cubic-bezier(.19,1,.22,1),
    transform 1.2s cubic-bezier(.19,1,.22,1),
    filter 1.2s cubic-bezier(.19,1,.22,1) !important;
}

/* Modal-gallery-like hover enlargement */
.release-cover-frame,
.transmission-card {
  perspective: 1800px;
}

.release-cover-image,
.transmission-card img {
  transform-origin: center center;
  will-change: transform, filter, box-shadow;
}

.release-cover-frame:hover .release-cover-image,
.transmission-card:hover img {
  transform:
    scale(1.12)
    translateY(-8px)
    translateZ(18px) !important;

  z-index: 12;
  position: relative;

  filter:
    brightness(1.08)
    contrast(1.05)
    saturate(1.02);

  box-shadow:
    0 60px 160px rgba(0,0,0,.72),
    0 0 60px rgba(224,189,115,.14),
    0 0 120px rgba(224,189,115,.06) !important;
}

/* Soft mystical resonance only */
.release-cover-frame:hover::before,
.transmission-card:hover::before {
  opacity: 1 !important;
  transform: scale(1.06);
  filter: blur(20px) !important;
}

/* Slight ambient cinematic floating */
.release-cover-image,
.transmission-card img {
  animation: cinematicBreath 9s ease-in-out infinite !important;
}

@keyframes cinematicBreath {
  0%,100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.01);
  }
}

/* Prevent card clipping while enlarged */
.transmission-grid,
.transmission-feature {
  overflow: visible !important;
}

@media (max-width: 768px) {

  .release-cover-frame:hover .release-cover-image,
  .transmission-card:hover img {
    transform:
      scale(1.06)
      translateY(-4px) !important;
  }
}


/* Release v30 — Fullscreen Cinematic Cover Preview */

/* Disable previous cover hover zoom; modal preview now handles enlargement */
.release-cover-frame:hover .release-cover-image,
.transmission-card:hover img {
  transform: none !important;
  filter: brightness(1.05) contrast(1.03) saturate(1.02) !important;
  box-shadow:
    0 32px 110px rgba(0,0,0,.62),
    0 0 42px rgba(224,189,115,.10) !important;
}

/* Keep only subtle hover affordance on original card */
.release-cover-frame:hover,
.transmission-card:hover {
  cursor: zoom-in;
}

.tm-cover-preview {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 4vw, 4rem);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .8s cubic-bezier(.19,1,.22,1),
    backdrop-filter .8s cubic-bezier(.19,1,.22,1);
  background:
    radial-gradient(circle at 50% 45%, rgba(224,189,115,.10), transparent 30rem),
    rgba(2,3,5,.78);
  backdrop-filter: blur(0px);
}

.tm-cover-preview.is-visible {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(18px);
}

.tm-cover-preview.is-pinned {
  cursor: default;
}

.tm-cover-preview__frame {
  position: relative;
  width: min(86vh, 86vw);
  max-width: 820px;
  aspect-ratio: 1;
  transform: scale(.82) translateY(18px);
  opacity: 0;
  transition:
    transform .9s cubic-bezier(.19,1,.22,1),
    opacity .9s cubic-bezier(.19,1,.22,1),
    filter .9s cubic-bezier(.19,1,.22,1);
  filter:
    drop-shadow(0 40px 120px rgba(0,0,0,.78))
    drop-shadow(0 0 60px rgba(224,189,115,.16));
}

.tm-cover-preview.is-visible .tm-cover-preview__frame {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.tm-cover-preview__frame::before {
  content: "";
  position: absolute;
  inset: -5%;
  z-index: -1;
  background:
    radial-gradient(circle,
      rgba(224,189,115,.26) 0%,
      rgba(224,189,115,.12) 35%,
      transparent 72%);
  filter: blur(24px);
  opacity: .9;
  animation: previewResonance 6s ease-in-out infinite;
}

.tm-cover-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(224,189,115,.34);
  box-shadow:
    inset 0 0 22px rgba(224,189,115,.08),
    0 0 0 1px rgba(255,255,255,.04),
    0 34px 140px rgba(0,0,0,.75);
}

.tm-cover-preview__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224,189,115,.34);
  background: rgba(0,0,0,.48);
  color: rgba(224,189,115,.92);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(.92);
  transition:
    opacity .6s cubic-bezier(.19,1,.22,1),
    transform .6s cubic-bezier(.19,1,.22,1),
    background .6s cubic-bezier(.19,1,.22,1);
}

.tm-cover-preview.is-pinned .tm-cover-preview__close {
  opacity: 1;
  transform: scale(1);
}

.tm-cover-preview__close:hover {
  background: rgba(224,189,115,.10);
}

.tm-cover-preview__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vw, 2rem);
  transform: translateX(-50%);
  color: rgba(224,189,115,.68);
  font-family: var(--serif);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .82;
}

.tm-cover-preview.is-pinned .tm-cover-preview__hint {
  opacity: 0;
}

@keyframes previewResonance {
  0%, 100% {
    opacity: .56;
    transform: scale(.97);
  }
  50% {
    opacity: .95;
    transform: scale(1.04);
  }
}

@media (max-width: 760px) {
  .tm-cover-preview__frame {
    width: min(88vw, 72vh);
  }

  .tm-cover-preview__hint {
    display: none;
  }
}


/* Release v31 — Hover preview stability fix */

/* Hover preview should not steal the mouse from the source image */
.tm-cover-preview.is-visible:not(.is-pinned) {
  pointer-events: none !important;
}

/* Pinned modal remains interactive */
.tm-cover-preview.is-visible.is-pinned {
  pointer-events: auto !important;
}


/* Release v32 — Mobile Modal / Pending Link Fix */

.release-cover-image,
.transmission-card img {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: zoom-in;
}

/* On touch devices, avoid hover-preview behavior visual conflict */
@media (hover: none) and (pointer: coarse) {
  .release-cover-frame:hover .release-cover-image,
  .transmission-card:hover img {
    transform: none !important;
  }

  .release-cover-frame:hover::before,
  .transmission-card:hover::before {
    opacity: 0 !important;
  }
}

.pending-link {
  cursor: default !important;
}

.pending-link:hover {
  transform: none !important;
}

.platform-row a.pending-link,
.recovered-entry-links a.pending-link,
.mini-platforms a.pending-link {
  display: none !important;
}

@supports selector(:has(*)) {
  .platform-row:not(:has(a:not(.pending-link))),
  .recovered-entry-links:not(:has(a:not(.pending-link))),
  .mini-platforms:not(:has(a:not(.pending-link))) {
    display: none !important;
  }
}


/* Release v34 — disable cinematic modal interactions on mobile */

@media (hover: none), (pointer: coarse) {

  .release-cover-image,
  .transmission-card img {
    cursor: default !important;
    pointer-events: none !important;
  }

  .tm-cover-preview {
    display: none !important;
  }

}


/* Release v37 — Official Ecosystem Links */

.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin: 1.2rem auto .8rem;
  max-width: 760px;
}

.ecosystem-links a {
  border: 1px solid rgba(201,154,76,.24);
  background: rgba(0,0,0,.22);
  color: rgba(224,189,115,.78);
  font-family: var(--serif);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .52rem .72rem;
  transition:
    border-color .9s cubic-bezier(.19,1,.22,1),
    color .9s cubic-bezier(.19,1,.22,1),
    background .9s cubic-bezier(.19,1,.22,1),
    box-shadow .9s cubic-bezier(.19,1,.22,1);
}

.ecosystem-links a:hover {
  border-color: rgba(224,189,115,.52);
  color: rgba(255,226,170,.95);
  background: rgba(201,154,76,.07);
  box-shadow: 0 0 22px rgba(201,154,76,.08);
}

@media (max-width: 680px) {
  .ecosystem-links {
    gap: .42rem;
  }

  .ecosystem-links a {
    font-size: .54rem;
    padding: .46rem .58rem;
  }
}


/* Release v41 — Stable Recovered Transmissions Archive */

.recovered-transmissions-section {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,154,76,.055), transparent 24rem),
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.20));
}

.recovered-transmissions-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(920px, 86vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201,154,76,.24), transparent);
  opacity: .65;
}

.recovered-list {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.7rem);
}

.recovered-entry {
  display: grid;
  grid-template-columns: minmax(118px, 170px) 1fr;
  gap: clamp(1rem, 2vw, 1.45rem);
  align-items: center;
  padding: clamp(.95rem, 1.8vw, 1.25rem);
  border: 1px solid rgba(201,154,76,.18);
  background:
    linear-gradient(145deg, rgba(255,255,255,.022), rgba(201,154,76,.022)),
    rgba(5,6,8,.46);
  box-shadow:
    0 22px 64px rgba(0,0,0,.26),
    inset 0 0 0 1px rgba(255,255,255,.014);
  transition:
    transform 1s cubic-bezier(.19,1,.22,1),
    border-color 1s cubic-bezier(.19,1,.22,1),
    box-shadow 1s cubic-bezier(.19,1,.22,1);
}

.recovered-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(224,189,115,.34);
  box-shadow:
    0 26px 82px rgba(0,0,0,.34),
    0 0 26px rgba(201,154,76,.055);
}

.recovered-entry-cover {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224,189,115,.18);
  background: rgba(0,0,0,.26);
  box-shadow: 0 18px 54px rgba(0,0,0,.34);
}

.recovered-entry-cover::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(224,189,115,.12), transparent 60%);
  opacity: .42;
  pointer-events: none;
}

.recovered-entry-cover img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
}

.recovered-entry-content h3 {
  margin: .25rem 0 .38rem;
  font-size: clamp(1.18rem, 1.7vw, 1.72rem);
  letter-spacing: .075em;
}

.recovered-entry-subtitle,
.recovered-entry-lore {
  color: var(--muted);
  margin: 0 0 .72rem;
}

.recovered-entry-lore {
  font-style: italic;
  color: rgba(224,189,115,.62);
  line-height: 1.65;
}

.recovered-entry-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .42rem;
  margin-top: .95rem;
}

.recovered-entry-links a {
  border: 1px solid rgba(201,154,76,.22);
  padding: .48rem .52rem;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: .52rem;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  background: rgba(0,0,0,.20);
  transition:
    border-color .8s cubic-bezier(.19,1,.22,1),
    background .8s cubic-bezier(.19,1,.22,1),
    color .8s cubic-bezier(.19,1,.22,1),
    box-shadow .8s cubic-bezier(.19,1,.22,1);
}

.recovered-entry-links a:hover {
  border-color: rgba(224,189,115,.46);
  background: rgba(201,154,76,.06);
  box-shadow: 0 0 18px rgba(201,154,76,.06);
}

.recovered-entry-links a .platform-main {
  max-width: 100%;
}

.recovered-entry-links a .platform-icon {
  width: 23px;
  height: 23px;
}

.platform-row a[hidden],
.recovered-entry-links a[hidden],
.ecosystem-links a[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .recovered-entry {
    grid-template-columns: 1fr;
  }

  .recovered-entry-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recovered-entry-links a .platform-icon {
    width: 21px;
    height: 21px;
  }
}

/* v44.3.3 Mobile UI polish */

@media (max-width: 768px) {
  .platform-row a {
    gap: .32rem;
    line-height: 1.24;
  }

  .platform-row a .platform-main,
  .recovered-entry-links a .platform-main {
    gap: 15px;
    align-items: center;
    line-height: 1.2;
    white-space: normal;
  }

  .platform-row a small {
    margin-top: .16rem;
    line-height: 1.15;
  }

  .platform-icon,
  .recovered-entry-links a .platform-icon {
    align-self: center;
    width: 22px;
    height: 22px;
  }

  .recovered-entry-links a {
    padding: .58rem .62rem;
    line-height: 1.22;
  }

  .scroll-hint {
    bottom: max(.95rem, env(safe-area-inset-bottom));
    gap: .62rem;
    opacity: .58;
  }
}


/* v44.3 Critical Mobile Production Hotfix */

@media (max-width: 860px) {
  .site-header {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: .62rem;
    padding: .72rem clamp(.85rem, 4vw, 1.15rem) .8rem;
  }

  .brand-lockup {
    width: 100%;
    justify-content: center;
    min-width: 0;
    gap: .58rem;
    text-align: center;
  }

  .brand-lockup img {
    width: 38px;
    flex: 0 0 auto;
  }

  .brand-lockup span {
    min-width: 0;
    font-size: clamp(.66rem, 3vw, .78rem);
    letter-spacing: .12em;
    white-space: normal;
    line-height: 1.25;
  }

  .ambient-audio-toggle {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    justify-self: center;
    max-width: min(100%, 300px);
    min-height: 34px;
    padding: .42rem .58rem;
    font-size: clamp(.48rem, 2.45vw, .54rem);
    letter-spacing: .12em;
  }

  .ambient-audio-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 100svh;
    padding-top: 7.4rem;
    contain: paint;
  }
}

@media (max-width: 768px), (hover: none) {
  .site-noise,
  .cursor-glow {
    display: none !important;
  }

  .hero {
    overflow: hidden !important;
    isolation: isolate;
  }

  .hero-bg {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
    filter: brightness(.70) contrast(1.08) saturate(.9) !important;
  }

  .hero::before,
  .hero::after,
  .hero-atmosphere,
  .hero-embers,
  .hero-rune-orbit,
  .hero-rune-orbit.true-rune-orbit,
  .hero-rune-orbit .rune,
  .hero-rune-orbit .rune-ray,
  .hero-rune-orbit .energy-bolt,
  .btn-rune .rune-orbit,
  .btn-rune .rune-ray,
  .btn-rune .energy-bolt,
  .rune-links a .rune-orbit,
  .rune-links a .rune-ray,
  .rune-links a .energy-bolt {
    animation: none !important;
    display: none !important;
    opacity: 0 !important;
  }

  .hero-logo,
  .hero-sigil-wrap,
  .release-cover-image,
  .transmission-card img,
  .recovered-entry-cover img {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .release-cover-frame::before,
  .release-cover-frame::after,
  .transmission-card::before,
  .transmission-card::after,
  .recovered-entry-cover::before {
    animation: none !important;
    opacity: 0 !important;
    display: none !important;
  }

  .release-cover-frame,
  .transmission-card,
  .recovered-entry-cover {
    overflow: hidden;
  }

  .btn-rune,
  .platform-row a,
  .archive-list a,
  .recovered-entry-links a {
    transition-duration: .2s !important;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: .54rem;
    padding-top: .64rem;
    padding-bottom: .72rem;
  }

  .ambient-audio-toggle {
    width: min(100%, 272px);
    justify-content: center;
  }

  .tm-sound-resonance {
    margin-right: 5px;
  }

  .tm-sound-eq {
    width: 16px;
    margin-right: 8px;
  }
}
