/* ============================================
   HEKATE - Triple Goddess of Magic
   Journey: Purple Void → Black Crossroads → White Moonlight → Purple Void
   Nav: Split Black / White — the threshold itself
   ============================================ */

:root {
    --void: #1A1A4E;
    --void-deep: #0F0F2E;
    --crossroads: #050505;
    --crossroads-lit: #0A0A0A;
    --moonlight: #E8E8F0;
    --moonlight-text: #1A1A3E;
    --torch: #FF6B35;
    --torch-dim: #CC5528;
    --moon: #C0C0C0;
    --moon-dim: #8888AA;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --text-light: #E0D8E8;
    --text-dim-light: #A098B8;
    --text-dark: #1A1A3E;
    --text-dim-dark: #4A4A6E;
    --glass-light: rgba(26, 26, 78, 0.5);
    --glass-dark: rgba(255, 255, 255, 0.7);
    --border-light: rgba(192, 192, 192, 0.1);
    --border-dark: rgba(26, 26, 62, 0.15);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Work Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--void-deep);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

#crossroads-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

.container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    position: relative; z-index: 2;
}

/* ===== SPLIT NAV ===== */
.main-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    height: 72px; transition: all 0.4s ease;
}
.main-nav.scrolled {
    background: linear-gradient(90deg, #F5F5FA 38%, #0A0A0A 38%);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.main-nav.scrolled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 38%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--torch), transparent);
    opacity: 0.8;
    z-index: 2;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; position: relative; z-index: 3; }
.nav-logo-img {
    height: 128px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 10;
    transform: translateY(10px);
}
.nav-logo:hover .nav-logo-img {
    filter: brightness(1.3) drop-shadow(0 0 12px rgba(255, 107, 53, 0.4));
    transform: translateY(10px) scale(1.03);
}

/* Nav links on the WHITE side */
.nav-links { display: flex; gap: 2rem; position: relative; z-index: 3; }
.nav-link {
    font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
    color: var(--text-dim-light); text-decoration: none; letter-spacing: 0.08em;
    text-transform: uppercase; transition: color 0.3s ease; position: relative;
}
.main-nav.scrolled .nav-link { color: var(--text-dim-light); }
.main-nav.scrolled .nav-toggle span { background: var(--moon); }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--torch); transition: width 0.3s ease;
}
.nav-link:hover { color: var(--torch); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px; position: relative; z-index: 3;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--moon); transition: all 0.3s ease; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    padding-top: 72px; overflow: hidden;
}
.hero-content {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; position: relative; z-index: 2;
}
.hero-eyebrow {
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--torch);
    margin-bottom: 1rem;
}
.hero-title { margin-bottom: 1.5rem; }
.title-greek {
    display: block; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700; color: var(--torch); line-height: 1.1; letter-spacing: 0.02em;
    text-shadow: 0 0 60px rgba(255, 107, 53, 0.3);
}
.title-divider {
    display: block; width: 80px; height: 2px;
    background: linear-gradient(90deg, var(--torch), var(--gold));
    margin: 1rem 0;
}
.title-trans {
    display: block; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300; font-style: italic; color: var(--moon); letter-spacing: 0.05em;
}
.hero-subtitle {
    font-family: var(--font-body); font-size: 1.1rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.6; margin-bottom: 2rem;
}

/* Tier bridge */
.tier-bridge {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.tier-connector {
    width: 20px;
    height: 2px;
    background: var(--torch);
    position: relative;
}
.tier-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    border: 4px solid transparent;
    border-left: 6px solid var(--torch);
}
.domain-bridge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.domain-connector {
    color: var(--torch);
    font-size: 0.9rem;
    opacity: 0.6;
}
.meta-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    border-radius: 2px;
    color: var(--moon);
}
.meta-badge.tier-1 {
    border-radius: 2px 0 0 2px;
    border-right: none;
}
.meta-badge.tier-2 {
    border-radius: 0 2px 2px 0;
    border-left: none;
    background: rgba(192, 192, 192, 0.03);
    border-color: rgba(192, 192, 192, 0.2);
    color: var(--text-dim-light);
}
.meta-domain, .meta-domain-alt {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 2px;
    color: var(--text-light);
}
.meta-domain-alt {
    border-color: rgba(192, 192, 192, 0.2);
    color: var(--text-dim-light);
}

