@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@font-face {
    font-family: 'Optician';
    src: url('/media/typefaces/Optician-Sans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --nav-height: 60px;
    --bg-off-black: rgb(21,21,21);
    --off-black: rgb(40,40,40);
    --s2p-primary: #0b5eda; /* primary */
    --s2p-primary-mute: #0745ba; /* muted */
    --s2p-primary-overmute: #042654; /* deep */
    --s2p-primary-highlight: #0998f8; /* accent */
    --s2p-primary-inverted: #f4a125; 
    --s2p-primary-transparent: rgba(11,94,218,.15);
    --s2p-primary-card-hover: rgba(11,94,218,.45);
    --hyperlink: #0070c9;
    --footer-bg: #f8f9fa;
    --link-hover: #383838;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
    box-sizing: border-box;
}

main {
    flex: 1;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-family: "Inter", Arial, sans-serif;
    /*padding-top: var(--nav-height);*/ /*/height of navbar
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
/*    background: linear-gradient( 135deg, #F9FAFB 0%, #E3E9EF 35%, #BED6F2 65%, #D8D3E5 100% ) !important;
    backdrop-filter: blur(8px);*/
}

/* Additional "Bootstrap" Rules */
.pt-6 {
    padding-top: 4rem !important;
}

.pt-7 {
    padding-top: 5rem !important;
}

.px-7 {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
}

.px-9 {
    padding: 0 9rem !important;
}

.fs-7 {
    font-size: 12px;
}

.fw-sbold {
    font-weight: 600 !important;
}

/* NAVBAR STYLING - Transparent before scroll, solid white after */
.public-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    padding: 0 30px;
    border-bottom: 1px solid transparent;
    box-shadow: 0 6px 20px rgba(0,0,0,0);
    transition: border-color 750ms ease, box-shadow 750ms ease, filter 300ms ease;
}

.nav-logo {
    height: 100%;
    display: flex;
    max-width: 200px;
    align-items: center;
}

.nav-logo img {
    height: 65%;
    width: auto;
    margin-right: auto;
}

.nav-links,
.nav-contact {
    height: 100%;
    font-family: "Instrument Sans", Arial, sans-serif;
    display: flex;
    gap: 134px;
    flex-wrap: wrap;
    align-items: center;
    color: black;
    transition: color 200ms ease;
    text-decoration: none;
}

.nav-contact:hover {
    color: var(--link-hover);
}

.dropdown-nav .dropdown-toggle {
    cursor: pointer;
}

.dropdown-nav span {
    padding: 15px 5px;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 25px;
}

.dropdown-toggle.active {
    color: var(--s2p-primary);
}

.dropdown-arrow {
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
    transition: transform 300ms ease;
}

.dropdown-nav:hover .dropdown-arrow {
    transform: rotate(-90deg);
}

.dropdown-arrow .cls-2 {
    fill: var(--s2p-primary);
    transition: fill 300ms ease;
}

.dropdown-nav:hover .cls-2 {
    fill: var(--s2p-primary-highlight);
}

.dropdown-arrow .cls-1 {
    fill: white;
}

.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

.nav-suite-redirect {
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
    max-width: 200px !important;
}

.nav-gotosuite {
    height: 45%;
    width: auto;
    display: flex;
    align-items: center;
    background: var(--s2p-primary);
    padding: 1em;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: background 500ms ease;
    margin-left: auto;
}

.nav-gotosuite:hover {
    background: var(--s2p-primary-highlight);
    color: white;
}

/*sliding nav overlay*/
.nav-overlay {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    overflow: hidden;
    padding-top: var(--nav-height);
    will-change: max-height !important;
    max-height: 0;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: max-height 200ms ease-in;
    pointer-events: none; /* non-interactive while closed */
}

.nav-overlay.is-open {
    max-height: 450px;
    height: 450px;
    pointer-events: all;
    transition: max-height 500ms cubic-bezier(0.04,0.84,0.15,0.95);
}

/* Inner content wrapper — fades in slightly after panel opens */
.nav-overlay-inner {
    display: flex;
    flex-direction: column;
    opacity: 0;
    height: 490px;
    min-height: unset;
    width: 100%;
    max-width: 900px;
    transform: translateY(-6px);
    transition: opacity 380ms ease, transform 380ms;
    will-change: opacity, transform;
}

