/* ═══════════════════════════════════════════════
   DESIGN TOKENS — derived from AMR campaign posters
   ═══════════════════════════════════════════════ */
:root {
  /* ───────────────────────────────────────────────
     COLOUR — sampled from the printed posters.
     Hues are fixed. Never re-tint these.
     ─────────────────────────────────────────────── */

  /* Poster Greens */
  --green-900: #0D3B2E;
  --green-800: #145A3C;
  --green-700: #1B6B45;
  --green-600: #006857;
  --green-500: #0E8A6E;
  --green-400: #26A98B;
  --green-300: #4FC3A7;
  --green-200: #A7E0D0;
  --green-100: #D5F0E8;
  --green-50:  #EDF8F4;

  /* Poster Reds / Vermillion */
  --red-700: #B71C1C;
  --red-600: #C62828;
  --red-500: #D32F2F;
  --red-400: #EF5350;
  --red-100: #FFEBEE;

  /* Poster Orange Accent */
  --orange-600: #F26522;
  --orange-500: #FF7A33;
  --orange-100: #FFF3E0;

  /* Neutrals */
  --white: #FFFFFF;
  --black: #000000;
  --gray-50:  #F8FAFB;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --gray-950: #0A0F1A;

  /* Semantic */
  --bg-body: var(--gray-50);
  --bg-card: var(--white);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --border-default: var(--gray-200);
  /* Repointed from --green-600 to --green-300 so the semantic token now equals
     the value every hover rule was hardcoding. Same pixels, one source. */
  --border-hover: var(--green-300);

  /* ───────────────────────────────────────────────
     TYPOGRAPHY
     ─────────────────────────────────────────────── */

  /* System fonts only. No webfont bytes, no CDN, and no
     render-blocking request before first paint.
     Latin faces come first; the Devanagari families are only reached for glyphs
     the Latin faces lack, which is what the Marathi toggle will depend on. */
  --font-system:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari', 'Devanagari Sangam MN',
    Arial, sans-serif;

  /* Kept as two names: hierarchy is rebuilt through weight, size and tracking
     rather than a contrasting typeface. Both resolve to the same stack, so a
     `font-family: var(--font-display)` declaration buys nothing — every place
     that used to carry one now carries a weight/tracking treatment instead. */
  --font-display: var(--font-system);
  --font-body: var(--font-system);

  /* Fluid type ramp. Every step interpolates between a 360px and a 1440px
     viewport, so the page needs no font-size breakpoints at all.
     The clamp preferred value keeps a rem intercept, so a user who raises their
     browser font size still gets larger text (WCAG 1.4.4).
     Comments give the rendered px at 360px → 1440px. */
  --text-2xs:  clamp(0.6875rem, 0.667rem + 0.09vw, 0.75rem);   /* 11   → 12   */
  --text-xs:   clamp(0.75rem,   0.729rem + 0.09vw, 0.8125rem); /* 12   → 13   */
  --text-sm:   clamp(0.8438rem, 0.823rem + 0.09vw, 0.9063rem); /* 13.5 → 14.5 */
  --text-base: clamp(1rem,      0.979rem + 0.09vw, 1.0625rem); /* 16   → 17   */
  --text-md:   clamp(1.0625rem, 1.021rem + 0.19vw, 1.1875rem); /* 17   → 19   */
  --text-lg:   clamp(1.1875rem, 1.146rem + 0.19vw, 1.3125rem); /* 19   → 21   */
  --text-xl:   clamp(1.3125rem, 1.25rem  + 0.28vw, 1.5rem);    /* 21   → 24   */
  --text-2xl:  clamp(1.4375rem, 1.333rem + 0.46vw, 1.75rem);   /* 23   → 28   */
  --text-3xl:  clamp(1.625rem,  1.458rem + 0.74vw, 2.125rem);  /* 26   → 34   */
  --text-4xl:  clamp(1.8125rem, 1.5rem   + 1.39vw, 2.75rem);   /* 29   → 44   */
  --text-5xl:  clamp(2rem,      1.583rem + 1.85vw, 3.25rem);   /* 32   → 52   */

  /* Weights — one family, so these carry most of the hierarchy. */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  /* Line heights — tight for display, open for reading. */
  --lh-display: 1.08;
  --lh-title: 1.15;
  --lh-tight: 1.2;
  --lh-heading: 1.3;
  --lh-snug: 1.45;
  --lh-body: 1.65;
  --lh-loose: 1.75;

  /* Tracking — negative tightens display sizes, positive opens small caps. */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.12em;

  /* Reading measure — caps line length for comfortable scanning. */
  --measure: 68ch;
  --measure-narrow: 56ch;

  /* ───────────────────────────────────────────────
     SPACING — 4px base grid. Every padding, margin and
     gap in this file resolves to one of these steps.
     ─────────────────────────────────────────────── */
  --space-1:  0.25rem;  /*  4px */
  --space-2:  0.5rem;   /*  8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-7:  2rem;     /* 32px */
  --space-8:  2.5rem;   /* 40px */
  --space-9:  3rem;     /* 48px */
  --space-10: 3.5rem;   /* 56px */
  --space-11: 4rem;     /* 64px */
  --space-12: 5rem;     /* 80px */

  /* ───────────────────────────────────────────────
     TOUCH TARGET — the minimum box any control may occupy.
     44px is the WCAG 2.5.5 (AAA) / Apple HIG / Material figure, and it is not
     a style choice on this page: the audience is the Maharashtra public on
     cheap Android phones, often one-handed and outdoors. A 30px control there
     is a coin toss.
     Deliberately NOT on the --space-* grid — it is a physical-ergonomics
     constant, not a rhythm step, and it must never drift when the grid does.
     ─────────────────────────────────────────────── */
  --tap-min: 44px;

  /* ───────────────────────────────────────────────
     RADII
     ─────────────────────────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ───────────────────────────────────────────────
     ELEVATION — layered recipes. A tight contact shadow plus a
     wide ambient one reads as real depth; a single big blur reads as fog.
     ─────────────────────────────────────────────── */
  --shadow-xs:
    0 1px 1px rgba(0,0,0,0.04),
    0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 6px rgba(0,0,0,0.05);
  --shadow-md:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 10px rgba(0,0,0,0.06),
    0 8px 20px rgba(0,0,0,0.05);
  --shadow-lg:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 18px rgba(0,0,0,0.07),
    0 16px 36px rgba(0,0,0,0.06);
  --shadow-xl:
    0 4px 8px rgba(0,0,0,0.05),
    0 12px 28px rgba(0,0,0,0.09),
    0 28px 60px rgba(0,0,0,0.09);

  /* Lift state for cards. Green-tinted, same hue as --green-600. */
  --shadow-hover:
    0 2px 4px rgba(0,104,87,0.06),
    0 10px 22px rgba(0,104,87,0.10),
    0 20px 44px rgba(0,104,87,0.08);

  /* Brand glows for coloured controls. Same three hues already in the palette. */
  --shadow-green-sm:
    0 1px 2px rgba(0,104,87,0.16),
    0 3px 10px rgba(0,104,87,0.22);
  --shadow-green-md:
    0 2px 6px rgba(0,104,87,0.18),
    0 8px 22px rgba(0,104,87,0.26);
  --shadow-red-sm:
    0 1px 2px rgba(198,40,40,0.16),
    0 3px 10px rgba(198,40,40,0.22);
  --shadow-cta:
    0 2px 6px rgba(242,101,34,0.22),
    0 8px 22px rgba(242,101,34,0.30);
  --shadow-cta-strong:
    0 2px 8px rgba(242,101,34,0.26),
    0 12px 32px rgba(242,101,34,0.38);

  /* ───────────────────────────────────────────────
     MOTION — "confident but calm". Decelerating, never overshooting.
     ─────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Deliberately NOT a spring any more, and kept only as a safe landing pad for
     any stray reference. The old cubic-bezier(0.175, 0.885, 0.32, 1.275)
     overshot past its end value and settled back — a bounce, which the locked
     motion decision forbids on a page carrying government branding. */
  --ease-spring: var(--ease-out);

  --dur-fast: 200ms;
  --dur-base: 350ms;
  --dur-slow: 500ms;
  --stagger: 60ms;

  --transition-fast: var(--dur-fast) var(--ease-out);
  --transition-base: var(--dur-base) var(--ease-out);
  --transition-slow: var(--dur-slow) var(--ease-out);

  /* ───────────────────────────────────────────────
     FOCUS RING — no new hues, just two of the existing ones picked for
     contrast against the two backdrops this page actually has.
     --green-600 on white/--gray-50 measures 6.7:1; white on --green-900
     (pledge card, footer) measures ~15:1. Both clear the 3:1 minimum for a
     non-text indicator by a wide margin, which matters on a cheap phone
     screen in daylight.
     ─────────────────────────────────────────────── */
  --focus-ring: var(--green-600);
  --focus-ring-light: var(--white);
  --focus-width: 2px;
  --focus-offset: 2px;
}

/* ═══════════════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--lh-body);
  /* Deliberately NO overflow-x: hidden. Every QA pass on this page asserts
     scrollWidth === clientWidth; hiding the overflow would silently disarm that
     tripwire and let a future regression through unnoticed. Fix the offender. */
  text-rendering: optimizeLegibility;
}

/* ─── Heading defaults ───────────────────────────
   One family does all the work, so each level steps on THREE axes at once:
   size, weight and tracking — plus a tighter line-height as the size grows.
   Component classes below override these; the defaults exist so an untouched
   heading still lands somewhere sensible in the ramp. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tighter);
  line-height: var(--lh-display);
}

h2 {
  font-size: var(--text-3xl);
  line-height: var(--lh-title);
}

h3 {
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-snug);
  line-height: var(--lh-heading);
}

h4 {
  font-size: var(--text-base);
  letter-spacing: var(--tracking-snug);
  line-height: var(--lh-heading);
}

h5, h6 {
  font-size: var(--text-sm);
  letter-spacing: 0;
  line-height: var(--lh-heading);
}

/* Body copy is capped at a comfortable measure. Anything wider than ~70
   characters costs the reader a line-find on every wrap. */