.hero-cta { margin-top: 2rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--void-deep); background: var(--torch);
    padding: 1rem 2.5rem; border-radius: 4px; text-decoration: none;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3); }
.btn-ghost { background: transparent; color: var(--torch); border: 1px solid var(--torch); }
.btn-ghost:hover { background: var(--torch); color: var(--void-deep); }

/* ===== HERO MASCOT ELEVATION ===== */
.hero-mascot {
    position: relative; display: flex; justify-content: center; align-items: center;
    min-height: 500px;
}
.mascot-img {
    max-width: 100%; height: auto; max-height: 70vh; object-fit: contain;
    position: relative; z-index: 10;
    filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.15));
    transition: transform 0.6s ease;
}

/* Portal rings behind mascot */
.hero-portal {
    position: absolute; width: 400px; height: 400px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 1; pointer-events: none;
}
.portal-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%; border: 1px solid transparent;
}
.ring-1 {
    width: 100%; height: 100%;
    border-color: rgba(255, 107, 53, 0.15);
    animation: portalSpin 20s linear infinite;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
}
.ring-2 {
    width: 75%; height: 75%;
    border-color: rgba(192, 192, 192, 0.1);
    animation: portalSpin 15s linear infinite reverse;
}
.ring-3 {
    width: 50%; height: 50%;
    border-color: rgba(255, 107, 53, 0.08);
    animation: portalSpin 10s linear infinite;
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.05), inset 0 0 60px rgba(255, 107, 53, 0.03);
}
@keyframes portalSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Twin torches flanking mascot */
.hero-torch {
    position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: center;
}
.torch-left { left: 5%; top: 40%; }
.torch-right { right: 5%; top: 40%; }
.torch-handle {
    width: 6px; height: 40px; background: linear-gradient(to bottom, #5A4A3A, #3A2A1A); border-radius: 2px;
}
.torch-flame {
    width: 24px; height: 50px; position: relative; margin-bottom: -5px;
    animation: flameDance 0.8s ease-in-out infinite alternate;
}
.torch-flame::before {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center bottom, var(--torch) 0%, var(--torch-dim) 50%, transparent 75%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    filter: blur(1px);
}
.torch-flame::after {
    content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
    width: 60%; height: 60%;
    background: radial-gradient(ellipse at center bottom, #FFD700 0%, var(--torch) 60%, transparent 80%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flameCore 0.4s ease-in-out infinite alternate;
}
@keyframes flameDance {
    0% { transform: scaleY(1) scaleX(1); }
    100% { transform: scaleY(1.15) scaleX(0.9); }
}
@keyframes flameCore {
    0% { opacity: 0.8; transform: translateX(-50%) scale(0.9); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Floating keys */
.hero-keys { position: absolute; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.float-key {
    position: absolute; width: 16px; height: 16px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    border-radius: 50%; opacity: 0;
    animation: keyFloat 6s ease-in-out infinite;
}
.float-key::before {
    content: '\1F511'; font-size: 12px; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); color: rgba(192, 192, 192, 0.4);
}
.k1 { top: 10%; left: 20%; animation-delay: 0s; animation-duration: 7s; }
.k2 { top: 70%; left: 15%; animation-delay: 1s; animation-duration: 8s; }
.k3 { top: 30%; right: 20%; animation-delay: 2s; animation-duration: 6s; }
.k4 { top: 80%; right: 15%; animation-delay: 0.5s; animation-duration: 9s; }
.k5 { top: 50%; left: 8%; animation-delay: 3s; animation-duration: 7s; }
@keyframes keyFloat {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    20% { opacity: 0.6; }
    50% { opacity: 0.3; transform: translateY(-30px) rotate(180deg); }
    80% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-60px) rotate(360deg); }
}

/* Mascot glow and shadow */
.mascot-glow {
    position: absolute; width: 120%; height: 120%; z-index: 2;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 60%);
    animation: torchPulse 4s ease-in-out infinite;
}
.mascot-shadow {
    position: absolute; width: 80%; height: 90%; z-index: 1;
    background: radial-gradient(circle, rgba(100, 80, 180, 0.08) 0%, transparent 60%);
    transform: translate(20px, 10px);
    filter: blur(20px);
    animation: shadowShift 6s ease-in-out infinite alternate;
}
@keyframes torchPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.08); }
}
@keyframes shadowShift {
    0% { transform: translate(15px, 5px); opacity: 0.4; }
    100% { transform: translate(25px, 15px); opacity: 0.7; }
}

