:root {
    /* ---------- design tokens ----------
       Restyled to a clean, light, system-font aesthetic (pastel-gradient hero,
       near-black primary surfaces, a single confident blue accent, 8-12px
       radii) rather than our previous dark/navy hero theme. Variable NAMES
       are kept as-is on purpose so every existing rule that already reads
       var(--navy-950) etc. picks up the new look without being touched. */
    --navy-950: #1B1B1B;
    --navy-900: #292827;
    --navy-800: #3B3A39;
    --blue-700: #0067B8;
    --blue-600: #2B88D8;
    --blue-500: #50A0E8;
    --sky-100: #EFF6FC;
    --sky-50: #FAFAFA;
    --white: #FFFFFF;
    --gold-500: #00B7C3;
    --gain: #107C10;
    --loss: #D13438;
    --ink-900: #1B1B1B;
    --ink-700: #3B3A39;
    --ink-500: #605E5C;
    --line: #E7E7E7;
    --shadow: 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.14);
    --radius: 24px;
    --radius-btn: 8px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Variable Text", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--ink-700);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, .display {
    font-family: var(--font-sans);
    color: var(--ink-900);
}

.mono {
    font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    position: relative;
}

::selection {
    background: var(--gold-500);
    color: var(--navy-950);
}

/* ---------- reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-stagger.in .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

/* ---------- nav ----------
   A persistent light bar rather than a transparent overlay that only
   solidifies on scroll — the hero behind it is light now too, so a
   light header reads correctly from the very first frame. */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: all .3s ease;
}

    header.scrolled {
        padding: 10px 0;
        box-shadow: 0 2px 16px rgba(0,0,0,.06);
    }

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 19px;
    color: var(--ink-900);
    letter-spacing: -.01em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 13px;
    letter-spacing: .02em;
    box-shadow: 0 4px 10px rgba(0,40,90,.3), 0 0 0 2px var(--white);
}

.nav-links {
    display: flex;
    gap: 34px;
    align-items: center;
}

    .nav-links a {
        color: var(--ink-700);
        font-size: 14.5px;
        font-weight: 500;
        transition: color .2s;
    }

        .nav-links a:hover {
            color: var(--blue-700);
        }

.burger {
    display: none;
    color: var(--ink-900);
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* mobile nav drawer (added for MVC responsive integration) */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    z-index: 1100;
    padding: 90px 28px 28px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,.15);
}

    .mobile-nav.open {
        transform: translateX(0);
    }

    .mobile-nav a {
        display: block;
        color: var(--ink-700);
        font-size: 16px;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1050;
}

    .nav-overlay.open {
        display: block;
    }

/* ---------- hero ----------
   A dark diagonal gradient spotlight — the one dark section on an
   otherwise light page — so text flips to light-on-dark here only. */
.hero {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--blue-700) 38%, var(--blue-500) 68%, #A9C2CE 100%);
    /* same vertical padding as the sign-up hero (Register.css .signup-hero) so both heroes match */
    padding: 150px 0 64px;
    position: relative;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .3;
    pointer-events: none;
}

.blob1 {
    width: 520px;
    height: 520px;
    background: var(--blue-500);
    top: -160px;
    right: -120px;
    animation: float1 16s ease-in-out infinite;
}

.blob2 {
    width: 380px;
    height: 380px;
    background: var(--gold-500);
    bottom: -140px;
    left: -100px;
    opacity: .14;
    animation: float2 20s ease-in-out infinite;
}

@keyframes float1 {
    0%,100% {
        transform: translate(0,0)
    }

    50% {
        transform: translate(-40px,50px)
    }
}

@keyframes float2 {
    0%,100% {
        transform: translate(0,0)
    }

    50% {
        transform: translate(40px,-30px)
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
    padding-bottom: 90px;
    /* floor shared by the landing and sign-up heroes so both render at the same height (reset in the tablet query below) */
    min-height: 420px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-inner {
    position: relative;
    width: 100%;
    max-width: 560px;
    animation: float1 9s ease-in-out infinite;
    container-type: inline-size;
}

.hero-visual-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 45px rgba(0,0,0,.3));
}