p {
  max-width: var(--measure);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── Eyebrow / overline ─────────────────────────
   The one type treatment that is NOT on the size ramp alone: small, heavy,
   uppercase, widely tracked, and in a hue that separates it from the heading
   it introduces. Shared by every kicker on the page. */
.section-subtitle,
.roadmap-header-badge,
.partners-title,
.journey-hub-line,
.footer-links h4 {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  line-height: var(--lh-tight);
}

/* ═══════════════════════════════════════════════
   FOCUS — ONE ring for the whole page.
   Before this block the file had zero :focus-visible rules, so a keyboard user
   had no idea where they were: the page was navigable but not usable.

   :focus-visible, never :focus — a mouse or touch user sees nothing, a keyboard
   user always does. The ring is an `outline`, which browsers already bend around
   each control's own border-radius, so a pill button gets a pill ring and a card
   gets a card ring with no per-component radius rules.

   RULE FOR ANY FUTURE EDIT: never write `outline: none` anywhere in this file
   without an equally visible replacement in the same rule.
   ═══════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Dark green surfaces — the pledge card and the footer. --green-600 against
   --green-900 is about 1.3:1, i.e. an invisible ring, so those two contexts
   switch to the light one. On the orange pledge CTA the ring sits just outside
   the button, on the dark green behind it, so the light ring is correct there too. */
.pledge-section a:focus-visible,
.pledge-section button:focus-visible,
footer a:focus-visible,
footer button:focus-visible {
  outline-color: var(--focus-ring-light);
}

/* (.carousel-nav sits on photographs and needs a white halo behind the green
   ring; that rule lives with the carousel further down, after its :hover rule,
   so the two box-shadows resolve in the right order.) */

/* These three are clipped by an overflow:hidden ancestor — .iec-card,
   .event-carousel-wrapper and .embedded-video-box — so an outward ring would be
   sliced off on three sides. Theirs is drawn inside the element instead. */
.iec-thumbnail:focus-visible,
.carousel-img:focus-visible {
  outline-offset: calc(var(--focus-offset) * -2);
}

.dindi-video-facade:focus-visible {
  outline-color: var(--focus-ring-light);
  outline-offset: calc(var(--focus-offset) * -2);
}

/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section {
  padding: var(--space-12) 0;
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   Entry is a fade plus a 20px rise over 500ms on a decelerating curve.
   No scale, no rotation, no overshoot. app.js adds `.visible`.
   ═══════════════════════════════════════════════ */
/* Gated on .js-reveal, set by the inline script in <head> and removed again if
   app.js never loads. Content is VISIBLE BY DEFAULT and only hidden when the
   engine that un-hides it is known to be running — never the other way round.
   Do not drop the .js-reveal prefix: unprefixed, these rules blank the page for
   anyone with JavaScript off or a failed script load. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.js-reveal .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger utilities — 60ms between siblings. Enough to read as a sequence,
   short enough that the last item is on screen inside half a second. */
.reveal-delay-1 { transition-delay: calc(var(--stagger) * 1); }
.reveal-delay-2 { transition-delay: calc(var(--stagger) * 2); }
.reveal-delay-3 { transition-delay: calc(var(--stagger) * 3); }
.reveal-delay-4 { transition-delay: calc(var(--stagger) * 4); }
.reveal-delay-5 { transition-delay: calc(var(--stagger) * 5); }
.reveal-delay-6 { transition-delay: calc(var(--stagger) * 6); }

/* ═══════════════════════════════════════════════
   CARD BASE

   DEPTH LADDER — four steps, and every surface on the page sits on exactly one:
     0  page ground   — sections, banners: no shadow at all
     1  card          — .glass-card: --shadow-sm, a 1px border doing most of the
                        separation work. Flat enough that a page of twelve cards
                        does not read as twelve floating slabs.
     2  raised        — cards that own their section (.quiz-card), the sticky
                        header once scrolled, and any card the
                        pointer is currently on (--shadow-hover)
     3  overlay       — .poster-modal-content: --shadow-xl, the only thing that
                        should ever look like it left the page
   A card lifting on hover moves one step up the ladder and 4px toward the
   reader. It never skips a step, and nothing outranks the modal.
   ═══════════════════════════════════════════════ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

/* Guarded on (hover: hover): a touch browser applies :hover on tap and then
   leaves it stuck until the next tap elsewhere, so on a phone this rule would
   strand a random card lifted and shadowed. */
@media (hover: hover) {
  .glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

/* ═══════════════════════════════════════════════
   HEADER — Sticky, clean, professional
   ═══════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 64px;
}

/* Language toggle. Deliberately a flex-shrink:0 sibling of <nav>, not a child:
   <nav> becomes an overflow-x scroll strip on phones, and anything inside it
   scrolls out of reach. */
.lang-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--gray-100);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
}

.lang-btn {
  /* 44, not 38: this is a real tap target and 38 fails the 44x44 floor the
     rest of the page holds to. */
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1;
  white-space: nowrap;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.lang-btn.is-active {
  background: var(--green-600);
  color: var(--white);
}

@media (hover: hover) {
  .lang-btn:not(.is-active):hover {
    color: var(--green-700);
    background: var(--white);
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-height: var(--tap-min);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.logo-text {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: var(--weight-black);
  color: var(--orange-600);
  letter-spacing: var(--tracking-tighter);
  line-height: 1;
  white-space: nowrap;
}

.logo-text span {
  color: var(--orange-600);
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.05rem;
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  flex: 0 0 auto;
}

/* Single-line, evenly spaced, perfectly vertically aligned nav items */
nav ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

@media (max-width: 1200px) and (min-width: 769px) {
  nav ul {
    gap: 2px;
  }
  nav ul li a {
    padding: 0.35rem 0.45rem;
    font-size: 0.8rem;
  }
}

@media (hover: hover) {
  nav ul li a:hover {
    color: var(--green-600);
    background-color: var(--green-50);
  }
}

nav ul li a:active {
  color: var(--green-700);
  background-color: var(--green-100);
}

/* ═══════════════════════════════════════════════
   HERO WATCH & ANIMATED VIDEO BANNER
   ═══════════════════════════════════════════════ */
.hero-watch-section {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #072b22 0%, #005647 45%, #0d4638 100%);
  padding: 2rem 0;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.hero-watch-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-watch-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-watch-logo-col {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
}

.main-logo-card {
  position: relative;
  width: min(390px, 90vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (hover: hover) {
  .main-logo-card:hover {
    transform: scale(1.03);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
}

.main-logo-card picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.main-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hero-logo-subtitle {
  color: #ffffff;
  font-size: clamp(0.92rem, 1.25vw, 1.15rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-watch-video-col {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.watch-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.live-red-dot {
  width: 14px;
  height: 14px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-video-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: #000;
}

.hero-video-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-watch-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hero-watch-video-col {
    align-items: center;
    width: 100%;
  }
  .main-logo-card {
    width: min(290px, 78vw);
    padding: 0.6rem;
  }
  .hero-logo-subtitle {
    font-size: clamp(0.82rem, 3.2vw, 1rem);
    white-space: nowrap;
    max-width: 100%;
  }
}

@media (max-width: 440px) {
  .hero-logo-subtitle {
    font-size: clamp(0.72rem, 3.8vw, 0.85rem);
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════════
   PLEDGE SECTION — Bold, dark green, Swachh-inspired
   ═══════════════════════════════════════════════ */
.pledge-section {
  padding: 0;
  background: linear-gradient(170deg, var(--green-900) 0%, var(--green-800) 40%, var(--green-700) 100%);
  position: relative;
  overflow: hidden;
}

.pledge-section::after {
  display: none;
}

.pledge-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.swachh-pledge-card {
  position: relative;
  padding: var(--space-12) 0;
  text-align: center;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  animation: floatBubble 18s ease-in-out infinite;
}

.bubble-1 { width: 200px; height: 200px; top: -40px; left: -60px; animation-delay: 0s; }
.bubble-2 { width: 140px; height: 140px; bottom: 20px; right: 10%; animation-delay: 3s; }
.bubble-3 { width: 80px; height: 80px; top: 30%; left: 15%; animation-delay: 6s; }
.bubble-4 { width: 120px; height: 120px; bottom: -30px; left: 40%; animation-delay: 9s; }
.bubble-5 { width: 60px; height: 60px; top: 20%; right: 20%; animation-delay: 12s; }

@keyframes floatBubble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(15px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 15px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

.pledge-card-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* Marathi + Latin mixed string — never uppercased, Devanagari has no case. */
.pledge-hashtag {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  /* green-100, not green-200. Measured against the LIGHTEST stop of the section
     gradient (green-700), green-200 came out at 4.39:1 — just under the 4.5
     AA floor for text this size. Same hue family, one step lighter. */
  color: var(--green-100);
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-6);
}

.pledge-main-title {
  font-size: var(--text-4xl);
  color: var(--white);
  font-weight: var(--weight-black);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tighter);
}

.pledge-main-desc {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.75);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-7);
  max-width: min(var(--measure-narrow), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* The four promises. These are not decoration: tapping Pledge ticks them in
   sequence, and because nothing is counted or stored, that sequence is the
   entire confirmation the reader gets. */
.pledge-commitments {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  padding: 0;
  text-align: left;
}

.pledge-commitment {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--lh-snug);
  color: rgba(255, 255, 255, 0.88);
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.pledge-tick {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: transparent;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.pledge-tick svg {
  width: 15px;
  height: 15px;
}

.pledge-commitment.is-kept {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--green-300);
  color: var(--white);
}

.pledge-commitment.is-kept .pledge-tick {
  background: var(--green-300);
  border-color: var(--green-300);
  color: var(--green-900);
}

/* Confirmation panel */
/* Entrance is a keyframe that animates TRANSFORM ONLY — never opacity.
   Two deliberate choices, both about never hiding content:
   1. A keyframe, not an opacity:0 base plus a JS-toggled class, so the panel
      does not wait on a callback that might not fire.
   2. No opacity in the keyframe, so a paused, blocked or unsupported animation
      leaves the panel fully READABLE and merely un-slid. An entrance that fades
      up from opacity 0 is invisible for as long as it fails to advance, which
      is the same trap that blanked the page before the .js-reveal gate. */
.pledge-done {
  max-width: 520px;
  margin: 0 auto;
  animation: pledgeDoneIn var(--dur-slow) var(--ease-out);
}

@keyframes pledgeDoneIn {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}

.pledge-done-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--lh-heading);
  color: var(--white);
  margin: 0 0 var(--space-2);
}

/* Only ever rendered with a real total from the backend — see PLEDGE_COUNTER_URL
   in app.js. If the endpoint is missing or unreachable this stays [hidden]. */
.pledge-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin: 0 0 var(--space-6);
}

.pledge-count-value {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--white);
  /* Tabular figures so the digits do not jitter while counting up. */
  font-variant-numeric: tabular-nums;
}

.pledge-count-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--green-100);
}

/* Pledge Button */
.pledge-btn-wrapper {
  margin-bottom: var(--space-7);
}

/* THE primary CTA. It is the largest non-heading type on the page and the only
   control set at --text-xl, so it can never be mistaken for a card title again.
   Slightly open tracking keeps a short heavy label from reading as a solid block. */
.btn-swachh-pledge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: var(--tap-min);
  padding: var(--space-4) var(--space-8);
  background: linear-gradient(135deg, var(--orange-600), var(--red-600));
  color: var(--white);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
  border-radius: var(--radius-full);
  border: none;
  box-shadow: var(--shadow-cta);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-swachh-pledge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

@media (hover: hover) {
  .btn-swachh-pledge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-cta-strong);
  }

  .btn-swachh-pledge:hover::before {
    opacity: 1;
  }
}

/* Press: the button gives under the finger and the glow tightens, so the tap
   registers even on a slow connection where nothing else has happened yet. */
.btn-swachh-pledge:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-cta);
  transition-duration: var(--dur-fast);
}

.btn-swachh-pledge.pledged {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: var(--shadow-green-md);
  pointer-events: none;
}

/* The odometer counter that lived here was removed with the fabricated pledge
   count — nothing is counted or stored, so there is no honest number to show. */

/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

/* Eyebrow: size, weight, tracking and hue all step away from the title
   underneath it, so the pair reads as one unit at a glance. */
.section-subtitle {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-full);
  color: var(--green-600);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-title);
  /* Display headings read best short. Capping the measure forces a balanced
     two-line wrap instead of one 50-character line the eye has to track. */
  max-width: min(30ch, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  font-size: var(--text-md);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  max-width: min(var(--measure-narrow), 100%);
  margin: 0 auto;
  line-height: var(--lh-body);
}

