@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --sky: #1769D2;
    --sky-deep: #0B3D91;
    --ice: #FFF1F2;
    --navy: #102A56;
    --ink: #102A56;
    --muted: #58677D;
    --line: #E2EAF7;
    --white: #FFFFFF;
    --shadow: 0 24px 70px rgba(16,42,86,.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: #FFFFFF;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    gap: 4px;
}

.brand-logo {
    display: block;
    width: 190px;
    height: auto;
    object-fit: contain;
}
/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 10px 5%;
}

/* Elvensis logo */
header .logo img {
    display: block;
    width: auto;
    height: 55px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

/* Mobile screens */
@media (max-width: 768px) {
    header {
        min-height: 65px;
        padding: 8px 4%;
    }

    header .logo img {
        height: 42px;
        max-width: 170px;
    }
}
.brand-tagline {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1769D2;
    margin-left: 3px;
}
a {
    color: inherit;
    text-decoration: none;
}

/* ANNOUNCEMENT */

.announcement {
    height: 34px;
    background: #FFF1F2;
    color: #1769D2;
    text-align: center;
    font-size: 10px;
    letter-spacing: .055em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.announcement-dot {
    width: 6px;
    height: 6px;
    background: #1769D2;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #FFF1F2;
}

/* HEADER */

.site-header {
    height: 82px;
    padding: 0 max(calc((100% - 1200px)/2),5.5%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #E2EAF7;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 14px;
    background: linear-gradient(145deg,#1769D2,#0B3D91);
    display: grid;
    place-items: center;
    color: white;
    font: 800 14px Manrope;
    letter-spacing: -1px;
    box-shadow: 0 8px 22px rgba(11,61,145,.25);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-copy strong {
    font: 800 13px Manrope;
    letter-spacing: .13em;
    color: #102A56;
}

.brand-copy small {
    font-size: 8px;
    letter-spacing: .13em;
    color: #58677D;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: 12px;
    font-weight: 600;
    color: #58677D;
}

.main-nav>a {
    transition: .2s;
}

.main-nav>a:hover,
.main-nav>a.active {
    color: #0B3D91;
}

.main-nav .nav-contact {
    background: #FFF1F2;
    color: #0B3D91;
    padding: 12px 17px;
    border-radius: 9px;
    border: 1px solid #E2EAF7;
}

.nav-contact span {
    padding-left: 9px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--navy);
}

/* GENERAL LAYOUT */

.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 89%;
}

/* HERO SECTION */

.hero {
    min-height: 630px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 25px;
    padding-top: 52px;
    padding-bottom: 70px;
    position: relative;
}

.hero:before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    left: -220px;
    top: 90px;
    background: #FFF1F2;
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
    color: #1769D2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow>span {
    height: 2px;
    width: 23px;
    background: #1769D2;
}

.hero h1 {
    font: 800 clamp(52px,6vw,79px)/1.02 Manrope,sans-serif;
    letter-spacing: -.075em;
    color: #102A56;
    margin: 23px 0;
}

.hero h1 em,
h2 em {
    font-style: normal;
    color: #1769D2;
}

.hero-lead {
    font-size: 15px;
    line-height: 1.9;
    color: #58677D;
    max-width: 490px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 31px;
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 15px 20px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    transition: transform .25s,box-shadow .25s,background .25s;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: linear-gradient(110deg,#1769D2,#0B3D91);
    color: white;
    box-shadow: 0 10px 24px rgba(11,61,145,.25);
}

.button-primary:hover {
    box-shadow: 0 14px 30px rgba(11,61,145,.35);
}

.button span {
    font-size: 17px;
}

.text-link {
    font-size: 12px;
    font-weight: 700;
    color: #0B3D91;
}

.text-link span {
    color: #1769D2;
    padding-left: 7px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 45px;
    color: #58677D;
    font-size: 10px;
    line-height: 1.6;
}

.avatar-stack {
    display: flex;
    padding-left: 5px;
}

.avatar-stack i {
    font-style: normal;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #FFF1F2;
    border: 2px solid white;
    color: #0B3D91;
    font-size: 9px;
    margin-left: -5px;
}

.avatar-stack i:nth-child(2) {
    background: #E2EAF7;
}

.avatar-stack i:nth-child(3) {
    background: #FFF1F2;
}

/* HERO ART */

.hero-art {
    height: 465px;
    position: relative;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 53% 48%,#FFF1F2 0,#FFF1F2 37%,#F7FAFF 62%,#FFFFFF 75%);
    overflow: hidden;
    border-radius: 46% 54% 50% 50%/45% 42% 58% 55%;
}

.hero-art:after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid #E2EAF7;
    border-radius: 48% 52% 50% 50%;
}

.art-orbit {
    position: absolute;
    border: 1px solid #E2EAF7;
    border-radius: 50%;
    width: 430px;
    height: 285px;
    transform: rotate(-25deg);
}

.orbit-two {
    width: 510px;
    height: 355px;
    transform: rotate(36deg);
    border-color: #E2EAF7;
}

.art-card-main {
    position: relative;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(15px);
    width: 280px;
    padding: 27px 29px 30px;
    border-radius: 20px;
    box-shadow: 0 28px 75px rgba(16,42,86,.12);
    border: 1px solid rgba(255,255,255,.95);
    z-index: 2;
}

.art-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-label {
    font-size: 9px;
    letter-spacing: .16em;
    color: #58677D;
    font-weight: 700;
}

.sparkle {
    color: #1769D2;
    font-size: 22px;
}

.resource-icon {
    display: flex;
    gap: 10px;
    margin: 28px 0 21px;
}

.resource-icon span {
    height: 45px;
    width: 45px;
    border-radius: 13px;
    background: #FFF1F2;
    color: #1769D2;
    display: grid;
    place-items: center;
    font-size: 23px;
}

.resource-icon span:nth-child(2) {
    background: #F7FAFF;
}

.resource-icon span:nth-child(3) {
    background: #E2EAF7;
}

.art-card-main h3 {
    font: 800 27px/1.15 Manrope;
    letter-spacing: -.05em;
    margin: 0;
    color: #102A56;
}

.art-card-main p {
    font-size: 10px;
    color: #58677D;
    margin: 16px 0 0;
}

.float-pill {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border: 1px solid #E2EAF7;
    padding: 12px 16px;
    border-radius: 11px;
    box-shadow: 0 13px 30px rgba(16,42,86,.10);
    font-size: 10px;
    font-weight: 700;
    color: #0B3D91;
}

.pill-icon {
    color: #1769D2;
    font-size: 16px;
    margin-right: 8px;
}

.pill-top {
    top: 63px;
    right: 0;
}

.pill-bottom {
    bottom: 67px;
    left: 0;
}

.art-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1769D2;
    box-shadow: 0 0 0 6px #FFF1F2;
}

.dot-a {
    top: 80px;
    left: 75px;
}

.dot-b {
    right: 65px;
    bottom: 70px;
    width: 6px;
    height: 6px;
}

.dot-c {
    left: 100px;
    bottom: 43px;
    width: 5px;
    height: 5px;
}

/* TRUST STRIP */

.trust-strip {
    background: #FFF1F2;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(25px,6vw,85px);
    padding: 20px 5%;
    color: #1769D2;
    font-size: 11px;
    font-weight: 600;
    border-top: 1px solid #E2EAF7;
    border-bottom: 1px solid #E2EAF7;
}

.trust-strip div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-strip span {
    font: 700 10px Manrope;
    color: #0B3D91;
}

/* GENERAL SECTIONS */

.section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 44px;
}

