/* ============================================================
   ANADI — Prototype C: Cosmic / Quantum Field
   ============================================================
   Aesthetic: deep night sky, particle starfield,
   glow halos, eclipse, scroll parallax with depth.
   ============================================================ */

:root {
  /* Brand palette — deepest of the three */
  --bg-void: #050211;
  --bg-deep: #0E0726;
  --bg: #170B36;
  --bg-soft: #251548;
  --bg-mid: #2A1B47;
  --nebula-a: #361C5C;
  --nebula-b: #5A2A66;
  --nebula-c: #2E1A4D;
  --star: #E4C272;
  --star-bright: #FFD98A;
  --halo: rgba(184, 163, 214, 0.5);
  --lavender: #C8B3E6;
  --lavender-soft: #9685B8;
  --gold: #D4A84A;
  --gold-soft: #B68E32;
  --ink: #F5F0E8;
  --ink-mute: #C8BCD8;
  --ink-faint: #8A80A0;

  --font-display: "Italiana", "Cormorant Garamond", serif;
  --font-body: "Marcellus", "Forum", Georgia, serif;
  --font-ui: "Forum", "Marcellus", "Cormorant Garamond", serif;

  --max-w: 1240px;
  --max-text: 60ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Starfield canvas + nebula gradient ---------- */

.cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cosmos-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(54, 28, 92, 0.55) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(90, 42, 102, 0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(46, 26, 77, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, rgba(5, 2, 17, 0.4) 0%, rgba(5, 2, 17, 0.6) 100%);
  animation: nebula-drift 60s ease-in-out infinite alternate;
}

@keyframes nebula-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(-3%, 2%) scale(1.08); opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .nebula { animation: none; }
}

/* ---------- Eclipse decorative element ---------- */

.eclipse {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.eclipse::before {
  content: "";
  position: absolute;
  inset: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212, 168, 74, 0.16) 0%, rgba(184, 163, 214, 0.08) 35%, transparent 70%);
  filter: blur(40px);
  animation: halo-pulse 12s ease-in-out infinite;
}
.eclipse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--bg-void) 0%, var(--bg-void) 38%, transparent 39%);
  box-shadow: 0 0 60px 6px rgba(228, 194, 114, 0.18), inset 0 0 60px rgba(228, 194, 114, 0.06);
}

@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.75; }
}

/* ---------- Layout ---------- */

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

.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}
@media (max-width: 880px) {
  .page { padding-left: 24px; padding-right: 24px; }
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  position: sticky; top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 2, 17, 0.85) 0%, rgba(5, 2, 17, 0.4) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 179, 230, 0.08);
}

.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.nav-brand-mark {
  width: 38px; height: 38px;
  background: url('../../../docs/branding/anadi-logo.png') center/cover no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(228, 194, 114, 0.35);
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.24em;
  font-weight: 400;
}
.nav-brand-sub {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--star);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex; gap: 38px; list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink-mute);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color .3s ease, text-shadow .3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--star-bright);
  text-shadow: 0 0 12px rgba(228, 194, 114, 0.4);
}

