
/* ======================================================================
   RELEASE BANNER (Homepage) – 2025-11
   Slim, modern, auto-scrolling message with persistent dismiss
   ====================================================================== */
   .release-banner {
    position: relative;
    width: 100%;
    z-index: 8000;
    /* below header(12000), above hero */
    background: linear-gradient(90deg, #0011e3 0%, #0056b3 60%, #01eefc 120%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 84, 166, .18);
  }
  
  .release-banner .banner-inner {
    max-width: var(--hero-max);
    margin: 0 auto;
    padding: 8px 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }
  
  .release-banner .banner-icon {
    width: 20px;
    height: 20px;
    display: block;
    opacity: 0.95;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .15));
  }
  
  .release-banner .ticker {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }
  
  .release-banner .ticker-track {
    display: inline-flex;
    gap: 48px;
    /* space between repeated messages */
    will-change: transform;
    /* GPU-stabilize for iOS Safari to prevent text flicker */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    white-space: nowrap;
  
    /* default fallback: half-width by percentage if JS hasn’t set a pixel value */
    --ticker-half: 50%;
  }
  
  .release-banner .ticker-item {
    font-size: 0.94rem;
    line-height: 1.4;
    letter-spacing: .01em;
    opacity: 0.98;
  }
  
  .release-banner .banner-close {
    appearance: none;
    border: 0;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  
  .release-banner .banner-close:hover,
  .release-banner .banner-close:focus-visible {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
    outline: none;
  }
  
  /* Auto-scroll once JS marks it ready (so the content won’t “jump”). */
  .release-banner .ticker.is-ready .ticker-track {
    animation: banner-ticker-move 22s linear infinite;
  }
  
  /* Respect reduced motion preferences. */
  @media (prefers-reduced-motion: reduce) {
    .release-banner .ticker.is-ready .ticker-track {
      animation: none;
      transform: translateX(0) !important;
    }
  }
  
  @keyframes banner-ticker-move {
    from {
      transform: translate3d(0, 0, 0);
    }
  
    to {
      /* JS sets --ticker-half to half the content width in px for a gapless loop */
      transform: translate3d(calc(-1 * var(--ticker-half, 50%)), 0, 0);
    }
  }
  
  
  /* Mobile breathing room */
  @media (max-width: 900px) {
    .release-banner .banner-inner {
      padding: 10px 12px;
      gap: 8px;
    }
  
    .release-banner .ticker-item {
      font-size: 0.90rem;
      line-height: 1.35;
    }
  
  }
  
  @media (max-width: 600px) {
  
    /* Ease readability on tighter screens */
    .release-banner .banner-icon {
      width: 18px;
      height: 18px;
    }
  
    /* Larger tap target for accessibility */
    .release-banner .banner-close {
      width: 36px;
      height: 36px;
    }
  
    /* Slow the ticker a touch on narrow phones for legibility */
    .release-banner .ticker.is-ready .ticker-track {
      animation-duration: 28s !important;
    }
  
    /* Reveal more text at the edges on very small screens */
    .release-banner .ticker {
      -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
      mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    }
  }
  
  
  
  /* Mobile-only: remove gradient mask to avoid iOS/WebKit clipping while moving */
  @media (max-width: 900px) {
    .release-banner .ticker {
      -webkit-mask-image: none !important;
      mask-image: none !important;
    }
  }


/* ─────────── IMPACT STRIP (Homepage numbers band) ─────────── */
.impact-strip {
    margin: 24px auto;
    max-width: 1100px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e3ecfb;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 84, 166, .08);
}

.impact-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 16px;
    align-items: center;
}

@media (max-width: 900px) {
    .impact-inner {
        grid-template-columns: 1fr;
    }
}

.impact-headline {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #0b4aa2;
}

.impact-sub {
    margin: 0 0 10px;
    color: #223050;
    line-height: 1.5;
    max-width: 52ch;
}

.impact-ctas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.impact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid #cfe0ff;
    color: #0b4aa2;
    background: #f6fbff;
}

