/* ===========================================================================
   Saga Foundation Trust — design system

   Layout language follows selcofoundation.org: Poppins throughout, white
   ground, centred hero with one accent-coloured phrase, a full-bleed image
   band with a wave edge, large rounded cards, and reveal-on-scroll motion.

   The palette is a warm Odisha-cultural scheme: a deep terracotta-red primary
   (temple / Odissi) paired with a marigold-gold accent — festive, rooted, and
   readable in both directions for WCAG AA.
   ======================================================================== */

/* ---------------------------------------------------------------- fonts */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}

:root {
    /* Brand — deep terracotta-red (temple / Odissi) -------------------- */
    --brand:        #A6322A;
    --brand-dark:   #7E241E;
    --brand-darker: #591712;
    --brand-light:  #C24A3A;
    --brand-wash:   #FBEDEB;
    --brand-wash-2: #FEF6F4;

    /*
     * The accent is a marigold-gold set at the darkest tone that still reads as
     * gold, because it carries small text (eyebrows, roles, dates) and white
     * button labels. --accent measures ~4.6:1 against white in both directions;
     * --accent-bright is for decoration only — never for text.
     */
    --accent:        #A66A0E;
    --accent-bright: #E6A62E;
    --accent-dark:   #855307;
    --accent-wash:   #FBF1DC;

    --ink:          #2A1712;
    --text:         #473A35;
    --muted:        #6C605B;   /* 4.9:1 on the off-white section background */
    --muted-2:      #A0938C;

    --white:        #FFFFFF;
    --off:          #FAF7F4;
    --sand:         #F5EFEA;
    --line:         #ECE3DD;   /* decorative separators only */
    /*
     * --line-2 is the border of form controls and chips, which WCAG 1.4.11
     * treats as information identifying a UI component: it needs 3:1 against
     * the field's white fill. The previous #CFDAD4 measured 1.44:1.
     */
    --line-2:       #8B7E76;   /* 3.2:1 on white, 3.05:1 on the off-white sections */

    /* Type ------------------------------------------------------------ */
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
    --step-0:  clamp(.98rem, .95rem + .15vw, 1.05rem);
    --step-1:  clamp(1.1rem, 1.03rem + .35vw, 1.3rem);
    --step-2:  clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
    --step-3:  clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
    --step-4:  clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem);

    /* Space and shape -------------------------------------------------- */
    --gutter:    clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.5rem, 7vw, 6.5rem);
    --container: 1240px;
    --narrow:    780px;

    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 100px;

    --shadow-sm: 0 2px 8px rgba(16, 32, 26, .05);
    --shadow:    0 12px 32px -14px rgba(16, 32, 26, .2);
    --shadow-lg: 0 30px 70px -32px rgba(16, 32, 26, .34);

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

/* ---------------------------------------------------------------- reset */

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

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

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
    font-family: var(--font);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.02em;
    margin: 0 0 .55em;
    text-wrap: balance;
}

h1 { font-size: var(--step-4); line-height: 1.12; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

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

blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--brand-wash);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--r) var(--r) 0;
    font-size: var(--step-1);
    font-weight: 500;
    color: var(--ink);
}

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

/*
 * The terracotta ring measures only 2.2:1 on the dark-green surfaces, below the
 * 3:1 that WCAG requires of a focus indicator. On those grounds it switches to
 * white, which measures 10.9:1.
 */
.topbar :focus-visible,
.page-hero :focus-visible,
.section--brand :focus-visible,
.site-footer :focus-visible,
.hero__band :focus-visible,
.lightbox :focus-visible { outline-color: #fff; }
::selection { background: var(--brand); color: #fff; }

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

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.container--narrow { max-width: var(--narrow); }

/*
 * Section rhythm — three tones only, alternating.
 *
 *   (default) white   →  --warm  →  white  →  --brand
 *
 * There used to be a fourth, --sand (#F1F5F2), sitting 2% away from --warm
 * (#F7F9F8). Nobody perceives that as a distinct treatment; it just made the
 * alternation look accidental. --sand remains a palette token for card and
 * quote fills, but it is no longer a section background.
 *
 * Padding: --tight is for short, non-grid sections (a notice list, a closing
 * call to action). Card and document grids use the full rhythm.
 */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.section--warm  { background: var(--off); }
.section--wash  { background: var(--brand-wash-2); }

.section--brand { background: var(--brand-dark); color: rgba(255,255,255,.85); }
.section--brand h2, .section--brand h3, .section--brand h4 { color: #fff; }

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

/* ------------------------------------------------------- reveal on scroll */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }

/* ---------------------------------------------------------- section head */

.section-head {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
    gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.section-head__text { max-width: 64ch; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--step--1); font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent); margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: currentColor; }

.section-head h2 { margin-bottom: .3rem; }
.section-head__lede { color: var(--muted); font-size: var(--step-1); line-height: 1.6; margin: 0; font-weight: 400; }

/* Accent-coloured phrase inside a heading — SELCO's signature device. */
.hl { color: var(--brand); }
.hl--accent { color: var(--accent); }

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

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.75rem;
    border: 2px solid transparent; border-radius: var(--r-pill);
    font-family: inherit; font-size: .92rem; font-weight: 600; letter-spacing: .01em;
    cursor: pointer; transition: all .22s var(--ease);
}

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--brand-dark); }

.btn--sm { padding: .55rem 1.15rem; font-size: .85rem; }

.link-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .9rem; font-weight: 600; color: var(--brand);
}
.link-cta svg { transition: transform .25s var(--ease); }
.link-cta:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }

.topbar { background: var(--brand-dark); color: rgba(255,255,255,.82); font-size: var(--step--1); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar__status { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__social { display: flex; gap: .85rem; align-items: center; }
.topbar__social svg { width: 15px; height: 15px; }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }

/* The organisation logo, shown at its own proportions. */
.brand { display: flex; align-items: center; gap: .75rem; }
.brand__logo { height: 82px; width: auto; max-width: 340px; object-fit: contain; }
.brand__fallback { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.45rem; font-weight: 700; color: var(--brand-dark); letter-spacing: -.02em; }
.brand__sub { font-size: .64rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); max-width: 30ch; }

/* ----------------------------------------------------------- navigation */

.nav { display: flex; align-items: center; gap: .1rem; }
.nav__item { position: relative; }

.nav__link {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .6rem .75rem; border-radius: var(--r-pill);
    font-size: .9rem; font-weight: 500; color: var(--text); white-space: nowrap;
}
.nav__link:hover { color: var(--brand); background: var(--brand-wash); }
.nav__item.is-active > .nav__link { color: var(--brand); font-weight: 600; }

