:root {
  --bg: #030207;
  --surface: rgba(10, 9, 16, 0.86);
  --surface-soft: rgba(20, 18, 31, 0.74);
  --surface-card: rgba(14, 12, 22, 0.84);
  --line: rgba(205, 186, 255, 0.14);
  --line-strong: rgba(205, 186, 255, 0.26);
  --text: #f4effb;
  --muted: #c6bdd4;
  --purple: #ae8cff;
  --purple-soft: #d1c0ff;
  --gold: #d6ae7c;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(174, 140, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #040308 0%, #09060d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 16%, rgba(209, 192, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 76%, rgba(214, 174, 124, 0.4) 0 1px, transparent 2px),
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 1px);
  background-size: auto, auto, auto, 42px 42px;
  opacity: 0.55;
}

a {
  color: inherit;
}

.site-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: clip;
}

.hero-screen {
  min-height: 100vh;
  padding: 124px 4.5vw 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    linear-gradient(90deg, rgba(4, 5, 12, 0.92) 0%, rgba(4, 5, 12, 0.72) 24%, rgba(6, 7, 14, 0.42) 52%, rgba(10, 8, 12, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 6, 12, 0.4) 0%, rgba(7, 6, 12, 0.08) 34%, rgba(7, 6, 12, 0.48) 100%),
    var(--hero-bg-image, url("../img/fondo4.png")) 62% center / cover no-repeat;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 35%, rgba(72, 91, 178, 0.18), transparent 24%),
    radial-gradient(circle at 82% 34%, rgba(219, 163, 102, 0.16), transparent 20%);
}

.hero-screen-compact {
  min-height: 460px;
  justify-content: flex-start;
}

.hero-header,
.hero-body,
.hero-footer,
.content-sections {
  position: relative;
  z-index: 1;
}

.hero-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: none;
  padding: 16px 22px;
  border-radius: 26px;
  border: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  box-shadow: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 24px;
  z-index: 40;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.hero-header.is-scrolled,
.hero-header.is-menu-open {
  border-color: rgba(214, 202, 255, 0.14);
  background: rgba(8, 8, 16, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.logo-lockup img {
  width: clamp(30px, 5.5vw, 80px);
  display: block;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-wordmark strong,
.logo-wordmark span {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: var(--text);
}

.logo-wordmark strong {
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-wordmark span {
  font-size: clamp(0.66rem, 0.9vw, 0.88rem);
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px 28px;
  padding-top: 10px;
  width: 100%;
}

.hero-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.38);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.hero-menu-toggle span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 251, 0.84);
}

.hero-nav a.is-active,
.hero-nav a:hover,
.hero-nav a:focus-visible {
  color: var(--purple-soft);
}

.hero-divider {
  margin-top: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 202, 255, 0.22), transparent);
}

.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4vh 0 8vh;
}

.hero-copy {
  max-width: 460px;
}

.page-hero-copy {
  max-width: 720px;
  padding: 76px 0 44px;
}

.page-hero-copy h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.7rem, 4.5vw, 4.9rem);
  font-weight: 400;
  line-height: 0.98;
}

.page-hero-copy h1 span {
  color: var(--purple);
}

.page-hero-copy p:last-child {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy h1,
.section-heading h2,
.event-main h3,
.rail-card h3,
.theory-focus h3,
.theory-card h3,
.media-card h3,
.name-fragment h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(7, 7, 12, 0.3);
}

.hero-copy h1 span {
  color: var(--purple);
}

.hero-lead,
.hero-sublead,
.section-heading p,
.event-main p,
.rail-card p,
.theory-focus p,
.theory-card p,
.media-card p,
.name-fragment p,
.color-chip p,
.status-card p {
  color: var(--muted);
}

.hero-lead {
  margin: 28px 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-sublead {
  margin: 2px 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 16px 22px;
  border-radius: 12px;
  border: 1px solid rgba(174, 140, 255, 0.6);
  background: rgba(10, 9, 16, 0.35);
  color: var(--text);
  text-decoration: none;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

.archive-button:hover,
.archive-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(209, 192, 255, 0.82);
  background: rgba(14, 12, 22, 0.52);
}

.archive-button.compact {
  margin-top: 20px;
  padding: 13px 18px;
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 16px;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 239, 251, 0.88);
}

.footer-line::before,
.footer-line::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, rgba(174, 140, 255, 0.28), rgba(174, 140, 255, 0.05));
  flex: 1;
}

.footer-line-left::before {
  max-width: 120px;
}

.footer-line-right {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer-line-right::before,
.footer-line-right::after {
  display: none;
}

.footer-line-right strong {
  color: var(--purple-soft);
  font-weight: 600;
}

.footer-mark {
  color: var(--purple-soft);
  font-size: 1rem;
  padding-bottom: 2px;
}

.content-sections {
  background:
    linear-gradient(180deg, rgba(6, 5, 10, 0.94), rgba(8, 7, 13, 0.98));
  padding: 28px 4.5vw 64px;
  display: grid;
  gap: 22px;
}

.section-panel,
.site-footer {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow);
}

.section-panel {
  padding: 28px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.section-heading {
  max-width: 100%;
  min-width: 0;
}

.section-label,
.mini-label,
.event-type {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--purple-soft);
}

.section-heading h2 {
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  line-height: 1;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.section-heading p {
  margin: 12px 0 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.archive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.event-filter-shell {
  margin-top: 24px;
}

.event-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(170px, 0.55fr)) auto;
  gap: 12px;
  margin-top: 16px;
  align-items: end;
}

.event-filter-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.event-filter-field span,
.event-filter-status {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.event-filter-field input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background: rgba(10, 9, 18, 0.82);
  color: var(--text);
  font: inherit;
}

.event-filter-field select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 13px 42px 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 11, 21, 0.94), rgba(12, 11, 21, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23d8c7ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4' d='M3 5.25 7 9l4-3.75'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  color: var(--text);
  font: inherit;
  appearance: none;
}

.event-filter-field input::placeholder {
  color: rgba(198, 189, 212, 0.72);
}

.event-filter-field input:focus-visible,
.event-filter-field select:focus-visible {
  outline: 1px solid rgba(216, 138, 242, 0.54);
  outline-offset: 2px;
}

.event-filter-field select,
.archive-filter-grid .event-filter-search input {
  color-scheme: dark;
}

.event-filter-field select option,
.event-filter-field select optgroup {
  background: #0b0915;
  color: #f3eefb;
}

.event-filter-reset {
  min-height: 50px;
}

.archive-media-filter-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.event-filter-status {
  margin: 16px 0 0;
}

.event-filter-empty {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(205, 186, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-align: center;
}

.event-filter-shell {
  margin-top: 24px;
}

.event-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(170px, 0.55fr)) auto;
  gap: 12px;
  margin-top: 16px;
  align-items: end;
}

.event-filter-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.event-filter-field span,
.event-filter-status {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.event-filter-field input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background: rgba(10, 9, 18, 0.82);
  color: var(--text);
  font: inherit;
}

.event-filter-field select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 13px 42px 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 11, 21, 0.94), rgba(12, 11, 21, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23d8c7ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4' d='M3 5.25 7 9l4-3.75'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  color: var(--text);
  font: inherit;
  appearance: none;
}

.event-filter-field input::placeholder {
  color: rgba(198, 189, 212, 0.72);
}

.event-filter-field input:focus-visible,
.event-filter-field select:focus-visible {
  outline: 1px solid rgba(216, 138, 242, 0.54);
  outline-offset: 2px;
}

.event-filter-reset {
  min-height: 50px;
}

.event-filter-status {
  margin: 16px 0 0;
}

.event-filter-empty {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(205, 186, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-align: center;
}

.filter-pill {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.filter-pill.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(174, 140, 255, 0.24), rgba(174, 140, 255, 0.08));
  border-color: var(--line-strong);
}

.signal-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 22px;
}

.event-banner-grid,
.archive-index-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.archive-index-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-list {
  display: grid;
  gap: 14px;
}

.event-strip,
.status-card,
.theory-focus,
.theory-card,
.media-card,
.about-card,
.rail-card {
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: var(--surface-card);
}

.event-strip {
  padding: 22px;
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-strip:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 186, 255, 0.24);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.event-banner-card {
  height: 100%;
}

.event-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.event-meta {
  margin: 0;
  color: var(--gold);
  font-size: 0.92rem;
}

.event-main {
  margin-top: 14px;
}

.event-main h3,
.rail-card h3,
.theory-focus h3,
.theory-card h3,
.media-card h3,
.name-fragment h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.02;
}

.event-main p,
.rail-card p,
.theory-focus p,
.theory-card p,
.media-card p,
.name-fragment p,
.signal-points,
.status-card p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.event-tail {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.countdown-badge {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
  padding: 14px 16px 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(174, 140, 255, 0.2), rgba(63, 140, 248, 0.08)),
    rgba(12, 11, 21, 0.92);
  border: 1px solid rgba(216, 138, 242, 0.22);
  color: var(--text);
  font-weight: 700;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 32px rgba(0, 0, 0, 0.24);
}

.countdown-badge::before {
  content: "";
  position: absolute;
  inset: -28% auto auto 68%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 138, 242, 0.24), transparent 70%);
  pointer-events: none;
}

.countdown-caption,
.countdown-note,
.countdown-complete {
  position: relative;
  z-index: 1;
}