.impact-cta--primary {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.impact-cta--primary:hover {
    filter: brightness(1.05);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 12px;
}

@media (max-width: 600px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
}

.impact-card {
    background: #fff;
    border: 1px solid #e3ecfb;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 84, 166, .06);
    display: grid;
    gap: 6px;
    grid-template-rows: auto 1fr;
    justify-items: start;
    isolation: isolate;
    /* prevent numbers from spilling outside the card */
    overflow: hidden;
}

.metric-label {
    color: #223050;
    font-size: .95rem;
    line-height: 1.35;
}

.metric-value {
    font-weight: 900;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #0b4aa2;
    letter-spacing: 0;
    /* tighten */
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0;
    /* we’ll control micro-spacing on subspans */
    text-align: left;
    max-width: 100%;
}

/* NEW: lock number span width & keep it on its own layer */
.metric-value span[data-target] {
    display: inline-block;
    /* remove fixed width so short numbers don’t create large gaps */
    min-width: 0;
    text-align: left;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* tighten micro-spacing just a touch to keep ranges compact */
.metric-value .unit {
    margin-left: 2px;
    white-space: nowrap;
    font-weight: 800;
}

.metric-value .sep {
    margin: 0 2px;
    color: #64748b;
    font-weight: 700;
}

/* micro-spans for precise spacing */
.metric-value .prefix {
    display: inline-block;
    margin-right: 2px;
}

.metric-value .num {
    display: inline-block;
}

.metric-value .unit {
    display: inline-block;
    margin-left: 2px;
    white-space: nowrap;
    font-weight: 800;
}

.metric-value .sep {
    display: inline-block;
    margin: 0 4px;
    color: #64748b;
    font-weight: 700;
}


.metric-muted {
    color: #64748b;
    font-weight: 700;
}

/* REPLACEMENT */
.impact-sources {
    margin-top: 6px;
    background: #f8fbff;
    border: 1px dashed #cfe0ff;
    border-radius: 10px;
    padding: 8px 12px;

    /* NEW: ensure the collapsible sits above nearby animated layers
       and spans the full grid width below both columns */
    position: relative;
    z-index: 3;
    grid-column: 1 / -1;

    /* Ensure clicks always land here */
    pointer-events: auto;
}

/* REPLACEMENT: restore native disclosure marker and keep your look */
.impact-sources summary {
    display: list-item;
    /* critical for marker */
    list-style: disclosure-closed inside;
    /* show arrow (closed) */
    cursor: pointer;
    font-weight: 800;
    color: #0b4aa2;
}

.impact-sources[open] summary {
    list-style: disclosure-open inside;
    /* show arrow (open) */
}

/* Safari/WebKit marker fallback */
.impact-sources summary::-webkit-details-marker {
    display: inline-block;
}

/* Optional: tint the marker */
.impact-sources summary::marker {
    color: #0b4aa2;
}

.impact-sources a {
    color: #0b4aa2;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .metric-value {
        transition: none !important;
    }
}



/* Decorative bar + line animation (beneath CTAs) */
.impact-viz {
    position: relative;
    margin-top: 12px;
    /* gives breathing room under the buttons */
    padding: 10px 10px 12px;
    border: 1px solid #e3ecfb;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 4px 12px rgba(0, 84, 166, .06);
}

/* Keep the animated viz beneath the collapsible row */
.impact-viz { z-index: 1; }


.impact-bars {
    height: 138px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.impact-bars .bar {
    position: relative;
    height: 100%;
    background: linear-gradient(180deg, #f6fbff 0%, #eef5ff 100%);
    border: 1px solid #e3ecfb;
    border-radius: 10px;
    overflow: hidden;
}

/* growing fill inside each bar */
.impact-bars .bar .fill {
    --val: 0;
    /* 0–1 scalar set by JS per bar */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform .9s cubic-bezier(.22, .8, .22, 1);
}

/* bar colors in your palette */
.impact-bars .bar:nth-child(1) .fill {
    background: #0D4CAC;
}

/* Primary royal blue */
.impact-bars .bar:nth-child(2) .fill {
    background: #0C4FC7;
}

/* Bright chart blue  */
.impact-bars .bar:nth-child(3) .fill {
    background: #985FD0;
}

/* Violet             */
.impact-bars .bar:nth-child(4) .fill {
    background: #EA8A5B;
}

/* Warm orange        */

/* when JS flips this on, each bar scales to its target height */
.impact-bars .bar .fill.grow {
    transform: scaleY(var(--val));
}

/* overlay line that draws after the bars rise */
.impact-viz .impact-line {
    position: absolute;
    inset: 6px 6px 12px 6px;
    /* align with bar container padding */
    z-index: 2;
}

.impact-viz .impact-line .line {
    fill: none;
    stroke: #2093FA;
    /* Electric cyan */
    stroke-width: 2.2;
    filter: drop-shadow(0 1px 6px rgba(32, 147, 250, .25));
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    /* hidden initially */
    transition: stroke-dashoffset 2.0s ease;
}

/* trigger after bars finish */
.impact-viz.draw-line .impact-line .line {
    stroke-dashoffset: 0;
}


/* ───────── Learn Hub (gallery + subscribe panel) ───────── */
.learn-hub {
    max-width: 1100px;
    margin: 24px auto;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .learn-hub {
        grid-template-columns: 1fr;
    }
}

/* Left: edge-to-edge gallery (organized grid, fixed aspect) */
.learn-gallery {
    /* Slightly taller cards so the left matches the right panel’s height visually */
    --card-aspect: 16/9;

    display: grid;
    /* Keep 3 columns on desktop to make each card bigger (remove duplicate 4-col rule) */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    /* Match / slightly exceed the right panel’s min-height (400px) */
    min-height: 420px;
    align-content: start;

    /* Whole-section hover zoom (triggered when hovering the parent section) */
    transition: transform .22s ease, filter .22s ease;
    transform-origin: left center;
    will-change: transform;
}

/* When the user hovers anywhere over the Learn Hub section,
   zoom the ENTIRE left gallery subtly. Per-card hover stays intact. */
.learn-hub:hover .learn-gallery {
    transform: scale(1.015);
}


.learn-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: #eef3ff;
    box-shadow: 0 6px 18px rgba(0, 84, 166, .08);
    transition: transform .18s ease, box-shadow .22s ease, filter .22s ease;
}

/* Uniform height via aspect ratio so the gallery never grows too tall */
.learn-card {
    aspect-ratio: var(--card-aspect, 16/10);
}


/* Base: warning-free, two-line clamp fallback (no experimental props) */
.learn-overlay .learn-title {
    overflow: hidden;
    display: block;
    /* avoid vendor warnings */
    line-height: 1.25;
    /* set line height so we can cap height cleanly */
    max-height: calc(1.25em * 2);
    /* ≈ two lines without using line-clamp */
}

/* OPTIONAL: If you want slightly crisper truncation on WebKit, you can re-enable this.
   If your linter still warns on vendor props, omit this entire block. */
/*
@supports (-webkit-line-clamp: 2) {
    .learn-overlay .learn-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        max-height: none;
        -webkit-line-clamp: 2;
    }
}
*/

/* Responsive columns: 3 on desktop, 2 on tablets, 1 on narrow phones */
@media (max-width: 980px) {
    .learn-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .learn-gallery {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


.learn-thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.02) contrast(1.02);
    transition: transform .25s ease, filter .25s ease;
}

.learn-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(5, 20, 45, .55) 52%, rgba(5, 20, 45, .82) 100%);
    color: #fff;
}