.nav-overlay.is-open .nav-overlay-inner {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay:not(.is-open) .nav-overlay-inner {
    transition: opacity 0ms, transform 0ms;
}

.dropdown-nav.overlay-active .dropdown-arrow {
    transform: rotate(-180deg);
}

.dropdown-nav.overlay-active .cls-2 {
    fill: var(--s2p-primary-highlight, #258cfb);
}

.dropdown-nav.overlay-active .dropdown-toggle:not(.active) {
    color: var(--link-hover);
}

/* menu content layout */
.overlay-menu {
    display: flex;
    flex-direction: row;
    justify-content:center;
    width: 100%;
    height: 70%;
    gap: 32px;
    padding-top:20px;
/*    margin-top: 100px;*/
}

.overlay-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 50%;
    font-family: "Instrument Sans", Arial, sans-serif;
}

.overlay-links h5 {
    margin-bottom: 0;
    color: black;
    font-size: 1rem;
}

.overlay-links span {
    color: gray;
    line-height: 30px;
}

.overlay-links-clickable {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.overlay-links-clickable a {
    display: inline-flex;
    font-size: 1.25rem;
    color: black;
    text-decoration: none;
    padding: 8px 0;
    transition: color 200ms ease;
}

.overlay-links-clickable a:hover {
    color: black;
    text-decoration: underline solid black;
}

.overlay-links a.active {
    color: var(--s2p-primary);
}

.overlay-image {
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 8px;
    width: 400px;
    height: 300px;
    flex-shrink: 0;
}

.overlay-image img {
    width: 90%;
    height: 80%;
    object-fit: contain;
    border-radius: 8px;
}

.profile-icon {
    width: auto;
    height: 45%;
    stroke: white;
    stroke-width: 1em;
    fill: none;
    transition: stroke 0.2s ease, transform 0.5s ease;
}

footer {
    background: white;
    z-index:1600;
}

/* =====================================================================
   MOBILE NAVBAR — responsive accordion styles
   Breakpoint: ≤ 768px
   ===================================================================== */
@media (max-width: 768px) {

    /* --- Hamburger button (hidden on desktop) --- */
    .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        z-index: 10001;
        flex-shrink: 0;
    }

        .nav-hamburger span {
            display: block;
            height: 2px;
            width: 100%;
            background: black;
            border-radius: 2px;
            transition: transform 300ms ease, opacity 300ms ease;
            transform-origin: center;
        }

        /* Animated X when menu is open */
        .nav-hamburger.is-open span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .nav-hamburger.is-open span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .nav-hamburger.is-open span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

    /* --- Nav layout on mobile --- */
    .public-nav {
        padding: 0 16px;
        flex-wrap: nowrap;
        background: white;
    }

    /* Hide desktop centre links & CTA button */
    .nav-links {
        display: none !important;
    }

    .nav-suite-redirect {
        display: none !important;
    }

    /* Hide the full-width overlay that desktop uses */
    .nav-overlay {
        display: none !important;
    }

    /* --- Mobile drawer --- */
    .mobile-nav-drawer {
        display: block;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 9998;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
        padding: 8px 0 40px;
        border-top: 1px solid #e5e5e5;
    }

        .mobile-nav-drawer.is-open {
            transform: translateX(0);
        }

    /* --- Drawer items --- */
    .mobile-nav-item {
        border-bottom: 1px solid #f0f0f0;
    }

    /* Top-level link / toggle row */
    .mobile-nav-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        background: none;
        border: none;
        font-family: "Instrument Sans", Arial, sans-serif;
        font-size: 1rem;
        font-weight: 600;
        color: black;
        text-align: left;
        cursor: pointer;
        text-decoration: none;
    }

        .mobile-nav-trigger.active {
            color: var(--s2p-primary);
        }

    /* Chevron icon */
    .mobile-nav-chevron {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        transition: transform 300ms ease;
        color: #555;
    }

    .mobile-nav-item.is-open .mobile-nav-chevron {
        transform: rotate(180deg);
    }

    /* Accordion panel */
    .mobile-nav-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
        background: #fafafa;
    }

    .mobile-nav-item.is-open .mobile-nav-panel {
        max-height: 400px; /* large enough for any menu content */
    }

    .mobile-nav-panel-inner {
        padding: 8px 20px 20px 24px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

        /* Sub-links inside accordion */
        .mobile-nav-panel-inner a {
            display: block;
            padding: 10px 0;
            font-size: 0.95rem;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #ebebeb;
            transition: color 150ms ease;
        }

            .mobile-nav-panel-inner a:last-child {
                border-bottom: none;
            }

            .mobile-nav-panel-inner a:hover,
            .mobile-nav-panel-inner a:active {
                color: var(--s2p-primary);
            }

            .mobile-nav-panel-inner a.active {
                color: var(--s2p-primary);
                font-weight: 600;
            }

    /* CTA button inside drawer */
    .mobile-nav-cta {
        padding: 20px 20px 0;
    }

        .mobile-nav-cta a {
            display: flex;
            justify-content: center;
            align-items: center;
            background: var(--s2p-primary);
            color: white !important;
            text-decoration: none;
            padding: 14px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            transition: background 300ms ease;
        }

            .mobile-nav-cta a:hover {
                background: var(--s2p-primary-highlight);
            }

    /* Backdrop behind drawer */
    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        top: var(--nav-height);
        background: rgba(0, 0, 0, 0.45);
        z-index: 9997;
        opacity: 0;
        pointer-events: none;
        transition: opacity 300ms ease;
    }

        .mobile-nav-backdrop.is-visible {
            opacity: 1;
            pointer-events: all;
        }
}

/* Hide hamburger / drawer on desktop */
@media (min-width: 769px) {
    .nav-hamburger,
    .mobile-nav-drawer,
    .mobile-nav-backdrop {
        display: none !important;
    }
}

/* LANDING PAGE DESIGN */

main {
    position: relative;
}


/* HERO */
.hero {
    width: 100%;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.hero-tagline {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    pointer-events: auto;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.hero-tagline p {
    text-align: right;
}

#hero-section {
    min-height: 420px;
    height: 150vh;
    position: relative;
    overflow: visible;
}

#hero-section video {
    position: fixed !important;
    height: 100vh !important;
}

