/* ==========================================================================
   Videsh Mitra — an initiative of NexGen Foundation
   Single stylesheet. No framework, no jQuery, no scroll-reveal.

   Palette carries NexGen's identity across (#FF5528 / #FFA415 / #122F2A) so
   the two sites read as one family. Type is Nunito Sans + Rubik, as on
   nexgenfoundations.org.

   Deliberate choices, from plan.md §6.2:
   - Nothing is hidden until JavaScript reveals it. Content is visible on
     first paint, always.
   - Animation is opt-out via prefers-reduced-motion and is never load-bearing.
   - /get-help (.vm-lean) drops webfonts and decoration to stay under 200KB.
   ========================================================================== */

:root {
    /* Brand — matched to nexgenfoundations.org */
    --vm-base:        #FF5528;
    --vm-base-dark:   #D93E16;
    --vm-secondary:   #FFA415;
    --vm-black:       #122F2A;
    --vm-black-soft:  #1D423B;
    --vm-gray:        #F1F6F7;
    --vm-white:       #FFFFFF;

    /* Text */
    --vm-text:        #3A3A3A;
    --vm-text-muted:  #63706D;
    --vm-heading:     #122F2A;

    /* Semantic */
    --vm-danger:      #C42B10;
    --vm-danger-bg:   #FFF1ED;
    --vm-success:     #1F7A4D;
    --vm-success-bg:  #EEF7F2;
    --vm-warn:        #8A5A00;
    --vm-warn-bg:     #FFF6E4;
    --vm-border:      #DDE5E4;

    /* Type */
    --vm-font:        "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --vm-font-head:   "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Rhythm */
    --vm-wrap:        1140px;
    --vm-gap:         clamp(1rem, 3vw, 2rem);
    --vm-section:     clamp(2.75rem, 7vw, 5rem);
    --vm-radius:      12px;
    --vm-radius-lg:   20px;
    --vm-shadow:      0 1px 2px rgba(18, 47, 42, .06), 0 8px 24px rgba(18, 47, 42, .07);
}

/* On the lean help page, skip the webfont entirely. */
.vm-lean {
    --vm-font:      system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --vm-font-head: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--vm-font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--vm-text);
    background: var(--vm-white);
    /* Room for the fixed mobile help bar. */
    padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4 {
    font-family: var(--vm-font-head);
    color: var(--vm-heading);
    line-height: 1.2;
    margin: 0 0 .6em;
    font-weight: 800;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(1.85rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--vm-base-dark); text-underline-offset: .18em; }
a:hover { color: var(--vm-base); }

img, svg { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li + li { margin-top: .35em; }

hr { border: 0; border-top: 1px solid var(--vm-border); margin: 2.5rem 0; }

/* Visible focus everywhere. Non-negotiable. */
:focus-visible {
    outline: 3px solid var(--vm-base);
    outline-offset: 2px;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.vm-wrap {
    width: 100%;
    max-width: var(--vm-wrap);
    margin-inline: auto;
    padding-inline: var(--vm-gap);
}

.vm-section { padding-block: var(--vm-section); }
.vm-section--tint { background: var(--vm-gray); }
.vm-section--dark { background: var(--vm-black); color: #DDE7E4; }
.vm-section--dark h2,
.vm-section--dark h3 { color: #fff; }

.vm-narrow { max-width: 44rem; }
.vm-measure { max-width: 62ch; }

.vm-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.vm-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.vm-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.vm-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.vm-eyebrow {
    display: inline-block;
    font-family: var(--vm-font-head);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vm-base);
    margin-bottom: .7rem;
}

.vm-lead { font-size: 1.15rem; color: var(--vm-text-muted); }

.vm-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--vm-black);
    color: #fff;
    padding: .75rem 1.25rem;
    z-index: 999;
}
.vm-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.vm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;              /* comfortable touch target */
    padding: .7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--vm-font-head);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}