.learn-chip {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .78rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    text-decoration: none;
    margin-bottom: 6px;
}

.learn-title {
    margin: 4px 0 2px;
    font-weight: 800;
    font-size: 1.02rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.learn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 84, 166, .16);
}

.learn-card:hover .learn-thumb {
    filter: saturate(1.06) contrast(1.06);
}

/* Right: white container matching gallery height */
.learn-subscribe {
    background: #fff;
    border: 1px solid #e3ecfb;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 84, 166, .08);
    padding: 20px;
    /* was 16px */
    display: grid;
    grid-template-rows: auto auto 1fr;
    row-gap: 14px;
    /* slightly more breathing room */
    min-height: 400px;
    /* give the content room to breathe */
}


.learn-head {
    display: grid;
    row-gap: 10px;
    /* was 8px */
}

/* Scope the blue title to the right panel only so card overlay titles stay white */
.learn-subscribe .learn-title {
    margin: 0;
    color: #0b4aa2;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.0vw, 1.45rem);
    /* slightly larger */
    letter-spacing: .005em;
}

.learn-blurb {
    margin: 0;
    color: #223050;
    line-height: 1.65;
    /* a bit taller for comfort */
}

.learn-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.learn-tags .learn-chip {
    background: #f6fbff;
    border-color: #cfe0ff;
    color: #0b4aa2;
}

.learn-cta {
    margin-top: 4px;
}

.learn-input-wrap {
    display: grid;
    grid-template-columns: 1fr;
    /* input on its own row, full width */
    gap: 10px;
}