#hero-section .hero-pin {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: calc(var(--nav-height) + 3.5rem) 5.5rem 4rem 5.5rem;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none;
}

#hero-section .hero-pin .hero-content {
    pointer-events: auto;
}

.reveal-mask {
    position: relative;
    overflow: visible;
}

.reveal-text {
    opacity: 1;
/*    transform: scale(0.95);*/
/*    filter: blur(8px);*/
    will-change: opacity, transform, filter;
    transition: none;
    width: 67%;
}

.hero-headline {
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

@media (max-width: 768px) {

    #hero-section .hero-pin {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2rem 1.5rem;
    }

    .hero-tagline {
        grid-column: 1 !important;
        grid-row: 2 !important;
        justify-content: flex-start !important;
        align-items: flex-end !important;
        text-align: left !important;
    }

    .hero-tagline p {
        text-align: left !important;
    }

    .hero-headline {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .hero-headline h1 {
        line-height: 1 !important;
        margin-bottom: 0 !important;
    }

    .reveal-text {
        width: 100% !important;
        margin-left: 0 !important;
        font-size: 1em !important;
        text-shadow: 1px 1px 2px black;
    }
}

.hero-num {
    color: rgba(11, 94, 255, .8);
}

.landing-body-impact,
.landing-body-mission,
.landing-body-platform {
    min-height: 80vh; /* Changed to min-height for flexibility */
    padding: 4rem 0; /* Add padding for spacing */
}

.landing-body-tag {
    width: 100%; /* Full width by default */
    max-width: 70%; /* Constrain on larger screens */
}

.landing-body-tagline {
    background: white !important;
    min-height: 70vh; /* Changed to min-height */
    padding: 4rem 0;
}

.hexagon-animation {
    flex-shrink: 0;
}

.hex-inner {
    transform-origin: center;
    animation: hexPulse 3s ease-in-out infinite;
}

@keyframes hexPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

/* Responsive sizing */
@media (max-width: 768px) {
    .hexagon-animation {
        width: 20px;
        height: 20px;
    }
}

.landing-body-mission {
    position: relative;
    overflow: hidden;
    background: black;
}

.landing-body-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    z-index: -2;
}

.landing-body-platform {
    background: white !important;
}

.landing-body-impact {
    background: url('../media/landingAssets/landingBodyBg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.landing-body-inner {
    opacity: 1;
    width: 100%;
    padding: 2rem 1rem;
}

/* Mobile */
@media (max-width: 767px) {

    .landing-body-video {
        top: 86%;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .landing-body-inner {
        width: 100%;
        padding: 3rem 2rem;
    }

    .landing-body-platform {
        padding: 1em 0 !important;
    }

    .landing-body-video {
        width: 90%;
        height: 90%;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .landing-body-inner {
        width: 80%;
    }

    .landing-body-video {
        left: 65%;
        width: 80%;
        height: 80%;
    }

    .landing-body-impact {
        background-position: bottom;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .landing-body-impact,
    .landing-body-mission,
    .landing-body-platform {
        min-height: 90vh;
    }
}

.learn-more {
    display: flex;
    justify-content: center;
    overflow: visible;
    padding: 0 50px 50px 50px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--s2p-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.learn-more-btn:hover,
.learn-more-btn:visited,
.learn-more-btn:active {
    color: white;
}

.learn-more-btn:hover {
    background: var(--s2p-primary-highlight);
}

.learn-more-btn svg {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover svg {
    transform: translateX(4px);
}

/* About Page */
/* ── Hero ── */
#about-hero-section {
    min-height: 420px;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.about-video {
    object-fit: cover;
    z-index: 0;
    filter: blur(0px);
    transform: scale(.85);
}

#about-hero-content {
    padding-left: 5rem;
}

/* ── Shared label ── */
.about-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--s2p-primary);
    margin-bottom: 1.5rem;
}

/* ── Intro section ── */
.about-intro-section {
    padding: 6rem 0 4rem;
}

.about-intro-body {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.85;
    color: #212529;
    margin-bottom: 0;
}

/* ── Divider ── */
.about-divider {
    border-color: #e0e0e0;
    margin: 0;
}

/* ── Work section ── */
.about-work-section {
    padding: 5rem 0 6rem;
    background: #fff;
}

.about-work-heading {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 0;
}

.about-work-body {
    font-size: clamp(1rem, 1.75vw, 1.2rem);
    line-height: 1.85;
    color: #495057;
    margin-bottom: 0;
}

/* ─── Explore cards ─── */
.about-explore {
    background: url('../media/aboutEnder.jpg');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
}

.about-explore::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, transparent 100%);
    pointer-events: none;
    z-index: -2;
}

.about-explore-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(55,55,55,0.50);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-explore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    border-color: rgba(11,94,218,0.5);
}

.about-explore-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-explore-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--s2p-primary-highlight);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: gap 0.25s ease;
}

.about-explore-card:hover .about-explore-arrow {
    gap: 14px;
}