.countdown-caption {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.countdown-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown-unit {
  padding: 10px 8px 9px;
  border-radius: 16px;
  text-align: center;
  background: rgba(8, 8, 16, 0.62);
  border: 1px solid rgba(205, 186, 255, 0.12);
  backdrop-filter: blur(8px);
}

.countdown-value {
  display: block;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #f7f2ff;
  text-shadow: 0 0 16px rgba(216, 138, 242, 0.22);
}

.countdown-value.is-ticking {
  animation: countdown-pop 420ms ease;
}

.countdown-unit-label {
  display: block;
  margin-top: 7px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-note {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 251, 0.76);
}

.countdown-complete {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.countdown-badge.is-complete {
  width: fit-content;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

@keyframes countdown-pop {
  0% {
    transform: translateY(5px);
    opacity: 0.35;
  }

  55% {
    transform: translateY(-2px) scale(1.05);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.archive-sidebar {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(174, 140, 255, 0.08), rgba(174, 140, 255, 0.02)),
    var(--surface-soft);
}

.status-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.status-card {
  padding: 16px;
  border-radius: 18px;
}

.status-card span {
  display: block;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--purple-soft);
}

.status-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.memory-rail {
  margin-top: 26px;
  display: grid;
  gap: 16px;
  position: relative;
}

.memory-rail::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(174, 140, 255, 0.55), rgba(174, 140, 255, 0.12));
}

.rail-stop {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rail-year {
  position: relative;
  padding-top: 10px;
  color: var(--purple-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rail-year::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px rgba(174, 140, 255, 0.35);
}

.rail-card {
  padding: 22px;
  border-radius: 24px;
}

.timeline-experience {
  margin-top: 28px;
  min-width: 0;
}

.timeline-orbit {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
  padding: 10px 0 6px;
  min-width: 0;
}

.timeline-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(216, 138, 242, 0.08),
    rgba(216, 138, 242, 0.72) 18%,
    rgba(63, 140, 248, 0.62) 50%,
    rgba(216, 138, 242, 0.72) 82%,
    rgba(216, 138, 242, 0.08)
  );
  transform: translateX(-50%);
}

.timeline-node {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.timeline-node:hover,
.timeline-node:focus-visible {
  transform: translateY(-3px);
}

.timeline-node.is-active {
  transform: translateY(-4px);
}

.timeline-node-branch {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.timeline-node-branch-left {
  text-align: right;
}

.timeline-node-branch-right {
  text-align: left;
}

.timeline-node-preview {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-node-branch-left .timeline-node-preview {
  justify-content: flex-end;
}

.timeline-node-branch-right .timeline-node-preview {
  justify-content: flex-start;
}

.timeline-node-thumb {
  width: 74px;
  height: 74px;
  display: inline-flex;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(205, 186, 255, 0.18);
  background:
    radial-gradient(circle at center, rgba(174, 140, 255, 0.2), rgba(8, 8, 16, 0.86));
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.02),
    0 12px 22px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}

.timeline-node-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}

.timeline-node-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}

.timeline-node-marker {
  width: 76px;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.timeline-node-marker::before,
.timeline-node-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(216, 138, 242, 0.36);
  transform: translateX(-50%);
}

.timeline-node-marker::before {
  top: 0;
  height: 30px;
}

.timeline-node-marker::after {
  bottom: 0;
  height: 30px;
}

.timeline-node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 22%, rgba(216, 138, 242, 0.95) 32%, rgba(63, 140, 248, 0.86) 100%);
  box-shadow: 0 0 16px rgba(216, 138, 242, 0.45);
}

.timeline-node-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  width: min(100%, 250px);
}

.timeline-node-copy strong {
  font-size: 0.95rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.timeline-node-date {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.timeline-node-detail {
  display: none;
  width: min(100%, 390px);
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background:
    radial-gradient(circle at 82% 18%, rgba(174, 140, 255, 0.18), transparent 26%),
    rgba(10, 10, 18, 0.84);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.timeline-node.is-active .timeline-node-detail {
  display: grid;
}

.timeline-node-branch-left .timeline-node-detail {
  justify-self: end;
}

.timeline-node-branch-right .timeline-node-detail {
  justify-self: start;
}

.timeline-node-detail-visual {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%);
}

.timeline-node-detail-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  mix-blend-mode: screen;
}

.timeline-node-detail-visual video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #04040a;
}

.timeline-node-detail-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.timeline-node-detail-copy .section-label {
  margin: 0;
}

.timeline-node-detail-copy strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.timeline-node-detail-copy span:last-child {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.timeline-node-detail-copy > .timeline-node-detail-visual {
  margin-top: 2px;
}

.theory-hub-sections {
  grid-template-columns: minmax(0, 1.35fr) 360px;
  grid-template-areas:
    "board board"
    "results results"
    "lore lore"
    "tarot tarot";
  gap: 20px;
}

.theory-board-panel {
  grid-area: board;
}

.tarot-panel {
  grid-area: tarot;
}

.theory-lore-panel {
  grid-area: lore;
}

.theory-results-panel {
  grid-area: results;
}

.theory-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
}

.theory-hero-copy {
  max-width: 820px;
}

.theory-hero-copy h1 {
  margin: 0;
  max-width: 13ch;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 5.3vw, 5.3rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.theory-hero-copy h1 span {
  color: var(--purple);
}

.theory-hero-copy > p:last-child {
  max-width: 39rem;
  margin: 24px 0 0;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(235, 231, 255, 0.88);
}

.theory-overview-panel {
  align-self: end;
  justify-self: end;
  width: 100%;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background:
    radial-gradient(circle at 82% 18%, rgba(174, 140, 255, 0.15), transparent 28%),
    rgba(10, 10, 18, 0.82);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.2);
}

.theory-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.theory-overview-grid article {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.theory-overview-grid strong {
  display: block;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
  color: #f7f2ff;
}

.theory-overview-grid span {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.theory-signal-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.theory-path-chip {
  display: inline-grid;
  justify-items: center;
  gap: 5px;
  min-width: 128px;
  padding: 14px 18px 15px;
  border-radius: 999px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.theory-path-chip strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.theory-path-chip.is-active,
.theory-path-chip:hover,
.theory-path-chip:focus-visible {
  border-color: rgba(216, 138, 242, 0.44);
  background: rgba(216, 138, 242, 0.13);
  box-shadow: inset 0 0 24px rgba(216, 138, 242, 0.08);
}

.theory-path-count {
  color: var(--purple-soft);
  font-size: 0.82rem;
}

.theory-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  gap: 20px;
}

.theory-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.theory-feature-card,
.theory-result-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at 84% 16%, rgba(174, 140, 255, 0.09), transparent 22%),
    rgba(255, 255, 255, 0.03);
}

.theory-feature-card.is-tarot,
.theory-result-card.is-tarot,
.tarot-panel,
.tarot-spotlight-card {
  border-color: rgba(235, 204, 255, 0.18);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 138, 242, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(29, 16, 42, 0.92), rgba(10, 8, 18, 0.94));
}

.theory-card-visual,
.tarot-spotlight-visual {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.24), transparent 70%),
    rgba(6, 6, 14, 0.94);
  cursor: pointer;
  text-align: left;
}

.theory-card-visual {
  aspect-ratio: 0.92 / 1;
}

.tarot-spotlight-visual {
  aspect-ratio: 0.84 / 1;
}

.theory-card-visual img,
.theory-card-visual video,
.tarot-spotlight-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.theory-card-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.24);
  background: rgba(8, 8, 16, 0.82);
  color: #f4ecff;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theory-card-copy h3,
.lore-card-copy h3,
.tarot-spotlight-copy h3,
.theory-open-item h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.04;
}

.theory-card-copy h3 {
  font-size: clamp(1.36rem, 1.8vw, 1.88rem);
}

.theory-card-copy p,
.tarot-spotlight-copy p,
.theory-open-item p,
.lore-card-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.theory-side-stack {
  display: grid;
  gap: 20px;
}

.tarot-spotlight-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 24px;
}

.tarot-layer-feature,
.tarot-layer-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(235, 204, 255, 0.14);
  background:
    radial-gradient(circle at 84% 16%, rgba(216, 138, 242, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.03);
}

.tarot-layer-feature {
  margin-top: 18px;
}

.tarot-layer-feature h3,
.tarot-layer-item h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.34rem, 1.8vw, 1.9rem);
  font-weight: 400;
  line-height: 1.02;
}

.tarot-layer-reading,
.tarot-layer-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tarot-layer-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.theory-open-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.theory-open-item {
  display: grid;
  gap: 8px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(205, 186, 255, 0.1);
}

.theory-open-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.theory-open-trigger {
  font-family: "Instrument Serif", serif;
  font-size: 1.28rem;
  line-height: 1.06;
}

.theory-lore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.lore-card {
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at 82% 18%, rgba(63, 140, 248, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.03);
}

.lore-card-inner {
  display: block;
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.lore-card-copy h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
}

.theory-filter-shell {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.theory-filter-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}

.theory-filter-grid .event-filter-search {
  grid-column: 1 / -1;
  width: min(100%, 980px);
}

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

.theory-dossier-copy {
  gap: 10px;
}

.theory-dossier-topline {
  align-items: center;
}

.theory-dossier-subtitle {
  margin: 2px 0 0;
  color: #d8c4ff;
  font-family: "Instrument Serif", serif;
  font-size: 1.28rem;
  line-height: 1.14;
}

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

.theory-meter-block {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(205, 186, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.theory-meter-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(222, 214, 246, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theory-meter-block strong {
  display: block;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
}

.theory-meter-stars {
  display: flex;
  gap: 6px;
  line-height: 1;
}

.theory-meter-star {
  color: rgba(205, 186, 255, 0.28);
  font-size: 0.9rem;
}

.theory-meter-star.is-active {
  color: #d88af2;
  text-shadow: 0 0 12px rgba(216, 138, 242, 0.34);
}

.theory-dossier-shell {
  display: grid;
  gap: 24px;
}

.theory-dossier-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 22px;
  align-items: start;
}

.theory-dossier-hero-visual {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.2), transparent 70%),
    rgba(8, 8, 16, 0.92);
}

.theory-dossier-hero-visual img,
.theory-dossier-hero-visual video {
  width: 100%;
  display: block;
  object-fit: cover;
}

.theory-dossier-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.theory-dossier-hero-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.35rem, 3vw, 3.35rem);
  font-weight: 400;
  line-height: 0.95;
}