.section-heading h2,
.join-copy h2,
.contact-panel h2 {
    font: 800 clamp(34px,4.2vw,49px)/1.13 Manrope;
    letter-spacing: -.06em;
    color: #102A56;
    margin: 15px 0 0;
}

.section-heading>p {
    max-width: 410px;
    font-size: 12px;
    line-height: 1.95;
    color: #58677D;
    margin: 0 0 4px;
}

/* ABOUT SECTION */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.about-feature {
    padding: 31px 29px 34px;
    border: 1px solid #E2EAF7;
    border-radius: 15px;
    transition: .25s;
    background: linear-gradient(145deg,#FFFFFF,#F7FAFF);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #F3B8BE;
}

.feature-symbol {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #FFF1F2;
    color: #1769D2;
    display: grid;
    place-items: center;
    font-size: 23px;
}

.about-feature h3 {
    font: 700 16px Manrope;
    margin: 23px 0 9px;
    color: #102A56;
}

.about-feature p {
    font-size: 11px;
    line-height: 1.9;
    color: #58677D;
    margin: 0;
}
header,
.navbar,
nav {
    border-bottom: none !important;
    box-shadow: none !important;
}
/* ROTATION SECTION */

.rotation-section {
    background: radial-gradient(ellipse at 85% 0%,#0B3D91 0%,transparent 42%),#102A56;
    padding: 100px 0 105px;
    position: relative;
    overflow: hidden;
}

.rotation-section:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    right: -150px;
    top: -250px;
}

.rotation-section:after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    left: -180px;
    bottom: -230px;
}