.nav__link--highlight { background: var(--accent); color: #fff; padding-inline: 1.35rem; margin-left: .5rem; font-weight: 600; }
.nav__link--highlight:hover { background: var(--accent-dark); color: #fff; }

.nav__caret { width: 10px; height: 10px; opacity: .6; transition: transform .2s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
    position: absolute; top: calc(100% + .4rem); left: 0; min-width: 268px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-lg); padding: .5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all .2s var(--ease);
}
.nav__item:hover > .nav__dropdown, .nav__item:focus-within > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a { display: block; padding: .6rem .85rem; border-radius: var(--r-sm); font-size: .89rem; color: var(--text); }
.nav__dropdown a:hover { background: var(--brand-wash); color: var(--brand); }

.nav-toggle { display: none; background: var(--brand); border: 0; border-radius: var(--r-sm); padding: .65rem; cursor: pointer; color: #fff; }

/* The homepage is intentionally denser than internal reading pages. */
.home-page { --section-y: clamp(3rem, 5.5vw, 5rem); }
.home-page .topbar__inner { min-height: 34px; }
.home-page .masthead { padding-block: .5rem; }
.home-page .brand__logo { height: 78px; }
.home-page .nav__link { font-size: .86rem; padding: .5rem .68rem; }
.home-page .section-head { margin-bottom: clamp(1.6rem, 3vw, 2.5rem); }
.home-page .section-head h2,
.home-page .feature h2 { font-size: clamp(1.75rem, 1.45rem + 1.35vw, 2.55rem); }
.home-page .section-head__lede { font-size: clamp(1rem, .96rem + .2vw, 1.15rem); line-height: 1.52; }

/* ------------------------------------------------------------------ hero */

/*
 * The reference hero is a Lottie-rendered SVG: one wide illustrated world,
 * split into many independently moving vector layers. This original Saga
 * panorama follows that technique with native SVG and CSS, avoiding a heavy
 * runtime while keeping every shape crisp.
 */
.hero {
    position: relative;
    isolation: isolate;
    background: #fff;
    /* The gap above the message sits on .hero > .container, just below. */
    overflow: hidden;
}

/*
 * The gap between the header and the first line of the message.
 *
 * A percentage resolves against the hero's width, so the gap scales with the
 * viewport rather than stepping at breakpoints. The container keeps its side
 * gutter — width:100% on its own would let the copy reach the screen edges on
 * a phone — and gives up only its max-width, which the 53rem .hero__inner
 * already enforces for the text.
 */
.hero > .container {
    width: 100%;
    padding-top: 3.4%;
    padding-inline: var(--gutter);
}

.hero__inner {
    text-align: center; max-width: 53rem; margin-inline: auto;
    position: relative; z-index: 2;
    display: grid;                    /* messages share one cell and stack */

    /*
     * Clearance for the entrance animation. Each message slides up from 20px
     * below its resting place, so without this the copy dips into the top of
     * the illustration for the length of the transition.
     */
    padding-bottom: 1.25rem;
}
.hero__copy.is-active > * { animation: hero-enter .8s var(--ease) both; }
.hero__copy.is-active > h1,
.hero__copy.is-active > .hero__headline { animation-delay: .08s; }
.hero__copy.is-active > .hero__text { animation-delay: .16s; }
.hero__copy.is-active > .hero__actions { animation-delay: .24s; }

.hero__eyebrow { justify-content: center; margin-bottom: .4rem; font-size: .75rem; }
.hero__eyebrow::after { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: currentColor; }

/*
 * Every hero message is the same size.
 *
 * The first message is an <h1> and the rest are <p class="hero__headline">, and
 * the two were sized separately — 51px against 67px at desktop. The arrows made
 * the headline jump, and because the messages share one grid cell the hero was
 * always as tall as the biggest one: three lines of 67px. One rule now sizes
 * both, a step smaller, so the copy and the illustration fit on one screen.
 */
.hero h1,
.hero__headline {
    font-size: clamp(1.7rem, 2.9vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 700;
    margin-bottom: .4rem;
}
.hero h1 .hl::before { content: " "; }

.hero__text {
    color: var(--muted); font-size: clamp(.88rem, .95vw, .96rem); line-height: 1.42;
    max-width: 44rem; margin: 0 auto .6rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.hero__actions .btn { min-width: 128px; padding: .64rem 1.35rem; font-size: .85rem; }

.hero-scene {
    position: relative;
    width: 100%;
    margin-top: clamp(.1rem, .6vw, .45rem);
    overflow: hidden;
    background: linear-gradient(#fff 0%, #fff 70%, #f8faf7 100%);
}

.hero-scene__svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    overflow: visible;
}
.hero-scene__svg svg { overflow: hidden; }
.hero-scene text { font-family: var(--font); }

@media (min-width: 721px) {
    .hero > .container { width: 100%; }

    /*
     * The scene keeps the artwork's own 1920 x 560 proportions.
     *
     * It used to be handed whatever height was left after capping the hero to
     * one viewport, which at 1920 wide meant 318px against the 560px the
     * drawing needs — `slice` then cropped 43% off the top, cutting straight
     * through the treetops. With the white hero copy sitting directly above
     * that cut, it read as a white panel laid over the illustration.
     *
     * At its own ratio nothing is cropped, and because the SVG's own backdrop
     * is white at the horizon it joins the copy above with no visible seam.
     */
    .hero-scene {
        aspect-ratio: 1920 / 560;
        min-height: 0;
        margin-top: 0;
    }
    .hero-scene__svg { width: 100%; height: 100%; }
}

/*
 * Superseded. This tier pre-dated the shared heading rule: it sized h1 alone
 * and larger than the base, so on a short wide screen the first message grew
 * while the other four did not. The (max-height: 880px) and (max-height: 700px)
 * tiers below cover this range for every message.
 */

/*
 * Hero message slider.
 *
 * The arrows change the wording above the illustration and nothing else — the
 * scene plays continuously and carries no pause control. Messages are stacked
 * in one grid cell so the block keeps the height of its tallest entry and the
 * illustration never shifts when the text changes.
 */
.hero__copy {
    grid-area: 1 / 1;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.hero__copy.is-active { opacity: 1; visibility: visible; transform: none; }

/* Later messages reuse the h1 appearance without adding more h1s to the page. */
/* Size, leading and spacing come from the shared rule above; only the colour
   and wrapping are particular to the non-first messages. */
.hero__headline {
    color: var(--ink);
    text-wrap: balance;
}
.hero__headline .hl { display: block; }

/*
 * The arrows flank the message, vertically centred on it.
 *
 * They used to sit in a row underneath, which put two white discs hard against
 * the top edge of the illustration — on a white section that reads as a patch
 * laid over the scene. Out at the sides they occupy the empty margin beside the
 * copy and never touch the artwork.
 */
.hero__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1.5px solid var(--line-2); border-radius: 50%;
    background: #fff; color: var(--brand); cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease),
                color .2s var(--ease), transform .2s var(--ease);
}
.hero__arrow:hover {
    border-color: var(--brand); background: var(--brand); color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.hero__arrow svg { width: 19px; height: 19px; }

/* Outside the copy on wide screens, using the empty column beside it. */
.hero__arrow--prev { left: -4.5rem; }
.hero__arrow--next { right: -4.5rem; }

/*
 * Once the container stops leaving room either side, the arrows tuck against
 * the copy edges and the text is inset so the two never collide.
 */
@media (max-width: 1120px) {
    .hero__arrow--prev { left: 0; }
    .hero__arrow--next { right: 0; }
    .hero__copy { padding-inline: 3.5rem; }
}

@media (max-width: 560px) {
    .hero__arrow { width: 40px; height: 40px; }
    .hero__arrow svg { width: 17px; height: 17px; }
    .hero__copy { padding-inline: 2.75rem; }
}

/* Motion is attached to the part that can physically move. Buildings and
 * parked wheels stay grounded; trees flex subtly from their base while small
 * environmental details provide the activity. */
.scene__sun,
.scene__cloud,
.scene__birds,
.scene__tree-wind,
.scene__crops,
.scene__grass,
.scene__person-bob,
.scene__solar-glint,
.scene__vehicle-glint,
.scene__water-ripple,
.scene__biogas-bubbles,
.scene__sign-shine,
.scene__butterfly,
.scene__butterfly-wing { transform-box: fill-box; }

.scene__sun { transform-origin: 50% 50%; }
.scene__tree-wind,
.scene__crops,
.scene__grass,
.scene__person-bob { transform-origin: 50% 100%; }
.scene__solar-glint,
.scene__vehicle-glint { stroke-dasharray: 22 220; stroke-dashoffset: 242; }
.scene__butterfly-wing--left { transform-origin: 100% 55%; }
.scene__butterfly-wing--right { transform-origin: 0 55%; }

.hero-scene.uses-css-motion .hero-scene__svg { animation: scene-enter 1.05s var(--ease) both; }
.hero-scene.uses-css-motion .scene__asset { animation: scene-asset-arrive .8s var(--ease) both; }
.hero-scene.uses-css-motion .scene__asset--home,
.hero-scene.uses-css-motion .scene__asset--solar { animation-delay: .12s; }
.hero-scene.uses-css-motion .scene__asset--centre,
.hero-scene.uses-css-motion .scene__asset--light { animation-delay: .2s; }
.hero-scene.uses-css-motion .scene__person,
.hero-scene.uses-css-motion .scene__vehicle { animation-delay: .28s; }
.hero-scene.uses-css-motion .scene__sun { animation: scene-sun 54s linear infinite; }
.hero-scene.uses-css-motion .scene__cloud { animation: scene-cloud-wind 58s linear infinite; }
.hero-scene.uses-css-motion .scene__cloud--two { animation-duration: 72s; animation-delay: -31s; }
.hero-scene.uses-css-motion .scene__cloud--three { animation-duration: 65s; animation-delay: -17s; }
.hero-scene.uses-css-motion .scene__cloud--four { animation-duration: 79s; animation-delay: -48s; }

.hero-scene.uses-css-motion .scene__birds { animation: scene-birds 24s linear infinite; }

.hero-scene.uses-css-motion .scene__tree-wind { animation: scene-tree-wind 18s cubic-bezier(.45, 0, .55, 1) infinite; }
.hero-scene.uses-css-motion .scene__tree-wind--one { animation-delay: -2s; }
.hero-scene.uses-css-motion .scene__tree-wind--two { animation-duration: 21s; animation-delay: -8s; }
.hero-scene.uses-css-motion .scene__tree-wind--three { animation-duration: 17s; animation-delay: -5s; }
.hero-scene.uses-css-motion .scene__tree-wind--four { animation-duration: 20s; animation-delay: -11s; }

.hero-scene.uses-css-motion .scene__crops { animation: scene-crops 5.4s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__grass { animation: scene-grass 4.6s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__grass--two { animation-duration: 5.5s; animation-delay: -2.1s; }
.hero-scene.uses-css-motion .scene__grass--three { animation-duration: 4.1s; animation-delay: -1.3s; }
.hero-scene.uses-css-motion .scene__grass--four { animation-duration: 6.2s; animation-delay: -3.8s; }
.hero-scene.uses-css-motion .scene__person-bob { animation: scene-person-idle 4.6s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__delay-1 { animation-delay: -1.4s; }
.hero-scene.uses-css-motion .scene__delay-2 { animation-delay: -2.8s; }
.hero-scene.uses-css-motion .scene__delay-3 { animation-delay: -3.5s; }
.hero-scene.uses-css-motion .scene__solar-glint { animation: scene-solar-glint 6.5s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__solar-glint--roof-one { animation-delay: -2.6s; animation-duration: 8.4s; }
.hero-scene.uses-css-motion .scene__solar-glint--roof-two { animation-delay: -5.1s; animation-duration: 9.7s; }
.hero-scene.uses-css-motion .scene__solar-glint--light { animation-delay: -3.8s; animation-duration: 7.8s; }
.hero-scene.uses-css-motion .scene__vehicle-glint { animation: scene-solar-glint 8.8s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__vehicle-glint--rickshaw { animation-delay: -2.2s; }
.hero-scene.uses-css-motion .scene__vehicle-glint--motorcycle { animation-delay: -5.4s; animation-duration: 10.4s; }
.hero-scene.uses-css-motion .scene__vehicle-glint--outreach { animation-delay: -7.1s; animation-duration: 11.2s; }
.hero-scene.uses-css-motion .scene__window-lights rect { animation: scene-window-light 7.2s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__window-lights rect:nth-child(2n) { animation-delay: -3.4s; }
.hero-scene.uses-css-motion .scene__window-lights rect:nth-child(3n) { animation-delay: -5.8s; }
.hero-scene.uses-css-motion .scene__biogas-bubbles { animation: scene-biogas 4.8s ease-out infinite; }
.hero-scene.uses-css-motion .scene__sign-shine { animation: scene-sign-shine 6.8s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__butterfly { animation: scene-butterfly 7.2s ease-in-out infinite; }
.hero-scene.uses-css-motion .scene__butterfly-wing { animation: scene-butterfly-wing .34s ease-in-out infinite alternate; }
.hero-scene.uses-css-motion .scene__water-ripple { animation: scene-water-ripple 4.6s ease-in-out infinite; }

.hero-scene.is-paused .hero-scene__svg * { animation-play-state: paused !important; }

@keyframes hero-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scene-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scene-asset-arrive {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scene-sun { to { transform: rotate(360deg); } }

/* Clouds follow one wind direction. They fade only while the loop resets, so
 * there is no visible backwards travel or snap. */
@keyframes scene-cloud-wind {
    0%   { opacity: 0; transform: translate3d(-90px, 4px, 0); }
    10%  { opacity: .72; }
    48%  { transform: translate3d(45px, -4px, 0); }
    90%  { opacity: .72; }
    100% { opacity: 0; transform: translate3d(190px, -10px, 0); }
}

/*
 * The flock crosses the sky and fades at both ends, so it never snaps back to
 * its start position in view.
 */
@keyframes scene-birds {
    0%   { opacity: 0;   transform: translate3d(-70px, 12px, 0); }
    14%  { opacity: .58; }
    86%  { opacity: .58; }
    100% { opacity: 0;   transform: translate3d(215px, -30px, 0); }
}

/* A low-amplitude, irregular breeze: the base remains planted and the full
 * tree flexes less than two pixels at the crown. */
@keyframes scene-tree-wind {
    0%, 100% { transform: rotate(-.16deg) skewX(-.10deg); }
    27%      { transform: rotate(.20deg) skewX(.14deg); }
    47%      { transform: rotate(.04deg) skewX(.03deg); }
    72%      { transform: rotate(.28deg) skewX(.18deg); }
    87%      { transform: rotate(-.02deg) skewX(-.01deg); }
}

@keyframes scene-crops {
    0%   { transform: skewX(-1.7deg) scaleY(1); }
    43%  { transform: skewX(2.3deg) scaleY(.985); }
    71%  { transform: skewX(.4deg) scaleY(.996); }
    100% { transform: skewX(-1.7deg) scaleY(1); }
}
@keyframes scene-grass {
    0%, 100% { transform: skewX(-2.4deg) scaleY(1); }
    36% { transform: skewX(3.2deg) scaleY(.98); }
    68% { transform: skewX(.7deg) scaleY(.995); }
}

@keyframes scene-person-idle {
    0%   { transform: translateY(0) rotate(-.08deg); }
    50%  { transform: translateY(-1.35px) rotate(.12deg); }
    100% { transform: translateY(0) rotate(-.08deg); }
}
@keyframes scene-solar-glint {
    0%, 57% { opacity: 0; stroke-dashoffset: 214; }
    64% { opacity: .85; }
    78% { opacity: 0; stroke-dashoffset: 0; }
    100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes scene-window-light {
    0%, 18%, 100% { opacity: .03; }
    42%, 68% { opacity: .2; }
}
@keyframes scene-biogas {
    0% { opacity: 0; transform: translateY(7px) scale(.84); }
    24% { opacity: .62; }
    78% { opacity: .34; }
    100% { opacity: 0; transform: translate3d(8px, -23px, 0) scale(1.13); }
}
@keyframes scene-sign-shine {
    0%, 62%, 100% { opacity: 0; }
    70%, 77% { opacity: .16; }
}
@keyframes scene-butterfly {
    0%, 100% { transform: translate3d(-5px, 3px, 0) rotate(-4deg); }
    26% { transform: translate3d(7px, -8px, 0) rotate(3deg); }
    54% { transform: translate3d(17px, -3px, 0) rotate(-1deg); }
    78% { transform: translate3d(6px, 5px, 0) rotate(4deg); }
}
@keyframes scene-butterfly-wing {
    from { transform: scaleX(.28); }
    to { transform: scaleX(1); }
}
@keyframes scene-water-ripple {
    0%, 100% { opacity: .3; transform: scaleX(.92); }
    50% { opacity: .82; transform: scaleX(1.04); }
}

/* ---------------------------------------------------------- wave divider */

.wave { display: block; width: 100%; height: clamp(34px, 4vw, 64px); }
.wave svg { width: 100%; height: 100%; display: block; }

/* ---------------------------------------------------------- page header */

.page-hero { position: relative; background: var(--brand-dark); color: #fff; padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(0,42,22,.93), rgba(0,42,22,.66)); }
.page-hero__inner { position: relative; max-width: 54rem; }
.page-hero h1 { color: #fff; margin-bottom: .45rem; font-size: var(--step-3); }
.page-hero__lede { color: rgba(255,255,255,.85); font-size: var(--step-1); margin: 0; }
.page-hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: clamp(30px, 4vw, 56px); }
.page-hero__wave svg { width: 100%; height: 100%; display: block; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--step--1); color: rgba(255,255,255,.65); margin-bottom: 1rem; list-style: none; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: .5rem; align-items: center; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: rgba(255,255,255,.82); }
.breadcrumb a:hover { color: #fff; }

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

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
    display: flex; flex-direction: column;
    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(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.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__tag {
    position: absolute; left: 1rem; top: 1rem;
    background: rgba(255,255,255,.95); color: var(--brand);
    font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: var(--r-pill);
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2vw, 1.75rem); gap: .65rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: var(--step--1); color: var(--muted); }
.card__title { font-size: var(--step-1); margin: 0; font-weight: 600; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); }
.card__text { color: var(--muted); font-size: .93rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: .5rem; }

/* Programme card — programme icon in a soft disc */
/*
 * Programme card.
 *
 * Every card is the same height by construction: a fixed media ratio, plus a
 * title and summary clamped to a set number of lines. Content-driven heights
 * were leaving a 26px step between the two rows, which is what made the grid
 * look misaligned.
 */
.card--work .card__media { aspect-ratio: 16 / 10; }

/* The icon is a badge on the photograph, straddling its lower edge. */
.card--work .card__icon {
    position: absolute; left: 1.15rem; bottom: -26px; z-index: 2;
    width: 56px; height: 56px; display: grid; place-items: center;
    border-radius: 50%; background: #fff; overflow: hidden;
    box-shadow: 0 4px 14px -4px rgba(16, 32, 26, .3);
}
.card--work .card__icon img { width: 36px; height: 36px; object-fit: contain; }
.card--work .card__icon svg { width: 24px; height: 24px; color: var(--brand); }

/* A plain icon badge for cards that have no photograph to sit it on. */
.card__badge-icon {
    width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: 50%; background: var(--brand-wash); color: var(--brand);
    margin-bottom: .35rem;
}
.card__badge-icon svg { width: 22px; height: 22px; }
.card__badge-icon--accent { background: var(--accent-wash); color: var(--accent); }

/* Room for the badge to overhang, then a tighter rhythm than the base card. */
.card--work .card__body { padding-top: 2.4rem; gap: .45rem; }

.card--work .card__title {
    font-size: 1.12rem;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(2 * 1.22em);        /* reserve both lines even when one is used */
}

.card--work .card__text {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden;
}

.card--work .card__foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; flex-wrap: wrap;
    padding-top: .85rem; margin-top: auto;
    border-top: 1px solid var(--line);
}
.card--work .card__meta { margin: 0; font-size: .82rem; }
.card--work .card__meta svg { width: 15px; height: 15px; }

/* ----------------------------------------------------- document cards */

.doc-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.doc-card { display: flex; flex-direction: column; gap: .9rem; }

.doc-card__cover {
    position: relative; aspect-ratio: 1 / 1.414;
    background: var(--sand); border-radius: var(--r); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.doc-card:hover .doc-card__cover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-card__cover img { width: 100%; height: 100%; object-fit: cover; }

.doc-card__fallback {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
    padding: 1.35rem; background: linear-gradient(158deg, var(--brand) 0%, var(--brand-dark) 100%); color: rgba(255,255,255,.94);
}
/* Text sits on this gradient, so both stops must clear 4.5:1 against white. */
.doc-card__fallback--clay { background: linear-gradient(158deg, var(--accent) 0%, var(--accent-dark) 100%); }
.doc-card__fallback--sand { background: linear-gradient(158deg, #4E6B57 0%, #2C4033 100%); }
.doc-card__fallback-kind { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .88; }
.doc-card__fallback-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: #fff; }
.doc-card__fallback-year { font-size: .76rem; font-weight: 500; letter-spacing: .08em; opacity: .82; }

.doc-card__badge {
    position: absolute; right: .7rem; top: .7rem;
    background: #fff; color: var(--accent);
    font-size: .6rem; font-weight: 700; letter-spacing: .08em;
    padding: .25rem .55rem; border-radius: var(--r-pill);
}

/*
 * Document cards line up row to row. Titles and descriptions vary in length,
 * and letting them size the card left a ~22px step between rows, which reads
 * as sloppy on a shelf of documents.
 */
.doc-card { height: 100%; }
.doc-card__meta-block { display: flex; flex-direction: column; gap: .5rem; flex: 1; }

.doc-card__title {
    font-size: 1.02rem; font-weight: 600; line-height: 1.35; margin: 0;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(2 * 1.35em);
}

.doc-card__text {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden;
}

.doc-card__actions { margin-top: auto; }
.doc-card__title a { color: var(--ink); }
.doc-card__title a:hover { color: var(--brand); }
.doc-card__meta { display: flex; flex-wrap: wrap; gap: .35rem .85rem; font-size: var(--step--1); color: var(--muted); }
.doc-card__text { font-size: .89rem; color: var(--muted); margin: 0; }
.doc-card__actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* -------------------------------------------------------------- filters */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }

.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1.1rem; border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
    font-size: .87rem; font-weight: 500; color: var(--text); background: #fff;
    cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------------------------------------------- faq */
/* Native <details>: keyboard accessible, findable with the browser's own
   in-page search, and open-able with JavaScript disabled. */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }

.faq__q {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
    padding: 1.15rem 0; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand); }
.faq__q:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* The chevron is a plain span wrapping the icon: an inline SVG would rotate
   about its view-box origin rather than its own centre. */
.faq__chevron {
    flex: none; display: block; line-height: 0; margin-top: .15rem; color: var(--brand);
    transition: transform .2s ease;
}
.faq[open] .faq__chevron { transform: rotate(180deg); }

.faq__a { padding: 0 0 1.4rem; color: var(--muted); max-width: 68ch; }
.faq__a > :last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
    .faq__chevron { transition: none; }
}

/* ----------------------------------------------------------- statistics */

/* 250px, not 210px: at the 1184px container an eight-figure set broke 5 + 3,
   which reads as a mistake. This floor lands both four- and eight-figure sets on
   clean rows of four. */
.stat-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.stat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.1rem);
    display: flex; flex-direction: column; gap: .3rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stat__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-wash); color: var(--accent); margin-bottom: .7rem; }
.stat__icon svg { width: 22px; height: 22px; }

.stat__value { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; line-height: 1; color: var(--brand); letter-spacing: -.03em; }
.stat__label { font-size: 1rem; font-weight: 500; color: var(--ink); }   /* deliberately not bold */
.stat__note  { font-size: var(--step--1); color: var(--muted); font-weight: 400; line-height: 1.5; }

.section--brand .stat { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section--brand .stat:hover { background: rgba(255,255,255,.11); }
.section--brand .stat__value { color: #fff; }
.section--brand .stat__label { color: rgba(255,255,255,.95); }
.section--brand .stat__note { color: rgba(255,255,255,.66); }
.section--brand .stat__icon { background: rgba(255,255,255,.14); color: #fff; }

/* -------------------------------------------------------- notice board */

.notice-list { display: flex; flex-direction: column; gap: .75rem; }

.notice {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding: 1.15rem 1.35rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--r);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.notice:hover { border-color: var(--brand); transform: translateX(4px); }

.notice__date { flex: none; width: 5.5rem; font-size: var(--step--1); font-weight: 500; color: var(--accent); padding-top: .15rem; }
.notice__body { flex: 1; }
.notice__title { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 0 0 .2rem; }
.notice__text { font-size: .9rem; color: var(--muted); margin: 0; }

.notice__flag {
    display: inline-block; background: var(--accent); color: #fff;
    font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .2rem .5rem; border-radius: var(--r-pill); margin-left: .5rem; vertical-align: middle;
}

/* ---------------------------------------------------------- feature row */

.feature { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { max-width: 34rem; }

/* ------------------------------------------------------------ timeline */

.timeline { position: relative; padding-left: 2.35rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: .6rem; bottom: .6rem; width: 2px; border-radius: 2px; background: var(--line-2); }
.timeline__item { position: relative; padding-bottom: 2.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: ""; position: absolute; left: -2.35rem; top: .5rem;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 4px solid var(--accent);
}
.timeline__year { font-size: var(--step-1); font-weight: 700; color: var(--accent); display: block; margin-bottom: .15rem; }
.timeline__title { font-size: 1.1rem; font-weight: 600; margin-bottom: .3rem; }
.timeline__text { color: var(--muted); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------- people */

/*
 * Profiles.
 *
 * The review asked for "a standardized profile format, ensuring that all staff
 * members have a uniform level of information displayed". Real profiles are
 * uneven — some people have a biography on file, some do not — so uniformity is
 * enforced by the layout rather than by the data: every card is the same height,
 * the photograph well is a fixed size whether or not a photograph exists, and
 * the biography is clamped so one long entry cannot stretch its row.
 */
.person {
    display: flex; flex-direction: column; gap: .85rem;
    height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.6rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person > div:last-child { display: flex; flex-direction: column; flex: 1; }
.person__bio {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
    overflow: hidden;
}

.person__photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: var(--brand-wash); }
.person__initials {
    width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
    background: var(--brand-wash); color: var(--brand); font-size: 1.6rem; font-weight: 700;
}
.person__name { font-size: 1.1rem; font-weight: 600; margin: 0 0 .1rem; }
.person__role { font-size: .89rem; color: var(--accent); font-weight: 600; margin: 0; }
.person__meta { font-size: .85rem; color: var(--muted); margin: .35rem 0 0; }
.person__bio  { font-size: .9rem; color: var(--muted); margin: .4rem 0 0; }
.person--board { text-align: center; align-items: center; }

/* -------------------------------------------------------------- donors */

.donor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }

.donor {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    min-height: 118px; display: grid; place-items: center; padding: 1.25rem; text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.donor:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.donor img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: all .25s var(--ease); }
.donor:hover img { filter: none; opacity: 1; }
.donor__name { font-size: .95rem; font-weight: 500; color: var(--text); line-height: 1.35; }

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

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .85rem; }

.gallery-item {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: var(--r); background: var(--sand); cursor: zoom-in;
    border: 0; padding: 0; display: block; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item__caption {
    position: absolute; inset: auto 0 0 0; padding: 2.5rem .9rem .85rem;
    background: linear-gradient(transparent, rgba(0,30,16,.88)); color: #fff;
    font-size: .82rem; text-align: left; line-height: 1.4;
    opacity: 0; transform: translateY(8px); transition: all .3s var(--ease);
}
.gallery-item:hover .gallery-item__caption { opacity: 1; transform: translateY(0); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,14,9,.96); display: none; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: grid; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); display: flex; flex-direction: column; gap: 1rem; }
.lightbox__figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--r); }
.lightbox__caption { color: rgba(255,255,255,.85); text-align: center; font-size: .95rem; }
.lightbox__count { color: rgba(255,255,255,.45); font-size: .8rem; text-align: center; letter-spacing: .1em; }
.lightbox__btn {
    position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
    color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    transition: background .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__btn--prev { left: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: clamp(.5rem, 3vw, 2rem); top: clamp(.5rem, 3vw, 2rem); }

/* --------------------------------------------------------------- prose */

.prose { max-width: 72ch; font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--r-lg); margin-block: 2rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.highlights li { position: relative; padding-left: 2rem; margin: 0; color: var(--text); }
.highlights li::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--accent-wash); box-shadow: inset 0 0 0 3px var(--accent);
}

.callout { background: var(--brand-wash); border-radius: var(--r-lg); padding: 1.6rem 1.85rem; }

.quote-block {
    background: var(--sand); border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem);
    font-size: var(--step-2); font-weight: 500; line-height: 1.45; color: var(--ink);
}
.quote-block cite { display: block; margin-top: 1rem; font-size: .92rem; font-weight: 400; font-style: normal; color: var(--muted); }

/* --------------------------------------------------------------- forms */

.field { margin-bottom: 1.35rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field .req { color: var(--accent); }

.input, .textarea, .select {
    width: 100%; padding: .85rem 1.1rem;
    border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
    background: #fff; font-family: inherit; font-size: .97rem; color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(4,106,56,.12); }
.textarea { min-height: 150px; resize: vertical; }

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236C7A73' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: 10px; padding-right: 2.5rem;
}

.field__error { color: #C0281F; font-size: var(--step--1); margin-top: .35rem; }
.field-row { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* -------------------------------------------------------------- alerts */

.alert { display: flex; gap: .75rem; align-items: flex-start; padding:1rem 1.25rem; border-radius: var(--r); font-size: .94rem; margin-bottom: 1.5rem; border: 1px solid; }
.alert--success { background: #EDF7F1; border-color: #BFE0CD; color: #16643C; }
.alert--error   { background: #FDF1F0; border-color: #F0C8C4; color: #A72A22; }
.alert--info    { background: var(--brand-wash); border-color: #CBE2D5; color: var(--brand-dark); }

/* ------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
.contact-detail { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail__icon { color: var(--accent); flex: none; padding-top: .15rem; }
.contact-detail__label { font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-detail__value { color: var(--ink); }
.contact-detail__value a { color: var(--ink); }
.contact-detail__value a:hover { color: var(--brand); }

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

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3rem; list-style: none; padding: 0; }
.pagination li { margin: 0; }
.pagination a, .pagination span {
    display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: .8rem;
    border: 1.5px solid var(--line-2); border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; color: var(--text);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------------------------------- empty states */

.empty { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; border: 2px dashed var(--line-2); border-radius: var(--r-xl); color: var(--muted); background: var(--off); }
.empty h3 { font-size: var(--step-1); margin-bottom: .4rem; }

/* -------------------------------------------------------------- footer */

.site-footer { background: var(--brand-darker); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr)); padding-bottom: 3rem; }

.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links li { margin: 0; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-links a:hover { color: #fff; }

.footer-brand__logo { height: 56px; width: auto; margin-bottom: 1rem; background: #fff; padding: .5rem .75rem; border-radius: var(--r-sm); }
.footer-brand__full { font-size: .9rem; color: rgba(255,255,255,.62); max-width: 34ch; margin-bottom: 1.1rem; }

.footer-newsletter { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-newsletter input {
    flex: 1 1 200px; padding: .75rem 1rem;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--r-pill); color: #fff; font-family: inherit; font-size: .9rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.42); }
.footer-newsletter input:focus { outline: none; border-color: var(--accent); }

.footer-social { display: flex; gap: .7rem; margin-top: 1.5rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: rgba(255,255,255,.72); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------- utils */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mx-auto { margin-inline: auto; }
.muted { color: var(--muted); }
.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; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1120px) {
    .nav { display: none; }
    .nav-toggle { display: grid; place-items: center; }

    .nav.is-open {
        display: flex; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: .75rem var(--gutter) 1.5rem;
        max-height: calc(100vh - 140px); overflow-y: auto; box-shadow: var(--shadow-lg);
    }
    .nav.is-open .nav__link { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav.is-open .nav__link--highlight { margin: 1rem 0 0; border: 0; border-radius: var(--r-pill); justify-content: center; }
    .nav.is-open .nav__dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-radius: 0; padding: .25rem 0 .75rem 1rem; display: none;
    }
    .nav.is-open .nav__item.is-expanded > .nav__dropdown { display: block; }
    .nav.is-open .nav__caret { margin-left: auto; }

    .masthead { position: relative; }
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/*
 * Short laptop screens.
 *
 * The illustration's height is fixed by its width — it is a 1920 × 560
 * panorama, and the sun sits hard against the top edge, so the scene cannot be
 * shortened by cropping without clipping it. On a screen that is wide but not
 * tall the copy gives up the difference instead, a step at a time, so the
 * message and the whole illustration still land above the fold.
 */
@media (min-width: 721px) and (max-height: 880px) {
    .hero h1,
    .hero__headline { font-size: clamp(1.5rem, 2.4vw, 2.15rem); }
    .hero__eyebrow { margin-bottom: .3rem; font-size: .72rem; }
    .hero__text { font-size: .87rem; line-height: 1.4; margin-bottom: .5rem; }
    .hero__actions .btn { padding: .56rem 1.2rem; font-size: .83rem; }
    .hero__inner { padding-bottom: .9rem; }
    .hero > .container { padding-top: 1.8%; }
}

@media (min-width: 721px) and (max-height: 700px) {
    .hero h1,
    .hero__headline { font-size: clamp(1.35rem, 2vw, 1.8rem); }
    .hero__text { font-size: .84rem; margin-bottom: .4rem; }
    .hero__actions .btn { padding: .5rem 1.1rem; }
    .hero > .container { padding-top: 1.7%; }
}

@media (max-width: 720px) {
    .topbar__inner { justify-content: center; }
    .topbar__status { display: none; }
    .brand__logo { height: 60px; }
    .feature--reverse .feature__media { order: 0; }
    .notice { flex-direction: column; gap: .35rem; }
    .notice__date { width: auto; }
    .doc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; }
    .hero > .container { padding-top: 4.2%; }
    .hero h1,
    .hero__headline { font-size: clamp(1.6rem, 8.4vw, 2.3rem); margin-bottom: .4rem; }
    .hero__text { font-size: .86rem; line-height: 1.4; margin-bottom: .6rem; }
    /* Both buttons share the row rather than wrapping onto two. */
    .hero__actions { width: 100%; flex-wrap: nowrap; }
    .hero__actions .btn { min-width: 0; flex: 1 1 auto; padding: .62rem .8rem; font-size: .82rem; }
    /*
     * Small screens show a zoomed, centred window onto the panorama rather than
     * the whole width. The SVG is anchored to the BOTTOM of that window so the
     * crop falls on the sky: the ground band — buildings, people, the van — is
     * what carries the meaning, and it must never be the part that is cut.
     */
    .hero-scene { min-height: 263px; margin-top: 0; }
    .hero-scene__svg {
        position: absolute; bottom: 0; left: 50%;
        width: 900px; height: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 720px) and (max-height: 760px) {
    .hero { padding-top: 0; }
    .hero h1,
    .hero__headline { font-size: clamp(1.45rem, 7.2vw, 2rem); margin-bottom: .3rem; }
    .hero__text { font-size: .86rem; line-height: 1.38; margin-bottom: .5rem; }
    .hero__actions .btn { padding-block: .58rem; }
    .hero__inner { padding-bottom: .7rem; }
    /* A slightly wider window on the panorama, so it stands 204px rather than
       216px tall — the last of the room a 667px-tall phone needs. */
    .hero-scene { min-height: 202px; }
    .hero-scene__svg { width: 700px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-scene__svg * { animation: none !important; }
}

@media print {
    .site-header, .site-footer, .hero-scene, .filters { display: none; }
    body { color: #000; }
}

/* ===========================================================================
   Saga Foundation — expressive content layer
   -------------------------------------------------------------------------
   A warmer, more editorial voice than the base template: a display serif for
   headings, image-independent jewel-tone "poster" cards led by the programme
   icon and Odisha-inspired motifs, warm section grounds, and small ornaments.
   ======================================================================== */

:root {
    --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;

    /* Rotating jewel-tone palette for image-less cards (temple / Pattachitra) */
    --jt1a:#B23A2E; --jt1b:#872017;   /* terracotta   */
    --jt2a:#C98216; --jt2b:#9A5B08;   /* marigold     */
    --jt3a:#128A83; --jt3b:#0A5A55;   /* peacock teal */
    --jt4a:#A63C6E; --jt4b:#762a4f;   /* rose / lac   */
    --jt5a:#3A5FA0; --jt5b:#284877;   /* temple indigo*/
    --jt6a:#6E8E33; --jt6b:#4F6C22;   /* leaf         */
}

/* ------------------------------------------------------------ typography */

h1, h2,
.section-head h2,
.feature h2,
.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -.015em;
    font-optical-sizing: auto;
}
h1 { font-weight: 600; }

/* Eyebrow becomes a small gold diamond kicker rather than a plain rule. */
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .16em; }
.eyebrow::before,
.section-head--center .eyebrow::after {
    content: "";
    width: .52rem; height: .52rem;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
}
.section--brand .eyebrow { color: var(--accent-bright); }

/* ------------------------------------------------------- warm section grounds */

.section--warm {
    background:
        radial-gradient(120% 60% at 50% 0%, var(--brand-wash) 0%, transparent 55%),
        linear-gradient(180deg, var(--brand-wash-2), var(--white) 70%);
}
/* A thin gold motif frieze along the top edge of warm bands. */
.section--warm { position: relative; }
.section--warm::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 8px;
    background:
        radial-gradient(circle at 8px 8px, var(--accent-bright) 2px, transparent 2.4px) repeat-x 0 0 / 20px 8px;
    opacity: .5;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

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

.card { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card:hover { box-shadow: 0 30px 60px -30px rgba(120, 40, 20, .38); }

/* --- image-less "poster" media, shared by work and story cards --- */
.card__poster {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--pc1, var(--jt1a)), var(--pc2, var(--jt1b)));
    overflow: hidden;
}
.card__poster-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.20), transparent 42%),
        radial-gradient(circle, rgba(255,255,255,.16) 1.4px, transparent 1.6px) 0 0 / 17px 17px,
        repeating-conic-gradient(from 0deg at 118% -10%, rgba(255,255,255,.10) 0deg 8deg, transparent 8deg 20deg);
    opacity: .85;
    mix-blend-mode: soft-light;
}
.card__poster-icon {
    position: relative;
    width: 78px; height: 78px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.42);
    box-shadow: 0 10px 26px -12px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35);
    backdrop-filter: blur(2px);
}
.card__poster-icon svg { width: 34px; height: 34px; color: #fff; }
.card__poster-icon img { width: 40px; height: 40px; object-fit: contain; }
.card:hover .card__poster-icon { transform: scale(1.06); transition: transform .4s var(--ease); }

/* Work-card poster colour rotation (direct children of a grid). */
.card--work.is-poster .card__body { padding-top: clamp(1.15rem, 2vw, 1.6rem); gap: .5rem; }
.grid > .card--work.is-poster:nth-child(6n+1) { --pc1: var(--jt1a); --pc2: var(--jt1b); }
.grid > .card--work.is-poster:nth-child(6n+2) { --pc1: var(--jt2a); --pc2: var(--jt2b); }
.grid > .card--work.is-poster:nth-child(6n+3) { --pc1: var(--jt3a); --pc2: var(--jt3b); }
.grid > .card--work.is-poster:nth-child(6n+4) { --pc1: var(--jt4a); --pc2: var(--jt4b); }
.grid > .card--work.is-poster:nth-child(6n+5) { --pc1: var(--jt5a); --pc2: var(--jt5b); }
.grid > .card--work.is-poster:nth-child(6n+6) { --pc1: var(--jt6a); --pc2: var(--jt6b); }

/* Story-card poster — warm, quote-led, 3-tone rotation. */
.card--story .card__poster--story { flex-direction: column; padding: 1.4rem; text-align: center; }
.grid > .card--story.is-poster:nth-child(3n+1) { --pc1: var(--jt1a); --pc2: var(--jt1b); }
.grid > .card--story.is-poster:nth-child(3n+2) { --pc1: var(--jt4a); --pc2: var(--jt4b); }
.grid > .card--story.is-poster:nth-child(3n+3) { --pc1: var(--jt2a); --pc2: var(--jt2b); }
.card__quote-mark {
    position: relative; display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
    margin-bottom: .7rem;
}
.card__quote-mark svg { width: 26px; height: 26px; color: #fff; }
.card__quote-text {
    position: relative; z-index: 1;
    color: #fff; font-family: var(--font-display); font-weight: 500;
    font-size: 1.02rem; line-height: 1.4; text-wrap: balance;
    text-shadow: 0 1px 10px rgba(0,0,0,.22);
}

/* Titles stay crisp Poppins, but lift to brand on hover. */
.card--work .card__title a:hover,
.card--story .card__title a:hover { color: var(--brand); }

/* --------------------------------------------------------- impact band motif */

.section--brand { position: relative; overflow: hidden; }
.section--brand::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(230,166,46,.16), transparent 60%),
        radial-gradient(50% 80% at 0% 100%, rgba(255,255,255,.06), transparent 60%),
        radial-gradient(circle, rgba(255,255,255,.05) 1.2px, transparent 1.5px) 0 0 / 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
            mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.section--brand .container { position: relative; z-index: 1; }
.stat__value { font-family: var(--font-display); letter-spacing: -.02em; }
.stat { border-radius: var(--r-lg); }

/* --------------------------------------------------------------- the callout */

.callout {
    background: linear-gradient(150deg, var(--accent-wash), var(--brand-wash));
    border: 1px solid var(--accent-wash);
    border-left: 4px solid var(--accent-bright);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    position: relative;
}
.callout::before {
    content: "\201C";
    position: absolute; top: -.2rem; left: 1rem;
    font-family: var(--font-display); font-size: 4.5rem; line-height: 1;
    color: var(--accent-bright); opacity: .35;
}

/* --------------------------------------------------------- notice board polish */

.notice { border-radius: var(--r); }
.notice__date { color: var(--accent); font-weight: 600; }

/* ---------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
    .card:hover .card__poster-icon { transform: none; }
}

/* ===========================================================================
   Saga Foundation — compact & colourful pass
   Tighter vertical rhythm, and colour carried through cards, CTAs, tags and
   soft section washes (photos will slot straight into the card media).
   ======================================================================== */

:root { --section-y: clamp(2rem, 4.2vw, 3.9rem); }
body { line-height: 1.62; }

.section-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); gap: 1rem 1.5rem; }
.home-page .section-head { margin-bottom: clamp(1rem, 2vw, 1.55rem); }
.home-page .section-head h2,
.home-page .feature h2 { font-size: clamp(1.55rem, 1.3rem + 1.05vw, 2.25rem); }
.section-head__lede { font-size: 1.02rem; line-height: 1.5; }
.home-page .section-head__lede { font-size: clamp(.96rem, .93rem + .18vw, 1.08rem); }

.grid { gap: clamp(.85rem, 1.6vw, 1.35rem); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ------------------------------------------------------- compact cards */

.card__body { padding: clamp(.95rem, 1.5vw, 1.35rem); gap: .45rem; }
.card__text { font-size: .89rem; line-height: 1.55; }
.card--work .card__media { aspect-ratio: 16 / 9; }
.card--story .card__media { aspect-ratio: 16 / 10; }
.card--work.is-poster .card__body { padding-top: clamp(.9rem, 1.4vw, 1.25rem); }
.card__poster-icon { width: 60px; height: 60px; }
.card__poster-icon svg { width: 28px; height: 28px; }
.card__poster-icon img { width: 32px; height: 32px; }
.card__quote-mark { width: 46px; height: 46px; margin-bottom: .5rem; }
.card__quote-mark svg { width: 22px; height: 22px; }
.card__quote-text { font-size: .96rem; }
.feature { gap: clamp(1.5rem, 3.5vw, 2.75rem); }

/* --------------------------------------------- colour on every work card */

/* Jewel rotation applies to photo cards too, so badges + CTAs stay colourful. */
.grid > .card--work:nth-child(6n+1) { --pc1: var(--jt1a); --pc2: var(--jt1b); }
.grid > .card--work:nth-child(6n+2) { --pc1: var(--jt2a); --pc2: var(--jt2b); }
.grid > .card--work:nth-child(6n+3) { --pc1: var(--jt3a); --pc2: var(--jt3b); }
.grid > .card--work:nth-child(6n+4) { --pc1: var(--jt4a); --pc2: var(--jt4b); }
.grid > .card--work:nth-child(6n+5) { --pc1: var(--jt5a); --pc2: var(--jt5b); }
.grid > .card--work:nth-child(6n+6) { --pc1: var(--jt6a); --pc2: var(--jt6b); }
.grid > .card--story:nth-child(3n+1) { --pc1: var(--jt1a); --pc2: var(--jt1b); }
.grid > .card--story:nth-child(3n+2) { --pc1: var(--jt4a); --pc2: var(--jt4b); }
.grid > .card--story:nth-child(3n+3) { --pc1: var(--jt2a); --pc2: var(--jt2b); }

/* A slim colour cap + coloured photo badge, so photos read as part of the set. */
.card--work { border-top: 3px solid var(--pc1, var(--brand)); }
.card--work.has-photo .card__icon {
    background: linear-gradient(140deg, var(--pc1), var(--pc2));
    border: 1px solid rgba(255,255,255,.55);
}
.card--work.has-photo .card__icon svg { color: #fff; }
.card--work.has-photo .card__icon img { filter: none; }

/* Per-card coloured "Explore" and title hover (dark tone = accessible on white). */
.card--work .link-cta { color: var(--pc2, var(--brand)); }
.card--work .card__title a:hover { color: var(--pc2, var(--brand)); }

/* Coloured location / tag chips. */
.card__tag {
    background: var(--pc2, var(--brand)); color: #fff;
    border-radius: 100px; padding: .28rem .7rem; font-weight: 600;
    box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.card--story .card__body .card__meta span:first-child { color: var(--pc2, var(--accent)); font-weight: 600; }

/* --------------------------------------------------- colourful section washes */

.section--gold, .section--mist { position: relative; }
.section--gold {
    background:
        radial-gradient(120% 55% at 50% 0%, var(--accent-wash) 0%, transparent 55%),
        linear-gradient(180deg, #FCF4E1, var(--white) 72%);
}
.section--mist {
    background:
        radial-gradient(120% 55% at 50% 0%, #E2F1EF 0%, transparent 55%),
        linear-gradient(180deg, #EEF6F5, var(--white) 72%);
}
.section--gold::before, .section--mist::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 8px;
    background: radial-gradient(circle at 8px 8px, currentColor 2px, transparent 2.4px) repeat-x 0 0 / 20px 8px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    opacity: .45;
}
.section--gold::before { color: var(--accent-bright); }
.section--mist::before { color: #12857F; }

/* Colourful notice cards. */
.notice { border-left: 3px solid var(--accent-bright); }
.notice:nth-child(3n+2) { border-left-color: #12857F; }
.notice:nth-child(3n+3) { border-left-color: var(--jt4a); }

/* Rotating jewel tints for the impact-band icons. */
.section--brand .stat:nth-child(4n+1) .stat__icon { background: rgba(230,166,46,.22); color: #F2C866; }
.section--brand .stat:nth-child(4n+2) .stat__icon { background: rgba(63,178,170,.22); color: #7FD8D1; }
.section--brand .stat:nth-child(4n+3) .stat__icon { background: rgba(224,120,150,.22); color: #F0A9C0; }
.section--brand .stat:nth-child(4n+4) .stat__icon { background: rgba(255,255,255,.16); color: #fff; }

/* ===========================================================================
   Saga Foundation — impact band & footer redesign
   ======================================================================== */

/* ---------------------------------------------------------------- mandala */

@keyframes saga-mandala-spin { to { transform: rotate(360deg); } }

.mandala { display: block; max-width: none; height: auto; }
.impact__mandala,
.footer-mandala {
    position: absolute; pointer-events: none; z-index: 0;
    color: #F2C866;
    animation: saga-mandala-spin 160s linear infinite;
}

/* ------------------------------------------------------------- impact band */

.impact {
    background:
        radial-gradient(70% 90% at 50% -10%, rgba(230,166,46,.20), transparent 60%),
        linear-gradient(135deg, #5E1A15 0%, #822A20 42%, #6A1D2C 72%, #4A1530 100%);
    padding-block: clamp(2.6rem, 5vw, 4.4rem);
}
.impact::after {
    background:
        radial-gradient(circle, rgba(255,255,255,.06) 1.2px, transparent 1.5px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 85%);
            mask-image: radial-gradient(80% 70% at 50% 50%, #000 30%, transparent 85%);
}
.impact__mandala--right { width: 560px; top: -210px; right: -190px; opacity: .13; }
.impact__mandala--left  { width: 380px; bottom: -170px; left: -150px; opacity: .09; animation-direction: reverse; }

.impact__head { margin-bottom: clamp(1.4rem, 2.6vw, 2.1rem); }
.impact__head .section-head__text { max-width: 44rem; }
.impact__head .eyebrow { color: #F2C866; }
.impact__head h2 { color: #fff; margin-bottom: .45rem; }
.impact__hl {
    font-style: italic; font-weight: 500;
    background: linear-gradient(180deg, #FFE2A0, #E6A62E);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.impact__head .section-head__lede { color: rgba(255,255,255,.78); }

.impact .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.75rem, 1.5vw, 1.15rem);
}

.impact .stat {
    --sc: #E6A62E;
    position: relative; overflow: hidden;
    align-items: center; text-align: center; gap: .15rem;
    padding: clamp(1.15rem, 2vw, 1.6rem) clamp(.8rem, 1.5vw, 1.2rem) clamp(1.05rem, 1.8vw, 1.4rem);
    background: linear-gradient(165deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--r-lg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px -26px rgba(0,0,0,.55);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.impact .stat::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--sc), transparent);
}
.impact .stat::after {
    content: ""; position: absolute; width: 140px; height: 140px; right: -60px; top: -60px;
    border-radius: 50%; background: radial-gradient(circle, var(--sc), transparent 70%);
    opacity: .14; transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.impact .stat:hover {
    transform: translateY(-6px);
    background: linear-gradient(165deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
    border-color: rgba(242,200,102,.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 26px 50px -24px rgba(0,0,0,.6);
}
.impact .stat:hover::after { opacity: .3; transform: scale(1.25); }

.impact .stat:nth-child(4n+1) { --sc: #E6A62E; }
.impact .stat:nth-child(4n+2) { --sc: #3FB2AA; }
.impact .stat:nth-child(4n+3) { --sc: #E07896; }
.impact .stat:nth-child(4n+4) { --sc: #F4B183; }
.impact .stat:nth-child(4n+4) .stat__icon { background: rgba(244,177,131,.22); color: #F8C9A6; }

.impact .stat__icon { width: 50px; height: 50px; margin: 0 auto .6rem; position: relative; z-index: 1; }
.impact .stat__icon svg { width: 23px; height: 23px; }

.impact .stat__value {
    position: relative; z-index: 1;
    font-size: clamp(2rem, 3.3vw, 2.85rem); font-weight: 600; line-height: 1.05;
    background: linear-gradient(180deg, #FFF1CF 0%, #F2C866 55%, #E6A62E 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.impact .stat__rule {
    width: 34px; height: 2px; margin: .55rem auto .5rem; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--sc), transparent);
}
.impact .stat__label { position: relative; z-index: 1; font-size: .92rem; line-height: 1.35; color: rgba(255,255,255,.92); }

.impact__cta { text-align: center; margin: clamp(1.4rem, 2.6vw, 2rem) 0 0; }

@media (max-width: 980px) {
    .impact .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .impact .stat { padding: 1rem .6rem; }
    .impact .stat__value { font-size: 1.75rem; }
    .impact .stat__label { font-size: .82rem; }
    .impact__mandala--right { width: 380px; top: -150px; right: -170px; }
}

/* ------------------------------------------------------------------ footer */

.site-footer {
    position: relative; overflow: hidden;
    color: rgba(255,255,255,.72);
    padding-block: clamp(2.8rem, 5vw, 4rem) 0;
    background:
        radial-gradient(60% 70% at 100% 0%, rgba(230,166,46,.13), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(166,50,42,.28), transparent 65%),
        linear-gradient(180deg, #3B1611 0%, #2B110D 55%, #1D0B08 100%);
}
/* Jewel-tone ribbon along the top edge. */
.site-footer::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; z-index: 2;
    background: linear-gradient(90deg, var(--jt1a), var(--jt2a), var(--jt3a), var(--jt4a), var(--jt5a), var(--jt6a), var(--jt1a));
}
.footer-mandala { width: 620px; right: -220px; bottom: -260px; opacity: .07; }
.site-footer > .container { position: relative; z-index: 1; }

.footer-grid {
    gap: clamp(1.75rem, 3.5vw, 2.75rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.site-footer h4 {
    display: flex; align-items: center; gap: .55rem;
    color: #F2C866; font-size: .78rem; letter-spacing: .16em; margin-bottom: 1.05rem;
}
.site-footer h4::before {
    content: ""; width: .45rem; height: .45rem; border-radius: 1px;
    background: currentColor; transform: rotate(45deg); flex: none;
}

.footer-brand__logo {
    height: 88px; max-width: 100%; object-fit: contain; padding: .6rem .9rem; border-radius: var(--r);
    box-shadow: 0 14px 30px -18px rgba(0,0,0,.7);
}
.footer-brand__full { color: #fff; font-weight: 600; font-size: .98rem; margin-bottom: .2rem; }
.footer-brand__tagline {
    font-family: var(--font-display); font-style: italic; font-size: 1.08rem;
    color: #F2C866; margin: 0 0 .7rem;
}

.footer-links { gap: .5rem; }
.footer-links a {
    display: inline-flex; align-items: center; gap: .4rem;
    color: rgba(255,255,255,.72);
    transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-links a::before {
    content: ""; width: 0; height: 2px; border-radius: 2px; background: #F2C866;
    transition: width .25s var(--ease);
}
.footer-links a:hover { color: #FFE2A0; transform: translateX(2px); }
.footer-links a:hover::before { width: .7rem; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; font-size: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .65rem; margin: 0; line-height: 1.5; }
.footer-contact svg {
    flex: none; width: 30px; height: 30px; padding: 7px; margin-top: -.2rem;
    border-radius: 50%; color: #F2C866; background: rgba(242,200,102,.12);
}
.footer-contact a, .footer-contact span { color: rgba(255,255,255,.76); }
.footer-contact a:hover { color: #FFE2A0; }
.footer-donate { margin-top: 1.1rem; }
.footer-donate svg { width: 16px; height: 16px; }

.footer-newsletter input {
    background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18);
}
.footer-newsletter input:focus { border-color: #F2C866; background: rgba(255,255,255,.1); }

.footer-social a:hover {
    background: linear-gradient(140deg, var(--jt2a), var(--jt1a));
    border-color: transparent; color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(242,200,102,.16);
    padding-block: 1.15rem; color: rgba(255,255,255,.52);
}
.footer-bottom a:hover { color: #FFE2A0; }

@media (prefers-reduced-motion: reduce) {
    .impact__mandala, .footer-mandala { animation: none !important; }
}

/* Footer grid: a wider Contact column, then graceful 3 / 2 / 1-column steps. */
.footer-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.45fr);
}
.footer-grid > * { min-width: 0; }
.footer-contact a, .footer-contact span { overflow-wrap: break-word; min-width: 0; }
.footer-donate { white-space: nowrap; }

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-mandala { width: 420px; right: -200px; bottom: -180px; }
}

/* Compact impact band (used on inner pages without a heading). */
.impact--compact { padding-block: clamp(1.8rem, 3.5vw, 2.8rem); }
.impact--compact .impact__mandala--right { width: 420px; top: -170px; right: -150px; }

/* ===========================================================================
   Homepage service reel

   The opening motion follows the foundation's actual work: each CMS message
   reveals a corresponding programme image. The slow crop movement feels like
   editorial documentary film; the orbit lines echo Odissi geometry without
   pretending that a still photograph is live footage.
   ======================================================================== */

.hero--service-reel {
    min-height: min(720px, calc(100svh - 118px));
    display: grid;
    align-items: center;
    padding-block: clamp(2.6rem, 5.5vw, 5.6rem);
    background:
        radial-gradient(44rem 32rem at 88% 45%, rgba(230,166,46,.14), transparent 72%),
        radial-gradient(36rem 30rem at 6% 12%, rgba(166,50,42,.08), transparent 74%),
        linear-gradient(135deg, #fff 0%, #fffaf6 54%, #f8efe8 100%);
}
.hero--service-reel::before {
    content: "";
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(circle, rgba(166,50,42,.11) 1.1px, transparent 1.3px) 0 0 / 28px 28px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 42%);
            mask-image: linear-gradient(90deg, #000, transparent 42%);
    opacity: .42;
}

.hero--service-reel > .hero__layout {
    width: min(var(--container), calc(100% - 2 * var(--gutter)));
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6.5rem);
}
.hero--service-reel .hero__content { min-width: 0; position: relative; z-index: 3; }
.hero--service-reel .hero__inner {
    max-width: 38rem; margin: 0; padding: 0;
    text-align: left;
}
.hero--service-reel .hero__eyebrow { justify-content: flex-start; margin-bottom: .85rem; }
.hero--service-reel .hero__eyebrow::after { display: none; }
.hero--service-reel h1,
.hero--service-reel .hero__headline {
    max-width: 12.5ch;
    margin-bottom: 1rem;
    font-size: clamp(2.45rem, 4.2vw, 4.3rem);
    line-height: 1.01;
    letter-spacing: -.045em;
    font-weight: 600;
}
.hero--service-reel .hero__headline .hl { display: inline; }
.hero--service-reel .hl {
    color: var(--brand);
    font-style: italic;
    font-weight: 500;
}
.hero--service-reel .hero__text {
    max-width: 35rem; margin: 0 0 1.4rem;
    color: var(--text); font-size: clamp(.96rem, 1.1vw, 1.08rem); line-height: 1.65;
}
.hero--service-reel .hero__actions { justify-content: flex-start; }
.hero--service-reel .hero__actions .btn { min-width: 0; padding: .78rem 1.35rem; font-size: .9rem; }

.hero--service-reel .hero__copy {
    align-self: center;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.hero--service-reel .hero__copy.is-active { transform: none; }

.hero__service-nav {
    min-height: 3.2rem;
    display: flex; align-items: center; gap: .45rem;
    margin-top: clamp(2rem, 4vw, 3.25rem);
    padding-right: 7.25rem;
}
.hero__service-dot {
    display: inline-flex; align-items: center; gap: .48rem;
    min-width: 0;
    padding: .42rem .6rem .42rem .42rem;
    border: 0; border-radius: var(--r-pill);
    background: transparent; color: var(--muted);
    font: 600 .72rem/1.2 var(--font); cursor: pointer;
    transition: color .25s var(--ease), background .25s var(--ease);
}
.hero__service-dot span {
    width: 1.85rem; height: 1.85rem; flex: none;
    display: grid; place-items: center;
    border: 1px solid var(--line-2); border-radius: 50%;
    background: rgba(255,255,255,.72); color: var(--brand);
    font-size: .65rem;
    transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.hero__service-dot:hover,
.hero__service-dot.is-active { background: rgba(255,255,255,.78); color: var(--ink); }
.hero__service-dot.is-active span { background: var(--brand); border-color: var(--brand); color: #fff; }

.hero--service-reel .hero__arrow {
    top: auto; bottom: -5.3rem;
    width: 44px; height: 44px;
    transform: none;
    background: rgba(255,255,255,.9);
}
.hero--service-reel .hero__arrow--prev { left: auto; right: 3.25rem; }
.hero--service-reel .hero__arrow--next { right: 0; }
.hero--service-reel .hero__arrow:hover { transform: scale(1.06); }

.hero-service {
    position: relative;
    min-width: 0;
    aspect-ratio: 1.12 / 1;
    isolation: isolate;
}
.hero-service::before {
    content: "";
    position: absolute; z-index: -1;
    width: 38%; aspect-ratio: 1; left: -8%; bottom: -10%;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-bright), #cf761a);
    box-shadow: 0 26px 55px -28px rgba(126,36,30,.5);
}
.hero-service::after {
    content: "";
    position: absolute; z-index: 2;
    width: 6.5rem; height: 1rem; right: 6%; top: -1.4rem;
    background: repeating-linear-gradient(90deg, var(--brand) 0 7px, transparent 7px 14px);
    opacity: .7;
}
.hero-service__frame {
    position: absolute; inset: 0; z-index: 1;
    margin: 0; overflow: hidden;
    border: .55rem solid #fff;
    border-radius: 2.25rem 2.25rem 7.5rem 2.25rem;
    background: var(--sand);
    box-shadow: 0 36px 80px -38px rgba(71,38,25,.56);
    opacity: 0; visibility: hidden;
    clip-path: inset(0 0 100% 0 round 1.7rem 1.7rem 6.9rem 1.7rem);
    transform: translateY(14px);
    transition: clip-path .78s var(--ease), opacity .42s var(--ease), transform .78s var(--ease), visibility .78s;
}
.hero-service__frame.is-active {
    opacity: 1; visibility: visible;
    clip-path: inset(0 round 1.7rem 1.7rem 6.9rem 1.7rem);
    transform: none;
}
.hero-service__frame img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.035);
}
.hero-service__frame.is-active img { animation: hero-service-drift 8s ease-out both; }

.hero-service__caption {
    position: absolute; z-index: 2; left: 1rem; right: 1.8rem; bottom: 1rem;
    display: flex; align-items: center; gap: .75rem;
    width: fit-content; max-width: calc(100% - 2.8rem);
    padding: .65rem .95rem .65rem .65rem;
    border: 1px solid rgba(255,255,255,.5); border-radius: var(--r-pill);
    background: rgba(49,26,21,.73); color: #fff;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px -16px rgba(0,0,0,.6);
}
.hero-service__number {
    width: 2.45rem; height: 2.45rem; flex: none;
    display: grid; place-items: center;
    border-radius: 50%; background: var(--accent-bright); color: #3b1a11;
    font-size: .74rem; font-weight: 700;
}
.hero-service__caption span:last-child { display: grid; line-height: 1.2; }
.hero-service__caption small { color: rgba(255,255,255,.7); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-service__caption strong { margin-top: .18rem; font-size: .9rem; font-weight: 600; }

.hero-service__orbit {
    position: absolute; z-index: -1; pointer-events: none;
    border: 1px dashed rgba(166,50,42,.34); border-radius: 50%;
    animation: hero-service-orbit 28s linear infinite;
}
.hero-service__orbit::before,
.hero-service__orbit::after {
    content: ""; position: absolute; border-radius: 50%; background: var(--accent-bright);
}
.hero-service__orbit::before { width: .85rem; height: .85rem; top: 13%; left: 5%; }
.hero-service__orbit::after { width: .45rem; height: .45rem; right: 8%; bottom: 15%; background: var(--brand); }
.hero-service__orbit--one { width: 108%; aspect-ratio: 1; left: -10%; top: -7%; }
.hero-service__orbit--two {
    width: 82%; aspect-ratio: 1; right: -4%; bottom: -9%;
    border-color: rgba(230,166,46,.42); animation-direction: reverse; animation-duration: 36s;
}
.hero-service__progress {
    position: absolute; z-index: 4; left: 3rem; right: 6rem; bottom: -.95rem;
    height: 3px; overflow: hidden; border-radius: 3px;
    background: rgba(166,50,42,.14);
}
.hero-service__progress > span {
    display: block; width: 100%; height: 100%; transform-origin: left;
    background: linear-gradient(90deg, var(--brand), var(--accent-bright));
    animation: hero-service-progress 7s linear both;
}
.hero--service-reel.is-cycle-paused .hero-service__frame.is-active img,
.hero--service-reel.is-cycle-paused .hero-service__progress > span {
    animation-play-state: paused;
}

@keyframes hero-service-drift {
    from { transform: scale(1.035) translate3d(0, 0, 0); }
    to   { transform: scale(1.105) translate3d(-1.2%, -.7%, 0); }
}
@keyframes hero-service-orbit { to { transform: rotate(360deg); } }
@keyframes hero-service-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 980px) {
    .hero--service-reel { min-height: 0; padding-block: 2.7rem 3.6rem; }
    .hero--service-reel > .hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 3.2rem;
    }
    .hero--service-reel .hero__inner { max-width: 46rem; }
    .hero--service-reel h1,
    .hero--service-reel .hero__headline { max-width: 15ch; font-size: clamp(2.35rem, 7vw, 4.25rem); }
    .hero-service { aspect-ratio: 16 / 10; width: min(100%, 760px); }
    .hero-service__orbit--one { width: 88%; left: 4%; top: -23%; }
}

@media (max-width: 620px) {
    .hero--service-reel { padding-block: 2rem 3rem; }
    .hero--service-reel > .hero__layout { width: calc(100% - 2 * var(--gutter)); gap: 2.8rem; }
    .hero--service-reel h1,
    .hero--service-reel .hero__headline { font-size: clamp(2rem, 10.6vw, 3.15rem); }
    .hero--service-reel .hero__text { font-size: .92rem; line-height: 1.55; }
    .hero__service-nav { margin-top: 1.7rem; padding-right: 6.5rem; }
    .hero__service-dot { padding: .3rem; }
    .hero__service-dot { font-size: 0; }
    .hero__service-dot span { font-size: .63rem; }
    .hero--service-reel .hero__arrow { bottom: -4.55rem; width: 40px; height: 40px; }
    .hero--service-reel .hero__arrow--prev { right: 2.85rem; }
    .hero-service { aspect-ratio: 4 / 3; }
    .hero-service__frame { border-width: .38rem; border-radius: 1.5rem 1.5rem 4.8rem 1.5rem; }
    .hero-service__frame.is-active { clip-path: inset(0 round 1.12rem 1.12rem 4.42rem 1.12rem); }
    .hero-service__caption { left: .7rem; right: 1rem; bottom: .7rem; padding: .48rem .75rem .48rem .48rem; }
    .hero-service__number { width: 2rem; height: 2rem; }
    .hero-service__caption small { display: none; }
    .hero-service__caption strong { margin: 0; font-size: .78rem; }
    .hero-service__progress { left: 2rem; right: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-service__frame,
    .hero-service__frame img,
    .hero-service__orbit,
    .hero-service__progress > span { animation: none !important; }
    .hero-service__frame { transition: none; }
    .hero-service__progress > span { transform: scaleX(1); }
}

@media print {
    .hero-service { display: none; }
    .hero--service-reel { min-height: 0; }
}

/* ===========================================================================
   Balanced programme grid + cultural participation call-to-action
   ======================================================================== */

/* A class named grid--3 should resolve to three balanced tracks on desktop.
   Auto-fill created four cards followed by an awkward two-card final row. */
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* The cultural photograph enters from above and dissolves into the maroon
   field, keeping the left side calm enough for the invitation and buttons. */
.work-with-us {
    isolation: isolate;
    min-height: clamp(29rem, 44vw, 38rem);
    display: grid;
    align-items: center;
    background:
        radial-gradient(80% 120% at 78% 8%, rgba(141, 38, 54, .4), transparent 66%),
        linear-gradient(112deg, #35101c 0%, #541424 46%, #6f1b2e 100%);
}
.work-with-us::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(43, 9, 19, .98) 0%, rgba(49, 10, 21, .91) 34%, rgba(55, 11, 23, .42) 65%, transparent 100%),
        linear-gradient(0deg, #531322 0%, rgba(83, 19, 34, .1) 42%, rgba(35, 7, 15, .16) 100%);
}
.work-with-us::after {
    z-index: 2;
    opacity: .62;
}
.work-with-us__culture {
    position: absolute;
    z-index: 0;
    inset: -10% -3% -16% 25%;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
            mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 96%);
}
.work-with-us__culture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% top;
    opacity: .9;
    filter: saturate(.88) contrast(1.04);
    animation: work-culture-hover 16s ease-in-out infinite alternate;
    will-change: transform;
}
.work-with-us .work-with-us__content {
    position: relative;
    z-index: 3;
    width: min(100% - (var(--gutter) * 2), var(--container));
}
.work-with-us__layout {
    grid-template-columns: minmax(0, .82fr) minmax(20rem, 1.18fr);
}
.work-with-us__body {
    max-width: 37rem;
    padding-block: clamp(1rem, 4vw, 3.5rem);
    text-shadow: 0 2px 22px rgba(28, 4, 12, .48);
}
.work-with-us .eyebrow { color: #f3c95b; }
.work-with-us h2 {
    margin-bottom: .8rem;
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 4.2rem);
}
.work-with-us__lede {
    max-width: 34rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, .92rem + .36vw, 1.25rem);
    line-height: 1.68;
}
.work-with-us .gallery-grid {
    position: relative;
    z-index: 2;
    padding: .7rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--r-xl);
    background: rgba(38, 7, 17, .28);
    box-shadow: 0 24px 70px rgba(20, 2, 8, .28);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
}

@keyframes work-culture-hover {
    from { transform: translate3d(0, -2.6%, 0) scale(1.035); }
    to   { transform: translate3d(0, 1.2%, 0) scale(1.075); }
}

@media (max-width: 980px) {
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .work-with-us__layout { grid-template-columns: minmax(0, .92fr) minmax(18rem, 1.08fr); }
    .work-with-us__culture { inset: -7% -18% -12% 18%; }
}

@media (max-width: 620px) {
    .grid--3 { grid-template-columns: minmax(0, 1fr); }
    .work-with-us {
        min-height: 35rem;
        align-items: end;
    }
    .work-with-us::before {
        background:
            linear-gradient(0deg, rgba(52, 9, 21, .99) 0%, rgba(56, 10, 23, .92) 47%, rgba(45, 7, 17, .18) 100%),
            linear-gradient(90deg, rgba(39, 6, 15, .55), rgba(57, 10, 24, .08));
    }
    .work-with-us__culture {
        inset: -5% -32% 12% -25%;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
                mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    }
    .work-with-us__culture img { object-position: 66% top; opacity: .78; }
    .work-with-us__layout { grid-template-columns: minmax(0, 1fr); }
    .work-with-us__body { padding-top: 15rem; }
    .work-with-us .gallery-grid { display: none; }
    .work-with-us .hero__actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .work-with-us__culture img { animation: none; transform: none; }
}

@media print {
    .work-with-us { min-height: 0; }
    .work-with-us__culture { display: none; }
}

/* The last menu item's dropdown opens leftwards so it never runs off-screen. */
@media (min-width: 1121px) {
    .nav > .nav__item:last-child > .nav__dropdown { left: auto; right: 0; }
}

/* One logo size on phones, on every page. */
@media (max-width: 720px) {
    .brand__logo,
    .home-page .brand__logo { height: 70px; }
}

/* Card visual: the media box clips its hover zoom, so the icon badge lives
   beside it in this unclipped wrapper and can straddle the photo's lower edge. */
.card__visual { position: relative; flex: none; }
.card__visual > .card__media { display: block; }
.card__visual > .card__icon { z-index: 3; }