.learn-input {
    width: 100%;
    height: 48px;
    /* was 44px */
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    padding: 12px 16px;
    /* slightly roomier */
    font-size: 1rem;
    /* a touch larger */
    color: #0f172a;
    outline: none;
}

.learn-input:focus {
    border-color: #cfe0ff;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, .12);
}

.learn-button {
    height: 48px;
    /* was 44px */
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #0056b3;
    background: #0056b3;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
}

.learn-button:hover {
    filter: brightness(1.05);
}

.learn-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.learn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid #cfe0ff;
    color: #0b4aa2;
    background: #f6fbff;
}

.learn-secondary:hover {
    filter: brightness(1.03);
}

/* Subtle, modern hover and focus effects for both buttons */
.learn-button,
.learn-secondary {
    transition: transform .18s ease, box-shadow .22s ease, filter .22s ease;
}

.learn-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, .18);
}

.learn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 84, 166, .12);
}

/* ========== Mission: Square Module + Framed Statement + CTA (final) ========== */
.mission-square {
    max-width: 1100px;
    /* centered on page */
    margin: 40px auto 24px;
    /* no forced square; natural height */
    aspect-ratio: auto;
    /* let the heading + grid stack */
    display: block;
    padding: 0 12px;
    overflow: visible;
}


/* PATCH 2025-11-03 — Center the Our Mission card & neutralize any full-bleed carryover */
#mission.mission-square {
    max-width: var(--hero-max);
    /* keep the same 1100px width */
    width: 100%;
    margin: 28px auto 24px;
    /* centered under the hero */
    padding: 0 12px;
    display: block;
    position: static;
    /* kill any stray offset rules */
    left: auto;
    right: auto;
    transform: none;
}

/* Mission inner grid: layout only (no extra container styling) */
#mission.mission-square .audience-row {
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Heading centered */
#mission.mission-square .audience-title.mission-heading {
    text-align: center;
}

.mission-square .audience-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* balanced split */
    align-items: center;
    gap: clamp(16px, 2.4vw, 28px);
    padding: 0;
    /* outer section handles the padding */
    background: transparent;
    /* no second container */
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


@media (max-width: 900px) {
    .mission-square {
        aspect-ratio: auto;
    }

    .mission-square .audience-row {
        grid-template-columns: 1fr;
    }
}

/* ── Mission: centered left column + unified card polish (non-invasive) ── */
.mission-square .audience-left {
    display: grid;
    justify-items: start;
    /* left-align the content block */
    text-align: left;
    /* left-align headings, paragraphs, CTA */
    padding-inline-start: 0;
    gap: 12px;
}

/* Header is now outside the grid; target the new mission-heading class */
.mission-square .mission-heading {
    text-align: center;
    margin: clamp(8px, 1.2vw, 14px) 0 12px;
    /* top margin added */
    font-size: 1.6rem;
    color: #0056b3;
    font-weight: 800;
}

.mission-unified {
    text-align: left;
    /* left-align the mission text + CTA */
    padding: 16px 18px;
}


.mission-unified .mission-statement {
    font-size: 1.04rem;
    /* tiny readability bump */
    line-height: 1.65;
    margin: 0 0 10px;
}

.mission-unified .mission-cta {
    margin-top: 12px;
    /* distinct but unified block */
}

.mission-unified .mission-cta .cta-row {
    justify-content: flex-start;
    /* align CTA row with left-aligned text */
}

/* Keep the clipart neatly centered within the right column */
#mission .audience-right {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Framed mission statement with sleek gradient outline */
.mission-quote {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e3ecfb;
    box-shadow: 0 8px 22px rgba(0, 84, 166, .08);
    isolation: isolate;
}

/* Thin outer accent ring using mask so it never covers content */
.mission-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    /* ring thickness */
    background: linear-gradient(135deg,
            rgba(0, 17, 227, .22),
            rgba(0, 86, 179, .22) 55%,
            rgba(1, 238, 252, .28));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.mission-statement {
    margin: 0;
    color: #223050;
    line-height: 1.6;
    font-size: 1.02rem;
}

.mission-art {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(200px, 34vw, 360px);
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 84, 166, .12));
}

/* CTA that replaces the old checklist */
.mission-cta {
    margin-top: 12px;
    background: #f8fbff;
    border: 1px solid #e3ecfb;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 12px rgba(0, 84, 166, .06);
}

