/* ============================================================
   Ad Astra · Moscow Astronomical Society
   ============================================================ */

:root {
  /* palette */
  --bg-0: #050813;
  --bg-1: #0a0f24;
  --bg-2: #111634;
  --ink: #ece9e0;
  --ink-mute: #8a8d99;
  --ink-dim: #565869;
  --gold: #f5d76e;
  --gold-warm: #f0a830;
  --pink: #ff4d8d;
  --cyan: #5ce1e6;
  --violet: #9b6dff;
  --line: rgba(236, 233, 224, 0.12);
  --line-strong: rgba(236, 233, 224, 0.28);

  /* type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1320px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-0);
  overflow-x: hidden;
  min-height: 100vh;
}

img,
canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--bg-0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- typography helpers ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.display--small {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  transition: backdrop-filter 0.4s var(--ease), background 0.4s var(--ease),
    border-bottom 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 8, 19, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.nav__logo-mark {
  color: var(--gold);
  font-size: 0.9rem;
  transform: translateY(-1px);
  animation: spin 14s linear infinite;
  display: inline-block;
}

.nav__logo-sub {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  align-self: center;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
}

.nav__links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.nav__links a {
  color: var(--ink-mute);
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(5, 8, 19, 0.96);
    backdrop-filter: blur(16px);
    font-size: 1.6rem;
    font-family: var(--serif);
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
  }

  .nav__links.is-open {
    transform: translateY(0);
  }

  .nav__burger {
    display: flex;
    z-index: 101;
  }

  .nav__burger.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav__burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav__burger.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(155, 109, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(92, 225, 230, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(5, 8, 19, 0.7) 100%),
    linear-gradient(180deg, transparent 70%, var(--bg-0) 100%);
  pointer-events: none;
}

.hero__coords {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  z-index: 3;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
  display: flex;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}

.hero__coords .dot {
  color: var(--gold);
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 920px;
  padding: 8rem 0 6rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(5rem, 17vw, 14rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 1.5rem 0 1.75rem;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1s var(--ease) forwards;
}

.hero__title-line:nth-child(1) {
  animation-delay: 0.15s;
}

.hero__title-line:nth-child(2) {
  animation-delay: 0.3s;
  font-style: italic;
  color: var(--gold);
  padding-left: clamp(2rem, 8vw, 6rem);
}

.hero__title-line--accent {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(245, 215, 110, 0.25);
}

.hero__motto {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-style: italic;
  color: var(--ink-mute);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fade 1s var(--ease) 0.6s forwards;
}

.hero__motto em {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero__lede {
  max-width: 560px;
  font-size: 1rem;
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fade 1s var(--ease) 0.8s forwards;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade 1s var(--ease) 1s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: drop 2.2s var(--ease) infinite;
}

@keyframes drop {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
}

.btn--primary:hover {
  box-shadow: 0 0 40px rgba(245, 215, 110, 0.4);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(236, 233, 224, 0.04);
}

.btn .arrow {
  transition: transform 0.35s var(--ease);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--ghost:hover .arrow {
  transform: translateY(3px);
}

/* ---------- manifest ---------- */
.manifest {
  padding: clamp(6rem, 14vw, 12rem) var(--gutter);
  position: relative;
  background: var(--bg-0);
}

.manifest::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line);
}

.manifest__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.manifest__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  margin: 4rem 0 5rem;
  max-width: 980px;
}

.manifest__grid p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
}

.manifest__grid p::first-letter {
  font-size: 1.4em;
  color: var(--gold);
}

@media (max-width: 720px) {
  .manifest__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 5rem;
}

.stats li {
  background: var(--bg-0);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stats__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats__lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
  background: var(--bg-1);
}

.marquee__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--ink);
  animation: scroll 40s linear infinite;
  padding-left: 3rem;
}

