/* ==========================================================================
   Rashtravadi Janta Party — design system
   Self-contained. No CSS framework.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */

:root {
    /* Brand */
    --ink:        #08130E;
    --ink-soft:   #14261E;
    --green-900:  #063A25;
    --green-800:  #08492E;
    --green-700:  #0B5D3B;
    --green-600:  #0E7A4A;
    --green-500:  #13A15F;
    --green-050:  #E8F4EE;
    --saffron:    #F59E0B;
    --saffron-600:#D97706;
    --saffron-050:#FEF3E2;

    /* Neutrals */
    --white:  #FFFFFF;
    --sand:   #F7F9F8;
    --mist:   #EEF2F0;
    --line:   #E2E9E5;
    --line-2: #D3DDD8;
    --slate:  #5A6B63;
    --slate-2:#7E8D86;

    /* Type */
    --font: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fs-xs:   0.75rem;
    --fs-sm:   0.8125rem;
    --fs-base: 0.9375rem;
    --fs-md:   1.0625rem;
    --fs-lg:   clamp(1.125rem, 1.6vw, 1.25rem);
    --fs-h4:   clamp(1.1rem,  1.8vw, 1.3rem);
    --fs-h3:   clamp(1.3rem,  2.2vw, 1.6rem);
    --fs-h2:   clamp(1.75rem, 3.4vw, 2.6rem);
    --fs-h1:   clamp(2.1rem,  5.2vw, 3.9rem);

    /* Space */
    --gutter:  clamp(1.15rem, 4vw, 2.5rem);
    --section: clamp(3.5rem, 7vw, 6.5rem);
    --maxw:    1260px;

    /* Shape */
    --r-xs: 6px;
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 34px;
    --r-pill: 999px;

    /* Depth */
    --sh-xs: 0 1px 2px rgba(8, 30, 20, .06);
    --sh-sm: 0 2px 10px rgba(8, 30, 20, .06);
    --sh:    0 10px 30px -12px rgba(8, 30, 20, .18);
    --sh-lg: 0 26px 60px -22px rgba(8, 30, 20, .32);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------- baseline */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--slate);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    color: var(--ink);
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--saffron-600); }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}

::selection { background: var(--green-500); color: #fff; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--green-700); color: #fff;
    padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ------------------------------------------------------------- layout */

.wrap {
    width: 100%; max-width: var(--maxw);
    margin-inline: auto; padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint  { background: var(--sand); }
.section--mist  { background: var(--mist); }
.section--dark  { background: var(--ink); color: rgba(255,255,255,.72); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--dark strong { color: #fff; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.75rem, 3.5vw, 3rem); }
.grid--sidebar-left { grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.75rem, 3.5vw, 3rem); }

@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--sidebar, .grid--sidebar-left { grid-template-columns: minmax(0, 1fr); }
    .grid--sidebar-left > :first-child { order: 2; }
}
@media (max-width: 760px) {
    .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------- section heads */

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: .16em;
    color: var(--green-600); margin-bottom: .85rem;
}
.eyebrow::before {
    content: ''; width: 26px; height: 2px;
    background: var(--saffron); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--saffron); }
.section--dark .eyebrow::before { background: var(--saffron); }

.sec-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.sec-head__text { max-width: 620px; }
.sec-head h2 { margin-bottom: .35rem; }
.sec-head p  { color: var(--slate); margin: 0; font-size: var(--fs-md); }
.section--dark .sec-head p { color: rgba(255,255,255,.68); }

.link-more {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 700; font-size: var(--fs-sm);
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--green-700); white-space: nowrap;
}
.link-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }
.section--dark .link-more { color: var(--saffron); }

/* ------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.6rem; border: 1.5px solid transparent; border-radius: var(--r-pill);
    font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em;
    line-height: 1; text-align: center; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease),
                background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; box-shadow: var(--sh); transform: translateY(-2px); }

.btn--accent { background: var(--saffron); color: #3B2500; }
.btn--accent:hover { background: #FFB020; color: #3B2500; box-shadow: 0 14px 30px -14px rgba(217,119,6,.85); transform: translateY(-2px); }

.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-050); }

.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: #fff; color: var(--green-800); box-shadow: var(--sh); transform: translateY(-2px); }

.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.btn--sm { padding: .6rem 1.15rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

/* -------------------------------------------------------------- chips */