.section-header > *:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   ABOUT — UNDERSTANDING THE THREAT

   Three supplied card images. They arrive with their own border, number badge
   and title already drawn, and their surrounding tone is within two values of
   --gray-50, so they sit straight on the section with no CSS card chrome — a
   border or shadow added here would read as a second frame around the first.

   Their text is baked into the raster, which makes it invisible to screen
   readers and untranslatable by the Marathi toggle. .about-card-text repeats
   every card in full, off-screen, with its own i18n key.
   ═══════════════════════════════════════════════ */
.about {
  background: var(--gray-50);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  justify-items: center;
}

.about-card {
  margin: 0;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.about-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 505;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform var(--dur-base) var(--ease-out);
}

.about-card > .about-card-img {
  cursor: zoom-in;
}

/* Card 3 only: the image has a "See the seven steps" link painted into it, and
   pixels cannot be clicked, so the card itself carries the real link. */
.about-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

@media (hover: hover) {
  .about-card-img:hover {
    transform: translateY(-3px);
  }
}

/* Off-screen but still in the accessibility tree and still walked by the i18n
   runtime. NOT display:none, which would remove it from both. */
.about-card-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 860px) {
  .about-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    align-items: stretch;
  }

  .about-card {
    max-width: none;
    height: 100%;
  }
}

/* ═══════════════════════════════════════════════
   JOURNEY — THE DISPOSAL JOURNEY

   Two forms, ONE set of markup. What follows is the vertical stepped path,
   written mobile-first so it is also the no-media-query fallback: if the
   min-width:1025px block below never matches — old browser, print, a future
   mistake — the reader still gets a readable numbered list rather than a
   collapsed circle.

   NOTHING HERE MAY USE `transform` FOR POSITIONING. Every .journey-* element
   that animates in carries .reveal, which owns transform (translateY(20px) →
   translateY(0)). A positioning transform would be overwritten the moment the
   reveal fires, dropping the element to the wrong place. Position with
   left/top/right/bottom and flex only.
   ═══════════════════════════════════════════════ */
.journey-section {
  background: var(--white);
}

/* ─── Journey image wrapper ─── */
.journey-image-wrap {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.journey-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transition: opacity 0.3s ease;
}

.journey-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.journey-hub-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 260px;
  text-align: center;
}

.journey-hub-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  color: var(--green-600);
}

.journey-hub-title {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: var(--lh-snug);
  color: var(--green-800);
  margin: 0;
}

/* Typography comes from the shared eyebrow rule; only colour and spacing here. */
.journey-hub-line {
  color: var(--text-muted);
  margin: 0;
}

.journey-steps {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  margin: 0;
  padding: 0;
}

/* The rail. Inset top and bottom so it starts and ends inside the end discs
   rather than sticking out past them. */
.journey-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  margin-left: -1.5px;
  width: 3px;
  top: 28px;
  bottom: 28px;
  background: linear-gradient(180deg, var(--green-600), var(--green-300), var(--green-100));
  border-radius: var(--radius-full);
}

.journey-step {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-4);
}

.journey-node {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  /* The 6px white ring masks the rail (and, in the circular form, the dashed
     orbit) where it passes behind the disc. Same trick as .check-node. */
  box-shadow: var(--shadow-green-sm), 0 0 0 6px var(--white);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.journey-node-num {
  position: absolute;
  top: -4px;
  left: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--green-200);
  color: var(--green-700);
  font-size: var(--text-2xs);
  font-weight: var(--weight-black);
  line-height: 1;
}

.journey-step-text {
  flex: 1;
  padding-top: var(--space-1);
}

.journey-step-label {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--lh-heading);
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.journey-step-detail {
  font-size: var(--text-sm);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  margin: 0;
  max-width: var(--measure-narrow);
}

/* Step 2 is the one prohibition in the set. Red disc, red chip edge, red label
   — colour, the struck-through icon and the wording all carry the correction
   together, so it does not depend on colour alone. Poster hues, untouched. */
.journey-step--warn .journey-node {
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  box-shadow: var(--shadow-red-sm), 0 0 0 6px var(--white);
}

.journey-step--warn .journey-node-num {
  border-color: var(--red-100);
  color: var(--red-700);
}

.journey-step--warn .journey-step-label {
  color: var(--red-700);
}

/* Pointer-only enhancement. Nothing is gated behind it: every label and detail
   is already visible, so this only adds emphasis for a mouse user. Kept under
   (hover: hover) because touch browsers latch :hover after a tap. */
@media (hover: hover) {
  .journey-step:hover .journey-node {
    transform: scale(1.06);
    box-shadow: var(--shadow-green-md), 0 0 0 6px var(--white);
  }

  .journey-step--warn:hover .journey-node {
    box-shadow: var(--shadow-red-sm), 0 0 0 6px var(--white);
  }
}

/* ═══════════════════════════════════════════════
   IEC MATERIALS SECTION
   ═══════════════════════════════════════════════ */
.iec-section {
  background: var(--white);
}

.iec-grid.horizontal-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.iec-card {
  padding: 0;
  overflow: hidden;
}

@media (hover: hover) {
  .iec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

.iec-thumbnail {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.poster-img-thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.poster-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-50);
  transition: transform 0.5s var(--ease-out);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-5);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.view-icon {
  padding: var(--space-2) var(--space-5);
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
  /* Eases up into place with the gradient instead of appearing fully formed
     the instant the pointer crosses the edge. */
  transform: translateY(6px);
  transition: transform var(--transition-base);
}

/* Keyboard users get the same affordance the pointer gets — the thumbnail is a
   role="button" tabindex="0", so it is a real stop in the tab order. */
.iec-thumbnail:focus-visible .poster-overlay {
  opacity: 1;
}

.iec-thumbnail:focus-visible .view-icon {
  transform: none;
}

/* ─── Pointer: the overlay is the reveal ───────── */
@media (hover: hover) {
  .iec-card:hover .poster-card-img {
    transform: scale(1.05);
  }

  .iec-card:hover .poster-overlay {
    opacity: 1;
  }

  .iec-card:hover .view-icon {
    transform: none;
  }
}

/* ─── Touch: there is no hover, so there was no affordance ─────
   This overlay used to be reachable ONLY by hovering, which means every phone
   and tablet reader — effectively the entire Maharashtra audience this page is
   built for — saw four poster images with no sign they open. On touch the
   label is simply always on, at a lighter weight than the hover version so it
   sits on the poster instead of covering it, and the press deepens it. */
@media (hover: none) {
  .poster-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,0.42));
    transition:
      opacity var(--transition-base),
      background-color var(--transition-base);
  }

  .view-icon {
    transform: none;
    background: rgba(255,255,255,0.92);
    transition: transform var(--transition-fast);
  }

  .iec-thumbnail:active .view-icon {
    transform: scale(0.96);
  }
}

