/* ==========================================================================
   coodu-about.css  —  ABOUT PAGE section-level layout ONLY
   --------------------------------------------------------------------------
   Owns: the About hero composition, the overlapping stat slab, the milestone
   TIMELINE (centre line + drawing progress fill + alternating items), the
   vision/mission split, the values grid, the leadership grid, the partner
   logo grid and the green get-involved CTA band.

   Shared components (.btn, .card, .stat, .eyebrow, .icon-chip, .img-slot,
   .section, .section-head, header / drawer / mega / footer) are owned by
   coodu-components.css — never restyled here except the few scoped colour
   overrides the dark hero / green CTA band require (white headings / amber
   eyebrow on dark), which are page composition.

   The timeline's drawing animation is wired by coodu-about.js. The generic
   .reveal fade-up + .counter count-up come free from the shared CSS/JS.

   Mobile-first. Enhance up with min-width only. Breakpoints: 600 / 900 / 1200.
   All decorative motion is gated behind prefers-reduced-motion.
   ========================================================================== */

/* ==========================================================================
   1. HERO — dark-green photo banner (mirrors the home .hero composition)
   ========================================================================== */
.about-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 60vh, 480px);
  color: var(--surface);
  /* dark-green base behind the photo (shows while it loads / under the scrim) */
  background-color: #10271a;
  background-image: url('https://res.cloudinary.com/dvxbg6to3/image/upload/v1754456733/coodu-trust/images/headers/about-us-header.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.about-hero__layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* legibility scrim — vertical on mobile, left-weighted on desktop */
.about-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 15, 0.55), rgba(8, 26, 15, 0.86));
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero__content {
  max-width: 640px;
  padding-block: clamp(48px, 9vw, 84px);
}

/* amber eyebrow on the dark hero (component is green on light by default) */
.about-hero .eyebrow {
  color: var(--color-amber-light);
  margin-bottom: var(--s2);
}

.about-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 1.08;
  color: var(--surface);
}

.about-hero__sub {
  max-width: 540px;
  margin: var(--s3) 0 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 900px) {
  .about-hero__scrim {
    background: linear-gradient(
      90deg,
      rgba(8, 26, 15, 0.88) 0%,
      rgba(8, 26, 15, 0.6) 48%,
      rgba(8, 26, 15, 0.2) 100%
    );
  }
}

/* parallax: the JS only nudges background-position on fine-pointer + motion-OK */
@media (prefers-reduced-motion: no-preference) {
  .about-hero[data-parallax] { background-attachment: scroll; will-change: background-position; }
}

/* ==========================================================================
   2. IMPACT STAT BAND — frosted card that overlaps the hero on desktop
   (mirrors the home .impact slab)
   ========================================================================== */
.about-stats {
  position: relative;
  z-index: 3;
  background: transparent;
  padding-block: clamp(28px, 7vw, 40px);
}

.about-stats__eyebrow {
  display: block;
  text-align: center;
  margin: 0 0 var(--s3);
}

.about-stats__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s2);
}

.about-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-card);
}