.hero-scroll-indicator {
    position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--torch), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ===== COLOR JOURNEY SECTIONS ===== */
.section { padding: 7rem 0; position: relative; }

/* 01 Names: Purple fading to black */
.section-name {
    background: linear-gradient(180deg, var(--void-deep) 0%, var(--crossroads) 100%);
}

/* 02 Pronunciation: Deep black — the crossroads */
.section-pronunciation {
    background: var(--crossroads);
}

/* 03 Crossroads: Black, the threshold itself */
.section-crossroads {
    background: linear-gradient(180deg, var(--crossroads) 0%, var(--crossroads-lit) 100%);
}

/* 04 Myths: Emerging from darkness into moonlight */
.section-myths {
    background: linear-gradient(180deg, var(--crossroads-lit) 0%, #1A1A3E 40%, #3A3A6E 70%, #8A8AAE 100%);
}

/* 05 Pantheon: White moonlight — the illuminated truth */
.section-pantheon {
    background: var(--moonlight);
    padding-bottom: 5rem;
}

/* Dark text overrides for light sections */
.section-pantheon .section-title,
.section-pantheon .pantheon-title { color: var(--text-dark); }
.section-pantheon .section-subtitle,
.section-pantheon .pantheon-body { color: var(--text-dim-dark); }
.section-pantheon .pantheon-body strong { color: var(--torch); }
.section-pantheon .pantheon-body em { color: var(--moon-dim); }
.section-pantheon .pantheon-eyebrow { color: var(--torch); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-number {
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--torch);
    display: block; margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600; color: var(--moon); margin-bottom: 1rem; line-height: 1.2;
}
.section-subtitle {
    font-family: var(--font-body); font-size: 1.1rem; font-weight: 300;
    color: var(--text-dim-light); max-width: 600px; margin: 0 auto;
}

/* ===== NAME GRID ===== */
.name-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    max-width: 1100px; margin: 0 auto;
}
.name-card {
    background: var(--glass-light); border: 1px solid var(--border-light);
    border-radius: 12px; padding: 2.5rem; position: relative;
    transition: all 0.4s ease; overflow: hidden;
}
.name-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--torch), transparent);
    opacity: 0; transition: opacity 0.4s ease;
}
.name-card:hover::before { opacity: 1; }
.name-card:hover {
    border-color: rgba(255, 107, 53, 0.25);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.08), inset 0 0 60px rgba(255, 107, 53, 0.02);
    transform: translateY(-4px);
}
.card-inner { position: relative; z-index: 2; }
.card-icon { margin-bottom: 1.5rem; }
.card-title {
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
    color: var(--moon); margin-bottom: 1rem;
}
.card-greek,
.card-ascii,
.card-unicode {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.card-greek {
    color: var(--torch);
}

.card-ascii {
    color: var(--text-dim-light);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 107, 53, 0.3);
}

.card-unicode {
    color: var(--torch);
}
.card-body {
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.7;
}
.card-body em { color: var(--torch); font-style: italic; }
.card-body strong { color: var(--moon); font-weight: 600; }

/* Punycode */
.punycode-explainer { max-width: 700px; margin: 3rem auto 0; }
.explainer-label {
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim-light);
    margin-bottom: 1rem; text-align: center;
}
.explainer-box {
    background: rgba(5, 5, 5, 0.8); border: 1px solid var(--border-light);
    border-radius: 8px; padding: 1.5rem; text-align: center;
}
.explainer-box.dual-box { display: flex; flex-direction: column; gap: 0.75rem; }
.explainer-code {
    font-family: 'SF Mono', monospace; font-size: 0.9rem;
    color: var(--torch); display: block;
}
.explainer-note {
    font-family: var(--font-body); font-size: 0.85rem; font-weight: 300;
    color: var(--text-dim-light); margin-top: 0.5rem;
}