.iec-info {
  padding: var(--space-3) var(--space-4) var(--space-1);
}

/* Was 0.82rem/600 — a card TITLE set smaller than the body text of the page and
   identical to its own description. Now a full step above the description in
   size, two steps in weight, and darker. */
.iec-title {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-snug);
  line-height: var(--lh-heading);
}

.iec-desc {
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
  color: var(--text-muted);
  line-height: var(--lh-body);
  margin-top: var(--space-1);
  max-width: var(--measure);
}

.iec-actions {
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* The one control on this page that a reader is meant to press four times.
   It measured 32px tall — the smallest real button in the layout — and sits
   inside a 156px-wide card at 360px, so a mis-tap lands on the poster instead
   and opens the modal. min-height fixes the box without widening the pill. */
.iec-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: var(--tap-min);
  padding: var(--space-2) var(--space-4);
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
  color: var(--green-700);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

@media (hover: hover) {
  .iec-download-btn:hover {
    background-color: var(--green-600);
    border-color: var(--green-600);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-green-sm);
  }
}

/* Fills solid on press, so a touch reader gets the same confirmation a pointer
   reader gets from hover. */
.iec-download-btn:active {
  background-color: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  transform: scale(0.97);
  box-shadow: none;
}

.iec-download-btn svg {
  width: 14px;
  height: 14px;
}

/* Video Card */
.centered-video-section {
  max-width: 780px;
  margin: var(--space-8) auto 0;
  width: 100%;
}

.dindi-video-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}

@media (hover: hover) {
  .dindi-video-card:hover {
    transform: translateY(-4px);
  }
}

.embedded-video-box {
  width: 100%;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16 / 9;
}

.native-dindi-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Click-to-load facade. The play badge inside it is inline-styled markup this
   file does not own, so the feedback is carried by the poster frame instead:
   it dims a little under the pointer and the whole plate gives on press. */
.dindi-video-facade {
  transition: transform var(--transition-fast);
}

.dindi-video-facade img {
  transition: opacity var(--transition-base);
}

@media (hover: hover) {
  .dindi-video-facade:hover img {
    opacity: 0.86;
  }
}

.dindi-video-facade:active {
  transform: scale(0.995);
}

.video-pill-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--orange-100);
  border: 1px solid rgba(242,101,34,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
  color: var(--orange-600);
}

/* ═══════════════════════════════════════════════
   QUIZ SECTION
   ═══════════════════════════════════════════════ */
.quiz-section {
  background: var(--gray-50);
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}

/* Step 2 on the depth ladder: this card IS its section — one card, centred,
   nothing else competing — so it sits a step above the grids of cards elsewhere
   and does not lift on hover, because there is nowhere for it to go. */
.quiz-card {
  padding: var(--space-8);
  border-top: 4px solid var(--green-600);
  box-shadow: var(--shadow-md);
}

.quiz-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
  /* Re-stated because the border-color above is a shorthand and would otherwise
     wash the green accent rule off the top edge. */
  border-top-color: var(--green-600);
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
}

.quiz-progress-bar {
  position: relative;
  width: 100%;
  height: 5px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-7);
  overflow: hidden;
}

/* PARTIAL FIX, and the reason is worth recording. This bar still animates
   `width`, which is a layout property. The clean version animates
   `transform: scaleX()` — but app.js drives the fill with
   `document.getElementById('quizProgress').style.width = pct + '%'`, and an
   inline width beats anything this file can say. Rewriting it needs one line in
   app.js, which this agent does not own:
       el.style.transform = 'scaleX(' + pct / 100 + ')';
   What IS fixed here: the fill is now absolutely positioned, so it is out of
   flow. Its width change no longer reflows anything around it — the layout work
   is confined to one empty 5px-tall box inside an overflow:hidden parent. */
.quiz-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12.5%;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  border-radius: var(--radius-full);
  transition: width var(--dur-base) var(--ease-out);
}

.quiz-question {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  line-height: var(--lh-snug);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

/* SELECTOR NAMES ARE PINNED TO app.js. Verified against it line by line:
     app.js:343  optBtn.className = 'quiz-option'          → .quiz-option
     app.js:345  <span class="option-indicator">            → .option-indicator
     app.js:361  classList.add('correct')                   → .quiz-option.correct
     app.js:369  classList.add('incorrect')                 → .quiz-option.incorrect
     app.js:365  feedback.className='quiz-feedback success' → .quiz-feedback.success
     app.js:377  feedback.className='quiz-feedback error'   → .quiz-feedback.error
   The names this file used to style — `.quiz-option-btn`, `.wrong`,
   `.correct-feedback`, `.wrong-feedback` — appear NOWHERE in app.js or
   index.html (grepped, zero hits), so they were styling nothing at all and are
   gone. One vocabulary now, matching the only code that emits classes. */
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  background: var(--gray-50);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: var(--lh-snug);
  color: var(--text-primary);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

/* The A/B/C/D letter chip app.js renders inside each option. */
.option-indicator {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-default);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--text-secondary);
}

/* Hover slides the row 4px toward the reader's thumb — a transform, so no
   reflow of the four-option stack. */
@media (hover: hover) {
  .quiz-option:hover {
    border-color: var(--green-400);
    background-color: var(--green-50);
    transform: translateX(4px);
  }
}

.quiz-option:active {
  border-color: var(--green-500);
  background-color: var(--green-50);
  transform: scale(0.99);
}

/* The letter chip picks up the hover too, so the whole row reads as one target. */
.option-indicator {
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

@media (hover: hover) {
  .quiz-option:hover .option-indicator {
    border-color: var(--green-400);
    color: var(--green-700);
  }
}

.quiz-option.correct {
  border-color: var(--green-500);
  background-color: var(--green-50);
  color: var(--green-800);
  font-weight: var(--weight-semibold);
}

.quiz-option.correct .option-indicator {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}

.quiz-option.incorrect {
  border-color: var(--red-500);
  background-color: var(--red-100);
  color: var(--red-700);
  font-weight: var(--weight-semibold);
}

.quiz-option.incorrect .option-indicator {
  background: var(--red-600);
  border-color: var(--red-600);
  color: var(--white);
}

/* Once an answer is marked, app.js ignores further clicks (its `optionSelected`
   latch). Freezing the answered rows keeps the styling honest about that — a
   row that still slid and glowed under the pointer would be promising a second
   guess the quiz will not accept. */
.quiz-option.correct,
.quiz-option.incorrect,
.quiz-option.correct:hover,
.quiz-option.incorrect:hover,
.quiz-option.correct:active,
.quiz-option.incorrect:active {
  transform: none;
}

.quiz-feedback {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--lh-body);
  margin-bottom: var(--space-4);
}

/* app.js writes `quiz-feedback success` / `quiz-feedback error`. The
   `.correct-feedback` / `.wrong-feedback` names this file used to define were
   never emitted by anything and are gone. */
.quiz-feedback.success {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-800);
}

.quiz-feedback.error {
  background: var(--red-100);
  border: 1px solid rgba(198,40,40,0.15);
  color: var(--red-700);
}

.quiz-nav-btn {
  margin-top: var(--space-2);
}

/* Quiz Results */
.quiz-results {
  display: none;
  text-align: center;
  padding: var(--space-7) 0;
}

/* Emoji, not text — deliberately off the type ramp. */
.quiz-medal {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.quiz-results h3 {
  color: var(--green-700);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-6);
}

.quiz-score-circle {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-display);
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-green-md);
}

.quiz-score-circle span {
  font-size: var(--text-2xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  line-height: var(--lh-tight);
  opacity: 0.8;
}

.quiz-tips-box {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: var(--lh-loose);
  margin-top: var(--space-4);
}

/* Rendered by app.js into .quiz-tips-box — previously had no styling at all. */
.tips-heading {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--green-800);
  letter-spacing: var(--tracking-snug);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-2);
  max-width: none;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: var(--lh-body);
}

.tip-check {
  flex-shrink: 0;
  font-weight: var(--weight-bold);
  color: var(--green-600);
}

/* ═══════════════════════════════════════════════
   QUOTES & TESTIMONIALS SECTION
   ═══════════════════════════════════════════════ */
.testimonials-section {
  position: relative;
  background: linear-gradient(180deg, var(--gray-50) 0%, rgba(240, 253, 244, 0.75) 45%, var(--white) 100%);
  padding: var(--section-padding-y) 0;
  overflow: hidden;
}

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.testimonials-slider {
  position: relative;
  border-radius: var(--radius-xl);
}

.testimonials-track {
  position: relative;
  width: 100%;
  display: flex;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.99);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid rgba(22, 101, 52, 0.12);
  border-top: 4px solid var(--green-600);
  box-shadow: 0 20px 40px -15px rgba(22, 101, 52, 0.1), 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.quote-mark-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  color: rgba(22, 163, 74, 0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
}

.testimonial-expert-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.expert-photo-frame {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px -4px rgba(22, 101, 52, 0.25), 0 0 0 3px var(--green-600);
  background: var(--gray-100);
  flex-shrink: 0;
}

.expert-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.expert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: var(--green-50);
  color: var(--green-800);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-content-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-quote {
  margin: 0;
  padding: 0;
}

.testimonial-quote p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  font-weight: var(--weight-medium);
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.testimonial-author {
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

.author-name {
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--green-800);
  margin: 0 0 0.4rem 0;
  line-height: 1.25;
}