.thick-text-shadow {
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4), 0px 8px 13px rgba(0,0,0,0.1), 0px 18px 23px rgba(0,0,0,0.1);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    #about-hero-content {
        padding-left: 0 !important;
        justify-content: center;
    }

    .about-video {
        transform: scale(1) !important;
    }

    #about-hero-section .position-absolute.start-0.bottom-0 {
        padding: 1.5rem !important;
    }

    .about-work-heading {
        margin-bottom: 1.5rem;
    }
}

/* Team Page */
/* ── Hero ─────────────────────────────────────── */
.team-page-hero {
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
}

.team-page-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--s2p-primary-highlight);
    margin-bottom: 1.25rem;
}

.team-page-headline {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .team-page-hero > div[style*="padding"] {
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2.5rem 1.5rem !important;
    }

    .team-page-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}

/* ── Intro strip ──────────────────────────────── */
.team-intro-strip {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.team-intro-inner {
    padding: 4.5rem 0;
}

.team-intro-heading {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 0;
    margin-top: 0.75rem;
}

.team-intro-body {
    font-size: clamp(1rem, 1.75vw, 1.175rem);
    line-height: 1.85;
    color: #495057;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .team-intro-inner {
        padding: 3rem 0;
    }
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.team-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--s2p-primary-card-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-hover-overlay {
    opacity: 1;
}

.team-plus-btn {
    background: none;
    border: 2px solid white;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.team-card:hover .team-plus-btn {
    transform: scale(1);
}

.team-plus-btn:hover {
    background: white;
    transform: scale(1.1) rotate(90deg);
}

.team-plus-btn:hover svg {
    stroke: var(--s2p-primary);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
    border-top: 4px solid var(--s2p-primary);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.team-role {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
    font-weight: 400;
}

.team-member-col {
    opacity: 100;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-member-col.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Team Slideout Panel */
.team-slideout {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
}

.team-slideout.active {
    pointer-events: auto;
}

.team-slideout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.team-slideout.active .team-slideout-overlay {
    opacity: 1;
}

.team-slideout-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1200px;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.team-slideout.active .team-slideout-panel {
    transform: translateY(0);
}

.team-slideout-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.team-slideout-close:hover {
    background: var(--s2p-primary);
    border-color: var(--s2p-primary);
    transform: rotate(90deg);
}

.team-slideout-close:hover svg {
    stroke: white;
}

.team-slideout-content {
    padding: 60px 40px 40px;
}

.team-slideout-image-wrapper {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-slideout-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-slideout-name {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
    padding-top: 1rem;
}

.team-slideout-role {
    font-size: 1.25rem;
    color: var(--s2p-primary);
    font-weight: 600;
    margin-bottom: 0;
}

.team-slideout-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

@media (max-width: 768px) {
    .team-slideout-content {
        padding: 40px 20px 30px;
    }

    .team-slideout-panel {
        max-height: 80vh;
    }

    .team-slideout-name {
        font-size: 1.5rem;
    }

    .team-slideout-role {
        font-size: 1rem;
    }

    .team-slideout-bio {
        font-size: 1rem;
    }
}

/* Mission Page */
/* ── Hero ─────────────────────────────────────── */
.mission-page-hero {
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
}

.mission-page-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--s2p-primary-highlight);
    margin-bottom: 1.25rem;
}

.mission-page-headline {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .mission-page-hero > div[style*="padding"] {
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2.5rem 1.5rem !important;
    }

    .mission-page-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}

/* ── Vision strips ────────────────────────────── */
.mission-vision-section {
    background: #fff;
}

.mission-vision-strip {
    border-top: 1px solid #e8e8e8;
    transition: background 300ms ease;
}

    .mission-vision-strip:last-child {
        border-bottom: 1px solid #e8e8e8;
    }

.mission-strip-inner {
    padding: 3rem 0;
    gap: 0;
}

.mission-strip-number {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--s2p-primary-transparent, rgba(11,94,218,0.2));
    user-select: none;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: -webkit-text-stroke-color 300ms ease, color 300ms ease;
}

.mission-vision-strip:hover .mission-strip-number {
    -webkit-text-stroke-color: rgba(11, 94, 218, 0.5);
}

.mission-strip-text {
    font-size: clamp(1rem, 1.8vw, 1.175rem);
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 0;
    padding-left: 2rem;
    border-left: 3px solid transparent;
    transition: border-color 300ms ease;
}

.mission-vision-strip:hover .mission-strip-text {
    border-left-color: var(--s2p-primary);
}

/* Strip alternating backgrounds on hover */
.mission-strip-1:hover {
    background: #fafcff;
}

.mission-strip-2:hover {
    background: #f5f8ff;
}

.mission-strip-3:hover {
    background: #fafcff;
}

.mission-strip-4:hover {
    background: #f5f8ff;
}

@media (max-width: 991px) {
    .mission-strip-text {
        padding-left: 0;
        border-left: none;
        padding-top: 0;
    }

    .mission-strip-inner {
        padding: 2rem 0;
    }
}

/* ── Values ────────────────────────────────────── */
.mission-values-section {
    background: var(--bg-off-black, #151515);
}

.mission-values-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .mission-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mission-values-grid {
        grid-template-columns: 1fr;
    }
}

/* individual card */
.mission-value-card {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow: hidden;
    transition: transform 300ms ease, box-shadow 300ms ease;
    cursor: default;
}

    .mission-value-card::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 400ms ease;
        pointer-events: none;
    }

    .mission-value-card:hover {
        transform: translateY(-3px);
        z-index: 2;
    }

/* colour themes */
.mvc-blue {
    background: var(--bg-off-black, #151515);
}

.mvc-dark {
    background: #0e0e0e;
}

.mvc-light {
    background: #1a1a1a;
}

/* hover glows */
.mvc-blue:hover::before {
    background: radial-gradient(ellipse at 30% 30%, rgba(11,94,218,0.18) 0%, transparent 70%);
    opacity: 1;
}

.mvc-dark:hover::before {
    background: radial-gradient(ellipse at 30% 30%, rgba(9,152,248,0.14) 0%, transparent 70%);
    opacity: 1;
}

.mvc-light:hover::before {
    background: radial-gradient(ellipse at 30% 30%, rgba(11,94,218,0.12) 0%, transparent 70%);
    opacity: 1;
}

/* number */
.mvc-number {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--s2p-primary-highlight, #0998f8);
    text-transform: uppercase;
}

/* title */
.mvc-title {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

/* body text */
.mvc-text {
    font-size: clamp(0.875rem, 1.2vw, 0.975rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.58);
    margin-bottom: 0;
    flex: 1;
}

/* bottom accent bar — slides in on hover */
.mvc-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--s2p-primary) 0%, var(--s2p-primary-highlight) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-value-card:hover .mvc-accent-bar {
    transform: scaleX(1);
}

/* border between cards */
.mission-value-card + .mission-value-card {
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (min-width: 577px) {
    .mission-values-grid .mission-value-card:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.05);
    }
}

@media (min-width: 992px) {
    .mission-values-grid .mission-value-card:nth-child(3n) {
        border-right: none;
    }

    .mission-values-grid .mission-value-card:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.05);
    }
}