.chip {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .7rem; border-radius: var(--r-pill);
    font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    background: var(--green-050); color: var(--green-700);
}
.chip--accent { background: var(--saffron-050); color: var(--saffron-600); }
.chip--blue   { background: #E6EFFB; color: #1B5FA8; }
.chip--red    { background: #FCEAE8; color: #B5342A; }
.chip--solid  { background: var(--green-700); color: #fff; }
.chip--glass  { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }

.meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem;
    font-size: var(--fs-sm); color: var(--slate-2);
}
.meta-item { display: inline-flex; align-items: center; gap: .4rem; }
.meta-item svg { width: 15px; height: 15px; opacity: .75; }

/* ======================================================== TOP BAR */

.topbar {
    background: var(--ink);
    color: rgba(255,255,255,.62);
    font-size: var(--fs-xs);
}
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar__list a { color: rgba(255,255,255,.62); display: inline-flex; align-items: center; gap: .45rem; }
.topbar__list a:hover { color: #fff; }
.topbar__list svg { width: 14px; height: 14px; color: var(--saffron); }

.social { display: flex; align-items: center; gap: .35rem; }
.social a {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    color: rgba(255,255,255,.7); background: rgba(255,255,255,.08);
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.social a:hover { background: var(--saffron); color: #3B2500; transform: translateY(-2px); }
.social svg { width: 15px; height: 15px; }

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

/* ======================================================== MASTHEAD */

.masthead {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 6px 26px -14px rgba(8,30,20,.35); }

.masthead__inner {
    display: flex; align-items: center; gap: 1.5rem;
    min-height: 78px; transition: min-height .3s var(--ease);
}
.masthead.is-stuck .masthead__inner { min-height: 66px; }

.brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; transition: width .3s var(--ease), height .3s var(--ease); }
.masthead.is-stuck .brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-size: clamp(.95rem, 1.7vw, 1.14rem); font-weight: 800;
    letter-spacing: -.015em; color: var(--green-800); text-transform: uppercase;
}
.brand__sub { font-size: var(--fs-xs); font-weight: 600; color: var(--saffron-600); letter-spacing: .02em; }

@media (max-width: 420px) {
    .brand__name { font-size: .82rem; }
    .brand__sub  { display: none; }
}

/* ---- primary nav ---- */

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }

.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: .3rem;
    padding: .6rem .8rem; border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft);
    letter-spacing: .01em; white-space: nowrap;
}
.nav__link::after {
    content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
    height: 2px; border-radius: 2px; background: var(--saffron);
    transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--green-700); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--green-700); }
.nav__link svg { width: 13px; height: 13px; opacity: .6; transition: transform .25s var(--ease); }

.nav__item { position: relative; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + .45rem); left: 0; z-index: 20;
    min-width: 250px; padding: .6rem; margin: 0; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .6rem .8rem; border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
}
.dropdown a::after {
    content: '›'; opacity: 0; transform: translateX(-4px);
    transition: opacity .2s var(--ease), transform .2s var(--ease); color: var(--saffron);
}
.dropdown a:hover { background: var(--green-050); color: var(--green-800); }
.dropdown a:hover::after { opacity: 1; transform: translateX(0); }
.dropdown hr { margin: .4rem .6rem; }

.masthead__cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.icon-btn {
    width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--ink-soft); display: grid; place-items: center;
    transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.icon-btn:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-050); }
.icon-btn svg { width: 18px; height: 18px; }

@media (max-width: 1140px) { .nav, .masthead__cta .btn { display: none; } }
@media (min-width: 1141px) { .nav-toggle { display: none; } }

/* ---- search overlay ---- */