.hero-visual-badge {
    position: absolute;
    top: 21.3%;
    left: 43.55%;
    transform: translate(-50%, -50%);
    width: 5.16cqw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--blue-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2cqw;
    letter-spacing: .02em;
    box-shadow: 0 0.5cqw 1cqw rgba(0,40,90,.3), 0 0 0 0.35cqw #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
    letter-spacing: .02em;
}

    .eyebrow .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--gain);
        box-shadow: 0 0 0 0 rgba(23,199,132,.6);
        animation: pulse 1.8s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(23,199,132,.6)
    }

    70% {
        box-shadow: 0 0 0 9px rgba(23,199,132,0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(23,199,132,0)
    }
}

.hero h1 {
    font-size: clamp(32px,4vw,54px);
    line-height: 1.1;
    color: #fff;
    font-weight: 600;
    letter-spacing: -.02em;
    margin-bottom: 22px;
}

    .hero h1 em {
        font-style: normal;
        color: var(--gold-500);
    }

.hero p.lead {
    color: rgba(255,255,255,.82);
    font-size: clamp(15px,2vw,18px);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    /* no extra bottom margin: .hero-grid already pads the bottom, and this keeps the hero the same height as the sign-up hero */
    margin-bottom: 0;
}

.btn {
    padding: 13px 26px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blue-700);
    color: #fff;
    border: 1px solid var(--blue-700);
}

    .btn-primary:hover {
        background: var(--navy-950);
        border-color: var(--navy-950);
        transform: translateY(-2px);
    }

.btn-ghost {
    background: var(--blue-700);
    color: #fff;
    border: 1px solid var(--blue-700);
}

    .btn-ghost:hover {
        background: var(--navy-950);
        border-color: var(--navy-950);
        transform: translateY(-2px);
    }

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--gain);
    font-weight: 600;
}

    .live-badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gain);
        animation: pulse 1.8s infinite;
    }

/* ---------- section heads ---------- */
.section-pad {
    padding: 110px 0;
}

.kicker {
    color: var(--blue-700);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

    .kicker::before {
        content: '';
        width: 26px;
        height: 2px;
        background: var(--gold-500);
        display: inline-block;
    }

.section-title {
    font-size: clamp(26px,3.4vw,42px);
    font-weight: 700;
    letter-spacing: -.02em;
    max-width: 680px;
    margin-bottom: 18px;
}

.section-sub {
    color: var(--ink-500);
    font-size: clamp(15px,1.6vw,17px);
    max-width: 600px;
}

.head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* ---------- investment groups ---------- */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
}

.group-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .group-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 4px 16px rgba(0,0,0,.18);
    }

.group-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

    .group-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

.group-card:hover .group-media img {
    transform: scale(1.09);
}

.group-body {
    padding: 22px 22px 24px;
}

    .group-body h4 {
        font-size: 18.5px;
        margin-bottom: 8px;
    }

    .group-body p {
        font-size: 14px;
        color: var(--ink-500);
        margin-bottom: 14px;
    }

.group-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .group-link span {
        transition: transform .2s;
    }

.group-card:hover .group-link span {
    transform: translateX(4px);
}