/* ── CTA ──────────────────────────────────────── */
.mission-cta-section {
    background: #fff;
    padding: 6rem 0;
    display: flex;
}

.mission-cta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    color: var(--s2p-primary);
    margin-bottom: 1rem;
}

.mission-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    background: var(--s2p-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 0.5rem;
}

.mission-cta-btn:hover,
.mission-cta-btn:visited,
.mission-cta-btn:active {
    color: white;
}

.mission-cta-btn:hover {
    background: var(--s2p-primary-highlight);
    gap: 18px;
}

.mission-cta-btn svg {
    transition: transform 0.3s ease;
}

.mission-cta-btn:hover svg {
    transform: translateX(4px);
}

.pb-6 {
    padding-bottom: 4rem !important;
}

.pt-6 {
    padding-top: 4rem !important;
}

/* Our Innovation Page */
.innovation-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    overflow: hidden;
    background: url('../media/innovationBanner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -5
}

.innovation-page-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--s2p-primary-highlight);
    margin-bottom: 1.25rem;
}

.innovation-page-headline {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .innovation-banner > div[style*="padding"] {
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2.5rem 1.5rem !important;
    }

    .innovation-page-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}

.innovation-banner-text {
    position: fixed;
    top: 10%;
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 10rem);
    font-weight: bold;
    color: rgba(255, 255, 255, .9);
    line-height: 1.2;
    word-break: break-all;
    padding: 2rem;
    user-select: none;
    z-index: -4;
    margin-top: auto;
    mix-blend-mode: overlay;
}

.innovation-demo {
    position: relative;
    z-index: 10;
}