.nav-cta {
  display: inline-block;
  border: 1px solid var(--star);
  color: var(--star);
  padding: 11px 26px;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .4s ease;
  box-shadow: 0 0 0 rgba(228, 194, 114, 0);
}
.nav-cta:hover {
  background: var(--star);
  color: var(--bg-void);
  box-shadow: 0 0 30px rgba(228, 194, 114, 0.5);
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav { padding: 16px 20px; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 32px 120px;
  position: relative;
  overflow: hidden;
}

.hero-eclipse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 880px; height: 880px;
  z-index: 0;
}
.hero-eclipse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(228, 194, 114, 0.2) 0%,
    rgba(200, 179, 230, 0.1) 35%,
    transparent 70%);
  filter: blur(28px);
  animation: halo-pulse 10s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-mark {
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  margin: 0 auto 56px;
  position: relative;
  animation: float-soft 9s ease-in-out infinite;
}
.hero-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 90px rgba(228, 194, 114, 0.22));
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: 32px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: "✦";
  margin: 0 14px;
  font-size: 11px;
  vertical-align: middle;
  color: var(--gold-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  margin-bottom: 36px;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(228, 194, 114, 0.25), 0 0 80px rgba(200, 179, 230, 0.15);
}
.hero h1 em {
  font-style: normal;
  color: var(--star);
  text-shadow: 0 0 30px rgba(228, 194, 114, 0.55);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-mute);
  max-width: 58ch;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  border: 1px solid;
  position: relative;
  transition: all .4s ease;
  cursor: pointer;
}
.btn--primary {
  border-color: var(--star);
  color: var(--star);
  background: transparent;
  box-shadow: 0 0 0 rgba(228, 194, 114, 0), inset 0 0 0 rgba(228, 194, 114, 0);
}
.btn--primary:hover {
  background: var(--star);
  color: var(--bg-void);
  box-shadow: 0 0 36px rgba(228, 194, 114, 0.6), inset 0 0 18px rgba(255, 217, 138, 0.3);
}
.btn--ghost {
  border-color: var(--lavender);
  color: var(--lavender);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--lavender);
  color: var(--bg-void);
  box-shadow: 0 0 30px rgba(184, 163, 214, 0.45);
}
.btn-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 130px 0; position: relative; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "✦";
  margin-right: 14px;
  color: var(--gold-soft);
  font-size: 10px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
  color: var(--ink);
}
h2 em {
  font-style: normal;
  color: var(--star);
  text-shadow: 0 0 24px rgba(228, 194, 114, 0.4);
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: var(--ink);
}

p {
  color: var(--ink-mute);
  margin-bottom: 20px;
  max-width: var(--max-text);
  font-weight: 400;
}
p.lead {
  font-size: 20px;
  color: var(--ink);
  max-width: 52ch;
  line-height: 1.6;
}
p strong { color: var(--ink); }

a { color: var(--star); text-decoration: none; transition: color .25s ease, text-shadow .25s ease; }
a:hover { color: var(--star-bright); text-shadow: 0 0 12px rgba(228, 194, 114, 0.5); }

ul, ol { color: var(--ink-mute); padding-left: 0; list-style: none; max-width: var(--max-text); }
ul li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(200, 179, 230, 0.07);
}
ul li::before {
  content: "✦";
  position: absolute; left: 0; top: 14px;
  color: var(--star);
  font-size: 11px;
}
ul li:last-child { border-bottom: none; }

hr.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lavender-soft) 50%, transparent 100%);
  margin: 100px auto;
  max-width: 320px;
  opacity: 0.35;
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
}

/* ---------- Three paths ---------- */

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.path {
  position: relative;
  padding: 56px 36px 44px;
  background: linear-gradient(180deg, rgba(37, 21, 72, 0.55) 0%, rgba(14, 7, 38, 0.6) 100%);
  border: 1px solid rgba(200, 179, 230, 0.12);
  text-decoration: none;
  color: var(--ink);
  transition: all .5s ease;
  overflow: hidden;
  text-align: center;
}
.path::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(228, 194, 114, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 0;
  filter: blur(20px);
}
.path:hover::before { opacity: 1; }
.path:hover { border-color: var(--star); transform: translateY(-4px); }

.path > * { position: relative; z-index: 1; }

.path-num {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--star);
  margin-bottom: 24px;
}
.path-constellation {
  width: 80px; height: 80px;
  margin: 0 auto 32px;
  opacity: 0.9;
}
.path-constellation svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 12px rgba(228, 194, 114, 0.35));
}
.path-constellation circle {
  fill: var(--star);
}
.path-constellation line {
  stroke: var(--lavender-soft);
  stroke-width: 0.4;
  opacity: 0.7;
}