.mission-cta .cta-text {
    margin: 0 0 8px;
    color: #1a2439;
}

.mission-cta .cta-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mission-cta .cta-pointer {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(135deg, #0011e3, #0056b3 60%, #01eefc);
    box-shadow: 0 0 12px rgba(1, 238, 252, .35);
    animation: missionPulse 2.2s ease-in-out infinite;
}

@keyframes missionPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .9;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

.mission-cta .mission-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    background: radial-gradient(120% 160% at 0% 0%, #1a66cc 0%, #0056b3 42%, #004a9b 100%);
    box-shadow:
        0 10px 24px rgba(0, 86, 179, .22),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .12s ease, box-shadow .25s ease, filter .25s ease;
}

.mission-cta .mission-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(0, 86, 179, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.mission-cta .mission-cta-btn:active {
    transform: translateY(0);
}

/* PATCH 2025-11-03 — Mission height & outlined title */
#mission.mission-square {
    /* add comfortable inner breathing room top/bottom + ensure overall height */
    padding: clamp(28px, 3.2vw, 46px) 18px clamp(28px, 3.2vw, 46px);
    min-height: clamp(420px, 44vw, 560px);
}

#mission .audience-title.mission-heading {
    /* center the heading block and give it a modern outlined tag look */
    display: inline-block;
    margin: clamp(10px, 2vw, 22px) auto clamp(12px, 1.6vw, 20px);
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #0011e3, #0056b3 60%, #01eefc) border-box;
    box-shadow: 0 6px 18px rgba(0, 84, 166, .10);
    line-height: 1.15;
    /* keeps it compact within the tag */
}

/* keep the heading’s font rules (size/weight/color) you already set earlier */

/* Full-bleed white background for the Mission band (home-only) */
.mission-bleed {
    background: #fff;
    /* edge-to-edge */
    width: 100%;
    /* vertical breathing room so it "meets" the footer without a gray gap */
    padding: clamp(16px, 2vw, 24px) 0 clamp(28px, 4vw, 48px);
}

/* Remove bottom margin on the inner mission container so band runs right into footer */
.mission-square {
    margin-bottom: 0;
}

/* ─────────── FOOTER (revamped: logo + socials + three columns + divider) ─────────── */
.homepage-footer {
    background: #fff;
    padding: clamp(36px, 4vw, 56px) 0 clamp(24px, 3vw, 40px);
    margin-top: 0;
    /* allow mission band to visually meet footer */
    border-top: 1px solid #eaeef8;
    font-family: 'Inter', sans-serif;
}

.homepage-footer .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top: brand + socials (centered) */
.footer-brand {
    display: grid;
    justify-items: center;
    row-gap: 12px;
    margin-bottom: clamp(18px, 2.4vw, 28px);
    text-align: center;
}

.footer-logo {
    height: clamp(40px, 6vw, 64px);
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .08));
}

.footer-social {
    display: inline-flex;
    gap: 12px;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f6fbff;
    border: 1px solid #cfe0ff;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.footer-social .social-link img {
    max-width: 20px;
    height: auto;
    display: block;
}

.footer-social .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 86, 179, .16);
    filter: saturate(1.05);
}

/* Middle: three columns */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: clamp(14px, 2vw, 22px);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.footer-col h4 {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0b4aa2;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    row-gap: 6px;
}

.footer-col a {
    color: #0056b3;
    text-decoration: none;
    border-radius: 6px;
    padding: 6px 6px;
    display: inline-flex;
    align-items: center;
    transition: color .15s ease, background .2s ease, transform .15s ease;
}

.footer-col a:hover {
    color: #003f7f;
    background: rgba(0, 86, 179, .06);
    transform: translateY(-1px);
}

/* Divider above legal links */
.footer-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, #dbe6ff 20%, #dbe6ff 80%, transparent);
    margin: clamp(12px, 2vw, 20px) 0 clamp(10px, 1.8vw, 16px);
}

/* Bottom: legal nav + copyright */
.footer-bottom {
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.footer-item a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: #0056b3;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color .15s ease, background .2s ease, transform .15s ease;
}

.footer-item a:hover {
    color: #003f7f;
    background: rgba(0, 86, 179, .06);
    transform: translateY(-1px);
}