.innovation-demo-img {
    width: 100%;
    max-width: 1500px;
    height: auto;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.innovation-headline {
    min-height: 40vh;
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .innovation-headline {
        min-height: auto;
        padding: 3rem 1.5rem;
        margin-top: 5rem;
    }
}

.innovation-arch-heading {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0a0a0a;
    margin: 0.5rem 0 1rem;
}

.architecture-content {
    max-width: 80vw;
    width: 100%;
}

@media (max-width: 768px) {
    .architecture-content {
        max-width: 95vw;
    }
}

@media (min-width: 1400px) {
    .architecture-content {
        max-width: 1400px;
    }
}

/* Flip Card Styles */
.flip-card {
    user-select: none;
    background-color: transparent;
    width: 100%;
    height: 600px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flip-card-front {
    background: var(--s2p-primary);
    color: white;
    transition: all 300ms ease-in-out;
}

.flip-card-back {
    background: white;
    color: #212529;
    transform: rotateY(180deg);
    border: 2px solid var(--s2p-primary);
    transition: border 300ms ease;
}

.flip-card-back:hover {
    border: 2px solid var(--s2p-primary-highlight);
}

.flip-card-front .flip-card-content {
    padding: 2rem 2rem !important;
}

.flip-card-back .flip-card-content {
    padding: 2rem 2rem;
    height: 100% !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.flip-card-front h4 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.flip-card-back h5 {
    color: var(--s2p-primary);
    font-weight: 600;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    text-align: left;
    margin-bottom: 1rem;
}

.flip-card-back p {
    line-height: 1.7;
    color: #495057;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: left;
}

.flip-icon {
    opacity: 0.9;
}

.flip-icon svg {
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-icon svg {
    transform: rotate(90deg);
}

.flip-card:not(.flipped):hover .flip-card-front {
    background: var(--s2p-primary-highlight);
    box-shadow: 0 8px 20px rgb(0, 114, 255, 0.30);
}

/* Mobile responsiveness */
@media (max-width: 800px) {
    .flip-card {
        height: 500px;
    }

    .flip-card-content {
        padding: 1.5rem;
    }
}

/* Tablet zoom handling */
@media (min-width: 801px) and (max-width: 1200px) {
    .flip-card {
        height: 550px;
    }
}

/* Partnering Page */
/* ══════════════════════════════
   HERO
══════════════════════════════ */
.partner-hero {
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
}

.partner-hero-content {
    padding: calc(var(--nav-height) + 1rem) 2rem 2rem 2rem;
}

.partner-page-label {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--s2p-primary);
    margin-bottom: 1.25rem;
}

.partner-hero-video {
    width: 50%;
}

@media (max-width: 768px) {
    .partner-hero-video {
        width: 100%;
        height: 50% !important;
    }

    .partner-hero-content {
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2.5rem 1.5rem !important;
    }

    .partner-page-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}

/* SHARED */
.partner-intro-section,
.partner-values-section {
    display: flex;
    align-items: center;
}

.partner-intro-section .container,
.partner-values-section .container {
    width: 100%;
}

/* ══════════════════════════════
   INTRO
══════════════════════════════ */
.partner-intro-section {
    background: var(--bg-off-black, #151515);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.partner-headline {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: #fff;
    line-height: 1.15;
    position: relative;
    padding-bottom: 1.5rem;
}

.partner-headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--s2p-primary-highlight);
    border-radius: 2px;
    transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-intro-section:hover .partner-headline::after {
    width: 50%;
}

.partner-intro-body {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.85;
    color: rgba(255,255,255,0.55);
    margin: 0;
    text-align: left;
    font-weight: 400;
    letter-spacing: -0.01em;
}

@media (max-width: 991px) {
    .partner-intro-inner {
        padding: 3rem 0;
    }

    .partner-headline {
        text-align: center;
    }

    .partner-headline::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .partner-intro-body {
        text-align: center;
    }
}

/* ══════════════════════════════
   VALUE PILLARS
══════════════════════════════ */
.partner-values-section {
    background: #fff;
    padding: 5rem 0 6rem;
}

.partner-values-heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
}

.partner-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #dde2e8;
    border: 1px solid #dde2e8;
    border-radius: 12px;
    overflow: visible;
}

@media (max-width: 767px) {
    .partner-values-grid {
        grid-template-columns: 1fr;
    }

    .partner-values-heading {
        text-align: center;
    }
}
.partner-values-section {
    background: #fff;
    padding: 5rem 0 6rem;
}

.partner-values-heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
}

.partner-value-item {
    background: #f4f6f9;
    padding: 5rem;
}

.partner-value-item:hover {
    background: #edf2ff;
}

.pvi-icon {
    width: 50px;
    height: 50px;
    color: var(--s2p-primary);
}

.pvi-icon svg {
    width: 100%;
    height: 100%;
}

.pvi-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.pvi-body {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #6c757d;
    margin: 0;
}

