:root {
--void: #030308;
--deep-space: #060611;
--nebula-dark: #0d0d24;
--nebula-mid: #131333;
--star-white: #E8E6F0;
--cosmic-blue: #4A6FA5;
--nebula-purple: #7B5EA7;
--nebula-purple-light: #9B7EC7;
--gold: #D4B86A;
--gold-light: #E8D49A;
--aurora-teal: #4ECDC4;
--font-serif: 'Cormorant Garamond', Georgia, serif;
--font-sans: 'Inter', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font-sans);
color: var(--star-white);
background: var(--void);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
@keyframes slowReveal {
0% { opacity: 0; transform: translateY(12px); }
100% { opacity: 1; transform: translateY(0); }
}
@keyframes photoReveal {
0% { opacity: 0; transform: scale(1.04); }
100% { opacity: 1; transform: scale(1); }
}
@keyframes starfieldFade {
0% { opacity: 0; }
100% { opacity: 1; }
}
#starfield {
animation: starfieldFade 3.5s ease-out forwards;
opacity: 0;
}
.hero-text {
animation: slowReveal 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s both;
min-width: 0;
}
.hero-photo {
animation: photoReveal 3.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s both;
}

#starfield { position: fixed; top:0; left:0; width:100%; height:100%; z-index:0; pointer-events:none; }
body::after {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
z-index: 9998;
opacity: 0.06;
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
mix-blend-mode: overlay;
}

nav {
position: fixed; top:0; left:0; right:0; z-index:1000;
padding: 1.25rem 3rem;
display: flex; justify-content: space-between; align-items: center;
transition: all 0.4s ease;
background: rgba(3, 3, 8, 0.88);
backdrop-filter: blur(20px);
}
nav.scrolled { background: rgba(3,3,8,0.96); padding: 0.85rem 3rem; box-shadow: 0 1px 30px rgba(75,60,160,0.1); }
.nav-logo { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--star-white); text-decoration: none; }
.nav-links { display: flex; gap: 2.2rem; align-items: center; list-style: none; }
.nav-links a {
font-size: 0.85rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
text-decoration: none; color: rgba(232,230,240,0.7); transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 0.6rem 1.6rem !important; border: 1.5px solid var(--gold) !important; border-radius: 2rem; color: var(--gold) !important; font-weight: 500 !important;  white-space: nowrap;}
.nav-cta:hover { background: var(--gold) !important; color: var(--void) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--star-white); transition: all 0.3s; }
@media (max-width: 1100px) {
nav { padding: 1rem 1.5rem; }
.nav-toggle { display: flex; }
.nav-links {
  position: fixed; top:0; right:-100%; width: 75%; max-width: 320px; height: 100vh;
  flex-direction: column; background: var(--void); padding: calc(6.5rem + env(safe-area-inset-top, 0px)) 2.5rem 2.5rem; gap: 2rem;
  transition: right 0.4s ease; border-left: 1px solid rgba(123,94,167,0.2);
}
.nav-links.open { right: 0; }
.nav-links a { color: rgba(232,230,240,0.85) !important; font-size: 1rem; }
}

.editor-note {
background: rgba(212,184,106,0.06);
border-bottom: 1px solid rgba(212,184,106,0.18);
padding: 0.8rem 3rem;
font-size: 0.78rem;
letter-spacing: 0.05em;
color: var(--gold-light);
text-align: center;
margin-top: 4.5rem;
position: relative; z-index: 999;
}
.editor-note strong { color: var(--gold); font-weight: 500; }