.marquee__sep {
  color: var(--gold);
  font-style: normal;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- events ---------- */
.events {
  padding: clamp(6rem, 14vw, 12rem) var(--gutter);
  background: var(--bg-0);
}

.events__head {
  max-width: var(--maxw);
  margin: 0 auto 4rem;
}

.events__sub {
  max-width: 580px;
  margin-top: 1.5rem;
  color: var(--ink-mute);
  font-size: 1rem;
}

.events__list {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.event {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s var(--ease);
  position: relative;
}

.event:last-child {
  border-bottom: 1px solid var(--line);
}

.event::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}

.event:hover::before {
  width: 100%;
}

.event:hover .event__title {
  color: var(--gold);
}

.event__date {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  line-height: 0.95;
}

.event__day {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.event__month {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 0.5rem;
}

.event__year {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  margin-top: 0.25rem;
}

.event__type {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.event__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  transition: color 0.4s var(--ease);
}

.event__id {
  font-style: italic;
  font-size: 0.55em;
  color: var(--ink-mute);
  margin-left: 0.5rem;
}

.event__desc {
  max-width: 640px;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

.event__mag {
  color: var(--gold);
}

@media (max-width: 720px) {
  .event {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 0;
  }
}

/* ---------- cosmos gallery ---------- */
.cosmos {
  padding: clamp(6rem, 14vw, 12rem) var(--gutter);
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  position: relative;
  overflow: hidden;
}

.cosmos::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 25% 30%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 75% 60%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 50% 80%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 10% 50%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 90% 20%, rgba(255, 255, 255, 0.4), transparent);
  background-size: 350px 350px;
  pointer-events: none;
  opacity: 0.6;
}

.cosmos__head {
  max-width: var(--maxw);
  margin: 0 auto 5rem;
  position: relative;
}

.cosmos__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 900px) {
  .cosmos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.body {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-0);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  cursor: pointer;
}

.body:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.body__art {
  position: absolute;
  inset: 0;
  transition: transform 1.5s var(--ease);
}

.body:hover .body__art {
  transform: scale(1.05);
}

.body__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 19, 0.92) 60%);
}

.body__id {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.body__info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.body__info p {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}

/* ---- Andromeda: spiral galaxy ---- */
.body--andromeda .body__art {
  background:
    radial-gradient(
      ellipse 80% 30% at 50% 50%,
      rgba(255, 220, 160, 0.95) 0%,
      rgba(255, 180, 130, 0.6) 12%,
      rgba(155, 109, 255, 0.35) 28%,
      rgba(80, 60, 140, 0.2) 45%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 90% 35% at 50% 50%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 30%
    ),
    radial-gradient(circle at 50% 50%, #1a1240, #050813 70%);
  transform: rotate(-15deg) scale(1.2);
}

.body--andromeda:hover .body__art {
  transform: rotate(-15deg) scale(1.28);
}

/* ---- Orion nebula ---- */
.body--orion .body__art {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 100, 140, 0.7), transparent 35%),
    radial-gradient(circle at 60% 55%, rgba(92, 225, 230, 0.55), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(155, 109, 255, 0.5), transparent 60%),
    radial-gradient(circle at 50% 50%, #2a0e2e, #050813 80%);
  filter: blur(0.5px);
}

/* ---- Saturn ---- */
.body--saturn .body__art {
  background:
    /* the rings */
    radial-gradient(
      ellipse 90% 4% at 50% 52%,
      rgba(245, 215, 110, 0.85) 30%,
      rgba(240, 168, 48, 0.5) 50%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 88% 3% at 50% 52%,
      transparent 30%,
      rgba(5, 8, 19, 0.6) 35%,
      transparent 50%
    ),
    /* planet body */ radial-gradient(
      circle at 38% 42%,
      #fbe5a2 0%,
      #d6a25a 35%,
      #7a4a1d 75%,
      #1a0d05 100%
    ),
    #050813;
  background-size: 100% 100%, 100% 100%, 60% 60%, 100%;
  background-position: center, center, 50% 50%, center;
  background-repeat: no-repeat;
}

.body--saturn .body__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 38% 42%,
    transparent 28%,
    rgba(5, 8, 19, 0.4) 30%,
    transparent 32%
  );
}

/* ---- Jupiter ---- */
.body--jupiter .body__art {
  background:
    radial-gradient(
        circle at 40% 40%,
        #f3d7a3 0%,
        #c4884b 30%,
        #6b3818 70%,
        #160a04 100%
      )
      center / 80% 80% no-repeat,
    #050813;
}

.body--jupiter .body__art::before {
  content: '';
  position: absolute;
  inset: 10% 10%;
  border-radius: 50%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 4%,
    rgba(80, 40, 15, 0.35) 4%,
    rgba(80, 40, 15, 0.35) 7%,
    transparent 7%,
    transparent 12%,
    rgba(255, 220, 180, 0.18) 12%,
    rgba(255, 220, 180, 0.18) 15%
  );
  -webkit-mask: radial-gradient(circle at 50% 50%, black 50%, transparent 51%);
  mask: radial-gradient(circle at 50% 50%, black 50%, transparent 51%);
}