.pvi-hoverable {
    cursor: default;
    border-bottom: 2px solid transparent;
    transition: background 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.pvi-hoverable:hover {
    background: #f0f5ff;
    border-bottom-color: var(--s2p-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(11, 94, 218, 0.09);
}

/* ══════════════════════════════
   SEEK SECTION
══════════════════════════════ */
.partner-seek-title {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0.5rem 0 0.75rem;
}

.partner-seek-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    max-width: 580px;
}

.partner-seek-section {
    background: var(--bg-off-black, #151515);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 7rem 0;
    margin-bottom: 4rem;
}

.partner-seek-section > .container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.partner-seek-layout {
    flex: 1;
    min-height: 0;
    justify-content: space-between;
    gap: 3rem;
}

.partner-seek-header {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.partner-seek-body {
    flex: 1;
    align-content: center;
}

.partner-seek-heading {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.partner-seek-em {
    color: var(--s2p-primary-highlight);
}

.psp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.psp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--s2p-primary-highlight);
    flex-shrink: 0;
    margin-top: 8px;
}

.psp-item p {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.partner-seek-cta {
    text-align: center;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    background: white !important;
    color: black !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.partner-cta-btn:hover,
.partner-cta-btn:visited,
.partner-cta-btn:active {
    color: white;
}

.partner-cta-btn::before {
    content: attr(data-hover);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    opacity: 0;
    transition: transform 500ms ease, opacity 500ms ease;
    white-space: nowrap;
}

.partner-cta-btn:hover span {
    transform: translateY(-150%);
    opacity: 0;
}

.partner-cta-btn:hover::before {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.partner-cta-btn span {
    display: block;
    transition: transform 500ms ease, opacity 500ms ease;
}

@media (max-width: 991px) {
    .partner-seek-section {
        padding: 4.5rem 0;
        min-height: auto;
    }

    .partner-seek-heading {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
        text-align: center;
    }
}

@media (max-width: 576px) {
    .partner-seek-section {
        padding: 3.5rem 1rem;
    }

    .psp-item p {
        font-size: 0.9rem;
    }

    .partner-seek-heading {
        font-size: clamp(1.35rem, 6vw, 1.85rem);
        line-height: 1.25;
    }
}

/*Security and Compliance*/
/* ══════════════════════════════
   HERO
══════════════════════════════ */
.security-page-hero {
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
}

.security-hero-bg {
    background: linear-gradient(135deg, var(--s2p-primary-overmute) 0%, #071e40 40%, var(--s2p-primary-mute) 100%);
    z-index: 0;
}

.security-hero-shield-wrap {
    z-index: 1;
    padding-right: 6rem;
    pointer-events: none;
}

.security-hero-shield {
    width: clamp(280px, 38vw, 560px);
    height: auto;
}

.security-hero-content {
    padding: calc(var(--nav-height) + 3.5rem) 5.5rem 4rem 5.5rem;
}

.security-page-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--s2p-primary-highlight);
    margin-bottom: 1.25rem;
}

.security-page-headline {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .security-hero-content {
        padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2.5rem 1.5rem !important;
    }

    .security-page-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .security-hero-shield-wrap {
        padding: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════
   COMMITMENT
══════════════════════════════ */
.security-commit-section {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.security-commit-inner {
    padding: 4.5rem 0;
}

.security-commit-heading {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
    margin-bottom: 0;
    margin-top: 0.75rem;
}

.security-commit-body {
    font-size: clamp(1rem, 1.75vw, 1.175rem);
    line-height: 1.85;
    color: #495057;
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .security-commit-inner {
        padding: 3rem 0;
    }
}

/* ══════════════════════════════
   SOC 2 CARD DECK
══════════════════════════════ */
.security-criteria-section {
    background: #f4f6f9;
    padding: 5rem 0 6rem;
}

.security-criteria-label-wrap {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.security-criteria-heading {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    color: #212529;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

/* deck */
.soc-deck {
    display: flex;
    flex-direction: column;
}

.soc-card {
    background: white;
    border-radius: 10px;
    border: 1px solid #dde2e8;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: box-shadow 300ms ease, transform 300ms ease, border-color 300ms ease, margin-bottom 300ms ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.04);
}

/* stacking offset — each subsequent card peeks out slightly */
.soc-card:not(:first-child) {
    margin-top: -6px;
}

.soc-card.is-open {
    margin-top: 4px;
    margin-bottom: 14px;
    z-index: 20;
}

.soc-card:hover:not(.is-open) {
    transform: translateY(-3px) translateX(3px);
    box-shadow: 0 4px 14px rgba(11,94,218,0.10), 0 8px 28px rgba(0,0,0,0.08);
    border-color: rgba(11,94,218,0.25);
    z-index: 10;
}

.soc-card.is-open {
    border-color: var(--s2p-primary);
    box-shadow: 0 0 0 1.5px var(--s2p-primary), 0 8px 32px rgba(11,94,218,0.14), 0 2px 8px rgba(0,0,0,0.06);
}

/* left accent bar */
.soc-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--s2p-primary) 0%, var(--s2p-primary-highlight) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 0 0 3px;
}

.soc-card.is-open::before {
    transform: scaleY(1);
}

.soc-card-collapsed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    user-select: none;
}

.soc-card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.soc-card-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--s2p-primary-highlight);
    text-transform: uppercase;
    flex-shrink: 0;
    width: 20px;
}

.soc-card-icon {
    width: 26px;
    height: 26px;
    color: var(--s2p-primary);
    flex-shrink: 0;
    transition: color 250ms ease;
}

.soc-card-icon svg {
    width: 100%;
    height: 100%;
}

.soc-card.is-open .soc-card-icon {
    color: var(--s2p-primary-highlight);
}

.soc-card-title {
    font-size: 0.975rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    transition: color 250ms ease;
}

.soc-card.is-open .soc-card-title {
    color: var(--s2p-primary);
}

/* body expand */
.soc-card-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease, padding 300ms ease;
    padding: 0 1.5rem 0 calc(1.5rem + 20px + 1rem + 26px + 1rem);
}

.soc-card.is-open .soc-card-body {
    max-height: 300px;
    opacity: 1;
    padding: 0 1.5rem 1.25rem calc(1.5rem + 20px + 1rem + 26px + 1rem);
}

.soc-card-body p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #495057;
    margin: 0;
    padding-top: 0.25rem;
    border-top: 1px solid #e8ecf0;
    padding-top: 1rem;
}

@media (max-width: 991px) {
    .security-criteria-label-wrap {
        position: static;
        margin-bottom: 2.5rem;
    }

    .soc-card-body,
    .soc-card.is-open .soc-card-body {
        padding-left: 1.5rem;
    }
}

/* ══════════════════════════════
   ROADMAP SCROLL-LOCK
══════════════════════════════ */
.security-roadmap-section {
    height: 280vh;
    position: relative;
    background: var(--bg-off-black, #151515);
}

.roadmap-sticky-outer {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.roadmap-sticky-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 1rem) 3rem 3rem;
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0 2.5rem;
    align-items: center;
}

.roadmap-label-col {
    padding-right: 1rem;
}

.roadmap-heading {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Timeline */
.roadmap-timeline-col {
    position: relative;
    display: flex;
    justify-content: center;
    height: 320px;
}

.roadmap-line-track {
    position: absolute;
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255,255,255,0.08);
    transform: translateX(-50%);
    border-radius: 2px;
    overflow: hidden;
}

.roadmap-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg, var(--s2p-primary) 0%, var(--s2p-primary-highlight) 100%);
    border-radius: 2px;
    transition: height 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-dots {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.roadmap-dot {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rdot-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 400ms ease, transform 400ms ease, opacity 400ms ease;
    opacity: 0;
}

.rdot-core {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    transition: background 400ms ease, border-color 400ms ease, transform 300ms ease;
    position: relative;
    z-index: 1;
}

.roadmap-dot.is-done .rdot-core {
    background: var(--s2p-primary);
    border-color: var(--s2p-primary);
}

.roadmap-dot.is-active .rdot-ring {
    border-color: var(--s2p-primary-highlight);
    opacity: 1;
    transform: scale(1.4);
    animation: rdotPulse 2s ease-in-out infinite;
}

.roadmap-dot.is-active .rdot-core {
    background: var(--s2p-primary-highlight);
    border-color: var(--s2p-primary-highlight);
    transform: scale(1.15);
}

@keyframes rdotPulse {
    0%, 100% {
        transform: scale(1.4);
        opacity: 1;
    }

    50% {
        transform: scale(1.9);
        opacity: 0.4;
    }
}

/* Content panels */
.roadmap-content-col {
    position: relative;
    height: 320px;
}

.roadmap-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 450ms cubic-bezier(0.4, 0, 0.2, 1), transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.roadmap-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.roadmap-panel-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--s2p-primary-highlight);
    margin-bottom: 0.75rem;
}