.hero-strip {
position: relative; padding: 4.5rem 3rem 3.5rem; min-height: 60vh;
display: flex; align-items: center; overflow: hidden;
background: radial-gradient(ellipse at 30% 40%, rgba(74,111,165,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 70%, rgba(78,205,196,0.04) 0%, transparent 50%),
        #020208;
z-index: 1;
}
.hero-inner {
max-width: 1200px; margin: 0 auto; width: 100%;
display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center;
position: relative; z-index: 2;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-text > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; } .btn-text { margin-left: 0; } }
.hero-text .modality-label {
font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--aurora-teal); margin-bottom: 1.5rem;
}
.hero-text h1 {
font-family: var(--font-serif);
font-size: clamp(2.5rem, 5.5vw, 4.4rem);
font-weight: 300; line-height: 1.1; color: #fff; letter-spacing: -0.01em;
margin-bottom: 1.5rem;
overflow-wrap: break-word;
hyphens: auto;
}
@media (max-width: 768px) { .hero-text h1 { font-size: clamp(1.5rem, 7.5vw, 2rem); } }
.hero-text .subhead {
font-family: var(--font-serif); font-style: italic;
font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 300; line-height: 1.4;
color: var(--modality-accent); margin-bottom: 2.5rem; max-width: 480px;
}
.hero-photo {
position: relative; aspect-ratio: 4/5; max-height: 420px; border-radius: 1.5rem;
background: linear-gradient(135deg, var(--nebula-mid), var(--deep-space));
border: 1px solid var(--modality-accent-light); overflow: hidden;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(74,111,165,0.18);
}
.hero-photo img {
position: absolute; inset: 0;
width: 100%; height: 100%;
object-fit: cover;
z-index: 1;
}
.hero-photo::after {
content: ''; position: absolute; inset: 0; z-index: 2;
background:
  radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(3,3,8,0.55) 100%),
  linear-gradient(180deg, transparent 55%, rgba(3,3,8,0.65) 100%);
pointer-events: none;
}
.hero-photo .photo-caption {
position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
z-index: 3; color: rgba(232,230,240,0.9);
font-family: var(--font-serif); font-style: italic; font-size: 0.95rem;
text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.hero-photo .placeholder-text {
position: relative; text-align: center; color: rgba(232,230,240,0.4);
font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 2rem;
}
.hero-photo .placeholder-text strong {
display: block; font-family: var(--font-serif); font-style: italic;
font-size: 1.4rem; color: var(--modality-accent); letter-spacing: 0; text-transform: none;
margin-bottom: 0.8rem; font-weight: 400;
}

.btn {
display: inline-flex; align-items: center; gap: 0.5rem;
padding: 0.95rem 2.2rem; border-radius: 3rem;
font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
cursor: pointer; border: none; transition: all 0.35s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--void); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(212,184,106,0.35); }
.btn-ghost { background: transparent; color: rgba(232,230,240,0.85); border: 1.5px solid rgba(232,230,240,0.25); }
.btn-ghost:hover { border-color: var(--modality-accent); color: var(--modality-accent); }
.btn-text {
color: rgba(232,230,240,0.55); font-size: 0.8rem; text-decoration: none;
letter-spacing: 0.05em; margin-left: 1.2rem;
}
.btn-text:hover { color: var(--gold); }

section.content { padding: 3.5rem 3rem; position: relative; z-index: 1; }
@media (max-width: 768px) { section.content { padding: 2.5rem 1.5rem; } }
.section-inner { max-width: 760px; margin: 0 auto; }
.section-inner.wide { max-width: 1080px; }
.section-label {
font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
color: var(--aurora-teal); margin-bottom: 1rem;
}
.section-title {
font-family: var(--font-serif);
font-size: clamp(1.9rem, 3.6vw, 2.8rem);
font-weight: 300; line-height: 1.2; color: #fff; margin-bottom: 1.5rem;
}
.lead { font-size: 1.15rem; color: rgba(232,230,240,0.85); margin-bottom: 1.3rem; line-height: 1.7; }
p.body { font-size: 1.02rem; color: rgba(232,230,240,0.72); margin-bottom: 1.1rem; }
.pull {
font-family: var(--font-serif); font-style: italic;
font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--modality-accent); line-height: 1.4;
padding: 1.5rem 0; border-top: 1px solid var(--modality-accent-light);
border-bottom: 1px solid var(--modality-accent-light); margin: 2rem 0;
}
.inline-link {
color: var(--modality-accent); text-decoration: none;
border-bottom: 1px dotted var(--modality-accent-light); padding-bottom: 1px;
}
.inline-link:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.alt-bg { background: var(--deep-space); }