.searchbar {
    display: grid; grid-template-rows: 0fr;
    border-top: 1px solid transparent;
    transition: grid-template-rows .35s var(--ease), border-color .35s var(--ease);
}
.searchbar.is-open { grid-template-rows: 1fr; border-top-color: var(--line); }
.searchbar__inner { overflow: hidden; }
.searchbar form { display: flex; gap: .6rem; padding: 1.1rem 0; }
.searchbar input {
    flex: 1; padding: .9rem 1.25rem; border: 1.5px solid var(--line);
    border-radius: var(--r-pill); background: var(--sand); font-size: var(--fs-md);
}
.searchbar input:focus { outline: none; border-color: var(--green-600); background: #fff; }

/* ---- mobile drawer ---- */

.drawer {
    position: fixed; inset: 0 0 0 auto; z-index: 120;
    width: min(400px, 88vw); background: #fff;
    display: flex; flex-direction: column;
    transform: translateX(101%); transition: transform .38s var(--ease);
    box-shadow: var(--sh-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line);
}
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem var(--gutter) 2rem; }
.drawer__foot { padding: 1.1rem var(--gutter); border-top: 1px solid var(--line); display: grid; gap: .6rem; }

.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer nav a {
    display: block; padding: .95rem .25rem;
    font-size: var(--fs-md); font-weight: 600; color: var(--ink-soft);
}
.drawer nav a:hover, .drawer nav a.is-active { color: var(--green-700); }

.drawer__sub { list-style: none; margin: 0 0 .6rem; padding: 0 0 0 .9rem; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { padding: .55rem .25rem; font-size: var(--fs-base); font-weight: 500; color: var(--slate); }

.drawer__toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: .95rem .25rem; background: none; border: 0;
    font-size: var(--fs-md); font-weight: 600; color: var(--ink-soft); text-align: left;
}
.drawer__toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.backdrop {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(8,19,14,.55); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.backdrop.is-open { opacity: 1; visibility: visible; }

/* ============================================================ HERO */

.hero {
    position: relative; overflow: hidden;
    min-height: clamp(520px, 78vh, 780px);
    display: grid; align-items: center;
    background: var(--green-900);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
    width: 100%; height: 100%; object-fit: cover;
    animation: heroDrift 14s ease-out forwards;
}
.hero__slide.is-active img { animation: heroDrift 14s ease-out forwards; }
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    .hero__slide img { animation: none; }
}
.hero__slide::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(95deg, rgba(6,58,37,.96) 0%, rgba(6,58,37,.82) 34%, rgba(6,58,37,.35) 68%, rgba(6,58,37,.15) 100%),
        linear-gradient(to top, rgba(8,19,14,.75), transparent 45%);
}

.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 6rem); }
.hero__content { max-width: 660px; color: rgba(255,255,255,.85); }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .4rem .95rem .4rem .5rem; border-radius: var(--r-pill);
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    color: #fff; font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.25rem;
}
.hero__eyebrow img { width: 24px; height: 24px; }
.hero h1 {
    color: #fff; margin-bottom: 1rem;
    text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__lead {
    font-size: clamp(1rem, 1.9vw, 1.2rem); line-height: 1.65;
    color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__dots {
    display: flex; gap: .5rem; margin-top: 2.5rem;
}
.hero__dots button {
    width: 30px; height: 4px; border: 0; padding: 0; border-radius: 4px;
    background: rgba(255,255,255,.3); transition: background .25s var(--ease), width .25s var(--ease);
}
.hero__dots button.is-active { background: var(--saffron); width: 48px; }

.hero__arrows {
    position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 4vw, 2.75rem);
    z-index: 3; display: flex; gap: .5rem;
}
.hero__arrows button {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
    color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px);
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__arrows button:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.hero__arrows svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .hero__arrows { display: none; } }

/* ---- quick action strip ---- */