.author-designation {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.author-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.author-roles li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.author-roles li::before {
  content: "•";
  color: var(--green-600);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: all var(--transition-fast);
}

.testimonial-nav:hover {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}

.testimonial-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonial-nav.prev {
  left: -20px;
}

.testimonial-nav.next {
  right: -20px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-6);
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.testimonial-dots .dot:hover {
  background: var(--green-400);
}

.testimonial-dots .dot.active {
  width: 28px;
  border-radius: 12px;
  background: var(--green-600);
}

@media (max-width: 900px) {
  .testimonial-nav.prev {
    left: 2px;
  }
  .testimonial-nav.next {
    right: 2px;
  }
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .testimonial-quote p {
    text-align: center;
  }
  .author-designation {
    text-align: center;
  }
  .author-roles li {
    justify-content: center;
    text-align: center;
  }
  .quote-mark-icon {
    top: 1rem;
    right: 1rem;
  }
  .quote-mark-icon svg {
    width: 36px;
    height: 36px;
  }
  .expert-photo-frame {
    width: 130px;
    height: 130px;
  }
}

/* ═══════════════════════════════════════════════
   ROADMAP TIMELINE
   ═══════════════════════════════════════════════ */
.roadmap-timeline-section {
  background: var(--white);
}

.roadmap-header-badge {
  display: inline-block;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-5);
  background: var(--green-900);
  color: var(--green-200);
  border-radius: var(--radius-full);
}

.vertical-roadmap-wrapper {
  position: relative;
  padding-left: 90px;
}

.vertical-roadmap-track {
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-600), var(--green-300), var(--green-100));
  border-radius: var(--radius-full);
}

.roadmap-event-item {
  display: flex;
  align-items: stretch;
  margin-bottom: var(--space-8);
  position: relative;
}

.event-left-col {
  width: 75px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 12px;
  padding-top: var(--space-4);
  position: absolute;
  left: -90px;
}

.event-date-pill {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  line-height: var(--lh-tight);
  color: var(--green-700);
  white-space: nowrap;
}

.event-node {
  position: absolute;
  left: -8px;
  top: 1.25rem;
  z-index: 2;
}

.check-node {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1;
  box-shadow: var(--shadow-green-sm), 0 0 0 4px var(--white);
}

.event-right-card {
  flex: 1;
  margin-left: 24px;
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--green-600);
}

@media (hover: hover) {
  .event-right-card:hover {
    transform: translateY(-2px);
  }
}

.event-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
}

.event-text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-1) 0;
}

.event-text-content h3.event-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-snug);
  line-height: var(--lh-heading);
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.event-desc {
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: var(--gray-700);
  line-height: var(--lh-body);
  max-width: none;
}

/* Carousel */
.event-carousel-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.carousel-slide-container {
  display: flex;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-100);
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
  border-radius: var(--radius-md);
}

.carousel-img.active {
  opacity: 1;
}

/* GROWN, not padded. These float on top of the photograph, so there is no
   layout to disturb — the honest fix is to make the control itself the size of
   the thing that presses it. 30px → 44px; the chevron steps up one token with
   it so the glyph still fills the disc instead of rattling around in it. */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--tap-min);
  height: var(--tap-min);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: var(--text-xl);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  /* The transform here is doing the vertical centring, so every state below has
     to re-declare translateY(-50%) or the button jumps to the top of the frame. */
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

@media (hover: hover) {
  .carousel-nav:hover {
    background: var(--white);
    color: var(--green-700);
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--shadow-sm);
  }
}

.carousel-nav:active {
  background: var(--white);
  color: var(--green-700);
  transform: translateY(-50%) scale(0.94);
  box-shadow: var(--shadow-xs);
}

/* These two float on top of event photographs, so neither ring colour is safe
   on its own: the green ring gets a white halo behind it. Placed after :hover
   so the halo survives a pointer that is both hovering and focused. */
.carousel-nav:focus-visible {
  box-shadow: var(--shadow-sm), 0 0 0 5px rgba(255,255,255,0.92);
}

.carousel-nav.prev { left: var(--space-2); }
.carousel-nav.next { right: var(--space-2); }

/* GAP IS LOAD-BEARING, not taste. The dot below carries a 44px-wide hit area
   that overhangs its 20px box by 12px on each side. A 24px gap makes the pitch
   20 + 24 = 44px, so those hit areas tile edge to edge: every pixel of the row
   belongs to exactly one dot, and none of them overlap. Tighten this gap and
   neighbouring targets start stealing each other's taps — which is worse than
   the small targets this replaced, because the wrong slide appears. */
/* Wraps because the dot count is driven by content, not by design: each dot
   occupies a 44px hit area, so nine of them need 372px and would push past a
   360px screen on a single row. */
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6) var(--space-6);
  padding: 0;
}

/* The dot used to animate `width` 7px → 20px, which relaid out the whole dot row
   on every slide change — and shuffled the other dots sideways while it did.
   Now the BOX is a constant 20×7 and the visible pill is a pseudo-element that
   scales on the X axis, so switching slides is a composited transform and the
   row never moves.
   The radius is 50% rather than --radius-full on purpose: an ellipse scaled to
   0.35 lands on an exact 7px circle for the inactive state, whereas a clamped
   pill radius would squash into a rounded rectangle. */
/* THE DOT IS 7px TALL AND THE TARGET IS 44px. Those are two different boxes and
   this rule keeps them apart on purpose:
     .dot         — the 20 × 44 element. Height comes from the target, so the
                    row is 44px tall and the ring on :focus-visible is a real,
                    findable shape rather than a 7px sliver.
     .dot::before — the VISIBLE pill. Absolutely centred, still 20 × 7, still
                    scaling on X between states. Nothing about the design moved.
     .dot::after  — the rest of the TARGET. Pure hit area, no paint: it widens
                    the pressable box from 20px to 44px, 12px past each edge.
   Shrinking the dot to look right and then shipping a 20 × 7 tap target is the
   mistake this replaces — it looked correct in a screenshot and failed in a
   hand. */
.dot {
  position: relative;
  display: block;
  width: 20px;
  height: var(--tap-min);
  padding: 0;
  border: none;
  background: none;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.dot::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--gray-300);
  transform: scaleX(0.35);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

/* Hit area only. Invisible, unpainted, and sized off the same token as every
   other control so it cannot drift out of agreement with .carousel-dots' gap. */
.dot::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((var(--tap-min) - 20px) / -2);
  right: calc((var(--tap-min) - 20px) / -2);
}

.dot.active::before {
  background: var(--green-600);
  transform: scaleX(1);
}

@media (hover: hover) {
  .dot:hover::before {
    background: var(--gray-400);
  }

  .dot.active:hover::before {
    background: var(--green-600);
  }
}

.dot:active::before {
  background: var(--green-400);
}

.dot.active:active::before {
  background: var(--green-600);
}

/* ═══════════════════════════════════════════════
   PARTNERS SECTION
   ═══════════════════════════════════════════════ */
.partners-banner-bottom {
  padding: var(--space-9) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--border-default);
}

.partners-banner-bottom::after {
  display: none;
}

/* Widest tracking on the page — this is a legal/attribution line, not a
   heading, and the extra letter-spacing is what marks it as one. */
.partners-title {
  display: block;
  text-align: center;
  letter-spacing: var(--tracking-widest);
  color: var(--text-muted);
  margin-bottom: var(--space-7);
}

.partners-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-7);
}

.partner-logo-card {
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

@media (hover: hover) {
  .partner-logo-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }
}

.partner-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition-base);
}

@media (hover: hover) {
  .partner-logo-card:hover .partner-logo-img {
    filter: grayscale(0%);
  }
}

/* ═══════════════════════════════════════════════
   FOOTER — Dark green (poster footer)
   ═══════════════════════════════════════════════ */
footer {
  background: var(--green-900);
  padding: var(--space-11) 0 0;
  color: rgba(255,255,255,0.8);
}

footer::after {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-9);
  padding-bottom: var(--space-9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .logo-icon {
  background: rgba(255,255,255,0.15);
}

.footer-about .logo-text {
  color: var(--white);
}

.footer-about .logo-text span {
  color: var(--orange-500);
}

.footer-about p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: var(--lh-loose);
  max-width: 360px;
}

/* Column heading. Previously the same size as the body copy beside it and
   separated by nothing but weight; now it is an eyebrow — smaller, uppercase,
   widely tracked and pure white against the muted links below it. */
.footer-links h4 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

/* gap is 0 because the links now carry their own 12px of vertical padding —
   the row spacing moved INSIDE the target instead of sitting between targets as
   dead space. Same visual rhythm, 24px of it now pressable. */
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* The underline is a background gradient, not text-decoration: it grows from
   0% to 100% of the link's width without ever changing the line box, so a
   column of ten links cannot reflow under the pointer. background-size is a
   paint-only property here — no layout, no compositing surprise. */
/* These measured 16px tall — the smallest targets on the page by a wide margin,
   and nine of them stacked 8px apart, which is a mis-tap generator.
   inline → inline-block so vertical padding actually builds a box (padding on a
   true inline box does not affect the line and leaves neighbouring hit areas
   overlapping). background-origin: content-box then keeps the underline
   measuring against the TEXT rather than the padding edge, so it still draws
   directly under the words instead of 12px below them. */
.footer-links ul li a {
  display: inline-block;
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,0.55);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-origin: content-box;
  background-position: 0 100%;
  background-size: 0% 1px;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition-fast),
    background-size var(--transition-base);
}

@media (hover: hover) {
  .footer-links ul li a:hover {
    color: var(--green-300);
    background-size: 100% 1px;
  }
}

.footer-links ul li a:active {
  color: var(--green-200);
  background-size: 100% 1px;
}

/* Keyboard: the ring already marks the link, and the underline confirms it
   the same way the pointer state does. */
.footer-links ul li a:focus-visible {
  color: var(--green-300);
  background-size: 100% 1px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
}