.vm-btn--help {
    background: var(--vm-base);
    color: #fff;
    box-shadow: 0 2px 10px rgba(255, 85, 40, .32);
}
.vm-btn--help:hover, .vm-btn--help:focus { background: var(--vm-base-dark); color: #fff; }

.vm-btn--primary { background: var(--vm-black); color: #fff; }
.vm-btn--primary:hover, .vm-btn--primary:focus { background: var(--vm-black-soft); color: #fff; }

.vm-btn--secondary { background: var(--vm-secondary); color: #3A2A00; }
.vm-btn--secondary:hover, .vm-btn--secondary:focus { background: #E8940F; color: #3A2A00; }

.vm-btn--ghost {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}
.vm-btn--ghost:hover, .vm-btn--ghost:focus { background: rgba(255,255,255,.12); }

.vm-btn--block { width: 100%; }

.vm-btnrow { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------------------
   Quick exit
   -------------------------------------------------------------------------- */

.vm-quick-exit {
    position: fixed;
    top: .6rem;
    right: .6rem;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: var(--vm-black);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--vm-shadow);
}
.vm-quick-exit:hover, .vm-quick-exit:focus { background: var(--vm-danger); color: #fff; }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.vm-parentbar {
    background: var(--vm-black);
    color: #C9D8D4;
    font-size: .82rem;
}
.vm-parentbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding-block: .3rem;
    /* Reserve room for the fixed Quick exit control, which overlays this bar.
       Its label is translated too, so it grows in Malayalam, Tamil and Urdu —
       without a reserve it lands on top of the language selector. */
    padding-right: clamp(8.5rem, 15vw, 15rem);
}
.vm-parentbar__link { color: #FFC98A; text-decoration: none; font-weight: 500; }
.vm-parentbar__link:hover { color: #fff; text-decoration: underline; }
.vm-parentbar__tag { letter-spacing: .05em; color: #9DB3AE; }
.vm-parentbar__right {
    display: flex;
    align-items: center;
    gap: .5rem 1rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Google Translate control

   The widget injects its own markup and inline styles, so most of this is
   overriding Google rather than styling our own element.
   -------------------------------------------------------------------------- */

.vm-translate {
    display: flex;
    align-items: center;
    gap: .35rem;
    /* Reserve the width before Google's script lands, so the bar does not
       jump when it does. */
    min-height: 26px;
}
.vm-translate__icon { display: flex; color: var(--vm-secondary); }

/* Google's <select> — white pill, brand orange text, to match the site rather
   than Google's default chrome. */
.vm-translate .goog-te-combo {
    appearance: none;
    -webkit-appearance: none;
    margin: 0 !important;
    padding: .25rem 1.6rem .25rem .6rem;
    max-width: 11rem;
    background: #fff
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%23D93E16' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
        no-repeat right .5rem center / 11px;
    border: 1px solid #fff;
    border-radius: 999px;
    color: var(--vm-base-dark);
    font-family: var(--vm-font-head);
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}
.vm-translate .goog-te-combo:hover { border-color: var(--vm-secondary); }
.vm-translate .goog-te-combo option {
    color: var(--vm-base-dark);
    background: #fff;
    font-weight: 500;
}
.vm-translate .goog-te-combo:focus-visible { outline: 2px solid var(--vm-secondary); outline-offset: 2px; }

/* "Show original" — only rendered while a translation is active. */
.vm-translate__reset {
    padding: .25rem .7rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    font-family: var(--vm-font-head);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    white-space: nowrap;
}
.vm-translate__reset:hover { background: #fff; color: var(--vm-base-dark); border-color: #fff; }
.vm-translate__reset:focus-visible { outline: 2px solid var(--vm-secondary); outline-offset: 2px; }
.vm-translate__reset[hidden] { display: none; }

/* Google's "Powered by" text and logo inside the widget — redundant next to a
   control that plainly says what it is. */
.vm-translate .goog-logo-link,
.vm-translate .goog-te-gadget span { display: none !important; }
.vm-translate .goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
    line-height: 1 !important;
}

/* Google injects a fixed banner frame and pushes <body> down by 40px, which
   breaks the sticky masthead. Neutralise both. */
.skiptranslate > iframe,
iframe.goog-te-banner-frame { display: none !important; visibility: hidden !important; }
body { top: 0 !important; position: static !important; }

/* Its loading spinner flashes in the top-left corner while translating. */
.goog-te-spinner-pos,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO { display: none !important; }

/* It also wraps translated text in <font> tags; keep them inheriting. */
font { font: inherit !important; color: inherit !important; background: none !important; }

.vm-masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--vm-white);
    border-bottom: 1px solid var(--vm-border);
}
.vm-masthead__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
    flex-wrap: wrap;
}

/* The masthead uses the same 1140px container as every other section, so the
   logo lines up with the page content below it. Fitting brand + eight links +
   the CTA inside that width is what sets the 68em collapse breakpoint below. */

.vm-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    margin-right: auto;
    flex: 0 0 auto;
}
.vm-brand__mark { display: block; flex: none; }
.vm-brand__name {
    display: block;
    font-family: var(--vm-font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--vm-heading);
    line-height: 1.1;
    white-space: nowrap;
}

.vm-navtoggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .4rem .8rem;
    background: var(--vm-gray);
    border: 1px solid var(--vm-border);
    border-radius: 8px;
    font-family: var(--vm-font-head);
    font-weight: 700;
    color: var(--vm-heading);
    cursor: pointer;
}
.vm-navtoggle__bars,
.vm-navtoggle__bars::before,
.vm-navtoggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
}
.vm-navtoggle__bars { position: relative; }
.vm-navtoggle__bars::before { position: absolute; top: -6px; }
.vm-navtoggle__bars::after  { position: absolute; top: 6px; }

.vm-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem 1.15rem;
}
.vm-nav__list li { margin: 0; }
.vm-nav__list a {
    display: block;
    padding: .5rem 0;
    font-family: var(--vm-font-head);
    font-size: .95rem;
    font-weight: 600;
    color: var(--vm-heading);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.vm-nav__list a:hover { color: var(--vm-base); }
.vm-nav__list a[aria-current="page"] {
    color: var(--vm-base);
    border-bottom-color: var(--vm-base);
}

/* Desktop — one row, never wrapping.
   68em (1088px) is the narrowest viewport where the whole nav still fits inside
   the container (measured: needs 973px, has 1024px). Below that the toggle is
   the honest answer, not a wrapped second row. */
@media (min-width: 68em) {
    .vm-navtoggle { display: none; }

    .vm-masthead__inner { flex-wrap: nowrap; }

    .vm-nav {
        display: flex !important;
        align-items: center;
        gap: .9rem;
        flex: 0 1 auto;
        min-width: 0;
    }
    .vm-nav__list {
        flex-wrap: nowrap;
        gap: 0 .8rem;
        /* Translated labels are longer than the English ones — Malayalam and
           Tamil roughly double the width. Without this the list overflows the
           container and pushes the Get Help CTA off-screen, which is the one
           control that must never disappear. Scroll the links instead. */
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .vm-nav__list::-webkit-scrollbar { display: none; }
    .vm-nav__list a {
        font-size: .875rem;
        white-space: nowrap;
    }
    .vm-nav__cta {
        flex: none;
        padding-inline: 1.15rem;
        font-size: .925rem;
    }
}

/* Mobile and tablet: nav collapses. Closed by default only when JS is present —
   with no JS the menu stays open and usable rather than becoming unreachable. */
@media (max-width: 67.99em) {
    .vm-nav {
        flex-basis: 100%;
        padding-bottom: .9rem;
    }
    .vm-nav__list { flex-direction: column; gap: 0; }
    .vm-nav__list li + li { border-top: 1px solid var(--vm-border); }
    .vm-nav__list a { padding: .8rem 0; }
    .vm-nav__cta { margin-top: .8rem; width: 100%; }
    html.vm-js .vm-nav[hidden] { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.vm-hero {
    background: linear-gradient(160deg, #122F2A 0%, #1D423B 58%, #24544A 100%);
    color: #E3EEEB;
    padding-block: clamp(2.5rem, 7vw, 4.5rem);
}
.vm-hero h1 { color: #fff; max-width: 18ch; }
.vm-hero__tag {
    font-family: var(--vm-font-head);
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--vm-secondary);
    margin-bottom: .5rem;
}
.vm-hero__lead {
    font-size: clamp(1.05rem, 2.1vw, 1.25rem);
    max-width: 56ch;
    color: #CFE0DC;
}
.vm-hero__actions { margin-top: 1.6rem; }
.vm-hero__note {
    margin-top: 1.4rem;
    font-size: .9rem;
    color: #9FB8B3;
    max-width: 52ch;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.vm-card {
    background: var(--vm-white);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius);
    padding: 1.5rem;
}

/* Equal heights ONLY when the card is itself a grid item. A card stacked
   inside a column must size to its content — `height: 100%` there resolves
   against the whole stretched column and each card balloons to full height,
   overflowing the section. */
.vm-grid > .vm-card,
.vm-grid > .vm-pillar { height: 100%; }
.vm-card h3 { margin-bottom: .4rem; }
.vm-card p:last-child { margin-bottom: 0; }
.vm-card--link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.vm-card--link:hover { border-color: var(--vm-base); color: inherit; }
.vm-card__more {
    display: inline-block;
    margin-top: .9rem;
    font-family: var(--vm-font-head);
    font-weight: 700;
    color: var(--vm-base-dark);
}

.vm-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: .8rem;
    border-radius: 50%;
    background: var(--vm-gray);
    font-family: var(--vm-font-head);
    font-weight: 800;
    color: var(--vm-base);
}

/* Pillars — height comes from the scoped `.vm-grid >` rule above. */
.vm-pillar {
    border-top: 4px solid var(--vm-base);
    background: var(--vm-white);
    border-radius: var(--vm-radius);
    padding: 1.4rem;
    box-shadow: var(--vm-shadow);
}
.vm-pillar__title {
    font-family: var(--vm-font-head);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--vm-heading);
    margin-bottom: .25rem;
}
.vm-pillar__motto {
    font-size: .9rem;
    font-weight: 600;
    color: var(--vm-base);
    margin-bottom: .6rem;
}
.vm-pillar__body { font-size: .95rem; color: var(--vm-text-muted); margin: 0; }

.vm-pillar:nth-child(2) { border-top-color: var(--vm-secondary); }
.vm-pillar:nth-child(2) .vm-pillar__motto { color: #B87400; }
.vm-pillar:nth-child(3) { border-top-color: #2F7D8C; }
.vm-pillar:nth-child(3) .vm-pillar__motto { color: #256571; }
.vm-pillar:nth-child(4) { border-top-color: var(--vm-success); }
.vm-pillar:nth-child(4) .vm-pillar__motto { color: var(--vm-success); }

.vm-flow {
    font-family: var(--vm-font-head);
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--vm-text-muted);
    text-align: center;
    margin-top: 1.5rem;
}
.vm-flow span { color: var(--vm-base); }

/* Steps */
.vm-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.vm-steps li {
    position: relative;
    margin: 0 0 1.5rem;
    padding-left: 3.4rem;
}
.vm-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vm-base);
    color: #fff;
    font-family: var(--vm-font-head);
    font-weight: 800;
}
.vm-steps li::after {
    content: "";
    position: absolute;
    left: 1.2rem;
    top: 2.6rem;
    bottom: -1.5rem;
    width: 2px;
    background: var(--vm-border);
}
.vm-steps li:last-child::after { display: none; }
.vm-steps h3 { margin-bottom: .25rem; font-size: 1rem; letter-spacing: .08em; }
.vm-steps p { margin: 0; color: var(--vm-text-muted); }

/* Tick list */
.vm-ticks { list-style: none; padding: 0; margin: 0; }
.vm-ticks li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: .5rem;
}
.vm-ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--vm-base);
}
.vm-ticks--2 { columns: 2; column-gap: 2rem; }
@media (max-width: 40em) { .vm-ticks--2 { columns: 1; } }

/* Chips */
.vm-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.vm-chips li { margin: 0; }
.vm-chip {
    display: inline-block;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: var(--vm-gray);
    border: 1px solid var(--vm-border);
    font-size: .88rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Contact methods — one panel with a row per channel, rather than a stack of
   separate boxes each repeating the same border.
   -------------------------------------------------------------------------- */

.vm-contactlist { list-style: none; margin: 0; padding: 0; }

.vm-contactlist li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 0;
    padding: 1.15rem 0;
    border-top: 1px solid var(--vm-border);
}
.vm-contactlist li:first-child { border-top: 0; padding-top: 0; }
.vm-contactlist li:last-child { padding-bottom: 0; }

.vm-contactlist__icon {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vm-gray);
    color: var(--vm-base-dark);
    font-size: 1.05rem;
    line-height: 1;
}