.group-note {
    margin-top: 36px;
    background: var(--sky-100);
    border: 1px dashed var(--blue-500);
    border-radius: 14px;
    padding: 20px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

    .group-note .ic {
        font-size: 20px;
    }

    .group-note p {
        font-size: 14.5px;
        color: var(--ink-700);
    }

    .group-note strong {
        color: var(--navy-950);
    }

/* featured (HMH) card - was inline-styled, now a responsive class */
.groups-grid-single {
    margin-top: 26px;
    grid-template-columns: 1fr;
}

.group-card-featured {
    display: grid;
    grid-template-columns: 340px 1fr;
}

    .group-card-featured .group-media {
        height: auto;
    }

        .group-card-featured .group-media img {
            height: 100%;
        }

        /* NEW: background video for the HMH featured card fills the same frame as the photo */
        .group-card-featured .group-media video.hmh-video {
            width: 100%;
            height: 100%;
            min-height: 260px;
            object-fit: cover;
            display: block;
        }

    .group-card-featured .group-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .group-card-featured .group-body p {
            max-width: 520px;
        }

/* NOTE: "View Pool" now uses the original .group-link text-arrow style
   (defined above, under "investment groups") rather than a filled button —
   simpler, and consistent with the .group-link hover micro-interaction
   already used across the group cards. */

/* ============================================================
   NEW: Business Funding section (sits above PoolRide)
   Reuses the same tokens/components as PoolRide (pr-media,
   pr-chip, group-note, btn-ghost-light) so the visual language
   stays consistent, with its own bf- prefixed classes for the
   layout pieces that are unique to this section.
   ============================================================ */
.funding {
    background: var(--sky-50);
}

.bf-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.bf-steps {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin: 34px 0 6px;
}

.bf-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
}

.bf-step-num {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-500);
    margin-bottom: 8px;
}

.bf-step h5 {
    font-size: 15px;
    color: var(--ink-900);
    margin-bottom: 6px;
}

.bf-step p {
    font-size: 13.4px;
    color: var(--ink-500);
}

.bf-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.bf-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .bf-media img {
        width: 100%;
        height: 480px;
        object-fit: cover;
    }

.bf-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,15,36,0) 55%, rgba(5,15,36,.55) 100%);
    pointer-events: none;
}

/* reuses the .pr-chip look-and-feel via a shared class name */
.bf-chip {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px -10px rgba(10,27,61,.3);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(50% - 20px);
    z-index: 2;
}

    .bf-chip.chip1 {
        top: 26px;
        left: 26px;
        animation: bob 4s ease-in-out infinite;
    }

    .bf-chip.chip2 {
        bottom: 26px;
        right: 26px;
        animation: bob 4s ease-in-out infinite 1.2s;
    }

    .bf-chip .avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--blue-700);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 13px;
        flex-shrink: 0;
    }

    .bf-chip .txt strong {
        display: block;
        font-size: 13px;
        color: var(--ink-900);
    }

    .bf-chip .txt span {
        font-size: 11.5px;
        color: var(--ink-500);
    }

/* ============================================================
   NEW: PTBN (Business Network) section — sits between Business
   Funding and PoolRide. The video banner uses its own ptbn-
   prefixed classes so each section's banner can evolve
   independently. Cards are a lighter, text-only sibling
   of .group-card — these are illustrative idea posts, not
   photographed investment pools, so there's no .group-media image.
   ============================================================ */
.ptbn {
    background: var(--white);
}

.ptbn-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: var(--navy-950);
    box-shadow: var(--shadow);
}

.ptbn-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptbn-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,15,36,.35) 0%, rgba(5,15,36,.55) 55%, rgba(5,15,36,.92) 100%);
}

.ptbn-banner-content {
    position: relative;
    z-index: 2;
    padding: 32px 36px;
    max-width: 620px;
}

    .ptbn-banner-content .live-badge {
        margin-bottom: 14px;
    }

    .ptbn-banner-content h3 {
        color: #fff;
        font-size: clamp(19px,2.4vw,26px);
        font-weight: 700;
        margin-bottom: 8px;
        letter-spacing: -.01em;
    }

    .ptbn-banner-content p {
        color: rgba(230,238,255,.72);
        font-size: 14px;
        max-width: 54ch;
    }

.ptbn-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- poolride ---------- */
.poolride {
    background: linear-gradient(180deg,#fff 0%, var(--sky-50) 100%);
}

.pr-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
}