.footer-bottom p {
  font-size: var(--text-xs);
  line-height: var(--lh-body);
  color: rgba(255,255,255,0.4);
  max-width: var(--measure);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-socials a {
  width: var(--tap-min);
  height: var(--tap-min);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Emoji glyph, deliberately off the type ramp — it steps up with the disc so
     the icon keeps its proportion inside the larger circle. */
  font-size: var(--text-lg);
  line-height: 1;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

@media (hover: hover) {
  .footer-socials a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
  }
}

.footer-socials a:active {
  background: rgba(255,255,255,0.2);
  transform: scale(0.94);
}

/* ═══════════════════════════════════════════════
   POSTER MODAL
   ═══════════════════════════════════════════════ */
.poster-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: var(--space-6);
}

.poster-modal.active {
  display: flex;
}

.poster-modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  max-width: 560px;
  width: 100%;
  max-height: 94vh;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn var(--dur-base) var(--ease-out);
}

/* Rise and fade. The old version scaled up from 0.92 on the spring curve and
   overshot on settle — the locked motion decision rules that out. */
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* The disc stays 32px. Growing it would put a heavy grey circle over the poster
   title, and unlike the carousel arrows this control has nothing next to it —
   it owns its whole corner — so an invisible overhang is safe here and steals
   no other target's taps. ::before below carries the missing 12px. */
.close-modal-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  font-size: var(--text-xl);
  font-weight: var(--weight-normal);
  line-height: 1;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

/* Hit area only — no paint. Extends the 32px disc to 44 × 44 while leaving the
   6px it gains on each side inside the modal's own padding.
   Square, NOT `border-radius: inherit`: hit-testing honours border-radius, so
   inheriting the button's pill radius would have carved the corners back off
   and left a 44px circle whose diagonal reach is short of the target. Measured
   — the corner probes missed before this was a square. Nothing paints here, so
   there is no visual reason to round it. */
.close-modal-btn::before {
  content: '';
  position: absolute;
  inset: calc((var(--tap-min) - 32px) / -2);
}

@media (hover: hover) {
  .close-modal-btn:hover {
    background: var(--gray-200);
    color: var(--gray-900);
  }
}

.close-modal-btn:active {
  background: var(--gray-300);
  color: var(--gray-900);
  transform: scale(0.92);
}

.poster-modal-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-4);
  padding-right: var(--space-7);
}

.poster-img-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.poster-img-container img {
  width: 100%;
  max-height: calc(94vh - 200px);
  object-fit: contain;
  border-radius: var(--radius-md);
}

.poster-modal-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  line-height: var(--lh-body);
  max-width: var(--measure);
}

.poster-modal-actions {
  display: flex;
}

.poster-modal-actions .btn-primary {
  width: 100%;
  justify-content: center;
  padding: var(--space-3);
}
/* ═══════════════════════════════════════════════
   RESPONSIVE — TWO breakpoints, and that is the whole set.

   It used to be three (1024 / 768 / 480) and they were doing three unrelated
   jobs, which is why they read as arbitrary. They now mean one thing each:

     ≤1024px  MULTI-COLUMN COLLAPSE. Grids that only work with real horizontal
              room fold to one or two columns. Nothing about rhythm changes.
     ≤768px   PHONE. The header restacks and the vertical rhythm steps down one
              notch across the board.

   The old 480px tier is gone: every rule in it (chip padding, pledge button
   padding, quiz padding, partner logo size) was a phone rule that had no reason
   to wait until 480px, and holding it back only meant a 500px-wide screen got
   desktop-scale padding it had no room for. All of it moved up into 768.

   NOTE: there are no font-size overrides in here, and none may be added. Every
   type size on the page is a clamp() interpolating from 360px to 1440px, so the
   ramp is continuous instead of jumping at breakpoints. A hardcoded font-size
   inside a media query does not tune that ramp — it cancels it.
   ═══════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
   ≤1024px — COLUMNS COLLAPSE
   ─────────────────────────────────────────────── */
@media (max-width: 1024px) {


  .iec-grid.horizontal-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .vertical-roadmap-wrapper {
    padding-left: 100px;
  }

  .vertical-roadmap-track {
    left: 100px;
  }

  .event-left-col {
    width: 80px;
    left: -100px;
  }
}

