.site-header, .site-header.transparent, .site-header.light-top, .site-header.scrolled { position: fixed !important; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.header-inner { width: 100%; max-width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 13px 28px; box-sizing: border-box; height: 81px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.brand-logo { width: 32.73px; height: 33.95px; background-color: #A899F4; -webkit-mask: url('/media/figma-logo-white.svg') center/contain no-repeat; mask: url('/media/figma-logo-white.svg') center/contain no-repeat; transition: background-color 0.3s ease; }
.brand-divider { display: none !important; }
.brand-text { color: #12205F; font-size: 13.53px; font-family: 'Noto Serif', serif; transition: color 0.3s ease; }
.nav-pill { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 100px; padding: 5px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); width: auto; margin-left: auto; margin-right: 16px; justify-content: flex-end; }
.nav-item { flex: 0 0 auto; height: 45px; box-sizing: border-box; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 0 18px; border-radius: 100px; color: #3A3A3A; font-size: 17px; font-family: 'Noto Serif', serif; text-decoration: none; transition: 0.25s ease; white-space: nowrap; }
.nav-item:hover { background: #f0f4f8; }
.nav-item.active { background: linear-gradient(143deg, #12205F 0%, #436FDD 100%); color: #fff; }
.dropdown { position: relative; flex: 0 0 auto; display: flex; }
.dropbtn { width: 100%; }
.dropdown-content { position: absolute; top: 100%; left: 0; background: #fff; min-width: 290px; box-shadow: 0 10px 25px rgba(0,0,0,0.12); flex-direction: column; display: none; border-radius: 12px; padding: 10px; margin-top: 8px; z-index: 1010; }
.dropdown-content::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content { display: flex; }
.dropdown-content a { padding: 10px 15px; color: #3A3A3A; font-family: 'Noto Serif', serif; font-size: 15px; border-radius: 8px; text-decoration: none; }
.dropdown-content a:hover { background: #f0f4f8; color: #12205F; }
.header-right { display: flex; align-items: center; }
.header-cta { display: flex; justify-content: center; align-items: center; width: 126px; height: 45px; background: #436FDD; border-radius: 100px; color: #fff; font-size: 17px; font-family: 'Noto Serif', serif; text-decoration: none; transition: 0.25s ease; }
.header-cta:hover, .header-cta.active { background: #12205F; }
.hamburger, .mobile-drawer, .mobile-backdrop { display: none; }
.site-header.transparent { background-color: transparent; box-shadow: none; }
.site-header.transparent .brand-logo { background-color: #A899F4; } .site-header.transparent .brand-divider { background-color: #000; }
.site-header.transparent .brand-text { color: #12205F; }
.site-header.scrolled { background-color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
.site-header.scrolled .brand-logo { background-color: #A899F4; }
.site-header.scrolled .brand-divider { background-color: #000; }
.site-header.scrolled .brand-text { color: #12205F; }
.site-header.light-top { background-color: rgba(255,255,255,0.92); box-shadow: none; }
.site-header.light-top .brand-logo { background-color: #A899F4; }
.site-header.light-top .brand-divider { background-color: #000; }
.site-header.light-top .brand-text { color: #12205F; }
body:has(.site-header.light-top) main { padding-top: 81px; }
body:has(.site-header.light-top) .sr-hero { padding-top: 96px; }
@media (max-width: 1024px) { .site-header.light-top .hamburger span { background: #12205F; } }
@media (max-width: 1180px) { .header-inner { padding: 13px 20px; } .nav-pill { width: auto; max-width: 680px; } }
@media (max-width: 1024px) {
    .header-inner { padding: 12px 14px; gap: 8px; } .brand { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding-right: 8px; overflow: hidden; } .brand-logo { flex: 0 0 clamp(26px, 7.2vw, 32px); width: clamp(26px, 7.2vw, 32px); height: clamp(27px, 7.5vw, 33px); } .brand-text { font-size: clamp(13.5px, 4.1vw, 17px) !important; line-height: 1.15 !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; } .header-right { flex: 0 0 auto; } .nav-pill, .header-right .header-cta { display: none; }
    .hamburger { display: flex; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; background: none; border: none; min-width: 44px; min-height: 44px; padding: 10px; z-index: 1002; }
    .hamburger span { width: 28px; height: 3px; border-radius: 2px; transition: 0.3s ease; }
    .site-header.transparent .hamburger span { background: #12205F; }
    .site-header.scrolled .hamburger span { background: #12205F; }
    .hamburger.active span { background-color: #12205F !important; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    body.nav-open { overflow: hidden; }
    .mobile-backdrop { display: block; position: fixed; inset: 0; background: rgba(13, 23, 68, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s ease; z-index: 1000; }
    .mobile-backdrop.open { opacity: 1; visibility: visible; }
    .mobile-drawer { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; transform: translateX(102%); width: 340px; max-width: 88vw; height: 100dvh; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); z-index: 1001; padding: 0; box-shadow: -12px 0 36px rgba(18, 32, 95, 0.16); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); overflow-y: auto; }
    .mobile-drawer.open { transform: translateX(0); }
    .mobile-drawer-head { display: flex; align-items: center; min-height: 76px; padding: 16px 56px 14px 18px; border-bottom: 1px solid #e9eef7; background: #ffffff; position: sticky; top: 0; z-index: 2; }
    .mobile-drawer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .mobile-drawer-logo { flex: 0 0 26px; width: 26px; height: 27px; background-color: #A899F4; -webkit-mask: url('/media/figma-logo-white.svg') center/contain no-repeat; mask: url('/media/figma-logo-white.svg') center/contain no-repeat; }
    .mobile-drawer-brand-text { font-family: 'Noto Serif', serif; font-size: clamp(11px, 3.1vw, 14px) !important; line-height: 1.2 !important; color: #12205F; font-weight: 500; white-space: normal; }
    .mobile-nav { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 20px 18px; }
    .mobile-nav .nav-item { flex: none; width: 100%; height: auto; min-height: 48px; justify-content: flex-start; text-align: left; padding: 12px 18px; border-radius: 14px; font-size: 17px; font-weight: 500; color: #1f2937; white-space: normal; }
    .mobile-nav .nav-item:hover { background: #eef4fc; color: #12205F; }
    .mobile-nav .nav-item.active { background: linear-gradient(135deg, #12205F 0%, #436FDD 100%); color: #ffffff; box-shadow: 0 6px 16px rgba(18, 32, 95, 0.18); }
    .mobile-dropbtn { background: none; border: none; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: space-between; }
    .mobile-dropbtn.is-parent-active { background: #eef4fc; color: #12205F; font-weight: 600; }
    .mobile-chevron { flex: 0 0 16px; transition: transform 0.25s ease; color: #436FDD; }
    .mobile-dropdown.open .mobile-chevron { transform: rotate(180deg); }
    .mobile-dropdown-content { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 6px 14px; padding-left: 12px; border-left: 2px solid #d4e3fc; }
    .mobile-dropdown.open .mobile-dropdown-content { display: flex; }
    .mobile-dropdown-content a { padding: 10px 14px; text-align: left; font-family: 'Noto Serif', serif; font-size: 15px; line-height: 1.35; color: #3A3A3A; border-radius: 10px; min-height: 42px; display: flex; align-items: center; justify-content: flex-start; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
    .mobile-dropdown-content a:hover { background: #eef4fc; color: #12205F; }
    .mobile-dropdown-content a.is-sub-active { background: #e3edff; color: #12205F; font-weight: 600; }
    .mobile-drawer-foot { margin-top: auto; padding: 18px 18px 28px; border-top: 1px solid #e9eef7; background: #ffffff; }
    .mobile-drawer-foot .header-cta { display: flex; width: 100%; height: 50px; border-radius: 100px; font-size: 17px; font-weight: 600; box-shadow: 0 8px 20px rgba(67, 111, 221, 0.28); }
}
/* ==========================================================================
   THE HEALTH & EVIDENCE COMPANY — Homepage stylesheet
   Figma file : "Health and Evidence" · rSHsjQWrXSTCSP0KMJ4eTr
   Frame      : Homepage 310:2184 — 1440 x 3841
   Every colour, font size, line-height, radius and spacing value below is
   taken from the Figma node cited in each block.
   Palette (Figma style node "12205F 436FDD 9AE2D4 A899F4 FFFFFF"):
     #12205F navy · #436FDD periwinkle · #9AE2D4 mint · #A899F4 lavender
     #007BFF blue · #00CED1 teal · #0D1744 deep navy
   ========================================================================== */

/* ---------- Design tokens -------------------------------------------- */
:root {
    /* Brand colours */
    --navy:       #12205F;  /* hero bg 348:4160 · stat cards 348:4292      */
    --navy-deep:  #0D1744;  /* who-card 348:4364                           */
    --blue:       #007BFF;  /* hero blur 348:4164 · gradient start         */
    --teal:       #00CED1;  /* services blur 348:2215 · gradient end       */
    --periwinkle: #436FDD;  /* footer/form gradient start 439:2680         */
    --lavender:   #A899F4;  /* who-title accent 348:4371                   */
    --mint:       #9AE2D4;  /* who badge fill 348:4367                     */
    --social:     #2387C0;  /* linkedin dot 477:13629                      */

    /* Neutrals */
    --ink:        #000000;
    --gray:       #3A3A3A;  /* body copy 417:2576 · nav links 461:10486    */
    --gray-light: #939393;  /* placeholders 439:2686 · partner logos       */
    --line:       #E5E5E5;  /* service-card stroke 417:2569                */
    --chip:       #E9E9E9;  /* service media 417:2570 · phone prefix 439:2699 */
    --paper:      #F2F2F2;  /* contact section bg 439:2679                 */
    --milk:       #F5F8FE;  /* who paragraph 348:4372                      */
    --white:      #FFFFFF;

    /* Type stacks */
    --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
    --sans:  'Manrope', 'Segoe UI', Arial, sans-serif;
    --dsans: 'DM Sans', 'Segoe UI', Arial, sans-serif;

    /* Layout */
    --shell: 1440px;                       /* Figma frame width              */
    --pad: clamp(24px, 7.6vw, 109px);      /* 109px gutters on the 1440 frame */

    /* Gradients */
    /* 439:2680 + 477:13607 — #436FDD 0% -> #12205F 45.88% */
    --grad-brand: linear-gradient(135deg, var(--periwinkle) 0%, var(--navy) 46%);
    /* 461:10483 + 439:2707 — #007BFF 0% -> #00CED1 100% */
    --grad-cta: linear-gradient(140deg, var(--blue) 0%, var(--teal) 100%);
}

/* ---------- Reset & base --------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--serif);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

section[id] { scroll-margin-top: 24px; }

::selection { background: var(--blue); color: var(--white); }

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================================================
   HERO — Figma 348:4160 (1440 x 849, bg #12205F)
   ========================================================================== */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    min-height: clamp(680px, 88vh, 920px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(136px, 15vh, 190px) 0 clamp(96px, 11vh, 140px);
}
.hero-dots { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px; }
.hero-dot { width: 11px; height: 11px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.85); background: rgba(255,255,255,0.28); padding: 0; cursor: pointer; transition: width 0.25s ease, background-color 0.25s ease; }
.hero-dot:hover { background: rgba(255,255,255,0.65); }
.hero-dot.is-active { width: 30px; background: #ffffff; border-color: #ffffff; }
@media (max-width: 768px) { .hero { min-height: 640px; padding: 130px 0 88px; } .hero-dots { bottom: 20px; } }

/* 348:3794 — full-bleed laboratory photo, FILL mode */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
}

/* Blurred colour fields over the photo (Figma layer blur 375/225px,
   approximated with soft radial ellipses at the exact node positions) */
.hero-blur {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Rectangle 5 — #12205F 1413x1281 @ (-131,-230), blur 375.
   Measured against the raw photo (figma_348_3794.png) at y=141, the navy
   wash is a LEFT-EDGE ramp, not a centre blob: alpha 0.68 at x=0, 0.69 at
   x=180, 0.35 at x=360, 0.11 at x=540 and 0 by x=720. */
.hero-blur--navy {
    background: linear-gradient(90deg,
                rgba(18, 32, 95, 0.68) 0%,
                rgba(18, 32, 95, 0.69) 12%,
                rgba(18, 32, 95, 0.35) 25%,
                rgba(18, 32, 95, 0.11) 38%,
                rgba(18, 32, 95, 0) 55%);
}

/* Rectangle 7 — #007BFF 659x586 @ (-131,465), blur 375.
   Bottom-left corner reads #1766C9 in Figma => ~0.6 alpha of #007BFF. */
.hero-blur--blue {
    background: radial-gradient(ellipse 900px 700px at 0% 100%,
                rgba(0, 123, 255, 0.62) 0%,
                rgba(0, 123, 255, 0.30) 45%,
                rgba(0, 123, 255, 0) 75%);
}

/* Rectangle 6 — #010128 644x663 @ (1075,-122), blur 225.
   Measured alpha down the right edge: 0.75 at y=141, 0.52 at y=283, 0 at
   y=424; across the top: 0.29 at x=1260 and 0 by x=1080. That is a narrow
   vertical band hugging the top-right corner, not a wide blob. */
.hero-blur--dark {
    background: radial-gradient(ellipse 320px 720px at 100% 0%,
                rgba(1, 1, 40, 0.78) 0%,
                rgba(1, 1, 40, 0.45) 45%,
                rgba(1, 1, 40, 0) 100%);
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-inline: clamp(24px, 5vw, 72px);
    box-sizing: border-box;
}

.hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.6vw, 72px);
    line-height: 1.14;
    color: var(--white);
    max-width: min(760px, 92%);
}

.hero-sub {
    margin-top: clamp(20px, 2.4vw, 34px);
    max-width: min(740px, 92%);
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(17px, 1.5vw, 24px);
    line-height: 1.55;
    color: var(--white);
}

.hero-actions {
    margin-top: clamp(24px, 2.8vw, 38px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* buttons stay intrinsic-width pills, never full-width blocks */
.hero-actions .btn {
    width: auto;
    flex: 0 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 55px;
    padding: 0 20px;
    border-radius: 100px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* 348:5255 "Discuss your Project" — white fill, black text + arrow */
.btn--solid { background: var(--white); color: var(--ink); }
.btn--solid:hover { background: #E9EFFA; }

/* 348:5256 "Explore our Services" — black @10%, 1px white stroke */
.btn--outline {
    background: rgba(0, 0, 0, 0.1);
    color: var(--white);
    border: 1px solid var(--white);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.16); }

.btn .icon-arrow { transition: transform 0.2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ==========================================================================
   DESIGNED SLIDER — Figma 450:4867 (1440 x 75, white, logos #939393)
   ========================================================================== */
.logo-slider {
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 16px 0;       /* 10px Figma padding + optical balance */
}

.logo-track {
    display: flex;
    width: max-content;
    animation: logo-marquee 32s linear infinite;  /* 10s/slide in Figma */
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 64px;
    padding-right: 64px;
    flex-shrink: 0;
}

.logo-group img {
    flex-shrink: 0;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-group img:hover { filter: grayscale(0); opacity: 1; }

@keyframes logo-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-slider:hover .logo-track { animation-play-state: paused; }

/* Soft white fades on the edges of the strip */
.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 110px;
    z-index: 2;
    pointer-events: none;
}
.logo-slider::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(255,255,255,0)); }
.logo-slider::after  { right: 0; background: linear-gradient(270deg, var(--white), rgba(255,255,255,0)); }

/* ==========================================================================
   OUR SERVICES — Figma 348:2212 (1440 x 979, white)
   ========================================================================== */
.services {
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 80px 0 96px;  /* heading starts 80px into the 979px section */
}

/* Group 3 — #007BFF + #00CED1 fields, ~1000px group blur.
   Sampled off Figma 348:2212: the wash is very faint — peak alpha is only
   ~0.065 at the top-right corner (#F0F7FF over white) and ~0.075 at the
   bottom-left (#ECFBFB), fading to nothing by the centre. */
.services-blur { position: absolute; pointer-events: none; }

.services-blur--blue {                       /* 348:2214 — 626x568, rotated */
    top: -160px;
    right: -120px;
    width: 1500px;
    height: 1000px;
    background: radial-gradient(ellipse at center,
                rgba(0, 123, 255, 0.065) 0%,
                rgba(0, 123, 255, 0) 72%);
}

.services-blur--teal {                       /* 348:2215 — 626x645 #00CED1 */
    bottom: -220px;
    left: -140px;
    width: 1500px;
    height: 1000px;
    background: radial-gradient(ellipse at center,
                rgba(0, 206, 209, 0.075) 0%,
                rgba(0, 206, 209, 0) 72%);
}

.services-inner {
    position: relative;
    z-index: 1;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.services-head { max-width: 776px; }

/* 348:2218 "WHAT WE DO" — Noto Serif 500 24px, UPPER, ls 1.2px, #3A3A3A */
.eyebrow {
    display: block;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.36;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gray);
}

/* 348:2219 — Noto Serif 400 48/57.6, #000, 10px below the eyebrow */
.section-title {
    margin-top: 10px;
    max-width: 776px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 48px;
    line-height: 57.6px;
    color: var(--ink);
}

/* 348:2220 — three 380px cards, 41px gutters, 63px below the heading */
.services-grid {
    margin-top: 63px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 41px;
}

/* 417:2569 — white, 1px #E5E5E5 stroke, 20px radius, 20/20/30 padding */
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px 20px 30px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(18, 32, 95, 0.12);
}

/* 417:2570 — 338x219 media window, 15px radius, #E9E9E9 fill */
.service-media {
    border-radius: 15px;
    overflow: hidden;
    background: var(--chip);
    aspect-ratio: 338 / 219;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 30px between media and copy, 50px between copy and button */
.service-body {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    flex: 1;
}

.service-text { flex: 1; }

/* 417:2574 — Noto Serif 700 20/27.24 #000 · 417:2576 — 400 18/24.51 #3A3A3A */
.service-text h3 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 27.24px;
    color: var(--ink);
}

.service-text p {
    margin-top: 12px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 24.51px;
    color: var(--gray);
}

.service-action { display: flex; }

/* 417:2949 "Learn More" — white pill, 0.5px black stroke, Manrope 700 16px */
.btn-learn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    height: 45px;
    padding: 0 22.29px;
    background: var(--white);
    border: 0.5px solid var(--ink);
    border-radius: 100px;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: var(--ink);
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-learn:hover { background: var(--ink); color: var(--white); }

/* ==========================================================================
   STATS — Figma 348:4288 (1440 x 181, four #12205F cards)
   ========================================================================== */
.stats {
    background: var(--white);
    padding: 3px 0 2px;     /* cards sit 3px into the 181px band */
}

.stats-row {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px;             /* itemSpacing 23 in 348:4291 */
}

/* 348:4292 — #12205F, 16px radius, 28/32 padding, 176px tall */
.stat-card {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    background: var(--navy);
    border-radius: 16px;
    padding: 32px 28px;
}

/* 348:4294 — Noto Serif 700 56/56, ls -2.24px, #FFFFFF */
.stat-num {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 56px;
    line-height: 56px;
    letter-spacing: -2.24px;
    color: var(--white);
}

/* 417:2603 — Noto Serif 400 18/21.75, #FFFFFF (0.78 opacity on cards 2-4) */
.stat-label {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 21.75px;
    color: var(--white);
}

.stat-label--dim { opacity: 0.78; }

/* ==========================================================================
   WHO WE WORK WITH — Figma 348:4361 (1440 x 744, card #0D1744)
   ========================================================================== */
.who {
    position: relative;
    background: var(--white);
    padding: 20px var(--pad) 66px;   /* headroom above the card for the nurse cutout */
}

/* 348:4364 — 1222 x 613.5, radius 37.3px, #0D1744 */
.who-card {
    position: relative;
    max-width: 1222px;
    min-height: 613px;
    margin: 80px auto 0;             /* generous top margin: room for the nurse's head */
    display: flex;
    align-items: center;
    padding: 0 56px;                 /* copy frame sits 56px inside 348:4366 */
    background: var(--navy-deep);
    border-radius: 37.3px;
    overflow: visible;               /* was hidden — the cutout must break the top edge */
}

.who-content {
    position: relative;
    z-index: 3;                      /* copy renders above the nurse cutout */
    max-width: 672px;
}

/* 348:4367 — #9AE2D4 pill, 42px tall, 16.58px padding, Noto Serif 16.58px */
.who-badge {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 16.58px;
    background: var(--mint);
    color: var(--ink);
    border-radius: 100px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 16.58px;
    line-height: 1;
}

/* 348:4370 — Noto Serif 400 60/72, #FFFFFF, 24.88px below the badge */
.who-title {
    margin-top: 32px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 60px;
    line-height: 72px;
    color: var(--white);
}

/* style override "1" on 348:4371 — #A899F4 */
.who-accent { color: var(--lavender); }

/* Each sentence on its own line so wrapping matches Figma exactly */
.who-sentence { display: block; }

/* 348:4372 — Noto Serif 400 18/27, #F5F8FE, 30px below the heading */
.who-text {
    margin-top: 36px;
    max-width: 640px;                /* wraps at 'researchers,' and 'findings' */
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: var(--milk);
}

/* 348:4374 — nurse cutout 973x653 anchored 397px into the card.
   The wrap is pinned to the card box (top 80px / height 613px) but no longer
   clips the top, so the head rises 65px above the navy card while the body
   stays flush with the card's bottom edge. Only the bottom corners keep the
   card radius (negative top inset lets the head overflow upward). */
.who-photo-wrap {
    position: absolute;
    top: 0;                          /* aligns with the card's top edge */
    bottom: 0;                       /* aligns with the card's bottom edge */
    left: 0;
    right: 0;
    overflow: visible;
    border-radius: 37.3px;
    clip-path: inset(-200px 0 0 0 round 0 0 37.3px 37.3px);
    pointer-events: none;
    z-index: 2;
}

.who-photo {
    position: absolute;
    bottom: 0;
    right: -148px;
    width: 973px;
    height: calc(100% + 65px);       /* stretches to hit the bottom and overhang the top */
    object-fit: cover;
    object-position: bottom center;
}

/* ==========================================================================
   CONTACT — Figma 439:2679 (1440 x 662, bg #F2F2F2)
   ========================================================================== */
.contact {
    background: var(--paper);
    padding: 68px 0 62px;
}

.contact-inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* 439:2711 — Noto Serif 400 48/57.6, gradient #474747 -> #222222 */
.contact-title {
    flex: 0 0 auto;
    font-size: clamp(34px, 3.2vw, 48px);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 57.6px;
    color: #222222;
    background: linear-gradient(215deg, #474747 0%, #222222 42%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .contact-title { background: none; -webkit-text-fill-color: currentColor; }
}

/* 439:2680 — 684px card, 20px radius, 40px pad.
   Gradient sampled off Figma 439:2679: top-right #2A469B, #12205F reached on
   an iso-line (718,200) -> (1382,300) => 188.6deg axis, navy at 45%. */
.contact-form {
    flex: 0 0 540px;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 28.96px;                    /* itemSpacing 28.96 in 439:2681 */
    background: linear-gradient(188.6deg, #2A469B 0%, #12205F 45%);
    border-radius: 20px;
    padding: 40px;
}

.form-success {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9.65px;
    padding: 12px 16px;
    font-family: var(--serif);
    font-size: 15.45px;
    line-height: 21px;
    color: var(--white);
}

/* 439:2684 — two 287px fields per row, 30px apart */
.form-row {
    display: flex;
    gap: 30px;
}

.form-field { flex: 1; min-width: 0; }

/* 439:2684 — Noto Serif 400 15.45/21.03, #FFFFFF, 4.83px above the input */
.contact-form label {
    display: block;
    margin-bottom: 4.83px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 15.45px;
    line-height: 21.03px;
    color: var(--white);
}

/* 439:2685 — white fill, 9.65px radius, 9.65/19.31 padding */
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--white);
    border: 0;
    border-radius: 9.65px;
    padding: 9.65px 19.31px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 15.45px;
    line-height: 21.03px;
    color: var(--ink);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray-light); }

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--teal);
    outline-offset: 1px;
}

/* 439:2705 — 153.5px tall message box */
.contact-form textarea {
    min-height: 153px;
    resize: vertical;
}

/* 439:2699 — #E9E9E9 "+1" prefix chip, 9.65px radius */
.phone-input {
    display: flex;
    gap: 9.65px;
}

.phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 4.83px;
    padding: 0 4.83px;
    background: var(--chip);
    border-radius: 9.65px;
    color: var(--gray);
    font-family: var(--serif);
    font-weight: 400;
    font-size: 15.45px;
    flex-shrink: 0;
}

.phone-input input { flex: 1; min-width: 0; }

/* 439:2707 — 53px tall pill, white "Submit".
   Gradient sampled off Figma 439:2679: the 126x53 pill only spans the middle
   of the brand ramp, so the visible ends are #0186F9 -> #01B8DA on a 128deg
   axis (G rises 0.30/px across, 0.24/px down). */
.btn-submit {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 53px;
    padding: 0 20px;
    background: #1F1B5D;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    color: var(--white);
    border-radius: 100px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 15.45px;
    line-height: 1;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ==========================================================================
   FOOTER — Figma 477:13607 (1440 x 351, gradient #436FDD -> #12205F)
   ========================================================================== */
.footer {
    background: var(--grad-brand);
    padding: 36px 0 32px;
}

.footer-inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    justify-content: space-between;
    gap: 100px;                      /* itemSpacing 100 in 477:13609 */
}

.footer-brand { max-width: 768px; }
.footer-lockup { height: 68px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; display: block; margin-left: 0; }

/* 477:13612 — logo mark, 1.12px white rule, 24.64px gap */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 24.64px;
}

.footer-logo {
    width: 96px;
    height: 100px;
    flex-shrink: 0;
}

.footer-divider {
    width: 1.12px;
    height: 98.78px;
    background: var(--white);
    flex-shrink: 0;
}

/* 477:13615 — Noto Serif 400 39.65/54, #FFFFFF */
.footer-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 39.65px;
    line-height: 54px;
    color: var(--white);
}

/* 477:13616 — DM Sans 400 16/28, #FFFFFF, 46px below the lockup */
.footer-copy {
    margin-top: 20px;
    font-family: var(--dsans);
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: var(--white);
}

/* 477:13617 — two link columns, 103px apart */
.footer-links {
    display: flex;
    gap: 103px;
    flex-shrink: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

/* 477:13619 "Home" — Manrope 700 18.58/25.38 */
.footer-heading {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 18.58px;
    line-height: 25.38px;
    color: var(--white);
}

/* 477:13620 — Manrope 400 16.52/22.56 */
.footer-link {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16.52px;
    line-height: 22.56px;
    color: var(--white);
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.footer-link:hover { opacity: 1; text-decoration: underline; }

/* 477:13629 — 31px #2387C0 circle with the Font Awesome linkedin glyph */
.footer-social {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--social);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.footer-social:hover { transform: translateY(-2px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
.desktop-br { display: inline; }

@media (min-width: 901px) {
    .contact-title { white-space: nowrap; }
}

@media (max-width: 900px) {
    .desktop-br { display: none; }
}

@media (max-width: 1220px) {
    .contact-inner { flex-direction: column; align-items: flex-start; gap: 40px; }
    .contact-form  { flex-basis: auto; width: 100%; max-width: 684px; }
    .footer-inner  { flex-wrap: wrap; gap: 56px; }
}

@media (max-width: 1024px) {

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

    .who-card  { padding: 56px 32px; min-height: 520px; }
    .who-title { font-size: 48px; line-height: 58px; }
    /* keep the cutout flush with the shorter card + 65px head overhang */
    .who-photo-wrap { height: 520px; }
    .who-photo      { height: 585px; }
}

@media (max-width: 860px) {
    /* Full-bleed mobile section touching left/right screen edges with desktop cutout layering */
    .who {
        padding: 32px 0 66px;
        overflow-x: clip;
    }
    .who-card {
        max-width: 100%;
        width: 100%;
        min-height: 540px;
        margin-top: 64px;
        padding: 48px 24px;
        border-radius: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        overflow: visible;
    }
    .who-content {
        position: relative;
        z-index: 3;
        max-width: 100%;
        text-shadow: 0 2px 14px rgba(13, 23, 68, 0.85);
    }
    .who-photo-wrap {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        clip-path: inset(-200px 0 0 0);
        overflow: visible;
        pointer-events: none;
        z-index: 1;
    }
    .who-photo {
        position: absolute;
        bottom: 0;
        right: -255px;
        width: auto;
        max-width: none;
        height: calc(100% + 55px);
        object-fit: contain;
        object-position: bottom right;
    }
}

@media (max-width: 720px) {
    .hero { padding-top: 140px; padding-bottom: 72px; }
    .hero-inner { padding-inline: 24px; }
    .hero-title { font-size: 40px; line-height: 48px; }
    .hero-sub   { font-size: 19px; line-height: 29px; max-width: 100%; }
    .hero-actions { margin-top: 28px; gap: 12px; }
    .hero-actions .btn { width: auto; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .stats         { width: 100%; padding: 16px 0; }
    .stats-row     { width: 100%; max-width: 100%; box-sizing: border-box; padding-inline: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stat-card     { min-width: 0; min-height: 132px; padding: 20px 14px; border-radius: 14px; gap: 8px; }
    .stat-num      { font-size: 36px; line-height: 40px; letter-spacing: -1.2px; }
    .stat-label    { font-size: 14.5px; line-height: 19px; }

    .who-title { font-size: 38px; line-height: 47px; }
    .who-text  { font-size: 17px; }
    .who-photo { right: -265px; }

    .contact-title { font-size: 36px; line-height: 44px; }
    .contact-form  { padding: 28px; gap: 24px; }
    .form-row      { flex-direction: column; gap: 24px; }
    .btn-submit    { align-self: stretch; justify-content: center; }

    .footer { padding: 28px 0 24px; }
    .footer-lockup { height: 48px; width: auto; max-width: 100%; object-position: left center; }
    .footer-copy { margin-top: 14px; }
    .footer-inner   { flex-direction: column; gap: 28px; }
    .footer-name    { font-size: 28px; line-height: 38px; }
    .footer-links   { gap: 48px; }
    .footer-divider { height: 60px; }
}

/* ---------- Motion preferences --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .logo-track { animation: none; }
    .btn, .btn-learn, .btn-submit, .nav-cta, .footer-link,
    .icon-arrow, .nav-toggle span, .service-card { transition: none; }
    .service-card:hover { transform: none; }
}

/* ==========================================================================
   ABOUT US PAGE — Figma 183:31767 (1440 x 4264)
   ========================================================================== */

/* Page frame fill (verbatim from Figma 183:31767) */
body.page-about {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1.0) 0%, rgba(239, 251, 254, 1.0) 100%);
}

body.page-about .about-hero {
    min-height: 250px;
    padding-top: 64px;
}

/* ---------- About hero — 183:31769 (1440 x 516, #12205F) ----------------- */
/* Figma fill (verbatim): #12205F — solid, no gradient on the hero band.
   Page frame 183:31767 fill: linear-gradient(135deg, rgba(255,255,255,1.0) 0%,
   rgba(239,251,254,1.0) 100%) — applied on body.page-about below. */
.about-hero {
    position: relative;
    overflow: hidden;
    background: #12205f;
    min-height: 516px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

/* Rectangle 5 — #007BFF 626x568, blur 375 (183:31770) */
.about-hero-blur {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.about-hero-blur--blue {
    top: -180px;
    left: -140px;
    width: 900px;
    height: 820px;
    background: radial-gradient(ellipse at center,
                rgba(0, 123, 255, 0.55) 0%,
                rgba(0, 123, 255, 0) 68%);
}

/* Rectangle 4 — #00CED1 626x645, blur 165 (183:31771) */
.about-hero-blur--teal {
    bottom: -260px;
    left: -120px;
    width: 860px;
    height: 800px;
    background: radial-gradient(ellipse at center,
                rgba(0, 206, 209, 0.42) 0%,
                rgba(0, 206, 209, 0) 68%);
}

/* Vector — #122785 396x364 (348:6565) */
.about-hero-blur--deep {
    top: -60px;
    right: -80px;
    width: 620px;
    height: 560px;
    background: radial-gradient(ellipse at center,
                rgba(18, 39, 133, 0.9) 0%,
                rgba(18, 39, 133, 0) 70%);
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 0 0 140px;
}

/* 183:31773 — Manrope 800 171.43 / 123 (line-height 0.72), #FFFFFF, 770x123 */
.about-hero-title {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(64px, 11.9vw, 171.43px);
    line-height: 0.72;
    letter-spacing: 0;
    color: #ffffff;
    white-space: nowrap;
}

.about-hero--contact { min-height: 250px; padding-top: 64px; }

/* ---------- Purpose sections — 183:31779 / 183:31798 (582, #F6F6F6) ----- */
.purpose {
    position: relative;
    overflow: hidden;
    background: #F6F6F6;
    padding: 0;
}

.purpose-blur { position: absolute; pointer-events: none; z-index: 0; }

.purpose--text-left .purpose-blur--blue { top: -180px; left: -140px; width: 780px; height: 720px; background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.16) 0%, rgba(0, 123, 255, 0) 70%); }
.purpose--text-left .purpose-blur--teal { bottom: -200px; left: 60px; width: 760px; height: 700px; background: radial-gradient(ellipse at center, rgba(0, 206, 209, 0.16) 0%, rgba(0, 206, 209, 0) 70%); }
.purpose--text-right .purpose-blur--blue { top: -180px; right: -140px; width: 780px; height: 720px; background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.16) 0%, rgba(0, 123, 255, 0) 70%); }
.purpose--text-right .purpose-blur--teal { bottom: -200px; right: 60px; width: 760px; height: 700px; background: radial-gradient(ellipse at center, rgba(0, 206, 209, 0.16) 0%, rgba(0, 206, 209, 0) 70%); }

.purpose-inner {
    position: relative;
    z-index: 1;
    max-width: var(--shell);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 126px;
    min-height: 440px;
}

/* Text column — 651 wide, 140px inset (183:31783 / 183:31804) */
.purpose-copy {
    flex: 0 0 651px;
    max-width: 651px;
    padding-left: 140px;
}

.purpose--text-left .purpose-inner { gap: 126px; }

.purpose--text-right .purpose-inner { gap: 110px; }

.purpose--text-right .purpose-copy {
    flex: 0 0 667px;
    max-width: 667px;
    padding-left: 0;
    padding-right: 156px;
}

/* 183:31784 — Noto Serif 400 60/72, #000000 */
.purpose-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 60px;
    line-height: 72px;
    color: var(--ink);
}

/* 183:31785 — Noto Serif 400 22/29.96, #000000, 43px below the title */
.purpose-text {
    margin-top: 43px;
    max-width: 511px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 29.96px;
    color: var(--ink);
}

/* Media column — 663 x 582 white frame (183:31786 / 183:31801) */
.purpose-media {
    flex: 0 0 663px;
    max-width: 663px;
    height: 440px;
    background: var(--white);
    overflow: hidden;
}

.purpose-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ---------- Core values — 183:31817 (1440 x 557, #F6F6F6) --------------- */
.values {
    position: relative;
    overflow: hidden;
    background: #F6F6F6;
    padding: 80px 0 80px;
}

.values-blur { position: absolute; pointer-events: none; z-index: 0; }

.values-blur--blue {
    top: -200px;
    right: -160px;
    width: 720px;
    height: 660px;
    background: radial-gradient(ellipse at center,
                rgba(0, 123, 255, 0.14) 0%,
                rgba(0, 123, 255, 0) 70%);
}

.values-blur--teal {
    bottom: -220px;
    left: -140px;
    width: 760px;
    height: 700px;
    background: radial-gradient(ellipse at center,
                rgba(0, 206, 209, 0.14) 0%,
                rgba(0, 206, 209, 0) 70%);
}

.values-inner {
    position: relative;
    z-index: 1;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 109px;
}

/* 183:31823 — Noto Serif 400 60/72, #000000 */
.values-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 60px;
    line-height: 72px;
    color: var(--ink);
}

/* 183:31824 — three 380px cards, 41px gutters, 36px below the heading */
.values-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 41px;
}

.value-card { display: flex; flex-direction: column; }

/* 183:31826 — icon + label row, 10px padding, 10px gap */
.value-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.value-icon { color: var(--blue); flex-shrink: 0; }

/* 183:31828 — Noto Serif 400 28/38.13, #000000 */
.value-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 28px;
    line-height: 38.13px;
    color: var(--ink);
}

/* 183:31830 — Noto Serif 400 22/29.96, #3A3A3A */
.value-text {
    padding: 10px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 29.96px;
    color: var(--gray);
}

/* ---------- Meet our Team — 461:12615 (1440 x 671, #12205F) -------------- */
.team {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    padding: 52px 0 56px;
}

/* image 25 — full-bleed photo, COLOR_DODGE blend (461:12645) */
.team-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: color-dodge;
    opacity: 0.35;
    z-index: 0;
}

.team-blur { position: absolute; pointer-events: none; z-index: 1; }

.team-blur--blue {
    top: -200px;
    left: -160px;
    width: 820px;
    height: 760px;
    background: radial-gradient(ellipse at center,
                rgba(0, 123, 255, 0.35) 0%,
                rgba(0, 123, 255, 0) 70%);
}

.team-blur--teal {
    bottom: -240px;
    left: -140px;
    width: 780px;
    height: 720px;
    background: radial-gradient(ellipse at center,
                rgba(0, 206, 209, 0.28) 0%,
                rgba(0, 206, 209, 0) 70%);
}

.team-inner {
    position: relative;
    z-index: 2;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 109px;
}

/* 461:12649 — Noto Serif 400 60/72, #FFFFFF; "Team" italic #00CED1 */
.team-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 60px;
    line-height: 72px;
    color: var(--white);
    text-align: center;
}

.team-title-accent {
    font-style: italic;
    color: var(--teal);
}

/* 477:13043 — four 241x381 cards, 20.6px gap, centred */
.team-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 241px);
    justify-content: center;
    gap: 20.61px;
}

/* 477:13044 — #000026, radius 20.36, clipped */
.team-card {
    position: relative;
    height: 310px;
    border-radius: 20.36px;
    overflow: hidden;
    background: #000026;
    isolation: isolate;
}

/* Ellipse 5 — #A899F4 @87%, blur 203 */
.team-card::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 297px;
    height: 297px;
    border-radius: 50%;
    background: rgba(168, 153, 244, 0.87);
    filter: blur(90px);
    z-index: 0;
}

.team-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Rectangle 8 — transparent 50% -> rgba(0,0,0,.8) 78% */
.team-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 210px;
    background: linear-gradient(180deg,
                rgba(0, 0, 0, 0) 50%,
                rgba(0, 0, 0, 0.8) 78%);
    z-index: 2;
    pointer-events: none;
}

.team-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 0 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 13.24px;
}

/* 461:12669 — Noto Serif 400 18.33/21.99, #FFFFFF */
.team-name {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18.33px;
    line-height: 21.99px;
    color: var(--white);
}

/* 461:12670 — Noto Serif 400 12.22/14.66, #FFFFFF */
.team-role {
    margin-top: 10.18px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 12.22px;
    line-height: 14.66px;
    color: var(--white);
}

/* 461:12671 — Noto Serif 400 10.18/12.22, #00CED1 */
.team-affil {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 10.18px;
    line-height: 12.22px;
    color: var(--teal);
}

/* 477:13082 — prev/next chevrons, 1440 x 56, 10px pad, 109px inset */
.team-nav {
    position: absolute;
    left: 109px;
    right: 109px;
    top: calc(72px + 36px + 155px);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 4;
}

.team-nav-btn {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 100px;
    background: #FFFFFF;
    color: #12205F;
    box-shadow: 0 6px 20px rgba(0, 0, 38, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.team-nav-btn svg { display: block; }

.team-nav-btn:hover { transform: scale(1.08); }

.team-nav-btn:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

.team-nav-btn[disabled] {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

/* ---------- Gallery — 477:13165 (1440 x 1005, #F6F6F6) ------------------ */
.gallery {
    position: relative;
    overflow: hidden;
    background: #F6F6F6;
    padding: 52px 0 56px;
}

.gallery-blur { position: absolute; pointer-events: none; z-index: 0; }

.gallery-blur--blue {
    top: -200px;
    right: -180px;
    width: 740px;
    height: 680px;
    background: radial-gradient(ellipse at center,
                rgba(0, 123, 255, 0.14) 0%,
                rgba(0, 123, 255, 0) 70%);
}

.gallery-blur--teal {
    bottom: -240px;
    left: -160px;
    width: 780px;
    height: 720px;
    background: radial-gradient(ellipse at center,
                rgba(0, 206, 209, 0.14) 0%,
                rgba(0, 206, 209, 0) 70%);
}

.gallery-inner {
    position: relative;
    z-index: 1;
    max-width: 1223px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-head { display: flex; align-items: center; justify-content: center; text-align: center; }
.gallery-title { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 57.6px; color: var(--blue); letter-spacing: 0.02em; text-align: center; }
.gallery-footer { margin-top: 36px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gallery-arrow-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 100px; background: #007BFF; color: #FFFFFF; cursor: pointer; transition: transform 0.2s ease, opacity 0.2s ease; }
.gallery-arrow-btn:hover { transform: scale(1.08); }
.gallery-pager { display: flex; align-items: center; gap: 19px; }
.gallery-dot { width: 33px; height: 33px; display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; background: transparent; color: var(--gray); font-family: var(--serif); font-size: 18px; line-height: 24.51px; }
.gallery-dot.is-active { background: var(--blue); color: var(--white); }
.gallery-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 29px; }
.gallery-item { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumb { position: relative; width: 100%; height: 175px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.gallery-item img { width: 100%; height: 175px; object-fit: cover; border-radius: 12px; background: var(--ink); transition: transform 0.3s ease; }
.gallery-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 100px; background: rgba(255, 255, 255, 0.78); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); pointer-events: none; }
.gallery-play svg { margin-left: 2px; }

.gallery-item:hover img { transform: scale(1.02); }

/* 477:13191 — title Noto Serif 400 22/30 #3A3A3A, date 500 14.89/20 #939393 */
.gallery-item figcaption {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gallery-item-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    color: var(--gray);
}

.gallery-item-date {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 14.89px;
    line-height: 20px;
    color: #939393;
}

/* ---------- Page CTA strip ---------------------------------------------- */
.page-cta {
    background: var(--navy);
    padding: 72px 0;
}

.page-cta-inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-cta-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 40px;
    line-height: 52px;
    color: var(--white);
    max-width: 720px;
}

/* ---------- Contact page details ---------------------------------------- */
body.page-contact .contact {
    background: radial-gradient(circle at 22% 78%, rgba(212, 241, 253, 0.72) 0%, rgba(235, 249, 255, 0.45) 42%, rgba(255, 255, 255, 1) 78%),
                linear-gradient(160deg, #ffffff 0%, #ffffff 45%, #eaf8fe 100%);
}

.contact-details {
    background: var(--white);
    padding: 64px 0 80px;
}

body.page-contact .contact-details {
    background: radial-gradient(circle at 78% 75%, rgba(212, 241, 253, 0.65) 0%, rgba(235, 249, 255, 0.40) 42%, rgba(255, 255, 255, 1) 78%),
                linear-gradient(160deg, #ffffff 0%, #ffffff 45%, #eaf8fe 100%);
}

body.page-contact .contact-detail {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.contact-details-inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 41px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.contact-detail-label {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-light);
}

.contact-detail-value {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
    color: var(--navy);
}

a.contact-detail-value:hover { color: var(--blue); }

/* ==========================================================================
   RESPONSIVE — About / Contact pages
   ========================================================================== */
@media (max-width: 1220px) {
    .purpose-inner,
    .purpose--text-right .purpose-inner { gap: 56px; }

    .purpose-copy,
    .purpose--text-right .purpose-copy {
        flex: 1 1 50%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .purpose-media { flex: 1 1 50%; max-width: none; height: 360px; }
    .purpose-inner { min-height: 0; padding: 72px var(--pad); }

    .values-inner,
    .team-inner { padding: 0 var(--pad); }
    .team-nav { left: var(--pad); right: var(--pad); top: 55%; }

    .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .team-card { height: auto; aspect-ratio: 241 / 381; }

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

@media (max-width: 1024px) {
    .about-hero-inner { padding-left: var(--pad); }
    .about-hero { min-height: 420px; }
    body.page-about .about-hero,
    .about-hero--contact { min-height: 220px; padding-top: 56px; }

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

    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .team-card { aspect-ratio: 241 / 381; }

    .page-cta-title { font-size: 32px; line-height: 42px; }
}

@media (max-width: 860px) {
    .purpose-inner,
    .purpose--text-right .purpose-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 56px var(--pad);
    }

    /* Keep the copy above the image on both variants */
    .purpose--text-right .purpose-media { order: 2; }
    .purpose--text-right .purpose-copy  { order: 1; }

    .purpose-media { height: 280px; }
    .purpose-title { font-size: 44px; line-height: 54px; }
    .purpose-text  { font-size: 19px; line-height: 28px; margin-top: 24px; }

    .values-title { font-size: 44px; line-height: 54px; }
    .values-grid  { grid-template-columns: 1fr; gap: 32px; }
    .value-text   { font-size: 19px; line-height: 28px; }

    .team-title { font-size: 44px; line-height: 54px; }
    .gallery-title { font-size: 38px; line-height: 46px; }

    .contact-details-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .about-hero { min-height: 320px; padding: 0; }
    body.page-about .about-hero { min-height: 180px; padding-top: 48px; }
    .about-hero-title { font-size: clamp(48px, 15vw, 96px); }
    .about-hero--contact { min-height: 180px; padding-top: 48px; }

    .purpose-title { font-size: 36px; line-height: 46px; }
    .purpose-media { height: 220px; }

    .values-title { font-size: 36px; line-height: 46px; }
    .value-name   { font-size: 24px; line-height: 32px; }

    .team-grid { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 320px; margin-left: auto; margin-right: auto; gap: 16px; padding-bottom: 4px; }
    .team-grid::-webkit-scrollbar { display: none; }
    .team-card { flex: 0 0 100%; width: 100%; min-width: 0; height: auto; aspect-ratio: 241 / 360; scroll-snap-align: center; border-radius: 18px; }
    .team-title { font-size: 36px; line-height: 46px; }
    .team-nav { position: static; transform: none; margin-top: 28px; justify-content: center; gap: 24px; }

    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .gallery-item { gap: 7px; min-width: 0; }
    .gallery-item img { height: 124px; border-radius: 10px; }
    .gallery-item-title { font-size: 15px; line-height: 20px; }
    .gallery-item-date { font-size: 12.5px; line-height: 16px; }
    .gallery-head { justify-content: flex-start; }

    .page-cta { padding: 48px 0; }
    .page-cta-title { font-size: 26px; line-height: 36px; }
    .page-cta-inner .btn { width: 100%; justify-content: center; }

    .contact-details { padding: 40px 0 56px; }
    .contact-detail-value { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item img { transition: none; }
    .gallery-item:hover img { transform: none; }
}

/* ==========================================================================
   Services overview (Figma 461:7272 — 1440x1009)
   ========================================================================== */
.services {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: 96px 0 104px;
}

.services-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.services-blob {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.26;
}

.services-blob--blue {
    width: 626px;
    height: 568px;
    background: #007bff;
    top: -150px;
    left: -190px;
}

.services-blob--teal {
    width: 626px;
    height: 645px;
    background: #00ced1;
    bottom: -240px;
    right: -210px;
}

.services-inner {
    position: relative;
    z-index: 1;
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 63px;
}

.services-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 776px;
}

.services-eyebrow {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.36;
    color: #3a3a3a;
}

.services-title {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 41px;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 20px 30px;
    box-shadow: 0 18px 44px rgba(16, 32, 74, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(16, 32, 74, 0.14);
}

.service-card-media {
    height: 219px;
    border-radius: 15px;
    overflow: hidden;
    background: #e9e9e9;
}

.service-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.service-card-title {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.36;
    color: #000000;
}

.service-card-text {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.36;
    color: #3a3a3a;
}

.service-card-cta {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    border-radius: 74px;
    background: #ffffff;
    border: 1px solid #e3e6ee;
    color: #000000;
    font-family: "Manrope", system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-card-cta:hover,
.service-card-cta:focus-visible {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
}

@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (max-width: 760px) {
    .services {
        padding: 64px 0 72px;
    }

    .services-inner {
        gap: 40px;
    }

    .services-title {
        font-size: 34px;
    }

    .services-eyebrow {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Systematic Reviews & Meta-Analysis detail page (Figma 140:27795)
   ========================================================================== */
.sr-hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: 168px 0 96px;
}

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

.sr-blob--blue {
    width: 626px;
    height: 568px;
    background: #007bff;
    top: -140px;
    left: -180px;
}

.sr-blob--teal {
    width: 626px;
    height: 645px;
    background: #00ced1;
    bottom: -260px;
    right: -200px;
}

.sr-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.sr-hero-copy {
    flex: 0 0 593px;
    display: flex;
    flex-direction: column;
    gap: 43px;
}

.sr-hero-title {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 72px;
    color: #000000;
}

.sr-hero-text {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 29.96px;
    color: #000000;
}

.sr-hero-media {
    flex: 1 1 593px;
    height: 488px;
    border-radius: 20px;
    overflow: hidden;
    background: #010155;
}

.sr-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Value & Impact ----- */
.sr-value {
    background: #ffffff;
    padding: 96px 0;
}

.sr-value-inner {
    max-width: 1227px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 42px;
}

.sr-value-copy {
    flex: 0 0 650px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sr-value-lead {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 29.96px;
    color: #3a3a3a;
}

.sr-stats {
    display: flex;
    gap: 68px;
}

.sr-stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sr-stat--value {
    flex: 0 0 254px;
}

.sr-stat--impact {
    flex: 0 0 328px;
}

.sr-stat-head {
    display: flex;
    align-items: center;
    gap: 28px;
}

.sr-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #007bff;
    flex: 0 0 32px;
}

.sr-stat-icon svg {
    width: 22px;
    height: 22px;
}

.sr-stat-name {
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 38.4px;
    color: #007bff;
}

.sr-stat-text {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 29.96px;
    color: #3a3a3a;
}

.sr-value-media {
    flex: 1 1 535px;
    height: 526px;
    border-radius: 20px;
    overflow: hidden;
    background: #3a3a3a;
}

.sr-value-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Combining the Evidence ----- */
.sr-combine {
    background: #ffffff;
    padding: 0 0 110px;
}

.sr-combine-inner {
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 19px;
}

.sr-combine-media {
    position: relative;
    flex: 0 0 692px;
    height: 564px;
    border-radius: 16px;
    overflow: hidden;
    background: #e9e9e9;
}

.sr-combine-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sr-combine-accent {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 69px;
    height: 71px;
    background: #a899f4;
    border-radius: 50% 50% 50% 8px;
}

.sr-combine-copy {
    flex: 1 1 511px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sr-combine-title {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 65.37px;
    color: #000000;
}

.sr-combine-text {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 29.96px;
    color: #000000;
}

@media (max-width: 1180px) {
    .sr-hero-inner,
    .sr-value-inner,
    .sr-combine-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .sr-hero-copy,
    .sr-value-copy,
    .sr-combine-copy {
        flex: 1 1 auto;
    }

    .sr-hero-media,
    .sr-value-media,
    .sr-combine-media {
        flex: 1 1 auto;
        height: 420px;
    }

    .sr-hero-title {
        font-size: 48px;
        line-height: 58px;
    }

    .sr-combine-title {
        font-size: 38px;
        line-height: 50px;
    }
}

@media (max-width: 760px) {
    .sr-hero {
        padding: 132px 0 64px;
    }

    .sr-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .sr-hero-text,
    .sr-value-lead,
    .sr-stat-text,
    .sr-combine-text {
        font-size: 18px;
        line-height: 26px;
    }

    .sr-stats {
        flex-direction: column;
        gap: 32px;
    }

    .sr-stat--value,
    .sr-stat--impact {
        flex: 1 1 auto;
    }

    .sr-stat-name {
        font-size: 26px;
        line-height: 32px;
    }

    .sr-combine-title {
        font-size: 30px;
        line-height: 40px;
    }

    .sr-hero-media,
    .sr-value-media,
    .sr-combine-media {
        height: 300px;
    }

    .sr-value {
        padding: 64px 0;
    }

    .sr-combine {
        padding: 0 0 72px;
    }
}

/* ---- Footer: exact Page 2 lockup + gradient ----
   Sampled off Figma 477:13607 (1440x351): the frame shows only the tail of
   the brand ramp. Top-right corner = #2A469B, and #12205F is reached on an
   iso-line running (0,87) -> (1440,175), i.e. a 183.5deg axis. */
.footer {
    background: linear-gradient(183.5deg, #2A469B 0%, #12205F 42%);
}

.footer-lockup {
    display: block;
    width: 768px;
    max-width: 100%;
    height: auto;
}

.footer-logo-row,
.footer-logo,
.footer-divider,
.footer-name { display: none; }

.footer-copy { margin-top: 46px; }

/* ---- Responsive re-assertions (must follow the base breakpoints) ---- */
@media (max-width: 1220px) {
    .nav-inner { padding: 0 32px; }
    .nav-links { gap: 4px; }
    .nav-link  { padding: 0 14px; font-size: 16px; }
    .nav-cta   { font-size: 16px; padding: 0 16px; }
    .footer-lockup { width: 100%; }
}

@media (max-width: 1024px) {
}

/* ==========================================================================
   HERO SLIDER — 3 Page 2 hero images
   figma_348_3794.png · figma_348_3824.png · figma_348_3827.png
   Smooth horizontal slide + crossfade, driven by static/js/main.js
   ========================================================================== */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--navy);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translate3d(4%, 0, 0) scale(1.06);
    transition: opacity 1.15s ease-in-out,
                transform 7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 1;
}

/* the <img> keeps the original .hero-bg fill behaviour */
.hero-slide .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ---------- readability overlay (left -> right) ----------
   Clean, simple left-to-right scrim so the headline stays legible over the
   photo while the right side of the frame keeps the image visible. */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
                rgba(11, 25, 64, 0.78) 0%,
                rgba(11, 25, 64, 0.35) 55%,
                rgba(11, 25, 64, 0.1) 100%);
}

/* ---------- dots ---------- */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.7); transform: scale(1.15); }

.hero-dot.is-active {
    width: 14px;
    height: 14px;
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.hero-dot:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

/* ---------- arrow controls ---------- */
.hero-arrows {
    position: absolute;
    right: 48px;
    bottom: 26px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(10, 22, 55, 0.35);
    color: var(--white);
    cursor: pointer;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: opacity 0.4s linear; transform: none; }
    .hero-slide.is-active { transform: none; }
}

@media (max-width: 768px) {
    .hero-dots { bottom: 22px; }
    .hero-dot { width: 26px; }
    .hero-dot.is-active { width: 40px; }
    .hero-arrows { right: 24px; bottom: 16px; gap: 8px; }
    .hero-arrow { width: 38px; height: 38px; }
}

/* ==========================================================================
   Publications — Page 2 / Figma 183:31901 (1440 x 2342)
   ========================================================================== */

/* --- Hero (Figma 183:31903 — 1440 x 398, #12205F) --- */
.pub-hero {
    position: relative;
    background: #12205f;
    overflow: hidden;
    min-height: 398px;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.pub-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    z-index: 0;
}

.pub-hero__shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.pub-hero__shape--cyan {
    width: 626px;
    height: 645px;
    right: -180px;
    top: -140px;
    background: #00ced1;
    opacity: .22;
}

.pub-hero__shape--blue {
    width: 626px;
    height: 568px;
    right: -60px;
    bottom: -260px;
    background: #007bff;
    opacity: .30;
}

.pub-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 24px;
}

.pub-hero__eyebrow {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 43px;
}

.pub-hero__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 1.15;
    color: #ffffff;
    max-width: 799px;
    margin: 0 0 20px;
}

.pub-hero__sub {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.35;
    color: #00ced1;
    margin: 0;
}

/* --- Shared section shell --- */
.pub-section {
    background: #f6f6f6;
}

.pub-section--latest {
    padding: 80px 0 60px;
}

.pub-section--explore {
    padding: 60px 0 80px;
}

.pub-container {
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Latest Blog Posts (Figma 183:31913) --- */
.pub-latest__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.35;
    color: #3a3a3a;
    margin: 0 0 15px;
}

.pub-latest__grid {
    display: grid;
    grid-template-columns: minmax(0, 789fr) minmax(0, 398fr);
    gap: 35px;
    align-items: start;
}

/* Featured card — Figma 183:31919 (789 x 561, radius 20) */
.pub-featured {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 561px;
    border-radius: 20px;
    overflow: hidden;
    background: #12205f;
    text-decoration: none;
}

.pub-featured__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pub-featured__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18, 32, 95, 0) 30%, rgba(18, 32, 95, .88) 100%);
}

.pub-featured__body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
}

.pub-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 100px;
    padding: 10px 20px;
    font-family: 'Manrope', 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.35;
    color: #c06b4f;
}

.pub-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c06b4f;
    flex: 0 0 8px;
}

.pub-featured__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.35;
    color: #ffffff;
    max-width: 749px;
    margin: 15px 0 10px;
}

.pub-featured__meta {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
}

/* Side list — Figma 183:31929 (398 x 560, gap 16) */
.pub-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pub-list__item {
    display: flex;
    gap: 24px;
    text-decoration: none;
}

.pub-list__thumb {
    flex: 0 0 131px;
    width: 131px;
    height: 131px;
    border-radius: 9px;
    overflow: hidden;
    background: #ffffff;
}

.pub-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pub-list__text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.pub-list__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 14.9px;
    line-height: 1.35;
    color: #3a3a3a;
}

.pub-list__meta {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 12.9px;
    line-height: 1.35;
    color: #939393;
}

.pub-list__item:hover .pub-list__title {
    color: #12205f;
}

/* --- Explore Evidence-Based Insights (Figma 183:31959) --- */
.pub-explore__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 78px;
}

.pub-explore__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    color: #000000;
    margin: 0 0 10px;
}

.pub-explore__sub {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.35;
    color: #3a3a3a;
    margin: 0;
}

/* Category filter */
.pub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pub-filter {
    font-family: 'Manrope', 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.35;
    color: #3a3a3a;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pub-filter:hover {
    border-color: #007bff;
    color: #007bff;
}

.pub-filter.is-active {
    background: #007bff;
    border-color: #007bff;
    color: #ffffff;
}

/* Card row — Figma 183:31983 (4 x 284 x 298, radius 10) */
.pub-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pub-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(18, 32, 95, .12);
}

.pub-card__media {
    display: block;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #542c2c;
}

.pub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pub-card__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-bottom: 6px;
}

.pub-card__title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #3a3a3a;
}

.pub-card__meta {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.35;
    color: #939393;
}

/* Divider + pagination — Figma 183:32036 / 477:13326 */
.pub-divider {
    border: 0;
    border-top: 1px solid #dcdcdc;
    margin: 26px 0 0;
}

.pub-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
}

.pub-pagination__arrow {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #007bff;
    color: #ffffff;
    border: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s ease;
}

.pub-pagination__arrow:hover {
    background: #12205f;
}

.pub-pagination__nums {
    display: flex;
    align-items: center;
    gap: 19px;
}

.pub-page {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #ffffff;
    color: #3a3a3a;
    display: grid;
    place-items: center;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 18px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.pub-page:hover {
    background: #e6eefc;
}

.pub-page.is-active {
    background: #007bff;
    color: #ffffff;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .pub-hero__title { font-size: 46px; }
    .pub-latest__grid { grid-template-columns: 1fr; }
    .pub-featured { min-height: 420px; }
    .pub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pub-explore__head { margin-bottom: 40px; }
    .pub-explore__title { font-size: 36px; }
    .pub-explore__sub { font-size: 22px; }
}

@media (max-width: 640px) {
    .pub-hero { min-height: 0; padding: 56px 0; }
    .pub-hero__eyebrow { font-size: 18px; margin-bottom: 24px; }
    .pub-hero__title { font-size: 32px; }
    .pub-hero__sub { font-size: 17px; }
    .pub-section--latest { padding: 48px 0 32px; }
    .pub-section--explore { padding: 32px 0 56px; }
    .pub-featured { min-height: 340px; }
    .pub-featured__title { font-size: 18px; }
    .pub-list__item { gap: 16px; }
    .pub-list__thumb { flex: 0 0 96px; width: 96px; height: 96px; }
    .pub-cards { grid-template-columns: 1fr; }
    .pub-explore__title { font-size: 28px; }
    .pub-explore__sub { font-size: 18px; }
}

/* ---------- Hero — 183:31603 (1440 x 603) -------------------------------- */
.collab-hero {
    background: radial-gradient(circle at 78% 68%, rgba(212, 241, 253, 0.78) 0%, rgba(235, 249, 255, 0.45) 45%, rgba(255, 255, 255, 1) 80%),
                linear-gradient(160deg, #ffffff 0%, #ffffff 48%, #eaf8fe 100%);
    padding: 148px 0 56px;
}

.collab-hero__inner {
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
}

.collab-hero__eyebrow {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 30px;
    color: var(--gray);
    margin-bottom: 18px;
}

.collab-hero__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--navy);
    max-width: 518px;
}

.collab-hero__sub {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.5;
    color: #000000;
    max-width: 518px;
    margin-top: 40px;
}

.collab-hero__art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.collab-hero__art img {
    width: 100%;
    max-width: 433px;
    height: auto;
    display: block;
}

/* ---------- Impact + form — 183:31617 (1440 x 1818, #F6F6F6) ------------- */
.collab-impact {
    background: radial-gradient(circle at 22% 78%, rgba(212, 241, 253, 0.72) 0%, rgba(235, 249, 255, 0.45) 42%, rgba(255, 255, 255, 1) 78%),
                linear-gradient(160deg, #ffffff 0%, #ffffff 45%, #eaf8fe 100%);
    padding: 80px 0 124px;
}

.collab-impact__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 407px minmax(0, 679px);
    justify-content: space-between;
    gap: 56px;
    align-items: start;
}

/* Left column — 183:31622 */
.collab-side { padding-top: 28px; }

.collab-side__eyebrow {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
}

.collab-side__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.09;
    color: #000080;
    margin-top: 18px;
}

.collab-side__text {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.55;
    color: var(--gray);
    margin-top: 24px;
}

.collab-list {
    list-style: none;
    margin-top: 34px;
    border-top: 1px solid #E2E2E2;
}

.collab-list__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #E2E2E2;
}

.collab-list__num {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 11px;
    line-height: 16px;
    color: var(--blue);
    flex: 0 0 auto;
}

.collab-list__label {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 21px;
    color: var(--gray);
}

/* Right card — 183:31643 (679 wide, radius 24, padding 48) */
.gift-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 24px 60px rgba(18, 32, 95, 0.06);
}

.gift-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gift-card__eyebrow,
.gift-card__note {
    font-family: var(--serif);
    font-size: 13px;
    line-height: 20px;
    color: #000000;
}

.gift-card__eyebrow {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gift-flash {
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.45;
    background: #E8F7F4;
    border: 1px solid #9AE2D4;
    color: #0F265C;
}

/* Fieldsets */
.gift-fieldset {
    border: 0;
    padding: 0;
    margin-top: 40px;
}

.gift-legend {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 38px;
    color: var(--gray);
    padding: 0;
    margin-bottom: 18px;
}

.gift-legend--navy { color: #000080; }

/* Amount selector — 183:31653 (5 x 109 x 54, radius 10) */
.gift-amounts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.gift-amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 6px;
    background: var(--white);
    border: 1px solid #E2E2E2;
    border-radius: 10px;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.gift-amount:hover { border-color: var(--periwinkle, #436FDD); }

.gift-amount.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.gift-amount--other {
    gap: 3px;
    padding: 0 12px;
    justify-content: flex-start;
}

.gift-amount__currency {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--gray);
}

.gift-amount.is-active .gift-amount__currency { color: var(--white); }

.gift-amount__input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: var(--serif);
    font-size: 16px;
    color: var(--gray);
    outline: none;
}

.gift-amount__input::placeholder { color: var(--gray); opacity: 0.85; }
.gift-amount.is-active .gift-amount__input,
.gift-amount.is-active .gift-amount__input::placeholder { color: var(--white); }

/* Fund radio cards — 183:31672 (583 x 106, radius 12, padding 20) */
.gift-funds {
    display: grid;
    gap: 10px;
}

.gift-fund {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px;
    border: 1px solid #E2E2E2;
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.gift-fund:hover { border-color: var(--periwinkle, #436FDD); }

.gift-fund__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gift-fund__dot {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1.5px solid #C9C9C9;
    border-radius: 50%;
    background: var(--white);
    position: relative;
    flex: 0 0 auto;
}

.gift-fund__body { display: block; }

.gift-fund__title {
    display: block;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 23px;
    color: #000080;
}

.gift-fund__desc {
    display: block;
    margin-top: 5px;
    font-family: var(--serif);
    font-size: 14px;
    line-height: 21px;
    color: var(--gray);
}

.gift-fund.is-active {
    background: var(--navy);
    border-color: var(--navy);
}

.gift-fund.is-active .gift-fund__title,
.gift-fund.is-active .gift-fund__desc { color: var(--white); }

.gift-fund.is-active .gift-fund__dot {
    border-color: var(--white);
    background: var(--white);
    box-shadow: inset 0 0 0 4px var(--navy);
}

/* Your information — 183:31708 */
.gift-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 21px;
}

.gift-field { display: grid; gap: 9px; }
.gift-field--full { grid-column: 1 / -1; }

.gift-label {
    font-family: var(--serif);
    font-size: 14px;
    line-height: 18px;
    color: var(--gray);
}

.gift-label__opt { margin-left: 4px; }

.gift-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--white);
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    font-family: var(--serif);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gift-input:focus {
    border-color: var(--periwinkle, #436FDD);
    box-shadow: 0 0 0 3px rgba(67, 111, 221, 0.14);
}

.gift-textarea {
    height: 84px;
    padding: 12px 14px;
    resize: vertical;
    line-height: 1.45;
}

/* Submit — 183:31727 (583 x 60, radius 10, #12205F) */
.gift-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 60px;
    margin-top: 42px;
    background: var(--navy);
    border: 0;
    border-radius: 10px;
    font-family: var(--serif);
    font-size: 17px;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gift-submit:hover {
    background: #0F265C;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(18, 32, 95, 0.28);
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1100px) {
    .collab-impact__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }
    .collab-side { padding-top: 0; }
    .gift-card { max-width: 679px; }
}

@media (max-width: 900px) {
    .collab-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .collab-hero__art { order: -1; }
    .collab-hero__art img { max-width: 300px; }
    .collab-hero__sub { margin-top: 24px; }
}

@media (max-width: 640px) {
    .collab-hero { padding: 40px 0 24px; }
    .collab-hero__eyebrow { font-size: 18px; margin-bottom: 12px; }
    .collab-hero__title { font-size: 34px; }
    .collab-hero__sub { font-size: 16px; }
    .collab-impact { padding: 48px 0 64px; }
    .collab-impact__inner { padding: 0 20px; }
    .gift-card { padding: 28px 20px; border-radius: 18px; }
    .gift-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gift-fields { grid-template-columns: minmax(0, 1fr); }
    .gift-legend { font-size: 21px; line-height: 30px; }
    .gift-submit { font-size: 16px; }
}

@media (max-width: 1024px) {
}

@media (prefers-reduced-motion: reduce) {
}

/* ---- Services pill: clickable label + separate caret toggle ---- */
.nav-dropdown-pill {
    display: flex;
    align-items: center;
    border-radius: 100px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-pill:hover {
    background: rgba(18, 32, 95, 0.06);
}

.nav-dropdown.is-active .nav-dropdown-pill {
    background: #12205F;
    color: #ffffff;
}

.nav-dropdown-pill .nav-link,
.nav-dropdown-pill .nav-link:hover,
.nav-dropdown.is-active .nav-dropdown-pill .nav-link {
    background: transparent;
    color: inherit;
    padding-right: 2px;
}

.nav-caret-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 0 14px 0 2px;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.nav-caret-btn:focus-visible {
    outline: 2px solid #436FDD;
    outline-offset: 2px;
    border-radius: 100px;
}

@media (max-width: 1080px) {
    .nav-links.open .nav-dropdown-pill {
        width: 100%;
        justify-content: space-between;
        padding-right: 6px;
    }
    .nav-links.open .nav-dropdown-pill .nav-link {
        flex: 1 1 auto;
        width: auto;
    }
    .nav-caret-btn { padding: 0 12px; }
}

/* ==========================================================================
   VISUAL POLISH LAYER — Page 2 / Figma 140:28455 "Homepage" (1440 x 3841)
   Appended override block. Every value below is read straight off the
   Figma frame so the live page matches the design. Nothing above this
   line was modified, so all existing rules remain the fallback.
   ========================================================================== */

/* --- Hero section — Figma 348:4160 (1440 x 849, fill #12205F) ----------- */
.hero {
    min-height: 700px;
    background-color: #12205f;
    /* Vertical rhythm now lives on .hero-inner so the content column and the
       section padding can never double up. */
    padding: 0;
}

/* Centred 1240px content column, left-aligned text block. */
.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 48px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;                 /* spacing comes from the margins below */
    text-align: left;
}

/* Figma 348:4169 — Noto Serif 400 / 60px / 62.33px, left aligned. */
.hero-title {
    font-family: "Noto Serif", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 62.33px;
    letter-spacing: -0.005em;
    color: #ffffff;
    margin: 0 0 40px;
    max-width: 680px;
    text-align: left;
}

/* Figma 348:4180 — Noto Serif 400 / 22.58px / 38px, left aligned. */
.hero-sub {
    font-family: "Noto Serif", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 22.58px;
    line-height: 38px;
    color: #ffffff;
    margin: 0;
    max-width: 780px;
    text-align: left;
}

/* Figma 348:5254 — horizontal pill row, left aligned. */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

/* Figma 461:8926 / 461:8927 — 55px tall pills, radius 100, 20px padding,
   10px icon gap, Noto Serif 16px. */
.hero-actions .btn {
    height: 55px;
    min-height: 55px;
    padding: 0 20px;
    border-radius: 100px;
    font-family: "Noto Serif", Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

/* Primary pill — white fill, black label (Figma 461:8926). */
.hero-actions .btn--solid {
    background-color: #ffffff;
    color: #000000;
}
.hero-actions .btn--solid:hover {
    background-color: #f2f2f2;
    color: #000000;
}

/* Secondary pill — black fill, white label (Figma 461:8927). */
.hero-actions .btn:not(.btn--solid) {
    background-color: #000000;
    color: #ffffff;
}
.hero-actions .btn:not(.btn--solid):hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.hero-actions .btn .icon-arrow,
.hero-actions .btn svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

/* --- Global type polish ------------------------------------------------- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

/* --- Responsive guards so the 1440px spec degrades cleanly ------------- */
@media (max-width: 1024px) {
    .hero { min-height: 720px; padding: 0; }
    .hero-inner { padding: 140px 40px 96px; gap: 0; max-width: 100%; }
    .hero-title { font-size: 48px; line-height: 1.04; margin-bottom: 32px; }
    .hero-sub { font-size: 19px; line-height: 1.5; }
}

@media (max-width: 640px) {
    .hero { min-height: 620px; padding: 0; }
    .hero-inner { padding: 120px 24px 72px; gap: 0; max-width: 100%; }
    .hero-title { font-size: 34px; line-height: 1.12; margin-bottom: 24px; }
    .hero-sub { font-size: 16px; line-height: 1.5; }
    .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
    .hero-actions .btn { height: 50px; min-height: 50px; font-size: 15px; }
}

/* Keep /contact form below fixed 81px white navbar when contact hero banner is hidden */
.about-hero--contact[style*="display: none"] + .contact,
.about-hero--contact[style*="display:none"] + .contact { padding-top: 132px !important; }