.theory-dossier-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.theory-dossier-meta-grid article {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.theory-dossier-meta-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(222, 214, 246, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theory-dossier-meta-grid strong {
  display: block;
  font-size: 0.92rem;
}

.theory-dossier-section {
  display: grid;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(205, 186, 255, 0.1);
}

.theory-dossier-section-heading {
  display: grid;
  gap: 6px;
}

.theory-dossier-section-heading h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  font-weight: 400;
  line-height: 1.03;
}

.theory-dossier-block-stack {
  display: grid;
  gap: 14px;
}

.theory-dossier-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(205, 186, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.theory-dossier-analysis {
  background:
    radial-gradient(circle at 84% 16%, rgba(216, 138, 242, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.03);
}

.theory-dossier-block-visual {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.1);
  background: rgba(8, 8, 16, 0.92);
}

.theory-dossier-block-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.theory-dossier-block-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.theory-dossier-block-copy h4 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.02;
}

.theory-dossier-richtext {
  display: grid;
  gap: 12px;
}

.theory-dossier-richtext p {
  margin: 0;
  color: rgba(239, 236, 248, 0.9);
  line-height: 1.8;
}

.theory-dossier-caption {
  margin: 0;
  color: rgba(222, 214, 246, 0.72);
  font-size: 0.84rem;
  line-height: 1.65;
}

.theory-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.theory-evidence-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(205, 186, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.theory-evidence-visual {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.theory-evidence-card img,
.theory-evidence-card video {
  width: 100%;
  aspect-ratio: 1.08 / 1;
  display: block;
  object-fit: cover;
}

.theory-media-modal[hidden] {
  display: none;
}

.theory-media-modal {
  z-index: 1120;
}

.theory-media-dialog {
  max-width: min(1040px, calc(100vw - 40px));
}

.theory-media-grid {
  align-items: start;
}

.theory-media-caption,
.theory-media-note {
  margin-top: 10px;
}

.theory-evidence-copy {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.theory-evidence-copy strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.08;
}

.theory-evidence-copy p,
.theory-evidence-time {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.theory-evidence-time {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theory-dossier-final {
  border-top-color: rgba(216, 138, 242, 0.16);
}

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

.theory-related-chip {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
}

.theory-related-chip span {
  color: rgba(222, 214, 246, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theory-related-chip strong {
  font-size: 0.96rem;
  line-height: 1.45;
}

.tarot-chamber-hero {
  position: relative;
  overflow: hidden;
}

.tarot-chamber-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(216, 138, 242, 0.18), transparent 22%),
    radial-gradient(circle at 78% 62%, rgba(63, 140, 248, 0.12), transparent 24%);
  pointer-events: none;
}

.tarot-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
}

.tarot-hero-copy {
  max-width: 760px;
}

.tarot-hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 5.1vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tarot-hero-copy h1 span,
.tarot-board-panel h2 span {
  color: #f1c0ff;
}

.tarot-hero-copy > p:last-child {
  max-width: 40rem;
  margin: 24px 0 0;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(235, 231, 255, 0.88);
}

.tarot-hero-actions {
  margin-top: 24px;
}

.tarot-overview-panel,
.tarot-board-panel,
.tarot-featured-panel,
.tarot-lore-panel,
.tarot-results-panel {
  border-color: rgba(235, 204, 255, 0.18);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 138, 242, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(29, 16, 42, 0.92), rgba(10, 8, 18, 0.94));
}

.tarot-overview-panel {
  align-self: end;
  justify-self: end;
  width: 100%;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid rgba(235, 204, 255, 0.18);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.24);
}

.tarot-chamber-root {
  gap: 20px;
}

.tarot-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 360px;
  gap: 20px;
}

.tarot-featured-grid {
  margin-top: 22px;
}

.tarot-side-stack {
  gap: 20px;
}

.tarot-lore-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.tarot-panel-actions {
  margin-top: 16px;
}

.tarot-results-grid-grid .theory-card-visual {
  aspect-ratio: 0.9 / 1.04;
}

.tarot-room-sections {
  gap: 20px;
}

.tarot-spread-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 26px;
  margin-top: 22px;
  align-items: start;
}

.tarot-spread-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 0.98;
}

.tarot-spread-summary {
  margin: 12px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(245, 238, 255, 0.92);
}

.tarot-spread-reading {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.tarot-spread-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 14px;
}

.tarot-spread-slot,
.tarot-reading-card,
.tarot-card-item {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(235, 204, 255, 0.14);
  background:
    radial-gradient(circle at 84% 16%, rgba(216, 138, 242, 0.12), transparent 22%),
    rgba(255, 255, 255, 0.03);
}

.tarot-spread-slot {
  display: grid;
  gap: 8px;
}

.tarot-spread-slot strong,
.tarot-reading-card h3,
.tarot-card-library-copy h3,
.tarot-card-modal-copy h2,
.tarot-reading-modal-content h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.02;
}

.tarot-spread-slot strong,
.tarot-card-library-copy h3 {
  font-size: 1.25rem;
}

.tarot-spread-slot span,
.tarot-card-library-copy span,
.tarot-card-modal-meta {
  color: var(--muted);
}

.tarot-spread-card-visual,
.tarot-card-library-visual,
.tarot-reading-mini {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.24), transparent 70%),
    rgba(6, 6, 14, 0.94);
  cursor: pointer;
}

.tarot-spread-card-visual img,
.tarot-card-library-visual img,
.tarot-reading-mini img,
.tarot-modal-card-slot img,
.tarot-card-modal-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.tarot-spread-card-visual.is-reversed img,
.tarot-reading-mini.is-reversed img,
.tarot-modal-card-slot.is-reversed img {
  transform: rotate(180deg);
}

.tarot-spread-slot.is-reversed .event-type,
.tarot-reading-mini-shell.is-reversed span,
.tarot-modal-card-slot.is-reversed span {
  color: rgba(235, 204, 255, 0.96);
}

.tarot-spread-card-visual {
  aspect-ratio: 0.72 / 1.12;
}

.tarot-card-filter-grid {
  grid-template-columns: minmax(0, 1fr) 240px;
}

.tarot-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tarot-card-item {
  padding: 12px;
  display: grid;
  gap: 12px;
}

.tarot-card-library-visual {
  aspect-ratio: 0.72 / 1.12;
}

.tarot-card-library-copy {
  display: grid;
  gap: 6px;
}

.tarot-card-library-copy .archive-card-tags {
  margin-top: 4px;
}

.tarot-readings-panel .theory-filter-shell {
  margin-top: 22px;
}

.tarot-reading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tarot-reading-card {
  display: grid;
  gap: 12px;
}

.tarot-reading-card h3 {
  font-size: clamp(1.34rem, 1.8vw, 1.82rem);
}

.tarot-reading-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.tarot-reading-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 981px) {
  .tarot-readings-panel .tarot-reading-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tarot-reading-strip.tarot-layer-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tarot-reading-strip.tarot-layer-strip {
  margin-top: 4px;
}

.tarot-reading-mini-shell {
  display: grid;
  gap: 6px;
}

.tarot-reading-mini {
  aspect-ratio: 0.6 / 1;
}

.tarot-reading-mini span {
  display: block;
  padding: 6px 2px 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.tarot-reading-modal,
.tarot-card-modal {
  position: fixed;
  inset: 0;
  z-index: 1110;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.tarot-reading-modal[hidden],
.tarot-card-modal[hidden] {
  display: none;
}

.tarot-reading-modal-body,
.tarot-card-modal-body {
  display: grid;
  gap: 18px;
}

.tarot-reading-modal-content {
  display: grid;
  gap: 22px;
}

.tarot-reading-modal-content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.tarot-reading-modal-summary {
  margin: 0;
  color: rgba(245, 238, 255, 0.92);
  line-height: 1.68;
}

.tarot-reading-modal-content .theory-modal-body {
  margin-top: 6px;
}

.tarot-modal-spread-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.tarot-modal-card-slot {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(235, 204, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.tarot-modal-card-slot strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.04;
}

.tarot-modal-card-slot span,
.tarot-modal-card-slot p:last-child {
  color: var(--muted);
}

.tarot-card-modal-dialog {
  width: min(100%, 900px);
}

.tarot-card-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: 24px;
}

.tarot-card-modal-visual {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%),
    rgba(6, 6, 14, 0.94);
}

.tarot-card-modal-copy {
  display: grid;
  gap: 12px;
}

.tarot-card-modal-copy p {
  margin: 0;
  color: rgba(239, 236, 248, 0.9);
  line-height: 1.72;
}

.theory-modal,
.theory-media-modal,
.lore-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.theory-modal[hidden],
.theory-media-modal[hidden],
.lore-modal[hidden] {
  display: none;
}

.theory-modal-backdrop,
.lore-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 10, 0.78);
  backdrop-filter: blur(6px);
}

.theory-modal-dialog,
.theory-media-dialog,
.lore-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background: rgba(10, 10, 18, 0.96);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.34);
}

.lore-modal-dialog {
  width: min(100%, 880px);
}

.theory-modal-close,
.lore-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(205, 186, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 1.35rem;
}

.lore-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.lore-modal-visual {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%),
    rgba(6, 6, 14, 0.94);
}

.lore-modal-visual img {
  max-width: 100%;
  margin: auto;
  display: block;
}

.lore-modal-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.lore-modal-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
}

.lore-modal-short,
.lore-modal-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.theory-modal-shell {
  display: grid;
}

.lore-inline-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  border: 0;
  border-bottom: 1px dashed rgba(216, 138, 242, 0.48);
  background: transparent;
  color: var(--purple-soft);
  font: inherit;
  cursor: pointer;
}

.lore-inline-trigger:hover,
.lore-inline-trigger:focus-visible {
  color: #f2c9ff;
}

.media-grid,
.about-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  min-width: 0;
}

.media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-card {
  min-height: 220px;
}

.media-index,
.theory-index {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr 0.85fr;
}

.identity-shell {
  padding-top: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 72, 168, 0.12), transparent 42%),
    rgba(6, 6, 14, 0.18);
}

.about-intro-shell,
.about-lore-shell {
  gap: 24px;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.84fr);
  gap: 24px;
  align-items: center;
}

.about-intro-copy {
  max-width: 920px;
}

.about-intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-intro-visual {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%),
    rgba(6, 6, 14, 0.94);
  min-width: 0;
}

.about-intro-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about-lore-copy {
  margin-top: -8px;
}

.identity-heading {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.identity-heading h2 {
  max-width: none;
  font-size: clamp(2.7rem, 4.5vw, 4.65rem);
  line-height: 1.08;
}

.identity-heading-dossier {
  position: relative;
  padding-top: 8px;
}

.identity-heading-dossier::before,
.identity-heading-dossier::after {
  content: "";
  position: absolute;
  top: 26px;
  width: clamp(160px, 20vw, 260px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 138, 242, 0.7), transparent);
}

.identity-heading-dossier::before {
  left: 0;
}

.identity-heading-dossier::after {
  right: 0;
}

.identity-top-grid,
.identity-bottom-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.identity-top-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.16fr) minmax(0, 0.96fr);
}

.identity-bottom-grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.82fr);
}