.path h3 { color: var(--ink); margin-bottom: 14px; }
.path p { color: var(--ink-mute); font-size: 15px; margin: 0 auto 24px; max-width: 36ch; }
.path-link {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--star);
}
.path-link::after {
  content: " →";
  transition: transform .3s ease;
}
.path:hover .path-link::after { transform: translateX(6px); }

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

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85) saturate(0.85) hue-rotate(-5deg);
}
.about-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(54, 28, 92, 0.25) 0%, rgba(14, 7, 38, 0.45) 100%);
  pointer-events: none;
}
.about-quote {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.3;
  color: var(--lavender);
  text-shadow: 0 0 24px rgba(200, 179, 230, 0.25);
  margin: 40px 0;
  max-width: 22ch;
  letter-spacing: 0.005em;
}

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  padding: 40px 32px;
  background: linear-gradient(180deg, rgba(37, 21, 72, 0.45) 0%, rgba(14, 7, 38, 0.45) 100%);
  border: 1px solid rgba(200, 179, 230, 0.1);
  position: relative;
  overflow: hidden;
}
.testimonial::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(228, 194, 114, 0.16) 0%, transparent 60%);
  filter: blur(20px);
}
.testimonial::before {
  content: "✦";
  display: block;
  font-size: 22px;
  color: var(--star);
  margin-bottom: 22px;
  filter: drop-shadow(0 0 12px rgba(228, 194, 114, 0.4));
}
.testimonial p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 26px;
  letter-spacing: 0.005em;
  font-style: italic;
}
.testimonial-by {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--star);
  text-transform: uppercase;
}

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

/* ---------- Online stripe ---------- */

.stripe {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-void) 100%);
  border-top: 1px solid rgba(200, 179, 230, 0.12);
  border-bottom: 1px solid rgba(200, 179, 230, 0.12);
}
.stripe-eclipse {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(228, 194, 114, 0.16) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.stripe-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}
.stripe h3 { margin-bottom: 12px; }
.stripe p { margin: 0; max-width: 54ch; }

@media (max-width: 880px) { .stripe-inner { grid-template-columns: 1fr; } }

/* ---------- Service hero ---------- */

.service-hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid rgba(200, 179, 230, 0.12);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  position: relative;
}
.service-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 0.005em;
  text-shadow: 0 0 30px rgba(228, 194, 114, 0.18);
}
.service-hero h1 em {
  font-style: normal;
  color: var(--star);
  text-shadow: 0 0 30px rgba(228, 194, 114, 0.55);
}
.service-hero .lead { font-size: clamp(18px, 1.5vw, 22px); }

.service-meta {
  border: 1px solid rgba(200, 179, 230, 0.18);
  background: rgba(14, 7, 38, 0.5);
  padding: 28px 32px;
  font-size: 15px;
  position: relative;
}
.service-meta::before {
  content: "✦";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--bg-void);
  padding: 0 8px;
  color: var(--star);
  font-size: 14px;
}
.service-meta dt {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: 4px;
}
.service-meta dd {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 22px;
}
.service-meta dd:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .service-hero { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Support / modality grids ---------- */

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(200, 179, 230, 0.1);
}
.support-grid li {
  border-bottom: 1px solid rgba(200, 179, 230, 0.1);
  border-right: 1px solid rgba(200, 179, 230, 0.1);
  padding: 22px 22px 22px 46px;
  font-size: 16px;
}
.support-grid li::before {
  left: 20px; top: 24px;
}
.support-grid li:nth-child(2n) { border-right: none; }
@media (max-width: 720px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-grid li { border-right: none; }
}

.modalities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.modality {
  padding: 40px 32px;
  background: linear-gradient(180deg, rgba(37, 21, 72, 0.4) 0%, rgba(14, 7, 38, 0.4) 100%);
  border: 1px solid rgba(200, 179, 230, 0.12);
  position: relative;
  overflow: hidden;
  transition: border-color .4s ease;
}
.modality:hover {
  border-color: var(--star);
}
.modality::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(228, 194, 114, 0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .6s ease;
  filter: blur(30px);
}
.modality:hover::before { opacity: 1; }
.modality h4 { color: var(--star); }
.modality p { font-size: 16px; margin-bottom: 0; }
.modality > * { position: relative; }

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

/* ---------- Mystical hub ---------- */

.callout {
  border: 1px solid rgba(228, 194, 114, 0.3);
  background:
    linear-gradient(135deg, rgba(228, 194, 114, 0.06) 0%, transparent 100%),
    radial-gradient(circle at 100% 0%, rgba(228, 194, 114, 0.1) 0%, transparent 60%);
  padding: 36px 40px;
  margin: 60px 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  position: relative;
  font-style: italic;
}
.callout::before {
  content: "✦";
  position: absolute;
  top: -10px; left: 32px;
  background: var(--bg-void);
  padding: 0 10px;
  color: var(--star);
  font-size: 14px;
}
.callout strong { color: var(--star); font-weight: 400; text-shadow: 0 0 16px rgba(228, 194, 114, 0.35); }

