:root {
    --bg: #dbeef6;
    --bg-soft: #f4fbff;
    --ink: #0d2233;
    --muted: #526f82;
    --blue: #4a90b8;
    --teal: #32b7a5;
    --line: rgba(13, 34, 51, 0.12);
    --white: rgba(255, 255, 255, 0.78);
    --shadow: 0 28px 70px rgba(13, 34, 51, 0.13);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.9), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(74, 144, 184, 0.22), transparent 28%),
        linear-gradient(140deg, #dbeef6 0%, #f7fcff 48%, #c7e3f0 100%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(13, 34, 51, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 34, 51, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
    pointer-events: none;
}

.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(219, 238, 246, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: padding 0.25s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 0.9rem 4vw;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-mark span {
    display: grid;
    line-height: 1;
}

.brand-mark strong {
    font-size: 2rem;
    font-weight: 300;
}

.brand-mark small {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: var(--ink);
    color: white;
}

.nav-links a.is-active {
    background: rgba(13, 34, 51, 0.92);
    color: white;
    box-shadow: 0 10px 24px rgba(13, 34, 51, 0.18);
}

button,
.primary-btn,
.secondary-btn {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.cta-btn,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-btn,
.primary-btn {
    background: var(--ink);
    color: white;
    box-shadow: 0 14px 34px rgba(13, 34, 51, 0.2);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(13, 34, 51, 0.14);
    color: var(--ink);
}

.cta-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    font-size: 1.65rem;
}

main {
    overflow: hidden;
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: 100vh;
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 7rem 4vw 3rem;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow,
.section-kicker {
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

h1 {
    margin-top: 0.85rem;
    font-size: clamp(2.35rem, 4.7vw, 4.85rem);
    font-weight: 700;
    line-height: 1.06;
}

h1 span,
.team-section h2 span {
    color: var(--blue);
}

.hero-summary {
    max-width: 560px;
    margin-top: 1.4rem;
    color: var(--muted);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
    min-height: min(70vw, 720px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-visual::after,
.value-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 52%);
    pointer-events: none;
}

.hero-visual img,
.value-image img,
.flow-card--image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.split-section,
.story-section,
.value-section,
.team-section,
.final-section {
    width: min(1320px, calc(100% - 8vw));
    margin: 0 auto;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.split-section {
    display: grid;
    grid-template-columns: 0.32fr 0.8fr 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
    border-top: 1px solid var(--line);
}

.split-copy h2,
.story-header h2,
.value-copy h2,
.final-section h2 {
    max-width: 880px;
    font-size: clamp(2rem, 3.8vw, 4rem);
    font-weight: 650;
    line-height: 1.08;
}

.split-copy p,
.final-section p {
    max-width: 520px;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.25rem;
}

.visual-stack {
    display: grid;
    gap: 1rem;
}

.visual-stack article,
.flow-card,
.value-points article,
.team-strip article {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 44px rgba(13, 34, 51, 0.08);
}

.visual-stack article {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-height: 104px;
    padding: 1.3rem;
    border-radius: 8px;
}

.visual-stack span,
.flow-card span {
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 700;
}

.visual-stack h3 {
    font-size: clamp(1.1rem, 2vw, 1.65rem);
    font-weight: 600;
}

.story-header {
    display: grid;
    gap: 0.9rem;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.flow-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.36fr 0.82fr;
    grid-template-rows: repeat(2, minmax(230px, auto));
    gap: 1rem;
}

.flow-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 230px;
    padding: 1.5rem;
    border-radius: 8px;
}

.flow-card h3 {
    margin-top: 0.65rem;
    font-size: 1.7rem;
    font-weight: 600;
}

.flow-card p {
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 1rem;
}

.flow-card--image {
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
}

.value-section {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.value-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.value-copy h2 {
    margin-top: 0.8rem;
}

.value-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.value-points article {
    min-height: 150px;
    padding: 1.2rem;
    border-radius: 8px;
}

.value-points h3 {
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 650;
}

.value-points p {
    margin-top: 0.7rem;
    color: var(--muted);
}

.team-section {
    border-top: 1px solid var(--line);
}

.team-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.team-strip article {
    overflow: hidden;
    border-radius: 8px;
}

.team-strip img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
    object-position: top center;
    background: var(--bg-soft);
}

.team-strip h3 {
    padding: 1rem 1rem 0.15rem;
    font-size: 1rem;
    font-weight: 650;
}

.team-strip p {
    min-height: 56px;
    padding: 0 1rem 1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.final-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 9rem;
}

.final-section img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.final-section p {
    margin-left: auto;
    margin-right: auto;
}

.final-section .primary-btn {
    margin-top: 2rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeInUp 0.85s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.delay-1 {
    animation-delay: 0.18s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    nav {
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .brand-mark img {
        width: 42px;
        height: 42px;
    }

    .brand-mark strong {
        font-size: 1.55rem;
    }

    .brand-mark small {
        font-size: 0.62rem;
        letter-spacing: 2px;
    }

    .nav-links a {
        padding: 0.4rem 0.48rem;
        font-size: 0.78rem;
    }

    .cta-btn {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: min(310px, 82vw);
        height: 100vh;
        padding: 6rem 1.2rem;
        background: rgba(219, 238, 246, 0.96);
        box-shadow: -18px 0 46px rgba(13, 34, 51, 0.16);
        transition: right 0.25s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 1rem;
    }

    .cta-btn {
        display: none;
    }

    .hero-section,
    .split-section,
    .value-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
        padding-top: 7.2rem;
    }

    .hero-visual {
        min-height: auto;
        aspect-ratio: 1 / 1;
    }

    .flow-grid,
    .team-strip,
    .value-points {
        grid-template-columns: 1fr 1fr;
    }

    .flow-card--image {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 620px) {
    nav {
        padding: 0.75rem 1rem;
    }

    .brand-mark img {
        width: 40px;
        height: 40px;
    }

    .brand-mark strong {
        font-size: 1.45rem;
    }

    h1 {
        font-size: clamp(2.45rem, 12vw, 3.55rem);
    }

    .hero-summary,
    .split-copy p,
    .final-section p {
        font-size: 1.05rem;
    }

    .split-section,
    .story-section,
    .value-section,
    .team-section,
    .final-section {
        width: min(100% - 2rem, 1320px);
        padding: 4.5rem 0;
    }

    .action-buttons,
    .action-buttons a {
        width: 100%;
    }

    .flow-grid,
    .team-strip,
    .value-points {
        grid-template-columns: 1fr;
    }

    .flow-card--image {
        grid-column: auto;
        aspect-ratio: 1 / 1;
    }

    .team-strip img {
        height: 330px;
    }

    .final-section {
        padding-bottom: 7rem;
    }
}