.pr-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .pr-media img {
        width: 100%;
        height: 520px;
        object-fit: cover;
    }

    /* NEW: background video fills the same frame as the original photo */
    .pr-media video.pr-video {
        width: 100%;
        height: 520px;
        object-fit: cover;
        display: block;
    }

.pr-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,15,36,0) 55%, rgba(5,15,36,.55) 100%);
    pointer-events: none;
}

.pr-lagos-tag {
    position: absolute;
    left: 26px;
    bottom: 22px;
    z-index: 2;
    background: rgba(5,15,36,.72);
    backdrop-filter: blur(4px);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    letter-spacing: .02em;
}

.pr-chip {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px -10px rgba(10,27,61,.3);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(50% - 20px);
    z-index: 2;
}

    .pr-chip.chip1 {
        top: 26px;
        left: 26px;
        animation: bob 4s ease-in-out infinite;
    }

    .pr-chip.chip2 {
        bottom: 26px;
        right: 26px;
        animation: bob 4s ease-in-out infinite 1.2s;
    }

@keyframes bob {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.pr-chip .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue-700);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.pr-chip .txt strong {
    display: block;
    font-size: 13px;
    color: var(--ink-900);
}

.pr-chip .txt span {
    font-size: 11.5px;
    color: var(--ink-500);
}

.pr-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.pr-feat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

    .pr-feat .ic {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--sky-100);
        color: var(--blue-700);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 19px;
        flex-shrink: 0;
    }

    .pr-feat h5 {
        font-size: 15.5px;
        color: var(--ink-900);
        margin-bottom: 4px;
    }

    .pr-feat p {
        font-size: 13.8px;
        color: var(--ink-500);
    }

/* ============================================================
   NEW: PoolRide CTA buttons ("Find a Ride" / "Drive with PoolRide")
   ============================================================ */
.pr-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Light-background variant of .btn-ghost, since the PoolRide section
   sits on a white/sky background rather than the dark hero. */
.btn-ghost-light {
    background: var(--blue-700);
    color: #fff;
    border: 1px solid var(--blue-700);
}

    .btn-ghost-light:hover {
        background: var(--navy-950);
        border-color: var(--navy-950);
        transform: translateY(-3px);
    }

/* ---------- footer ---------- */
/* ---------- footer ----------
   Light, muted, and divided by thin hairlines rather than a solid dark
   panel — small column headers, small gray link text, a thin-bordered
   utility bar at the very bottom. */
footer {
    background: var(--white);
    color: var(--ink-700);
    padding-top: 64px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 280px;
    color: var(--ink-500);
    margin-bottom: 20px;
}

footer h5 {
    color: var(--ink-900);
    font-size: 13px;
    margin-bottom: 16px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

footer ul li {
    margin-bottom: 11px;
    font-size: 14px;
    color: var(--ink-500);
}

    footer ul li a:hover {
        color: var(--blue-700);
    }

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 13px;
    color: var(--ink-500);
    flex-wrap: wrap;
    gap: 12px;
}

    .foot-bottom .legal-links {
        display: flex;
        gap: 22px;
        flex-wrap: wrap;
    }

        .foot-bottom .legal-links a {
            color: var(--ink-500);
        }

            .foot-bottom .legal-links a:hover {
                color: var(--blue-700);
            }

.lang-curr {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .lang-curr select {
        background: var(--white);
        border: 1px solid var(--line);
        color: var(--ink-700);
        padding: 8px 12px;
        border-radius: var(--radius-btn);
        font-size: 13px;
    }

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink-900);
    padding: 8px 14px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

    .back-to-top:hover {
        background: var(--sky-100);
        border-color: var(--blue-500);
    }

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* Large tablets / small laptops */
@media (max-width:1100px) {
    .wrap {
        padding: 0 26px;
    }

    .groups-grid {
        grid-template-columns: repeat(2,1fr);
    }

    /* NEW: PTBN video banner scales down a touch on smaller laptops */
    .ptbn-banner {
        min-height: 230px;
    }
}