.vm-contactlist__label {
    display: block;
    font-family: var(--vm-font-head);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--vm-text-muted);
    margin-bottom: .15rem;
}
.vm-contactlist__value {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
}
.vm-contactlist__note {
    display: block;
    font-size: .88rem;
    color: var(--vm-text-muted);
    margin-top: .1rem;
}

/* --------------------------------------------------------------------------
   Fundraising campaigns
   -------------------------------------------------------------------------- */

.vm-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .5rem;
}
.vm-filter {
    display: inline-block;
    padding: .45rem 1rem;
    border: 1px solid var(--vm-border);
    border-radius: 999px;
    background: var(--vm-white);
    font-family: var(--vm-font-head);
    font-size: .9rem;
    font-weight: 600;
    color: var(--vm-heading);
    text-decoration: none;
}
.vm-filter:hover { border-color: var(--vm-base); color: var(--vm-base-dark); }
.vm-filter.is-active {
    background: var(--vm-base);
    border-color: var(--vm-base);
    color: #fff;
}

.vm-campaign {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.4rem;
    background: var(--vm-white);
    border: 1px solid var(--vm-border);
    border-top: 4px solid var(--vm-base);
    border-radius: var(--vm-radius);
    box-shadow: var(--vm-shadow);
}
.vm-campaign__head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    font-size: .82rem;
    color: var(--vm-text-muted);
}
.vm-campaign__ref {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-weight: 700;
    color: var(--vm-heading);
}
.vm-campaign__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .8rem 0 .6rem;
}
.vm-campaign__title { font-size: 1.1rem; margin-bottom: .4rem; }
.vm-campaign__title a { color: var(--vm-heading); text-decoration: none; }
.vm-campaign__title a:hover { color: var(--vm-base-dark); }
.vm-campaign__excerpt { font-size: .94rem; color: var(--vm-text-muted); }