.roadmap-panel-title {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.roadmap-panel-body {
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.58);
    margin-bottom: 0;
}

/* Mobile: static vertical list */
@media (max-width: 768px) {
    .security-roadmap-section {
        height: auto !important;
        padding: 4rem 0;
    }

    .roadmap-sticky-outer {
        position: static;
        height: auto;
        display: block;
    }

    .roadmap-sticky-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .roadmap-label-col {
        padding-right: 0;
    }

    .roadmap-timeline-col {
        display: none;
    }

    .roadmap-content-col {
        position: static;
        height: auto;
    }

    .roadmap-panel {
        position: static;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        height: auto;
        padding-bottom: 2.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: 2.5rem;
    }

    .roadmap-panel:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* ══════════════════════════════
   CTA
══════════════════════════════ */
.security-cta-section {
    background: #f8f9fa !important;
}

/* Contact Page */
/* ══════════════════════════════
   PAGE SHELL
══════════════════════════════ */
.contact-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #fff;
    padding: calc(var(--nav-height) + 5rem) 0 6rem;
    position: relative;
    overflow: hidden;
}

.contact-page-container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.contact-header {
    margin-bottom: 4rem;
}

.contact-heading {
    font-family: 'Instrument Sans', Arial, sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin: 0 0 1.25rem;
}

.contact-heading-accent {
    color: transparent;
    background: linear-gradient(90deg, var(--s2p-primary) 0%, var(--s2p-primary-highlight) 100%);
    background-clip: text;
    position: relative;
}

/* animated underline on the accent word */
.contact-heading-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--s2p-primary) 0%, var(--s2p-primary-highlight) 100%);
    border-radius: 2px;
    transition: width 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-heading-accent.is-drawn::after {
    width: 100%;
}

/* ══════════════════════════════
   CONTACT ROWS
══════════════════════════════ */
.contact-rows {
    display: flex;
    flex-direction: column;
}

.contact-row {
    position: relative;
    padding: 2rem 0;
    border-top: 1px solid #e8ecf0;
    transform: translateY(24px);
    transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1), transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-row:last-child {
    border-bottom: 1px solid #e8ecf0;
}

/* left accent bar that grows on hover */
.contact-row-bar {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--s2p-primary) 0%, var(--s2p-primary-highlight) 100%);
    border-radius: 2px;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.contact-row:hover .contact-row-bar {
    transform: translateY(-50%) scaleY(1);
}

.contact-row-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-row-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--s2p-primary);
    transition: color 250ms ease;
}

.contact-row:hover .contact-row-icon {
    color: var(--s2p-primary-highlight);
}

.contact-row-icon svg {
    width: 100%;
    height: 100%;
}

.contact-row-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.01em;
}

.contact-row-body {
    padding-left: calc(22px + 1rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-row-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
    margin: 0;
}

.contact-row-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--s2p-primary);
    text-decoration: none;
    transition: gap 250ms ease, color 250ms ease;
    width: fit-content;
}

.contact-row-link svg {
    width: 14px;
    height: 14px;
    transition: transform 250ms ease;
    flex-shrink: 0;
}

.contact-row-link:hover {
    color: var(--s2p-primary-highlight);
    gap: 10px;
}

.contact-row-link:hover svg {
    transform: translateX(3px);
}

.contact-row-meta {
    font-size: 0.8rem;
    color: #adb5bd;
    font-weight: 500;
}

/* ══════════════════════════════
   MOBILE
══════════════════════════════ */
@media (max-width: 768px) {
    .contact-page-section {
        padding: calc(var(--nav-height) + 3rem) 1rem 4rem;
        align-items: flex-start;
    }

    .contact-heading {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .contact-row-bar {
        display: none;
    }

    .contact-row-body {
        padding-left: 0;
    }
}