.footer-copy {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* ───────── SUB MENU HEADER (utility bar above main header) ───────── */
.top-subnav {
    position: relative;
    z-index: 12250;
    /* above header(12000), below toast(16000) */
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

/* Ensure the utility-bar dropdown opens above the main header and sits close */
.top-subnav .location-selector .dropdown {
    top: calc(100% + 6px);
    /* tighter than 110% */
    z-index: 15800;
    /* below global toast(16000), above header */
}

.top-subnav-inner {
    max-width: var(--hero-max);
    margin-inline: auto;
    padding-inline: var(--nav-gutter);
    padding-block: 6px;
    display: grid;
    grid-template-columns: 1fr auto;
    /* left spacer | right links */
    align-items: center;
    gap: 12px;
}

.top-subnav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 16px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.subnav-item {
    display: inline-flex;
    align-items: center;
}

/* Compact the location control so it fits elegantly on the utility bar */
.top-subnav .location-selector {
    height: 38px;
    line-height: 38px;
    padding: 0 10px;
    margin-right: 0;
}

.top-subnav .location-selector input[id^="locationInput"] {
    width: 120px;
    height: 22px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Subnav Sign In link */
.subnav-signin {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #0056b3;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color .18s ease, border-bottom-color .18s ease, transform .18s ease;
}

.subnav-signin:hover {
    color: #003f7f;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 4px;
    transform: translateY(-1px);
}

/* The “beautiful divider” separating subnav from main header */
.subnav-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            #e6ecf7 12%,
            #cfe0ff 50%,
            #e6ecf7 88%,
            rgba(0, 0, 0, 0) 100%);
}

/* Mobile Sign In (top bar) */
.mobile-signin {
    display: inline-block;
    margin-left: 10px;
    padding: 8px 10px;
    text-decoration: none;
    font-weight: 700;
    color: #0056b3;
    border-radius: 8px;
}

.mobile-signin:active,
.mobile-signin:hover {
    color: #003f7f;
    background: #e6f2ff;
}

/* --- SUBNAV Sign In: add icon + match main-header hover (no box) --- */
.subnav-signin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 700;
    color: #0056b3;
    padding: 6px 10px;
    border: none;
    /* remove any border box feel */
    background: transparent;
    /* ensure no background tile */
    border-radius: 0;
    /* no rounded box highlight */
    outline: none;
}

.subnav-signin .nav-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.subnav-signin:hover,
.subnav-signin:focus-visible {
    color: #003f7f;
    border-bottom: 2px solid #0056b3;
    /* match main header hover */
    padding-bottom: 4px;
    background: transparent;
    /* prevent “box” look */
}

/* Mobile drawer collapsible */
.drawer-has-sub {
    list-style: none;
}

/* Make the toggle look like the main drawer links (Home, Pricing) */
.drawer-toggle {
    width: 100%;
    display: block;                 /* match anchor block layout */
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 10px;             /* match .drawer-menu a padding */
    font-weight: 600;               /* match weight to drawer links */
    font-family: 'Inter', sans-serif;
    color: #003f7f;                 /* close to drawer link color */
    border-radius: 8px;             /* match hover shape */
    cursor: pointer;

    /* NEW: make section headers same size as 'Home' and 'Pricing' */
    font-size: 1rem;
    line-height: 1.35;
}

/* Hover/focus state to match link hover */
.drawer-toggle:hover,
.drawer-toggle:focus-visible {
    background: #e6f2ff;
    outline: none;
}

/* The leading “+” glyph before section titles */
.drawer-toggle .drawer-plus {
    display: inline-block;
    margin-right: 8px;
    font-weight: 800;
    line-height: 1;
}

.drawer-toggle[aria-expanded="true"] {
    color: #003f7f;
}

.drawer-submenu {
    list-style: none;
    margin: 6px 0 8px 12px;
    padding: 0;
}

.drawer-submenu.hidden {
    display: none !important;
}

.drawer-submenu li a {
    display: block;
    padding: 8px 0;
    color: #1f3a93;
    text-decoration: none;
}

.drawer-submenu li a:hover {
    color: #003f7f;
}

/* ───────── OUR MISSION (abstract slim band; centralized; shapes) ───────── */


/* Center the content that now sits directly on the mission band */
#mission .mission-body {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

#mission .mission-body .mission-statement {
    margin: 6px 0 12px;
}

/* Keep your same CTA visual, but allow it to be used without the old inner card */
#mission .mission-cta--centered {
    margin-top: 10px;
}

#mission .mission-cta--centered .mission-cta-btn {
    display: inline-block;
}