.offerings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.offering {
  padding: 44px 32px;
  border: 1px solid rgba(200, 179, 230, 0.15);
  background: linear-gradient(180deg, rgba(37, 21, 72, 0.5) 0%, rgba(14, 7, 38, 0.5) 100%);
  text-decoration: none;
  color: var(--ink);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.offering::before {
  content: "";
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(228, 194, 114, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .6s ease;
  filter: blur(30px);
  z-index: 0;
}
.offering:hover::before { opacity: 1; }
.offering:hover { border-color: var(--star); transform: translateY(-4px); }
.offering > * { position: relative; z-index: 1; }

.offering-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: 22px;
}
.offering h3 { color: var(--ink); margin-bottom: 14px; }
.offering p { font-size: 15px; margin-bottom: 22px; color: var(--ink-mute); max-width: none; }
.offering-meta {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.offering[data-status="soon"] { opacity: 0.7; }
.offering[data-status="soon"] .offering-tag { color: var(--lavender); }

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

/* ---------- Retreat days ---------- */

.week {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  margin-top: 48px;
}
.day { display: contents; }
.day-label {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--star);
  padding: 40px 0;
  border-top: 1px solid rgba(200, 179, 230, 0.15);
  position: relative;
}
.day-label::before {
  content: "✦";
  position: absolute;
  top: 40px; right: 32px;
  color: var(--gold-soft);
  font-size: 10px;
  opacity: 0.6;
}
.day-body {
  padding: 40px 0 40px 40px;
  border-top: 1px solid rgba(200, 179, 230, 0.15);
  border-left: 1px solid rgba(228, 194, 114, 0.2);
  position: relative;
}
.day-body::before {
  content: "";
  position: absolute;
  left: -4px; top: 50%;
  width: 7px; height: 7px;
  background: var(--star);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(228, 194, 114, 0.6);
}
.day-body h4 { color: var(--ink); margin-bottom: 12px; }
.day-body p { margin-bottom: 0; }

@media (max-width: 720px) {
  .week { grid-template-columns: 1fr; }
  .day-body { padding-left: 24px; }
}

/* ---------- Stub ---------- */

.stub {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 32px 80px;
  position: relative;
}
.stub-constellation {
  width: 120px; height: 120px;
  margin: 0 auto 48px;
  position: relative;
}
.stub-constellation::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(228, 194, 114, 0.16) 0%, transparent 60%);
  filter: blur(24px);
  animation: halo-pulse 10s ease-in-out infinite;
}
.stub-constellation svg {
  width: 100%; height: 100%;
  position: relative;
  filter: drop-shadow(0 0 16px rgba(228, 194, 114, 0.5));
}
.stub-constellation circle { fill: var(--star); }
.stub-constellation line { stroke: var(--lavender-soft); stroke-width: 0.6; opacity: 0.7; }

.stub .eyebrow { display: inline-block; margin: 0 auto 22px; }
.stub h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 auto 22px;
  letter-spacing: 0.005em;
  text-shadow: 0 0 30px rgba(228, 194, 114, 0.2);
}
.stub h1 em {
  font-style: normal;
  color: var(--star);
}
.stub p { max-width: 50ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid rgba(200, 179, 230, 0.1);
  padding: 64px 32px 36px;
  color: var(--ink-faint);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
footer .footer-mark {
  width: 36px; height: 36px;
  background: url('../../../docs/branding/anadi-logo.png') center/cover no-repeat;
  border-radius: 50%;
  margin: 0 0 18px;
  box-shadow: 0 0 16px rgba(228, 194, 114, 0.3);
}
footer p {
  color: var(--ink-faint);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px;
  max-width: none;
}
footer .footer-links {
  display: flex; justify-content: center; gap: 28px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  max-width: none;
}
footer .footer-links li { padding: 0; border: none; }
footer .footer-links li::before { display: none; }
footer .footer-links a {
  color: var(--ink-faint);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
footer .footer-links a:hover { color: var(--star); text-shadow: 0 0 12px rgba(228, 194, 114, 0.45); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark, .nebula, .hero-eclipse::before, .stub-constellation::before { animation: none; }
}