.light-heading h2 {
    color: white;
}

.light-heading h2 em {
    color: #FFF1F2;
}

.light-heading .eyebrow {
    color: #FFF1F2;
}

.light-heading>p {
    color: #E2EAF7;
}

.rotation-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.rotation-card {
    background: rgba(255,255,255,.98);
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    padding: 27px 26px 29px;
    min-height: 285px;
    transition: transform .25s,box-shadow .25s;
}

.rotation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(7,29,77,.22);
}

.rotation-number {
    font-size: 9px;
    letter-spacing: .14em;
    font-weight: 700;
    color: #58677D;
}

.rotation-emoji {
    font-size: 30px;
    color: #1769D2;
    margin: 22px 0 13px;
}

.rotation-card h3 {
    font: 700 17px Manrope;
    color: #102A56;
    margin: 0 0 10px;
}

.rotation-card p {
    font-size: 11px;
    line-height: 1.9;
    color: #58677D;
    min-height: 65px;
}

.rotation-card a {
    font-size: 10px;
    font-weight: 700;
    color: #0B3D91;
}

.rotation-card a span {
    padding-left: 8px;
    font-size: 15px;
}

/* UPDATES SECTION */

.updates-section {
    padding-top: 105px;
    padding-bottom: 105px;
}

.updates-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 18px;
}