.vm-campaign__figures {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 .5rem;
    padding-top: .9rem;
    border-top: 1px solid var(--vm-border);
}
.vm-campaign__figure {
    display: block;
    font-family: var(--vm-font-head);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--vm-heading);
    line-height: 1.2;
}
.vm-campaign__figure--lg { font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--vm-base-dark); }
.vm-campaign__figlabel {
    display: block;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--vm-text-muted);
}
.vm-campaign__pct { margin: .5rem 0 0; font-size: .9rem; color: var(--vm-text-muted); }
.vm-campaign .vm-btn { margin-top: auto; }

/* Verified badge — green, and clickable through to the explanation. */
.vm-badge--verified {
    background: var(--vm-success-bg);
    color: var(--vm-success);
    text-decoration: none;
}
.vm-badge--verified::before { content: "✓ "; }

/* --------------------------------------------------------------------------
   Notices
   -------------------------------------------------------------------------- */

.vm-notice {
    border-left: 4px solid var(--vm-warn);
    background: var(--vm-warn-bg);
    border-radius: 0 var(--vm-radius) var(--vm-radius) 0;
    padding: 1.1rem 1.25rem;
    font-size: .95rem;
}
.vm-notice h3 {
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vm-warn);
    margin-bottom: .4rem;
}
.vm-notice--danger { border-left-color: var(--vm-danger); background: var(--vm-danger-bg); }
.vm-notice--danger h3 { color: var(--vm-danger); }
.vm-notice--success { border-left-color: var(--vm-success); background: var(--vm-success-bg); }
.vm-notice--success h3 { color: var(--vm-success); }