/* Tablets */
@media (max-width:980px) {
    .hero {
        padding-top: 130px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        min-height: 0;
    }

    .groups-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .pr-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pr-media img {
        height: 380px;
    }

    /* NEW: keep video in step with the photo's responsive height */
    .pr-media video.pr-video {
        height: 380px;
    }


    /* NEW: Business Funding — stack media under text, drop steps to 2-up (already 2) and gallery to 2-up */
    .bf-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

        .bf-grid > .reveal:first-child {
            order: 1;
        }

    .bf-media {
        order: 2;
    }

        .bf-media img {
            height: 360px;
        }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 40px;
    }

    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .section-pad {
        padding: 80px 0;
    }

    .group-card-featured {
        grid-template-columns: 1fr;
    }

        .group-card-featured .group-media {
            height: 220px;
        }

            .group-card-featured .group-media video.hmh-video {
                min-height: 220px;
            }

    .ptbn-banner {
        min-height: 200px;
    }

    .ptbn-banner-content {
        padding: 26px 24px;
    }

        .ptbn-banner-content h3 {
            font-size: 19px;
        }
}

/* Phones */
@media (max-width:600px) {
    .wrap {
        padding: 0 20px;
    }

    .groups-grid {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding-top: 110px;
    }

    .section-pad {
        padding: 60px 0;
    }

    .market-panel {
        padding: 16px;
    }

    .pr-media img {
        height: 280px;
    }

    /* NEW: match phone-sized video height to the photo fallback */
    .pr-media video.pr-video {
        height: 280px;
    }

    .pr-chip {
        position: static;
        max-width: 100%;
        margin-top: 10px;
        animation: none;
    }

        .pr-chip.chip1 {
            margin-top: 0;
        }

    .pr-media {
        display: flex;
        flex-direction: column;
    }

    /* NEW: on phones the chips stack below the media, so the absolutely
       positioned Lagos tag and overlay would otherwise float oddly */
    .pr-lagos-tag {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }

    .pr-media-overlay {
        display: none;
    }

    /* NEW: Business Funding — single column steps, static chips on phones */
    .bf-steps {
        grid-template-columns: 1fr;
    }

    .bf-media img {
        height: 260px;
    }

    .bf-chip {
        position: static;
        max-width: 100%;
        margin-top: 10px;
        animation: none;
    }

        .bf-chip.chip1 {
            margin-top: 0;
        }

    .bf-media {
        display: flex;
        flex-direction: column;
    }

    .bf-media-overlay {
        display: none;
    }

    .bf-cta {
        flex-direction: column;
        align-items: stretch;
    }

        .bf-cta .btn {
            width: 100%;
        }

    .foot-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .pr-cta {
        flex-direction: column;
        align-items: stretch;
    }

        .pr-cta .btn {
            width: 100%;
        }

    /* NEW: PTBN — stacked CTA buttons on phones */
    .ptbn-cta {
        flex-direction: column;
        align-items: stretch;
    }

        .ptbn-cta .btn {
            width: 100%;
        }

    .ptbn-banner {
        min-height: 0;
        flex-direction: column;
        background: var(--navy-950);
    }

    .ptbn-banner-content {
        position: static;
        padding: 20px;
        max-width: none;
    }

    .ptbn-banner-video {
        position: relative;
        height: 180px;
    }

    .ptbn-banner-overlay {
        display: none;
    }
}

/* Small phones */
@media (max-width:420px) {
    .hero h1 {
        font-size: 30px;
    }

    .btn {
        padding: 13px 22px;
        font-size: 14px;
    }

    .group-card-featured .group-media {
        height: 180px;
    }

        .group-card-featured .group-media video.hmh-video {
            min-height: 180px;
        }
}

/* =====================================================
   Accessibility: respect reduced-motion preference by
   freezing background videos on their poster frame.
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    .pr-video, .hmh-video, .ptbn-banner-video {
        display: none;
    }
}
