﻿:root {
    color-scheme: dark;
    --bg-deep: #1a1e21;
    --bg: #22272c;
    --card: #2c333a;
    --card-dark: #1c2023;
    --line: #3a434c;
    --accent: #3f6180;
    --accent-hover: #4c7397;
    --accent-soft: #2b3a48;
    --text: #ffffff;
    --muted: #a8b2ba;
    --label: #b9c6cc;
    --maxw: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Montserrat',sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: max(24px,env(safe-area-inset-left,0px));
    padding-right: max(24px,env(safe-area-inset-right,0px))
}

h1, h2, h3 {
    font-weight: 400;
    line-height: 1.2
}

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--label);
    margin-bottom: 14px
}

.center {
    text-align: center
}

.lead {
    font-weight: 300;
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto
}

section {
    padding: 96px 0
}

.section-title {
    font-size: clamp(2rem,4vw,3rem);
    margin-bottom: 20px
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s,border-color .2s;
    border: 1px solid transparent
}

.btn-primary {
    background: var(--accent);
    color: #fff
}

    .btn-primary:hover {
        background: var(--accent-hover)
    }

.btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent
}

    .btn-outline:hover {
        background: rgba(255,255,255,.08)
    }

.btn-outline-accent {
    border-color: var(--accent-hover);
    color: #fff;
    background: rgba(63,97,128,.15)
}

    .btn-outline-accent:hover {
        background: rgba(63,97,128,.35)
    }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px
}

    .btn-row.center {
        justify-content: center
    }

/* Nav */
.nav {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: env(safe-area-inset-top,0px);
    z-index: 50
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top,0px);
    z-index: 60;
    background: var(--bg)
}

img.missing {
    visibility: hidden
}

:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 3px
}

.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
    font-weight: 400
}

    .brand img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        background: #15191c
    }

.nav-links {
    display: flex;
    gap: 32px;
    font-size: .95rem;
    color: var(--muted)
}

    .nav-links a:hover {
        color: #fff
    }

.nav .btn {
    padding: 10px 20px;
    font-size: .9rem
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer
}

/* Affiliate banner */
.banner {
    background: linear-gradient(90deg,#33506a,#232b33);
    padding: 22px 0;
    text-align: center;
    border-bottom: 1px solid var(--line)
}

    .banner p {
        font-size: 1rem;
        margin-bottom: 14px
    }

    .banner strong {
        font-weight: 600
    }

    .banner .btn {
        padding: 10px 26px;
        font-size: .92rem
    }

/* Hero */
.hero {
    position: relative;
    padding: 110px 0 120px;
    background: #34424f url('images/hero-orchestra.jpg') center/cover no-repeat;
    background-blend-mode: luminosity
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(28,34,40,.88),rgba(28,34,40,.7))
    }

    .hero .wrap {
        position: relative;
        display: grid;
        grid-template-columns: 1.6fr 1fr;
        gap: 56px;
        align-items: center
    }

.pill {
    display: inline-block;
    border: 1px solid #6b7882;
    border-radius: 40px;
    padding: 8px 22px;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .12em;
    margin-bottom: 28px
}

.hero h1 {
    font-size: clamp(2.4rem,5.4vw,4.4rem);
    margin-bottom: 28px
}

.hero p {
    font-weight: 300;
    color: #c7d0d6;
    font-size: 1.2rem;
    max-width: 620px;
    margin-bottom: 40px
}

.hero-card {
    background: rgba(44,51,58,.95);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 48px 36px;
    text-align: center
}

    .hero-card img {
        width: 120px;
        height: 120px;
        margin: 0 auto 26px;
        object-fit: cover;
        background: #121a24
    }

    .hero-card h3 {
        font-size: 1.7rem;
        margin-bottom: 12px
    }

    .hero-card p {
        font-size: .98rem;
        color: var(--muted);
        font-weight: 300;
        margin: 0
    }

/* Values */
.values {
    background: var(--bg-deep);
    padding: 56px 0;
    border-bottom: 1px solid var(--line)
}

    .values .grid {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 40px
    }

.value {
    border-left: 2px solid var(--accent);
    padding-left: 22px
}

    .value h4 {
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: .08em;
        margin-bottom: 10px
    }

    .value p {
        color: var(--muted);
        font-weight: 300;
        font-size: .95rem
    }