.identity-card {
  min-width: 0;
  border-radius: 26px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background:
    radial-gradient(circle at 84% 18%, rgba(174, 140, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(9, 9, 18, 0.86), rgba(9, 9, 18, 0.7)),
    rgba(8, 8, 16, 0.42);
  overflow: hidden;
}

.identity-name-card,
.identity-meaning-card,
.identity-mark-card,
.identity-palette-showcase,
.identity-palette-meaning {
  padding: 22px 26px 24px;
}

.identity-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.identity-card-head-center {
  justify-content: center;
}

.identity-card-head .mini-label {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
}

.identity-card-star {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(216, 138, 242, 0.22);
  background:
    radial-gradient(circle at center, rgba(174, 140, 255, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.identity-card-star::before,
.identity-card-star::after {
  content: "";
  position: absolute;
  inset: 50%;
  background: rgba(243, 222, 255, 0.92);
  transform: translate(-50%, -50%);
}

.identity-card-star::before {
  width: 1px;
  height: 18px;
}

.identity-card-star::after {
  width: 18px;
  height: 1px;
}

.identity-copy {
  margin: 16px 0 0;
  color: rgba(239, 236, 248, 0.8);
  line-height: 1.72;
}

.identity-fragment-list {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.identity-fragment-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.identity-fragment-row + .identity-fragment-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(205, 186, 255, 0.12);
}

.identity-fragment-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(216, 138, 242, 0.26);
  background: rgba(255, 255, 255, 0.03);
  color: var(--purple-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.identity-fragment-copy h3 {
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 0.96;
  font-family: "Instrument Serif", serif;
  margin: auto;
}

.identity-fragment-copy p {
  margin-top: 14px;
}

.identity-meaning-card {
  text-align: center;
  overflow: hidden;
}

.identity-name-visual {
  margin-top: 8px;
}

.identity-name-visual img {
  width: min(100%, 520px);
  display: block;
  margin: 0 auto;
}

.identity-fragment-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.identity-meaning-card .identity-copy {
  max-width: 560px;
  margin: 20px auto 0;
}

.identity-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(205, 186, 255, 0.12);
}

.identity-triad-item {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 0 12px;
}

.identity-triad-item + .identity-triad-item {
  border-left: 1px solid rgba(205, 186, 255, 0.12);
}

.identity-triad-icon {
  color: var(--purple-soft);
  font-size: 1.8rem;
  line-height: 1;
}

.identity-triad-item strong {
  color: rgba(245, 238, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-transform: uppercase;
}

.club-mark-frame {
  position: relative;
  margin-top: 8px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(216, 138, 242, 0.18);
  background:
    radial-gradient(circle at center, rgba(174, 140, 255, 0.1), transparent 60%),
    rgba(7, 7, 15, 0.72);
  overflow: hidden;
}

.club-mark-frame img {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  display: block;
  margin: 0 auto;
}

.club-mark-frame-large img {
  width: min(100%, 322px);
}

.club-mark-caption {
  margin: 16px 0 0;
  color: rgba(239, 236, 248, 0.74);
  line-height: 1.66;
  font-size: 1.06rem;
}

.identity-palette-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.identity-swatch-card {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.identity-swatch {
  display: block;
  width: 100%;
  height: 88px;
  border-radius: 18px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.identity-swatch-card strong {
  color: rgba(245, 238, 255, 0.92);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.identity-meaning-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.identity-meaning-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.identity-meaning-swatch {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.identity-meaning-item strong {
  display: block;
  color: rgba(245, 238, 255, 0.94);
  font-size: 0.94rem;
}

.identity-meaning-item p {
  margin: 4px 0 0;
  color: rgba(239, 236, 248, 0.78);
  line-height: 1.66;
}

.name-stack {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.name-fragment + .name-fragment {
  padding-top: 14px;
  border-top: 1px solid rgba(205, 186, 255, 0.12);
}

.color-legend {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.color-chip {
  display: grid;
  grid-template-columns: 18px auto;
  gap: 8px 12px;
  align-items: center;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.color-chip strong {
  color: var(--text);
  font-size: 0.94rem;
}

.color-chip p {
  grid-column: 2;
  margin-top: -2px;
}

.logo-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-card img {
  width: min(100%, 280px);
  display: block;
  margin-top: 12px;
}

.tone-blue {
  color: var(--purple);
}

.tone-silver {
  color: var(--purple-soft);
}

.tone-pink {
  color: #d6b0ff;
}

.tone-sky {
  color: #b89eff;
}

.tone-violet {
  color: #e5cfff;
}

.site-footer {
  margin: 22px 4.5vw 28px;
  min-height: 92px;
  padding: 0 28px;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--line-strong);
  background: rgba(174, 140, 255, 0.08);
  transform: translateY(-2px);
}

.is-hidden {
  display: none;
}

[data-event-card].is-hidden,
.event-strip.is-hidden,
.cosmic-event-card.is-hidden,
.archive-result-card.is-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .signal-board,
  .theories-layout,
  .media-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .archive-index-grid,
  .compact-grid,
  .event-banner-grid {
    grid-template-columns: 1fr;
  }

  .theory-card:nth-of-type(3) {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .hero-header,
  .hero-header.is-scrolled,
  .hero-header.is-menu-open {
    border-color: rgba(214, 202, 255, 0.14);
    background: rgba(8, 8, 16, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  }

  .hero-header,
  .hero-footer,
  .event-topline,
  .rail-stop {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-header {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: initial;
    align-items: center;
  }

  .logo-lockup {
    min-width: 0;
  }

  .logo-lockup {
    gap: 12px;
  }

  .hero-menu-toggle {
    display: inline-flex;
  }

  .hero-header-actions {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(214, 202, 255, 0.12);
    background: rgba(8, 8, 16, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    margin-left: 0;
  }

  .hero-header.is-menu-open .hero-header-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-nav {
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .footer-line::before,
  .footer-line::after,
  .footer-mark,
  .memory-rail::before,
  .rail-year::after {
    display: none;
  }

  .hero-footer {
    gap: 10px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-screen {
    padding: 108px 18px 28px;
    background-position: 66% center;
  }

  .content-sections {
    padding: 20px 18px 48px;
  }

  .section-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-nav a {
    font-size: 0.8rem;
  }

  .logo-wordmark strong {
    font-size: clamp(1.25rem, 7vw, 1.9rem);
  }

  .logo-wordmark span {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .hero-screen,
  .site-footer {
    min-height: auto;
  }

  .site-footer {
    margin: 20px 18px 0;
    border-radius: 24px;
    padding: 18px 22px;
  }
}

body.has-north-star-cursor,
body.has-north-star-cursor a,
body.has-north-star-cursor button,
body.has-north-star-cursor input,
body.has-north-star-cursor textarea,
body.has-north-star-cursor select,
body.has-north-star-cursor label,
body.has-north-star-cursor summary {
  cursor: none !important;
}

.north-star-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
  transition: opacity 120ms ease, filter 120ms ease;
  background: url("../img/cursor.png") center center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(216, 138, 242, 0.24));
}

.north-star-cursor.is-visible {
  opacity: 1;
}

.north-star-cursor.is-hovering {
  filter: drop-shadow(0 0 16px rgba(216, 138, 242, 0.42));
}

.home-shell {
  padding-bottom: 22px;
}

.home-hero {
  min-height: 760px;
  padding-bottom: 58px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 11, 0.95) 0%, rgba(4, 4, 11, 0.86) 20%, rgba(4, 4, 11, 0.48) 42%, rgba(4, 4, 11, 0.28) 100%);
  pointer-events: none;
}

.hero-header {
  align-items: center;
}

.hero-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
}

.hero-nav {
  gap: 18px 32px;
  padding-top: 0;
}

.hero-nav a {
  position: relative;
  padding-bottom: 14px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.hero-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 138, 242, 0), rgba(216, 138, 242, 0.96), rgba(63, 140, 248, 0.75));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.hero-nav a.is-active::after,
.hero-nav a:hover::after,
.hero-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-header.is-menu-open .hero-menu-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hero-header.is-menu-open .hero-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.hero-header.is-menu-open .hero-menu-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.hero-utility {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.56);
  text-decoration: none;
  font-size: 1.4rem;
  color: var(--purple-soft);
  background: rgba(10, 10, 18, 0.4);
  box-shadow: inset 0 0 20px rgba(216, 138, 242, 0.08);
}

.hero-utility:hover,
.hero-utility:focus-visible {
  background: rgba(174, 140, 255, 0.12);
}

.home-hero-grid {
  min-height: 620px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 84px 0 10px;
}

.home-hero-copy {
  max-width: 430px;
}

.signal-button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 30px;
}

.signal-button {
  margin-top: 0;
  min-width: 248px;
  min-height: 54px;
  padding: 14px 20px;
}

.signal-button-primary {
  background: linear-gradient(90deg, rgba(216, 138, 242, 0.96), rgba(174, 140, 255, 0.95));
  border-color: transparent;
  color: #160b25;
  box-shadow: 0 12px 30px rgba(174, 140, 255, 0.32);
}

.signal-button-secondary {
  background: rgba(7, 8, 15, 0.24);
  border-color: rgba(216, 138, 242, 0.56);
}

.hero-motto-line {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: rgba(244, 239, 251, 0.84);
}

.hero-motto-line::before {
  content: "";
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 138, 242, 0), rgba(216, 138, 242, 0.64), rgba(216, 138, 242, 0));
}

.hero-side-note {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  right: 4.5vw;
  bottom: 34px;
  z-index: 2;
  margin: 0;
  color: rgba(244, 239, 251, 0.88);
}

.hero-side-note strong,
.hero-side-note span {
  display: block;
}

.hero-side-note strong {
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-side-note span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-side-star {
  color: var(--purple-soft);
  font-size: 1.55rem;
  text-shadow: 0 0 12px rgba(216, 138, 242, 0.7);
}

.home-sections {
  margin-top: -10px;
  padding-top: 0;
}

.daily-signal-panel {
  gap: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.daily-signal-panel-hero {
  position: absolute;
  right: 4.5vw;
  bottom: 138px;
  z-index: 2;
  width: min(430px, 35vw);
  padding: 16px;
  gap: 14px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(216, 138, 242, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 16, 29, 0.78) 0%, rgba(9, 9, 18, 0.9) 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

.daily-signal-toolbar {
  display: flex;
  justify-content: flex-end;
}

.daily-signal-panel-hero .daily-signal-actions {
  display: inline-flex;
  gap: 10px;
}

.daily-signal-icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.46);
  background: rgba(10, 10, 18, 0.44);
  color: var(--purple-soft);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.daily-signal-icon-button:hover,
.daily-signal-icon-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(174, 140, 255, 0.14);
  border-color: rgba(216, 138, 242, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.daily-signal-icon-button-primary {
  background: linear-gradient(135deg, rgba(216, 138, 242, 0.92), rgba(174, 140, 255, 0.92));
  color: #160b25;
  border-color: transparent;
}

.daily-signal-panel-hero .daily-signal-card {
  padding: 16px;
  border-radius: 22px;
  gap: 8px;
}

.daily-signal-panel-hero .daily-signal-message {
  font-size: clamp(1.28rem, 1.95vw, 1.72rem);
  line-height: 1.04;
  max-width: 14ch;
}

.daily-signal-panel-hero .daily-signal-note {
  max-width: 100%;
  font-size: 0.86rem;
  line-height: 1.58;
}

.daily-signal-panel-hero .daily-signal-signature,
.daily-signal-panel-hero .daily-signal-status {
  font-size: 0.82rem;
}

.daily-signal-panel h2 span,
.daily-signal-message span {
  color: var(--purple);
}

.daily-signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.daily-signal-card {
  display: grid;
  gap: 14px;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 138, 242, 0.12), transparent 22%),
    radial-gradient(circle at 16% 76%, rgba(111, 153, 255, 0.08), transparent 20%),
    rgba(10, 10, 18, 0.74);
}

.daily-signal-card .event-type {
  margin: 0;
}

.daily-signal-message {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 18ch;
}

.daily-signal-note {
  max-width: 62ch;
  color: var(--text-secondary);
  line-height: 1.8;
}

.daily-signal-note:empty {
  display: none;
}

.daily-signal-signature {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.96rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.daily-signal-status {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.home-timeline-panel {
  gap: 24px;
}

.home-timeline-panel h2 span {
  color: var(--purple);
}

.home-timeline-rail {
  position: relative;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(205, 186, 255, 0.34) transparent;
}

.home-timeline-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 196px;
  gap: 18px;
  align-items: start;
  min-width: max-content;
  padding: 22px 4px 2px;
}

.home-timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 58px;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 138, 242, 0.14), rgba(216, 138, 242, 0.55), rgba(216, 138, 242, 0.14));
}

.home-timeline-node {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.home-timeline-line {
  position: absolute;
  top: 50px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(227, 217, 252, 0.95), rgba(216, 138, 242, 0.92));
  box-shadow: 0 0 0 6px rgba(216, 138, 242, 0.08), 0 0 24px rgba(216, 138, 242, 0.32);
}

.home-timeline-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 0.94 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%),
    rgba(6, 6, 14, 0.94);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-timeline-thumb img,
.home-timeline-thumb video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-timeline-meta {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-inline: 4px;
}

.home-timeline-date {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.home-timeline-meta strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.home-timeline-node:hover .home-timeline-thumb,
.home-timeline-node:focus-visible .home-timeline-thumb {
  transform: translateY(-4px);
  border-color: rgba(216, 138, 242, 0.38);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.home-timeline-node:hover .home-timeline-meta strong,
.home-timeline-node:focus-visible .home-timeline-meta strong {
  color: var(--accent);
}

.home-timeline-node:focus-visible {
  outline: none;
}

.section-panel-rich {
  background:
    radial-gradient(circle at 58% 14%, rgba(174, 140, 255, 0.12), transparent 24%),
    radial-gradient(circle at 88% 62%, rgba(216, 138, 242, 0.1), transparent 18%),
    rgba(7, 7, 14, 0.84);
  border: 1px solid rgba(205, 186, 255, 0.16);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.section-heading span,
.community-visual-card p span {
  color: var(--purple);
}

.section-heading-row,
.archive-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.section-heading-row > *,
.archive-heading-row > * {
  min-width: 0;
}

.schedule-heading-row {
  align-items: flex-end;
}

.archive-hub-hero {
  overflow: visible;
}

.archive-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 32px;
  align-items: stretch;
  margin-top: 34px;
}

.archive-hero-copy {
  max-width: 760px;
}

.archive-hero-copy h1 {
  margin: 0;
  max-width: 11.5ch;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.25rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 0 28px rgba(7, 7, 12, 0.28);
}

.archive-hero-copy h1 span {
  color: var(--purple);
}

.archive-hero-copy > p:last-child {
  max-width: 34rem;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(235, 231, 255, 0.88);
}

.archive-hero-search {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(205, 186, 255, 0.18);
  background: rgba(7, 8, 15, 0.72);
  box-shadow: inset 0 0 22px rgba(216, 138, 242, 0.08);
}

.archive-hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
}

.archive-hero-search input::placeholder {
  color: rgba(244, 239, 251, 0.54);
}

.archive-hero-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-soft);
  font-size: 1.12rem;
}

.archive-overview-panel {
  align-self: end;
  justify-self: end;
  width: 100%;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 138, 242, 0.12), transparent 36%),
    rgba(10, 10, 18, 0.76);
}

.archive-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.archive-overview-grid article {
  min-width: 0;
}

.archive-overview-grid strong,
.archive-overview-grid span {
  display: block;
}

.archive-overview-grid strong {
  font-size: 2rem;
  line-height: 0.95;
}

.archive-overview-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-overview-updated {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.archive-quick-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.archive-breakdown-paths {
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 10px 12px;
}

.archive-path-chip {
  display: inline-grid;
  gap: 6px;
  min-width: 0;
  padding: 13px 18px 14px;
  border-radius: 999px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  text-align: center;
  justify-items: center;
}

.archive-path-chip strong {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-path-chip.is-active,
.archive-path-chip:hover,
.archive-path-chip:focus-visible {
  border-color: rgba(216, 138, 242, 0.44);
  background: rgba(216, 138, 242, 0.12);
  box-shadow: inset 0 0 22px rgba(216, 138, 242, 0.08);
}

.archive-path-count {
  color: var(--purple-soft);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-hub-sections {
  gap: 20px;
}

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

.archive-collection-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.archive-collection-visual {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.12);
  aspect-ratio: 1.18 / 1;
}

.archive-collection-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.archive-collection-copy h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.34rem, 1.8vw, 1.8rem);
  font-weight: 400;
  line-height: 1.02;
}

.archive-collection-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.archive-collection-copy p {
  margin: 8px 0 0;
  color: var(--muted);
}

.archive-collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.archive-collection-hero-grid {
  align-items: center;
}

.archive-overview-grid-compact {
  grid-template-columns: 1fr;
}

.archive-results-grid-tight {
  margin-top: 12px;
}

.archive-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 20px;
}

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

.archive-feature-card,
.archive-result-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.archive-feature-visual,
.archive-result-visual,
.archive-recent-visual {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.24), transparent 70%),
    rgba(6, 6, 14, 0.94);
}

