/* ─── Custom properties ─── */
:root {
  --bg: #0A0E1A;
  --bg-secondary: #0E1222;
  --bg-card: #131830;
  --amber: #E8A838;
  --amber-dim: rgba(232,168,56,0.15);
  --violet: #B8A5D6;
  --violet-dim: rgba(184,165,214,0.12);
  --cream: #EDE8DC;
  --cream-dim: rgba(237,232,220,0.6);
  --text: #EDE8DC;
  --text-muted: rgba(237,232,220,0.5);
  --text-dim: rgba(237,232,220,0.35);
  --border: rgba(232,168,56,0.12);
  --border-light: rgba(237,232,220,0.08);
}

/* ─── Base ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; }
em { font-style: italic; font-weight: 300; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 80px 80px 80px;
}

/* Constellation layer */
.constellation-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.constellation-svg {
  width: 100%;
  height: 100%;
  animation: drift 60s ease-in-out infinite alternate;
}

/* Star particles */
.star-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
  animation: twinkle 3s ease-in-out infinite;
}
.s1  { width: 2px; height: 2px; top: 12%; left: 8%;  animation-delay: 0s; }
.s2  { width: 3px; height: 3px; top: 22%; left: 22%; animation-delay: 0.7s; }
.s3  { width: 2px; height: 2px; top: 35%; left: 15%; animation-delay: 1.4s; }
.s4  { width: 2px; height: 2px; top: 18%; left: 65%; animation-delay: 0.3s; }
.s5  { width: 3px; height: 3px; top: 8%;  left: 78%; animation-delay: 1.1s; }
.s6  { width: 2px; height: 2px; top: 45%; left: 82%; animation-delay: 0.9s; }
.s7  { width: 2px; height: 2px; top: 60%; left: 72%; animation-delay: 1.8s; }
.s8  { width: 3px; height: 3px; top: 75%; left: 45%; animation-delay: 0.5s; }
.s9  { width: 2px; height: 2px; top: 85%; left: 25%; animation-delay: 2.0s; }
.s10 { width: 2px; height: 2px; top: 55%; left: 10%; animation-delay: 1.6s; }
.s11 { width: 2px; height: 2px; top: 30%; left: 55%; animation-delay: 0.2s; }
.s12 { width: 3px; height: 3px; top: 70%; left: 88%; animation-delay: 1.3s; }
.s13 { width: 2px; height: 2px; top: 15%; left: 92%; animation-delay: 0.8s; }
.s14 { width: 2px; height: 2px; top: 40%; left: 38%; animation-delay: 1.9s; }
.s15 { width: 2px; height: 2px; top: 90%; left: 60%; animation-delay: 0.4s; }
.s16 { width: 3px; height: 3px; top: 5%;  left: 50%; animation-delay: 1.5s; }
.s17 { width: 2px; height: 2px; top: 65%; left: 30%; animation-delay: 2.2s; }
.s18 { width: 2px; height: 2px; top: 50%; left: 90%; animation-delay: 0.6s; }
.s19 { width: 2px; height: 2px; top: 3%;  left: 30%; animation-delay: 1.2s; }
.s20 { width: 3px; height: 3px; top: 80%; left: 15%; animation-delay: 0.1s; }

/* Hero orb */
.hero-orb {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  z-index: 1;
  pointer-events: none;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 4s ease-in-out infinite;
}
.orb-ring-1 { width: 320px; height: 320px; border-color: rgba(232,168,56,0.2); animation-delay: 0s; }
.orb-ring-2 { width: 400px; height: 400px; border-color: rgba(232,168,56,0.1); animation-delay: 0.5s; }
.orb-ring-3 { width: 480px; height: 480px; border-color: rgba(184,165,214,0.07); animation-delay: 1s; }
.orb-core {
  position: absolute;
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(232,168,56,0.25), rgba(184,165,214,0.1), transparent 70%);
}
.orb-glow {
  position: absolute;
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,56,0.08) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}
.orb-star {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: twinkle 2.5s ease-in-out infinite;
}
.os1 { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0.2s; }
.os2 { top: 50%; right: 8%; transform: translateY(-50%); animation-delay: 0.8s; }
.os3 { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 1.4s; }
.os4 { top: 50%; left: 8%; transform: translateY(-50%); animation-delay: 0.5s; }
.os5 { top: 25%; left: 25%; animation-delay: 1.1s; }
.os6 { top: 25%; right: 25%; animation-delay: 0.3s; }
.os7 { bottom: 25%; left: 25%; animation-delay: 1.7s; }
.os8 { bottom: 25%; right: 25%; animation-delay: 0.9s; }

/* Orbital */
.orbital-container {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  pointer-events: none;
}
.orbital-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(232,168,56,0.15);
  animation: pulse-glow 6s ease-in-out infinite;
}
.orbital-star {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--amber);
  animation: twinkle 3s ease-in-out infinite;
}
.os-a { top: 10%; left: 45%; }
.os-b { top: 50%; right: 5%; }
.os-c { bottom: 20%; left: 15%; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  padding-right: 80px;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.8;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 32px;
}
.hero-headline em {
  color: var(--amber);
  font-style: italic;
}
.hero-sub {
  margin-bottom: 40px;
}
.hero-sub p {
  font-size: 17px;
  color: var(--cream-dim);
  max-width: 420px;
  line-height: 1.7;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--cream-dim);
  background: var(--amber-dim);
}

