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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
    padding: 1.25rem 2.5rem;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Fallback gradient if no image is provided */
    background-color: #e8e8e8;
    filter: grayscale(100%) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.75) 40%,
        rgba(255, 255, 255, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem 6rem;
    max-width: 960px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #1a1a2e;
    margin-bottom: 1.75rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 400;
    color: #475569;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1a1a2e;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    letter-spacing: -0.01em;
}

.btn-cta:hover {
    background-color: #2d2d4a;
    transform: translateY(-1px);
}

.btn-cta:focus-visible {
    outline: 2px solid #1a1a2e;
    outline-offset: 3px;
}

.btn-cta:active {
    transform: translateY(0);
}

/* Pillars Section */
.pillars {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

.pillars-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #d8d8d8;
    filter: grayscale(100%) contrast(1.2);
}

.pillars-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
}

.pillars-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 11rem 2.5rem 12rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.pillar {
    text-align: center;
    padding: 0 0.5rem;
}

.pillar-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.pillar-desc {
    font-size: clamp(0.875rem, 1.2vw, 1.0625rem);
    font-weight: 400;
    color: #475569;
}

/* Statement Section */
.statement {
    background-color: #2b2b2b;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.statement-text {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 6rem 2rem 12rem;
    background-color: #fff;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.cta-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color: #475569;
    margin-bottom: 1rem;
}

.cta-email {
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta-email:hover {
    color: #1a1a2e;
}

.cta-email:focus-visible {
    outline: 2px solid #1a1a2e;
    outline-offset: 3px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-top: 1px solid #e8e8e8;
}

.footer p {
    font-size: 0.8125rem;
    color: #6A7282;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .hero {
        min-height: calc(100vh - 68px);
        min-height: calc(100dvh - 68px);
    }

    .hero-content {
        padding: 3rem 1.5rem 4rem;
    }

    .hero-title {
        line-height: 1.15;
    }

    .statement {
        min-height: auto;
        padding: 6rem 2rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .pillars-content {
        padding: 4rem 1.5rem 10rem;
    }

    .pillars {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.875rem 1rem;
    }

    .hero-content {
        padding: 2rem 1rem 3rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillars-content {
        padding: 3rem 1rem 8rem;
    }

    .pillars {
        min-height: 400px;
    }
}

/* ── Scroll Reveal Animations ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0s; }
[data-delay="2"] { transition-delay: 0.1s; }
[data-delay="3"] { transition-delay: 0.2s; }
[data-delay="4"] { transition-delay: 0.3s; }

/* Hero variant — slower, wider stagger */
[data-reveal="hero"] {
    transition-duration: 0.9s;
}
[data-reveal="hero"][data-delay="1"] { transition-delay: 0s; }
[data-reveal="hero"][data-delay="2"] { transition-delay: 0.15s; }
[data-reveal="hero"][data-delay="3"] { transition-delay: 0.3s; }

/* Restore btn-cta hover transition after reveal */
.btn-cta.is-visible {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease;
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}