/* ===== PRONUNCIATION ===== */
.pronunciation-main { max-width: 900px; margin: 0 auto 3rem; }
.ipa-display { text-align: center; margin-bottom: 2rem; position: relative; }
.ipa-text {
    font-family: var(--font-display); font-size: 4rem; font-weight: 300;
    color: var(--torch); display: block;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.15);
}
.ipa-moons {
    display: flex; justify-content: center; gap: 2rem; margin-top: 1rem;
}
.moon-dot {
    width: 10px; height: 10px; border-radius: 50%; display: inline-block;
    position: relative;
}
.moon-dot.maiden {
    background: var(--crossroads);
    box-shadow: inset -3px 0 0 0 var(--moon), 0 0 8px rgba(192,192,192,0.2);
}
.moon-dot.mother {
    background: var(--moon);
    box-shadow: 0 0 12px rgba(192,192,192,0.3);
}
.moon-dot.crone {
    background: var(--crossroads);
    box-shadow: inset 3px 0 0 0 var(--moon-dim), 0 0 6px rgba(136,136,170,0.15);
}

.phoneme-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.phoneme-item {
    background: var(--glass-light); border: 1px solid var(--border-light);
    border-radius: 10px; padding: 2rem; text-align: center;
    transition: all 0.3s ease;
}
.phoneme-item:hover {
    border-color: rgba(255, 107, 53, 0.15);
    transform: translateY(-3px);
}
.phoneme-item.stressed {
    border-color: rgba(255, 107, 53, 0.2);
    background: rgba(255, 107, 53, 0.04);
}
.phoneme-symbol {
    font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
    color: var(--torch); display: block; margin-bottom: 0.5rem;
}
.phoneme-item.stressed .phoneme-symbol { text-shadow: 0 0 20px rgba(255, 107, 53, 0.3); }
.phoneme-label {
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--moon);
    display: block; margin-bottom: 1rem;
}
.phoneme-desc {
    font-family: var(--font-body); font-size: 0.85rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.7;
}
.phoneme-desc em { color: var(--torch); }
.phoneme-desc strong { color: var(--moon); }

.pronunciation-sidebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto;
}
.sidebar-card {
    background: var(--glass-light); border: 1px solid var(--border-light);
    border-radius: 8px; padding: 2rem;
    transition: all 0.3s ease;
}
.sidebar-card:hover {
    border-color: rgba(255, 107, 53, 0.15);
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.06);
}
.sidebar-title {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
    color: var(--moon); margin-bottom: 1rem;
}
.sidebar-text {
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.7;
}
.sidebar-text em { color: var(--torch); }
.sidebar-text strong { color: var(--moon); }

/* ===== DOMAINS ===== */
.domains-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    margin-bottom: 5rem;
}
.domain-card {
    background: var(--glass-light); border: 1px solid var(--border-light);
    border-radius: 12px; padding: 2.5rem 1.5rem; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.domain-card::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--torch); transition: width 0.4s ease;
}
.domain-card:hover::after { width: 50%; }
.domain-card:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.1);
}
.domain-icon { width: 56px; height: 56px; margin: 0 auto 1.5rem; }
.domain-icon svg { width: 100%; height: 100%; }
.domain-name {
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
    color: var(--moon); margin-bottom: 1rem;
}
.domain-desc {
    font-family: var(--font-body); font-size: 0.85rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.7;
}
.domain-desc em { color: var(--torch); }
.domain-desc strong { color: var(--moon); }

/* ===== SYMBOLS ===== */
.symbols-section { text-align: center; }
.symbols-title {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
    color: var(--moon); margin-bottom: 2.5rem;
}
.symbols-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    max-width: 900px; margin: 0 auto;
}
.symbol-item {
    background: var(--glass-light); border: 1px solid var(--border-light);
    border-radius: 10px; padding: 2rem 1.5rem; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.symbol-item::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80px; height: 80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s ease;
}
.symbol-item:hover::before { opacity: 1; }
.symbol-item:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.08);
}
.symbol-icon { margin-bottom: 1rem; display: flex; justify-content: center; }
.symbol-name {
    display: block; font-family: var(--font-display); font-size: 1.1rem;
    font-weight: 600; color: var(--moon); margin-bottom: 0.5rem;
    position: relative; z-index: 2;
}
.symbol-meaning {
    display: block; font-family: var(--font-body); font-size: 0.8rem;
    font-weight: 300; color: var(--text-dim-light); line-height: 1.5;
    position: relative; z-index: 2;
}