.who-list { list-style: none; margin: 1.5rem 0 2rem; }
.who-list li {
position: relative; padding: 0.7rem 0 0.7rem 2rem;
color: rgba(232,230,240,0.85); font-size: 1.02rem;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.who-list li::before { content: '✦'; position: absolute; left:0; top:0.7rem; color: var(--gold); font-size: 0.85rem; }
.gating {
background: rgba(123,94,167,0.08);
border-left: 2px solid var(--nebula-purple-light);
padding: 1.2rem 1.5rem; border-radius: 0 0.5rem 0.5rem 0;
font-size: 0.95rem; color: rgba(232,230,240,0.72); line-height: 1.6;
}
.gating strong { color: var(--nebula-purple-light); font-weight: 500; }

.session-grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
margin-top: 2rem; padding: 2rem;
background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
border-radius: 1rem;
}
@media (max-width: 600px) { .session-grid { grid-template-columns: 1fr; } }
.session-grid dt {
font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
color: var(--aurora-teal); margin-bottom: 0.4rem;
}
.session-grid dd {
font-family: var(--font-serif); font-size: 1.3rem;
color: var(--star-white); font-weight: 400; margin-bottom: 1rem;
}
.session-grid dd .placeholder { color: var(--gold); font-style: italic; font-size: 1.05rem; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 1.4rem 0; }
.faq-q {
font-family: var(--font-serif); font-size: 1.3rem; color: var(--modality-accent);
cursor: pointer; list-style: none;
display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 400;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
content: '+'; font-family: var(--font-sans); color: var(--modality-accent);
font-size: 1.4rem; font-weight: 300; transition: transform 0.3s;
}
details[open] .faq-q::after { content: '−'; }
.faq-a { padding-top: 1rem; color: rgba(232,230,240,0.72); font-size: 1rem; line-height: 1.7; }

.related-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
padding: 2rem 1.8rem;
background: linear-gradient(160deg, rgba(74,111,165,0.06), rgba(123,94,167,0.04));
border: 1px solid rgba(74,111,165,0.15);
border-radius: 1rem; text-decoration: none; transition: all 0.35s ease; display: block;
}
.related-card:hover {
transform: translateY(-3px); border-color: var(--gold);
background: linear-gradient(160deg, rgba(212,184,106,0.06), rgba(74,111,165,0.04));
}
.related-card h4 {
font-family: var(--font-serif); font-size: 1.4rem; color: var(--modality-accent);
font-weight: 400; margin-bottom: 0.5rem;
}
.related-card p { color: rgba(232,230,240,0.65); font-size: 0.92rem; line-height: 1.5; }
.related-card .arrow {
color: var(--aurora-teal); font-size: 0.85rem; letter-spacing: 0.05em;
margin-top: 1rem; display: inline-block;
}

.final-cta {
text-align: center; padding: 7rem 3rem;
background: radial-gradient(ellipse at 50% 50%, rgba(74,111,165,0.18) 0%, transparent 65%), var(--deep-space);
position: relative; z-index: 1;
}
.final-cta h2 {
font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem);
font-weight: 300; color: #fff; margin-bottom: 1rem;
}
.final-cta p {
color: rgba(232,230,240,0.7); max-width: 480px; margin: 0 auto 2.5rem; font-size: 1.05rem;
}
.final-cta .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

