/* ================= NESSA site · v30 "Porcelain Night" — the official look =================
   Deep navy (the background of her portrait) + porcelain white. Calm, professional.
   Loaded after site.css (which is already a dark site); scoped to body.night.                      */
body.night {
  --bg: #0a1520; --ink: #eef2f6; --muted: #8b9bb0; --dim: #5d6e84;
  --blue: #c9d8ea; --violet: #e6ecf3; --cyan: #c9d8ea; --gold: #e8d2a6;
  --line: rgba(255,255,255,.09); --glass: rgba(255,255,255,.04); --glass-hi: rgba(255,255,255,.1);
  --display: "Manrope", Inter, sans-serif;
  background: #0a1520; color: var(--ink); font-family: Inter, -apple-system, sans-serif;
}
html:has(body.night) { background: #0a1520; }
body.night h1, body.night h2, body.night h3 { font-family: var(--display); }
body.night h2 { font-weight: 400; letter-spacing: -.03em; }
body.night h2 em, body.night em { font-family: var(--display); font-style: normal; font-weight: 600; letter-spacing: -.03em; }
body.night h2 em .wd, body.night .trader h2 em .wd { background-image: linear-gradient(100deg, #ffffff, #dfe7f0 45%, #a9bcd2); -webkit-background-clip: text; background-clip: text; }
body.night .trader h2 em { background: linear-gradient(100deg, #ffffff, #c9d8ea); -webkit-background-clip: text; background-clip: text; }
body.night .kicker, body.night .kicker.gold { color: #a9bcd2; }
body.night .grain { opacity: .04; }

/* buttons: porcelain white on navy */
body.night .glass-btn.primary, body.night .glass-btn.gold { background: #f4f6f8; color: #0a1520; border: 0; font-weight: 600; box-shadow: 0 14px 40px -14px rgba(255,255,255,.35); }
body.night .glass-btn.primary:hover, body.night .glass-btn.gold:hover { background: #fff; box-shadow: 0 18px 50px -12px rgba(255,255,255,.45); }
body.night .glass-btn { font-family: Inter, sans-serif; }
body.night .pulse { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
body.night .loader { background: radial-gradient(ellipse at 50% 55%, #16304b, transparent 60%), #0a1520; }
body.night .loader-inner::before { content: ""; width: 120px; height: 120px; border-radius: 50%; background: url(../assets/nessa/nessa-porcelain-face.webp) center / cover no-repeat, #13243a;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 60px rgba(255,255,255,.18); animation: ntGlow 3.4s ease-in-out infinite; }
@keyframes ntGlow { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 0 80px rgba(255,255,255,.3); } }
body.night .loader-logo { font-family: var(--display); font-weight: 600; letter-spacing: .4em; }
body.night .loader-bar span { background: linear-gradient(90deg, rgba(255,255,255,.4), #fff); }
body.night .logo { font-family: var(--display); font-weight: 600; letter-spacing: .3em; }
body.night .logo-orb { width: 28px; height: 28px; background: url(../assets/nessa/nessa-porcelain-face.webp) center / cover no-repeat, #13243a; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 14px rgba(255,255,255,.3); }
body.night .nav { background: rgba(10,21,32,.6); }

/* ---------- hero: Nessa in her navy world ---------- */
body.night .hero-media { background: #0a1520; }
body.night .hero-media::after { background: linear-gradient(180deg, rgba(10,21,32,.2) 0%, transparent 20%, transparent 70%, rgba(10,21,32,.85) 92%, #0a1520 100%); z-index: 2; }
.hx-grad { position: absolute; inset: 0; background: radial-gradient(900px 700px at 70% 42%, #18304a 0%, rgba(24,48,74,0) 62%), linear-gradient(180deg, #08121c 0%, #0a1520 50%, #070f18 100%); }
.hx-blob { display: none; }
.hx-word { position: absolute; right: 0; top: 13vh; width: 60vw; text-align: center; font-family: var(--display); font-size: clamp(70px, 10vw, 180px); line-height: .9; letter-spacing: -.04em; white-space: nowrap; color: #fff; }
.hx-word i { font-style: normal; font-weight: 300; color: rgba(244,246,248,.32); }
.hx-word b { font-weight: 500; color: rgba(244,246,248,.9); }
.hx-ring { position: absolute; left: 70%; top: 30%; width: min(52vh, 40vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; transform: perspective(900px) rotateX(75deg); animation: hxSpin 22s linear infinite; }
.hx-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 1.5px;
  background: conic-gradient(from 0deg, rgba(255,255,255,0), rgba(255,255,255,.85), rgba(201,216,234,.5) 30%, rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: drop-shadow(0 0 6px rgba(255,255,255,.45)); }
.hx-ring.r2 { width: min(74vh, 56vw); animation-duration: 34s; animation-direction: reverse; opacity: .35; }
@keyframes hxSpin { to { transform: perspective(900px) rotateX(75deg) rotateZ(360deg); } }
.hx-horizon { position: absolute; left: 0; right: 0; top: 74%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); }
.hx-floor { position: absolute; left: -20%; right: -20%; top: 74%; bottom: -10%; transform-origin: top; transform: perspective(700px) rotateX(66deg);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 70px 70px;
  animation: hxRun 18s linear infinite; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
@keyframes hxRun { to { background-position: 0 70px, 0 0; } }
.hx-orb, .hx-shell { display: none; }
.hx-mist { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(to top, #0a1520, rgba(10,21,32,0)); pointer-events: none; z-index: 2; }
body.night .hero-media canvas { z-index: 1; }
body.night .hero-fallback { object-fit: contain; object-position: 72% 100%; height: 80%; top: auto; bottom: 0; filter: drop-shadow(0 0 40px rgba(255,255,255,.2)); }
body.night .hero-kicker { color: #a9bcd2; }
body.night .hero-title { font-family: var(--display); font-weight: 300; text-shadow: none; max-width: 9ch; color: #f4f6f8; letter-spacing: -.04em; }
body.night .hero-title .strong { font-weight: 600; }
body.night .hero-sub { color: var(--muted); font-weight: 400; }
body.night .hero-bottom { flex-direction: column; align-items: flex-start; gap: 26px; }
body.night .greeting { top: 54vh; right: auto; left: 43%; background: rgba(12,22,34,.85); border: 1px solid rgba(255,255,255,.14); }
body.night .g-orb { width: 30px; height: 30px; background: url(../assets/nessa/nessa-porcelain-face.webp) center / cover no-repeat, #13243a; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 14px rgba(255,255,255,.25); }
body.night .caret { background: #fff; }
body.night .scroll-hint span { background: linear-gradient(#fff, transparent); }
@media (max-width: 760px) {
  .hx-word { width: 100%; top: 12vh; font-size: 24vw; } .hx-word i { display: none; }
  .hx-ring { left: 50%; top: 26%; width: 70vw; } .hx-ring.r2 { width: 92vw; }
  body.night .hero { height: auto; min-height: 100svh; display: block; padding-top: 64svh; padding-bottom: 90px; }
  body.night .hero-media { bottom: auto; height: 70svh; }
  body.night .hero-fallback { object-position: 50% 100%; height: 92%; }
  body.night .greeting { left: 50%; right: auto; translate: -50% 0; top: calc(64svh - 70px); bottom: auto; white-space: nowrap; border-radius: 999px; }
  body.night .hero-title { font-size: clamp(46px, 13vw, 70px); max-width: none; }
}

/* statement, marquee, chat */
body.night .statement-text { font-family: var(--display); font-weight: 400; }
body.night .statement-text .w { color: rgba(238,242,246,.12); }
body.night .marquee { background: rgba(8,16,26,.6); }
body.night .marquee-track { font-family: var(--display); font-weight: 600; }
body.night .marquee-track .o { color: #fff; }
body.night .spotlight { background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255,255,255,.08) 175deg, rgba(255,255,255,.14) 180deg, rgba(255,255,255,.08) 185deg, transparent 200deg); }
body.night .chat-top .live { color: #2fbf8f; }
body.night .avatar.nessa { background: url(../assets/nessa/nessa-porcelain-face.webp) center / cover no-repeat, #13243a; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 14px rgba(255,255,255,.2); }
body.night .bubble b { color: #a9bcd2; }
body.night .bubble.me { background: #f4f6f8; color: #0a1520; border: 0; }
body.night .typing i { background: #fff; }
body.night .chip.ok { background: rgba(47,191,143,.12); border-color: rgba(47,191,143,.35); color: #8fe3c3; }

/* abilities */
body.night .ab-bgword { color: rgba(255,255,255,.03); font-family: var(--display); font-weight: 600; }
body.night .ab-card::before, body.night .ab-card:nth-child(odd)::before { background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%); }
body.night .ab-card:nth-child(3n+2) { background: #f4f6f8; color: #0a1520; border: 0; }
body.night .ab-card:nth-child(3n+2) p { color: #4d5b6c; }
body.night .ab-card:nth-child(3n+2) .ab-num { color: #8b9bb0; }
body.night .ab-card:nth-child(3n+2) .ab-ic { background: #0a1520; color: #fff; border: 0; }
body.night .ab-card:hover .ab-ic { color: #fff; }

/* people: keep it in the navy world */
body.night .people.light { background: linear-gradient(180deg, #0d1b2a 0%, #13243a 35%, #182c44 70%, #1b324c 100%); color: var(--ink); }
body.night .people.light::before { background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent); }
body.night .people-title { color: #f4f6f8; font-weight: 400; text-shadow: none; }
body.night .people.light h2 em .wd { background-image: linear-gradient(100deg, #ffffff, #c9d8ea); }
body.night .kicker.dark { color: #a9bcd2; }
body.night .people-sub { color: var(--muted); } body.night .people-sub b { color: #fff; }
body.night .cap { color: #4d5b6c; } body.night .cap b { color: #0a1520; }
body.night .glass-light { background: rgba(244,246,248,.92); border-color: #fff; }

/* brain, orbit, trader */
body.night .stat:nth-child(1) { background: #f4f6f8; color: #0a1520; border: 0; }
body.night .stat:nth-child(1) .s-label, body.night .stat:nth-child(1) .s-trend { color: #5b6b7d; }
body.night .stat:nth-child(1) .s-trend.up { color: #0f8f66; }
body.night .s-val { font-family: var(--display); font-weight: 600; }
body.night .s-trend.up { color: #2fbf8f; }
body.night .orbit { border-color: rgba(255,255,255,.12); }
body.night .orbit::after { border-top-color: rgba(255,255,255,.7); filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }
body.night .core { color: transparent; font-size: 0; background: url(../assets/nessa/nessa-porcelain-face.webp) center / cover no-repeat, #13243a; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 80px rgba(255,255,255,.18); }
body.night .trader { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(8,16,26,.6) 50%, rgba(255,255,255,.03)); border-color: rgba(255,255,255,.14); }
body.night .trader-glow { background: radial-gradient(circle, rgba(201,216,234,.18), transparent 60%); }
body.night .trader p, body.night .ticks li { color: #c8d2de; }
body.night .ticks li::before { background: rgba(255,255,255,.1); color: #fff; }
body.night .trader .micro { color: var(--dim); }

/* faq + waitlist + footer */
body.night .faq summary { font-family: var(--display); font-weight: 500; }
body.night .faq summary::after { color: #fff; }
body.night label, body.night legend { color: var(--muted); }
body.night input, body.night textarea { background: rgba(6,13,22,.6); }
body.night input:focus, body.night textarea:focus { border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
body.night .pill input:checked + span { background: #f4f6f8; color: #0a1520; border-color: #f4f6f8; }
body.night .done-orb { background: url(../assets/nessa/nessa-porcelain-face.webp) center / cover no-repeat, #13243a; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 60px rgba(255,255,255,.25); }
body.night .foot-big { font-family: var(--display); font-weight: 600; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 85%); -webkit-background-clip: text; background-clip: text; }

/* ---------- three views of her (crops of the official portrait) ---------- */
.angles { padding: 14vh 0 10vh; perspective: 1400px; }
.ang-stage { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: end; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 50px); }
.ang-card { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4.2; transform-style: preserve-3d;
  background: radial-gradient(120% 80% at 50% 30%, #18304a, #0b1724 70%); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.ang-card.a2 { aspect-ratio: 3 / 4.6; }
.ang-card img { position: absolute; max-width: none; filter: drop-shadow(0 0 24px rgba(255,255,255,.18)); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.ang-card img.crop-full { left: 50%; bottom: 0; height: 100%; width: auto; translate: -50% 0; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 98%); mask-image: linear-gradient(to bottom, #000 75%, transparent 98%); }
.ang-card img.crop-lattice { width: 230%; left: -18%; top: -4%; }
.ang-card img.crop-eyes { width: 250%; left: -76%; top: -48%; }
.ang-card:hover img { transform: scale(1.04); }
.ang-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.12), transparent 60%); }
.ang-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.ang-card figcaption { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 18px; font-size: 14px; color: #c8d2de;
  background: rgba(10,21,32,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); }
.ang-card figcaption b { display: block; font-family: var(--display); font-size: 19px; color: #fff; font-weight: 600; }
@media (max-width: 860px) { .ang-stage { grid-template-columns: 1fr; } .ang-card, .ang-card.a2 { aspect-ratio: 4 / 4.4; } }

/* ---------- journey ---------- */
.journey { position: relative; }
.jr-pin { position: relative; height: 100vh; overflow: hidden; display: grid; place-items: center; background: radial-gradient(900px 600px at 70% 50%, #16304b, transparent 70%), #0a1520; }
.jr-titles { position: absolute; left: 0; right: 0; top: 11vh; height: 22vw; max-height: 300px; }
.jr-t { position: absolute; inset: 0; text-align: center; font-size: clamp(64px, 12vw, 200px) !important; line-height: .95; letter-spacing: -.045em; white-space: nowrap; color: #f4f6f8;
  clip-path: circle(0% at 50% 60%); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.jr-t.on { clip-path: circle(150% at 50% 60%); }
.jr-t i { font-style: normal; font-weight: 300; color: rgba(244,246,248,.4); }
.jr-t b { font-weight: 600; color: #fff; }
.jr-nessa { position: absolute; right: 3%; bottom: -2%; height: 70vh; width: auto; max-width: none; z-index: 1; pointer-events: none; filter: drop-shadow(0 0 30px rgba(255,255,255,.18));
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); }
.jr-curve { position: absolute; left: 0; right: 0; bottom: 18vh; height: 220px; z-index: 2; }
.jr-curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jr-base { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.5; }
.jr-line { fill: none; stroke: url(#jrGrad); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(255,255,255,.35)); }
.jr-stop { position: absolute; translate: -50% -50%; display: grid; justify-items: center; }
.jr-dot { width: 14px; height: 14px; border-radius: 50%; background: #0a1520; border: 1.5px solid rgba(255,255,255,.45); display: grid; place-items: center; transition: all .6s cubic-bezier(.2,.8,.2,1); }
.jr-dot svg { width: 0; height: 0; stroke: #0a1520; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: all .4s; }
.jr-stop.past .jr-dot { background: #fff; border-color: #fff; }
.jr-stop.on .jr-dot { width: 56px; height: 56px; border: 0; background: #f4f6f8; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 40px rgba(255,255,255,.35); }
.jr-stop.on .jr-dot svg { width: 22px; height: 22px; }
.jr-lbl { position: absolute; top: calc(100% + 10px); white-space: nowrap; text-align: center; font-family: var(--display); font-weight: 500; font-size: 15px; color: #fff; opacity: .5; transition: opacity .4s; }
.jr-lbl small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.jr-stop.on .jr-lbl { opacity: 1; }
.jr-sub { position: absolute; left: clamp(20px, 6vw, 90px); bottom: 7vh; max-width: 420px; color: var(--muted); font-size: 16px; z-index: 2; }
@media (max-width: 760px) {
  .jr-titles { top: 14vh; height: 30vw; } .jr-t { font-size: 15vw !important; }
  .jr-nessa { right: -24%; height: 50vh; opacity: .85; }
  .jr-curve { bottom: 26vh; height: 150px; } .jr-lbl { font-size: 12px; } .jr-lbl small { display: none; }
  .jr-stop.on .jr-dot { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .hx-ring, .hx-floor { animation: none !important; } .jr-t { transition: none; } }