/* ───────────────────────────────────────────────
   ≤768px — PHONE
   ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Journey vertical rhythm steps down one notch on phones. No font-size here —
     the clamp() ramp owns sizing, and a fixed size inside a breakpoint cancels it. */
  .journey-steps {
    gap: var(--space-6);
  }

  .journey-hub {
    margin-bottom: var(--space-7);
  }


  /* LONGHANDS, not `padding: 0 var(--space-4)`. Three elements on this page
     carry .container AND a second class that sets vertical padding —
     .nav-container, .footer-grid and .footer-bottom — and the shorthand here
     sits later in the file than all three, so it was silently resetting their
     top and bottom padding to zero. Measured before this fix: .footer-grid's
     48px bottom padding became 0, leaving the divider rule 1px under the last
     footer link, and .footer-bottom's 24px became 0, jamming the copyright line
     against that divider. The longhands touch only the axis they mean to. */
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* ── VERTICAL RHYTHM ──────────────────────────
     80px between sections is correct at 1440px, where it is about 6% of the
     viewport height. At 360px the viewport is ~640px tall and that same 80px
     is 12% of the screen — twice, above and below, so a quarter of every
     screenful is empty before any content appears. Every band steps down one
     notch on the same --space-* scale. Nothing here is a new number.

     These are separate rules and not one `section` rule because
     .pledge-section, .partners-banner-bottom and footer all set padding via a
     class, which outranks the bare `section` selector. Overriding only
     `section` left the biggest bands untouched. */
  section { padding: var(--space-9) 0; }
  .swachh-pledge-card { padding: var(--space-8) 0; }
  .partners-banner-bottom { padding: var(--space-8) 0; }
  footer { padding: var(--space-9) 0 0; }
  .section-header { margin-bottom: var(--space-7); }

  /* ── CARD INTERIORS ───────────────────────────
     A 328px card with 32px of padding leaves 264px of text. Dropping to 20px
     leaves 288px — 9% more measure per line, which on a 33-character column is
     roughly three characters, i.e. one fewer mid-word wrap per paragraph.
     Padding is where mobile width is won; the container gutter is already as
     tight as it should go. */
  .glass-card { padding: var(--space-5); }
  .quiz-card { padding: var(--space-5); }
  .quiz-option { padding: var(--space-3) var(--space-4); }
  .event-right-card { padding: var(--space-4); }
  .poster-modal { padding: var(--space-4); }
  .poster-modal-content { padding: var(--space-5); }

  /* The poster cards are the narrowest column on the page (two up at ~156px),
     so their internal padding comes in a step further than the general card. */
  .iec-info { padding: var(--space-3) var(--space-3) var(--space-1); }
  .iec-actions { padding: var(--space-2) var(--space-3) var(--space-3); }

  /* ── GRID GAPS ────────────────────────────────
     One column means a gap is vertical rhythm, not a gutter, so it tightens
     with everything else. */
  .iec-grid.horizontal-cards-grid { gap: var(--space-3); }
  .roadmap-event-item { margin-bottom: var(--space-6); }
  .partners-logos-grid { gap: var(--space-4); }
  .partner-logo-img { height: 32px; }

  .pledge-commitment {
    padding: var(--space-2) var(--space-3);
  }

  .btn-swachh-pledge {
    padding: var(--space-3) var(--space-7);
  }

  /* ── HEADER ───────────────────────────────────
     WHAT WAS WRONG: the nav wrapped to two ragged rows (three links, then two)
     and the whole sticky header measured 150px at 360px — 23% of the screen,
     permanently, on every scroll position.

     WHAT THIS IS: one centred logo row, then the five links as a single
     full-bleed horizontal strip that scrolls. No JS, no hamburger, no hidden
     state to get out of sync — the links are always all present in the DOM and
     in the tab order, they are simply not all on screen at once.

     Why a strip and not two tidy rows: at 44px per link (the touch minimum) two
     rows cost 92px of nav on their own, which makes the header TALLER than the
     150px it already was. One 44px row is the only arrangement that pays for
     the bigger targets instead of charging for them. Result: 113px.

     Why the cut-off is fine: the fourth chip is sliced mid-word by the screen
     edge, and a half-visible label is the strongest scroll affordance there is —
     stronger than an arrow, and it costs nothing to render.

     That slice is MEASURED, not hoped for, and it is why the chip padding drops
     to 12px below. At the original 16px the third chip ended at x=357 on a
     360px screen and the fourth began at 361 — one pixel past the edge, so the
     row looked complete and finished, and two links were silently unreachable.
     At 12px the fourth chip starts at 329 and ~19px of "AMR Quiz" is on screen.
     Anyone re-tuning this padding must re-measure that number. */
  /* The horizontal gutter is deliberately ZERO here — this shorthand overrides
     .container's 16px — and is handed down to the two rows instead. That is
     what lets the strip below run to the screen edge without a negative margin;
     a negative margin on top of a 0 gutter is what pushed the document 16px
     wider than the viewport the first time this was measured. The logo is
     centred, so it needs no gutter of its own. */
  .nav-container {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: var(--space-1) 0;
    gap: 0;
  }

  /* Full bleed by stretching to a container that already has no gutter, so the
     cut-off chip is cut by the SCREEN rather than floating short of it.
     overflow-x on the list does not propagate to the document — the page still
     measures scrollWidth === clientWidth, which is verified, not assumed. */
  nav {
    align-self: stretch;
  }

  nav ul {
    flex-wrap: nowrap;
    /* justify-content stays flex-start on purpose. `center` on an overflowing
       flex row pushes the first item off the left edge into space that cannot
       be scrolled back to — the links before the midpoint become unreachable.
       The two auto-margin pseudo-elements below centre the row when it fits and
       collapse to nothing when it does not, which is the same result without
       the trap. */
    justify-content: flex-start;
    gap: var(--space-1);
    /* Vertical padding is not decoration: overflow-x:auto computes overflow-y
       to auto as well, so without it the 2px focus ring (plus its 2px offset)
       on a 44px link would be clipped by the scroll box. */
    padding: var(--space-2) var(--space-3);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  nav ul::-webkit-scrollbar { display: none; }

  /* Two empty flex items with auto margins. When the row FITS (roughly 560px
     and up) they absorb the slack evenly and the row is centred; when it
     overflows, auto margins resolve to zero and they vanish.
     This is why justify-content is left alone: `center` on an overflowing flex
     row puts the first item at a negative offset that no scroll position can
     reach, so the earliest links become permanently unreachable. Auto margins
     centre without ever producing unscrollable overflow. */
  nav ul::before,
  nav ul::after {
    content: '';
    margin: auto;
  }

  nav ul li { flex: 0 0 auto; }

  /* 16px → 12px each side. Vertical padding is untouched because the 44px
     min-height, not the padding, sets the target height. See the slice
     arithmetic in the header note above — this is the number that makes the
     fourth chip visible. */
  nav ul li a { padding: var(--space-2) var(--space-3); }

  /* ── FOOTER ───────────────────────────────────── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer-socials { justify-content: center; }

  /* ── ROADMAP ──────────────────────────────────
     The date column is dropped and the track pulls in to a 30px rail, which is
     the narrowest indent that still clears the 28px check node. */
  .vertical-roadmap-wrapper {
    padding-left: 30px;
  }

  .vertical-roadmap-track {
    left: 30px;
  }

  .event-left-col {
    display: none;
  }

  .event-node {
    left: -22px;
  }

  .event-right-card {
    margin-left: 20px;
  }
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION — the last block in the file, deliberately.

   Source order is the safety net: every rule here sits after everything it
   overrides, so it wins on order as well as on !important. A future edit that
   adds motion ABOVE this block is neutralised automatically. One added below it
   is not — so nothing goes below this.

   The failure mode this block guards against is not "the page is a bit
   jumpy". .reveal starts at opacity: 0. If the reveal engine is neutralised
   without also being forced visible, a reader who has asked for less motion
   gets a blank page. That is why rule 3 comes with an explicit inventory.
   ═══════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
   THE DISPOSAL JOURNEY — CIRCULAR FORM

   Layered on as a pure enhancement above the 1024px breakpoint that every
   other multi-column layout on this page already collapses at. Below it the
   vertical rail defined earlier stands unmodified.

   The box is exactly 860 x 860 CSS px and the SVG viewBox is 0 0 860 860, so
   one viewBox unit is one CSS pixel and the SVG coordinates and the CSS
   coordinates are literally the same numbers — nothing has to be converted.
   860 always fits: at >=1025px the container's inner width is at least
   1025 - 48 = 977px.

   Node points: angle = -90 + (n-1) * 360/7, clockwise from twelve o'clock,
   x = 430 + 215*cos(angle), y = 430 + 215*sin(angle). Each block is offset by
   half a disc (28px) so the disc centre lands exactly on its node point. The
   set is bilaterally symmetric about x = 430, which is the cheapest available
   proof the numbers were not mistyped: 2 mirrors 7, 3 mirrors 6, 4 mirrors 5.

   Again: NO `transform` anywhere below. .reveal owns it.
   ─────────────────────────────────────────────── */
/* ───────────────────────────────────────────────
   THE DISPOSAL JOURNEY — CIRCULAR FORM

   Six nodes. Recomputed from scratch when the copy changed from seven steps to
   six: the old positions were seven-node angles, which left an empty wedge in
   the upper left and pointed the arrows at nothing.

   The box is 960 x 960 CSS px against a 0 0 960 960 viewBox, so one viewBox
   unit is one CSS pixel and the SVG and CSS share the same numbers. It is
   bigger than the seven-node version was because the labels are now full
   sentences rather than three-word phrases, and they need the room.

   Node points: angle = -90 + (n-1)*60, clockwise from twelve o'clock,
   x = 480 + 240*cos(angle), y = 480 + 240*sin(angle). Each block is offset by
   half a disc (28px) so the disc centre lands exactly on its node point.
   Symmetric about x = 480: n2 mirrors n6, n3 mirrors n5.

   Still no `transform` anywhere below — .reveal owns it.
   ─────────────────────────────────────────────── */
@media (min-width: 1100px) {

  .journey-diagram {
    width: 960px;
    height: 960px;
    max-width: none;
  }

  .journey-orbit {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .journey-orbit-disc {
    fill: var(--green-50);
  }

  .journey-orbit-disc-ring {
    fill: none;
    stroke: var(--green-100);
    stroke-width: 1;
  }

  /* 10 + 15.13274 = 25.13274, which repeats exactly 60 times around the
     1507.9645 circumference, so the dash pattern closes with no stub. */
  .journey-orbit-ring {
    fill: none;
    stroke: var(--green-200);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 10 15.13274;
  }

  .journey-orbit-arrows {
    fill: var(--green-300);
    stroke: none;
  }

  /* Centred by a full-size flex overlay, not a translate: this element carries
     .reveal and a positioning transform would be clobbered. */
  .journey-hub {
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
  }

  .journey-hub-inner {
    max-width: 250px;
  }

  /* Must fill the box: the steps position against THIS element, and as a plain
     block it would collapse to zero height, breaking the one anchored by
     `bottom`. */
  .journey-steps {
    position: absolute;
    inset: 0;
    display: block;
    gap: 0;
  }

  .journey-steps::before {
    display: none;
  }

  .journey-step {
    position: absolute;
    gap: var(--space-3);
    width: 290px;
  }

  .journey-step-text {
    padding-top: 0;
  }

  .journey-step-label {
    font-size: var(--text-md);
    margin-bottom: var(--space-2);
  }

  .journey-step-detail {
    font-size: var(--text-xs);
    max-width: none;
  }

  /* Four placement families. The disc is the first DOM child, so -reverse puts
     it on the inner edge, nearest the circle, with no effect on reading order. */
  .journey-step--top {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .journey-step--bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .journey-step--right {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .journey-step--left {
    flex-direction: row-reverse;
    align-items: flex-start;
    text-align: right;
  }

  /* n=1  (480.00, 240.00) — block bottom edge sits at 240 + 28 = 268 from the top */
  .journey-step[data-step="1"] { left: 335.0px; bottom: 692.0px; }
  /* n=2  (687.85, 360.00) */
  .journey-step[data-step="2"] { left: 659.8px; top: 332.0px; }
  /* n=3  (687.85, 600.00) */
  .journey-step[data-step="3"] { left: 659.8px; top: 572.0px; }
  /* n=4  (480.00, 720.00) */
  .journey-step[data-step="4"] { left: 335.0px; top: 692.0px; }
  /* n=5  (272.15, 600.00) — mirror of 3 */
  .journey-step[data-step="5"] { right: 659.8px; top: 572.0px; }
  /* n=6  (272.15, 360.00) — mirror of 2 */
  .journey-step[data-step="6"] { right: 659.8px; top: 332.0px; }
}

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

  /* ─── 1. GLOBAL CLAMP ───────────────────────────
     Near-zero rather than `none`, and iteration-count 1 rather than 0, so any
     code waiting on a transitionend/animationend event still receives it — the
     animation runs, it just finishes inside one frame. `none` silently drops
     those events and hangs whatever was waiting.
     This also covers any rule added to this file later without a matching entry
     below: the specific rules that follow are for correctness, this one is for
     coverage. */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  /* ─── 2. SMOOTH SCROLLING OFF ───────────────────
     `html { scroll-behavior: smooth }` in the base reset turns every one of the
     21 in-page anchor links into a long animated fly-past of the whole document,
     which is the single most nauseating thing on the page for anyone with a
     vestibular disorder. Jump instead. */
  html {
    scroll-behavior: auto !important;
  }

  /* ─── 3. THE REVEAL ENGINE — 38 .reveal elements ─
     .reveal is opacity: 0 + translateY(20px) until app.js adds .visible.
     app.js has its own reduced-motion path and reveals everything immediately,
     but this rule must hold WITHOUT it: if JS is disabled, fails to parse, or
     is still in flight on a slow Maharashtra connection, opacity: 0 is the
     computed state of nearly every content block on the page.

     So the base .reveal state is overridden directly — not merely un-animated —
     and the container rule covers the six [data-reveal-children] blocks
     (.about-cards, .iec-grid, .vertical-roadmap-wrapper,
     .partners-logos-grid) whose children receive an inline transition-delay
     from app.js that inline styles would otherwise keep alive. */
  .reveal,
  .reveal.visible,
  [data-reveal-children] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4,
  .reveal-delay-5,
  .reveal-delay-6 {
    transition-delay: 0ms !important;
  }

  /* ─── 4. EVERY @keyframes IN THIS FILE ───────────
     Enumerated, not assumed. Five exist and all five are listed:

       floatBubble   infinite  .bubble ×5          → still, at rest position
       modalSlideIn  once      .poster-modal-content → appears, does not rise

     The three infinite ones are the important ones: an endless loop is motion
     the reader never asked for and cannot dismiss, and the clamp in rule 1
     alone would leave them looping at 0.01ms, i.e. flickering. `animation:
     none` removes them outright. Each animates only transform/opacity from a
     resting base state, so with the animation gone every element lands exactly
     where its layout puts it — nothing is left mid-flight or invisible. */
  .bubble,
  .poster-modal-content {
    animation: none !important;
  }

  /* ─── 5. INTERACTION MOVEMENT ────────────────────
     Rule 1 makes these instant rather than animated, but instant is still
     movement: a card that jumps 4px under the finger reads as a glitch. Colour,
     border and shadow feedback all stay — only displacement goes.
     Listed explicitly rather than with a blanket `transform: none`, because
     three transforms on this page are LAYOUT, not motion, and killing them
     would break the design:
       .carousel-nav      translateY(-50%) does its vertical centring
       .dot::before       scaleX() IS the active/inactive state, not an entrance
       section::after     translateX(-50%) centres the section divider
     .carousel-nav therefore re-states its centring in every state below. */
  .glass-card:hover,
  .iec-card:hover,
  .dindi-video-card:hover,
  .event-right-card:hover,
  .partner-logo-card:hover,
  .btn-swachh-pledge:hover,
  .btn-swachh-pledge:active,
  .btn-primary:hover,
  .btn-primary:active,
  .btn-secondary:hover,
  .btn-secondary:active,
  .iec-download-btn:hover,
  .iec-download-btn:active,
  .quiz-option:hover,
  .quiz-option:active,
  .footer-socials a:hover,
  .footer-socials a:active,
  .close-modal-btn:active,
  .dindi-video-facade:active,
  .dindi-video-facade:hover,
  .iec-card:hover .poster-card-img,
  .iec-thumbnail:active .view-icon,
  .view-icon {
    transform: none !important;
  }

  .carousel-nav,
  .carousel-nav:hover,
  .carousel-nav:active,
  .carousel-nav:focus-visible {
    transform: translateY(-50%) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CERTIFICATE — "Generate Your Certificate" trigger (pledge-done panel)
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-cert-generate {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: 0.7rem 1.6rem;
  background: linear-gradient(135deg,rgba(255,255,255,0.22),rgba(255,255,255,0.10));
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  letter-spacing: var(--tracking-snug);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  animation: certBtnIn 0.55s 0.25s var(--ease-out) both;
}

@keyframes certBtnIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (hover: hover) {
  .btn-cert-generate:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.72);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.2);
  }
}

.btn-cert-generate:active { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════════
   CERTIFICATE MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.cert-modal[hidden] { display: none; }

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* Never intercept clicks — the .cert-modal overlay handles close-on-outside-click */
  pointer-events: none;
}

.cert-modal-dialog {
  position: relative;
  z-index: 1;          /* must sit above .cert-modal-backdrop (z-index: 0) */
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 28px 90px rgba(0,0,0,0.38);
  animation: certModalIn 0.32s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes certModalIn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.cert-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 1;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,0.07);
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}

@media (hover: hover) {
  .cert-modal-close:hover {
    background: rgba(0,0,0,0.14);
    color: var(--gray-900);
  }
}

.cert-step { display: flex; flex-direction: column; }

/* [hidden] must win over display:flex — without this BOTH steps render at once */
.cert-step[hidden] { display: none !important; }

/* Step header banner */
.cert-step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.4rem 2rem 1.5rem;
  background: linear-gradient(145deg, var(--green-50), #e4f5ef);
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid var(--green-100);
}

.cert-step-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--green-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: 0 6px 20px rgba(0,104,87,0.30);
}