footer {
background: #020207; padding: 4rem 3rem 2rem; position: relative; z-index: 1;
border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
max-width: 1200px; margin: 0 auto;
display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 3rem;
} /* footer-5col */
@media (max-width: 1100px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; } } @media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.footer-brand p {
color: rgba(232,230,240,0.55); font-size: 0.9rem; margin-top: 1rem;
max-width: 300px; line-height: 1.6;
}
.footer-col h5 {
font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.footer-col h5 a { color: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: none; transition: color 0.2s; }
.footer-col h5 a:hover { color: var(--gold-light); }
.footer-col a {
display: block; color: rgba(232,230,240,0.6); text-decoration: none;
font-size: 0.9rem; padding: 0.35rem 0; transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.06);
display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(232,230,240,0.4); font-size: 0.82rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
color: rgba(232,230,240,0.5); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.1em;
}
/* ===== UNIFIED HEADER (matches index.html) ===== */
.banner {
position: relative;
top: auto;
left: auto;
right: auto;
z-index: 51;
width: 100%;
min-height: 52px;
padding: 0.78rem 1.5rem;
color: #fffaf5;
background: var(--gh-plum, #3b2436);
border: 0;
box-shadow: none;
text-align: center;
transition: none;
}
.banner p {
color: inherit;
font-size: 0.92rem;
font-weight: 500;
letter-spacing: 0.045em;
line-height: 1.45;
margin: 0;
}
.banner a {
color: #f3c47f;
text-decoration: underline;
text-decoration-color: rgba(243, 196, 127, 0.48);
text-underline-offset: 3px;
}
nav#mainNav { top: 44px; }
.nav-row {
padding: 1.25rem 3rem;
display: flex;
justify-content: space-between;
align-items: center;
transition: padding 0.4s ease;
}
nav#mainNav.scrolled .nav-row { padding: 0.85rem 3rem; }
/* Override the legacy inline nav layout, keep contents but rely on nav-row for flex */
nav#mainNav {
padding: 0 !important;
display: block !important;
}
/* Uppercase brand mark in the nav (matches index.html effective cascade) */
nav .nav-logo {
text-transform: uppercase;
letter-spacing: 0.015em !important;
font-size: 1.55rem !important;
font-weight: 500 !important;
white-space: nowrap;
flex-shrink: 0;
}
body.banner-hidden nav#mainNav { top: 0 !important; }
body.banner-hidden .banner { transform: translateY(-100%); }

/* Bump hero clearance so fixed banner+nav don't overlap content */
.hero-strip { padding-top: 9rem; }

@media (max-width: 768px) {
.banner { padding: calc(0.5rem + env(safe-area-inset-top, 0px)) 0.8rem 0.5rem; }
.banner p { font-size: 0.7rem !important; letter-spacing: 0.03em; line-height: 1.4; }
.banner a { display: block; margin-top: 0.15rem; }
nav#mainNav { top: 60px; }
body.banner-hidden nav#mainNav { top: 0 !important; }
.nav-row { padding: 1rem 1.5rem; }
.hero-strip { padding-top: 7.5rem; }
}
@media (max-width: 480px) {
.banner p { font-size: 0.65rem !important; }
nav#mainNav { top: 56px; }
.nav-row { padding: 0.7rem 1rem !important; }
}

/* ===== COSMOS PROGRESS BAR (thin line at top of viewport) ===== */
.cosmos-progress {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 2px;
z-index: 1003;
background: rgba(255,255,255,0.04);
overflow: hidden;
pointer-events: none;
}
.cosmos-progress-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg,
  rgba(212,184,106,0) 0%,
  rgba(212,184,106,0.55) 30%,
  rgba(232,212,154,0.85) 70%,
  rgba(255,255,255,0.95) 100%);
box-shadow: 0 0 12px rgba(212,184,106,0.55);
animation: cosmosFill 156s linear infinite;
}
@keyframes cosmosFill {
0%   { width: 0%;   opacity: 0.3; }
8%   { opacity: 1; }
92%  { opacity: 1; }
100% { width: 100%; opacity: 0.3; }
}

/* ===== NAV STYLE OVERRIDES, match homepage typography ===== */
.nav-links a {
font-size: 1.02rem !important;
font-weight: 500 !important;
letter-spacing: 0.08em;
color: rgba(232,230,240,0.92) !important;
text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.nav-links a:hover { color: var(--gold) !important; }
.nav-links { gap: 2.6rem; }
.nav-cta {
font-size: 1rem !important;
padding: 0.7rem 1.9rem !important;
letter-spacing: 0.08em !important;
font-weight: 600 !important;
}
.nav-logo {
font-size: 1.85rem !important;
letter-spacing: 0.015em !important;
}
.banner p {
font-size: 0.95rem;
letter-spacing: 0.05em;
font-weight: 500;
}
@media (max-width: 768px) {
.nav-links a { font-size: 1.15rem !important; }
}
