/* ═══════════════════════════════════════════════════════════════
   NINTH HOUSE — STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg:        #05060e;
  --bg-2:      #080913;
  --bg-3:      #0b0c1a;
  --panel:     rgba(14,15,28,0.72);
  --ink:       #ece8f5;
  --ink-soft:  #c8c2dc;
  --muted:     #8b85a6;
  --muted-2:   #6a6585;
  --gold:      #c9a55c;
  --gold-br:   #e7cd92;
  --gold-dim:  rgba(201,165,92,0.14);
  --cyan:      #7fb6e8;
  --violet:    #8a78f0;
  --marble:    #e9e2d2;
  --line:      rgba(201,165,92,0.16);
  --line-2:    rgba(255,255,255,0.07);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --display:   'Cinzel', 'Cormorant Garamond', serif;
  --sans:      'Manrope', system-ui, -apple-system, sans-serif;
  --maxw:      1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Cosmos canvas (fixed behind everything) ─────────────────── */
#cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page { position: relative; z-index: 1; }

/* vignette + deepening gradient over the cosmos for legibility */
.veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, transparent 40%, rgba(5,6,14,0.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(5,6,14,0.7), transparent 60%);
}

/* ── Shared type utilities ───────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.cyan { color: var(--cyan); }
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.serif { font-family: var(--serif); }
.gold-text { color: var(--gold); }
.italic { font-style: italic; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.4rem;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,6,14,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 2.4rem;
}
.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand .mark {
  color: var(--gold);
  font-size: 1.1rem;
}
.nav-rail {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-rail a {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}
.nav-rail a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-rail a:hover { color: var(--ink); }
.nav-rail a:hover::after { width: 100%; }
.nav-book {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--gold);
  color: var(--gold-br) !important;
  border-radius: 2px;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-book:hover { background: var(--gold-dim); box-shadow: 0 0 24px rgba(201,165,92,0.2); }
.nav-book::after { display: none; }

/* left-side chart entry (distinct invitation) */
.chart-entry {
  position: fixed;
  left: 0; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  z-index: 99;
  padding: 1.1rem 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  border-right: 1px solid rgba(127,182,232,0.3);
  background: linear-gradient(180deg, transparent, rgba(127,182,232,0.06), transparent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color 0.3s, background 0.3s;
}
.chart-entry::before {
  content: '\2723';
  transform: rotate(90deg);
  font-size: 0.9rem;
}
.chart-entry:hover { color: #acd4f5; background: linear-gradient(180deg, transparent, rgba(127,182,232,0.14), transparent); }

.nav-toggle { display: none; }
.nav-mobile { display: none; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 2.6rem;
}
.hero-inner {
  position: relative; z-index: 2; max-width: 920px;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

/* director toggle */
.director {
  position: absolute;
  top: 6.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.3rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(8,9,19,0.6);
  backdrop-filter: blur(12px);
}
.director button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
  font-weight: 500;
}
.director button.active { color: var(--bg); background: var(--gold); }
.director button:not(.active):hover { color: var(--ink); }

/* hero content — shared */
.hero-eyebrow { margin-bottom: 1.8rem; display: inline-block; transition: opacity 0.9s ease, transform 0.9s ease; }
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-title .line { display: block; }
.hero-title .line > span {
  display: inline-block;
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.16,.84,.3,1);
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 1.8rem auto 0;
  line-height: 1.5;
  transition: opacity 1s ease 0.1s, transform 1s ease 0.1s;
}
.hero-cta {
  margin-top: 2.8rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-gold { background: var(--gold); color: #100c04; }
.btn-gold:hover { box-shadow: 0 0 36px rgba(201,165,92,0.4); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(127,182,232,0.5); color: var(--cyan); }
.btn-ghost:hover { background: rgba(127,182,232,0.08); box-shadow: 0 0 30px rgba(127,182,232,0.2); color: #bfe0fb; }
.btn-line { border-color: var(--line); color: var(--ink-soft); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-br); }
.btn .sweep { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s; }
.btn:hover .sweep { transform: translateX(120%); }

/* ── Hero entrance — transition-based, ADD a class (reliable here).
   Entrance animates TRANSFORM ONLY and keeps opacity:1 at all
   times, so content is visible even if the animation timeline is
   frozen/never advances (some preview/screenshot renderers). ── */
@keyframes nhRiseT { from { transform: translateY(22px); } to { transform: none; } }
@keyframes nhRiseLineT { from { transform: translateY(40px); } to { transform: none; } }

.hero-eyebrow { animation: nhRiseT 0.9s cubic-bezier(.16,.84,.3,1) 0.05s both; }
.hero-title .line > span { display: inline-block; animation: nhRiseLineT 1s cubic-bezier(.16,.84,.3,1) both; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.24s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.36s; }
.hero-sub { animation: nhRiseT 1s cubic-bezier(.16,.84,.3,1) 0.5s both; }
.hero-cta { animation: nhRiseT 1s cubic-bezier(.16,.84,.3,1) 0.65s both; }

/* scroll cue */
.scroll-cue {
  position: relative;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  transition: opacity 1s ease 0.4s;
}
.scroll-cue .bar { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cueBar 2.4s ease-in-out infinite; }

/* ── HERO SKIN: ALCHEMY ──────────────────────────────────────── */
.astrolabe {
  position: absolute;
  top: 50%; left: 50%;
  width: min(86vh, 680px); height: min(86vh, 680px);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.astrolabe svg { width: 100%; height: 100%; overflow: visible; }
.astrolabe .al-ring { fill: none; stroke: var(--gold); stroke-width: 0.6; opacity: 0.5; }
.astrolabe .al-ring.faint { opacity: 0.25; }
.astrolabe .al-tick { stroke: var(--gold); stroke-width: 0.5; opacity: 0.4; }
.astrolabe .al-glyph { fill: var(--gold); opacity: 0.6; font-family: var(--serif); }
.astrolabe .spin-slow { transform-origin: center; animation: spin 240s linear infinite; }
.astrolabe .spin-rev  { transform-origin: center; animation: spin 180s linear infinite reverse; }

body[data-hero="alchemy"] .astrolabe { opacity: 1; }
body[data-hero="alchemy"] .hero-title { letter-spacing: 0.14em; }
body[data-hero="alchemy"] .motto { opacity: 1; transform: translateY(0); }

.motto {
  margin-top: 2rem;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

/* ── HERO SKIN: MARBLE + GOLD ────────────────────────────────── */
.marble-plate {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(233,226,210,0.10), transparent 70%);
}
body[data-hero="marble"] .marble-plate { opacity: 1; }
body[data-hero="marble"] .hero-title {
  background: linear-gradient(176deg, #fbf3dd 0%, #d8b878 45%, #b8923f 60%, #f3e3bb 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(201,165,92,0.25));
}
body[data-hero="marble"] .hero-sub { color: var(--marble); }
body[data-hero="marble"] #cosmos { opacity: 0.45; }
body[data-hero="alchemy"] #cosmos { opacity: 0.7; }
#cosmos { transition: opacity 1s ease; }

/* ── SECTION SCAFFOLD ────────────────────────────────────────── */
.section { padding: 7rem 2rem; position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: 0.03em;
  margin: 1rem 0 1.1rem;
  color: var(--ink);
}
.section-desc { color: var(--muted); font-size: 1rem; line-height: 1.85; max-width: 560px; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ornamental divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--gold); margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: ''; height: 1px; width: 90px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament span { font-size: 1rem; letter-spacing: 0.4em; opacity: 0.8; }

/* ── INTERACTIVE CHART SECTION ───────────────────────────────── */
#chart { background: linear-gradient(180deg, transparent, rgba(8,9,19,0.6) 30%, rgba(8,9,19,0.6) 70%, transparent); }
.chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 3rem;
  align-items: start;
}
.chart-stage {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart-mount { width: 100%; max-width: 620px; }
.chart-svg { width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; }
.chart-svg.grabbing { cursor: grabbing; }
.chart-empty {
  text-align: center;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  max-width: 320px;
}
.chart-empty .big { font-size: 3rem; color: var(--gold); display: block; margin-bottom: 1rem; opacity: 0.5; }

/* rings + spokes */
.ring { fill: none; }
.ring-outer  { stroke: var(--gold); stroke-width: 1; opacity: 0.55; }
.ring-zodiac { stroke: var(--gold); stroke-width: 0.6; opacity: 0.3; }
.ring-house  { stroke: rgba(255,255,255,0.18); stroke-width: 0.5; }
.ring-inner  { stroke: var(--gold); stroke-width: 0.5; opacity: 0.4; }
.spoke { stroke: var(--gold); stroke-width: 0.4; opacity: 0.25; }
.house-cusp { stroke: rgba(255,255,255,0.14); stroke-width: 0.5; }
.house-num { fill: var(--muted); font-family: var(--sans); font-size: 9px; letter-spacing: 0.05em; }
.house-hit { fill: transparent; cursor: pointer; }
.house-hit:hover { fill: rgba(127,182,232,0.05); }
.house-hit.sel { fill: rgba(127,182,232,0.08); }
.sign-glyph { font-family: var(--serif); opacity: 0.85; }
.planet-tick { stroke: var(--gold); stroke-width: 0.4; opacity: 0.3; }
.planet { cursor: pointer; }
.planet-halo { fill: rgba(10,11,24,0.9); stroke: var(--gold); stroke-width: 0.6; opacity: 0.85; transition: fill 0.25s, stroke 0.25s; }
.planet-glyph { fill: var(--gold-br); font-family: var(--serif); font-size: 17px; transition: fill 0.25s; }
.planet:hover .planet-halo { fill: rgba(201,165,92,0.18); stroke: var(--gold-br); }
.planet:hover .planet-glyph { fill: #fff; }
.planet.sel .planet-halo { fill: var(--gold); stroke: var(--gold-br); }
.planet.sel .planet-glyph { fill: #100c04; }
.aspect-line { stroke-width: 0.5; opacity: 0.4; }
.aspect-trine   { stroke: #7f9fd0; }
.aspect-sextile { stroke: #7f9fd0; opacity: 0.3; }
.aspect-square  { stroke: #d98a5a; }
.aspect-opp     { stroke: #d98a5a; opacity: 0.5; stroke-dasharray: 3 3; }
.asc-line { stroke: var(--cyan); stroke-width: 1; opacity: 0.7; }
.asc-label { fill: var(--cyan); font-family: var(--sans); font-size: 9px; letter-spacing: 0.18em; }

/* draw-in animation: dash the rings/spokes/ticks */
.chart-svg.drawing .ring,
.chart-svg.drawing .spoke,
.chart-svg.drawing .house-cusp,
.chart-svg.drawing .planet-tick,
.chart-svg.drawing .sign-glyph {
  animation: none;
}
.chart-svg .ring { stroke-dasharray: 2000; stroke-dashoffset: 0; }
.chart-svg.drawing .ring { animation: drawRing 1.3s ease forwards; }
@keyframes drawRing { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: 0; } }
.chart-svg.drawing .sign-glyph { opacity: 0; animation: fadeGlyph 0.6s ease forwards; }
.chart-svg.drawing .sign-glyph:nth-child(odd) { animation-delay: 0.5s; }
.chart-svg.drawing .sign-glyph:nth-child(even) { animation-delay: 0.7s; }
@keyframes fadeGlyph { to { opacity: 0.85; } }
@keyframes nhPlanetPop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* chart control panel (right column) */
.chart-side { position: sticky; top: 6rem; }
.chart-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.8rem;
  backdrop-filter: blur(14px);
}
.chart-form h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.chart-form .form-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.4rem; line-height: 1.6; }
.field { margin-bottom: 1rem; position: relative; }
.field label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input {
  width: 100%;
  background: rgba(5,6,14,0.6);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { border-color: rgba(201,165,92,0.55); box-shadow: 0 0 0 3px rgba(201,165,92,0.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.chart-submit {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.9rem;
  background: var(--gold);
  color: #100c04;
  border: none;
  border-radius: 7px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: box-shadow 0.3s, transform 0.2s;
}
.chart-submit:hover { box-shadow: 0 0 30px rgba(201,165,92,0.4); transform: translateY(-1px); }

/* meaning panel */
.chart-panel {
  margin-top: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem;
  min-height: 140px;
  backdrop-filter: blur(14px);
  opacity: 1;
}
.chart-panel.active { border-color: rgba(201,165,92,0.4); }
.chart-panel .cp-hint { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.cp-glyph { font-size: 2.2rem; color: var(--gold); line-height: 1; margin-bottom: 0.6rem; font-family: var(--serif); }
.cp-eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.3rem; }
.cp-title { font-family: var(--display); font-size: 1.15rem; margin-bottom: 0.7rem; color: var(--ink); }
.cp-body { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.7; font-weight: 300; }
.cp-meta { margin-top: 0.8rem; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

/* big-3 snapshot card */
.snapshot {
  margin-top: 1.2rem;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.snapshot.show { display: grid; animation: fadeUp 0.6s ease; }
.snap-cell {
  text-align: center;
  padding: 1rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(8,9,19,0.5);
}
.snap-cell .g { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); }
.snap-cell .k { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.snap-cell .v { font-family: var(--display); font-size: 0.95rem; color: var(--ink); margin-top: 0.15rem; }

/* email gate inside chart */
.chart-gate { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.chart-gate p { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.7rem; line-height: 1.55; }

/* drag hint */
.drag-hint {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.drag-hint .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: pulse 2s infinite; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: center; }
.about-portrait {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(0.85) contrast(1.02); }
.about-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,6,14,0.5));
  pointer-events: none;
}
.about-portrait .frame-glyph {
  position: absolute; top: 0.8rem; right: 0.9rem; z-index: 2;
  color: var(--gold); font-family: var(--serif); font-size: 1.2rem; opacity: 0.8;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 1.5rem 0;
  font-weight: 300;
}
.about-body p { color: var(--muted); font-size: 1rem; line-height: 1.9; margin-bottom: 1rem; }
.placements { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.placement {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: border-color 0.3s, color 0.3s;
}
.placement:hover { border-color: var(--gold); color: var(--gold-br); }
.placement .pg { color: var(--gold); }

/* ── SERVICES ────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; }
.service {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.2rem 2rem;
  background: rgba(8,9,19,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), border-color 0.4s, box-shadow 0.4s;
}
.service::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(201,165,92,0.1), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(201,165,92,0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.service:hover::before { opacity: 1; }
.service-glyph { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); transition: transform 0.5s; }
.service:hover .service-glyph { transform: scale(1.12) rotate(-6deg); }
.service-name { font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: 0.02em; }
.service-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.75; flex: 1; }
.service-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price { font-family: var(--display); display: flex; align-items: baseline; gap: 0.5rem; }
.price .was { font-size: 1rem; color: var(--muted); text-decoration: line-through; opacity: 0.6; }
.price .now { font-size: 1.7rem; color: var(--gold); }
.service-book {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line);
  padding: 0.5rem 1rem; border-radius: 3px; transition: all 0.25s; background: transparent;
}
.service-book:hover { border-color: var(--gold); color: var(--gold-br); }
.service-badge {
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim);
  border: 1px solid rgba(201,165,92,0.25); border-radius: 3px;
  padding: 0.25rem 0.6rem; align-self: flex-start;
}

/* ── LEARN (placeholder) ─────────────────────────────────────── */
#learn { text-align: center; }
.learn-card {
  max-width: 760px; margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4rem 3rem;
  background: rgba(8,9,19,0.5);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.learn-card::before {
  content: '\2316';
  position: absolute; top: -30px; right: -20px;
  font-size: 12rem; color: var(--gold); opacity: 0.05;
  font-family: var(--serif);
}
.learn-soon {
  display: inline-block;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(127,182,232,0.3);
  border-radius: 100px; padding: 0.4rem 1.1rem; margin-bottom: 1.6rem;
}
.learn-list { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.learn-item { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }
.learn-item .g { color: var(--gold); font-family: var(--serif); font-size: 1.3rem; display: block; margin-bottom: 0.3rem; }

/* ── EMAIL CAPTURE ───────────────────────────────────────────── */
#capture { }
.capture-card {
  max-width: 880px; margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 3.5rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(138,120,240,0.1), transparent 70%),
    rgba(8,9,19,0.6);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.capture-form { display: flex; gap: 0.6rem; max-width: 460px; margin: 1.8rem auto 0; }
.capture-form input {
  flex: 1;
  background: rgba(5,6,14,0.7);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.capture-form input:focus { border-color: rgba(201,165,92,0.5); }
.capture-fine { font-size: 0.74rem; color: var(--muted-2); margin-top: 1rem; }
.capture-ok { display: none; margin-top: 1.2rem; color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }

/* ── BOOKING ─────────────────────────────────────────────────── */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.booking-steps { list-style: none; counter-reset: step; }
.booking-steps li {
  counter-increment: step;
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-2);
}
.booking-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 0.9rem; color: var(--gold);
  border: 1px solid var(--line); border-radius: 50%;
  width: 2.2rem; height: 2.2rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.booking-steps h4 { font-family: var(--display); font-weight: 400; font-size: 1.05rem; margin-bottom: 0.2rem; }
.booking-steps p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
.booking-cta {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  background: rgba(8,9,19,0.6);
  backdrop-filter: blur(10px);
}
.booking-cta .price-lead { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.1rem; }
.booking-cta .price-big { font-family: var(--display); font-size: 3rem; color: var(--gold); margin: 0.4rem 0 0.2rem; }
.pay-row { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }
.pay-badge { font-size: 0.72rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line-2); border-radius: 100px; padding: 0.4rem 0.9rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item:first-child { border-top: 1px solid var(--line-2); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  text-align: left;
  padding: 1.5rem 0.2rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.25s, padding-left 0.3s;
}
.faq-q:hover { color: var(--gold-br); padding-left: 0.6rem; }
.faq-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--gold);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), background 0.3s, color 0.3s;
}
.faq-item.open .faq-mark { transform: rotate(135deg); background: var(--gold-dim); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(.2,.7,.2,1);
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
  padding: 0 0.2rem 1.5rem;
  max-width: 680px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  background: rgba(5,6,14,0.7);
}
.footer-brand { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.2em; color: var(--ink); margin-bottom: 0.8rem; }
.footer-brand .mark { color: var(--gold); }
.footer-links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.footer-links a { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-fine { font-size: 0.72rem; color: var(--muted-2); margin-top: 1rem; line-height: 1.7; }

/* ── REVEAL — visible by default; .in plays a keyframe animation
   (transitions can freeze in some renderers, animations don't).
   If .in is never added, content simply stays visible. ── */
.reveal { opacity: 1; transform: none; }
.reveal.in { animation: nhRiseT 0.9s cubic-bezier(.2,.7,.2,1) both; }
.reveal.d1.in { animation-delay: 0.08s; }
.reveal.d2.in { animation-delay: 0.16s; }
.reveal.d3.in { animation-delay: 0.24s; }
.reveal.d4.in { animation-delay: 0.32s; }

/* ── KEYFRAMES ───────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes lineRise { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
@keyframes cueBar { 0%,100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .chart-layout { grid-template-columns: 1fr; }
  .chart-side { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-portrait { max-width: 300px; }
  .booking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-rail { display: none; }
  .chart-entry { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 4px;
  }
  .nav-toggle span { width: 22px; height: 1.5px; background: var(--gold); transition: transform 0.3s, opacity 0.3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-mobile {
    display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 98;
    flex-direction: column; gap: 1.2rem; padding: 1.6rem 2rem;
    background: rgba(5,6,14,0.97); border-bottom: 1px solid var(--line);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
  .director { top: 5rem; flex-wrap: wrap; justify-content: center; }
  .director button { padding: 0.4rem 0.8rem; font-size: 0.6rem; }
  .section { padding: 5rem 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .capture-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero-title .line > span { opacity: 1; transform: none; }
}
