/* aei.st - Zen Contemplative Dreamscape */
:root {
    --void: #0a1628;
    --current: #0d3b66;
    --twilight: #1b4965;
    --teal: #5fa8d3;
    --coral: #e8927c;
    --foam: #e0e8f0;
    --pearl: #8ba7bf;
    --gold: #f0c761;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--void);
    color: var(--foam);
    font-family: 'Source Serif 4', serif;
    overflow-x: hidden;
}

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

.nav-glyph {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    cursor: pointer;
    animation: glyphPulse 4s ease-in-out infinite;
}

@keyframes glyphPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.radial-nav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 160px;
    height: 160px;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.radial-nav.active { opacity: 1; pointer-events: all; }

.rn-item {
    position: absolute;
    top: 50%; left: 50%;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    text-decoration: none;
    transform: rotate(var(--a)) translateY(-60px) rotate(calc(-1 * var(--a)));
}

.rn-item:hover { color: var(--gold); }

.section {
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

.section-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4rem, 8vw, 10rem);
}

.hero-inner { text-align: center; }

.hero-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(3rem, 10vw, 12rem);
    letter-spacing: -0.02em;
    color: var(--foam);
    margin-bottom: 2rem;
}

.hero-sub {
    font-family: 'Source Serif 4', serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.75;
    color: var(--pearl);
    max-width: 40ch;
    margin: 0 auto;
}

.section-breath, .section-breath2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breath-canvas {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0; left: 0;
}

.section-content, .section-emerge {
    padding: clamp(4rem, 8vw, 10rem);
    background: linear-gradient(165deg, var(--void) 0%, var(--current) 60%, var(--twilight) 100%);
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
    margin-top: -3vh;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 4rem);
    max-width: 1100px;
    margin: 0 auto;
}

.grid-main {
    grid-column: 1 / 5;
}

.grid-aside {
    grid-column: 5 / 7;
    margin-top: 12vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-heading {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 5rem);
    letter-spacing: -0.02em;
    color: var(--foam);
    margin-bottom: 2rem;
}

.body-text {
    font-family: 'Source Serif 4', serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.75;
    color: var(--foam);
    margin-bottom: 1.5rem;
}

.meta-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pearl);
}

@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .grid-main { grid-column: 1; }
    .grid-aside { grid-column: 1; margin-top: 2rem; flex-direction: row; gap: 2rem; }
}