.archive-card-open {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.archive-feature-visual {
  aspect-ratio: 0.82 / 1;
}

.archive-result-visual {
  aspect-ratio: 1.18 / 1;
}

.archive-recent-visual {
  width: 96px;
  aspect-ratio: 1 / 1;
  flex: 0 0 96px;
}

.archive-feature-visual img,
.archive-feature-visual video,
.archive-result-visual img,
.archive-result-visual video,
.archive-recent-visual img,
.archive-recent-visual video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.archive-feature-copy h3,
.archive-result-copy h3,
.archive-recent-copy h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.02;
}

.archive-feature-copy h3 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.archive-result-copy h3 {
  font-size: clamp(1.28rem, 1.6vw, 1.62rem);
}

.archive-feature-copy h3 a,
.archive-result-copy h3 a,
.archive-recent-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.archive-feature-copy p,
.archive-result-copy p,
.archive-recent-copy p {
  margin: 8px 0 0;
  color: var(--muted);
}

.archive-recent-list {
  display: grid;
  gap: 14px;
}

.archive-recent-item {
  display: flex;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(205, 186, 255, 0.1);
}

.archive-recent-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.archive-recent-copy {
  min-width: 0;
}

.archive-recent-copy h3 {
  font-size: 1.22rem;
}

.archive-recent-meta {
  font-size: 0.84rem;
}

.archive-filter-shell {
  display: grid;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 0;
}

.archive-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 14px 12px;
  align-items: end;
}

.archive-filter-grid .event-filter-search {
  grid-column: 1 / -1;
  width: min(100%, 980px);
}

.archive-filter-grid .event-filter-search input {
  min-height: 58px;
  padding-inline: 18px;
  border-radius: 20px;
  font-size: 1rem;
}

.archive-filter-grid .event-filter-reset {
  min-width: 172px;
  padding-inline: 22px;
  white-space: nowrap;
}

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

.archive-result-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.archive-card-meta,
.archive-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.archive-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px 7px;
  border-radius: 999px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-result-actions {
  margin-top: 14px;
}

.archive-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.archive-pagination-pages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.archive-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(205, 186, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.archive-pagination-link:hover,
.archive-pagination-link:focus-visible,
.archive-pagination-link.is-active {
  border-color: rgba(205, 186, 255, 0.52);
  background: rgba(167, 132, 255, 0.14);
  color: var(--text);
}

.carousel-arrows {
  display: flex;
  gap: 12px;
}

.carousel-arrow {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.56);
  color: var(--purple-soft);
  font-size: 1.35rem;
  box-shadow: inset 0 0 20px rgba(216, 138, 242, 0.08);
  background: rgba(8, 8, 16, 0.42);
  cursor: pointer;
}

.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.home-banner-grid {
  display: flex;
  gap: 18px;
  margin-top: 0;
  transition: transform 260ms ease;
  will-change: transform;
}

.home-banner-card {
  flex: 0 0 calc((100% - 18px) / 2);
  min-height: 254px;
  min-width: 0;
}

.schedule-carousel {
  margin-top: 26px;
  overflow: clip;
  width: 100%;
}

.schedule-footer-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.schedule-archive-button {
  margin-top: 0;
  margin-left: auto;
}

.event-card-grid {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.event-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(78, 49, 117, 0.26), transparent 68%);
  overflow: hidden;
}

.event-visual img,
.archive-dock-card img,
.community-visual-card img {
  width: 100%;
  display: block;
  mix-blend-mode: screen;
}

.event-visual img {
  transform: scale(1.08);
}

.event-copy h3 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.event-copy,
.event-main,
.event-visual,
.archive-dock-card,
.about-card,
.footer-main-row,
.footer-meta-row {
  min-width: 0;
}

.home-banner-card .event-tail {
  margin-top: 18px;
}

.event-info-line {
  margin-top: 10px;
  color: var(--purple-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.event-link-inline {
  display: inline-flex;
  margin-top: 12px;
  color: var(--purple-soft);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.event-link-inline:hover,
.event-link-inline:focus-visible {
  color: var(--text);
}

.home-about-card {
  min-height: 310px;
}

.name-card {
  background:
    radial-gradient(circle at 78% 18%, rgba(174, 140, 255, 0.26), transparent 22%),
    rgba(8, 8, 16, 0.34);
}

.palette-card {
  background:
    linear-gradient(180deg, rgba(10, 10, 19, 0.24), rgba(10, 10, 19, 0.08)),
    rgba(8, 8, 16, 0.24);
}

.logo-card img {
  width: min(100%, 320px);
  margin: auto 0 0;
}

.archive-all-button {
  margin-top: 0;
}

.archive-dock-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  min-width: 0;
}

.archive-dock-card {
  min-height: 138px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background: rgba(8, 8, 16, 0.48);
  text-decoration: none;
  text-align: center;
  min-width: 0;
}

.archive-dock-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.archive-dock-card span {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.schedule-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas: "main side";
  gap: 24px;
  align-items: start;
}

.schedule-index-main,
.schedule-types-panel {
  min-width: 0;
}

.schedule-index-main {
  grid-area: main;
}

.schedule-types-panel {
  grid-area: side;
  position: sticky;
  top: 24px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(174, 140, 255, 0.08), rgba(174, 140, 255, 0.02)),
    var(--surface-soft);
}

.schedule-types-header h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.45rem, 1.9vw, 1.9rem);
  font-weight: 400;
  line-height: 1.08;
}