/* ─── Manifesto ─── */
.manifesto {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 100px 80px;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto-left { }
.manifesto-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 20px;
}
.manifesto-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
}
.manifesto-right { }
.manifesto-body {
  font-size: 17px;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}
.manifesto-body strong { color: var(--amber); font-weight: 500; }

/* ─── Features ─── */
.features {
  padding: 120px 80px;
  max-width: 1300px;
  margin: 0 auto;
}
.features-header {
  text-align: center;
  margin-bottom: 100px;
}
.features-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 20px;
}
.features-heading {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto;
}
.features-heading em { color: var(--amber); }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--2 .feature-text { order: -1; }
.feature-row--2 .feature-illustration { order: 0; }

.feature-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 16px;
}
.feature-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
}
.feature-body {
  font-size: 16px;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 28px;
}
.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-meta span {
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-muted);
}

/* Tarot card illustration */
.tarot-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}
.card {
  position: absolute;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}
.card-1 { left: 20%; transform: rotate(-12deg); animation: float-up 4s ease-in-out infinite; animation-delay: 0s; }
.card-2 { left: 45%; transform: rotate(3deg); animation: float-up 4s ease-in-out infinite; animation-delay: 0.8s; }
.card-3 { left: 65%; transform: rotate(14deg); animation: float-up 4s ease-in-out infinite; animation-delay: 1.6s; }
.card:hover { transform: translateY(-8px) !important; }
.card-inner { width: 90px; }
.card-glow {
  position: absolute;
  width: 300px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(232,168,56,0.1) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Journal illustration */
.journal-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}
.journal-book {
  position: relative;
  width: 160px;
  display: flex;
  align-items: stretch;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.5));
  z-index: 1;
}
.journal-spine {
  width: 16px;
  background: linear-gradient(to right, rgba(232,168,56,0.4), rgba(232,168,56,0.1));
  border-radius: 4px 0 0 4px;
}
.journal-pages {
  flex: 1;
  background: var(--bg-card);
  border-radius: 0 6px 6px 0;
  padding: 20px 20px 20px 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.journal-line { height: 2px; background: rgba(237,232,220,0.1); border-radius: 1px; }
.gl-1 { width: 80%; }
.gl-2 { width: 60%; }
.gl-3 { width: 70%; }
.gl-4 { width: 50%; }
.gl-5 { width: 65%; }
.journal-entry { margin-top: 8px; }
.entry-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--amber-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.entry-symbol { flex-shrink: 0; }
.entry-symbol svg { display: block; }
.entry-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.8;
  margin-bottom: 4px;
}
.entry-desc {
  font-size: 12px;
  color: var(--cream-dim);
  line-height: 1.5;
  font-style: italic;
}
.journal-glow {
  position: absolute;
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,168,56,0.12) 0%, transparent 70%);
  animation: pulse-glow 5s ease-in-out infinite;
  z-index: 0;
}
.journal-light-ray {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 200px;
  background: linear-gradient(to bottom, rgba(232,168,56,0.3), transparent);
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
  opacity: 0.4;
}

/* Constellation illustration */
.constellation-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  z-index: 1;
}
.const-svg { width: 100%; max-width: 400px; }
.constellation-glow {
  position: absolute;
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,168,56,0.08) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

/* ─── Process ─── */
.process {
  padding: 100px 80px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}
.process-header {
  text-align: center;
  margin-bottom: 80px;
}
.process-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 20px;
}
.process-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--cream);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  position: relative;
}
.step-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--amber);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}
.step-connector {
  position: absolute;
  top: 28px;
  right: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}
.step-connector--last { display: none; }
.step-title {
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}
.step-body {
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ─── Principles ─── */
.principles {
  padding: 120px 80px;
}
.principles-inner { max-width: 1200px; margin: 0 auto; }
.principles-header {
  text-align: center;
  margin-bottom: 80px;
}
.principles-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.7;
  margin-bottom: 20px;
}
.principles-heading {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto;
}
.principles-heading em { color: var(--amber); font-style: italic; }
.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.principle {
  padding: 48px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  transition: background 0.3s ease;
}
.principle:hover { background: var(--bg-secondary); }
.principle-icon { margin-bottom: 20px; }
.principle-icon svg { display: block; }
.principle-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}
.principle-body {
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ─── Closing ─── */
.closing {
  padding: 120px 80px 100px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-stars {
  margin-bottom: 60px;
  opacity: 0.5;
}
.closing-constellation { width: 100%; }
.closing-headline {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 60px;
}
.closing-statement {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  color: var(--cream-dim);
  line-height: 1.8;
}
.closing-statement span {
  color: var(--amber);
  font-style: italic;
  font-size: 24px;
}

/* ─── Footer ─── */
.footer {
  padding: 60px 80px 40px;
  border-top: 1px solid var(--border-light);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-links span {
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s;
}
.footer-links span:hover { color: var(--amber); }
.footer-bottom {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 80px;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .hero-orb { display: none; }
  .orbital-container { display: none; }
  .manifesto { padding: 60px 24px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .features { padding: 80px 24px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--2 .feature-text { order: 0; }
  .feature-row--2 .feature-illustration { order: -1; }
  .process-steps { flex-direction: column; gap: 48px; }
  .step-connector { display: none; }
  .principle-grid { grid-template-columns: 1fr; }
  .closing { padding: 80px 24px; }
  .footer { padding: 40px 24px 30px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 12px; }
}