/* Split */
.split {
    background: var(--bg)
}

    .split .wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center
    }

    .split h2 {
        font-size: clamp(2rem,4vw,3.2rem);
        margin-bottom: 28px
    }

    .split p {
        color: var(--muted);
        font-weight: 300;
        font-size: 1.1rem;
        margin-bottom: 24px
    }

    .split .btn {
        margin-top: 12px
    }

.framed {
    border: 1px solid var(--line);
    padding: 10px;
    background: #2a3036
}

    .framed img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        object-position: center 45%;
        background: #333b42
    }

/* Solutions */
.solutions {
    background: var(--bg-deep)
}

.cards-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 60px
}

.sol-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.sol-media {
    background: var(--card);
    padding: 28px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: center
}

    .sol-media img {
        width: 100%;
        height: clamp(200px,24vw,300px);
        object-fit: cover;
        background: #3a434b
    }

    .sol-media.logo img {
        width: auto;
        max-width: 100%;
        aspect-ratio: 3/2;
        object-fit: cover;
        background: #b5cbca
    }

.sol-body {
    padding: 40px 52px 48px;
    display: flex;
    flex-direction: column;
    flex: 1
}

    .sol-body h3 {
        font-size: 1.8rem;
        margin-bottom: 20px
    }

    .sol-body p {
        color: var(--muted);
        font-weight: 300;
        font-size: 1.05rem;
        margin-bottom: 32px;
        flex: 1
    }

    .sol-body .btn {
        width: 100%
    }

/* Membership */
.membership {
    background: var(--bg-deep);
    padding-top: 20px
}

.member-box {
    background: linear-gradient(135deg,#2c3338,#1f2428);
    border: 1px solid #34495c;
    border-radius: 8px;
    padding: 60px 56px
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    margin-bottom: 28px
}

.member-box h2 {
    font-size: clamp(1.8rem,3.5vw,2.6rem);
    margin-bottom: 24px
}

.member-box > p {
    color: var(--muted);
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 36px
}

.callout {
    background: var(--accent-soft);
    border-left: 4px solid #b9c6cc;
    border-radius: 0 6px 6px 0;
    padding: 28px 32px;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 36px
}

    .callout i {
        color: #b9c6cc;
        margin-right: 10px
    }

.member-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px
}

    .member-cta span {
        color: var(--label);
        font-size: 1.05rem
    }

/* About + team */
.about {
    background: var(--bg)
}

    .about .lead {
        line-height: 2;
        margin-bottom: 80px
    }

.team-title {
    font-size: clamp(2rem,3.5vw,2.8rem);
    margin-bottom: 50px
}

.team {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px
}

.member {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden
}

    .member img {
        width: 100%;
        aspect-ratio: 7/6;
        object-fit: cover;
        object-position: center 20%;
        background: #3a434b
    }

.member-body {
    padding: 36px 34px 44px
}

    .member-body h3 {
        font-size: 1.6rem;
        margin-bottom: 8px
    }

.role {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--label);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px
}

.member-body p {
    color: var(--muted);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.85
}

.about .btn-row {
    margin-top: 60px
}

/* Ecosystem */
.ecosystem {
    background: var(--bg-deep)
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    margin-top: 64px
}

.eco-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 44px 40px
}

.num {
    display: inline-block;
    border: 1px solid #3d5a75;
    background: #253442;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 1.3rem;
    margin-bottom: 34px
}

.eco-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px
}

.eco-card p {
    color: var(--muted);
    font-weight: 300;
    line-height: 1.8
}

.ecosystem .btn-row {
    margin-top: 60px
}

/* Affiliate */
.panorama {
    background: var(--bg-deep);
    padding: 20px 0 80px;
    border-bottom: 1px solid var(--line)
}

    .panorama img {
        width: 100%;
        aspect-ratio: 15/4;
        object-fit: cover;
        border: 1px solid var(--line);
        background: #2a3036
    }

.affiliate {
    background: var(--bg)
}