.schedule-type-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.schedule-type-card {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 14px 14px 13px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(8, 8, 16, 0.46);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.schedule-type-card strong {
  font-family: "Instrument Serif", serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.1;
}

.schedule-type-note {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.72rem;
  opacity: 0.88;
  display: none;
}

.schedule-type-card:hover,
.schedule-type-card:focus-visible,
.schedule-type-card.is-active,
.schedule-type-card.active {
  transform: translateY(-2px);
  border-color: rgba(216, 138, 242, 0.46);
  background: linear-gradient(135deg, rgba(174, 140, 255, 0.18), rgba(174, 140, 255, 0.06));
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.schedule-category-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(8, 8, 16, 0.42);
}

.schedule-category-card h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.02;
}

.schedule-category-card p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.schedule-event-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.cosmic-event-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.cosmic-event-visual {
  min-height: 156px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle, rgba(78, 49, 117, 0.26), transparent 68%);
}

.cosmic-event-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  mix-blend-mode: screen;
}

.cosmic-event-copy {
  min-width: 0;
}

.cosmic-event-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 300px;
  gap: 24px;
}

.event-detail-main,
.event-detail-sidebar {
  min-width: 0;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  text-decoration: none;
  color: var(--purple-soft);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  color: var(--text);
}

.event-detail-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(260px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.event-gallery {
  display: grid;
  gap: 14px;
}

.event-detail-visual {
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%),
    rgba(6, 6, 14, 0.94);
}

.event-gallery-slide {
  display: none;
  margin: 0;
}

.event-gallery-slide.is-active {
  display: block;
}

.event-detail-visual img,
.event-detail-visual video,
.event-detail-visual iframe {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
}

.event-detail-visual img {
  mix-blend-mode: screen;
}

.event-detail-visual iframe {
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border: 0;
  background: rgba(6, 6, 14, 0.94);
}

.event-gallery-slide figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  line-height: 1.6;
  background: linear-gradient(180deg, rgba(4, 5, 12, 0) 0%, rgba(4, 5, 12, 0.74) 100%);
}

.event-gallery-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
}

.event-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}

.event-gallery-thumb {
  padding: 0;
  border: 1px solid rgba(205, 186, 255, 0.16);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 8, 16, 0.72);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-gallery-thumb:hover,
.event-gallery-thumb:focus-visible,
.event-gallery-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(216, 138, 242, 0.56);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.event-gallery-thumb img {
  width: 100%;
  height: 88px;
  display: block;
  object-fit: cover;
  mix-blend-mode: screen;
}

.event-detail-copy {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(8, 8, 16, 0.42);
  align-self: start;
}

.event-detail-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
}

.event-detail-description {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.event-detail-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(8, 8, 16, 0.46);
}

.event-detail-facts {
  display: grid;
  gap: 12px;
}

.event-detail-fact {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.event-detail-fact span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.event-detail-fact strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.5;
}

.event-detail-links {
  display: grid;
  gap: 10px;
}

.event-detail-sidebar .countdown-badge {
  width: 100%;
  max-width: none;
  padding: 13px 14px 14px;
}

.event-detail-sidebar .countdown-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-detail-sidebar .countdown-value {
  font-size: 1.18rem;
}

.event-detail-sidebar .countdown-note {
  font-size: 0.72rem;
}

.archive-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  align-items: start;
}

.archive-media-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  border-radius: 22px;
  min-height: 100%;
}

.archive-media-card-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.22), transparent 70%),
    rgba(6, 6, 14, 0.94);
  aspect-ratio: 1 / 1;
}

.archive-media-card-visual img,
.archive-media-card-visual video {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.archive-media-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.archive-media-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 14, 0.02), rgba(6, 6, 14, 0.34));
  transition: opacity 180ms ease;
}

.archive-media-open:hover::after,
.archive-media-open:focus-visible::after {
  opacity: 0.82;
}

.archive-media-open-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px 8px;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.3);
  background: rgba(8, 8, 16, 0.84);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-media-link-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(216, 138, 242, 0.16), rgba(8, 8, 16, 0.84) 68%);
}

.archive-media-link-placeholder span {
  font-size: 3rem;
  color: var(--purple-soft);
}

.archive-media-card-copy h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.08;
}

.archive-inline-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.archive-inline-open:hover,
.archive-inline-open:focus-visible {
  color: var(--purple-soft);
}

.archive-media-card-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.95rem;
}

.inline-more-link {
  margin-left: 8px;
  color: var(--purple-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.archive-media-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px 7px;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.24);
  background: rgba(216, 138, 242, 0.08);
  color: var(--purple-soft);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
}

.archive-modal[hidden] {
  display: none;
}

.archive-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.76);
  backdrop-filter: blur(10px);
}

.archive-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background: rgba(7, 7, 16, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.archive-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
}

.archive-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.archive-modal-visual {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(205, 186, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(78, 49, 117, 0.24), transparent 70%),
    rgba(6, 6, 14, 0.94);
}

.archive-modal-visual img,
.archive-modal-visual video,
.archive-modal-visual iframe {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  background: rgba(6, 6, 14, 0.94);
}

.archive-modal-visual iframe {
  aspect-ratio: 16 / 9;
  min-height: 420px;
  border: 0;
}

.archive-modal-copy {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.archive-modal-copy h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
}

.archive-modal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  white-space: pre-line;
}

.archive-modal-link.is-hidden {
  display: none;
}

.archive-media-empty {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px dashed rgba(205, 186, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.archive-media-empty h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.04;
}

.archive-media-empty p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .archive-hero-grid,
  .archive-showcase-grid,
  .archive-filter-grid,
  .theory-hero-grid,
  .theory-showcase-grid,
  .tarot-hero-grid,
  .tarot-showcase-grid,
  .tarot-spread-layout,
  .theory-dossier-hero,
  .theory-dossier-block,
  .lore-modal-grid,
  .tarot-card-modal-grid {
    grid-template-columns: 1fr;
  }

  .theory-hub-sections {
    grid-template-columns: 1fr;
    grid-template-areas:
      "board"
      "results"
      "lore"
      "tarot";
  }

  .archive-collections-grid,
  .archive-featured-grid,
  .archive-results-grid,
  .theory-featured-grid,
  .theory-results-grid,
  .theory-lore-grid,
  .tarot-reading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .tarot-card-grid,
  .tarot-modal-spread-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-detail-main {
    grid-template-columns: 1fr;
  }

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

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

  .archive-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theory-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theory-dossier-meta-grid,
  .theory-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-index-layout {
    grid-template-columns: 1fr;
  }

  .schedule-types-panel {
    position: static;
  }

  .schedule-type-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-timeline-track {
    grid-auto-columns: 168px;
    gap: 14px;
  }

  .about-intro-layout {
    grid-template-columns: 1fr;
  }

  .archive-quick-paths {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .archive-path-chip {
    flex: 0 0 120px;
  }

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

  .archive-modal-grid {
    grid-template-columns: 1fr;
  }

  .theory-signal-paths {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .theory-path-chip {
    flex: 0 0 132px;
  }

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

@media (max-width: 720px) {
  .home-timeline-track {
    grid-auto-columns: calc((100vw - 72px) / 2.5);
    gap: 10px;
    padding-top: 16px;
  }

  .home-timeline-track::before {
    top: 50px;
  }

  .home-timeline-thumb {
    aspect-ratio: 0.82 / 1;
    border-radius: 18px;
  }

  .home-timeline-meta {
    gap: 4px;
    padding-inline: 2px;
  }

  .home-timeline-date {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .home-timeline-meta strong {
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .archive-collections-grid,
  .archive-featured-grid,
  .archive-results-grid,
  .theory-featured-grid,
  .theory-results-grid,
  .theory-lore-grid,
  .tarot-lore-grid,
  .tarot-reading-grid {
    grid-template-columns: 1fr;
  }

  .archive-recent-item {
    flex-direction: column;
  }

  .archive-recent-visual {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 1.2 / 1;
  }

  .archive-overview-panel,
  .archive-feature-card,
  .archive-result-card,
  .theory-feature-card,
  .theory-result-card,
  .theory-overview-panel {
    padding: 18px;
  }

  .archive-path-chip {
    min-width: 108px;
    padding: 12px 14px;
  }

  .theory-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tarot-card-filter-grid,
  .tarot-spread-cards,
  .tarot-modal-spread-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tarot-card-filter-grid,
  .tarot-spread-cards,
  .tarot-modal-spread-grid {
    grid-template-columns: 1fr 1fr;
  }

  .theory-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.7rem);
  }

  .tarot-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.7rem);
  }

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

  .theory-dossier-stats,
  .theory-dossier-meta-grid,
  .theory-evidence-grid,
  .theory-related-grid {
    grid-template-columns: 1fr;
  }

  .theory-modal-dialog,
  .lore-modal-dialog {
    padding: 18px;
    border-radius: 22px;
  }

  .tarot-card-modal-dialog {
    padding: 18px;
    border-radius: 22px;
  }

  .tarot-card-modal-dialog {
    padding: 18px;
    border-radius: 22px;
  }

  .archive-media-grid {
    grid-template-columns: 1fr;
  }

  .archive-media-card {
    padding: 18px;
  }

  .archive-modal {
    padding: 14px;
  }

  .archive-modal-dialog {
    padding: 16px;
    border-radius: 22px;
  }

  .archive-modal-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }
}

.banner-footer-panel {
  padding: 0;
  overflow: hidden;
}

.banner-footer-image {
  width: 100%;
  display: block;
}

.access-portal-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.access-portal-card {
  width: min(100%, 620px);
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background: rgba(8, 8, 16, 0.82);
  box-shadow: var(--shadow);
}

.access-portal-card h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
}

.access-portal-copy,
.access-portal-hint,
.access-portal-message {
  color: var(--muted);
  line-height: 1.7;
}

.access-portal-copy {
  margin: 18px 0 0;
}

.access-portal-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 28px;
  min-height: 132px;
  padding: 52px 18px 10px;
  text-align: center;
}

.access-portal-orbit {
  position: absolute;
  inset: 22px 8% auto;
  height: 120px;
  pointer-events: none;
  opacity: 0.48;
}