@media (min-width: 900px) {
  .about-stats__card { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
  .about-stats { padding-top: 0; }
  .about-stats__eyebrow { display: none; }
  /* four cells become one divided slab, lifted up over the hero */
  .about-stats__card {
    gap: 0;
    margin-top: -54px;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    box-shadow: var(--shadow-2);
  }
  /* stats sit directly on the frosted slab — no per-cell fill, hairline divides */
  .about-stats .stat {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
    padding: 28px 24px;
  }
  .about-stats .stat:last-child { border-right: 0; }
}

/* ==========================================================================
   3. OUR STORY + MILESTONE TIMELINE
   ========================================================================== */
.about-story__intro {
  margin: 0;
  max-width: 660px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---- timeline shell ---- */
.timeline {
  position: relative;
  list-style: none;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
}

/* ---- the rail (centre line / left rail) + its drawing progress fill ---- */
.timeline__line {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 11px;                 /* mobile/tablet: left rail */
  width: 2px;
  background: var(--border);
  border-radius: var(--radius-pill);
}

.timeline__progress {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 0%;                 /* JS grows this 0 -> 100% as you scroll */
  background: linear-gradient(180deg, var(--color-primary), var(--color-amber));
  border-radius: var(--radius-pill);
}

/* ---- timeline item (left rail layout: everything to the right) ---- */
.timeline__item {
  position: relative;
  margin: 0 0 clamp(22px, 4vw, 34px);
  padding-left: 40px;
}
.timeline__item:last-child { margin-bottom: 0; }

/* dot sits on the rail */
.timeline__dot {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  box-shadow: 0 0 0 4px var(--surface);
  z-index: 1;
}
.timeline__dot.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.timeline__content {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
}

.timeline__year {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-primary);
}

.timeline__text {
  margin: 0;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---- the dim/translated initial state the JS reveals (.is-in) ---- */
.coodu-js .timeline__item {
  opacity: 0.32;
  transform: translateY(14px);
}
.coodu-js .timeline__item.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .coodu-js .timeline__item {
    transition: opacity 0.5s var(--mo-ease), transform 0.5s var(--mo-ease);
    will-change: opacity, transform;
  }
  .timeline__dot,
  .timeline__progress {
    transition: background-color var(--ease), border-color var(--ease);
  }
}
/* reduced motion / no-JS: nothing hidden, no offset */
@media (prefers-reduced-motion: reduce) {
  .coodu-js .timeline__item { opacity: 1; transform: none; }
}

/* ---- desktop: centre line, items alternate left / right ---- */
@media (min-width: 900px) {
  .timeline__line {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__item {
    width: 50%;
    padding: 0;
    margin-bottom: clamp(28px, 4vw, 44px);
  }

  /* left-side items: content sits left of the rail, dot on the right edge */
  .timeline__item--left {
    margin-left: 0;
    padding-right: 44px;
    text-align: right;
  }
  /* right-side items: content sits right of the rail, dot on the left edge */
  .timeline__item--right {
    margin-left: 50%;
    padding-left: 44px;
    text-align: left;
  }

  /* dot re-anchored onto the centre rail */
  .timeline__item--left .timeline__dot {
    left: auto;
    right: -8px;
  }
  .timeline__item--right .timeline__dot {
    left: -8px;
  }

  /* keep the year/text reading direction natural even when right-aligned */
  .timeline__item--left .timeline__content { text-align: right; }
}

/* ==========================================================================
   4. VISION & MISSION — 2-up split
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.6vw, 26px);
}

.vm-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s2);
  padding: clamp(28px, 3.6vw, 42px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
}
/* top accent bar that draws on hover — vision green, mission amber */
.vm-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
}
.vm-grid .vm-card:nth-child(2)::after { background: var(--color-amber); }
/* soft corner glow */
.vm-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -50px; top: -50px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 126, 52, 0.13), transparent 70%);
  opacity: 0;
  transform: scale(0.6);
}
.vm-grid .vm-card:nth-child(2)::before { background: radial-gradient(circle, rgba(244, 163, 0, 0.16), transparent 70%); }

.vm-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--text-strong);
}

.vm-card__text {
  margin: 0;
  line-height: 1.65;
  color: var(--text-body);
}

@media (prefers-reduced-motion: no-preference) {
  .vm-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
  .vm-card::after { transition: transform .45s var(--ease); }
  .vm-card::before { transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .vm-card .icon-chip { transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
  .vm-card:hover, .vm-card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
  .vm-card:hover::after, .vm-card:focus-within::after { transform: scaleX(1); }
  .vm-card:hover::before, .vm-card:focus-within::before { opacity: 1; transform: scale(1); }
  .vm-card:hover .icon-chip, .vm-card:focus-within .icon-chip { transform: scale(1.12) rotate(-6deg); background: var(--color-primary); color: #fff; }
  .vm-grid .vm-card:nth-child(2):hover .icon-chip, .vm-grid .vm-card:nth-child(2):focus-within .icon-chip { background: var(--color-amber); color: #fff; }
}

@media (min-width: 900px) {
  .vm-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
}

/* ==========================================================================
   5. GUIDING VALUES — auto-fit 4 cards
   ========================================================================== */
.values-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s2);
  padding: clamp(22px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
}

.value-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--text-strong);
}

.value-card__text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-body);
}

@media (prefers-reduced-motion: no-preference) {
  .value-card { transition: transform var(--ease), box-shadow var(--ease); }
  .value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
}

/* ==========================================================================
   6. LEADERSHIP — auto-fit 4 cards, circular photos
   ========================================================================== */
.team-grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

/* circular portrait — works for both <img> and the .img-slot placeholder */
.team-card__photo {
  width: clamp(120px, 30vw, 168px);
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-alt);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-2);
  margin-bottom: var(--s2);
}

/* the missing-photo placeholder: round off the square img-slot */
.team-card__photo--placeholder { border-radius: 50%; }

.team-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--text-strong);
}

.team-card__role {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-small);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-primary);
}

@media (prefers-reduced-motion: no-preference) {
  .team-card__photo { transition: transform var(--ease), box-shadow var(--ease); }
  .team-card:hover .team-card__photo { transform: translateY(-4px); box-shadow: var(--shadow-2); }
}

/* ==========================================================================
   7. PARTNERS — responsive logo grid, greyscale -> colour on hover/focus
   ========================================================================== */
/* Continuous logo marquee. JS clones the track + adds .is-animating; without
   JS or with reduced-motion it falls back to a centred static row. */
.partners__marquee {
  position: relative;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partners__track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
}
.partners__marquee:not(.is-animating) .partners__track {
  flex-wrap: wrap;
  width: auto;
  justify-content: center;
}

.partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(150px, 22vw, 200px);
  min-height: 92px;
  padding: 18px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.partner img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes partners-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: no-preference) {
  .partners__marquee.is-animating .partners__track {
    animation: partners-scroll 38s linear infinite;
  }
  .partners__marquee.is-animating:hover .partners__track,
  .partners__marquee.is-animating:focus-within .partners__track { animation-play-state: paused; }
  .partner { transition: border-color var(--ease), box-shadow var(--ease); }
  .partner img { transition: filter var(--ease), opacity var(--ease); }
  .partner:hover { border-color: var(--border-soft); box-shadow: var(--shadow-1); }
}

/* ==========================================================================
   7b. OUR REACH — two SMALL dot-globes + centre comparison chart (NFHS-5)
   --------------------------------------------------------------------------
   Sits on a calm light surface (--surface-alt). Mobile-first: the comparison
   reads first/full-width, the two small globes ride above it side-by-side.
   Desktop (>=900): a 3-column grid [small globe | comparison | small globe]
   with the globes kept deliberately SMALL so the data leads, not the planets.
   Globes are drawn brand-green (dark dots on light) + amber home marker by
   coodu-reach.js; comparison rows + connecting lines are built + animated by
   the same script (IntersectionObserver, once; reduced-motion -> instant).
   ========================================================================== */
.reach {
  background: transparent;   /* let the page's leaf background show through (no band) */
}

/* ---- viz shell: mobile stacks (globes row, then comparison) ---- */
.reach__viz {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 40px);
  align-items: center;
  margin-inline: auto;
  max-width: 1180px;
}

/* the two globes share one row above the comparison on small screens */
.reach__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* India maps — square container; coodu-reach.js injects the SVG + tooltip. */
.reach__globe {
  position: relative;
  display: block;
  width: clamp(240px, 78vw, 340px);   /* stacked + large on phones/tablets */
  aspect-ratio: 1 / 1;
  -webkit-tap-highlight-color: transparent;
}
.reach__globe .globe-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;              /* the region glow can spill past the edge */
  filter: drop-shadow(0 6px 16px rgba(17, 55, 27, 0.10));
}
.reach__globe .globe-svg.is-error { opacity: 0.45; }   /* map data unavailable -> muted placeholder */

/* hover-to-highlight any state (JS recolours; ease only when motion is allowed) */
.reach__globe .reach-state { cursor: pointer; }
.reach__globe .globe-svg.is-live .reach-state {
  transition: fill .25s ease, stroke .25s ease, stroke-width .25s ease;
}

/* floating state-name tooltip shown on hover */
.reach__maptip {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 3px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(17, 55, 27, 0.10);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.reach__maptip.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reach__maptip { transition: none; }
}

.reach__side-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-strong);
}
.reach__side--a .reach__side-name { color: var(--color-amber-text); } /* Dindigul = amber */
.reach__side--b .reach__side-name { color: var(--color-primary); }    /* Tamil Nadu = green */

/* phones/tablets: STACK the two large maps, then the comparison below */
.reach__side--a { grid-row: 1; justify-self: center; }
.reach__side--b { grid-row: 2; justify-self: center; }
.reach__compare { grid-row: 3; }

/* ---- comparison chart (built by JS into [data-reach-compare]) ---- */
.reach__compare {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

/* a tiny header row that labels which side is which (JS may add it; static ok) */
.reach__compare-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* one indicator = a row */
.comparison-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 12px;
  padding: 10px 12px;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
}

.comparison-row__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  letter-spacing: .01em;
  color: var(--text-body);
  line-height: 1.2;
}

/* values flanking the track: Dindigul (amber) left, Tamil Nadu (green) right */
.comparison-row__values {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.comparison-row__val--a { color: var(--color-amber-text); }
.comparison-row__val--b { color: var(--color-primary); }

/* the 0–100% track holding two dots + the connecting segment */
.comparison-row__track {
  position: relative;
  height: 14px;
  margin: 2px 0;
}
.track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: var(--border);
  border-radius: var(--radius-pill);
}

/* connecting segment between the two dots — colour shows who leads.
   JS sets left/width via inline style + adds --a-lead / --b-lead modifier. */
.line {
  position: absolute;
  top: 50%;
  height: 3px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
}
.line--a-lead { background: var(--color-amber); }     /* Dindigul ahead */
.line--b-lead { background: var(--color-primary); }   /* Tamil Nadu ahead */

/* the two value dots on the track */
.dot {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--surface);
  z-index: 2;
}
.dot--a { border: 3px solid var(--color-amber); }
.dot--b { border: 3px solid var(--color-primary); }