#mission.mission-abstract {
    /* Mission palette (from your brief) */
    --c-royal: #0D4CAC;
    /* Primary royal blue */
    --c-chart: #0C4FC7;
    /* Bright chart blue  */
    --c-cyan: #2093FA;
    /* Electric cyan      */
    --c-sky1: #B5DEFD;
    /* Soft sky blue      */
    --c-sky2: #CBF1FE;
    /* Soft sky blue 2    */
    --c-vio: #985FD0;
    /* Violet             */
    --c-peri: #6666DC;
    /* Periwinkle         */
    --c-warm: #EA8A5B;
    /* Warm orange bar    */
    --c-coral: #EE7361;
    /* Coral/orange-red   */

    position: relative;
    isolation: isolate;
    /* so decoration stays behind */
}

/* Keep the section slim and centered */
#mission.mission-abstract .mission-unified {
    max-width: 840px;
    margin: 0 auto;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e8efff;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 84, 166, .10);
    position: relative;
    z-index: 1;
    /* above the shapes */
    overflow: hidden;
    /* contain inner ring glow */
}

/* Centered text + slightly longer button */
#mission.mission-abstract .mission-unified--centered {
    text-align: center;
}

#mission.mission-abstract .mission-unified--centered .mission-statement {
    margin: 0 0 12px;
}

#mission.mission-abstract .mission-unified--centered .mission-cta {
    margin-top: 14px;
}

#mission.mission-abstract .mission-unified--centered .mission-cta .cta-row {
    justify-content: center;
}

#mission.mission-abstract .mission-unified--centered .mission-cta-btn {
    padding: 12px 24px;
    /* slightly longer than before */
}

/* Abstract decorative shapes behind content (never overlay the text) */
#mission.mission-abstract::before,
#mission.mission-abstract::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    /* behind the content card */
    pointer-events: none;
    background: radial-gradient(320px 320px at 12% 25%, var(--c-sky2) 0%, transparent 60%),
        radial-gradient(260px 260px at 88% 22%, var(--c-sky1) 0%, transparent 58%),
        radial-gradient(220px 220px at 18% 88%, rgba(13, 76, 172, .18) 0%, transparent 62%),
        radial-gradient(260px 260px at 86% 84%, rgba(102, 102, 220, .18) 0%, transparent 60%);
    filter: saturate(1.04) contrast(1.02);
}

#mission.mission-abstract::after {
    /* drifting soft accents */
    animation: missionDrift 16s ease-in-out infinite alternate;
    opacity: .9;
}

/* Subtle animated ring inside the card */
#mission.mission-abstract .mission-unified::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        conic-gradient(from 0deg,
            rgba(32, 147, 250, .16),
            rgba(102, 102, 220, .12),
            rgba(152, 95, 208, .10),
            rgba(238, 115, 97, .10),
            rgba(234, 138, 91, .10),
            rgba(32, 147, 250, .16));
    mask: radial-gradient(closest-side, transparent 54%, #000 56%);
    opacity: .6;
    animation: missionSpin 28s linear infinite;
}

#mission.mission-abstract .mission-unified::after {
    /* faint cyan line/bar accent */
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: min(72%, 520px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
    opacity: .7;
}

/* Heading pill stays centered; keep your prior style */
#mission .audience-title.mission-heading {
    text-align: center;
}

/* Gentle motion for background (keeps it lively/creative without distraction) */
@keyframes missionDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        filter: hue-rotate(0deg);
    }

    100% {
        transform: translate3d(0, -4px, 0) scale(1.01);
        filter: hue-rotate(6deg);
    }
}

@keyframes missionSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Make sure shapes never cover the text */
#mission.mission-abstract .mission-unified>* {
    position: relative;
    z-index: 1;
}


/* === FOOTER LAYOUT POLISH (home.css) =================================== */
.homepage-footer {
    background: #ffffff;
    border-top: 1px solid #e7effd;
    margin-top: 28px;
}

.homepage-footer .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 16px 26px;
}

.homepage-footer .footer-brand {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.homepage-footer .footer-logo {
    height: 40px;
    width: auto;
    display: block;
}

.homepage-footer .footer-social {
    display: inline-flex;
    gap: 10px;
}

.homepage-footer .footer-social .social-link img {
    width: 22px;
    height: 22px;
    display: block;
    filter: saturate(1);
    transition: transform .18s ease, filter .18s ease;
}

.homepage-footer .footer-social .social-link:hover img {
    transform: translateY(-1px);
    filter: saturate(1.15) contrast(1.05);
}

/* Grid now supports 4 columns incl. For Patients */
.homepage-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    justify-items: start;
    margin-top: 8px;
}