.update-card {
    padding: 26px;
    border: 1px solid #E2EAF7;
    border-radius: 14px;
    min-height: 240px;
    transition: .25s;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.featured-update {
    background: linear-gradient(145deg,#FFF1F2,#FFFFFF);
    border-color: #E2EAF7;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 8px;
    letter-spacing: .1em;
    color: #58677D;
    font-weight: 700;
}

.tag {
    padding: 6px 9px;
    border-radius: 5px;
    background: #FFF1F2;
    color: #0B3D91;
}

.tag-pale {
    background: #FFF1F2;
    color: #1769D2;
}

.update-card h3 {
    font: 700 17px/1.4 Manrope;
    color: #102A56;
    margin: 25px 0 10px;
}

.update-card p {
    font-size: 11px;
    line-height: 1.9;
    color: #58677D;
}

.update-date {
    display: block;
    font-size: 9px;
    color: #58677D;
    margin-top: 19px;
}

.update-link {
    font-size: 10px;
    font-weight: 700;
    color: #0B3D91;
}

/* JOIN SECTION */

.join-section {
    background: linear-gradient(115deg,#FFF1F2,#FFFFFF);
    padding: 95px 0;
    position: relative;
    overflow: hidden;
}

.join-section:after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid #E2EAF7;
    border-radius: 50%;
    right: -200px;
    top: -250px;
}

.join-inner {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.join-copy h2 {
    font-size: 51px;
}

.join-copy>p {
    font-size: 12px;
    line-height: 1.95;
    color: #58677D;
    max-width: 350px;
    margin-top: 20px;
}

.join-steps {
    display: grid;
    gap: 0;
}

.join-step {
    display: flex;
    gap: 19px;
    padding: 17px 0;
    border-bottom: 1px solid #E2EAF7;
}

.join-step>span {
    font: 700 11px Manrope;
    color: #1769D2;
    padding-top: 3px;
}

.join-step h3 {
    font: 700 13px Manrope;
    margin: 0 0 5px;
    color: #102A56;
}

.join-step p {
    font-size: 10px;
    line-height: 1.8;
    color: #58677D;
    margin: 0;
}

.button-white {
    margin-top: 23px;
    background: white;
    color: #0B3D91;
    justify-self: start;
    box-shadow: 0 7px 18px rgba(16,42,86,.08);
}

/* CONTACT SECTION */

.contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-panel {
    background: linear-gradient(130deg,#FFF1F2,#FFFFFF);
    border: 1px solid #E2EAF7;
    border-radius: 18px;
    padding: 55px 58px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    box-shadow: 0 15px 50px rgba(16,42,86,.06);
}

.contact-panel h2 {
    font-size: 41px;
}

.contact-panel>div:first-child>p {
    font-size: 12px;
    line-height: 1.95;
    color: #58677D;
    max-width: 420px;
    margin-top: 19px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 41px;
    height: 41px;
    border-radius: 12px;
    background: #FFF1F2;
    color: #1769D2;
    display: grid;
    place-items: center;
    font-size: 17px;
}

.contact-detail small {
    display: block;
    font-size: 8px;
    letter-spacing: .13em;
    color: #58677D;
    margin-bottom: 5px;
}

.contact-detail a {
    font-size: 12px;
    font-weight: 600;
    color: #0B3D91;
}

.contact-details .button {
    align-self: flex-start;
    margin-top: 5px;
}

.contact-hint {
    font-size: 9px;
    color: #58677D;
    margin: 0;
}

/* FOOTER */

.site-footer {
    background: linear-gradient(115deg,#0B3D91,#102A56);
    color: white;
    padding-top: 62px;
    position: relative;
    overflow: hidden;
}

.site-footer:before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    right: -130px;
    top: -250px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr 1fr;
    gap: 45px;
    padding-bottom: 50px;
    position: relative;
}

.brand-footer .brand-mark {
    background: white;
    color: #0B3D91;
    box-shadow: none;
}

.brand-footer .brand-copy strong {
    color: white;
}

.brand-footer .brand-copy small {
    color: #FFF1F2;
}

.footer-brand>p,
.footer-note p {
    font-size: 10px;
    line-height: 1.95;
    color: #FFF1F2;
    max-width: 245px;
    margin-top: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links h4,
.footer-note h4 {
    font: 700 10px Manrope;
    letter-spacing: .12em;
    margin: 5px 0 8px;
    color: white;
}

.footer-links a {
    font-size: 10px;
    color: #FFF1F2;
    transition: .2s;
}

.footer-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-note {
    border-left: 1px solid #ffffff44;
    padding-left: 25px;
}

.footer-star {
    font-size: 25px;
    color: #FFFFFF;
}

.footer-note h4 {
    font-size: 16px;
    letter-spacing: -.02em;
    margin: 13px 0 0;
}

.footer-note p {
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid #ffffff45;
    padding-top: 19px;
    padding-bottom: 21px;
    display: flex;
    justify-content: space-between;
    color: #FFF1F2;
    font-size: 9px;
    position: relative;
}

/* TABLET RESPONSIVENESS */

@media(max-width:850px) {
    .main-nav {
        gap: 15px;
    }

    .main-nav>a {
        font-size: 11px;
    }

    .hero {
        gap: 10px;
    }

    .join-inner {
        gap: 45px;
    }

    .footer-main {
        gap: 25px;
    }

    .contact-panel {
        gap: 35px;
        padding: 40px;
    }
}

/* MOBILE RESPONSIVENESS */

@media(max-width:680px) {
    .announcement {
        font-size: 9px;
        padding: 0 10px;
    }

    .site-header {
        height: 72px;
        padding: 0 5.5%;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 71px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(15px);
        padding: 18px 6% 24px;
        box-shadow: 0 15px 25px rgba(16,42,86,.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav>a {
        padding: 13px 0;
        border-bottom: 1px solid #E2EAF7;
        font-size: 13px;
    }

    .main-nav .nav-contact {
        margin-top: 12px;
        text-align: center;
        padding: 13px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 62px;
        padding-bottom: 42px;
        gap: 5px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-art {
        height: 350px;
        margin-top: 10px;
    }

    .art-card-main {
        transform: scale(.9);
    }

    .pill-top {
        right: 0;
        top: 35px;
    }

    .pill-bottom {
        left: 0;
        bottom: 38px;
    }

    .trust-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 17px 10px;
        padding: 22px 7%;
        font-size: 10px;
    }

    .section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .section-heading {
        display: block;
        margin-bottom: 31px;
    }

    .section-heading>p {
        margin-top: 18px;
    }

    .about-grid,
    .rotation-cards,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .about-feature {
        padding: 25px;
    }

    .rotation-section {
        padding: 75px 0;
    }

    .rotation-card {
        min-height: 0;
    }

    .rotation-card p {
        min-height: 0;
    }

    .join-section {
        padding: 75px 0;
    }

    .join-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .join-copy h2 {
        font-size: 45px;
    }

    .contact-section {
        padding: 70px 0;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 25px;
    }

    .contact-panel h2 {
        font-size: 34px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 22px;
    }

    .footer-brand {
        grid-column: 1/-1;
    }

    .footer-note {
        padding-left: 15px;
    }

    .footer-bottom {
        gap: 10px;
        flex-direction: column;
    }

    .hero-actions {
        gap: 18px;
        flex-wrap: wrap;
    }
}

/* ACCESSIBILITY */

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        transition: none!important;
        animation: none!important;
    }
}
/* Header logo sizing and alignment */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  padding: 10px 5%;
  box-sizing: border-box;
  overflow: hidden;
}

.site-header .brand {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: 45%;
  height: 65px;
}

.site-header .brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 768px) {
  .site-header {
    min-height: 70px;
    padding: 8px 4%;
  }

  .site-header .brand {
    height: 50px;
    max-width: 65%;
  }

  .site-header .brand-logo {
    height: 44px;
  }
}
.site-header,
.site-header .brand,
.site-header .brand-logo {
    background: transparent !important;
}

.site-header .brand-logo {
    display: block;
    object-fit: contain;
    mix-blend-mode: normal;
}

 /* PARTNERS SECTION */
.partners-section {
    padding-top: 84px;
    padding-bottom: 84px;
}

/* PARTNER HORIZONTAL LAYOUT */
.partner-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 34px;
    overflow-x: auto;
    padding: 8px 2px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #1769D2 #F4F7FC;
}

/* PARTNER CARDS */
.partner-card {
    flex: 0 0 260px;
    min-width: 260px;
    min-height: 285px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(23, 105, 210, .18);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(35, 40, 35, .045);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(23, 105, 210, .09);
}

/* PARTNER LOGOS */
.partner-logo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #F7F9FD;
    border: 1px solid rgba(214, 40, 40, .15);
    margin-bottom: 18px;
    overflow: hidden;
}

.partner-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* COUNTRY LABELS */
.partner-country {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .09em;
    font-weight: 700;
    color: #d62828;
    margin-bottom: 9px;
}

/* PARTNER TITLES */
.partner-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 0 0 10px;
    background: linear-gradient(
        90deg,
        #d62828 0%,
        #d62828 50%,
        #1769D2 50%,
        #1769D2 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* PARTNER DESCRIPTIONS */
.partner-card p {
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 18px;
    color: #58677D;
}

/* PARTNER LINKS */
.partner-card a {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #1769D2;
    transition: color .2s ease;
}

.partner-card a:hover {
    color: #d62828;
}

/* PARTNER DISCLAIMER */
.partners-disclaimer {
    margin-top: 22px;
    font-size: .85rem;
    line-height: 1.6;
    color: #58677D;
}

/* HORIZONTAL SCROLLBAR */
.partner-grid::-webkit-scrollbar {
    height: 7px;
}

.partner-grid::-webkit-scrollbar-track {
    background: #F4F7FC;
    border-radius: 10px;
}

.partner-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(
        90deg,
        #d62828,
        #1769D2
    );
    border-radius: 10px;
}

.partner-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        90deg,
        #1769D2,
        #d62828
    );
}

