/* rational.group — Frutiger Aero Editorial */

:root {
    --petrol-deep: #1a2e3b;
    --teal-primary: #1a8a7d;
    --amber-accent: #f0a830;
    --slate-mid: #5a7a85;
    --petrol-dark: #2b3d45;
    --mint-light: #e8faf0;
    --violet-accent: #6b4ecf;
    --off-white: #f0f7f4;
    --petrol-night: #0e1f2b;
    --aurora-mint: #3ccf91;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--petrol-deep);
    color: var(--off-white);
    overflow-x: hidden;
}

/* Navigation */
.nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: rgba(26, 46, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(60, 207, 145, 0.1);
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--off-white);
}

.nav-dot {
    color: var(--aurora-mint);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--slate-mid);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--aurora-mint);
}

/* Spreads */
.spread {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spread-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.aurora-bg {
    background: radial-gradient(ellipse at 30% 20%, rgba(26, 138, 125, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(107, 78, 207, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(60, 207, 145, 0.1) 0%, transparent 70%),
                var(--petrol-deep);
}

.aurora-bg-2 {
    background: radial-gradient(ellipse at 60% 30%, rgba(107, 78, 207, 0.25) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 70%, rgba(26, 138, 125, 0.2) 0%, transparent 50%),
                var(--petrol-deep);
}

/* Glass Panels */
.glass-panel {
    position: relative;
    z-index: 1;
    background: rgba(43, 61, 69, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(60, 207, 145, 0.15);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Hero */
.spread-hero {
    flex-direction: column;
}

.hero-panel {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--aurora-mint) 50%, var(--teal-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: 'Source Serif 4', serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--slate-mid);
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-mid);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: drift 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--teal-primary);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--violet-accent);
    bottom: 20%;
    right: 5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--amber-accent);
    top: 60%;
    left: 60%;
    animation-delay: -14s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: var(--aurora-mint);
    top: 20%;
    right: -5%;
    animation-delay: -3s;
}

.orb-5 {
    width: 180px;
    height: 180px;
    background: var(--violet-accent);
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

/* Spread Content */
.spread-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    padding: 2rem 4rem;
}

.asymmetric-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.asymmetric-right {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Typography */
.section-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--off-white);
    margin-bottom: 1.5rem;
}

.centered-heading {
    text-align: center;
}

.large-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--aurora-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.body-text {
    font-family: 'Source Serif 4', serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--slate-mid);
    margin-bottom: 1.2rem;
}

.centered-text {
    text-align: center;
    max-width: 600px;
}

.join-text {
    margin-bottom: 2.5rem;
}

/* Duotone Image */
.duotone-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--petrol-night), var(--petrol-dark));
    border: 1px solid rgba(60, 207, 145, 0.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Glass Cards */
.glass-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.glass-card {
    background: rgba(43, 61, 69, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(60, 207, 145, 0.12);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 207, 145, 0.3);
}

.card-number {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--aurora-mint);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--off-white);
    margin-bottom: 0.75rem;
}

.card-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--slate-mid);
}

/* Stats */
.wide-panel {
    max-width: 900px;
    width: 100%;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2.5rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--aurora-mint);
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--slate-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--teal-primary), var(--aurora-mint));
    border: none;
    border-radius: 60px;
    color: var(--petrol-deep);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 138, 125, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 138, 125, 0.5);
}

/* Footer */
.footer-note {
    margin-top: 4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--slate-mid);
    opacity: 0.6;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .asymmetric-left,
    .asymmetric-right {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spread-content {
        padding: 2rem;
    }

    .glass-panel {
        padding: 2.5rem;
    }

    .glass-card-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-glass {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}