.access-portal-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  border: 1px solid rgba(216, 138, 242, 0.18);
  transform: translate(-50%, -50%);
}

.access-portal-orbit span:nth-child(1) {
  width: min(100%, 340px);
  height: 64px;
}

.access-portal-orbit span:nth-child(2) {
  width: min(72%, 250px);
  height: 42px;
}

.access-portal-orbit span:nth-child(3) {
  width: 12px;
  height: 12px;
  border: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(216, 138, 242, 0.84));
  box-shadow: 0 0 18px rgba(216, 138, 242, 0.5);
}

.access-portal-trigger {
  position: absolute;
  top: 6px;
  right: 10px;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(216, 138, 242, 0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(216, 138, 242, 0.12), rgba(10, 10, 18, 0.34) 62%);
  color: var(--purple-soft);
  font-size: 0.98rem;
  cursor: pointer;
  opacity: 0.64;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.access-portal-trigger:hover,
.access-portal-trigger:focus-visible,
.access-portal-trigger.is-pulsing,
.access-portal-trigger.is-revealed {
  opacity: 1;
  transform: scale(1.08);
  border-color: rgba(216, 138, 242, 0.42);
  box-shadow: 0 0 18px rgba(216, 138, 242, 0.18);
}

.access-portal-trigger-corner {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 5;
}

.access-portal-clue {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(244, 239, 251, 0.84);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.access-portal-hint {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 340px;
  font-size: 0.92rem;
}

.access-portal-shell {
  margin-top: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.access-portal-shell.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.access-portal-form {
  display: grid;
  gap: 14px;
}

.access-portal-messages {
  display: grid;
  gap: 10px;
}

.access-portal-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(216, 138, 242, 0.24);
  background: rgba(216, 138, 242, 0.08);
}

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

.stats-grid-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.dashboard-expand-shell {
  margin-top: 1rem;
}

.stats-list-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 132px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(205, 186, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(174, 140, 255, 0.08), rgba(174, 140, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.stats-list-card > div {
  display: grid;
  gap: 8px;
}

.stats-list-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.45;
}

.stats-list-card > div span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-list-card > span {
  color: var(--purple-soft);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}

.site-footer {
  margin: 10px 4.5vw 28px;
  min-height: auto;
  padding: 22px 28px 18px;
  border-top: 1px solid rgba(205, 186, 255, 0.12);
}

.site-footer-clean {
  display: grid;
  gap: 20px;
}

.footer-main-row {
  display: grid;
  grid-template-columns: 1.35fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer-nav a {
  color: rgba(244, 239, 251, 0.84);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--purple-soft);
}

.footer-quote {
  align-self: center;
  text-align: right;
}

.footer-quote p {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.02;
}

.footer-quote-clean {
  min-width: 188px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(205, 186, 255, 0.16);
  background: rgba(8, 8, 16, 0.42);
  text-decoration: none;
}

.footer-social-link img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.footer-meta-row {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 2px;
}

.footer-meta-clean {
  grid-template-columns: 1fr auto;
}

.footer-stars {
  height: 18px;
  background:
    radial-gradient(circle at 3% 50%, rgba(216, 138, 242, 0.9) 0 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(227, 217, 252, 0.9) 0 2px, transparent 2px),
    radial-gradient(circle at 97% 50%, rgba(63, 140, 248, 0.9) 0 2px, transparent 2px),
    linear-gradient(90deg, rgba(216, 138, 242, 0.5), rgba(227, 217, 252, 0.2), rgba(63, 140, 248, 0.5));
  background-size: auto, auto, auto, 100% 1px;
  background-repeat: no-repeat;
  background-position: center, center, center, center;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

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

  .archive-dock-card:last-child {
    grid-column: span 2;
  }

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

  .footer-main-row,
  .footer-meta-clean {
    grid-template-columns: 1fr;
  }

  .footer-quote {
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

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

  .schedule-type-note {
    display: block;
  }
}

@media (max-width: 960px) {
  .home-hero {
    min-height: auto;
    background-position: 62% center;
  }

  .home-hero-grid,
  .section-heading-row,
  .archive-heading-row,
  .timeline-experience {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-side-note {
    position: static;
    right: auto;
    bottom: auto;
    justify-self: start;
    margin: 10px 0 0;
  }

  .daily-signal-panel-hero {
    position: static;
    width: auto;
    margin-top: 28px;
    padding: 18px;
    backdrop-filter: none;
    box-shadow: none;
  }

  .daily-signal-panel-hero .daily-signal-message {
    max-width: 100%;
  }

  .home-banner-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .identity-top-grid,
  .identity-bottom-grid {
    grid-template-columns: 1fr;
  }

  .identity-fragment-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .identity-name-visual img {
    width: min(100%, 420px);
  }

  .identity-triad {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .identity-triad-item + .identity-triad-item {
    border-left: 0;
    border-top: 1px solid rgba(205, 186, 255, 0.12);
    padding-top: 18px;
  }

  .identity-palette-row {
    grid-template-columns: 1fr;
  }

  .schedule-heading-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .daily-signal-actions {
    justify-content: flex-start;
  }

  .event-filter-grid {
    grid-template-columns: 1fr;
  }

  .archive-media-filter-grid {
    grid-template-columns: 1fr;
  }

  .event-card-grid {
    grid-template-columns: 1fr;
  }

  .cosmic-event-card {
    grid-template-columns: 1fr;
  }

  .schedule-index-layout {
    grid-template-areas:
      "side"
      "main";
  }

  .schedule-types-panel {
    order: -1;
    padding: 16px;
    border-radius: 20px;
  }

  .schedule-types-header h2 {
    font-size: clamp(1.28rem, 4.8vw, 1.65rem);
  }

  .schedule-type-list {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .schedule-type-list::-webkit-scrollbar {
    height: 6px;
  }

  .schedule-type-list::-webkit-scrollbar-thumb {
    background: rgba(216, 138, 242, 0.28);
    border-radius: 999px;
  }

  .schedule-type-card {
    flex: 0 0 220px;
    min-width: 220px;
    scroll-snap-align: start;
  }

  .timeline-orbit {
    max-width: 680px;
  }

  .timeline-node {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  }

  .timeline-node-marker {
    width: 64px;
  }

  .timeline-node-detail {
    width: min(100%, 340px);
  }

  .event-detail-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .home-hero {
    min-height: auto;
    padding-bottom: 26px;
  }

  .hero-header-actions {
    align-items: flex-start;
  }

  .hero-nav {
    gap: 10px;
  }

  .hero-utility {
    width: 42px;
    height: 42px;
  }

  .hero-header {
    top: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
    border-radius: 22px;
  }

  .hero-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .home-hero-grid {
    min-height: auto;
    padding-top: 56px;
  }

  .daily-signal-panel-hero {
    margin-top: 22px;
    padding: 18px;
    border-radius: 22px;
    gap: 16px;
  }

  .daily-signal-panel-hero .daily-signal-card {
    padding: 16px;
    border-radius: 20px;
  }

  .daily-signal-panel-hero .daily-signal-message {
    font-size: clamp(1.34rem, 7vw, 1.82rem);
  }

  .daily-signal-icon-button {
    width: 38px;
    height: 38px;
  }

  .section-heading-row,
  .archive-heading-row,
  .schedule-heading-row {
    gap: 18px;
  }

  .daily-signal-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .daily-signal-message {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    max-width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(1.95rem, 8.7vw, 2.7rem);
    line-height: 1.04;
  }

  .section-heading p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .home-banner-card {
    flex-basis: 100%;
    min-height: auto;
  }

  .schedule-types-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .schedule-types-header h2 {
    font-size: clamp(1.18rem, 5.8vw, 1.42rem);
  }

  .schedule-type-list {
    gap: 8px;
  }

  .schedule-type-card {
    gap: 5px;
    min-width: 180px;
    flex-basis: 180px;
    padding: 11px 10px 10px;
    border-radius: 16px;
  }

  .schedule-type-card strong {
    font-size: 0.84rem;
    line-height: 1.14;
  }

  .schedule-type-note {
    display: none;
  }

  .schedule-type-card .mini-label {
    margin-bottom: 2px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .timeline-node {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-node-branch-left,
  .timeline-node-branch-right {
    text-align: left;
  }

  .timeline-node.is-right .timeline-node-branch-left,
  .timeline-node.is-left .timeline-node-branch-right {
    display: none;
  }

  .timeline-node.is-right .timeline-node-branch-right,
  .timeline-node.is-left .timeline-node-branch-left {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .timeline-node-preview,
  .timeline-node-detail {
    grid-column: 2;
  }

  .timeline-node-preview {
    justify-content: flex-start;
  }

  .timeline-node-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    min-height: 100%;
  }

  .timeline-node-marker::before {
    top: -18px;
    height: 28px;
  }

  .timeline-node-marker::after {
    top: 30px;
    bottom: -18px;
    height: auto;
  }

  .timeline-node-thumb {
    width: 58px;
    height: 58px;
  }

  .timeline-node-copy {
    width: 100%;
  }

  .timeline-node-detail {
    width: 100%;
  }

  .signal-button,
  .join-button,
  .archive-all-button,
  .schedule-archive-button {
    width: 100%;
    min-width: 0;
  }

  .schedule-footer-row {
    justify-content: flex-start;
  }

  .carousel-arrow {
    width: 48px;
    height: 48px;
  }

  .home-banner-grid {
    gap: 12px;
  }

  .event-strip {
    padding: 18px;
  }

  .event-card-grid {
    gap: 14px;
  }

  .event-visual {
    min-height: 0;
    padding: 12px;
  }

  .event-visual img {
    width: min(100%, 220px);
    margin: 0 auto;
    transform: none;
  }

  .countdown-badge {
    max-width: 100%;
    width: 100%;
    padding: 13px 14px 14px;
  }

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

  .countdown-value {
    font-size: 1.18rem;
  }

  .countdown-note {
    font-size: 0.72rem;
  }

  .event-meta,
  .event-main p,
  .event-info-line,
  .event-link-inline {
    font-size: 0.9rem;
  }

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

  .archive-dock-card:last-child {
    grid-column: span 1;
  }

  .archive-dock-card {
    min-height: 124px;
  }

  .archive-dock-card img {
    width: 64px;
    height: 64px;
  }

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

  .schedule-category-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta-clean {
    justify-items: start;
  }

  .footer-stars {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-screen {
    padding-inline: 14px;
  }

  .event-filter-grid {
    grid-template-columns: 1fr;
  }

  .theory-filter-grid {
    grid-template-columns: 1fr;
  }

  .tarot-card-filter-grid,
  .tarot-spread-cards,
  .tarot-card-grid,
  .tarot-modal-spread-grid,
  .tarot-reading-strip {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-type-list {
    grid-template-columns: 1fr;
  }

  .event-filter-reset {
    width: 100%;
  }

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

  .stats-grid-split {
    grid-template-columns: 1fr;
  }

  .stats-list {
    grid-template-columns: 1fr;
  }

  .stats-list-card {
    min-height: 0;
  }

  .access-portal-card {
    padding: 24px 20px;
  }

  .access-portal-stage {
    min-height: 116px;
    padding: 44px 4px 8px;
  }

  .access-portal-trigger {
    top: 4px;
    right: 4px;
    width: 30px;
    height: 30px;
  }

  .content-sections {
    padding-inline: 14px;
    gap: 18px;
  }

  .section-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.35rem);
  }

  .hero-lead,
  .hero-sublead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-motto-line {
    gap: 12px;
    font-size: 0.92rem;
  }

  .hero-motto-line::before {
    width: 42px;
  }

  .section-heading h2 {
    font-size: clamp(1.58rem, 8.8vw, 2.05rem);
    line-height: 1.06;
  }

  .theory-hero-copy h1 {
    font-size: clamp(2.1rem, 12vw, 3.15rem);
  }

  .theory-path-chip {
    min-width: 118px;
    padding: 12px 14px 13px;
  }

  .theory-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tarot-reading-grid {
    grid-template-columns: 1fr;
  }

  .signal-button,
  .join-button,
  .archive-all-button,
  .schedule-archive-button {
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .event-strip {
    padding: 16px;
  }

  .event-type,
  .event-meta,
  .section-label,
  .mini-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .name-fragment h3 {
    font-size: clamp(1.38rem, 8vw, 1.9rem);
  }

  .name-fragment p,
  .color-chip p,
  .archive-dock-card span {
    font-size: 0.92rem;
  }

  .timeline-orbit {
    gap: 16px;
    padding-top: 0;
  }

  .timeline-orbit::before {
    left: 22px;
    transform: none;
  }

  .timeline-node-thumb {
    width: 56px;
    height: 56px;
  }

  .timeline-node-copy strong {
    font-size: 0.88rem;
  }

  .countdown-unit {
    padding: 9px 7px 8px;
    border-radius: 14px;
  }

  .countdown-value {
    font-size: 1.08rem;
  }

  .event-detail-visual,
  .event-detail-visual img {
    min-height: 0;
  }

  .event-gallery-controls {
    right: 12px;
    bottom: 12px;
  }

  .event-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-gallery-thumb img {
    height: 72px;
  }

  .countdown-unit-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .archive-dock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .archive-dock-card {
    min-height: 118px;
    padding: 16px 10px 14px;
  }

  .archive-dock-card img {
    width: 52px;
    height: 52px;
  }

  .archive-dock-card span {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .site-footer {
    margin-inline: 14px;
    padding: 18px;
  }
}

.legal-grid,
.legal-request-grid {
  display: grid;
  gap: 24px;
}

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

.legal-request-grid {
  grid-template-columns: 1.35fr 0.9fr;
}

.legal-card {
  min-height: 100%;
}

.legal-copy p {
  margin: 0;
  color: rgba(238, 232, 255, 0.88);
  line-height: 1.85;
}

.legal-copy p + p {
  margin-top: 1rem;
}

.legal-contact-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.legal-contact-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(196, 157, 255, 0.38);
  background: linear-gradient(180deg, rgba(32, 25, 51, 0.88), rgba(18, 15, 32, 0.94));
  color: #f3ecff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.legal-contact-placeholder {
  color: rgba(236, 223, 255, 0.72);
}

.legal-contact-note {
  margin: 0;
  color: rgba(225, 216, 245, 0.76);
}

.legal-request-checklist {
  padding-top: 4px;
  border-top: 1px solid rgba(196, 157, 255, 0.16);
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: rgba(238, 232, 255, 0.86);
  line-height: 1.7;
}

.legal-list li + li {
  margin-top: 10px;
}

@media (max-width: 960px) {
  .legal-grid,
  .legal-request-grid {
    grid-template-columns: 1fr;
  }
}

.participate-hero-grid {
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
}

.participate-overview-panel {
  align-self: end;
}

.participate-intro-panel {
  padding-bottom: 1.75rem;
}

.participate-intro-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
}

.participate-intro-copy {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}

.participate-intro-copy p {
  margin: 0;
  max-width: 62rem;
}

.participate-intro-visual {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(168, 135, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(32, 21, 58, 0.3), rgba(8, 8, 16, 0.74)),
    rgba(10, 10, 18, 0.88);
  box-shadow: 0 24px 60px rgba(4, 5, 12, 0.34);
}

.participate-intro-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.participation-paths-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.participation-path-card {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.participation-path-visual {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(216, 138, 242, 0.2);
  background:
    radial-gradient(circle at top, rgba(216, 138, 242, 0.18), transparent 58%),
    rgba(9, 10, 22, 0.88);
  aspect-ratio: 0.9 / 1;
}

.participation-path-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.participation-path-copy {
  display: grid;
  gap: 0.85rem;
}

.participation-path-copy h3,
.participation-path-copy > p {
  margin: 0;
}

.participation-path-description {
  color: var(--text-secondary);
  line-height: 1.75;
}

.participation-tags {
  margin-top: 0.2rem;
}

.participation-coming-soon {
  width: fit-content;
}

.participate-lower-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.participate-richtext {
  color: var(--text-secondary);
  line-height: 1.85;
}

.participate-richtext p {
  margin: 0 0 1rem;
}

.participate-guidelines-signal {
  margin-top: 1.75rem;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(168, 135, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(32, 21, 58, 0.32), rgba(8, 8, 16, 0.72)),
    rgba(10, 10, 18, 0.88);
  box-shadow: 0 24px 60px rgba(4, 5, 12, 0.34);
}

.participate-guidelines-signal img {
  display: block;
  width: 100%;
  height: auto;
}

.participation-contact-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.participate-more-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 1280px) {
  .participation-paths-grid,
  .participate-lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .participate-lower-grid {
    grid-template-columns: 1fr;
  }

  .participate-intro-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .participation-paths-grid,
  .participate-lower-grid {
    grid-template-columns: 1fr;
  }

  .participation-path-visual {
    aspect-ratio: 1.5 / 1;
  }
}

/* Artists */
.artists-hero-grid {
  align-items: end;
}

.artists-overview-panel {
  align-self: end;
  justify-self: end;
}

.artists-sections {
  gap: 2rem;
}

.artists-social-embed-shell {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.artists-social-column {
  min-width: 0;
}

.artists-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.artists-profile-card,
.artists-embed-card,
.artists-empty-card {
  background: linear-gradient(180deg, rgba(17, 16, 28, 0.95), rgba(10, 10, 18, 0.96));
  border: 1px solid rgba(180, 150, 255, 0.16);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(3, 2, 12, 0.34);
}

.artists-profile-visual {
  aspect-ratio: 1.08 / 1;
  background:
    radial-gradient(circle at 50% 16%, rgba(180, 140, 255, 0.24), transparent 46%),
    rgba(12, 11, 20, 0.88);
  border-bottom: 1px solid rgba(180, 150, 255, 0.12);
}

.artists-profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artists-profile-copy,
.artists-embed-card,
.artists-empty-card {
  padding: 1.4rem;
}

.artists-profile-copy h3,
.artists-embed-card h3,
.artists-empty-card h3 {
  margin: 0.25rem 0 0.65rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  line-height: 0.98;
}

.artists-profile-tagline {
  margin: 0 0 0.75rem;
  color: rgba(214, 201, 245, 0.96);
  font-size: 1rem;
}

.artists-profile-bio,
.artists-embed-copy,
.artists-empty-card p {
  margin: 0;
  color: rgba(232, 227, 245, 0.82);
  line-height: 1.7;
}

.artists-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.artists-fact-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(180, 150, 255, 0.14);
  background: rgba(38, 34, 60, 0.32);
}

.artists-fact-card span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(193, 177, 239, 0.78);
}

.artists-fact-card strong {
  color: rgba(247, 242, 255, 0.98);
  font-size: 0.98rem;
  line-height: 1.35;
}

.artists-favorite-things {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(180, 150, 255, 0.12);
  background: rgba(28, 25, 42, 0.4);
  color: rgba(232, 227, 245, 0.82);
  line-height: 1.7;
}

.artists-favorite-things p {
  margin: 0;
}

.artists-quote {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 1px solid rgba(186, 149, 255, 0.54);
  color: rgba(244, 239, 252, 0.9);
  font-family: "Instrument Serif", serif;
  font-size: 1.18rem;
  line-height: 1.45;
}

.artists-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.archive-card-tag-link {
  text-decoration: none;
}

.artists-embed-grid {
  display: grid;
  gap: 1.4rem;
}

.artists-spotify-grid,
.artists-instagram-grid,
.artists-x-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.artists-spotify-frame,
.artists-instagram-frame,
.artists-x-frame {
  margin-top: 1rem;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(180, 150, 255, 0.12);
  background: rgba(9, 9, 16, 0.9);
}

.artists-spotify-frame iframe {
  width: 100%;
  min-height: 352px;
  border: 0;
  display: block;
}

.artists-instagram-frame {
  padding: 1rem 0;
}

.artists-instagram-frame .instagram-media {
  margin: 0 auto !important;
  min-width: 280px !important;
}

.artists-x-frame {
  min-height: 560px;
}

.artists-x-frame .twitter-timeline {
  display: block;
  min-height: 560px;
}

.artists-x-stack {
  display: grid;
  gap: 1.2rem;
}

.artists-x-card .artists-x-frame {
  margin-top: 1rem;
}

.artists-x-link-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(180, 150, 255, 0.12);
  background: rgba(9, 9, 16, 0.9);
}

.artists-x-link-copy {
  margin: 0;
  color: rgba(232, 227, 245, 0.82);
  line-height: 1.7;
}

.artists-empty-card .section-label {
  margin-bottom: 0.55rem;
}

@media (max-width: 1100px) {
  .artists-profile-grid,
  .artists-spotify-grid,
  .artists-instagram-grid,
  .artists-x-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artists-social-embed-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .artists-profile-grid,
  .artists-spotify-grid,
  .artists-instagram-grid,
  .artists-x-grid,
  .artists-fact-grid {
    grid-template-columns: 1fr;
  }

  .artists-overview-panel {
    justify-self: stretch;
  }

  .artists-profile-copy,
  .artists-embed-card,
  .artists-empty-card {
    padding: 1.15rem;
  }

  .artists-x-frame,
  .artists-x-frame .twitter-timeline {
    min-height: 420px;
  }

}