/* GENERAL PAGE SCROLLBARS */
* {
    scrollbar-color: #1769D2 #F4F7FC;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #F4F7FC;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        90deg,
        #d62828,
        #1769D2
    );
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        90deg,
        #1769D2,
        #d62828
    );
}


/* =========================================================
   RED / BLUE / WHITE SITE-WIDE THEME
   ========================================================= */

/* Main titles and headings: alternating red-to-blue treatment */
h1, h2, h3, h4, h5, h6,
.section-heading h2,
.join-copy h2,
.contact-panel h2,
.about-feature h3,
.rotation-card h3,
.update-card h3,
.join-step h3,
.art-card-main h3,
.footer-links h4,
.footer-note h4 {
    background: linear-gradient(90deg, #D62828 0%, #D62828 48%, #1769D2 52%, #1769D2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Keep headings readable on dark blue backgrounds */
.light-heading h2,
.light-heading h2 em,
.site-footer h4,
.site-footer .brand-copy strong {
    background: none;
    -webkit-text-fill-color: #FFFFFF;
    color: #FFFFFF;
}

/* Red and blue emphasis */
.hero h1 em,
h2 em,
.eyebrow,
.eyebrow > span,
.brand-tagline,
.sparkle,
.pill-icon,
.rotation-emoji,
.feature-symbol,
.contact-icon,
.join-step > span {
    color: #D62828;
}

.button-primary {
    background: linear-gradient(110deg, #D62828 0%, #1769D2 100%);
    color: #FFFFFF;
}

.button-primary:hover {
    background: linear-gradient(110deg, #1769D2 0%, #D62828 100%);
}

.main-nav > a:hover,
.main-nav > a.active,
.text-link,
.rotation-card a,
.update-link,
.contact-detail a {
    color: #1769D2;
}

.main-nav .nav-contact,
.tag,
.tag-pale {
    background: #FFF1F2;
    color: #D62828;
    border-color: #F3C7CC;
}

/* White surfaces with subtle red/blue borders */
.about-feature,
.update-card,
.contact-panel,
.partner-card,
.rotation-card {
    background-color: #FFFFFF;
}

.about-feature:hover,
.update-card:hover,
.partner-card:hover {
    border-color: rgba(214, 40, 40, .32);
}

/* Red/blue scrollbar styling across the page */
* {
    scrollbar-color: #1769D2 #F4F7FC;
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #F4F7FC;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #D62828 0%, #1769D2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #1769D2 0%, #D62828 100%);
}

/* Partner carousel scrollbar */
.partner-grid {
    scrollbar-color: #1769D2 #F4F7FC;
}

.partner-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #D62828, #1769D2);
}

/* Red/blue accents on the partner cards */
.partner-country {
    color: #D62828;
}

.partner-card a {
    color: #1769D2;
}

.partner-card a:hover {
    color: #D62828;
}