.vm-flash {
    margin-top: 1rem;
    padding: .9rem 1.1rem;
    border-radius: var(--vm-radius);
    font-weight: 500;
}
.vm-flash--success { background: var(--vm-success-bg); color: #145435; }
.vm-flash--error   { background: var(--vm-danger-bg);  color: #8E1F0B; }
.vm-flash--info    { background: var(--vm-gray); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.vm-form { max-width: 44rem; }

.vm-field { margin-bottom: 1.4rem; }
.vm-field > label,
.vm-fieldset__legend {
    display: block;
    font-family: var(--vm-font-head);
    font-weight: 700;
    color: var(--vm-heading);
    margin-bottom: .35rem;
}
.vm-hint {
    display: block;
    font-size: .88rem;
    color: var(--vm-text-muted);
    margin-bottom: .45rem;
}
.vm-optional {
    font-weight: 500;
    font-size: .85rem;
    color: var(--vm-text-muted);
}

.vm-input,
.vm-select,
.vm-textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: .65rem .85rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--vm-text);
    background: var(--vm-white);
    border: 2px solid var(--vm-border);
    border-radius: 10px;
}
.vm-input:focus, .vm-select:focus, .vm-textarea:focus { border-color: var(--vm-base); }
.vm-textarea { min-height: 8rem; resize: vertical; }

.vm-fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }

.vm-choices { display: grid; gap: .55rem; }
.vm-choices--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.vm-choice {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .85rem 1rem;
    border: 2px solid var(--vm-border);
    border-radius: 10px;
    cursor: pointer;
    background: var(--vm-white);
}
.vm-choice:hover { border-color: #B9C9C6; }
.vm-choice input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--vm-base); }
.vm-choice:has(input:checked) { border-color: var(--vm-base); background: #FFF6F3; }
.vm-choice__label { font-weight: 500; }
.vm-choice__note { display: block; font-size: .87rem; color: var(--vm-text-muted); }

.vm-field-error {
    margin: .4rem 0 0;
    color: var(--vm-danger);
    font-size: .9rem;
    font-weight: 500;
}
.vm-input[aria-invalid="true"],
.vm-select[aria-invalid="true"],
.vm-textarea[aria-invalid="true"] { border-color: var(--vm-danger); }

.vm-errorsummary {
    border: 2px solid var(--vm-danger);
    background: var(--vm-danger-bg);
    border-radius: var(--vm-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.vm-errorsummary h2 { font-size: 1.05rem; color: var(--vm-danger); margin-bottom: .4rem; }
.vm-errorsummary ul { margin: 0; padding-left: 1.2rem; }

/* Honeypot — off-screen rather than display:none, which some bots detect. */
.vm-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* Progress */
.vm-progress { margin-bottom: 2rem; }
.vm-progress__label {
    font-family: var(--vm-font-head);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--vm-text-muted);
    margin-bottom: .45rem;
}
.vm-progress__track {
    height: 8px;
    background: var(--vm-gray);
    border: 1px solid var(--vm-border);
    border-radius: 999px;
    overflow: hidden;
}
.vm-progress__bar { height: 100%; background: var(--vm-base); border-radius: 999px; }

.vm-formnav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vm-border);
}
.vm-formnav__back { margin-right: auto; font-weight: 600; }

/* Reference number display */
.vm-ref {
    display: inline-block;
    padding: .6rem 1.1rem;
    border: 2px dashed var(--vm-base);
    border-radius: var(--vm-radius);
    background: #FFF6F3;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: clamp(1.15rem, 3.4vw, 1.6rem);
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--vm-heading);
}

/* --------------------------------------------------------------------------
   Emergency strip
   -------------------------------------------------------------------------- */