/* gap chip revealed on hover/focus (exact two values + the difference) */
.comparison-row__gap {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  color: var(--text-muted);
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* hover / focus / keyboard emphasis on a row */
.comparison-row:hover,
.comparison-row:focus-visible,
.comparison-row.is-active {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-1);
  outline: none;
}
.comparison-row:hover .comparison-row__gap,
.comparison-row:focus-visible .comparison-row__gap,
.comparison-row.is-active .comparison-row__gap {
  opacity: 1;
  height: auto;
  margin-top: 2px;
}

/* ---- entrance animation hooks (JS adds .is-in once in view) ---- */
@media (prefers-reduced-motion: no-preference) {
  .coodu-js .comparison-row { opacity: 0; transform: translateY(10px); }
  .coodu-js .comparison-row.is-in { opacity: 1; transform: none; }
  .comparison-row {
    transition: opacity .5s var(--mo-ease), transform .5s var(--mo-ease),
                background var(--ease), border-color var(--ease), box-shadow var(--ease);
  }
  .comparison-row.is-in .dot { transition: transform .45s var(--mo-ease); }
  .comparison-row.is-in .dot { transform: translateY(-50%) scale(1); }
  .comparison-row.is-in .line { transition: transform .55s var(--mo-ease) .1s, background var(--ease); }
  .comparison-row.is-in .line { transform: translateY(-50%) scaleX(1); }
  .comparison-row__gap { transition: opacity var(--ease); }
}

/* reduced motion / no-JS: everything visible + at full size instantly */
@media (prefers-reduced-motion: reduce) {
  .coodu-js .comparison-row { opacity: 1; transform: none; }
  .dot  { transform: translateY(-50%) scale(1); }
  .line { transform: translateY(-50%) scaleX(1); }
}
/* no-JS fallback: if the script never runs, the rows stay visible */
.no-js .comparison-row,
:root:not(.coodu-js) .comparison-row { opacity: 1; transform: none; }
.no-js .dot,  :root:not(.coodu-js) .dot  { transform: translateY(-50%) scale(1); }
.no-js .line, :root:not(.coodu-js) .line { transform: translateY(-50%) scaleX(1); }

.reach__source {
  margin: clamp(20px, 3vw, 30px) auto 0;
  max-width: 1040px;
  font-size: var(--fs-micro);
  letter-spacing: .01em;
  color: var(--text-muted);
  text-align: center;
}

/* ---- tablet/desktop: 3-column [small globe | comparison | small globe] ---- */
@media (min-width: 900px) {
  .reach__viz {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
  }
  .reach__side--a,
  .reach__side--b { grid-row: auto; justify-self: center; }
  .reach__compare { grid-row: auto; }

  .reach__globe { width: clamp(236px, 25vw, 332px); }

  .comparison-row {
    grid-template-columns: minmax(150px, 1fr) minmax(140px, 240px);
    align-items: center;
    gap: 4px 18px;
  }
  /* label spans the left column; values + track live in the right column */
  .comparison-row__label { grid-column: 1; grid-row: 1; }
  .comparison-row__gap   { grid-column: 1; grid-row: 2; }
  .comparison-row__values{ grid-column: 2; grid-row: 1; }
  .comparison-row__track { grid-column: 2; grid-row: 2; }
}

/* large desktop: bigger India maps in a slightly wider band (chart stays comfortable) */
@media (min-width: 1200px) {
  .reach > .container { max-width: 1320px; }
  .reach__viz { max-width: 1320px; }
  .reach__globe { width: clamp(340px, 28vw, 410px); }
}

/* ==========================================================================
   8. GET INVOLVED — green CTA band
   ========================================================================== */
.about-cta {
  background: var(--grad-cta);
  color: var(--surface);
  text-align: center;
}

.about-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  max-width: 640px;
}

/* amber eyebrow on the dark green band */
.about-cta .eyebrow {
  color: var(--color-amber-light);
  justify-content: center;
}
.about-cta .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.about-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.12;
  color: var(--surface);
}

.about-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}
.about-cta__actions .btn { width: 100%; justify-content: center; }

/* outline button needs to read on the dark band: white border + white text */
.about-cta .btn--outline {
  background: transparent;
  color: var(--surface);
  border-color: var(--border-on-dark);
}
.about-cta .btn--outline:hover {
  background: var(--surface);
  color: var(--color-primary-dark);
  border-color: var(--surface);
}

.about-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-amber-light);
  text-decoration: none;
}
.about-cta__link svg,
.about-cta__link [data-lucide] { width: 15px; height: 15px; }
.about-cta__link:hover { color: var(--surface); }

@media (prefers-reduced-motion: no-preference) {
  .about-cta__link svg { transition: transform var(--ease); }
  .about-cta__link:hover svg { transform: translateX(3px); }
}

@media (min-width: 600px) {
  .about-cta__actions { flex-direction: row; max-width: none; width: auto; }
  .about-cta__actions .btn { width: auto; }
}