.body--jupiter .body__art::after {
  content: '';
  position: absolute;
  width: 18%;
  height: 8%;
  top: 50%;
  left: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #b4341f, #6b1a0e 70%, transparent);
}

/* ---- Moon ---- */
.body--moon .body__art {
  background:
    radial-gradient(
        circle at 35% 35%,
        #fdf8eb 0%,
        #d8d2bf 35%,
        #6e6957 70%,
        #100d05 100%
      )
      center / 75% 75% no-repeat,
    #050813;
}

.body--moon .body__art::before {
  content: '';
  position: absolute;
  inset: 12.5% 12.5%;
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 30% 28%, rgba(80, 70, 50, 0.4) 4%, transparent 5%),
    radial-gradient(circle at 60% 50%, rgba(80, 70, 50, 0.35) 6%, transparent 7%),
    radial-gradient(circle at 45% 70%, rgba(80, 70, 50, 0.4) 3%, transparent 4%),
    radial-gradient(circle at 70% 25%, rgba(80, 70, 50, 0.3) 2%, transparent 3%),
    radial-gradient(circle at 25% 60%, rgba(80, 70, 50, 0.35) 5%, transparent 6%);
  -webkit-mask: radial-gradient(circle, black 50%, transparent 51%);
  mask: radial-gradient(circle, black 50%, transparent 51%);
}

/* ---- Pleiades star cluster ---- */
.body--pleiades .body__art {
  background:
    radial-gradient(circle at 30% 35%, rgba(180, 220, 255, 0.95) 1.5%, transparent 4%),
    radial-gradient(circle at 55% 30%, rgba(180, 220, 255, 1) 2%, transparent 6%),
    radial-gradient(circle at 70% 50%, rgba(180, 220, 255, 0.9) 1.5%, transparent 4%),
    radial-gradient(circle at 45% 55%, rgba(180, 220, 255, 0.85) 1.2%, transparent 3.5%),
    radial-gradient(circle at 60% 70%, rgba(180, 220, 255, 0.95) 1.8%, transparent 5%),
    radial-gradient(circle at 35% 65%, rgba(180, 220, 255, 0.7) 1%, transparent 3%),
    radial-gradient(circle at 50% 40%, rgba(180, 220, 255, 0.6) 1%, transparent 3%),
    radial-gradient(ellipse at 50% 50%, rgba(92, 225, 230, 0.15), transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(155, 109, 255, 0.18), transparent 50%),
    #050813;
}

.body--pleiades .body__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 35%, rgba(180, 220, 255, 0.4) 4%, transparent 12%),
    radial-gradient(circle at 55% 30%, rgba(180, 220, 255, 0.4) 5%, transparent 14%),
    radial-gradient(circle at 70% 50%, rgba(180, 220, 255, 0.35) 4%, transparent 12%),
    radial-gradient(circle at 60% 70%, rgba(180, 220, 255, 0.4) 5%, transparent 14%);
  filter: blur(2px);
}

/* ---------- join ---------- */
.join {
  padding: clamp(6rem, 14vw, 12rem) var(--gutter);
  background: var(--bg-0);
  position: relative;
  border-top: 1px solid var(--line);
}

.join__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.join__lede {
  margin-top: 1.75rem;
  color: var(--ink-mute);
  font-size: 1.05rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.join__form {
  display: flex;
  gap: 0.75rem;
  margin: 3rem auto 1.5rem;
  max-width: 480px;
}

.join__form input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
  outline: none;
}

.join__form input:focus {
  border-color: var(--gold);
}

.join__form input::placeholder {
  color: var(--ink-dim);
}

.join__or {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
}

.join__or a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

@media (max-width: 540px) {
  .join__form {
    flex-direction: column;
  }
  .join__form input,
  .join__form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- footer ---------- */
.foot {
  background: var(--bg-1);
  padding: 5rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
}

.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 720px) {
  .foot__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.foot__logo {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.foot__logo span {
  color: var(--gold);
  font-size: 1rem;
  animation: spin 14s linear infinite;
  display: inline-block;
}

.foot__addr {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  line-height: 1.7;
}

.foot__head {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.foot__col ul li {
  margin-bottom: 0.75rem;
}

.foot__col a {
  color: var(--ink-mute);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}

.foot__col a:hover {
  color: var(--ink);
}

.foot__bottom {
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}

.foot__motto {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}

@media (max-width: 540px) {
  .foot__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