.aff-box {
    background: linear-gradient(135deg,#2a3036,#1e2327);
    border: 1px solid #34495c;
    border-radius: 8px;
    padding: 90px 70px
}

    .aff-box .lead {
        margin-bottom: 28px;
        line-height: 1.9
    }

        .aff-box .lead strong {
            color: #e6ecef;
            font-weight: 400
        }

.quote-block {
    max-width: 880px;
    margin: 44px auto 80px;
    background: #29363f;
    border-left: 4px solid var(--accent);
    border-radius: 0 6px 6px 0;
    padding: 28px 40px;
    font-size: 1.15rem;
    line-height: 1.9
}

    .quote-block i {
        color: var(--label);
        margin-right: 10px
    }

.aff-box h3.sub {
    font-size: clamp(1.6rem,3vw,2.3rem);
    margin-bottom: 50px
}

.why {
    background: var(--card-dark);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 48px 44px
}

.icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #2e353b;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #c8d2d8;
    margin-bottom: 34px
}

.why h4 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 22px;
    line-height: 1.3
}

.why p {
    color: var(--muted);
    font-weight: 300;
    line-height: 1.8
}

.aff-box .btn-row {
    margin-top: 70px
}

    .aff-box .btn-row .btn {
        padding: 20px 48px;
        font-size: 1.1rem
    }

/* Testimonials */
.testimonials {
    background: var(--bg)
}

.quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px
}

.quote {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 48px 52px
}

.qmark {
    font-family: Georgia,serif;
    font-size: 3.6rem;
    line-height: 1;
    color: #3d5a75;
    font-style: italic;
    height: 60px
}

.quote p {
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.75;
    min-height: 100px;
    margin: 28px 0 36px
}

.quote cite {
    display: block;
    font-style: normal;
    border-top: 1px solid var(--line);
    padding-top: 30px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--label)
}

/* Final CTA */
.final {
    background: linear-gradient(120deg,#3c5a76 0%,#2c3a48 40%,#1b1f23 100%);
    padding: 70px 0 120px;
    border-bottom: 1px solid var(--line)
}

    .final h2 {
        font-size: clamp(2.2rem,5vw,4rem);
        max-width: 1000px;
        margin: 0 auto 32px
    }

    .final .lead {
        color: #c3cdd4;
        margin-bottom: 48px;
        max-width: 900px;
        line-height: 1.8
    }

/* Footer */
footer {
    background: var(--bg-deep);
    padding: 90px 0 80px
}

.foot {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px
}

.foot-logo {
    width: 190px;
    margin-bottom: 40px;
    background: transparent
}

.foot p {
    color: var(--muted);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 28px
}

.socials {
    display: flex;
    gap: 14px
}

    .socials a {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: #2c333a;
        border: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #cfd8dd
    }

        .socials a:hover {
            background: var(--accent)
        }

.foot h5 {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .15em;
    margin-bottom: 30px
}

.foot ul {
    list-style: none
}

.foot li {
    margin-bottom: 22px;
    color: var(--muted)
}

    .foot li a:hover {
        color: #fff
    }

.contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start
}

.contact i {
    color: #5b7d9c;
    margin-top: 5px
}

.foot .btn {
    padding: 12px 28px;
    font-size: .95rem;
    margin-top: 8px
}

/* Responsive */
@media (max-width:1000px) {
    .nav-links {
        display: none
    }

        .nav-links.open {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 76px;
            left: 0;
            right: 0;
            background: var(--bg);
            padding: 20px 24px;
            gap: 18px;
            border-bottom: 1px solid var(--line)
        }

    .menu-toggle {
        display: block
    }

/*    .nav .btn {
        display: none
    }*/

    .hero .wrap, .split .wrap, .cards-2, .quotes, .foot {
        grid-template-columns: 1fr
    }

    .values .grid, .team, .cards-3 {
        grid-template-columns: 1fr
    }
}

@media (max-width:640px) {
    section {
        padding: 64px 0
    }

    .wrap {
        padding-left: max(16px,env(safe-area-inset-left,0px));
        padding-right: max(16px,env(safe-area-inset-right,0px))
    }

    .member-box, .aff-box {
        padding: 40px 24px
    }

    .sol-body, .quote, .eco-card, .why {
        padding: 32px 24px
    }

    .btn-row .btn {
        width: 100%
    }

    .brand {
        font-size: 1.2rem
    }
}