/* ===== MYTHS ===== */
.myths-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    max-width: 1000px; margin: 0 auto;
}
.myth-card {
    background: var(--glass-light); border: 1px solid var(--border-light);
    border-radius: 12px; padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: all 0.4s ease;
}
.myth-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--torch), transparent);
    opacity: 0.4; transition: opacity 0.4s ease;
}
.myth-card:hover::before { opacity: 1; }
.myth-card:hover {
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.08);
    transform: translateY(-3px);
}
.myth-tag {
    font-family: var(--font-body); font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--torch);
    display: block; margin-bottom: 0.75rem;
}
.myth-title {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
    color: var(--moon); margin-bottom: 1rem;
}
.myth-text {
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.7;
}
.myth-text em { color: var(--torch); }
.myth-text strong { color: var(--moon); }

/* ===== PANTHEON (light section) ===== */
.pantheon-content {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem;
    align-items: center;
}
.pantheon-eyebrow {
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--torch);
    display: block; margin-bottom: 1rem;
}
.pantheon-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.2;
}
.pantheon-body {
    font-family: var(--font-body); font-size: 1rem; font-weight: 300;
    color: var(--text-dim-dark); line-height: 1.8; margin-bottom: 1.5rem;
}
.pantheon-body strong { color: var(--torch); }
.pantheon-body em { color: var(--moon-dim); }
.pantheon-mascot {
    display: flex; justify-content: center; align-items: center;
}
.pantheon-mascot-img {
    max-width: 300px; height: auto; opacity: 0.5;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.08));
}

/* ===== FOOTER: back to purple void ===== */
.main-footer {
    background: var(--void); border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    margin-bottom: 3rem;
}
.footer-logo {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    letter-spacing: 0.15em; color: var(--gold); display: block; margin-bottom: 1rem;
}
.footer-tagline {
    font-family: var(--font-body); font-size: 1rem; font-weight: 300;
    color: var(--text-dim-light); line-height: 1.7;
}
.footer-info { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.08);
}
.footer-label {
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim-light);
}
.footer-value {
    font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
    color: var(--torch); letter-spacing: 0.05em;
}
.footer-seal { text-align: center; margin-bottom: 2rem; }
.footer-logomark {
    width: 144px;
    height: auto;
    opacity: 0.5;
    filter: grayscale(20%) brightness(1.2);
    transition: all 0.5s ease;
    cursor: pointer;
}
.footer-logomark:hover {
    opacity: 0.9;
    filter: grayscale(0%) brightness(1.3) drop-shadow(0 0 20px rgba(255, 107, 53, 0.15));
    transform: scale(1.1);
}
.footer-bottom { text-align: center; border-top: 1px solid var(--border-light); padding-top: 2rem; }
.footer-credit {
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 300;
    letter-spacing: 0.1em; color: var(--text-dim-light);
}

/* ===== SCROLL REVEALS ===== */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.9); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    opacity: 1; transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-mascot { order: -1; min-height: 350px; }
    .mascot-img { max-height: 40vh; }
    .title-divider { margin: 1rem auto; }
    .tier-bridge, .domain-bridge { justify-content: center; }
    .hero-portal { width: 300px; height: 300px; }
    .torch-left { left: 2%; }
    .torch-right { right: 2%; }
    .name-grid { grid-template-columns: 1fr; }
    .phoneme-grid { grid-template-columns: 1fr; }
    .domains-grid { grid-template-columns: repeat(2, 1fr); }
    .symbols-grid { grid-template-columns: repeat(2, 1fr); }
    .myths-grid { grid-template-columns: 1fr; }
    .pronunciation-sidebar { grid-template-columns: 1fr; }
    .pantheon-content { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0;
        background: linear-gradient(180deg, #0A0A0A 0%, #1A1A4E 100%);
        padding: 2rem; gap: 1.5rem;
    }
    .nav-toggle { display: flex; }
    .hero { padding-top: 100px; }
    .section { padding: 4rem 0; }
    .domains-grid { grid-template-columns: 1fr; }
    .symbols-grid { grid-template-columns: 1fr; }
    .ipa-text { font-size: 2.5rem; }
    .phoneme-symbol { font-size: 1.8rem; }
    .hero-portal { width: 250px; height: 250px; }
    .title-greek,
    .title-trans {
        font-size: clamp(2rem, 10vw, 3rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal-up, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