@media (max-width: 960px) {
    .homepage-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .homepage-footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

.homepage-footer .footer-col h4 {
    margin: 0 0 8px;
    font-weight: 800;
    color: #0D4CAC;
    /* primary royal blue */
    font-size: 1rem;
}

.homepage-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.homepage-footer .footer-col a,
.homepage-footer .footer-col .disabled-link {
    text-decoration: none;
    font-weight: 600;
    color: #223050;
    line-height: 1.35;
}

.homepage-footer .footer-col a:hover {
    color: #0C4FC7;
    /* bright chart blue */
}

/* “Look like a link but not clickable” */
.homepage-footer .footer-col .disabled-link[aria-disabled="true"] {
    color: #8aa0bf;
    pointer-events: none;
    /* important */
    cursor: default;
    text-decoration: none;
}

.homepage-footer .footer-divider {
    border: 0;
    border-top: 1px solid #e7effd;
    margin: 16px 0 10px;
}

.homepage-footer .footer-bottom {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.homepage-footer .footer-links .footer-menu {
    display: inline-flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.homepage-footer .footer-links a {
    color: #223050;
    text-decoration: none;
    font-weight: 600;
}

.homepage-footer .footer-links a:hover {
    color: #0C4FC7;
}

.homepage-footer .footer-copy {
    margin: 0;
    color: #6b7c96;
    font-size: .92rem;
}

/* === MISSION BAND: Abstract shapes + centered CTA (home.css) ============ */
.mission-bleed {
    margin: 22px 0 12px;
    overflow: hidden;
    /* contain decorative shapes */
}

#mission.mission-abstract {
    position: relative;
    isolation: isolate;
    /* slim, centered band */
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 18px 26px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e8efff;
    box-shadow: 0 8px 24px rgba(13, 76, 172, .06);
}

/* Decorative, non-overlapping abstract circles (behind text) */
#mission.mission-abstract::before,
#mission.mission-abstract::after {
    content: "";
    position: absolute;
    z-index: -1;
    /* behind content */
    inset: auto auto;
    /* we place via width/height + transforms */
    border-radius: 50%;
    pointer-events: none;
    opacity: .55;
    filter: blur(0.2px);
}

/* Left-blend cluster */
#mission.mission-abstract::before {
    width: 360px;
    height: 360px;
    left: -120px;
    top: -80px;
    background:
        radial-gradient(120px 120px at 60% 30%, #B5DEFD 0%, transparent 72%),
        radial-gradient(110px 110px at 30% 70%, #2093FA 0%, transparent 72%),
        radial-gradient(90px 90px at 20% 35%, #985FD0 0%, transparent 72%);
}

/* Right-blend cluster */
#mission.mission-abstract::after {
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -120px;
    background:
        radial-gradient(150px 150px at 50% 50%, #6666DC 0%, transparent 70%),
        radial-gradient(120px 120px at 70% 30%, #EA8A5B 0%, transparent 70%),
        radial-gradient(100px 100px at 35% 70%, #EE7361 0%, transparent 70%);
}

/* Heading already centered in markup; give it brand weight */
#mission .mission-heading {
    color: #0D4CAC;
    font-weight: 900;
    margin-bottom: 12px;
}

/* Center + slim mission card */
#mission .mission-unified--centered {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

#mission .mission-unified--centered .mission-statement {
    color: #223050;
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 6px 0 12px;
}

/* CTA row centered */
#mission .mission-cta {
    margin-top: 4px;
}

#mission .mission-cta .cta-text {
    margin: 0 0 10px;
    color: #223050;
    font-weight: 600;
}

/* Slightly longer, centered button */
#mission .mission-cta .mission-cta-btn {
    display: inline-block;
    padding: 12px 22px;
    /* longer */
    border-radius: 999px;
    background: #0D4CAC;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #0D4CAC;
    transition: transform .18s ease, filter .18s ease;
}

#mission .mission-cta .mission-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

/* Keep pointer arrow subtle if you still want it visible */
#mission .mission-cta .cta-pointer {
    display: none;
}

/* remove if you prefer cleaner center */