.cert-step-icon--success {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}

.cert-step-header h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--green-900);
  margin: 0 0 var(--space-2);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-heading);
}

.cert-step-header p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
  max-width: 38ch;
}

/* Form */
.cert-form-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cert-field { display: flex; flex-direction: column; gap: var(--space-2); }

.cert-field label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--green-700);
}

.cert-field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--green-100);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--text-primary);
  background: var(--green-50);
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.cert-field input:focus {
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,104,87,0.12);
}

.cert-form-error {
  font-size: var(--text-sm);
  color: var(--red-600);
  margin: 0;
  font-weight: var(--weight-medium);
}

/* Buttons inside the cert modal */
.btn-cert-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-cert-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,104,87,0.28);
}

@media (hover: hover) {
  .btn-cert-primary:hover {
    background: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 7px 22px rgba(0,104,87,0.36);
  }
}

.btn-cert-primary:active { transform: none; }

.btn-cert-share {
  background: #0ea5e9;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14,165,233,0.25);
  flex: 1;
  min-width: 100px;
}

@media (hover: hover) {
  .btn-cert-share:hover { background: #0284c7; transform: translateY(-1px); }
}

.btn-cert-ghost {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-100);
}

@media (hover: hover) {
  .btn-cert-ghost:hover {
    background: var(--green-50);
    border-color: var(--green-300);
  }
}

/* Canvas preview */
.cert-canvas-wrap {
  padding: 1.25rem 1.5rem;
  background: #e8e8e8;
  overflow-x: auto;
}

.cert-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}

/* Action row under canvas */
.cert-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: 1.25rem 1.5rem 1.75rem;
  align-items: center;
}

.cert-action-row .btn-cert-primary { flex: 1; min-width: 140px; }

/* ═══════════════════════════════════════════════════════════════════════════
   QUIZ — retake button & completion counter
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-quiz-retake {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  background: var(--green-50);
  border: 2px solid var(--green-200);
  border-radius: var(--radius-full);
  color: var(--green-700);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  font-family: inherit;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

@media (hover: hover) {
  .btn-quiz-retake:hover {
    background: var(--green-100);
    border-color: var(--green-400);
  }
}

.quiz-completion-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-6);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
}

/* [hidden] must win over display:flex — without this the counter is always visible */
.quiz-completion-count[hidden] { display: none !important; }

.quiz-completion-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--green-600);
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.quiz-completion-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--green-400);
}

/* Phone tweaks */
@media (max-width: 640px) {
  .cert-modal-dialog { border-radius: 16px; max-height: 96vh; }
  .cert-step-header  { padding: 1.75rem 1.25rem 1.25rem; border-radius: 16px 16px 0 0; }
  .cert-form-body    { padding: 1.25rem 1.25rem 1.5rem; }
  .cert-action-row   { padding: 1rem 1.25rem 1.5rem; }
  .cert-canvas-wrap  { padding: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIND DISPOSAL BINS SECTION (Full-Width Geolocation Map)
   ═══════════════════════════════════════════════════════════════════════════ */

.bins-section {
  background: var(--green-50);
}

/* ── Location Toolbar ───────────────────────────────────────── */
.bins-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 10px rgba(0, 104, 87, 0.05);
}

.bins-toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-locate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-600);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  font-family: inherit;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  box-shadow: 0 2px 8px rgba(0, 104, 87, 0.25);
}

.btn-locate:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 104, 87, 0.35);
}

.btn-locate.is-loading svg {
  animation: spin 1s infinite linear;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.bins-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.bins-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400, #9ca3af);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.bins-status.status-active .bins-status-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.bins-status.status-loading .bins-status-dot {
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

.bins-status.status-denied .bins-status-dot {
  background: #f59e0b;
}

.btn-nearest-bin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  border-radius: 100px;
  padding: 0.55rem 1.1rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  font-family: inherit;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.btn-nearest-bin:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-1px);
}

/* ── Full-Width Map Container ───────────────────────────────── */
.bins-map-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--green-100);
  background: #f8fafc;
}

#binsMap {
  width: 100%;
  height: 540px;
  z-index: 1;
}

/* Map legend pill inside map */
.bins-map-legend {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 104, 87, 0.12);
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 11px;
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 500;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: var(--weight-medium);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.dot-bin {
  background: #006857;
  border: 1.5px solid #fff;
  box-shadow: 0 0 4px rgba(0, 104, 87, 0.5);
}

.legend-dot.dot-nearest {
  background: #f59e0b;
  border: 1.5px solid #fff;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.7);
}

.legend-dot.dot-user {
  background: #2563eb;
  border: 1.5px solid #fff;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.7);
}

.legend-hint {
  color: var(--text-muted);
  border-left: 1px solid var(--gray-200, #e5e7eb);
  padding-left: 0.75rem;
}

/* ── Contact Note Below Map ──────────────────────────────────── */
.bins-contact-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 104, 87, 0.04);
}

.bins-contact-note svg {
  color: var(--green-600);
  flex-shrink: 0;
}

.bins-contact-note a {
  color: var(--green-700);
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}

.bins-contact-note a:hover {
  color: var(--green-800);
}

/* ── User Location Pulsing Marker ────────────────────────────── */
.user-loc-marker {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-loc-dot {
  width: 14px;
  height: 14px;
  background: #2563eb;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.8);
  position: relative;
  z-index: 2;
}

.user-loc-pulse {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.4);
  animation: userLocPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes userLocPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ── Custom Bin Pin Marker ──────────────────────────────────── */
.bin-marker-pin {
  width: 32px;
  height: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.bin-marker-pin svg {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.bin-marker-pin:hover,
.bin-marker-pin.is-active {
  transform: translateY(-4px) scale(1.15);
}

.bin-marker-pin.is-nearest svg {
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.6));
}

/* ── Leaflet Popup Custom Styling ───────────────────────────── */
.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2) !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(0, 104, 87, 0.15);
}

.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
  min-width: 240px;
  max-width: 300px;
}

.leaflet-popup-tip-container {
  margin-top: -1px;
}

.bin-popup {
  padding: 1rem 1.15rem;
  font-family: inherit;
}

.bin-popup-nearest-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 0.5rem;
  border: 1px solid #fde68a;
}

.bin-popup-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.bin-popup-type {
  font-size: 0.75rem;
  color: #006857;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.bin-popup-distance {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.bin-popup-address {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.bin-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.bin-popup-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 100px;
}

.bin-popup-status--open {
  background: #d1fae5;
  color: #065f46;
}

.bin-popup-status--closed {
  background: #f1f5f9;
  color: #64748b;
}

.bin-popup-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #006857;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  transition: all var(--dur-fast) var(--ease-out);
}

.bin-popup-link:hover {
  background: #006857;
  color: #ffffff;
  border-color: #006857;
}

/* ── Responsive adjustments ─────────────────────────────────── */
@media (max-width: 768px) {
  #binsMap {
    height: 420px;
  }

  .bins-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .bins-toolbar-left {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-locate,
  .btn-nearest-bin {
    width: 100%;
    justify-content: center;
  }

  .bins-map-legend {
    position: static;
    border-radius: 0;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.6rem;
  }

  .legend-hint {
    display: none;
  }
}