.quickstrip { position: relative; z-index: 5; margin-top: clamp(-4rem, -5vw, -3rem); }
.quickstrip__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
    background: var(--line); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--sh-lg);
}
.quick {
    display: flex; align-items: flex-start; gap: .9rem;
    padding: clamp(1.25rem, 2.4vw, 1.75rem); background: #fff;
    transition: background .25s var(--ease);
}
.quick:hover { background: var(--green-050); }
.quick__icon {
    width: 44px; height: 44px; border-radius: var(--r-sm); flex-shrink: 0;
    display: grid; place-items: center; background: var(--green-050); color: var(--green-700);
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.quick:hover .quick__icon { background: var(--green-700); color: #fff; transform: scale(1.06); }
.quick__icon svg { width: 21px; height: 21px; }
.quick--accent .quick__icon { background: var(--saffron-050); color: var(--saffron-600); }
.quick--accent:hover .quick__icon { background: var(--saffron); color: #3B2500; }
.quick strong { display: block; font-size: var(--fs-md); color: var(--ink); margin-bottom: .15rem; }
.quick span { display: block; font-size: var(--fs-sm); color: var(--slate-2); line-height: 1.5; }

@media (max-width: 900px) {
    .quickstrip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .quickstrip { margin-top: -1.5rem; }
    .quickstrip__grid { grid-template-columns: minmax(0, 1fr); }
    .quick { padding: 1.1rem; }
}

/* ==================================================== ABOUT + STATS */

.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } }

.about__media { position: relative; }
.about__media img {
    width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
    border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 90px;
    box-shadow: var(--sh-lg);
}
.about__badge {
    position: absolute; right: -10px; bottom: 34px;
    background: #fff; border-radius: var(--r-lg); padding: 1rem 1.25rem;
    box-shadow: var(--sh-lg); display: flex; align-items: center; gap: .85rem;
    max-width: 235px;
}
.about__badge img { width: 42px; height: 42px; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.about__badge strong { display: block; font-size: var(--fs-sm); color: var(--ink); line-height: 1.3; }
.about__badge span { font-size: var(--fs-xs); color: var(--slate-2); }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; font-size: var(--fs-md); color: var(--ink-soft); }
.checklist svg { width: 20px; height: 20px; color: var(--green-500); flex-shrink: 0; margin-top: .15rem; }

.stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px; background: rgba(255,255,255,.14);
    border-radius: var(--r-lg); overflow: hidden;
}
.stat { padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem; text-align: center; background: var(--ink); }
.stat__value {
    display: block; font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800;
    line-height: 1; letter-spacing: -.03em; color: #fff; margin-bottom: .45rem;
}
.stat__value sup { color: var(--saffron); font-size: .5em; top: -.55em; }
.stat__label { font-size: var(--fs-sm); color: rgba(255,255,255,.62); line-height: 1.4; }

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

/* ============================================================ CARDS */

.card {
    display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }

.card__media { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__chip { position: absolute; top: .85rem; left: .85rem; z-index: 2; }

.card__body { padding: clamp(1.1rem, 2vw, 1.5rem); display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.card__title { font-size: var(--fs-h4); margin: 0; line-height: 1.35; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--green-700); }
.card__excerpt { font-size: var(--fs-base); color: var(--slate); margin: 0; }
.card__foot { margin-top: auto; padding-top: .4rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }

/* Newsroom: lead story gets more width than the digest column */
.grid--news { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .grid--news { grid-template-columns: minmax(0, 1fr); } }

/* featured news card */
.feature {
    display: grid; grid-template-rows: auto 1fr; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.feature:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.feature__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__body { padding: clamp(1.4rem, 2.6vw, 2rem); display: flex; flex-direction: column; gap: .75rem; }
.feature__body h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin: 0; }
.feature__body h3 a { color: var(--ink); }
.feature__body h3 a:hover { color: var(--green-700); }

/* compact horizontal list item */
.mini {
    display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.mini:last-child { border-bottom: 0; }
.mini__media { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mini:hover .mini__media img { transform: scale(1.08); }
.mini h4 { font-size: var(--fs-base); margin: 0 0 .35rem; line-height: 1.45; }
.mini h4 a { color: var(--ink); }
.mini h4 a:hover { color: var(--green-700); }

/* ------------------------------------------------- press release rows */

.release {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 1.1rem; align-items: center;
    padding: 1.15rem; border-radius: var(--r);
    border: 1px solid transparent; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.release + .release { margin-top: .35rem; }
.release:hover { background: #fff; border-color: var(--line); box-shadow: var(--sh-sm); }

.datebox {
    width: 64px; height: 68px; border-radius: var(--r-sm);
    background: var(--green-050); color: var(--green-800);
    display: grid; place-content: center; text-align: center; flex-shrink: 0;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.release:hover .datebox { background: var(--green-700); color: #fff; }
.datebox strong { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1; color: inherit; }
.datebox span { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

.release__body h4 { font-size: var(--fs-md); margin: 0 0 .25rem; line-height: 1.4; }
.release__body h4 a { color: var(--ink); }
.release__body h4 a:hover { color: var(--green-700); }
.release__body p { font-size: var(--fs-sm); color: var(--slate-2); margin: 0; }

@media (max-width: 560px) {
    .release { grid-template-columns: 54px minmax(0, 1fr); }
    .release__action { grid-column: 2; justify-self: start; }
    .datebox { width: 54px; height: 58px; }
    .datebox strong { font-size: 1.15rem; }
}

/* ----------------------------------------------------------- events */

.event {
    display: flex; gap: 1.1rem; padding: 1.15rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.event + .event { margin-top: .8rem; }
.event:hover { transform: translateX(4px); box-shadow: var(--sh-sm); }
.event__body h4 { font-size: var(--fs-md); margin: 0 0 .3rem; }
.event__body h4 a { color: var(--ink); }
.event__body h4 a:hover { color: var(--green-700); }

/* -------------------------------------------------------- leadership */

.leader {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    background: var(--ink-soft); display: block; aspect-ratio: 3 / 3.75;
}
.leader img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.leader:hover img { transform: scale(1.05); }
.leader__overlay {
    position: absolute; inset: auto 0 0 0; padding: 3.5rem 1.25rem 1.25rem;
    /* Deep enough to stay legible even over a pale placeholder portrait. */
    background: linear-gradient(to top,
        rgba(6,15,11,.97) 0%, rgba(6,15,11,.92) 28%,
        rgba(6,15,11,.62) 62%, transparent 100%);
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.leader__overlay strong { display: block; font-size: var(--fs-md); color: #fff; line-height: 1.3; }
.leader__overlay span { display: block; font-size: var(--fs-sm); color: var(--saffron); margin-top: .15rem; }

/* president highlight card */
.president {
    display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    border-radius: var(--r-lg); overflow: hidden; color: rgba(255,255,255,.8);
}
.president img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.president__body { padding: clamp(1.4rem, 3vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.president__body h3 { color: #fff; margin: 0; }
.president__role { color: var(--saffron); font-weight: 600; font-size: var(--fs-sm); }
@media (max-width: 560px) { .president { grid-template-columns: minmax(0, 1fr); } .president img { aspect-ratio: 4/3; } }

/* ------------------------------------------------------ gallery mosaic */

.mosaic {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 190px; gap: 1rem;
}
.mosaic__item {
    position: relative; overflow: hidden; border-radius: var(--r);
    background: var(--mist); display: block;
}
/* The staggered spans only work with a full set of four albums; with fewer
   the grid leaves holes, so .mosaic--even keeps every tile the same size. */
.mosaic:not(.mosaic--even) .mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic:not(.mosaic--even) .mosaic__item:nth-child(4) { grid-column: span 2; }

.mosaic--even { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: 240px; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__item:hover img { transform: scale(1.07); }
.mosaic__cap {
    position: absolute; inset: auto 0 0 0; padding: 2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(8,19,14,.9), transparent);
    color: #fff; font-weight: 600; font-size: var(--fs-sm);
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.mosaic__cap small { color: rgba(255,255,255,.7); font-weight: 500; }

@media (max-width: 900px) {
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 165px; }
    .mosaic__item:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 520px) {
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
    .mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* photo grid (album page) */
.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1rem; }
.photogrid a {
    position: relative; display: block; aspect-ratio: 4 / 3;
    border-radius: var(--r); overflow: hidden; background: var(--mist);
}
.photogrid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photogrid a:hover img { transform: scale(1.07); }
.photogrid a::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(6,58,37,.4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M14 10l7-7M9 21H3v-6M10 14l-7 7'/%3E%3C/svg%3E") center / 30px no-repeat;
    opacity: 0; transition: opacity .28s var(--ease);
}
.photogrid a:hover::after { opacity: 1; }

/* ============================================================== CTA */

.cta {
    position: relative; overflow: hidden;
    background: linear-gradient(115deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-600) 100%);
    color: rgba(255,255,255,.82);
}
.cta::before {
    content: ''; position: absolute; top: -30%; right: -8%;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.28), transparent 68%);
}
.cta::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .5;
}
.cta__inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; }
.cta h2 { color: #fff; }
.cta p { font-size: var(--fs-lg); color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* =========================================================== FOOTER */

.footer { background: var(--ink); color: rgba(255,255,255,.6); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: var(--fs-base); }
.footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

.footer__brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.15rem; }
.footer__brand img { width: 44px; height: 44px; }
.footer__brand strong { display: block; color: #fff; font-size: var(--fs-md); line-height: 1.25; }
.footer__brand span { font-size: var(--fs-xs); color: var(--saffron); }

.footer h5 {
    color: #fff; font-size: var(--fs-sm); text-transform: uppercase;
    letter-spacing: .12em; margin-bottom: 1.15rem; padding-bottom: .7rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: .6rem; }
.footer__links a { color: rgba(255,255,255,.6); font-size: var(--fs-base); }
.footer__links a:hover { color: var(--saffron); padding-left: 4px; }
.footer__links a { transition: color .2s var(--ease), padding-left .2s var(--ease); }

.footer__contact li { display: flex; gap: .7rem; margin-bottom: .9rem; line-height: 1.55; }
.footer__contact svg { width: 17px; height: 17px; color: var(--saffron); flex-shrink: 0; margin-top: .2rem; }
.footer__contact a { color: rgba(255,255,255,.6); }
.footer__contact a:hover { color: var(--saffron); }

.footer__bottom {
    margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.35rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: .75rem; font-size: var(--fs-sm);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: var(--saffron); }

.to-top {
    position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: var(--green-700); color: #fff; display: grid; place-items: center;
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--saffron); color: #3B2500; }
.to-top svg { width: 19px; height: 19px; }

/* ======================================================== PAGE HERO */

.pagehero {
    position: relative; overflow: hidden;
    background: linear-gradient(115deg, var(--green-900), var(--green-700));
    color: rgba(255,255,255,.75);
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.pagehero::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .55;
}
.pagehero--image::before {
    content: ''; position: absolute; inset: 0;
    background: var(--bg) center / cover no-repeat; opacity: .22;
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { color: #fff; margin: 0 0 .6rem; font-size: clamp(1.7rem, 4vw, 2.75rem); }
.pagehero p { color: rgba(255,255,255,.75); max-width: 640px; margin: 0; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--fs-sm); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--saffron); font-weight: 600; }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }

/* ============================================================ PROSE */

.prose { font-size: var(--fs-md); line-height: 1.85; color: var(--slate); }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 1.25rem; }
.prose h2 { font-size: var(--fs-h3); margin: 2.25rem 0 .9rem; }
.prose h3 { font-size: var(--fs-h4); margin: 2rem 0 .8rem; }
.prose h4 { font-size: var(--fs-md); margin: 1.6rem 0 .7rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--green-500); }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose img { border-radius: var(--r); margin: 1.5rem 0; }
.prose blockquote {
    margin: 1.75rem 0; padding: 1.25rem 1.5rem;
    background: var(--green-050); border-left: 4px solid var(--saffron);
    border-radius: 0 var(--r) var(--r) 0; font-size: var(--fs-lg); color: var(--ink-soft);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: var(--fs-base); }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.prose th { background: var(--green-050); color: var(--ink); font-weight: 700; }
.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; }

.lead { font-size: var(--fs-lg); line-height: 1.7; color: var(--ink-soft); font-weight: 500; }

/* --------------------------------------------------------- article */

.article__figure { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.article__figure img { width: 100%; }

.article__head { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.article__head h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin-bottom: .85rem; }
.article__meta {
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--slate-2);
}

.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share__label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-right: .35rem; }
.share a {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    border: 1.5px solid var(--line); color: var(--slate);
    transition: all .2s var(--ease);
}
.share a:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; transform: translateY(-2px); }
.share svg { width: 16px; height: 16px; }

/* ------------------------------------------------------- side cards */

.side { display: grid; gap: 1.25rem; align-content: start; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.side-card__head {
    padding: 1rem 1.25rem; background: var(--green-800); color: #fff;
    font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.side-card__body { padding: 1.25rem; }

.sidenav { list-style: none; margin: 0; padding: 0; }
.sidenav li + li { border-top: 1px solid var(--line); }
.sidenav a {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .8rem 1.25rem; font-size: var(--fs-base); font-weight: 600; color: var(--ink-soft);
    transition: background .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.sidenav a::after { content: '›'; color: var(--line-2); font-size: 1.1rem; transition: color .2s var(--ease); }
.sidenav a:hover { background: var(--green-050); color: var(--green-800); padding-left: 1.5rem; }
.sidenav a:hover::after { color: var(--saffron); }
.sidenav a.is-active { background: var(--green-700); color: #fff; }
.sidenav a.is-active::after { color: var(--saffron); }

.side-symbol { text-align: center; padding: 1.75rem 1.25rem; }
.side-symbol img { width: 96px; margin: 0 auto .85rem; }
.side-symbol strong { display: block; color: var(--ink); font-size: var(--fs-md); }
.side-symbol span { font-size: var(--fs-sm); color: var(--slate-2); }

.side-cta {
    background: linear-gradient(140deg, var(--green-800), var(--green-600));
    border-radius: var(--r-lg); padding: 1.75rem 1.5rem; color: rgba(255,255,255,.82); text-align: center;
}
.side-cta h4 { color: #fff; margin-bottom: .5rem; }
.side-cta p { font-size: var(--fs-sm); margin-bottom: 1.25rem; }

/* ============================================================ FORMS */

.formcard {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem; }
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-8  { grid-column: span 8; }
@media (max-width: 720px) { .col-6, .col-4, .col-8 { grid-column: span 12; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.label .req { color: #D64545; }

.input, .select, .textarea {
    width: 100%; padding: .8rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--r-sm);
    background: var(--sand); font-size: var(--fs-base); color: var(--ink);
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--green-600); background: #fff;
    box-shadow: 0 0 0 4px rgba(19,161,95,.12);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-2); }
.textarea { resize: vertical; min-height: 110px; line-height: 1.65; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6B63' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.input.has-error, .select.has-error, .textarea.has-error { border-color: #D64545; background: #FEF6F6; }
.err { font-size: var(--fs-sm); color: #C13333; font-weight: 600; }
.help { font-size: var(--fs-sm); color: var(--slate-2); }

.check { display: flex; align-items: flex-start; gap: .65rem; font-size: var(--fs-base); cursor: pointer; }
.check input {
    width: 20px; height: 20px; margin: .15rem 0 0; flex-shrink: 0;
    accent-color: var(--green-600); cursor: pointer;
}

.form-section { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section__title {
    display: flex; align-items: center; gap: .6rem;
    font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    color: var(--green-700); margin-bottom: 1.25rem;
}
.form-section__num {
    width: 26px; height: 26px; border-radius: 50%; background: var(--green-050);
    display: grid; place-items: center; font-size: var(--fs-xs); color: var(--green-800);
}

.honeypot { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.amount-picks { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.amount-pick {
    padding: .55rem 1.05rem; border: 1.5px solid var(--line); border-radius: var(--r-pill);
    background: #fff; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft);
    transition: all .2s var(--ease);
}
.amount-pick:hover { border-color: var(--green-600); color: var(--green-700); }
.amount-pick.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ============================================================ MISC */

.notice {
    display: flex; align-items: flex-start; gap: .8rem;
    padding: 1rem 1.25rem; border-radius: var(--r); font-size: var(--fs-base);
    border: 1px solid transparent;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .15rem; }
.notice--success { background: #E9F7F0; border-color: #BEE6D4; color: #14603F; }
.notice--error   { background: #FDECEC; border-color: #F5C6C6; color: #97231F; }
.notice--warning { background: #FEF6E7; border-color: #F8DFAE; color: #8A5B08; }
.notice--info    { background: var(--green-050); border-color: #CDE7DA; color: var(--green-800); }
.notice strong { color: inherit; }
.notice__close { margin-left: auto; background: none; border: 0; color: inherit; opacity: .6; padding: 0; }
.notice__close:hover { opacity: 1; }

.flash-stack { display: grid; gap: .75rem; padding-top: 1.5rem; }

.infobox {
    background: var(--green-050); border: 1px solid #CDE7DA;
    border-radius: var(--r-lg); padding: 1.5rem;
}
.infobox h4 { color: var(--green-800); margin-bottom: .75rem; font-size: var(--fs-md); }
.infobox ul { margin: 0; padding-left: 1.15rem; }
.infobox li { margin-bottom: .5rem; }
.infobox li:last-child { margin-bottom: 0; }

.dl { margin: 0; display: grid; gap: .9rem; }
.dl dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--slate-2); font-weight: 700; }
.dl dd { margin: .2rem 0 0; color: var(--ink); font-weight: 600; }

.empty {
    text-align: center; padding: clamp(3rem, 7vw, 5rem) 1.5rem;
    border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--slate-2);
}
.empty svg { width: 46px; height: 46px; color: var(--line-2); margin: 0 auto 1rem; }
.empty h3 { color: var(--ink-soft); font-size: var(--fs-h4); }

/* -------------------------------------------------------- pagination */

.pager { display: flex; justify-content: center; align-items: center; gap: .35rem; flex-wrap: wrap; margin-top: clamp(2rem, 4vw, 3rem); }
.pager a, .pager span {
    min-width: 42px; height: 42px; padding-inline: .7rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--line); border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft); background: #fff;
    transition: all .2s var(--ease);
}
.pager a:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-050); }
.pager .is-current { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pager .is-disabled { opacity: .4; pointer-events: none; }

/* ------------------------------------------------------------ tabs */

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.tab {
    padding: .6rem 1.25rem; border-radius: var(--r-pill);
    border: 1.5px solid var(--line); background: #fff;
    font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft);
    transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--green-600); color: var(--green-700); }
.tab.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* --------------------------------------------------------- searchbox */

.searchform { display: flex; gap: .6rem; flex-wrap: wrap; }
.searchform .input { flex: 1; min-width: 200px; }

/* ---------------------------------------------------------- lightbox */

.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(6,15,11,.94); backdrop-filter: blur(6px);
    display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem) 1.5rem;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.65); font-size: var(--fs-sm); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lightbox__foot { display: flex; align-items: center; justify-content: center; gap: 1rem; color: rgba(255,255,255,.7); font-size: var(--fs-sm); }
.lightbox button {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center;
    transition: background .2s var(--ease);
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox svg { width: 18px; height: 18px; }

/* ------------------------------------------------------- animations */

/* Content is visible by default. Only once the inline snippet in <head> has
   marked the document as script-enabled do we hide it for the entrance
   animation — so a failed or disabled script can never leave the page blank. */
.js .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ------------------------------------------------------------ print */

@media print {
    .topbar, .masthead, .footer, .to-top, .side, .cta, .share, .drawer, .backdrop { display: none !important; }
    body { color: #000; font-size: 11pt; }
    .pagehero { background: none; color: #000; padding-block: 0 1rem; }
    .pagehero h1, .crumbs a { color: #000; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