.vm-emergency { background: var(--vm-base); color: #fff; padding-block: clamp(2rem, 5vw, 3rem); }
.vm-emergency__inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.vm-emergency__title { color: #fff; margin-bottom: .35rem; }
.vm-emergency__body { color: #FFE6DE; max-width: 54ch; margin: 0; font-size: .98rem; }
.vm-emergency__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.vm-emergency .vm-btn--help { background: #fff; color: var(--vm-base-dark); box-shadow: none; }
.vm-emergency .vm-btn--help:hover { background: var(--vm-black); color: #fff; }
.vm-emergency .vm-btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.vm-footer { background: var(--vm-black); color: #B9CBC7; font-size: .94rem; }
.vm-footer a { color: #DCE9E6; text-decoration: none; }
.vm-footer a:hover { color: #fff; text-decoration: underline; }

.vm-footer__grid {
    display: grid;
    gap: 2rem;
    padding-block: clamp(2.25rem, 5vw, 3.25rem);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.vm-footer__col--brand { grid-column: span 1; }
.vm-footer__name {
    font-family: var(--vm-font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .3rem;
}
.vm-footer__tag { margin: 0; color: var(--vm-secondary); font-size: .9rem; letter-spacing: .04em; }
.vm-footer__parent { margin: .9rem 0 0; }
.vm-footer__parent a { color: var(--vm-secondary); font-weight: 600; }
.vm-footer__closing {
    margin-top: 1rem;
    font-size: .88rem;
    color: #8FA6A1;
    font-style: italic;
    max-width: 34ch;
}

.vm-footer__heading {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: .8rem;
}
.vm-footer__list { list-style: none; margin: 0; padding: 0; }
.vm-footer__list li { margin-bottom: .45rem; }
.vm-footer__label { display: block; font-size: .8rem; color: #8FA6A1; }
.vm-footer__note { margin-top: .9rem; font-size: .84rem; color: #8FA6A1; }

.vm-footer__legal { border-top: 1px solid rgba(255,255,255,.12); }
.vm-footer__legal-inner {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    padding-block: 1.1rem;
    font-size: .85rem;
}
.vm-footer__legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.vm-footer__legal-links li { margin: 0; }
.vm-footer__copyright { margin: 0; color: #8FA6A1; }

/* --------------------------------------------------------------------------
   Mobile help bar
   -------------------------------------------------------------------------- */

.vm-helpbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    display: grid;
    grid-template-columns: auto 1fr auto;
}
/* No published phone number: Get Help and WhatsApp share the bar. */
.vm-helpbar--nocall { grid-template-columns: 1fr auto; }
.vm-helpbar {
    gap: 1px;
    background: var(--vm-border);
    box-shadow: 0 -2px 14px rgba(18, 47, 42, .16);
    padding-bottom: env(safe-area-inset-bottom);
}
.vm-helpbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: .5rem .9rem;
    font-family: var(--vm-font-head);
    font-weight: 800;
    text-decoration: none;
    background: var(--vm-white);
    color: var(--vm-heading);
}
.vm-helpbar__help { background: var(--vm-base) !important; color: #fff !important; }
.vm-helpbar__wa   { color: #0B7A44 !important; }

@media (min-width: 68em) { .vm-helpbar { display: none; } }
@media (max-width: 67.99em) { body { padding-bottom: 56px; } }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.vm-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.vm-stack > * + * { margin-top: 1.1rem; }
.vm-mt  { margin-top: 1.5rem; }
.vm-mt2 { margin-top: 2.5rem; }
.vm-center { text-align: center; }

.vm-tablewrap { overflow-x: auto; }
.vm-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.vm-table th, .vm-table td {
    text-align: left;
    padding: .7rem .8rem;
    border-bottom: 1px solid var(--vm-border);
    vertical-align: top;
}
.vm-table th { font-family: var(--vm-font-head); color: var(--vm-heading); }

.vm-badge {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.vm-badge--critical { background: var(--vm-danger-bg); color: var(--vm-danger); }
.vm-badge--high     { background: var(--vm-warn-bg);   color: var(--vm-warn); }
.vm-badge--medium   { background: var(--vm-gray);      color: var(--vm-text); }
.vm-badge--low      { background: var(--vm-success-bg);color: var(--vm-success); }

/* Breadcrumb */
.vm-crumbs { font-size: .87rem; color: var(--vm-text-muted); padding-top: 1.25rem; }
.vm-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.vm-crumbs li { margin: 0; }
.vm-crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--vm-border); }

/* Page header */
.vm-pagehead {
    background: var(--vm-gray);
    padding-block: clamp(1.75rem, 4.5vw, 3rem);
    border-bottom: 1px solid var(--vm-border);
}
.vm-pagehead h1 { margin-bottom: .5rem; }
.vm-pagehead p { color: var(--vm-text-muted); max-width: 62ch; margin: 0; }

/* Print */
@media print {
    .vm-helpbar, .vm-quick-exit, .vm-navtoggle, .vm-nav, .vm-emergency { display: none !important; }
    body { color: #000; }
    .vm-masthead { position: static; }
}
