/* ==========================================================================
   We The Leader, Design System
   One language: Apple-inspired. Light only. SF/Inter type ramp, 4pt spacing,
   restrained civic palette (constitutional navy + parchment gold).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Neutrals */
  --c-ink: #0B0F19;
  --c-ink-2: #1D2333;
  --c-body: #4C5567;
  --c-muted: #79808F;
  --c-faint: #A2A8B4;

  /* Surfaces */
  --c-bg: #FFFFFF;
  --c-bg-2: #F7F8FA;
  --c-bg-3: #EFF2F6;
  --c-bg-4: #E7EBF1;

  /* Lines */
  --c-line: #E3E7ED;
  --c-line-soft: #EFF1F5;
  --c-line-hard: #D3D9E2;

  /* Brand */
  --c-navy: #0F2557;
  --c-navy-2: #17356F;
  --c-navy-3: #234A94;
  --c-navy-tint: #EEF2FB;

  --c-gold: #A9791F;
  --c-gold-2: #C99A3A;
  --c-gold-tint: #FBF4E5;

  --c-green: #1F7A54;
  --c-green-tint: #E9F5EF;
  --c-red: #B2372B;
  --c-red-tint: #FBEDEB;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Elevation, soft, Apple-flat */
  --sh-xs: 0 1px 2px rgba(11, 15, 25, .05);
  --sh-sm: 0 1px 3px rgba(11, 15, 25, .06), 0 1px 2px rgba(11, 15, 25, .04);
  --sh-md: 0 4px 16px rgba(11, 15, 25, .06), 0 1px 3px rgba(11, 15, 25, .04);
  --sh-lg: 0 12px 40px rgba(11, 15, 25, .09), 0 2px 8px rgba(11, 15, 25, .04);
  --sh-xl: 0 28px 70px rgba(11, 15, 25, .13), 0 4px 14px rgba(11, 15, 25, .05);

  /* Layout */
  --maxw: 1200px;
  --maxw-wide: 1360px;
  --maxw-prose: 720px;
  --gutter: 24px;
  --nav-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t: .32s;
  --t-slow: .6s;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ========================================================================== 
   Newsletters, monthly and thematic editorial archive
   ========================================================================== */
.newsletters-page main {
  background: #fff;
}

.newsletter-page-hero .lead {
  max-width: 760px;
}

.newsletter-launch-section {
  padding: 64px 0 104px;
  background: #fff;
}

.newsletter-launch-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 37, 61, .08);
}

.newsletter-launch-copy {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 86px);
}

.newsletter-launch-copy>span {
  color: #533afd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.newsletter-launch-copy h2 {
  max-width: 10ch;
  margin-top: 16px;
  color: #0d253d;
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 350;
  line-height: .9;
  letter-spacing: -.065em;
}

.newsletter-launch-copy>p {
  max-width: 650px;
  margin-top: 25px;
  color: #64748d;
  font-size: 16px;
  line-height: 1.7;
}

.newsletter-launch-form {
  max-width: 650px;
  margin-top: 34px;
}

.newsletter-launch-form>label {
  display: block;
  margin-bottom: 9px;
  color: #0d253d;
  font-size: 12px;
  font-weight: 700;
}

.newsletter-launch-form>div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-launch-form input {
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border: 1px solid #ccd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0d253d;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.newsletter-launch-form input:focus {
  border-color: #533afd;
  box-shadow: 0 0 0 4px rgba(83, 58, 253, .1);
}

.newsletter-launch-form button {
  min-width: 150px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: #533afd;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.newsletter-launch-form button:hover {
  background: #3f2ec5;
}

.newsletter-launch-form button:disabled {
  cursor: wait;
  opacity: .82;
}

.newsletter-launch-form small {
  display: block;
  margin-top: 12px;
  color: #8a97aa;
  font-size: 11px;
  line-height: 1.5;
}

.newsletter-launch-preview {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 68px);
  overflow: hidden;
  background: linear-gradient(145deg, #112a48 0%, #173b55 62%, #1f6b55 125%);
  color: #fff;
}

.newsletter-launch-preview::before {
  content: "";
  position: absolute;
  right: -150px;
  top: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .025), 0 0 0 96px rgba(255, 255, 255, .018);
}

.newsletter-launch-status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a9ddc6;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.newsletter-launch-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d596;
  box-shadow: 0 0 0 5px rgba(85, 213, 150, .12);
}

.newsletter-launch-preview h3 {
  position: relative;
  max-width: 11ch;
  margin-top: 22px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 380;
  line-height: .94;
  letter-spacing: -.05em;
}

.newsletter-launch-preview ul {
  position: relative;
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.newsletter-launch-preview li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.newsletter-launch-preview li>b {
  color: #78d8ad;
  font-size: 11px;
  letter-spacing: .08em;
}

.newsletter-launch-preview li span {
  color: rgba(255, 255, 255, .63);
  font-size: 12px;
  line-height: 1.55;
}

.newsletter-launch-preview li strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.newsletter-latest-section {
  padding: 70px 0 34px;
}

.newsletter-feature {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 37, 61, .08);
}

.newsletter-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 74px);
}

.newsletter-feature-copy>small,
.newsletter-card>div>small {
  color: #1f7a54;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.newsletter-feature-copy h2 {
  max-width: 14ch;
  margin-top: 13px;
  color: #0d253d;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 350;
  line-height: .92;
  letter-spacing: -.06em;
}

.newsletter-feature-copy p {
  max-width: 620px;
  margin-top: 22px;
  color: #64748d;
  font-size: 16px;
  line-height: 1.65;
}

.newsletter-feature-copy .btn {
  align-self: flex-start;
  margin-top: 28px;
}

.newsletter-feature-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #eeecff, #f3ead8);
}

.newsletter-feature-art::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(83, 58, 253, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(83, 58, 253, .04), 0 0 0 88px rgba(31, 122, 84, .035);
}

.newsletter-cover {
  position: relative;
  z-index: 2;
  width: 250px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 20px;
  background: #153753;
  color: #fff;
  box-shadow: 0 30px 60px rgba(13, 37, 61, .22);
  transform: rotate(3deg);
}

.newsletter-cover::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -42px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #55d596;
  opacity: .9;
}

.newsletter-cover small,
.newsletter-cover b,
.newsletter-cover i,
.newsletter-cover strong,
.newsletter-cover em {
  position: relative;
  z-index: 1;
}

.newsletter-cover small {
  color: #b9b9f9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.newsletter-cover b {
  margin-top: 38px;
  color: #e3b447;
  font-size: 14px;
  text-transform: uppercase;
}

.newsletter-cover i {
  width: 44px;
  height: 3px;
  margin: 16px 0;
  background: #fff;
}

.newsletter-cover strong {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.newsletter-cover em {
  margin-top: auto;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.newsletter-cover-drug-free {
  background: #5b1721;
}

.newsletter-cover-leadership {
  background: #273b6b;
}

.newsletter-cover-movement {
  background: #194b3b;
}

.newsletter-orbit {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: #64748d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.newsletter-archive-section {
  padding: 58px 0 100px;
}

.newsletter-archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.newsletter-archive-head h2 {
  color: #0d253d;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 370;
  letter-spacing: -.05em;
}

.newsletter-archive-head p {
  color: #98a4b6;
  font-size: 13px;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.newsletter-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 18px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.newsletter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 37, 61, .08);
}

.newsletter-cover.is-compact {
  width: 100%;
  min-height: 250px;
  padding: 18px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.newsletter-cover.is-compact b {
  margin-top: 26px;
}

.newsletter-cover.is-compact strong {
  font-size: 18px;
}

.newsletter-cover.is-compact::after {
  right: -80px;
  bottom: -70px;
}

.newsletter-card>div {
  display: flex;
  flex-direction: column;
  padding: 25px 24px;
}

.newsletter-card h3 {
  margin-top: 8px;
  color: #0d253d;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.newsletter-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 12px;
  color: #64748d;
  font-size: 13px;
  line-height: 1.55;
}

.newsletter-card button {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: #533afd;
  font-size: 13px;
  font-weight: 650;
}

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

.newsletter-modal {
  position: fixed;
  z-index: 1500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 24, 42, .64);
  backdrop-filter: blur(8px);
}

.newsletter-modal-card {
  position: relative;
  width: min(650px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(34px, 6vw, 62px);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(8, 24, 42, .32);
}

.newsletter-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid #dfe5ec;
  border-radius: 50%;
  color: #64748d;
}

.newsletter-modal-card>small {
  color: #1f7a54;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.newsletter-modal-card h2 {
  margin-top: 13px;
  color: #0d253d;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 370;
  line-height: .96;
  letter-spacing: -.05em;
}

.newsletter-modal-card>p {
  margin-top: 20px;
  color: #64748d;
  font-size: 15px;
  line-height: 1.65;
}

.newsletter-modal-card>div {
  margin: 28px 0;
  padding: 24px;
  border-radius: 14px;
  background: #f6f8fa;
}

.newsletter-modal-card>div>span {
  color: #0d253d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.newsletter-modal-card ul {
  display: grid;
  gap: 11px;
  margin-top: 16px;
  padding-left: 20px;
  color: #53637a;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width:850px) {
  .newsletter-launch-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-launch-copy {
    min-height: 0;
  }

  .newsletter-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-feature-art {
    min-height: 380px;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:560px) {
  .newsletter-launch-section {
    padding: 44px 0 72px;
  }

  .newsletter-launch-card {
    border-radius: 20px;
  }

  .newsletter-launch-copy,
  .newsletter-launch-preview {
    padding: 36px 24px;
  }

  .newsletter-launch-copy h2 {
    font-size: 3.5rem;
  }

  .newsletter-launch-form>div {
    grid-template-columns: 1fr;
  }

  .newsletter-launch-form button {
    width: 100%;
  }

  .newsletter-latest-section {
    padding-top: 48px;
  }

  .newsletter-feature-copy {
    padding: 32px 24px;
  }

  .newsletter-feature-copy h2 {
    font-size: 2.8rem;
  }

  .newsletter-feature-art {
    min-height: 330px;
  }

  .newsletter-cover {
    width: 210px;
    min-height: 270px;
  }

  .newsletter-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .newsletter-cover.is-compact {
    min-height: 230px;
    padding: 13px;
  }

  .newsletter-cover.is-compact strong {
    font-size: 14px;
  }

  .newsletter-cover.is-compact small {
    font-size: 7px;
  }

  .newsletter-card>div {
    padding: 20px 18px;
  }

  .newsletter-card p {
    -webkit-line-clamp: 2;
  }
}

/* ========================================================================== 
   2026 concise public-site reframe, Stripi-inspired civic expression
   ========================================================================== */
:root {
  --c-ink: #0d253d;
  --c-ink-2: #273951;
  --c-body: #61718a;
  --c-muted: #64748d;
  --c-bg-2: #f6f9fc;
  --c-line: #e3e8ee;
  --c-line-hard: #d7dee7;
  --c-navy: #533afd;
  --c-navy-2: #4434d4;
  --c-navy-3: #533afd;
  --c-navy-tint: #eeecff;
  --c-gold: #9b6829;
  --maxw: 1180px;
  --nav-h: 72px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Shared editorial heading system */
  --type-page-size: clamp(3rem, 6.4vw, 5.75rem);
  --type-section-size: clamp(2.25rem, 4.2vw, 3.5rem);
  --type-page-weight: 350;
  --type-section-weight: 350;
  --type-page-leading: .92;
  --type-section-leading: .98;
  --type-page-tracking: -.058em;
  --type-section-tracking: -.046em;
}

body {
  font-weight: 350;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 350;
}

.btn {
  font-weight: 450;
}

.btn-primary {
  background: #533afd;
}

.btn-primary:hover {
  background: #4434d4;
}

.theme-ribbon {
  display: none;
}

.site-header {
  top: 0;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(227, 232, 238, .7);
}

.nav-main {
  gap: 2px;
}

.nav-link {
  font-size: 14px;
  color: var(--c-ink-secondary, #273951);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #533afd;
  background: #f2f0ff;
}

.brand-name {
  letter-spacing: -.035em;
}

.brand-name em {
  color: #533afd;
}

.site-footer {
  border-top: 0;
  background: #f6f9fc;
}

.home-reframe {
  background: #fff;
  color: #61718a;
}

.home-reframe .site-top {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.home-reframe h1,
.home-reframe h2,
.home-reframe h3,
.home-reframe strong {
  color: #0d253d;
}

.home-reframe .kicker {
  display: block;
  margin-bottom: 13px;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.home-reframe h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.home-reframe .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #533afd;
  font-size: 15px;
  font-weight: 450;
}

.home-reframe .text-link span {
  transition: transform .2s ease;
}

.home-reframe .text-link:hover span {
  transform: translate(2px, -2px);
}

.home-reframe.is-loading {
  overflow: hidden;
}

.month-loader {
  --loader-green: #75d29a;
  --loader-lime: #d7ee8c;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(38, 113, 85, .34), transparent 24%),
    radial-gradient(circle at 12% 8%, rgba(117, 210, 154, .1), transparent 28%),
    linear-gradient(145deg, #071c27 0%, #0b2c31 52%, #071922 100%);
  color: #f6f6ed;
  clip-path: circle(150% at 50% 48%);
  transition: clip-path .9s cubic-bezier(.76, 0, .24, 1), opacity .45s ease .36s, visibility 0s linear 1s;
}

.month-loader::before {
  content: "";
  position: absolute;
  inset: -30%;
  background-image: radial-gradient(rgba(255, 255, 255, .12) .7px, transparent .7px);
  background-size: 5px 5px;
  opacity: .13;
  transform: rotate(-9deg);
}

.month-loader::after {
  content: "08 / 12";
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  left: clamp(24px, 4vw, 54px);
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .2em;
}

.month-loader.is-done {
  opacity: 0;
  visibility: hidden;
  clip-path: circle(0 at 50% 48%);
}

.loader-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-atmosphere i {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(143, 219, 171, .12);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.72);
  opacity: 0;
}

.loader-atmosphere i:nth-child(1) {
  width: min(62vw, 760px);
  aspect-ratio: 1;
}

.loader-atmosphere i:nth-child(2) {
  width: min(84vw, 1040px);
  aspect-ratio: 1;
}

.loader-atmosphere i:nth-child(3) {
  width: min(108vw, 1320px);
  aspect-ratio: 1;
}

.month-loader.is-ready .loader-atmosphere i {
  animation: atmosphereIn 1.6s cubic-bezier(.16, 1, .3, 1) forwards;
}

.month-loader.is-ready .loader-atmosphere i:nth-child(2) {
  animation-delay: .1s;
}

.month-loader.is-ready .loader-atmosphere i:nth-child(3) {
  animation-delay: .2s;
}

.loader-sequence {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(520px, calc(100vw - 48px));
  text-align: center;
}

.earth-mark {
  position: relative;
  width: 132px;
  height: 132px;
  transform: translateY(10px) scale(.86);
  opacity: 0;
}

.month-loader.is-ready .earth-mark {
  animation: earthArrive .9s cubic-bezier(.16, 1, .3, 1) .08s forwards;
}

.earth-sphere {
  position: absolute;
  inset: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, #2e8876 0 8%, #176257 34%, #0e4643 67%, #092f36 100%);
  box-shadow: inset -18px -14px 26px rgba(0, 12, 22, .3), 0 22px 55px rgba(0, 0, 0, .32), 0 0 44px rgba(117, 210, 154, .12);
}

.earth-sphere::before,
.earth-sphere::after,
.earth-sphere i {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(145deg, var(--loader-lime), #68be83);
  filter: saturate(.88);
}

.earth-sphere::before {
  width: 42px;
  height: 26px;
  top: 22px;
  left: 14px;
  border-radius: 70% 34% 64% 38%;
  transform: rotate(18deg);
}

.earth-sphere::after {
  width: 29px;
  height: 43px;
  right: 18px;
  bottom: 12px;
  border-radius: 42% 64% 46% 70%;
  transform: rotate(-20deg);
}

.earth-sphere i {
  width: 18px;
  height: 12px;
  left: 35px;
  bottom: 19px;
  border-radius: 68% 32% 61% 39%;
  transform: rotate(-14deg);
}

.earth-sphere b {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(115deg, rgba(255, 255, 255, .25), transparent 28% 68%, rgba(0, 0, 0, .18));
}

.earth-orbit {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(215, 238, 140, .3);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.earth-orbit::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-top: 1px solid rgba(117, 210, 154, .18);
  border-right: 1px solid transparent;
  border-bottom: 1px solid rgba(117, 210, 154, .08);
  border-left: 1px solid transparent;
  border-radius: 50%;
}

.earth-orbit i {
  position: absolute;
  top: 7px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--loader-lime);
  box-shadow: 0 0 16px rgba(215, 238, 140, .85);
}

.month-loader.is-ready .earth-orbit {
  animation: earthOrbit 3.8s linear infinite;
}

.earth-sprout {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 63px;
  width: 4px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(#d7ee8c, #75d29a);
  transform-origin: bottom;
  transform: rotate(4deg) scaleY(0);
}

.earth-sprout i,
.earth-sprout b {
  position: absolute;
  width: 20px;
  height: 12px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #d7ee8c, #67c58e);
  opacity: 0;
}

.earth-sprout i {
  top: 3px;
  right: 1px;
  transform: rotate(-22deg) translateX(8px);
}

.earth-sprout b {
  top: 10px;
  left: 1px;
  transform: scaleX(-1) rotate(-22deg) translateX(8px);
}

.month-loader.is-ready .earth-sprout {
  animation: sproutStem .55s cubic-bezier(.16, 1, .3, 1) .58s forwards;
}

.month-loader.is-ready .earth-sprout i {
  animation: sproutLeaf .48s cubic-bezier(.16, 1, .3, 1) .86s forwards;
}

.month-loader.is-ready .earth-sprout b {
  animation: sproutLeafFlip .48s cubic-bezier(.16, 1, .3, 1) .9s forwards;
}

.earth-pulse {
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(215, 238, 140, .52);
  border-radius: 50%;
  opacity: 0;
}

.month-loader.is-ready .earth-pulse {
  animation: earthPulse 1.2s cubic-bezier(.16, 1, .3, 1) .72s forwards;
}

.loader-copy {
  margin-top: 28px;
}

.loader-overline,
.loader-copy strong,
.loader-copy p,
.loader-progress {
  opacity: 0;
  transform: translateY(12px);
}

.loader-overline {
  display: block;
  color: var(--loader-green);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.loader-copy strong {
  display: block;
  margin-top: 10px;
  color: #f7f7ed !important;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  font-weight: 300 !important;
  line-height: .94;
  letter-spacing: -.055em;
}

.loader-copy p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .54);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.loader-copy p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--loader-lime);
  box-shadow: 0 0 10px rgba(215, 238, 140, .7);
}

.month-loader.is-ready .loader-overline {
  animation: loaderTextIn .65s cubic-bezier(.16, 1, .3, 1) .38s forwards;
}

.month-loader.is-ready .loader-copy strong {
  animation: loaderTextIn .8s cubic-bezier(.16, 1, .3, 1) .48s forwards;
}

.month-loader.is-ready .loader-copy p {
  animation: loaderTextIn .65s cubic-bezier(.16, 1, .3, 1) .62s forwards;
}

.loader-progress {
  position: relative;
  width: 132px;
  height: 1px;
  margin-top: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .13);
}

.loader-progress i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--loader-green), var(--loader-lime));
  transform: translateX(-101%);
}

.month-loader.is-ready .loader-progress {
  animation: loaderTextIn .4s ease .64s forwards;
}

.month-loader.is-ready .loader-progress i {
  animation: loaderProgress 1.35s cubic-bezier(.65, 0, .35, 1) .68s forwards;
}

.loader-skip {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(22px, 4vw, 42px);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  color: rgba(255, 255, 255, .46);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transition: color .2s ease;
}

.loader-skip span {
  color: var(--loader-lime);
  transition: transform .2s ease;
}

.loader-skip:hover,
.loader-skip:focus-visible {
  color: #fff;
}

.loader-skip:hover span,
.loader-skip:focus-visible span {
  transform: translate(2px, -2px);
}

.month-loader.is-ready .loader-skip {
  animation: loaderTextIn .55s ease .8s forwards;
}

@keyframes atmosphereIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes earthArrive {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes earthOrbit {
  to {
    transform: rotate(336deg);
  }
}

@keyframes sproutStem {
  to {
    transform: rotate(4deg) scaleY(1);
  }
}

@keyframes sproutLeaf {
  to {
    opacity: 1;
    transform: rotate(-22deg) translateX(0);
  }
}

@keyframes sproutLeafFlip {
  to {
    opacity: 1;
    transform: scaleX(-1) rotate(-22deg) translateX(0);
  }
}

@keyframes earthPulse {
  0% {
    opacity: .72;
    transform: scale(.72);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes loaderTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderProgress {
  to {
    transform: translateX(0);
  }
}

.new-hero {
  position: relative;
  padding: var(--nav-h) 0 0;
  overflow: hidden;
  background: #fff;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, .8);
}

.update-banner {
  position: absolute;
  z-index: 6;
  top: calc(var(--nav-h) + 20px);
  right: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 0;
}

.update-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(28, 30, 84, .14);
}

.update-track::-webkit-scrollbar {
  display: none;
}

.update-slide {
  min-width: 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, .91);
  color: #61718a;
  backdrop-filter: blur(18px);
}

.update-slide:hover strong {
  color: #533afd;
}

.update-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.update-slide strong {
  overflow: hidden;
  color: #0d253d !important;
  font-size: 15px;
  font-weight: 450 !important;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s ease;
}

.update-meta {
  font-size: 14px;
  white-space: nowrap;
}

.update-meta b {
  color: #533afd;
}

.update-event {
  background: #0d253d;
}

.update-event .update-tag {
  background: #533afd;
  color: #fff;
}

.update-event strong {
  color: #fff !important;
}

.update-event .update-meta {
  color: rgba(255, 255, 255, .62);
}

.update-service {
  background: #0d253d;
}

.update-service .update-tag {
  background: #fff0df;
  color: #b85b1e;
}

.update-service strong,
.update-service:hover strong {
  color: #fff !important;
}

.update-service .update-meta {
  color: rgba(255, 255, 255, .72);
}

.update-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  color: #61718a;
  font-size: 14px;
  backdrop-filter: blur(18px);
}

.update-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #0d253d;
  transition: background .2s ease;
}

.update-controls button:hover {
  background: #eeecff;
}

.update-controls span {
  min-width: 30px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.update-controls span b {
  color: #0d253d;
  font-weight: 500;
}

.mesh {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: blur(2px);
}

.home-hero-carousel {
  position: relative;
}

.home-hero-slides {
  position: relative;
  display: grid;
}

.home-hero-slide {
  position: relative;
  grid-area: 1 / 1;
  min-height: clamp(520px, 44vw, 680px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}

.home-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-rally-slide {
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: #e8f7fb;
}

.home-rally-slide::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -20px;
  background: url('../img/events/chennai-environment-rally-backdrop.png') center/cover no-repeat;
  filter: blur(8px) saturate(.96);
  transform: scale(1.035);
}

.home-rally-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 247, 251, .12), transparent 17%, transparent 83%, rgba(232, 247, 251, .12));
  pointer-events: none;
}

.home-rally-slide>picture {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
}

.home-rally-slide>picture>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  transition: transform .8s var(--ease);
}

.home-rally-slide:hover>picture>img {
  transform: scale(1.008);
}

/* Kamarajar Award ceremony poster slide -- reuses the rally slide's
   "contained poster over a blurred copy of itself" layout, with the
   backdrop swapped to this poster and a matching warm off-white base. */
.home-kamarajar-slide {
  background: #faf6f2;
}

.home-kamarajar-slide::before {
  background-image: url('../img/events/Kamarajar%20Award-1920x1080.png');
}

.home-current-slide .new-hero-grid {
  min-height: clamp(520px, 44vw, 680px);
  padding-top: 116px;
  padding-bottom: 72px;
}

/* Replaces the old hero-bg-video + white scrim: a soft on-brand gradient
   backdrop, light enough that the slide's existing dark-ink copy stays
   readable with no overlay needed. */
.home-current-slide-gradient {
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 55%, #ece9ff 100%);
}

.home-past-slide {
  display: block;
  overflow: hidden;
  background: #faf9ff;
}

.home-past-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 40%, rgba(255, 255, 255, .16) 72%, rgba(13, 37, 61, .18) 100%);
  pointer-events: none;
}

.home-past-slide>picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.home-past-slide>picture>img {
  width: 114%;
  height: 114%;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
  animation: pastSlidePan 42s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes pastSlidePan {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-9%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-past-slide>picture>img {
    animation: none;
  }
}

.home-past-grid {
  position: relative;
  z-index: 2;
  min-height: clamp(520px, 44vw, 680px);
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding-top: 116px;
  padding-bottom: 72px;
}

.home-past-copy {
  max-width: 590px;
}

.home-past-tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e9f5ef;
  color: #16734d;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-past-copy h2 {
  margin-top: 18px;
  color: #0d253d;
  font-size: clamp(1.6rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.065em;
}

.home-past-copy p {
  max-width: 560px;
  margin-top: 34px;
  color: #4f6077;
  font-size: 16px;
  line-height: 1.55;
}

.home-past-copy .btn {
  margin-top: 34px;
  box-shadow: 0 14px 32px rgba(83, 58, 253, .2);
}

.home-past-copy .btn span {
  margin-left: 8px;
}

.home-past-video {
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(28, 30, 84, .22);
  transform: rotate(1.5deg);
}

.home-past-video>button {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0d253d;
  cursor: pointer;
}

.home-past-video>button>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-past-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 37, 61, .02), rgba(13, 37, 61, .55));
}

.home-past-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(13, 37, 61, .3);
  transform: translate(-50%, -50%);
}

.home-past-video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #533afd;
  transform: translate(-50%, -50%);
}

.home-past-video>div {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.home-past-video>div span {
  color: #16734d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-past-video>div strong {
  margin-top: 3px;
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.home-past-video>div a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 5px;
  color: #533afd;
  font-size: 13px;
  font-weight: 550;
}

.home-award-slide {
  display: block;
  overflow: hidden;
  background: #faf9ff;
}

.home-award-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 40%, rgba(255, 255, 255, .16) 72%, rgba(13, 37, 61, .18) 100%);
  pointer-events: none;
}

.home-award-slide>picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.home-award-slide>picture>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-controls {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 20px;
  left: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.home-hero-controls>button,
.home-hero-dots {
  pointer-events: auto;
  border: 1px solid rgba(13, 37, 61, .12);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(13, 37, 61, .1);
  backdrop-filter: blur(14px);
}

.home-hero-controls>button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #0d253d;
  font-size: 16px;
  transition: color .2s ease, border-color .2s ease;
  font-family: -apple-system, "system-ui", "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif
}

.home-hero-controls>button:hover {
  color: #533afd;
  border-color: rgba(83, 58, 253, .38);
}

.home-hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
}

.home-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: #b8c2d0;
  transition: width .25s ease, background .25s ease;
}

.home-hero-dots button[aria-pressed="true"] {
  width: 22px;
  border-radius: 999px;
  background: #533afd;
}

.new-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.02fr .78fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
}

.new-hero-grid.is-copy-only {
  grid-template-columns: 1fr;
}

.new-hero-grid.is-copy-only .hero-copy {
  max-width: 760px;
}

.hero-copy {
  padding-top: 16px;
}

.month-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 1px 0 rgba(13, 37, 61, .1);
  color: #4434d4;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 5px rgba(34, 160, 107, .12);
  animation: dotPulse 1.8s ease infinite;
}

@keyframes dotPulse {
  50% {
    box-shadow: 0 0 0 9px rgba(34, 160, 107, 0);
  }
}

.hero-copy h1 {
  margin-top: 30px;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  font-weight: 300;
  line-height: .91;
  letter-spacing: -.068em;
}

.hero-copy h1 em {
  color: #533afd;
  font-style: normal;
}

.hero-copy>p {
  margin-top: 30px;
  max-width: 570px;
  color: #273951;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.5;
}

.registration-count {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-top: 26px;
}

.registration-count strong {
  color: #0d253d;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  font-weight: 400 !important;
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}

.registration-count>span {
  color: #273951;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  color: #61718a;
  font-size: 14px;
}

.proof-line span {
  position: relative;
}

.proof-line span+span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 3px;
  width: 1px;
  height: 12px;
  background: rgba(13, 37, 61, .18);
}

.proof-line strong {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.anna-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 610px;
  border-radius: 18px;
  overflow: hidden;
  background: #1c1e54;
  box-shadow: 0 38px 80px rgba(28, 30, 84, .24), 0 0 0 1px rgba(255, 255, 255, .3);
}

.anna-video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.anna-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anna-stage-video-only {
  background: #000;
  box-shadow: 0 24px 54px rgba(13, 37, 61, .22), 0 0 0 1px rgba(13, 37, 61, .08);
}

.anna-stage-video-only .anna-video-poster {
  transition: transform .35s ease, filter .35s ease;
}

.anna-stage-video-only .anna-video-placeholder:hover .anna-video-poster {
  transform: scale(1.015);
  filter: brightness(.88);
}

.anna-stage-video-only .video-play-btn {
  width: 68px;
  height: 48px;
  border-radius: 13px;
  background: #ff0033;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34);
  transition: transform .2s ease, background .2s ease;
}

.anna-stage-video-only .anna-video-placeholder:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: #e6002e;
}

.anna-stage-video-only .video-play-btn svg {
  width: 25px;
  height: 25px;
}

.video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 37, 61, .12) 30%, rgba(13, 37, 61, .88));
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #0d253d;
  box-shadow: 0 14px 34px rgba(13, 37, 61, .32);
  transform: translate(-50%, -50%);
}

.video-play-btn svg {
  margin-left: 3px;
}

.video-topline {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
}

.live-chip {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(13, 37, 61, .64);
  color: #fff;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.video-caption {
  position: absolute;
  inset: auto 28px 26px;
  color: #fff;
}

.video-kicker {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.video-caption strong {
  display: block;
  max-width: 13ch;
  color: #fff !important;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.video-caption a {
  display: inline-block;
  margin-top: 22px;
  color: #fff;
  font-size: 14px;
}

.action-band,
.events-preview,
.about-social {
  padding: clamp(80px, 10vw, 130px) 0;
}

.action-band {
  background: #f6f9fc;
}

.section-intro {
  max-width: 760px;
}

.section-intro p {
  margin-top: 20px;
  max-width: 650px;
  font-size: 17px;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.7fr .75fr;
  gap: 18px;
  margin-top: 52px;
}

.campaign-main {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: .85fr 1fr;
  align-items: end;
  padding: 32px;
  border-radius: 16px;
  overflow: hidden;
  color: rgba(255, 255, 255, .72);
  background: #1c1e54;
}

.campaign-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 110%, rgba(249, 107, 238, .62), transparent 38%), radial-gradient(circle at 100% 0, rgba(102, 94, 253, .9), transparent 46%);
}

.campaign-main>* {
  position: relative;
}

.campaign-label {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.campaign-main h3 {
  color: #fff !important;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.campaign-main p {
  margin-top: 14px;
  max-width: 390px;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.inline-actions a:not(.btn) {
  color: #fff;
  font-size: 14px;
}

.btn-secondary {
  background: #fff;
  color: #533afd;
}

.leaf-orbit {
  width: 178px;
  height: 178px;
  position: relative;
  place-self: center;
  animation: leafFloat 5s ease-in-out infinite;
}

.leaf-orbit i {
  position: absolute;
  left: 70px;
  top: 15px;
  width: 40px;
  height: 68px;
  border-radius: 100% 10% 100% 10%;
  background: linear-gradient(180deg, #f5e9d4, #f96bee);
  transform-origin: 20px 75px;
  opacity: .9;
}

.leaf-orbit i:nth-child(2) {
  transform: rotate(90deg);
}

.leaf-orbit i:nth-child(3) {
  transform: rotate(180deg);
}

.leaf-orbit i:nth-child(4) {
  transform: rotate(270deg);
}

.leaf-orbit b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 27px;
  font-weight: 300;
}

@keyframes leafFloat {
  50% {
    transform: translateY(-9px) rotate(3deg);
  }
}

.campaign-archive {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 16px;
  background: #f5e9d4;
  color: #61718a;
  transition: transform .25s ease, box-shadow .25s ease;
}

.campaign-archive:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(13, 37, 61, .08);
}

.archive-month {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.archive-title {
  margin-top: auto;
  color: #0d253d;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.archive-note {
  margin-top: 10px;
  font-size: 14px;
}

.archive-arrow {
  margin-top: 28px;
  color: #533afd;
  font-size: 14px;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.event-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 46px;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 154px;
  padding: 24px;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: #b9b9f9;
  box-shadow: 0 14px 32px rgba(0, 55, 112, .08);
}

.event-feature {
  background: #0d253d;
  border-color: #0d253d;
}

.date-tile {
  width: 62px;
  height: 70px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 9px;
  background: #f6f9fc;
  color: #0d253d;
}

.date-tile b {
  font-size: 25px;
  font-weight: 350;
  line-height: 1;
}

.date-tile small {
  margin-top: 5px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.event-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-copy small {
  color: #533afd;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.event-copy strong {
  font-size: 20px;
  font-weight: 350;
}

.event-copy>span {
  font-size: 14px;
}

.event-feature .event-copy strong {
  color: #fff !important;
}

.event-feature .event-copy small {
  color: #b9b9f9;
}

.event-feature .event-copy>span,
.event-feature .event-go {
  color: rgba(255, 255, 255, .58);
}

.event-go {
  color: #533afd;
}

.report-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 15px 20px;
  border-radius: 9px;
  background: #f6f9fc;
  font-size: 14px;
}

.report-bar a {
  color: #533afd;
  white-space: nowrap;
}

.impact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0;
  background: #f5e9d4;
}

.mesh-b {
  inset: 0;
  background: radial-gradient(circle at 10% 40%, rgba(249, 107, 238, .35), transparent 32%), radial-gradient(circle at 92% 20%, rgba(83, 58, 253, .55), transparent 34%);
}

.impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 9vw, 110px);
  align-items: center;
}

.impact-copy p {
  max-width: 540px;
  margin-top: 22px;
  font-size: 17px;
  color: #273951;
}

.impact-copy .text-link {
  margin-top: 18px;
}

.impact-card {
  display: block;
  padding: 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 28px 70px rgba(28, 30, 84, .15);
  backdrop-filter: blur(15px);
  transition: transform .25s ease, box-shadow .25s ease;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 80px rgba(28, 30, 84, .2);
}

.impact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.impact-theme {
  display: block;
  margin-top: 18px;
  color: #533afd;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.verified {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f5ef;
  color: #1f7a54;
}

.impact-number {
  display: block;
  margin-top: 20px;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 300 !important;
  line-height: .8;
  letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}

.impact-number small {
  font-size: 18px;
  letter-spacing: 0;
}

.impact-card>p {
  margin-top: 14px;
}

.impact-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e3e8ee;
}

.impact-card dl div+div {
  border-left: 1px solid #e3e8ee;
  padding-left: 20px;
}

.impact-card dt {
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.impact-card dd {
  margin: 5px 0 0;
  color: #0d253d;
  font-size: 15px;
}

.impact-carbon {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e3e8ee;
}

.impact-carbon h4 {
  margin: 0;
  color: #0d253d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.impact-carbon p {
  margin: 8px 0 0;
  color: #46536b;
  font-size: 14px;
  line-height: 1.5;
}

.impact-carbon .impact-carbon-dl {
  margin: 16px 0 0;
  padding-top: 14px;
  row-gap: 14px;
  column-gap: 8px;
}

.impact-carbon .impact-carbon-dl dd {
  font-size: 14px;
}

.impact-carbon-dl dt {
  font-weight: 700;
  color: #0d253d;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.impact-carbon-note {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
}

@media (min-width:441px) {
  .impact-carbon-dl div:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

.sample-note {
  display: block;
  margin-top: 20px;
  color: #8995a6;
  font-size: 14px;
}

.anna-latest {
  position: relative;
  padding: clamp(82px, 9vw, 126px) 0 clamp(90px, 10vw, 138px);
  overflow: hidden;
  background: #eef0ff;
  border-top: 1px solid #dcdff5;
}

.anna-latest::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -130px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(83, 58, 253, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(83, 58, 253, .035), 0 0 0 152px rgba(83, 58, 253, .025);
  pointer-events: none;
}

.anna-latest-layout {
  position: relative;
  z-index: 1;
}

.anna-latest-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: clamp(20px, 3vw, 42px);
  margin-bottom: clamp(42px, 5vw, 66px);
}

.anna-latest-head .kicker {
  color: #533afd;
}

.anna-latest-head h2 {
  margin-top: 14px;
  color: #0d253d;
  font-size: clamp(3.25rem, 6.7vw, 7.2rem);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -.075em;
}

.anna-latest-intro {
  padding: 0 0 8px 22px;
  border-left: 1px solid #cdd1e9;
}

.anna-latest-intro p {
  max-width: 34ch;
  margin-top: 16px;
  color: #5f6881;
  font-size: 14px;
  line-height: 1.65;
}

.anna-live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #283554;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anna-live-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a36a;
  box-shadow: 0 0 0 5px rgba(40, 163, 106, .12);
}

.anna-instagram-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.anna-instagram-toolbar>a,
.anna-instagram-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d5d9e9;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #293552;
  font-size: 12px;
  font-weight: 600;
}

.anna-instagram-toolbar>a span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7654ff, #ed4d73 55%, #f5a72c);
  color: #fff;
  font-size: 12px;
}

.anna-instagram-toolbar>a b {
  color: #533afd;
  font-weight: 500;
}

.anna-instagram-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.anna-instagram-toggle {
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.anna-instagram-toggle:hover,
.anna-instagram-toggle[aria-pressed="true"] {
  background: #0d253d;
  color: #fff;
}

.anna-instagram-toggle b {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.08em;
}

.anna-instagram-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d5d9e9;
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
  color: #293552;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.anna-instagram-nav:hover,
.anna-instagram-nav:focus-visible {
  background: #0d253d;
  color: #fff;
}

.anna-instagram-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.anna-instagram-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: annaInstagramCrawl 100s linear infinite;
  animation-play-state: paused;
}

.anna-instagram-group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.anna-instagram-post {
  position: relative;
  flex: 0 0 clamp(230px, 22vw, 390px);
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 16px;
  background: #dfe4ec;
  box-shadow: 0 16px 36px rgba(31, 38, 82, .12);
}

.anna-instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.anna-instagram-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 37, 61, .08), transparent 35%, rgba(13, 37, 61, .2));
  opacity: .5;
  transition: opacity .25s ease;
}

.anna-instagram-post>span {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 9px;
  background: rgba(13, 37, 61, .25);
  color: #fff;
  font-size: 15px;
  backdrop-filter: blur(8px);
}

.anna-instagram-post:hover img,
.anna-instagram-post:focus-visible img {
  transform: scale(1.035);
}

.anna-instagram-post:hover::after,
.anna-instagram-post:focus-visible::after {
  opacity: 1;
}

.anna-instagram-marquee.is-in-view .anna-instagram-track {
  animation-play-state: running;
}

.anna-instagram-marquee:hover .anna-instagram-track,
.anna-instagram-marquee:focus-within .anna-instagram-track,

.anna-instagram-marquee.is-paused .anna-instagram-track {
  animation-play-state: paused;
}

/* Prev/Next hand the strip over to manual control: the crawl animation is
   dropped in favour of a JS-set transform, eased so each step glides. */
.anna-instagram-track.is-manual {
  animation: none;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

@keyframes annaInstagramCrawl {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width:720px) {
  .anna-instagram-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .anna-instagram-controls {
    align-self: stretch;
    justify-content: space-between;
  }

  .anna-instagram-post {
    flex-basis: min(76vw, 300px);
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .anna-instagram-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .anna-instagram-track {
    animation: none;
  }

  .anna-instagram-group[aria-hidden="true"] {
    display: none;
  }

  .anna-instagram-post {
    scroll-snap-align: center;
  }

  .anna-instagram-toggle {
    display: none;
  }
}

/* ------------------------------------------------- Conscious Constituency Approach */
.cca-section {
  padding: clamp(60px, 7vw, 96px) 0;
  background: #f4f2f8;
}

.cca-card {
  background: var(--c-navy-tint);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 56px);
}

.cca-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.cca-intro h2 {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #0d253d;
  line-height: 1.14;
  letter-spacing: -.02em;
}

/* Tamil h2 is 3 words split across 2 manual <br>-separated spans, grouped
   "விழிப்புணர்வுள்ள தொகுதி" / "அணுகுமுறை" to match the English original's
   "Conscious Constituency" / "Approach" break. That grouping doesn't fit
   one line in Tamil once the column narrows on mobile, so word 1+2 wrap a
   second time on their own — 3 ragged lines instead of 2. Below 640px,
   swap which br is active so it regroups as "விழிப்புணர்வுள்ள" /
   "தொகுதி அணுகுமுறை" instead, which fits. English is untouched (no
   .cca-h2-br-mobile/-desktop elements in its markup, so these rules are
   inert there). */
.cca-h2-br-mobile {
  display: none;
}

@media (max-width: 640px) {
  .cca-h2-br-mobile {
    display: inline;
  }

  .cca-h2-br-desktop {
    display: none;
  }

  /* "தொகுதி அணுகுமுறை" (word 2+3, now sharing a line on mobile per the
     regrouping above) measures ~322px against this column's ~310px at the
     shared --type-section-size this heading otherwise uses — a ~4% miss
     that was still wrapping a 3rd time. Trimmed just enough here, scoped to
     this one heading, to actually fit instead of guessing at a bigger cut. */
  html[lang="ta"] .cca-intro h2 {
    font-size: clamp(1.55rem, 6.6vw, 2.05rem);
  }
}

.cca-intro p {
  margin-top: 18px;
  max-width: 56ch;
  color: #47536b;
  font-size: 1rem;
  line-height: 1.7;
}

.cca-wheel {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
}

.cca-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #1B9C85 0deg 72deg, #F0C33C 72deg 144deg, #E5484D 144deg 216deg, #2E4C7E 216deg 288deg, #E8933D 288deg 360deg);
  box-shadow: 0 24px 55px rgba(13, 37, 61, .2);
  border: 5px solid #fff;
}

.cca-seg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 92px;
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.cca-seg i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.cca-seg i svg {
  width: 100%;
  height: 100%;
}

.cca-seg-1 {
  left: 68.1%;
  top: 25.0%;
}

.cca-seg-2 {
  left: 79.4%;
  top: 59.5%;
}

.cca-seg-3 {
  left: 50%;
  top: 80.9%;
}

.cca-seg-4 {
  left: 20.6%;
  top: 59.5%;
}

.cca-seg-5 {
  left: 31.9%;
  top: 25.0%;
}

.cca-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(13, 37, 61, .18);
  display: grid;
  place-items: center;
}

.cca-core img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.cca-pillars-label {
  display: block;
  margin-top: clamp(40px, 5vw, 56px);
  color: #8a8fa3;
  font-size: 1.0625rem;
}

.cca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 28px;
}

.cca-ico {
  display: block;
  width: 52px;
  height: 52px;
  color: #9aa0b4;
  margin-bottom: 18px;
}

.cca-ico svg {
  width: 100%;
  height: 100%;
}

.cca-pillar h3 {
  color: #0d253d;
  font-size: 1.125rem;
  font-weight: 700;
}

.cca-pillar p {
  margin-top: 10px;
  max-width: 34ch;
  color: #4a5568;
  font-size: .9375rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .cca-top {
    grid-template-columns: 1fr;
  }

  .cca-wheel {
    margin: 0 auto;
  }

  .cca-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cca-wheel {
    width: 260px;
    height: 260px;
  }

  /* Translated labels (Tamil especially) run to 3-4 wrapped lines at this
     wheel size - widen the box and tighten type/line-height/icon so that
     text stays inside its wedge instead of spilling into the white centre
     disc (was overlapping cca-core behind/under the label). */
  .cca-seg {
    width: 90px;
    gap: 3px;
    font-size: .625rem;
    line-height: 1.15;
  }

  .cca-seg i {
    width: 16px;
    height: 16px;
  }

  .cca-core {
    width: 64px;
    height: 64px;
  }

  .cca-core img {
    width: 32px;
    height: 32px;
  }

  .cca-grid {
    grid-template-columns: 1fr;
  }
}

.app-section {
  padding: 34px 0;
  overflow: hidden;
  border-block: 1px solid #e3e8ee;
  background: #fff;
}

.app-download-banner {
  min-height: 470px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: stretch;
}

.app-phone-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 470px;
  padding-right: 50px;
  border-right: 1px solid #e3e8ee;
  overflow: hidden;
}

.app-phone-panel::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: #f6f9fc;
  filter: blur(2px);
}

.app-phone-panel img {
  position: relative;
  width: 310px;
  max-height: 445px;
  object-fit: cover;
  object-position: top;
  border-radius: 38px 38px 0 0;
  filter: drop-shadow(0 20px 32px rgba(13, 37, 61, .2));
}

.app-download-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px 40px clamp(50px, 7vw, 90px);
}

.app-download-panel .kicker {
  display: block;
  margin-bottom: 12px;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.app-download-panel h2 {
  max-width: 13ch;
  color: #0d253d !important;
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.app-download-panel>p {
  max-width: 520px;
  margin-top: 17px;
  color: #61718a;
  font-size: 15px;
}

.download-tools {
  display: flex;
  align-items: center;
  margin-top: 26px;
}

.store-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 11px;
}

.store-badge {
  min-width: 188px;
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}

.store-badge:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, .55);
}

.store-badge i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  color: #fff;
  font-style: normal;
  text-align: center;
}

.store-badge i svg {
  width: 24px;
  height: 24px;
}

.store-badge>span {
  display: flex;
  flex-direction: column;
}

.store-badge small {
  color: #fff !important;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}

.store-badge strong {
  margin-top: 4px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 500 !important;
  letter-spacing: .01em;
  line-height: 1;
}

.store-badge--google small {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.store-badge-muted {
  opacity: .55;
}

.store-badge-muted:hover {
  background: #000;
  border-color: rgba(255, 255, 255, .35);
}

.app-detail-link {
  display: inline-block;
  margin-top: 20px;
  color: #533afd;
  font-size: 14px;
}

.about-social {
  padding: clamp(82px, 9vw, 126px) 0;
}

.about-social-grid {
  display: block;
  padding-top: 0;
  border-top: 0;
}

.about-mini {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 10px clamp(48px, 8vw, 110px);
  align-items: end;
  padding-bottom: clamp(44px, 5vw, 68px);
  border-bottom: 1px solid #e3e8ee;
}

.about-mini .kicker,
.about-mini h2 {
  grid-column: 1;
}

.about-mini h2 {
  max-width: 13ch;
}

.about-mini>p {
  grid-column: 2;
  grid-row: 1/3;
  max-width: 580px;
  margin: 0;
  font-size: 17px;
}

.about-social-grid>.about-mini:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
}

.about-links a {
  color: #533afd;
  font-size: 14px;
}

.social-panel {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  overflow: hidden;
  background: #0d253d;
  color: #fff;
  box-shadow: 0 28px 72px rgba(13, 37, 61, .18);
}

.social-panel::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(185, 185, 249, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(185, 185, 249, .04), 0 0 0 140px rgba(185, 185, 249, .025);
  pointer-events: none;
}

.social-panel>* {
  position: relative;
  z-index: 1;
}

.social-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.social-head .kicker {
  color: #b9b9f9;
}

.social-status {
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}

.social-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #54d393;
  box-shadow: 0 0 0 5px rgba(84, 211, 147, .11);
}

.social-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(30px, 4vw, 48px) 0;
}

.social-intro h3 {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.06em;
}

.social-intro p {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.social-profiles {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}

.social-profiles::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  background: rgba(255, 255, 255, .16);
}

.social-profile {
  min-width: 0;
  padding: 8px clamp(22px, 3vw, 42px) 4px 0;
}

.social-profile+.social-profile {
  grid-column: 3;
  padding-right: 0;
  padding-left: clamp(22px, 3vw, 42px);
}

.social-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
}

.social-profile-head>span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.social-profile-head b {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.social-profile-head small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  line-height: 1.35;
}

.social-profile-mark {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.social-profile-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.social-profile-photo {
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.social-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.social-channel-links {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.social-channel-links a {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.social-channel-links .social-channel-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(185, 185, 249, .14);
  color: #d8d5ff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.social-channel-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.social-channel-copy b {
  color: #fff;
  font-size: 13px;
  font-weight: 550;
}

.social-channel-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, .45);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-channel-links a>i {
  color: #b9b9f9;
  font-size: 13px;
  font-style: normal;
}

.social-channel-links a:hover {
  border-color: rgba(185, 185, 249, .5);
  background: rgba(83, 58, 253, .34);
  transform: translateX(3px);
}

.closing-cta {
  padding: 70px 0 100px;
}

.closing-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 46px;
  border-radius: 16px;
  background: #0d253d;
}

.closing-inner h2 {
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.closing-inner .kicker {
  color: #b9b9f9;
}

.closing-inner>div:last-child {
  display: flex;
  align-items: center;
  gap: 22px;
}

.closing-inner .text-link {
  color: #fff;
}

@media (max-width: 980px) {
  .new-hero {
    padding-top: var(--nav-h);
  }

  .new-hero-grid,
  .campaign-grid,
  .impact-grid,
  .about-social-grid,
  .anna-latest-grid {
    grid-template-columns: 1fr;
  }

  .anna-latest-intro {
    max-width: 520px;
  }

  .home-past-grid {
    grid-template-columns: 1fr .8fr;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(3.6rem, 12vw, 6rem);
  }

  .anna-stage {
    max-height: 590px;
    width: min(100%, 540px);
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .campaign-archive {
    min-height: 220px;
  }

  .impact-grid {
    gap: 55px;
  }

  .app-download-banner {
    grid-template-columns: .8fr 1.2fr;
  }

  .app-phone-panel {
    padding-right: 24px;
  }

  .app-download-panel {
    padding-left: 42px;
  }

  .download-tools {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .anna-latest-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .anna-latest-intro {
    grid-column: auto;
    padding: 18px 0 0;
    border-top: 1px solid #cdd1e9;
    border-left: 0;
  }

  .anna-post-card {
    padding: 16px;
  }

  .anna-post-top {
    align-items: center;
  }

  .anna-embed-shell {
    height: 390px;
  }

  .new-hero {
    min-height: auto;
    padding-top: var(--nav-h);
  }

  .update-banner {
    top: calc(var(--nav-h) + 10px);
    display: block;
    padding-inline: 14px;
  }

  .update-controls {
    position: absolute;
    right: 24px;
    bottom: 8px;
    min-height: 32px;
    padding: 0 5px;
    background: rgba(255, 255, 255, .92);
  }

  .update-controls button {
    width: 26px;
    height: 26px;
  }

  .update-slide {
    grid-template-columns: auto 1fr;
    gap: 8px 10px;
    min-height: 112px;
    padding: 11px 96px 40px 12px;
  }

  .update-tag {
    padding: 5px 8px;
    font-size: 10px;
  }

  .update-slide strong {
    white-space: normal;
  }

  .update-meta {
    grid-column: 1/-1;
    font-size: 12px;
    white-space: normal;
  }

  .home-hero-slide,
  .home-current-slide .new-hero-grid {
    min-height: 760px;
  }

  .home-current-slide .new-hero-grid {
    padding-top: 142px;
    padding-bottom: 76px;
  }

  .home-hero-slide.home-rally-slide {
    min-height: auto;
    aspect-ratio: 16/9;
    align-self: start;
  }

  .home-past-slide::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .6));
  }

  .home-past-grid {
    min-height: 900px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 28px;
    padding-top: 146px;
    padding-bottom: 84px;
  }

  .home-past-copy h2 {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
  }

  .home-past-copy p {
    margin-top: 26px;
    font-size: 14px;
  }

  .home-past-copy .btn {
    margin-top: 26px;
  }

  .home-past-video {
    width: min(100%, 430px);
    transform: none;
  }

  .home-hero-controls {
    bottom: 14px;
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .hero-copy>p {
    font-size: 17px;
  }

  .hero-actions,
  .section-row,
  .report-bar,
  .closing-inner,
  .closing-inner>div:last-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-line {
    gap: 12px 20px;
  }

  .proof-line span+span::before {
    display: none;
  }

  .anna-stage {
    aspect-ratio: 16/9;
  }

  .video-topline {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .video-caption {
    inset: auto 16px 14px;
  }

  .video-kicker {
    margin-bottom: 3px;
    font-size: 12px;
  }

  .video-caption strong {
    max-width: 20ch;
    font-size: 1.25rem;
    line-height: 1.15;
  }

  .video-caption a {
    margin-top: 8px;
  }

  .registration-count {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .campaign-main {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 520px;
  }

  .campaign-label {
    flex-direction: column;
    gap: 4px;
  }

  .leaf-orbit {
    margin-top: 42px;
  }

  .event-strip,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: auto 1fr;
  }

  .event-go {
    display: none;
  }

  .report-bar a {
    white-space: normal;
  }

  .impact-card dl {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .impact-card dl div+div {
    border-left: 1px solid #e3e8ee;
    padding-left: 20px;
  }

  .story-card {
    min-height: 330px;
  }

  .app-section {
    padding: 0;
  }

  .app-download-banner {
    grid-template-columns: 1fr;
  }

  .app-phone-panel {
    min-height: 400px;
    padding: 36px 0 0;
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .app-phone-panel img {
    width: 240px;
    max-height: 365px;
  }

  .app-download-panel {
    padding: 55px 20px;
  }

  .download-tools {
    align-items: flex-start;
  }

  .qr-download {
    display: none;
  }

  .dl-caption-desktop {
    display: none;
  }

  .dl-caption-mobile {
    display: block;
  }

  .store-badge {
    min-width: 154px;
  }

  .about-social {
    padding: 64px 0;
  }

  .about-mini {
    display: block;
    padding-bottom: 42px;
  }

  .about-mini>p {
    margin-top: 20px;
  }

  .about-links {
    margin-top: 22px;
  }

  .social-panel {
    padding: 26px 18px 30px;
    border-radius: 18px;
  }

  .social-panel::before {
    width: 260px;
    height: 260px;
  }

  .social-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .social-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .social-intro h3 {
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .social-intro p {
    text-align: left;
  }

  .social-profiles {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1px auto;
  }

  .social-profiles::before {
    grid-column: 1;
    grid-row: 2;
  }

  .social-profile {
    grid-column: 1;
    padding: 0 0 28px;
  }

  .social-profile+.social-profile {
    grid-column: 1;
    grid-row: 3;
    padding: 28px 0 0;
  }

  .social-channel-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-channel-links a {
    width: 100%;
  }

  .closing-inner {
    padding: 32px 26px;
  }
}

@media (max-width:440px) {
  .impact-card {
    padding: 22px 18px;
  }

  .impact-number {
    font-size: clamp(4rem, 22vw, 5.5rem);
  }

  .impact-card dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .impact-card dl div+div {
    border-left: 0;
    padding: 12px 0 0;
    border-top: 1px solid #e3e8ee;
  }
}
@media (max-width: 600px) {
  .download-tools {
    flex-direction: column;
    align-items: center;
  }

  .store-stack {
    align-items: center;
    flex-wrap: nowrap;
  }

  .store-badge {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 6px 10px;
    gap: 7px;
  }

  .store-badge i svg {
    width: 20px;
    height: 20px;
  }

  .store-badge small {
    font-size: 9px;
  }

  .store-badge strong {
    font-size: 14px;
  }

  .qr-download {
    align-self: center;
  }
}

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

  .leaf-mark,
  .leaf-orbit,
  .pulse-dot {
    animation: none !important;
  }

  .home-hero-slide {
    transition: none;
  }

  .month-loader {
    display: none;
  }

  .home-reframe.is-loading {
    overflow: auto;
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

/* None of the Latin system fonts above carry Tamil glyphs, so Tamil pages
   were falling back to whatever Tamil font the visitor's OS happened to
   ship, with inconsistent metrics from device to device. Meera Inimai is
   built for this script (Mukta Malar as a secondary Tamil fallback); each
   /ta/ page loads both via its own Google Fonts <link> tag. */
html[lang="ta"] {
  --font: "Meera Inimai", "Mukta Malar", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Client feedback: Tamil words read as too tight together. Nudge
   word-spacing up slightly, site-wide rather than mobile-only — the same
   font metrics compress words at every viewport size, the mobile-only
   scoping here previously just matched how the feedback happened to be
   reported (a mobile screenshot), not an actual mobile-specific cause.
   Kept small on purpose — any fixed-width/nowrap UI piece (pill, badge,
   button) that this pushes into wrapping or overflow should get its own
   font-size reduction instead of losing the word-spacing fix; flag those
   to the client before shrinking any text. */
html[lang="ta"] body {
  word-spacing: 0.05em;
}

/* Dozens of English display headings and labels site-wide lean on negative
   letter-spacing (-0.01em to -0.075em, see e.g. .hero-copy h1, .prose h2,
   .btn, .nav-link) to tighten large Latin type. That same compression
   makes Tamil glyphs — whose vowel signs/matras already sit close to the
   base letterform — look like they're touching. Reset tracking to the
   font's natural spacing for every element on Tamil pages in one place
   rather than chasing each of those selectors individually; letter-spacing
   has no legitimate layout role (unlike line-height, it doesn't do
   vertical-centering tricks on icon wrappers), so a universal reset here
   is safe. !important because every one of those rules is more specific
   than this bare attribute+universal selector.

   Exception: the "We The Leaders" wordmark (.brand-name, header/footer logo
   text from main.js's brand()) is never translated and needs to keep its
   designed tracking on every page, Tamil included. */
html[lang="ta"] * {
  letter-spacing: normal !important;
}

html[lang="ta"] .brand-name {
  letter-spacing: -.035em !important;
}

/* The Meera Inimai <link> tag only requests the default weight (no &wght=
   list — Mukta Malar, its fallback, is the one loaded with a weight range),
   so the font has no real bold to draw from. .nav-counter's live registered-
   count digits ask for font-weight:650 and .reg-total's giant tally asks
   for 600; with only a 400 weight available, the browser fakes bold by
   expanding each glyph's strokes, and at these sizes that's enough for
   adjacent digits to visually merge (confirmed via screenshot: "19,55,275"
   in the header reads as fused blobs instead of separate digits). Digits
   are plain ASCII, not Tamil script, so give just these two counters the
   site's Latin stack instead, which has real weights at both 600 and 650. */
html[lang="ta"] .nav-counter strong,
html[lang="ta"] .reg-total {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* .reg-total's mobile clamp() in the registration-drive size is tuned
   assuming its -.075em letter-spacing squeeze is active, but the blanket
   `html[lang="ta"] * { letter-spacing: normal !important }` above wipes
   that squeeze on the Tamil page, making the same digit string ~15% wider
   than the sizing was budgeted for. That's what pushed "19,56,120" past
   the viewport on phones instead of sitting centered. Re-assert the
   tracking here (higher specificity than the blanket reset) so the digits
   are ASCII either way and the fit math holds. */
html[lang="ta"] .reg-total {
  letter-spacing: -.075em !important;
}

/* Pre-existing bug found while auditing this: some Tamil compound words
   have no internal space for the browser to break on, so long ones
   overflow straight through fixed-width card/panel headings instead of
   wrapping (e.g. the newsletter invite card). Confirmed independent of
   the word-spacing rule above. Harmless no-op on headings that already
   fit. Was h1-h3-only and mobile-only; broadened to every heading
   tag/utility class (matching the JS auto-fit selector below) and to all
   widths, since the JS fit can bring a heading down close to its floor
   size on any viewport and still needs this as the last-resort backstop
   against a single word overflowing its container. */
html[lang="ta"] h1,
html[lang="ta"] .h1,
html[lang="ta"] h2,
html[lang="ta"] .h2,
html[lang="ta"] h3,
html[lang="ta"] .h3,
html[lang="ta"] h4,
html[lang="ta"] .h4,
html[lang="ta"] h5,
html[lang="ta"] .h5,
html[lang="ta"] .ta-fit {
  overflow-wrap: break-word;
}

/* .badge and .btn both use white-space:nowrap, which is fine for the short
   English labels/CTAs they were designed around but breaks down once
   translated: confirmed via a full-site mobile crawl that Tamil badge/button
   copy routinely runs 2-3x longer (e.g. "Logged in-app" -> "செயலியில் பதிவு
   செய்யப்படுகிறது"), and nowrap forced that text — and the flex row it sits
   in — past the edge of the viewport instead of wrapping (themes.html's
   current-month card was the clearest case: a badge and two CTA buttons all
   ran off-screen). Let both wrap and grow in height on narrow Tamil
   viewports; this only permits wrapping; a badge/button whose translated
   text already fits on one line renders exactly as before. */
@media (max-width: 560px) {
  html[lang="ta"] .badge {
    height: auto;
    min-height: 26px;
    padding-block: 5px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  html[lang="ta"] .btn {
    height: auto;
    min-height: 46px;
    padding-block: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  html[lang="ta"] .btn-lg {
    min-height: 54px;
  }

  html[lang="ta"] .btn-sm {
    min-height: 38px;
  }
}

/* Anek Tamil sets noticeably larger/heavier than the Latin faces at the same
   font-size, so every h1 rule gets a matching lang="ta" override at ~0.8x. */
html[lang="ta"] {
  --type-page-size: clamp(2.4rem, 5.12vw, 4.6rem);
  --type-section-size: clamp(1.8rem, 3.36vw, 2.8rem);
}

@media (max-width: 640px) {
  html[lang="ta"] {
    --type-page-size: clamp(2.28rem, 10.4vw, 3.48rem);
    --type-section-size: clamp(1.68rem, 7.6vw, 2.4rem);
  }
}

html[lang="ta"] .hero-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.36rem) !important;
}

/* Same issue/fix as .foot-newsletter-copy h2 below (search that comment):
   at this heading's large display size, the site-wide `html[lang="ta"]
   h1..h5 { line-height: 1.1 !important }` floor isn't enough clearance --
   "சுத்தமான வளமான" (line 1) and "தமிழ்நாடு" (line 2)'s matras were touching.
   Scoped to just this heading, not the shared floor; needs !important to
   outrank that rule's own !important. */
html[lang="ta"] .hero-copy h1 {
  line-height: 1.35 !important;
}

/* Same issue as .hero-copy h1 above, different heading: the "campaign card"
   h3 on the Tamil home page ("சுத்தமான வளமான தமிழ்நாடு" repeated as the
   month's-campaign card title) also wraps to 2 lines at large display size
   and touched under the shared 1.1 floor. Same fix, scoped to this
   heading only. */
html[lang="ta"] .campaign-main h3 {
  line-height: 1.35 !important;
}

/* User feedback: on the Tamil home page, "சுத்தமான வளமான தமிழ்நாடு" (the
   current-campaign hero h1, sized via the site's unified heading system —
   main h1 uses --type-page-size, which wins over the .hero-copy h1 override
   above since it's equal specificity but declared later) visibly outsized
   "போதைப் பொருள் இல்லா தமிழ்நாடு" (.home-past-copy h2, the past-campaign
   recap just below it), which still carries its own hardcoded, much
   smaller clamp(). Both are "big campaign name" headings in the same
   layout rhythm, so lock the past-campaign one to the exact same token the
   hero uses — matches at every breakpoint automatically, Tamil only. */
html[lang="ta"] .home-past-copy h2 {
  font-size: var(--type-page-size);
  font-weight: 600;
}

/* User feedback: at font-weight 300 (matching .hero-copy h1's default),
   "போதைப் பொருள் இல்லா தமிழ்நாடு" read too thin/frail at this display
   size — Tamil strokes carry weight differently than Latin at the same
   number. Bumped to 600, Tamil only; the English "Drug-Free / Tamil Nadu"
   version isn't affected and stays at 300. */
/* main/gr-hero/etc below: the unified heading system's `main h1:not(.sr-only)
   :not(.apj-coming-title)` rule (added 2026-08-13, see that section further
   down) ties in specificity with a plain `html[lang="ta"] .foo h1` override
   and is declared later in the file, so it silently won and these
   page-specific sizes never actually applied — same root cause the comment
   below diagnoses for .hero-copy h1, just left unfixed here. Confirmed via a
   real mobile render: .gr-hero h1 was rendering at the unified system's 39px
   instead of this rule's ~21-25px, wrapping "தொகுதி வாரியான நிகழ்வுகள்" one
   word per line instead of two. Adding `main` to each selector below breaks
   the tie (one more type-selector) so these overrides win regardless of
   source order, without touching the unified system itself.

   .vm-hero-copy h1 is deliberately NOT in this list: it ties the same way,
   but a real render showed its dead value (clamp ...,13.6vw,4.24rem = 51px
   at 375px) is actually worse once it wins — "ஒவ்வொருவரிடமும்" is long
   enough that even with min-width:0 (below) it no longer fits the 335px
   column and overflow-wrap:break-word splits it mid-word. The unified
   system's 39px it silently falls back to today has no such problem, so
   leave that tie unbroken here. */
html[lang="ta"] main .gr-hero h1 {
  font-size: clamp(1.6rem, 3.52vw, 2.72rem);
}

html[lang="ta"] main .tour-hero-copy h1 {
  font-size: clamp(1.52rem, 3.2vw, 2.4rem);
  /* Lets a heading's own text carry a literal \n (the Madurai and
     Mettupalayam-Miyawaki entries in anna-tour-calendar.js both do this,
     to pin a line break instead of leaving a multi-word phrase to
     whatever the current font-size happens to wrap to) as a forced line
     break, while normal spaces still wrap/collapse as usual -- so
     headings without a \n render exactly as before. */
  white-space: pre-line;
  
  max-width: none;
}

html[lang="ta"] .auth-card-form h1 {
  font-size: 1.24rem;
}

html[lang="ta"] main .newsletter-signup-intro h1 {
  font-size: clamp(2.24rem, 4vw, 3.68rem);
}

html[lang="ta"] main .stories-hero-copy h1 {
  font-size: clamp(2.64rem, 5.6vw, 5.2rem);
}

html[lang="ta"] main .story-detail-copy h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.96rem);
}

html[lang="ta"] .vm-hero-copy h1 {
  max-width: none;
  font-size: clamp(2.88rem, 5.6vw, 5.44rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

/* .vm-hero-copy is a .vm-hero-grid column with no width of its own, so by
   default (min-width:auto) it refuses to shrink narrower than its content's
   min-content — normally harmless, but the h1 override above removes the
   English max-width cap, and "ஒவ்வொருவரிடமும்" has no internal space for
   the min-content calculation to break on. Confirmed via screenshot: on a
   390px viewport the column (and the h1 inside it) sat a few px wider than
   the viewport, clipped by .vm-hero's overflow:hidden instead of wrapping.
   overflow-wrap:break-word on the h1 (site-wide Tamil rule above) can't
   help here since it only affects final line-wrapping, not this min-content
   contribution. min-width:0 lets the column actually shrink to the track's
   real width so break-word gets a chance to wrap the word. */
html[lang="ta"] .vm-hero-copy {
  min-width: 0;
}

html[lang="ta"] main .completed-event-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.36rem) !important;
}

html[lang="ta"] .dl-app-section .app-download-panel h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.36rem) !important;
}

html[lang="ta"] main .lep-summary h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.36rem) !important;
}

/* Missed when the h1 list above got its 0.8x pass: this section's heading is
   an h2 (only index.html's plain app-section, not the dl-app-section variant
   above), same unscaled 4.4rem ceiling. At mobile widths that forced
   mid-word breaks in compound Tamil words (தலைவர்களி/ன், இணையுங்க/ள்) since
   overflow-wrap:break-word has to split somewhere once a word is wider than
   the line. Scaled 0.8x like its h1 sibling so words fit whole. */
html[lang="ta"] .app-download-panel h2 {
  max-width: none;
  font-size: clamp(2rem, 3.52vw, 3.52rem);
  word-break: normal;
}

/* Same min-content trap as html[lang="ta"] .vm-hero-copy above, one grid
   instead of a flex row: .app-download-banner is a plain CSS grid whose
   mobile track collapses to a single `1fr` column, but an `auto`-minimum
   track (which 1fr implies) sizes itself off its item's min-content width
   unless the item's own min-width says otherwise -- and a grid item's
   default min-width is auto (content-based) same as a flex item's.
   "மேற்பட்ட தலைவர்களின்" and "சமூகத்தில்" have no internal space for that
   min-content calculation to break on, so on narrow phones (confirmed at
   361px) the column sized itself to fit those words whole and ran past the
   viewport, clipped by .app-section's overflow:hidden mid-word instead of
   wrapping. min-width:0 lets the column shrink to the track's real width
   so overflow-wrap:break-word on the h2 (further down) can actually wrap
   it. */
html[lang="ta"] .app-download-panel {
  min-width: 0;
}

/* This hero's English clamp tops out at 7.1rem — the single largest h1 on
   the site — and was missing from this list entirely, so Tamil rendered it
   unscaled. A wrapped 4-line title at that size grew taller than the
   fixed-height hero it's centered in, pushing up past the top-left
   breadcrumb (both are position:absolute, so they visually overlapped
   instead of one pushing the other down). Scaled 0.8x like its siblings
   above, plus the hero itself gets extra room below. */
html[lang="ta"] main .theme-showcase-copy h1 {
  font-size: clamp(2.72rem, 5.6vw, 5.68rem);
}

html[lang="ta"] .theme-showcase-hero {
  min-height: 760px;
}

@media (max-width: 980px) {
  html[lang="ta"] .hero-copy h1 {
    font-size: clamp(2.88rem, 9.6vw, 4.8rem);
  }
}

@media (max-width: 620px) {
  html[lang="ta"] main .stories-hero-copy h1 {
    font-size: clamp(2.4rem, 12.8vw, 3.68rem);
  }
}

@media (max-width: 700px) {
  html[lang="ta"] .vm-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.8rem, 13.6vw, 4.24rem);
    line-height: 1.1;
    letter-spacing: -.01em;
  }
}

@media (max-width: 760px) {
  html[lang="ta"] main .completed-event-copy h1 {
    font-size: clamp(2.16rem, 10.4vw, 3.6rem);
  }
}

@media (max-width: 460px) {
  html[lang="ta"] .pollachi-title h1 {
    font-size: 2.72rem;
  }
}

@media (max-width: 640px) {
  html[lang="ta"] main .theme-showcase-copy h1 {
    font-size: clamp(2.2rem, 11.2vw, 3.6rem);
  }

  html[lang="ta"] .theme-showcase-hero {
    min-height: 640px;
  }
}

/* The h1-only fix above still left everything else reading noticeably
   larger on Tamil pages: dozens of page-specific headings (e.g.
   .vm-purpose-card h2) have their own hardcoded font-size and were never
   touched by any lang="ta" rule, so a selector-by-selector fix would mean
   chasing every one individually. Scaling the root font-size instead
   shrinks every rem-based font-size site-wide in one place — including
   the h1 overrides above, which compound with this for an even bigger
   cut on the elements that most needed it. font-size elsewhere in this
   file is almost entirely px, so layout/spacing is unaffected. */
html[lang="ta"] {
  font-size: 82%;
}

html[lang="ta"] body {
  font-size: 15px;
}

/* The 82% root cut above was aimed at oversized Tamil headings, but
   .nav-link/.foot-list a/.foot-brand p/.foot-questions are all sized in
   rem too, so they inherited the same cut despite never needing it —
   the primary nav labels and footer copy/links rendered at ~11.9px
   (14.5px × .82) instead of their intended ~14.5px, next to sibling UI
   text (lang-toggle, nav-counter) that's sized in px and stayed put.
   Pinned back to fixed px (immune to the root scale) and nudged slightly
   above the English size since Meera Inimai/Mukta Malar read smaller
   than the Latin fallbacks at equal pixel size. */
html[lang="ta"] .nav-link,
html[lang="ta"] .foot-list a,
html[lang="ta"] .foot-brand p,
html[lang="ta"] .foot-questions {
  font-size: 15px;
}

/* Dozens of display headings site-wide use tight line-height (.76-.98),
   tuned for a compact single-line English headline. Tamil words run
   longer, so the same heading wraps to 2-3 lines in Tamil, and leading
   under 1 makes those lines visually collide/overlap. !important because
   every one of those rules sets its own line-height directly on a
   selector more specific than this, so a normal override would lose.
   Requested down to 1.1 on 2026-08-20 — note this floor previously sat at
   1.15 and was raised to 1.4 (see comment below) after 1.15 was confirmed
   too tight for a wrapped 3-line heading in client review; 1.1 is tighter
   than either, so re-check wrapped multi-line Tamil h1-h5s for the same
   touching/overlap issue. */
html[lang="ta"] h1,
html[lang="ta"] .h1,
html[lang="ta"] h2,
html[lang="ta"] .h2,
html[lang="ta"] h3,
html[lang="ta"] .h3,
html[lang="ta"] h4,
html[lang="ta"] .h4,
html[lang="ta"] h5,
html[lang="ta"] .h5 {
  /* line-height: 1.1 !important; */
}

/* Root cause found while auditing why the JS heading auto-fit (below, in
   main.js) wasn't helping some headings at all: ~80 heading rules site-wide
   (.page-hero .h1, .gr-hero h1, .tour-hero-copy h1, .vm-hero-copy h1,
   .story-detail-copy h1, .newsletter-launch-copy h2, etc.) cap width with
   max-width in `ch` units -- a unit defined as the width of "0" AT THE
   ELEMENT'S OWN FONT-SIZE. Shrinking the font-size shrinks that cap by the
   exact same ratio, so the number of characters that fit per line never
   changes no matter how much smaller the text gets -- confirmed live via
   CDP on impact.html's h1 ("எண்களின் பின்னால் உள்ள தகவல்களை அறிவோம்."):
   it stayed at 3 lines all the way from 100% down to 40% scale. This is a
   deliberate, sitewide English editorial pattern (a readable line-measure
   in characters) and is fine there; Tamil words simply carry far less
   semantic content per character than English, so the same N-character cap
   forces far more line breaks. A few Tamil overrides already reach for
   `max-width: none` one page at a time (.vm-hero-copy h1, .app-download-panel
   h2 above) -- generalizing that same idiom into one rule instead of
   chasing each of the ~80 individually. Scoped to real headings only (not
   body copy's .prose/p max-width:Nch, which is a genuine readability
   measure in both languages and stays untouched). Lets the actual
   container width govern instead, which is what the JS auto-fit needs to
   do its job. !important for the same reason as the line-height rule
   above: every one of those ~80 rules is more specific than this. */
html[lang="ta"] h1,
html[lang="ta"] .h1,
html[lang="ta"] h2,
html[lang="ta"] .h2,
html[lang="ta"] h3,
html[lang="ta"] .h3,
html[lang="ta"] h4,
html[lang="ta"] .h4,
html[lang="ta"] h5,
html[lang="ta"] .h5 {
  max-width: none !important;
}

/* 1.15 (above, since lowered to 1.1) still wasn't enough clearance in
   practice — confirmed by client screenshot of a wrapped 3-line h2
   (.section-intro h2) still touching at that leading. Anek Tamil's matras
   need more room than a typical Latin display face at the same ratio, so
   this floor is 1.4, not 1.15-1.2, everywhere in this file from here down
   (the h1-h5 rule above is now the one exception, see its comment).

   Same root cause, wider net: heading tags aren't the only place translated
   copy sits at a sub-1.2 line-height tuned for one short English line —
   strong/small/em/etc. display card titles, stat labels and captions with
   the same problem, and there are too many one-off component selectors to
   chase individually. Floor every text-bearing tag project-wide instead.
   !important for the same reason as above: these tags almost always sit
   behind a more specific component selector that sets its own tight
   line-height. Deliberately excludes span/div/a — those are also used as
   pure icon/number wrappers where line-height is a vertical-centering
   trick, not a text-leading setting, and don't need this. Generic content
   classes built on those tags (.kicker, .eyebrow, .display, .archive-title,
   ...) get their own override alongside this instead. */
html[lang="ta"] strong,
html[lang="ta"] b,
html[lang="ta"] em,
html[lang="ta"] small,
html[lang="ta"] dd,
html[lang="ta"] dt,
html[lang="ta"] li,
html[lang="ta"] blockquote,
html[lang="ta"] figcaption {
  line-height: 1.4 !important;
}

html[lang="ta"] .kicker,
html[lang="ta"] .eyebrow,
html[lang="ta"] .display {
  line-height: 1.4 !important;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-bg);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--c-ink);
  line-height: 1.14;
}

p {
  margin: 0 0 1em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

::selection {
  background: var(--c-navy);
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   3. Type ramp
   -------------------------------------------------------------------------- */
.display {
  font-size: var(--type-page-size);
  line-height: var(--type-page-leading);
  letter-spacing: var(--type-page-tracking);
  font-weight: var(--type-page-weight);
}

.h1 {
  font-size: var(--type-page-size);
  letter-spacing: var(--type-page-tracking);
  line-height: var(--type-page-leading);
  font-weight: var(--type-page-weight);
}

.h2 {
  font-size: var(--type-section-size);
  letter-spacing: var(--type-section-tracking);
  line-height: var(--type-section-leading);
  font-weight: var(--type-section-weight);
}

.h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.h4 {
  font-size: 1.15rem;
  letter-spacing: -0.014em;
  line-height: 1.35;
}

.h5 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--c-body);
  letter-spacing: -0.012em;
}

.body-lg {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.body-sm {
  font-size: .9375rem;
  line-height: 1.6;
}

.caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-navy-3);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.eyebrow.no-rule::before {
  display: none;
}

.eyebrow.gold {
  color: var(--c-gold);
}

.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .01em;
}

/* Utilities */
.t-ink {
  color: var(--c-ink);
}

.t-muted {
  color: var(--c-muted);
}

.t-navy {
  color: var(--c-navy);
}

.t-center {
  text-align: center;
}

.balance {
  text-wrap: balance;
}

.pretty {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

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

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-wide {
  max-width: var(--maxw-wide);
}

.wrap-prose {
  max-width: var(--maxw-prose);
}

.section {
  padding-block: clamp(64px, 8vw, 120px);
}

.section-sm {
  padding-block: clamp(48px, 5vw, 76px);
}

.section-lg {
  padding-block: clamp(80px, 10vw, 152px);
}

.section-tight {
  padding-block: clamp(40px, 4vw, 56px);
}

.bg-2 {
  background: var(--c-bg-2);
}

.bg-3 {
  background: var(--c-bg-3);
}

.bg-navy {
  background: var(--c-navy);
  color: rgba(255, 255, 255, .76);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy .h1,
.bg-navy .h2,
.bg-navy .h3,
.bg-navy .h4 {
  color: #fff;
}

.bg-tint {
  background: var(--c-navy-tint);
}

.divider-top {
  border-top: 1px solid var(--c-line);
}

.divider-bottom {
  border-bottom: 1px solid var(--c-line);
}

.grid {
  display: grid;
  gap: 24px;
}

.g-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-sm {
  gap: 16px;
}

.gap-lg {
  gap: 40px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.stack>*+* {
  margin-top: var(--stack, 16px);
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-56 {
  margin-top: 56px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* Section heading block */
.sec-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head .h2 {
  margin-top: 16px;
}

.sec-head .lead {
  margin-top: 18px;
}

.sec-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
  flex-wrap: wrap;
}

.sec-head-split .sec-head {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.btn:active {
  transform: scale(.975);
}

.btn-primary {
  background: var(--c-navy);
  color: #fff;
  box-shadow: var(--sh-sm);
}

.btn-primary:hover {
  background: var(--c-navy-2);
  box-shadow: var(--sh-md);
}

.btn-dark {
  background: var(--c-ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--c-ink-2);
}

.btn-ghost {
  background: var(--c-bg);
  color: var(--c-ink);
  border-color: var(--c-line-hard);
}

.btn-ghost:hover {
  border-color: var(--c-ink);
  background: var(--c-bg);
}

.btn-soft {
  background: var(--c-bg-3);
  color: var(--c-ink);
}

.btn-soft:hover {
  background: var(--c-bg-4);
}

.btn-gold {
  background: var(--c-gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--c-gold-2);
}

.btn-on-navy {
  background: #fff;
  color: var(--c-navy);
}

.btn-on-navy:hover {
  background: rgba(255, 255, 255, .9);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .07);
}

.btn-lg {
  height: 54px;
  padding: 0 30px;
  font-size: 1rem;
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: .875rem;
}

.btn-block {
  width: 100%;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .9375rem;
  font-weight: 550;
  color: var(--c-navy-3);
  letter-spacing: -0.01em;
}

.btn-link .arw {
  transition: transform var(--t-fast) var(--ease);
}

.btn-link:hover .arw {
  transform: translateX(4px);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line-hard);
  color: var(--c-ink);
  transition: all var(--t-fast) var(--ease);
}

.btn-icon:hover {
  background: var(--c-bg-2);
  border-color: var(--c-ink);
}

.btn-icon:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   6. Badges, pills, chips
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 560;
  letter-spacing: -0.005em;
  background: var(--c-bg-3);
  color: var(--c-ink-2);
  white-space: nowrap;
}

.badge-navy {
  background: var(--c-navy-tint);
  color: var(--c-navy-2);
}

.badge-gold {
  background: var(--c-gold-tint);
  color: var(--c-gold);
}

.badge-green {
  background: var(--c-green-tint);
  color: var(--c-green);
}

.badge-red {
  background: var(--c-red-tint);
  color: var(--c-red);
}

.badge-solid-red {
  background: #EA1C1C;
  color: #fff;
  font-weight: 700;
}

.badge-line {
  background: transparent;
  border: 1px solid var(--c-line-hard);
  color: var(--c-body);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dot-live {
  background: var(--c-green);
  box-shadow: 0 0 0 0 rgba(31, 122, 84, .5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 122, 84, .45);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(31, 122, 84, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(31, 122, 84, 0);
  }
}

/* Announcement pill (hero) */
.ann {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 6px 0 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
  font-size: 14px;
  font-weight: 550;
  color: var(--c-body);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.ann:hover {
  border-color: var(--c-line-hard);
  box-shadow: var(--sh-md);
}

.ann strong {
  color: var(--c-ink);
  font-weight: 600;
}

.ann .ann-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--c-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ann .ann-go {
  display: inline-flex;
  padding-right: 8px;
  color: var(--c-muted);
}

/* Filter chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  color: var(--c-body);
  font-size: .875rem;
  font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}

.chip:hover {
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

.chip .cnt {
  font-size: 14px;
  opacity: .6;
}

/* --------------------------------------------------------------------------
   7. Header / navigation (Clay-style mega menu)
   -------------------------------------------------------------------------- */
.site-top {
  position: sticky;
  top: 0;
  z-index: 900;
}

.site-header {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--c-line);
}

.site-header.menu-open {
  background: #fff;
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header .brand {
  gap: 8px;
}

.site-header .brand-mark {
  width: 100%;
  height: 58px;
  overflow: hidden;
}

.site-header .brand-mark img {
  height: 60px;
  max-width: none;
}

.foot-brand .brand-mark {
  width: auto;
  height: 60px;
  border-radius: 0;
}

.foot-brand .brand-mark img {
  width: auto;
  height: 60px;
  max-width: none;
}

.brand-name {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--c-ink);
}

.brand-name em {
  font-style: normal;
  color: var(--c-navy-3);
}

.site-header .brand-name em {
  color: var(--c-ink);
}

/* Primary nav */
/* The panel anchors to the nav strip, not to the individual item, so a wide
   panel opened from a left-hand item can never run off the viewport. */
.nav-main {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: static;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 9px;
  border-radius: var(--r-sm);
  font-size: .9063rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--c-ink-2);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.nav-link:hover,
.nav-item.is-open>.nav-link {
  background: var(--c-bg-3);
  color: var(--c-ink);
}

.nav-link[aria-current="page"] {
  color: var(--c-navy-3);
}

.nav-link .caret {
  transition: transform var(--t-fast) var(--ease);
  opacity: .5;
}

.nav-item.is-open .caret {
  transform: rotate(180deg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-auth-short {
  display: none;
}

.language-picker {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding-left: 12px;
  padding-right: 12px;
  border-left: 1px solid var(--c-line);
  border-right: 1px solid var(--c-line);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  color: var(--c-ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 450;
  transition: color var(--t-fast) var(--ease);
}

.lang-toggle svg {
  flex-shrink: 0;
}

.lang-toggle:hover,
.language-picker.is-open .lang-toggle {
  color: var(--c-navy-3);
}

.language-picker:focus-within {
  outline: 2px solid var(--c-navy-3);
  outline-offset: 2px;
  border-radius: 6px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 118px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}

.language-picker.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu-item {
  padding: 8px 10px;
  border-radius: var(--r-sm);
  text-align: left;
  font-size: 14px;
  font-weight: 450;
  color: var(--c-ink-2);
}

.lang-menu-item:hover {
  background: var(--c-bg-2);
  color: var(--c-ink);
}

.lang-menu-item.is-active {
  color: var(--c-navy-3);
  font-weight: 650;
}

/* Mega panel */
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: translateY(-8px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}

/* Invisible hit-area bridging the gap above the panel: without it, the
   cursor briefly crosses the nav bar's own background on the way down,
   which counts as leaving the menu and closes it before the panel is reached. */
.mega::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item.is-open>.mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-1 {
  width: 320px;
  left: auto;
  right: 0;
}

.mega-1-left {
  width: 320px;
}

/* Institute's compact dropdowns follow their own menu buttons. */
.nav-item[data-mega^="institute-"] {
  position: relative;
}

.nav-item[data-mega^="institute-"] > .mega {
  left: 0;
  right: auto;
}

.nav-item[data-mega^="institute-"] > .mega-2 {
  width: 560px;
}

.mega-2 {
  width: 640px;
}

.mega-2-right {
  width: 640px;
  left: auto;
  right: 0;
}

.mega-3 {
  width: 880px;
}

/* Right-aligned three-column panel, for the merged About & Resources item:
   880px anchored left of .nav-main would run past the viewport. */
.mega-3-right {
  width: 880px;
  left: auto;
  right: 0;
}

@media (max-width: 1180px) {
  .mega-3,
  .mega-3-right {
    width: min(880px, calc(100vw - 48px));
  }

  .mega-2,
  .mega-2-right {
    width: min(640px, calc(100vw - 48px));
  }
}

.mega-grid {
  display: grid;
  gap: 4px;
}

.mega-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.mega-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease);
}

.mega-link:hover {
  background: var(--c-bg-2);
}

.mega-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--c-navy-tint);
  color: var(--c-navy-2);
}

.mega-link:hover .mega-ico {
  background: var(--c-navy);
  color: #fff;
}

.mega-t {
  display: block;
  font-size: 1rem;
  font-weight: 550;
  color: var(--c-ink);
  letter-spacing: -0.008em;
}

.mega-d {
  display: block;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.45;
  margin-top: 2px;
}

.mega-col-head {
  font-size: 14px;
  font-weight: 640;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-faint);
  padding: 8px 12px 6px;
}

.mega-feature {
  background: var(--c-bg-2);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.mega-feature .mf-art {
  display: block;
  height: 96px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  background:
    radial-gradient(120% 100% at 10% 0%, rgba(35, 74, 148, .22), transparent 60%),
    linear-gradient(140deg, #17356F, #0F2557);
  position: relative;
  overflow: hidden;
}

.mega-feature .mf-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(80% 80% at 50% 30%, #000, transparent);
}

.mega-feature.has-img .mf-art {
  height: 120px;
  background: var(--c-ink);
}

.mega-feature.has-img .mf-art::after {
  display: none;
}

.mega-feature.has-img .mf-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* opacity: .92; */
  background-color: #f6f9fc !important;
}

.mega-feature.has-img .mf-art img[src$="vision-mission-hero.jpg"] {
  object-position: center 8%;
}

.mega-feature.has-img .mf-art img[src*="policy-papers/"] {
  object-fit: contain;
  object-position: center;
  background: #f7f8fa;
  opacity: 1;
}

.mega-foot {
  margin-top: 10px;
  padding: 12px 14px 4px;
  border-top: 1px solid var(--c-line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mega-foot-link {
  display: flex;
  flex: 1 1 420px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mega-foot-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.mega-foot-copy>small {
  display: block;
  margin-bottom: 3px;
  color: #1f7a54;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mega-foot-copy>.mega-d {
  margin-top: 0;
}

.mega-foot-link.is-report .mega-foot-copy>.mega-d {
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 600;
}

.mega-foot-thumb {
  width: 46px;
  height: 58px;
  flex: 0 0 46px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 5px;
  background: #f7f8fa;
}

.mega-foot-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.mega-foot-link>.btn-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.mega-social {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.mega-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-hard);
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 650;
  transition: all var(--t-fast) var(--ease);
}

.mega-social a:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}

.social-brand-icon {
  display: grid;
  place-items: center;
  color: currentColor;
  line-height: 1;
}

.social-instagram {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.social-instagram::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.3px solid currentColor;
  border-radius: 50%;
}

.social-instagram::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.social-facebook {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  transform: translateY(1px);
}


/* Mega backdrop scrim -- inset's top is offset by --assisted-header-h too
   (on top of --nav-h) so it starts right below the assisted-top-header
   promo bar instead of overlapping its bottom edge; that bar reserves its
   own flow space (sticky) same as .site-top, so nothing else here needed. */
.nav-scrim {
  position: fixed;
  inset: calc(var(--nav-h) + var(--assisted-header-h)) 0 0;
  background: rgba(11, 15, 25, .14);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t);
  z-index: 890;
}

.nav-scrim.is-on {
  opacity: 1;
  visibility: visible;
}

/* Mobile trigger */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
}

.nav-burger:hover {
  background: var(--c-bg-3);
}

.burger-box {
  width: 18px;
  height: 12px;
  position: relative;
}

.burger-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t) var(--ease), opacity var(--t-fast);
}

.burger-box span:nth-child(1) {
  top: 0;
}

.burger-box span:nth-child(2) {
  top: 50%;
  margin-top: -.75px;
}

.burger-box span:nth-child(3) {
  bottom: 0;
}

.nav-burger.is-on .burger-box span:nth-child(1) {
  transform: translateY(5.25px) rotate(45deg);
}

.nav-burger.is-on .burger-box span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-on .burger-box span:nth-child(3) {
  transform: translateY(-5.25px) rotate(-45deg);
}

/* Mobile drawer -- same --assisted-header-h addition as .nav-scrim above,
   so the slide-out panel starts below the promo bar, not under it. */
.m-drawer {
  position: fixed;
  inset: calc(var(--nav-h) + var(--assisted-header-h)) 0 0;
  background: #fff;
  z-index: 880;
  overflow-y: auto;
  padding: 12px var(--gutter) 48px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}

.m-drawer.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.m-registration-counter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 4px 0 12px;
  padding: 15px 16px;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
  background: linear-gradient(135deg, #f6faf8, #f6f4ff);
  color: var(--c-ink);
}

.m-registration-counter:hover {
  border-color: #c8c0ff;
  background: #f4f1ff;
}

.m-registration-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.m-registration-count .dot-live {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
}

.m-registration-count strong {
  color: var(--c-green);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.m-registration-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.m-registration-copy>span {
  font-size: .875rem;
  font-weight: 550;
  color: var(--c-ink);
}

.m-registration-copy small {
  margin-top: 2px;
  color: var(--c-muted);
  font-size: .75rem;
  line-height: 1.3;
}

.m-registration-arrow {
  color: var(--c-navy-3);
  font-size: 1.15rem;
}

.m-sec {
  border-bottom: 1px solid var(--c-line-soft);
}

.m-sec-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 1.0625rem;
  font-weight: 550;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  text-align: left;
}

.m-sec-btn .caret {
  transition: transform var(--t) var(--ease);
  color: var(--c-faint);
}

.m-sec.is-open .m-sec-btn .caret {
  transform: rotate(180deg);
}

.m-sec-body {
  display: none;
  padding: 0 4px 16px;
}

.m-sec.is-open .m-sec-body {
  display: block;
}

.m-sub {
  display: block;
  padding: 11px 0;
  font-size: .9375rem;
  color: var(--c-body);
  border-bottom: 1px solid var(--c-line-soft);
}

.m-sub:last-child {
  border-bottom: 0;
}

.m-sub span {
  display: block;
  font-size: 14px;
  color: var(--c-faint);
  margin-top: 1px;
}

.m-cta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.m-lang {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}

.m-lang-btn {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  color: var(--c-ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}

.m-lang-btn.is-active {
  border-color: var(--c-navy-3);
  color: var(--c-navy-3);
  background: #f4f1ff;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(35, 74, 148, .10), transparent 68%),
    radial-gradient(700px 460px at 88% 8%, rgba(201, 154, 58, .09), transparent 62%),
    linear-gradient(180deg, #FBFCFE 0%, #FFFFFF 58%);
}

/* Video backdrop. Sits under a white scrim so the page stays light and the
   ink-on-white type keeps its contrast; the motion reads as a soft tint. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(1.03);
  pointer-events: none;
}

/* Heaviest behind the copy column, near-clear over the app stage, fading to
   white at the bottom so the hero blends into the next section. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 68%, rgba(255, 255, 255, .5) 87%, #fff 100%),
    linear-gradient(90deg,
      rgba(255, 255, 255, .94) 0%,
      rgba(255, 255, 255, .82) 30%,
      rgba(255, 255, 255, .38) 54%,
      rgba(255, 255, 255, .16) 76%,
      rgba(255, 255, 255, .12) 100%);
}

/* Single column: the copy sits over the whole width, so scrim it evenly. */
@media (max-width: 980px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, transparent 74%, rgba(255, 255, 255, .55) 90%, #fff 100%),
      linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .8) 46%, rgba(255, 255, 255, .42) 100%);
  }
}

.hero-has-video .hero-bg {
  display: none;
}

.hero-has-video .hero-grid-lines {
  z-index: -1;
  opacity: .5;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-has-video .hero-bg {
    display: block;
  }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 37, 87, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 37, 87, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 62% at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 62% at 50% 22%, #000 0%, transparent 78%);
}

.hero-inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero-inner .display {
  margin-top: 26px;
}

.hero-inner .lead {
  margin-top: 24px;
  max-width: 660px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--c-faint);
}

/* Rotating headline word (gozen-style) */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  text-align: left;
}

.rotator>span {
  grid-area: 1/1;
  background: linear-gradient(100deg, var(--c-navy-3), var(--c-navy) 55%, var(--c-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(70%) rotateX(-45deg);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  white-space: nowrap;
}

.rotator>span.is-in {
  opacity: 1;
  transform: none;
}

.rotator>span.is-out {
  opacity: 0;
  transform: translateY(-70%) rotateX(45deg);
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding-top: clamp(32px, 3vw, 44px);
  padding-bottom: clamp(40px, 3.6vw, 52px);
  background: linear-gradient(180deg, #FAFBFD, #fff);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.page-hero .crumbs {
  margin-bottom: clamp(26px, 2.4vw, 34px);
}

.page-hero .eyebrow.mt-24 {
  margin-top: 0;
}

.page-hero .h1 {
  margin-top: 14px;
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 16px;
  max-width: 620px;
}

.page-hero.center {
  text-align: center;
}

.page-hero.center .h1,
.page-hero.center .lead {
  margin-inline: auto;
}

.page-hero+.section,
.page-hero+.section-sm,
.page-hero+.section-tight {
  padding-top: clamp(40px, 4.2vw, 64px);
}

.page-hero-navy {
  background: linear-gradient(160deg, #17356F 0%, #0F2557 55%, #0A1B40 100%);
  color: rgba(255, 255, 255, .74);
  border-bottom: 0;
}

.page-hero-navy .h1,
.page-hero-navy .display {
  color: #fff;
}

.page-hero-navy .eyebrow {
  color: var(--c-gold-2);
}

.page-hero-navy .lead {
  color: rgba(255, 255, 255, .72);
}

.page-hero-navy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 70% 10%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 70% 10%, #000, transparent 75%);
}

.page-hero-navy>* {
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-muted);
}

.crumbs a:hover {
  color: var(--c-ink);
}

.crumbs .sep {
  opacity: .45;
}

.page-hero-navy .crumbs {
  color: rgba(255, 255, 255, .55);
}

.page-hero-navy .crumbs a:hover {
  color: #fff;
}

/* Breadcrumb + Share sit on one row, breadcrumb left / share right; wraps to
   its own line under very narrow widths instead of overflowing. */
.crumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.crumb-row .crumbs {
  min-width: 0;
}

.share-menu-wrap {
  position: relative;
  flex: none;
  margin-left: auto;
}

.share-event-icon {
  flex: none;
}

/* Share popover -- same floating-panel treatment as the header's
   .lang-menu (absolute, right-anchored, fade + slide, toggled by a
   parent .is-open class) so it reads as the same design system. */
.share-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: 264px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}

.share-menu-wrap.is-open .share-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.share-menu-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 8px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink-2);
  font-size: 13.5px;
  font-weight: 550;
  text-align: left;
}

.share-menu-copy:hover {
  color: var(--c-ink);
}

.share-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-top: 6px;
}

.share-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 6px;
  border-radius: var(--r-md);
  color: var(--c-muted);
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
}

.share-menu-item:hover {
  background: var(--c-bg-2);
  color: var(--c-ink);
}

.share-net-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.share-net-whatsapp {
  background: #25d366;
}

.share-net-gmail {
  background: #ea4335;
}

.share-net-facebook {
  background: #1877f2;
}

.share-net-twitter {
  background: #000;
}

.share-net-linkedin {
  background: #0a66c2;
}

.share-net-copy {
  background: #533afd;
}

/* Share popup (referral.html's #referralShareModal) -- same .share-menu-grid/
   .share-menu-item/.share-net-icon treatment as the anchored popover above,
   just laid out 2-per-row inside the .reg-referral-modal card instead of
   3-per-row inside a small anchored panel, to match the "[ WhatsApp ][ Gmail ]"
   grid the custom Share popup calls for. */
.share-modal-card {
  text-align: left;
}

.share-modal-card h2 {
  margin-bottom: 4px;
  text-align: center;
}

.share-modal-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 18px;
}

.share-modal-grid .share-menu-item {
  flex-direction: row;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 550;
}

.share-modal-grid .share-menu-item:hover {
  border-color: var(--c-line-2, var(--c-line));
  background: var(--c-bg-2);
}

.share-modal-grid .share-net-icon {
  width: 30px;
  height: 30px;
  flex: none;
}

@media (max-width: 480px) {
  .share-event-label {
    display: none;
  }

  .share-event-btn {
    width: 38px;
    padding: 0;
  }
}

.detail-back-link {
  /* max-content forces this pill to size for its label on one line no
     matter how narrow the viewport is -- fine for the short English label,
     but the longer Tamil label ("அண்ணாவின் நிகழ்ச்சி திட்டத்திற்குத்
     திரும்ப") then renders wider than a ~360px phone screen, pushing the
     button past the edge and forcing the whole page into horizontal
     scroll. fit-content clamps that same sizing to the available width so
     the label wraps onto a second line instead of overflowing. */
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 15px 0 8px;
  border: 1px solid #d7dee7;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.detail-back-link span[aria-hidden="true"] {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eeecff;
  color: #533afd;
  font-size: 16px;
}

.detail-back-link:hover {
  border-color: #b9b9f9;
  background: #fff;
  transform: translateX(-2px);
}

.detail-back-on-dark {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(13, 37, 61, .34);
  color: #fff;
  backdrop-filter: blur(8px);
}

.detail-back-on-dark span[aria-hidden="true"] {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.detail-back-on-dark:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(13, 37, 61, .54);
}

@media (max-width:560px) {
  .detail-back-link {
    min-height: 40px;
    margin-bottom: 12px;
    padding-right: 13px;
    font-size: 13px;
  }

  .detail-back-link span[aria-hidden="true"] {
    width: 26px;
    height: 26px;
  }
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}

.card-hover:hover {
  border-color: var(--c-line-hard);
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}

.card-flat {
  border: 0;
  background: var(--c-bg-2);
}

.contact-info-block .eyebrow {
  margin-bottom: 6px;
}

.contact-info-block p {
  margin: 8px 0 0;
}

.contact-info-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #533afd;
  text-decoration: none;
}

.contact-info-link:hover {
  text-decoration: underline;
}

.contact-info-block + .contact-info-block {
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}

.card-pad-lg {
  padding: 34px;
}

.card-pad-sm {
  padding: 18px;
}

.card .card-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--c-navy-tint);
  color: var(--c-navy-2);
  margin-bottom: 20px;
}

.card .h4 {
  margin-bottom: 8px;
}

.card p {
  font-size: .9375rem;
  color: var(--c-body);
}

/* Numbered pillar card (kompas services) */
.pillar {
  position: relative;
  display: block;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: #fff;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-navy-3), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}

.pillar:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--c-line-hard);
  transform: translateY(-3px);
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-faint);
  letter-spacing: .08em;
}

.pillar .h3 {
  margin: 14px 0 10px;
}

.pillar p {
  font-size: .9375rem;
}

.pillar-go {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .875rem;
  font-weight: 550;
  color: var(--c-navy-3);
}

.pillar:hover .pillar-go .arw {
  transform: translateX(4px);
}

.pillar-go .arw {
  transition: transform var(--t-fast) var(--ease);
}

/* Event card */
.ev-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  transition: all var(--t) var(--ease);
  height: 100%;
}

.ev-card:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--c-line-hard);
  transform: translateY(-3px);
}

.ev-art {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(140deg, #1B3E82, #0F2557);
  overflow: hidden;
}

.ev-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(90% 90% at 30% 10%, #000, transparent);
  -webkit-mask-image: radial-gradient(90% 90% at 30% 10%, #000, transparent);
}

.ev-art.v2 {
  background: linear-gradient(140deg, #2A5AA8, #14275A);
}

.ev-art.v3 {
  background: linear-gradient(140deg, #8A6420, #3C2C0C);
}

.ev-art.v4 {
  background: linear-gradient(140deg, #1F6B57, #0D2E29);
}

.ev-art.v5 {
  background: linear-gradient(140deg, #4A3E86, #1B1740);
}

.ev-art.v6 {
  background: linear-gradient(140deg, #8E3A34, #38130F);
}

.ev-art-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 80%;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.ev-date-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
  width: 52px;
  padding: 7px 0;
  text-align: center;
  box-shadow: var(--sh-sm);
}

.ev-date-chip .m {
  display: block;
  font-size: 14px;
  font-weight: 660;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-red);
}

.ev-date-chip .d {
  display: block;
  font-size: 1.25rem;
  font-weight: 640;
  color: var(--c-ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ev-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ev-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--c-muted);
}

.ev-body .h4 {
  line-height: 1.3;
}

.ev-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Featured event (horizontal) */
.ev-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-md);
}

.ev-feature .ev-art {
  aspect-ratio: auto;
  min-height: 340px;
}

.ev-feature-body {
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Article card */
.art-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.art-thumb {
  aspect-ratio: 16/10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(140deg, #E8EDF7, #F7F8FA);
  position: relative;
  border: 1px solid var(--c-line-soft);
  transition: transform var(--t) var(--ease);
}

.art-card:hover .art-thumb {
  transform: translateY(-3px);
}

.art-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 37, 87, .11) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(200deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
}

.art-thumb .glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--c-navy);
  opacity: .3;
}

.art-thumb.dark {
  background: linear-gradient(140deg, #17356F, #0B1A3E);
}

.art-thumb.dark::after {
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
}

.art-thumb.dark .glyph {
  color: #fff;
  opacity: .5;
}

.art-thumb.gold {
  background: linear-gradient(140deg, #F6ECD6, #FBF7EE);
}

.art-thumb.gold .glyph {
  color: var(--c-gold);
}

.art-body {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.art-body .h4 {
  transition: color var(--t-fast) var(--ease);
}

.art-card:hover .art-body .h4 {
  color: var(--c-navy-3);
}

.art-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c-muted);
}

.art-kicker .cat {
  color: var(--c-navy-3);
  font-weight: 600;
  letter-spacing: .02em;
}

/* Featured article (editorial split) */
.feat {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border: 1px solid var(--c-line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.feat:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--c-line-hard);
}

.feat-art {
  min-height: 380px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1B3E82 0%, #0F2557 55%, #0A1734 100%);
}

.feat-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(90% 90% at 40% 15%, #000, transparent);
  -webkit-mask-image: radial-gradient(90% 90% at 40% 15%, #000, transparent);
}

.feat-art .glyph {
  position: relative;
  z-index: 1;
  color: #fff;
  opacity: .42;
}

.feat-body {
  padding: clamp(30px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feat-body .h2 {
  transition: color var(--t-fast) var(--ease);
}

.feat:hover .feat-body .h2 {
  color: var(--c-navy-2);
}

@media (max-width: 980px) {
  .feat {
    grid-template-columns: 1fr;
  }

  .feat-art {
    min-height: 220px;
  }
}

/* Person card */
.person {
  text-align: left;
}

.person-av {
  width: 100%;
  aspect-ratio: 4/3.4;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--c-line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.person:hover .person-av {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.person-av::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .22), transparent 60%);
}

/* Large person tiles read better as quiet tints than as saturated blocks. */
.person-av.av-1 {
  background: #EDF1FA;
  color: #234A94;
}

.person-av.av-2 {
  background: #E9F4EF;
  color: #1F7A54;
}

.person-av.av-3 {
  background: #FAF3E4;
  color: #A9791F;
}

.person-av.av-4 {
  background: #F0EEF8;
  color: #4A3E86;
}

.person-av.av-5 {
  background: #FAEDEB;
  color: #99392E;
}

.person-av.av-6 {
  background: #E8F1F5;
  color: #2C6A8C;
}

.person-av::after {
  display: none;
}

.person-av::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: .12;
  mask-image: linear-gradient(215deg, #000, transparent 62%);
  -webkit-mask-image: linear-gradient(215deg, #000, transparent 62%);
}

.av-1 {
  background: linear-gradient(150deg, #24468F, #101F45);
}

.av-2 {
  background: linear-gradient(150deg, #2F6F5C, #12332B);
}

.av-3 {
  background: linear-gradient(150deg, #8A6A26, #3A2B0D);
}

.av-4 {
  background: linear-gradient(150deg, #5A4A93, #221C46);
}

.av-5 {
  background: linear-gradient(150deg, #94443B, #3B1512);
}

.av-6 {
  background: linear-gradient(150deg, #2C6A8C, #0F2C3B);
}

.person-name {
  margin-top: 14px;
  font-size: .9688rem;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.015em;
}

/* Two-line reserve keeps the field label aligned across a directory row. */
.person-role {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.45;
  margin-top: 3px;
  min-height: 2.9em;
}

.person-org {
  font-size: 14px;
  color: var(--c-navy-3);
  font-weight: 500;
  margin-top: 6px;
}

/* Avatar inline */
.av-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.av-stack {
  display: flex;
}

.av-stack .av-sm {
  margin-left: -10px;
  border: 2px solid #fff;
}

.av-stack .av-sm:first-child {
  margin-left: 0;
}

/* --------------------------------------------------------------------------
   10. Stats, marquee, quote
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  background: #fff;
  padding: 30px 26px;
}

.bg-2 .stat {
  background: var(--c-bg-2);
}

.stat-n {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 640;
  color: var(--c-ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-n .suf {
  color: var(--c-gold);
}

.stat-l {
  margin-top: 10px;
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.45;
}

.stats-bare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stats-bare .stat {
  background: transparent;
  padding: 0;
}

/* Logo marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.logo-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-muted);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}

.marquee:hover .logo-mark {
  color: var(--c-ink-2);
}

.logo-mark svg {
  opacity: .7;
}

/* Quote */
.quote {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.34;
  letter-spacing: -0.026em;
  font-weight: 500;
  color: var(--c-ink);
}

.quote-mark {
  color: var(--c-gold);
  font-size: 3rem;
  line-height: .6;
  display: block;
  margin-bottom: 12px;
}

.quote-by {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.quote-by .n {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-ink);
}

.quote-by .r {
  font-size: 14px;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   11. Accordion, tabs, timeline, table
   -------------------------------------------------------------------------- */
.acc {
  border-top: 1px solid var(--c-line);
}

.acc-item {
  border-bottom: 1px solid var(--c-line);
}

.acc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 550;
  color: var(--c-ink);
  letter-spacing: -0.018em;
  transition: color var(--t-fast) var(--ease);
}

.acc-btn:hover {
  color: var(--c-navy-3);
}

.acc-ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 2px;
  color: var(--c-muted);
}

.acc-ico::before,
.acc-ico::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast);
}

.acc-ico::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 1.5px;
}

.acc-ico::after {
  left: 11px;
  top: 4px;
  height: 16px;
  width: 1.5px;
}

.acc-item.is-open .acc-ico::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t) var(--ease);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel>div {
  overflow: hidden;
}

.acc-panel p {
  padding-bottom: 26px;
  max-width: 68ch;
  font-size: .9688rem;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--c-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  padding: 14px 16px;
  white-space: nowrap;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color var(--t-fast) var(--ease);
}

.tab:hover {
  color: var(--c-ink);
}

.tab.is-active {
  color: var(--c-ink);
  font-weight: 560;
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
}

/* Timeline / process */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line-soft);
  position: relative;
}

.step:last-child {
  border-bottom: 0;
}

.step-n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-navy);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step-line {
  position: absolute;
  left: 20px;
  top: 68px;
  bottom: 0;
  width: 1px;
  background: var(--c-line);
}

.step:last-child .step-line {
  display: none;
}

.step .h4 {
  margin-bottom: 7px;
}

.step p {
  font-size: .9375rem;
}

/* Data table */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}

.tbl th {
  text-align: left;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-faint);
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--c-line);
}

.tbl td {
  padding: 16px;
  border-bottom: 1px solid var(--c-line-soft);
  color: var(--c-body);
  vertical-align: top;
}

.tbl tr:last-child td {
  border-bottom: 0;
}

.tbl td:first-child,
.tbl th:first-child {
  padding-left: 0;
}

.tbl td strong {
  color: var(--c-ink);
  font-weight: 560;
}

/* Definition rows (policy meta) */
.def-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-size: .9063rem;
}

.def-row:last-child {
  border-bottom: 0;
}

.def-row dt {
  color: var(--c-muted);
}

.def-row dd {
  margin: 0;
  color: var(--c-ink);
  font-weight: 550;
  text-align: right;
}

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.field {
  display: block;
  margin-top: 0;
}

/* Vertical rhythm between rows (a lone .field or a two-column .grid row)
   comes from adjacency between those row-level elements, not from the
   individual .field. The adjacency selector below matches ANY .field
   preceded by a sibling .field in the DOM - including the two .field
   columns placed side by side inside one .grid row, since "adjacent
   sibling" ignores visual layout. That pushed the second column (Phone,
   Constituency, ...) down and broke horizontal alignment with the first
   column (Email, District, ...) on every two-column row, on every page
   using this label.field pattern - not just one form.
   Fix: keep the row-to-row rhythm here, then unconditionally zero it back
   out for any .field that is itself a grid column. That second rule must
   win, so it is declared after (equal specificity - source order decides),
   making it the one authoritative rule for this case everywhere, with no
   per-form or per-field overrides needed. */
.field+.field,
.field+.grid,
.grid+.field,
.grid+.grid {
  margin-top: 18px;
}

.grid>.field {
  margin-top: 0;
}

.label {
  display: block;
  font-size: 14px;
  font-weight: 560;
  color: var(--c-ink-2);
  margin-bottom: 7px;
  letter-spacing: -0.005em;
}

.label .req {
  color: var(--c-red);
}

.input,
.select,
.textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--c-line-hard);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .9375rem;
  color: var(--c-ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
}

.textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--c-faint);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--c-navy-3);
  box-shadow: 0 0 0 3px rgba(35, 74, 148, .12);
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2379808F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.hint {
  font-size: 14px;
  color: var(--c-faint);
  margin-top: 6px;
}

/* Inline field-validation error, shown below the input it belongs to.
   Hidden by default; JS toggles .is-visible once a field has been
   validated and failed. Colour reuses the project's existing error red
   rather than introducing a new one. */
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-red);
}

.field-error.is-visible {
  display: block;
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
  border-color: var(--c-red);
}

.input.is-invalid:focus,
.select.is-invalid:focus,
.textarea.is-invalid:focus {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(178, 55, 43, .14);
}

.search-wrap {
  position: relative;
}

.search-wrap .search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-faint);
  pointer-events: none;
}

.search-wrap .input {
  padding-left: 42px;
  border-radius: var(--r-pill);
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--c-body);
  cursor: pointer;
}

.check input {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--c-navy);
  flex-shrink: 0;
}

/* Newsletter inline */
.sub-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sub-form .input {
  flex: 1 1 240px;
  height: 50px;
  border-radius: var(--r-pill);
  padding-inline: 20px;
}

/* --------------------------------------------------------------------------
   13. CTA blocks
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(40px, 5.5vw, 72px);
  background: linear-gradient(155deg, #17356F 0%, #0F2557 52%, #0A1B40 100%);
  color: rgba(255, 255, 255, .76);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 90% at 85% 10%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 90% at 85% 10%, #000, transparent 72%);
}

.cta-band>* {
  position: relative;
  z-index: 1;
}

.cta-band .h2 {
  color: #fff;
  max-width: 16ch;
}

.cta-band .lead {
  color: rgba(255, 255, 255, .72);
  max-width: 52ch;
  margin-top: 18px;
}

.cta-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   14. Doc layout (guidelines / privacy)
   -------------------------------------------------------------------------- */
.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: calc(var(--nav-h) + var(--assisted-header-h) + 32px);
}

.doc-nav-title {
  font-size: 14px;
  font-weight: 640;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 14px;
}

.doc-nav a {
  display: block;
  padding: 7px 0 7px 14px;
  font-size: .875rem;
  color: var(--c-muted);
  border-left: 2px solid var(--c-line);
  line-height: 1.4;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.doc-nav a:hover {
  color: var(--c-ink);
}

.doc-nav a.is-active {
  color: var(--c-navy-3);
  border-left-color: var(--c-navy-3);
  font-weight: 550;
}

.prose {
  max-width: 74ch;
  color: var(--c-body);
  font-size: 1.0313rem;
  line-height: 1.72;
}

.prose>*+* {
  margin-top: 1.1em;
}

.prose h2 {
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-top: 2.4em;
  padding-top: .2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.175rem;
  letter-spacing: -0.018em;
  margin-top: 1.9em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-top: .5em;
}

.prose li::marker {
  color: var(--c-faint);
}

.prose strong {
  color: var(--c-ink);
  font-weight: 600;
}

.prose a:not(.btn) {
  color: var(--c-navy-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(35, 74, 148, .3);
}

.prose a:not(.btn):hover {
  text-decoration-color: currentColor;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 20px 24px;
  border-left: 3px solid var(--c-gold);
  background: var(--c-gold-tint);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .9688rem;
  color: var(--c-ink-2);
}

.prose code {
  font-family: var(--font-mono);
  font-size: .875em;
  background: var(--c-bg-3);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--c-ink);
}

.prose hr {
  margin: 2.4em 0;
}

.callout {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--c-navy-tint);
  border: 1px solid rgba(35, 74, 148, .14);
  font-size: .9375rem;
}

.callout .h5 {
  margin-bottom: 6px;
}

/* Article body layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
}

.article-layout>* {
  min-width: 0;
}

.side-sticky {
  position: sticky;
  top: calc(var(--nav-h) + var(--assisted-header-h) + 28px);
}

/* --------------------------------------------------------------------------
   15. Brand kit specifics
   -------------------------------------------------------------------------- */
.swatch {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t) var(--ease);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.swatch:hover {
  box-shadow: var(--sh-md);
}

.swatch-chip {
  height: 108px;
  position: relative;
}

.swatch-chip .copied {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 15, 25, .72);
  color: #fff;
  font-size: 14px;
  font-weight: 560;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.swatch.is-copied .copied {
  opacity: 1;
}

.swatch-meta {
  padding: 14px 16px;
  background: #fff;
}

.swatch-meta .n {
  font-size: .875rem;
  font-weight: 560;
  color: var(--c-ink);
}

.swatch-meta .h {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-muted);
  margin-top: 3px;
}

.asset-tile {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}

.asset-preview {
  height: 180px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.asset-preview.on-light {
  background: var(--c-bg-2);
}

.asset-preview.on-dark {
  background: var(--c-navy);
}

.asset-preview.on-gold {
  background: var(--c-gold-tint);
}

.asset-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
  color: var(--c-body);
}

.rule-card {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.rule-head {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rule-head.do {
  background: var(--c-green-tint);
  color: var(--c-green);
}

.rule-head.dont {
  background: var(--c-red-tint);
  color: var(--c-red);
}

.rule-body {
  padding: 18px;
  font-size: .875rem;
  color: var(--c-body);
}

/* Type specimen */
.specimen {
  border-bottom: 1px solid var(--c-line-soft);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
}

.specimen .sp-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   16. App / download page
   -------------------------------------------------------------------------- */
.phone {
  width: 268px;
  aspect-ratio: 9/19.5;
  border-radius: 40px;
  background: #0B0F19;
  padding: 9px;
  box-shadow: var(--sh-xl), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  position: relative;
  margin-inline: auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(175deg, #FFFFFF, #F2F5FA);
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: var(--r-pill);
  background: #0B0F19;
  z-index: 3;
}

.ps-head {
  padding: 42px 18px 12px;
}

.ps-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
}

.ps-card {
  margin: 8px 14px;
  padding: 13px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-sm);
}

.ps-bar {
  height: 7px;
  border-radius: 4px;
  background: var(--c-bg-3);
}

.ps-tabbar {
  margin-top: auto;
  height: 58px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, .9);
}

.ps-tab {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--c-bg-4);
}

.ps-tab.on {
  background: var(--c-navy);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 54px;
  padding: 0 20px;
  border-radius: var(--r-md);
  background: var(--c-ink);
  color: #fff;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.store-btn:hover {
  background: var(--c-ink-2);
}

.store-btn:active {
  transform: scale(.98);
}

.store-btn .sb-sm {
  display: block;
  font-size: 14px;
  opacity: .7;
  line-height: 1.2;
  letter-spacing: .02em;
}

.store-btn .sb-lg {
  display: block;
  font-size: .9688rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.qr {
  width: 108px;
  height: 108px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 9px;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(56px, 6vw, 84px);
}

/* Two-column outer grid: brand/contact column, then the block of nav
   columns. align-items:start keeps the brand column's top edge level with
   the nav headings' baseline regardless of which column ends up taller. */
.foot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(0, 3fr);
  align-items: start;
  gap: 48px;
}

.foot-brand {
  max-width: 320px;
}

/* The five nav columns share one grid row, so every heading starts on the
   exact same top line no matter how much a column's link list wraps. */
.foot-nav-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 36px 24px;
}

@media (max-width: 980px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .foot-brand {
    max-width: 460px;
  }

  .foot-nav-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }
}

@media (max-width: 640px) {
  .foot-nav-cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }
}

.foot-brand p {
  font-size: .9063rem;
  color: var(--c-muted);
  margin-top: 18px;
}

.foot-questions {
  font-size: .9063rem;
}

.foot-h {
  font-size: 14px;
  font-weight: 640;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 16px;
}

.foot-list li {
  list-style: none;
}

.foot-list a {
  display: block;
  padding: 6px 0;
  font-size: .9063rem;
  color: var(--c-body);
  transition: color var(--t-fast) var(--ease);
}

.foot-list a:hover {
  color: var(--c-navy-3);
}

.foot-bottom {
  margin-top: clamp(20px, 2.5vw, 32px);
  padding: 26px 0;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  font-size: 13px;
  color: var(--c-muted);
}

/* Copyright can shrink and ellipsis rather than force the legal links to
   wrap or push the row wider than its container -- a defensive floor under
   the desktop one-row layout, not something that should ever visibly kick
   in at normal viewport widths. */
.foot-copyright {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.foot-legal {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  flex-wrap: nowrap;
}

.foot-legal a {
  white-space: nowrap;
}

.foot-legal a:hover {
  color: var(--c-ink);
}

/* Below the container's own max-width there's no longer room for a single
   tight row -- relax back to the natural wrap instead of shrinking the
   type further. */
@media (max-width: 1200px) {
  .foot-bottom {
    flex-wrap: wrap;
    font-size: 14px;
    gap: 20px;
  }

  .foot-copyright {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .foot-legal {
    /* .foot-legal keeps flex-shrink:0 from its base rule above, which
       protects it from shrinking below its one-row max-content width
       (874px) even here -- so it was overflowing .foot-bottom's own width
       and pushing every page (not just this one) into horizontal scroll
       below ~1200px. flex-basis:100% forces it onto its own full-width row
       inside the now-wrapping .foot-bottom, so its own flex-wrap:wrap can
       actually wrap the legal links within that constrained width instead
       of the whole row silently overflowing off-screen. */
    flex-basis: 100%;
    flex-shrink: 1;
    min-width: 0;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.foot-legal-static {
  cursor: default;
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-hard);
  color: var(--c-muted);
  transition: all var(--t-fast) var(--ease);
}

.social a:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   17b. App-led hero (split) + floating proof cards
   -------------------------------------------------------------------------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero-split .display {
  font-size: clamp(2.15rem, 4.5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

/* Highlighted figure in a headline */
.hl {
  background: var(--c-navy);
  color: #fff;
  padding: .04em .14em .09em;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-gold {
  background: var(--c-gold);
}

.trust-row {
  display: flex;
  gap: 12px 26px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  color: var(--c-body);
}

.trust-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--c-navy-tint);
  color: var(--c-navy-2);
}

.rating-row {
  display: flex;
  gap: 14px 30px;
  flex-wrap: wrap;
  align-items: center;
}

.rating {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--c-muted);
}

.rating .src {
  font-weight: 650;
  color: var(--c-ink-2);
  letter-spacing: -0.01em;
}

.rating .val {
  font-weight: 600;
  color: var(--c-ink);
}

.rating .star {
  color: var(--c-gold-2);
}

/* Stage that holds the phone plus its floating proof cards */
.app-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 0 48px;
  min-height: 600px;
}

.app-stage-bg {
  position: absolute;
  z-index: 0;
  width: 88%;
  height: 74%;
  border-radius: 38px;
  background: linear-gradient(150deg, #2A5AA8 0%, #17356F 45%, #0F2557 100%);
  overflow: hidden;
}

.app-stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(90% 80% at 50% 10%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 80% at 50% 10%, #000, transparent 78%);
}

.app-stage-bg::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(201, 154, 58, .35), transparent 70%);
}

.app-stage .phone {
  position: relative;
  z-index: 2;
}

/* Play Store screenshots already carry their own device bezel, no extra frame. */
.app-shot {
  position: relative;
  z-index: 2;
  width: min(272px, 66%);
  height: auto;
  filter: drop-shadow(0 26px 50px rgba(11, 15, 25, .34));
}

.shot-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: none;
}

.shot-strip::-webkit-scrollbar {
  display: none;
}

.shot-strip img {
  flex: 0 0 216px;
  width: 216px;
  height: auto;
  border-radius: 10px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 9px 15px 9px 10px;
  box-shadow: var(--sh-lg);
  font-size: 14px;
  font-weight: 550;
  color: var(--c-ink);
  white-space: nowrap;
  animation: floaty 7s var(--ease) infinite;
}

.float-card .fc-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.fc-blue {
  background: var(--c-navy-tint);
  color: var(--c-navy-2);
}

.fc-gold {
  background: var(--c-gold-tint);
  color: var(--c-gold);
}

.fc-green {
  background: var(--c-green-tint);
  color: var(--c-green);
}

.fc-red {
  background: var(--c-red-tint);
  color: var(--c-red);
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

.fc-1 {
  top: 14%;
  left: -5%;
  animation-delay: -.4s;
}

.fc-2 {
  top: 5%;
  right: -3%;
  animation-delay: -2.2s;
}

.fc-3 {
  top: 47%;
  left: -7%;
  animation-delay: -3.6s;
}

.fc-4 {
  top: 37%;
  right: -5%;
  animation-delay: -1.3s;
}

.float-quote {
  position: absolute;
  z-index: 3;
  bottom: -12px;
  right: -3%;
  max-width: 322px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-body);
  white-space: normal;
  animation: floaty 8s var(--ease) infinite;
  animation-delay: -5s;
}

.float-quote .fq-by {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-quote .fq-n {
  font-weight: 600;
  color: var(--c-ink);
}

.float-quote .fq-r {
  color: var(--c-muted);
}

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

  .float-card,
  .float-quote {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .fc-1 {
    left: 0;
  }

  .fc-3 {
    left: -2%;
  }

  .fc-2 {
    right: 0;
  }

  .fc-4 {
    right: 0;
  }

  .float-quote {
    right: 0;
  }
}

@media (max-width: 980px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .app-stage {
    min-height: 640px;
  }

  .app-stage-bg {
    width: 86%;
  }
}

@media (max-width: 640px) {
  .app-stage {
    min-height: auto;
    padding-bottom: 24px;
  }

  .app-stage-bg {
    width: 100%;
    height: 70%;
    border-radius: var(--r-xl);
  }

  .fc-3,
  .fc-4 {
    display: none;
  }

  .fc-1 {
    top: 6%;
    left: -8px;
  }

  .fc-2 {
    top: 2%;
    right: -8px;
  }

  .float-quote {
    position: static;
    max-width: none;
    margin-top: 24px;
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   17c. Monthly themes
   -------------------------------------------------------------------------- */
.theme-hero {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: linear-gradient(150deg, #17356F 0%, #0F2557 55%, #0A1B40 100%);
  color: rgba(255, 255, 255, .76);
  padding: clamp(32px, 4vw, 52px);
}

.theme-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 90% at 88% 6%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(70% 90% at 88% 6%, #000, transparent 72%);
}

.theme-hero>* {
  position: relative;
  z-index: 1;
}

.theme-hero .h1,
.theme-hero .h2,
.theme-hero .h3 {
  color: #fff;
}

.theme-hero .lead,
.theme-hero p {
  color: rgba(255, 255, 255, .74);
}

.theme-hero .caption {
  color: rgba(255, 255, 255, .5);
}

/* Big month token */
.month-token {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  line-height: 1;
}

.month-token .m {
  font-size: 14px;
  font-weight: 660;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold-2);
}

.month-token .y {
  font-size: 1.5rem;
  font-weight: 640;
  color: #fff;
  letter-spacing: -.03em;
  margin-top: 7px;
}

/* Theme row in the year ladder */
.theme-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 150px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--c-line);
  transition: background var(--t) var(--ease), padding var(--t) var(--ease);
}

a.theme-row:hover {
  background: var(--c-bg-2);
  padding-inline: 18px;
}

.theme-row.is-current {
  background: var(--c-navy-tint);
  padding-inline: 18px;
  border-radius: var(--r-md);
  border-bottom-color: transparent;
}

.tr-month {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.theme-row.is-current .tr-month {
  color: var(--c-navy-2);
  font-weight: 600;
}

.theme-row.is-past .tr-month {
  color: var(--c-green);
}

.tr-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -.02em;
}

.theme-row.is-planned .tr-name {
  color: var(--c-body);
}

.tr-desc {
  display: block;
  font-size: .9063rem;
  color: var(--c-body);
  margin-top: 7px;
  max-width: 68ch;
}

.theme-row.is-planned .tr-desc {
  color: var(--c-muted);
}

.tr-state {
  justify-self: end;
}

@media (max-width: 760px) {
  .theme-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tr-state {
    justify-self: start;
  }
}

/* Theme swatch card */
.theme-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: #fff;
  padding: 26px;
  transition: all var(--t) var(--ease);
}

.theme-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}

.theme-card .tc-band {
  height: 4px;
  border-radius: 4px;
  width: 44px;
  margin-bottom: 20px;
}

.tc-band-red {
  background: var(--c-red);
}

.tc-band-gold {
  background: var(--c-gold);
}

.tc-band-green {
  background: var(--c-green);
}

.tc-band-navy {
  background: var(--c-navy-3);
}

/* Slim white strip surfacing the previous theme, sits between the current-theme
   hero and the full "last month" recap section. */
.past-theme-band {
  background: #fff;
}

.ptb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-block: 18px;
}

.ptb-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ptb-label .eyebrow {
  margin: 0;
}

.ptb-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ptb-name .h5 {
  color: var(--c-ink);
  font-weight: 600;
}

.ptb-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--c-muted);
  font-size: 14px;
}

.ptb-sep {
  color: var(--c-line-hard);
}

@media (max-width: 720px) {
  .ptb-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ptb-meta {
    margin-right: 0;
  }
}

/* Menu: current-theme highlight block */
.mega-theme {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(83, 58, 253, .14);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #101a31, #182746);
  color: rgba(255, 255, 255, .62);
  position: relative;
  box-shadow: 0 14px 30px rgba(13, 37, 61, .14);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.mega-theme::before {
  content: "";
  position: absolute;
  top: -68px;
  right: -64px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(185, 185, 249, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(185, 185, 249, .04);
}

.mega-theme::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55d596;
  box-shadow: 0 0 0 6px rgba(85, 213, 150, .1);
}

.mega-theme>span {
  position: relative;
  z-index: 1;
}

.mega-theme:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 185, 249, .48);
  box-shadow: 0 20px 40px rgba(13, 37, 61, .2);
}

.mega-theme .mt-m {
  width: max-content;
  max-width: calc(100% - 40px);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(185, 185, 249, .38);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b9b9f9;
}

.mega-theme .mt-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}

.mega-theme .mt-count b {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 320;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.mega-theme .mt-count small {
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mega-theme .mt-n {
  display: block;
  margin-top: 20px;
  max-width: 14ch;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 450;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.mega-theme .mt-d {
  display: block;
  margin-top: 10px;
  max-width: 29ch;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  line-height: 1.55;
}

.mega-theme .mt-go {
  width: calc(100% - 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #d6d2ff;
  font-size: 11px;
  font-weight: 550;
}

.mega-theme:hover .mt-go .arw {
  transform: translateX(4px);
}

/* Themes nav dropdown, a vertical timeline that groups THEMES by state so
   past / current / upcoming are visually segregated in the menu itself. */
.tl-panel {
  width: 360px;
  padding: 10px;
}

.tl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 8px;
}

.tl-head-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy-3);
}

.tl-head-link:hover {
  text-decoration: underline;
}

.tl-list {
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding-bottom: 14px;
}

.tl-group-label {
  padding: 12px 10px 4px;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-faint);
}

.tl-group-label:first-child {
  padding-top: 2px;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease);
}

.tl-row:hover {
  background: var(--c-bg-2);
}

.tl-row.is-current {
  background: var(--c-navy-tint);
}

.tl-row.is-current:hover {
  background: var(--c-navy-tint);
}

.tl-rail {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  align-self: stretch;
  display: flex;
  justify-content: center;
}

.tl-rail::before {
  content: "";
  position: absolute;
  top: -7px;
  bottom: -7px;
  width: 1px;
  background: var(--c-line);
}

.tl-dot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line-hard);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-row.is-past .tl-dot {
  background: var(--c-green);
}

.tl-row.is-current .tl-dot {
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 0 3px var(--c-navy-tint);
}

.tl-row.is-planned .tl-dot {
  background: #fff;
  border: 1.5px solid var(--c-line-hard);
}

.tl-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tl-month {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-faint);
}

.tl-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-row.is-planned .tl-name {
  color: var(--c-muted);
  font-weight: 550;
}

.tl-tag {
  flex-shrink: 0;
  height: 20px !important;
  padding: 0 8px !important;
  font-size: 14px !important;
}

/* Mobile drawer variant of the same timeline */
.m-sub-label {
  padding: 12px 4px 4px;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-faint);
}

.tl-m-sub.is-planned span {
  color: var(--c-muted);
}

.tl-m-sub.is-current {
  background: var(--c-navy-tint);
  border-radius: var(--r-sm);
}

/* Header theme ribbon */
.theme-ribbon {
  background: var(--c-navy);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.theme-ribbon a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 16px;
  flex-wrap: wrap;
  text-align: center;
}

.theme-ribbon .tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--c-gold);
  color: #fff;
  font-size: 14px;
  font-weight: 660;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.theme-ribbon strong {
  color: #fff;
  font-weight: 600;
}

.theme-ribbon .arw {
  opacity: .7;
}

.theme-ribbon a:hover .arw {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   18. Motion, scroll reveal
   -------------------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(18px);
}

.rv.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.rv-d1.is-in {
  transition-delay: .07s;
}

.rv-d2.is-in {
  transition-delay: .14s;
}

.rv-d3.is-in {
  transition-delay: .21s;
}

.rv-d4.is-in {
  transition-delay: .28s;
}

.rv-d5.is-in {
  transition-delay: .35s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .side-sticky {
    position: static;
  }
}

/* Tamil nav labels (மாதாந்திர பிரச்சாரம், நமது இயக்கம், etc.) run longer
   than their English equivalents, so the 1200px collapse point below --
   tuned for the English six-item nav -- isn't wide enough for Tamil.
   Confirmed via CDP: the Tamil nav-actions/auth button's right edge sits
   fixed at 1296px regardless of viewport (until the header's own max-width
   takes over past ~1300px), so every width from 1201-1295px -- including
   the required 1280px breakpoint -- overflowed by up to 95px. English is
   unaffected and still collapses at 1200px; this just widens the same
   collapse behavior for Tamil only, with a small safety margin past the
   measured 1296px fit point.

   min-width:421px caps this block from the bottom: html[lang="ta"] .nav
   and html[lang="ta"] .site-header .brand-mark are both more specific
   (0,0,2,0) than the generic .nav/.site-header .brand-mark rules the
   @media (max-width:420px) block below uses (0,0,1,0/0,0,2,0 tie broken
   by source order), so without this cap the Tamil rules here kept
   winning the cascade all the way down to the smallest phones and the
   420px block's shrink (46px->38px mark, 16px->10px nav gap) never
   actually applied on Tamil pages. Confirmed via CDP rule enumeration:
   the header overflowed and pushed the burger off-screen at 320-460px
   on every Tamil page as a result. English has no such override here
   and was unaffected. */
@media (max-width: 1310px) and (min-width: 421px) {
  html[lang="ta"] {
    --nav-h: 62px;
  }

  html[lang="ta"] .nav-main,
  html[lang="ta"] .nav-actions .desk-only,
  html[lang="ta"] .language-picker.desk-only {
    display: none;
  }

  html[lang="ta"] .nav-burger {
    display: inline-flex;
  }

  html[lang="ta"] .nav {
    height: 62px;
    gap: 16px;
    justify-content: space-between;
  }

  html[lang="ta"] .site-header .brand-mark {
    width: 100%;
    height: 46px;
  }

  html[lang="ta"] .site-header .brand-mark img {
    width: 100%;
    height: 51px;
  }
}

/* Switches to the drawer before the six-item nav can wrap. */
@media (max-width: 1200px) {
  :root {
    --nav-h: 62px;
  }

  /* .language-picker carries .desk-only same as the nav-actions items below,
     but this rule only ever matched ".nav-actions .desk-only" -- the
     language-picker is .nav-right's OTHER child, a sibling of .nav-actions,
     not a descendant of it, so it never actually matched and kept rendering
     at every width down to the smallest phones. The mobile drawer (below)
     already ships its own complete language switcher (.m-lang), so this was
     always meant to be desktop-only; confirmed via CDP it was the direct
     cause of the header overflowing by 9px at 360px on every page. */
  .nav-main,
  .nav-actions .desk-only,
  .language-picker.desk-only {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav {
    height: 62px;
    gap: 16px;
    justify-content: space-between;
  }

  /* The desktop 58px/64px logo sizing (7. Header / navigation) was only
     stepped down again at the 420px breakpoint below, so every width from
     421-1200px (large phones like 428-430px devices, and tablets) rendered
     the logo far taller than the 38px language pill/register button next
     to it. Scale it down here, in step with the row shrinking to 62px. */
  .site-header .brand-mark {
      width: 100%;
    height: 46px;
  }

  .site-header .brand-mark img {
    width: 100%;
    height: 51px;
  }

  .g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .g-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats,
  .stats-bare {
    grid-template-columns: repeat(2, 1fr);
  }

  .ev-feature {
    grid-template-columns: 1fr;
  }

  .ev-feature .ev-art {
    min-height: 220px;
  }

  .cta-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .doc {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .doc-nav {
    position: static;
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 18px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 22px 18px;
  }

  .section {
    padding-block: 56px;
  }

  .card {
    padding: 22px;
  }

  .card-pad-lg {
    padding: 24px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .sub-form .btn {
    width: 100%;
  }

  .specimen {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .step-n {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .step-line {
    left: 17px;
    top: 62px;
  }

  .cta-band {
    border-radius: var(--r-xl);
  }

  .quote-mark {
    font-size: 2.4rem;
  }

  .m-registration-counter {
    grid-template-columns: 1fr auto;
  }

  .m-registration-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .m-registration-arrow {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Event directory and completed-event detail */
.nav-counter {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  line-height: 1;
  white-space: nowrap;
}

.nav-counter .nc-dot {
  display: flex;
  align-items: center;
}

.nav-counter .nc-dot .dot-live {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 0 rgba(31, 122, 84, .5);
}

.nav-counter .nc-figures {
  display: flex;
  flex-direction: column;
}

.nav-counter strong {
  color: var(--c-green);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-fast) var(--ease);
}

.nav-counter small {
  margin-top: 3px;
  color: #64748d;
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.nav-counter:hover strong {
  color: var(--c-navy-3);
}

.constituency-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f6f9fc;
}

.constituency-filter label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #0d253d;
  font-size: 14px;
}

.constituency-filter label>span {
  white-space: nowrap;
}

.constituency-filter select {
  min-width: 230px;
  height: 42px;
  padding: 0 38px 0 13px;
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background: #fff;
  color: #0d253d;
  font: inherit;
  cursor: pointer;
}

.constituency-filter>span {
  color: #64748d;
  font-size: 14px;
}

.past-event-page {
  background: #fff;
}

.event-detail-hero {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #2637d9;
}

.event-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 100%, rgba(102, 94, 253, .9), transparent 38%), radial-gradient(circle at 92% 10%, rgba(28, 30, 84, .7), transparent 42%), linear-gradient(135deg, #5062ff, #2836d7);
}

.event-detail-hero .wrap {
  position: relative;
  height: 330px;
  padding-top: 32px;
}

.event-detail-hero .crumbs {
  color: rgba(255, 255, 255, .55);
}

.event-detail-hero .crumbs a:hover {
  color: #fff;
}

.ended-badge {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #1c1e54;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.event-summary-section {
  padding: 48px 0;
  border-bottom: 1px solid #e3e8ee;
}

.event-summary-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  align-items: end;
}

.event-theme-dot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #533afd;
  font-size: 14px;
  font-weight: 450;
}

.event-theme-dot i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(145deg, #68e16c, #20aa49);
}

.event-theme-dot b {
  margin-left: 4px;
}

.event-primary h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05em;
}

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 26px;
  margin-top: 28px;
}

.event-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #273951;
  font-size: 14px;
}

.event-facts i {
  width: 18px;
  color: #98a4b6;
  font-style: normal;
}

.event-facts b {
  font-weight: 500;
}

.event-outcome-card {
  padding: 22px;
  border-radius: 12px;
  background: #f6f9fc;
}

.event-outcome-card>span {
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.event-outcome-card strong {
  display: block;
  margin-top: 18px;
  color: #533afd;
  font-size: 54px;
  font-weight: 300;
  line-height: .8;
}

.event-outcome-card p {
  margin-top: 12px;
  font-size: 14px;
}

.event-outcome-card a {
  display: inline-block;
  margin-top: 14px;
  color: #533afd;
  font-size: 14px;
}

.event-content-section {
  padding: 70px 0 95px;
  background: #fff;
}

.event-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 64px;
  align-items: start;
}

.event-main-column,
.event-side-column {
  display: grid;
  gap: 32px;
}

.event-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: #8a96a8;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-block-head b {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  padding: 0 7px;
  border-radius: 999px;
  background: #533afd;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.recap-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.recap-tile {
  position: relative;
  min-height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
}

.recap-tile::after,
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%, rgba(13, 37, 61, .5));
}

.recap-tile span {
  position: absolute;
  z-index: 1;
  left: 15px;
  bottom: 13px;
  font-size: 14px;
}

.recap-tile i {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #0d253d;
  font-style: normal;
}

.recap-blue,
.reel-blue {
  background: linear-gradient(145deg, #5668ff, #1f2dc4);
}

.recap-green,
.reel-green {
  background: linear-gradient(145deg, #31c968, #16773d);
}

.recap-orange,
.reel-orange {
  background: linear-gradient(145deg, #ffb53e, #d5381d);
}

.media-list {
  overflow: hidden;
  border-radius: 14px;
  background: #f6f9fc;
}

.media-list a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
}

.media-list a+a {
  border-top: 1px solid #e3e8ee;
}

.media-list i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dee7;
  border-radius: 9px;
  background: #fff;
  color: #64748d;
  font-style: normal;
}

.media-list span {
  display: flex;
  flex-direction: column;
}

.media-list strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.2;
}

.media-list small {
  margin-top: 3px;
  color: #98a4b6;
}

.media-list b {
  color: #533afd;
  font-size: 14px;
}

.community-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.reel {
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  overflow: hidden;
  color: #fff;
}

.reel i {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.reel strong {
  position: absolute;
  z-index: 1;
  left: 11px;
  bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.host-list {
  overflow: hidden;
  border-radius: 14px;
  background: #f6f9fc;
}

.host-list>div {
  display: grid;
  grid-template-columns: 34px 1fr 38px;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
}

.host-list>div+div {
  border-top: 1px solid #e3e8ee;
}

.host-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 550;
}

.host-blue {
  background: #3549ea;
}

.host-red {
  background: #d53c27;
}

.host-green {
  background: #178251;
}

.host-list>div>span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.host-list strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.host-list small {
  color: #98a4b6;
}

.host-list i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #533afd;
  border-radius: 50%;
  color: #533afd;
  font-style: normal;
}

.event-about {
  padding: 24px;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
}

.event-about p {
  color: #273951;
  font-size: 14px;
  line-height: 1.65;
}

.event-about small {
  display: block;
  margin-top: 24px;
  color: #98a4b6;
}

.event-about a {
  color: #533afd;
  text-decoration: underline;
}

.report-event-link {
  padding: 15px 4px;
  border-top: 1px solid #e3e8ee;
  color: #8995a6;
  font-size: 14px;
}

.past-event-next {
  padding: 34px 0;
  background: #f6f9fc;
}

.past-event-next .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.past-event-next span {
  color: #273951;
  font-size: 16px;
}

@media (max-width: 980px) {

  .event-summary-grid,
  .event-content-grid {
    grid-template-columns: 1fr;
  }

  .event-outcome-card {
    max-width: 360px;
  }

  .event-content-grid {
    gap: 45px;
  }

  .nav-counter {
    display: none;
  }
}

@media (max-width: 700px) {

  .constituency-filter,
  .constituency-filter label {
    align-items: stretch;
    flex-direction: column;
  }

  .constituency-filter select {
    width: 100%;
    min-width: 0;
  }

  .event-detail-hero,
  .event-detail-hero .wrap {
    min-height: 250px;
    height: 250px;
  }

  .event-summary-section {
    padding: 36px 0;
  }

  .event-facts {
    flex-direction: column;
  }

  .recap-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .recap-tile {
    min-width: 78%;
    min-height: 180px;
    scroll-snap-align: start;
  }

  .community-reels {
    gap: 8px;
  }

  .reel {
    min-height: 145px;
  }

  .past-event-next .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 2026 event discovery, tour and Pollachi conference record */
.events-reframe {
  background: #fff;
}

.events-feature-hero {
  padding: 38px 0 64px;
  background: linear-gradient(180deg, #f7f5ff, #fff);
}

.events-feature-hero .crumbs {
  margin-bottom: 26px;
}

.anna-feature-card {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 420px;
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(28, 30, 84, .12);
}

.anna-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 6vw, 72px);
}

.event-state {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.3;
}

.event-upcoming {
  background: #e9f5ef;
  color: #16734d;
}

.event-past {
  background: #eef1f5;
  color: #61718a;
}

.anna-feature-copy>small {
  margin-top: 22px;
  color: #533afd;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.anna-feature-copy>strong {
  margin-top: 12px;
  max-width: 11ch;
  color: #0d253d;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.055em;
}

.anna-feature-copy p {
  max-width: 520px;
  margin-top: 22px;
  font-size: 16px;
}

.anna-feature-copy .btn {
  margin-top: 24px;
}

.anna-feature-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  overflow: hidden;
  background: radial-gradient(circle at 25% 20%, rgba(249, 107, 238, .7), transparent 35%), radial-gradient(circle at 95% 0, rgba(83, 58, 253, .86), transparent 45%), linear-gradient(145deg, #f4d5ae, #c7b8ff);
}

.anna-feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .46) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(transparent, #000);
}

.anna-feature-visual i,
.anna-feature-visual b,
.anna-feature-visual em {
  position: relative;
}

.anna-feature-visual i {
  color: #1c1e54;
  font-size: 14px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.anna-feature-visual b {
  margin-top: 6px;
  color: #1c1e54;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05em;
}

.anna-feature-visual em {
  margin-top: 9px;
  color: rgba(28, 30, 84, .58);
  font-size: 24px;
  font-style: normal;
}

.events-reframe .kicker,
.pollachi-detail .kicker {
  display: block;
  margin-bottom: 12px;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tour-section,
.event-discovery-section,
.featured-events-section,
.constituency-section {
  padding: clamp(72px, 9vw, 110px) 0;
}

.tour-section {
  padding-top: 58px;
  border-bottom: 1px solid #e3e8ee;
}

.events-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}

.events-section-head h2 {
  max-width: 760px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.events-section-head>span,
.events-section-head>a {
  max-width: 330px;
  color: #64748d;
  font-size: 14px;
}

.events-section-head>a {
  color: #533afd;
}

.tour-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.tour-rail a {
  min-width: 350px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: #fff;
  scroll-snap-align: start;
}

.tour-rail a:hover {
  border-color: #b9b9f9;
  box-shadow: 0 12px 28px rgba(0, 55, 112, .07);
}

.tour-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-weight: 600;
}

.tour-orange {
  background: #fff2e1;
  color: #c65e19;
}

.tour-green {
  background: #e9f5ef;
  color: #16734d;
}

.tour-rail a>span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tour-rail strong {
  overflow: hidden;
  color: #0d253d;
  font-size: 14px;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-rail small {
  margin-top: 4px;
  color: #64748d;
  font-size: 14px;
}

.tour-rail a>b {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f6f9fc;
  color: #533afd;
  font-size: 14px;
  font-weight: 500;
}

.event-discovery-section {
  background: #f6f9fc;
}

.event-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.category-card {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  transition: border-color .2s ease, transform .2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: #b9b9f9;
}

.category-card.is-active {
  border-color: #533afd;
  box-shadow: 0 0 0 2px rgba(83, 58, 253, .08);
}

.category-card i {
  width: 34px;
  color: #533afd;
  font-size: 22px;
  font-style: normal;
  text-align: center;
}

.category-card span {
  display: flex;
  flex-direction: column;
}

.category-card strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.category-card small {
  margin-top: 4px;
  color: #64748d;
  font-size: 14px;
}

.event-search input {
  width: 240px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7dee7;
  border-radius: 9px;
  background: #fff;
}

.new-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.new-event-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 230px;
  border: 1px solid #e3e8ee;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.new-event-card:hover {
  transform: translateY(-3px);
  border-color: #b9b9f9;
  box-shadow: 0 18px 38px rgba(0, 55, 112, .09);
}

.new-event-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  overflow: hidden;
  background: #eeecff;
}

.new-event-art>b {
  position: relative;
  color: #1c1e54;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
}

.new-event-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(13, 37, 61, .72));
}

.image-art .event-state {
  position: relative;
  z-index: 1;
}

.kanyakumari-art {
  background: radial-gradient(circle at 80% 10%, rgba(249, 107, 238, .54), transparent 34%), linear-gradient(145deg, #f5e9d4, #b9b9f9);
}

.cleanup-art {
  background: radial-gradient(circle at 15% 100%, rgba(31, 122, 84, .3), transparent 38%), linear-gradient(145deg, #e9f5ef, #c7e7d6);
}

.cuddalore-art {
  background: radial-gradient(circle at 85% 15%, rgba(255, 174, 91, .7), transparent 38%), linear-gradient(145deg, #fff1dc, #f5d4ac);
}

.new-event-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.new-event-body small {
  color: #533afd;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.new-event-body>strong {
  margin-top: 9px;
  color: #0d253d;
  font-size: 22px;
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.new-event-body p {
  margin-top: 11px;
  font-size: 14px;
}

.new-event-body em {
  margin-top: auto;
  padding-top: 16px;
  color: #533afd;
  font-size: 14px;
  font-style: normal;
}

.no-results {
  grid-column: 1/-1;
  padding: 50px;
  border: 1px dashed #d7dee7;
  border-radius: 12px;
  text-align: center;
  color: #64748d;
}

.constituency-section {
  background: #f6f9fc;
}

.constituency-explorer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}

.constituency-explorer label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #0d253d;
  font-size: 14px;
}

.constituency-explorer select {
  min-width: 250px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background: #fff;
}

.constituency-explorer>span {
  color: #64748d;
  font-size: 14px;
}

.constituency-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.constituency-shortcuts button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e3e8ee;
  border-radius: 11px;
  background: #fff;
  text-align: left;
}

.constituency-shortcuts button:hover {
  border-color: #b9b9f9;
}

.constituency-shortcuts i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eeecff;
  color: #533afd;
  font-style: normal;
  font-size: 14px;
}

.constituency-shortcuts span {
  display: flex;
  flex-direction: column;
}

.constituency-shortcuts strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.constituency-shortcuts small {
  margin-top: 3px;
  color: #64748d;
  font-size: 14px;
}

.tour-notify {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5e9d4, #e8e2ff);
}

.tour-notify .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tour-notify h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -.045em;
}

.tour-notify p {
  margin-top: 10px;
}

.pollachi-hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #1c1e54;
}

.pollachi-hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pollachi-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 37, 61, .3), rgba(13, 37, 61, .9));
}

.pollachi-hero-inner {
  position: relative;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 56px;
}

.pollachi-hero .crumbs {
  color: rgba(255, 255, 255, .55);
}

.pollachi-hero .crumbs a:hover {
  color: #fff;
}

.pollachi-title {
  margin-top: auto;
}

.pollachi-title .event-past {
  background: rgba(255, 255, 255, .9);
  color: #273951;
}

.pollachi-title>small {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, .68);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.pollachi-title h1 {
  max-width: 12ch;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.06em;
}

.pollachi-title p {
  max-width: 700px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .75);
  font-size: 18px;
}

.pollachi-snapshot {
  padding: 36px 0;
  border-bottom: 1px solid #e3e8ee;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.snapshot-grid>div {
  display: flex;
  flex-direction: column;
  padding: 9px 28px;
}

.snapshot-grid>div+div {
  border-left: 1px solid #e3e8ee;
}

.snapshot-grid strong {
  color: #533afd;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.045em;
}

.snapshot-grid span {
  margin-top: 10px;
  color: #0d253d;
  font-size: 14px;
}

.snapshot-grid small {
  margin-top: 3px;
  color: #98a4b6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.pollachi-detail .pollachi-hero>img {
  object-position: 44% 28%;
}

.pollachi-video-section,
.political-impact-section,
.pollachi-gallery {
  padding: clamp(75px, 10vw, 120px) 0;
}

.pollachi-video-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  align-items: center;
}

.full-video-card {
  position: relative;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #0d253d;
}

.full-video-card>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(13, 37, 61, .9));
}

.video-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 45%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #533afd;
  transform: translate(-50%, -50%);
}

.video-label {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
}

.video-label small {
  color: rgba(255, 255, 255, .58);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.video-label strong {
  margin-top: 6px;
  color: #fff;
  font-size: 25px;
  font-weight: 350;
}

.full-video-card em {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 32px;
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  font-style: normal;
}

.speech-highlights h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -.045em;
}

.speech-highlights ol {
  margin-top: 28px;
  list-style: none;
}

.speech-highlights li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid #e3e8ee;
}

.speech-highlights li>b {
  color: #533afd;
  font-size: 14px;
  font-weight: 500;
}

.speech-highlights li span {
  display: flex;
  flex-direction: column;
}

.speech-highlights li strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.speech-highlights li small {
  margin-top: 5px;
  color: #64748d;
  line-height: 1.45;
}

.political-impact-section {
  background: #f6f9fc;
}

.impact-report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.impact-report-grid article {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid #e3e8ee;
  border-radius: 13px;
  background: #fff;
}

.impact-status {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.verified-status {
  background: #e9f5ef;
  color: #16734d;
}

.announced-status {
  background: #fff2e1;
  color: #a75a12;
}

.tracking-status {
  background: #eeecff;
  color: #533afd;
}

.impact-report-grid strong {
  margin-top: 24px;
  color: #0d253d;
  font-size: 20px;
  font-weight: 350;
  line-height: 1.1;
}

.impact-report-grid p {
  margin-top: 12px;
  font-size: 14px;
}

.impact-report-grid small {
  margin-top: auto;
  padding-top: 18px;
  color: #98a4b6;
}

.pollachi-gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
}

.pollachi-gallery figure {
  margin: 0;
}

.pollachi-gallery figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

.pollachi-gallery-wide {
  grid-row: span 2;
}

.pollachi-gallery-wide img {
  height: 100% !important;
  min-height: 548px;
}

.pollachi-gallery figcaption {
  margin-top: 10px;
  color: #64748d;
  font-size: 14px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e3e8ee;
  font-size: 14px;
}

.source-links span {
  color: #64748d;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.source-links a {
  color: #533afd;
}

.detail-app-cta {
  padding: 64px 0;
  background: #fff;
}

.detail-app-banner {
  min-height: 150px;
  margin: 0;
}

.detail-app-banner .compact-app-copy {
  max-width: 720px;
}

.detail-app-banner .compact-app-copy>strong {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.7vw, 2.25rem);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.detail-app-preview {
  width: 104px;
  height: 148px;
  margin: -8px 0 -18px;
}

@media (max-width:1000px) {
  .event-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-event-grid {
    grid-template-columns: 1fr;
  }

  .constituency-shortcuts,
  .impact-report-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pollachi-video-grid {
    grid-template-columns: 1fr;
  }

  .full-video-card {
    min-height: 480px;
  }
}

@media (max-width:760px) {
  .anna-feature-card {
    grid-template-columns: 1fr;
  }

  .anna-feature-copy {
    order: 2;
  }

  .anna-feature-visual {
    min-height: 280px;
  }

  .events-section-head,
  .constituency-explorer,
  .constituency-explorer label,
  .tour-notify .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-search,
  .event-search input,
  .constituency-explorer select {
    width: 100%;
    min-width: 0;
  }

  .event-categories {
    grid-template-columns: 1fr;
  }

  .new-event-card {
    grid-template-columns: 1fr;
  }

  .new-event-art {
    min-height: 210px;
  }

  .constituency-shortcuts {
    grid-template-columns: 1fr 1fr;
  }

  .pollachi-hero,
  .pollachi-hero-inner {
    min-height: 560px;
  }

  .snapshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }

  .snapshot-grid>div:nth-child(3) {
    border-left: 0;
  }

  .impact-report-grid {
    grid-template-columns: 1fr;
  }

  .full-video-card {
    min-height: 400px;
  }

  .full-video-card em {
    display: none;
  }

  .video-label {
    right: 24px;
  }

  .video-label strong {
    font-size: 20px;
  }

  .pollachi-gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pollachi-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .pollachi-gallery figure {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .pollachi-gallery figure img,
  .pollachi-gallery-wide img {
    width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 4/3;
  }
}

@media (max-width:460px) {

  .constituency-shortcuts,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-grid>div {
    border-left: 0 !important;
    border-top: 1px solid #e3e8ee;
    padding: 20px 0;
  }

  .tour-rail a {
    min-width: 300px;
  }

  .pollachi-title h1 {
    font-size: 3.4rem;
  }
}

/* Pollachi event gallery, capped at 20 local images with a compact first view. */
.pollachi-gallery-count {
  color: #98a4b6;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pollachi-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pollachi-gallery-grid figure,
.pollachi-gallery-grid .pollachi-gallery-wide {
  min-width: 0;
  height: auto;
  grid-column: auto;
  grid-row: auto;
}

.pollachi-gallery-grid figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.pollachi-gallery-grid figure img,
.pollachi-gallery-grid .pollachi-gallery-wide img {
  width: 100%;
  height: 220px !important;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 14px;
}

.pollachi-gallery-grid figure:first-child img {
  height: calc(440px + 36px) !important;
}

.pollachi-gallery-grid figcaption {
  margin-top: 8px;
  font-size: 11px;
}

.pollachi-gallery-grid.is-collapsed figure:nth-child(n+9) {
  display: none;
}

.pollachi-gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pollachi-gallery-actions .btn {
  min-width: 190px;
  justify-content: center;
}

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

@media (max-width:600px) {
  .pollachi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 9px;
    scroll-snap-type: none;
  }

  .pollachi-gallery-grid figure,
  .pollachi-gallery-grid figure:first-child {
    display: block;
    min-width: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .pollachi-gallery-grid figure img,
  .pollachi-gallery-grid figure:first-child img,
  .pollachi-gallery-grid .pollachi-gallery-wide img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4/3;
  }

  .pollachi-gallery-grid figcaption {
    font-size: 10px;
    line-height: 1.35;
  }

  .pollachi-gallery-grid.is-collapsed figure:nth-child(n+7) {
    display: none;
  }

  .pollachi-gallery-actions .btn {
    width: 100%;
  }
}

/* Compact light event landing page */
.events-compact main {
  background: #fbfcfe;
}

.compact-events-wrap {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.events-compact .kicker {
  display: block;
  margin-bottom: 8px;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.compact-events-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.compact-events-intro h1 {
  color: #0d253d;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.035em;
}

.compact-events-intro p {
  margin-top: 8px;
  color: #64748d;
  font-size: 14px;
}

.compact-events-intro>a {
  color: #533afd;
  font-size: 14px;
  white-space: nowrap;
}

.compact-feature-banner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  border: 1px solid #dedafc;
  border-radius: 14px;
  background: radial-gradient(circle at 88% 10%, rgba(249, 107, 238, .28), transparent 34%), linear-gradient(115deg, #fff, #f0edff);
  box-shadow: 0 12px 30px rgba(28, 30, 84, .08);
}

.feature-date {
  min-width: 70px;
  min-height: 80px;
  padding: 6px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 11px;
  background: #533afd;
  color: #fff;
}

.feature-date b {
  font-size: 23px;
  font-weight: 400;
}

.feature-date small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: center;
}

.feature-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.feature-info>strong {
  margin-top: 9px;
  color: #0d253d;
  font-size: 25px;
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.03em;
}

.feature-info>small {
  margin-top: 7px;
  color: #64748d;
  font-size: 14px;
}

.feature-action {
  color: #533afd;
  font-size: 14px;
  white-space: nowrap;
}

.compact-section {
  padding: 28px 0 0;
}

.compact-divider {
  margin-top: 28px;
  border-top: 1px solid #e3e8ee;
}

.compact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.compact-heading h2 {
  color: #0d253d;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.018em;
}

.compact-heading>span {
  color: #98a4b6;
  font-size: 14px;
}

.compact-tour-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.compact-tour-rail a {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #fff;
}

.compact-tour-rail i,
.compact-local-grid i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

.compact-tour-rail .orange,
.compact-local-grid .orange {
  background: #fff0df;
  color: #b85b1e;
}

.compact-tour-rail .green,
.compact-local-grid .green {
  background: #e9f5ef;
  color: #16734d;
}

.compact-local-grid .blue {
  background: #e8f3ff;
  color: #2874bd;
}

.compact-tour-rail a>span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.compact-tour-rail strong {
  overflow: hidden;
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-tour-rail small {
  margin-top: 3px;
  color: #64748d;
  font-size: 14px;
}

.compact-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.compact-categories button {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.compact-categories button:hover,
.compact-categories button.is-active {
  border-color: #b9b9f9;
  background: #f8f7ff;
}

.compact-categories button>i {
  color: #533afd;
  font-size: 18px;
  font-style: normal;
  text-align: center;
}

.compact-categories button>span {
  display: flex;
  flex-direction: column;
}

.compact-categories strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.compact-categories small {
  margin-top: 2px;
  color: #64748d;
  font-size: 14px;
}

.compact-search input {
  width: 150px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.compact-calendar-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  margin-bottom: -6px;
  scrollbar-width: thin;
  scrollbar-color: #c7c3fb #f1f3f6;
}

.compact-calendar-grid::-webkit-scrollbar {
  height: 8px;
}

.compact-calendar-grid::-webkit-scrollbar-track {
  background: #f1f3f6;
  border-radius: 999px;
}

.compact-calendar-grid::-webkit-scrollbar-thumb {
  background: #c7c3fb;
  border-radius: 999px;
}

.compact-calendar-grid::-webkit-scrollbar-thumb:hover {
  background: #533afd;
}

.compact-calendar-grid>a {
  position: relative;
  flex: 0 0 auto;
  width: 230px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 13px;
  border: 1px solid #e3e8ee;
  border-radius: 11px;
  background: #fff;
  scroll-snap-align: start;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.compact-calendar-grid>a:hover {
  border-color: #b9b9f9;
  box-shadow: 0 10px 22px rgba(0, 55, 112, .06);
}

.calendar-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

.calendar-icon.purple {
  background: #533afd;
}

.calendar-icon.orange {
  background: #d87931;
}

.calendar-icon.green {
  background: #178251;
}

.calendar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-calendar-grid>a> :nth-child(2) {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.compact-calendar-grid strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.compact-calendar-grid small {
  margin-top: 4px;
  color: #64748d;
  font-size: 14px;
}

.compact-calendar-grid p {
  margin-top: 3px;
  color: #98a4b6;
  font-size: 14px;
}

.compact-calendar-grid>a>b {
  position: absolute;
  right: 12px;
  top: 14px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #533afd;
  font-size: 14px;
  font-weight: 500;
}

.events-compact #eventGrid [data-tags~="past"] {
  display: none;
}

.compact-select select {
  height: 32px;
  min-width: 175px;
  padding: 0 9px;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.compact-result {
  display: block;
  margin: -8px 0 12px;
  color: #98a4b6;
  font-size: 14px;
}

.compact-local-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.compact-local-grid>a {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
}

.compact-local-grid>a:hover {
  background: #fff;
}

.compact-local-grid>a>span {
  display: flex;
  flex-direction: column;
}

.compact-local-grid strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.compact-local-grid small {
  margin-top: 2px;
  color: #64748d;
  font-size: 14px;
}

.compact-app-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px auto;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  margin-top: 36px;
  padding: 18px 24px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(110deg, #eeecff, #f5e9d4);
}

.compact-app-copy {
  display: flex;
  flex-direction: column;
}

.compact-app-preview {
  align-self: end;
  justify-self: center;
  width: 92px;
  height: 116px;
  margin: -8px 0 -18px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .86);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: #fff;
  box-shadow: 0 12px 26px rgba(13, 37, 61, .16);
  transform: rotate(2deg);
}

.compact-app-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.compact-app-cta strong {
  color: #0d253d;
  font-size: 16px;
  font-weight: 450;
}

.compact-app-cta span {
  margin-top: 3px;
  color: #64748d;
  font-size: 14px;
}

.compact-app-cta .btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.events-compact .site-footer {
  margin-top: 0;
}

.grassroots-host-cta {
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  margin: 0 auto 64px;
  padding: 25px 28px;
  overflow: visible;
}

.grassroots-host-cta .compact-app-copy {
  min-width: 0;
  gap: 5px;
}

.grassroots-host-cta strong {
  font-size: 18px;
  line-height: 1.25;
}

.grassroots-host-cta span {
  margin: 0;
  line-height: 1.5;
}

.grassroots-host-cta .btn {
  min-width: 154px;
  justify-content: center;
  padding-inline: 22px;
}

.compact-const-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.compact-const-actions>a {
  color: #533afd;
  font-size: 14px;
  white-space: nowrap;
}

.grassroots-inline {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid #d8e8df;
  border-radius: 10px;
  background: #f3faf6;
}

.grassroots-inline>i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0f3e8;
  color: #16734d;
  font-style: normal;
}

.grassroots-inline>span {
  display: flex;
  flex-direction: column;
}

.grassroots-inline strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.grassroots-inline small {
  margin-top: 2px;
  color: #64748d;
  font-size: 14px;
}

.grassroots-inline>b {
  color: #16734d;
  font-size: 14px;
  font-weight: 500;
}

.constituency-directory-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.constituency-directory-tools .compact-result {
  margin: 0;
}

.constituency-directory-tools input {
  width: 190px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.constituency-directory {
  max-height: 320px;
  overflow-y: auto;
  padding: 4px 8px 4px 0;
  scrollbar-color: #c9c4ef transparent;
  scrollbar-width: thin;
}

.constituency-directory>a {
  min-height: 54px;
}

.constituency-directory>a:nth-child(odd) {
  background: rgba(255, 255, 255, .45);
}

@media (max-width:760px) {
  .compact-events-wrap {
    width: min(100% - 32px, 620px);
    padding-top: 28px;
  }

  .compact-events-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .compact-feature-banner {
    grid-template-columns: 68px 1fr;
    padding: 18px;
  }

  .feature-date {
    width: 58px;
    height: 68px;
  }

  .feature-action {
    display: none;
  }

  .feature-info>strong {
    font-size: 20px;
  }

  .compact-tour-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .compact-tour-rail a {
    min-width: 250px;
    scroll-snap-align: start;
  }

  .compact-categories {
    grid-template-columns: 1fr 1fr;
  }

  .compact-local-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:480px) {

  .compact-categories,
  .compact-local-grid {
    grid-template-columns: 1fr;
  }

  .compact-heading,
  .compact-const-actions,
  .constituency-directory-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-search,
  .compact-search input,
  .compact-select,
  .compact-select select,
  .constituency-directory-tools label,
  .constituency-directory-tools input {
    width: 100%;
  }

  .constituency-directory {
    max-height: 360px;
  }

  .grassroots-inline {
    grid-template-columns: 34px 1fr;
  }

  .grassroots-inline>b {
    grid-column: 2;
  }

  .compact-app-cta {
    grid-template-columns: minmax(0, 1fr) 76px;
    align-items: center;
    gap: 14px;
    padding: 18px;
  }

  .compact-app-copy {
    align-self: end;
  }

  .compact-app-preview {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 72px;
    height: 126px;
    margin: -8px -4px -18px 0;
  }

  .compact-app-cta .btn {
    grid-column: 1;
    justify-self: start;
  }

  .compact-feature-banner {
    min-height: 135px;
  }

  .compact-events-intro h1 {
    font-size: 30px;
  }
}

@media (max-width:600px) {
  .grassroots-host-cta {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    margin-bottom: 48px;
  }

  .grassroots-host-cta .compact-app-copy {
    align-self: auto;
  }

  .grassroots-host-cta .btn {
    grid-column: 1;
    width: 100%;
  }
}

/* Constituency event drill-down */
.constituency-events-page main {
  background: #fbfcfe;
}

.constituency-events-page .kicker {
  display: block;
  margin-bottom: 9px;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.const-list-hero {
  padding: 42px 0 34px;
  border-bottom: 1px solid #e3e8ee;
  background: linear-gradient(180deg, #f4f1ff, #fbfcfe);
}

.const-list-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
}

.const-list-title h1 {
  color: #0d253d;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.055em;
}

.const-list-title p {
  margin-top: 13px;
  color: #64748d;
  font-size: 14px;
}

.const-list-title label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.const-list-title select {
  min-width: 220px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background: #fff;
  color: #0d253d;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.const-list-content {
  padding: 46px 0 64px;
}

.const-list-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.const-list-nav {
  position: sticky;
  top: calc(var(--nav-h) + var(--assisted-header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.const-list-nav>span {
  margin-bottom: 7px;
  color: #98a4b6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.const-list-nav button,
.const-list-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  border-radius: 7px;
  color: #64748d;
  font-size: 14px;
  text-align: left;
}

.const-list-nav button:hover,
.const-list-nav button.is-active {
  background: #eeecff;
  color: #533afd;
}

.const-list-nav button b {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #533afd;
  font-size: 14px;
}

.const-list-nav a {
  margin-top: 10px;
  border-top: 1px solid #e3e8ee;
  border-radius: 0;
  padding-top: 16px;
  color: #533afd;
}

.const-event-list {
  display: grid;
  gap: 12px;
}

.const-event-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: #fff;
}

.const-event-row:hover {
  border-color: #b9b9f9;
  box-shadow: 0 12px 28px rgba(0, 55, 112, .06);
}

.const-event-date {
  width: 76px;
  height: 86px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 10px;
  background: #eeecff;
  color: #533afd;
  overflow: hidden;
}

.const-event-date b {
  font-size: 20px;
  font-weight: 400;
}

.const-event-date small {
  margin-top: 5px;
  color: inherit;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.const-event-date.orange-date {
  background: #fff0df;
  color: #b85b1e;
}

.const-event-date.green-date {
  background: #e9f5ef;
  color: #16734d;
}

.const-event-date.has-photo {
  position: relative;
  background: #0d253d;
}

.const-event-date.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.const-event-date.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(13, 37, 61, .74));
}

.const-event-date.has-photo small {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  color: #fff;
}

.const-event-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.const-event-info>strong {
  margin-top: 8px;
  color: #0d253d;
  font-size: 20px;
  font-weight: 350;
  letter-spacing: -.02em;
}

.const-event-info>small {
  margin-top: 5px;
  color: #533afd;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.const-event-info p {
  margin-top: 8px;
  color: #64748d;
  font-size: 14px;
}

.const-event-row>em {
  color: #533afd;
  font-size: 14px;
  font-style: normal;
  white-space: nowrap;
}

.const-empty {
  padding: 60px 24px;
  border: 1px dashed #d7dee7;
  border-radius: 12px;
  text-align: center;
}

.const-empty strong,
.const-empty span {
  display: block;
}

.const-empty strong {
  color: #0d253d;
  font-size: 16px;
  font-weight: 450;
}

.const-empty span {
  margin-top: 7px;
  color: #64748d;
  font-size: 14px;
}

.const-app-cta {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 64px;
}

.grassroots-banner {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 15px 18px;
  border: 1px solid #d8e8df;
  border-radius: 11px;
  background: rgba(243, 250, 246, .86);
}

.grassroots-banner>i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0f3e8;
  color: #16734d;
  font-style: normal;
}

.grassroots-banner>span {
  display: flex;
  flex-direction: column;
}

.grassroots-banner strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.grassroots-banner small {
  margin-top: 3px;
  color: #64748d;
  font-size: 14px;
}

@media (max-width:760px) {
  .const-list-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .const-list-title label,
  .const-list-title select {
    width: 100%;
  }

  .const-list-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .const-list-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .const-list-nav>span,
  .const-list-nav a {
    width: 100%;
  }

  .const-event-row {
    grid-template-columns: 70px 1fr;
    gap: 14px;
  }

  .const-event-date {
    width: 66px;
    height: 76px;
  }

  .const-event-row>em {
    grid-column: 2;
  }

  .const-app-cta {
    width: calc(100% - 32px);
  }
}

@media (max-width:460px) {
  .const-event-row {
    grid-template-columns: 1fr;
  }

  .const-event-date {
    width: 100%;
    height: 90px;
  }

  .const-event-row>em {
    grid-column: 1;
  }
}

/* Grassroots leader event record */
.leader-event-detail main {
  background: #fff;
}

.leader-event-banner {
  min-height: 240px;
  background: radial-gradient(circle at 82% 12%, rgba(185, 185, 249, .95), transparent 34%), radial-gradient(circle at 18% 100%, rgba(83, 58, 253, .5), transparent 38%), linear-gradient(135deg, #5366ff, #2835d2);
}

.leader-event-banner .wrap {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 26px;
}

.leader-event-banner .crumbs {
  color: rgba(255, 255, 255, .55);
}

.leader-event-banner .crumbs a:hover {
  color: #fff;
}

.leader-ended-badge {
  width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #1c1e54;
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: .03em;
}

.leader-event-summary {
  padding: 42px 0;
  border-bottom: 1px solid #e3e8ee;
}

.leader-summary-grid {
  display: block;
}

.leader-theme {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #533afd;
  font-size: 14px;
  font-weight: 500;
}

.leader-theme i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(145deg, #63e76a, #05ad3f);
}

.leader-theme span {
  margin-left: 4px;
}

.leader-event-summary h1 {
  margin-top: 18px;
  color: #0d253d;
  font-size: clamp(2.35rem, 5.6vw, 4.8rem);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.055em;
}

.leader-event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-top: 26px;
}

.leader-event-facts>span,
.leader-event-facts>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #273951;
  font-size: 14px;
}

.leader-event-facts i {
  color: #98a4b6;
  font-style: normal;
}

.leader-event-facts b {
  font-weight: 450;
}

.leader-event-facts em {
  color: #533afd;
  font-size: 14px;
  font-style: normal;
}

.leader-event-body {
  padding: 52px 0 66px;
}

.leader-event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 54px;
  align-items: start;
}

.leader-event-main,
.leader-event-side {
  display: grid;
  gap: 34px;
}

.leader-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.leader-block-head h2 {
  color: #8a96a8;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.leader-block-head b {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #533afd;
  color: #fff;
  font-size: 14px;
}

.leader-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.leader-gallery>div {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  color: #fff;
}

.leader-gallery>div::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(13, 37, 61, .45));
}

.leader-gallery-blue {
  background: linear-gradient(145deg, #5769ff, #202ec5);
}

.leader-gallery-green {
  background: linear-gradient(145deg, #35c96d, #14773c);
}

.leader-gallery-orange {
  background: linear-gradient(145deg, #ffb640, #d73b1f);
}

.leader-gallery span {
  position: absolute;
  z-index: 1;
  left: 13px;
  bottom: 12px;
  font-size: 14px;
}

.leader-gallery i {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0d253d;
  font-style: normal;
}

.leader-about {
  padding: 24px;
  border: 1px solid #e3e8ee;
  border-radius: 13px;
}

.leader-about p {
  color: #273951;
  font-size: 14px;
  line-height: 1.65;
}

.leader-about p+p {
  margin-top: 14px;
}

.leader-about>small {
  display: block;
  margin-top: 20px;
  color: #98a4b6;
  font-size: 14px;
}

.leader-about>small a {
  color: #533afd;
  text-decoration: underline;
}

.leader-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.leader-outcomes span {
  padding: 12px;
  border-radius: 9px;
  background: #f6f9fc;
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.leader-outcomes b {
  display: block;
  margin-bottom: 5px;
  color: #533afd;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.03em;
}

.leader-coverage {
  overflow: hidden;
  border-radius: 12px;
  background: #f6f9fc;
}

.leader-coverage article {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
}

.leader-coverage article+article {
  border-top: 1px solid #e3e8ee;
}

.leader-coverage i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dee7;
  border-radius: 9px;
  background: #fff;
  color: #64748d;
  font-style: normal;
}

.leader-coverage span {
  display: flex;
  flex-direction: column;
}

.leader-coverage strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.leader-coverage small {
  margin-top: 3px;
  color: #98a4b6;
  font-size: 14px;
}

.leader-impact {
  padding: 24px;
  border-radius: 13px;
  background: #f6f9fc;
}

.leader-block-head>span {
  color: #98a4b6;
  font-size: 14px;
}

.leader-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.leader-impact-grid article {
  min-height: 140px;
  padding: 16px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #fff;
}

.leader-impact-grid small {
  color: #16734d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.leader-impact-grid strong {
  display: block;
  margin-top: 13px;
  color: #533afd;
  font-size: 30px;
  font-weight: 350;
  letter-spacing: -.04em;
}

.leader-impact-grid p {
  margin-top: 7px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.45;
}

.impact-method {
  margin-top: 12px;
  color: #98a4b6;
  font-size: 14px;
}

.impact-report-file {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #d8d3ff;
  border-radius: 10px;
  background: #fff;
}

.impact-report-file>i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-style: normal;
  font-weight: 650;
}

.impact-report-file>span {
  display: flex;
  flex-direction: column;
}

.impact-report-file strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.impact-report-file small {
  margin-top: 3px;
  color: #98a4b6;
  font-size: 14px;
}

.impact-report-file>b {
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}

.leader-hosts {
  overflow: hidden;
  border-radius: 12px;
  background: #f6f9fc;
}

.leader-hosts>div {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
}

.leader-hosts>div+div {
  border-top: 1px solid #e3e8ee;
}

.leader-hosts>div>span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.leader-hosts strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.leader-hosts small {
  margin-top: 2px;
  color: #98a4b6;
  font-size: 14px;
}

.leader-hosts>div>i {
  padding: 5px 7px;
  border-radius: 999px;
  background: #eef1f5;
  color: #7d8999;
  font-size: 14px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width:800px) {
  .leader-event-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width:600px) {

  .leader-event-banner,
  .leader-event-banner .wrap {
    min-height: 190px;
  }

  .leader-event-summary {
    padding: 34px 0;
  }

  .leader-event-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .leader-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .leader-gallery>div {
    min-width: 76%;
    min-height: 170px;
    scroll-snap-align: start;
  }

  .leader-outcomes {
    grid-template-columns: 1fr;
  }

  .leader-impact-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual monthly theme records */
.theme-detail-page main {
  background: #fff;
}

.theme-showcase-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-bottom: 1px solid #e3e8ee;
  background: radial-gradient(circle at 50% 52%, #fff 0, #fff 30%, rgba(244, 241, 255, .55) 62%, #fff 100%);
}

.theme-showcase-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#dbe1eb 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .24;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.theme-showcase-crumbs {
  position: absolute;
  z-index: 4;
  top: 28px;
  left: max(24px, calc((100% - 1120px)/2));
}

.theme-showcase-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(560px, 70vw);
  transform: translate(-50%, -50%);
  text-align: center;
}

.theme-detail-state {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e9f5ef;
  color: #16734d;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.theme-showcase-copy h1 {
  margin-top: 18px;
  color: #0d253d;
  font-size: clamp(3.4rem, 7vw, 7.1rem);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -.065em;
}

.theme-showcase-copy>p {
  margin-top: 18px;
  background: linear-gradient(90deg, #cf2b9d, #ff6a38, #e7a520);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 450;
  letter-spacing: -.035em;
}

.theme-showcase-copy>small {
  display: block;
  max-width: 46ch;
  margin: 20px auto 0;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

.theme-float {
  position: absolute;
  z-index: 2;
  width: 142px;
  height: 142px;
  padding: 8px;
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(13, 37, 61, .16);
  animation: themeFloatDrift 10s var(--ease) infinite;
}

.theme-float img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.theme-float-1 {
  top: 82px;
  left: 7%;
  --rotate: -3deg;
  animation-duration: 9s;
  animation-delay: -1s;
}

.theme-float-2 {
  top: 58px;
  right: 9%;
  width: 176px;
  height: 125px;
  --rotate: 3deg;
  animation-duration: 11s;
  animation-delay: -4s;
}

.theme-float-3 {
  top: 300px;
  left: 3%;
  width: 118px;
  height: 150px;
  --rotate: 2deg;
  animation-duration: 9.5s;
  animation-delay: -6s;
}

.theme-float-4 {
  top: 285px;
  right: 4%;
  width: 150px;
  height: 150px;
  --rotate: -2deg;
  animation-duration: 10.5s;
  animation-delay: -2.5s;
}

.theme-float-5 {
  bottom: 36px;
  left: 15%;
  width: 126px;
  height: 150px;
  --rotate: 2deg;
  animation-duration: 8.5s;
  animation-delay: -5s;
}

.theme-float-6 {
  right: 16%;
  bottom: 32px;
  width: 128px;
  height: 152px;
  --rotate: -3deg;
  animation-duration: 10s;
  animation-delay: -3.5s;
}

@keyframes themeFloatDrift {
  0% {
    transform: translate(0, 0) rotate(var(--rotate, 0deg));
  }

  25% {
    transform: translate(5px, -7px) rotate(calc(var(--rotate, 0deg) + .6deg));
  }

  50% {
    transform: translate(-4px, 3px) rotate(var(--rotate, 0deg));
  }

  75% {
    transform: translate(-6px, -4px) rotate(calc(var(--rotate, 0deg) - .6deg));
  }

  100% {
    transform: translate(0, 0) rotate(var(--rotate, 0deg));
  }
}

.theme-detail-section {
  padding: 72px 0;
}

.theme-detail-section+.theme-detail-section {
  border-top: 1px solid #e3e8ee;
}

.theme-detail-page .kicker {
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.theme-detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.theme-detail-heading h2,
.theme-rationale-layout h2,
.theme-report-layout h2 {
  margin-top: 10px;
  max-width: 15ch;
  color: #0d253d;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.05em;
}

.theme-detail-heading>p {
  max-width: 38ch;
  color: #64748d;
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.theme-rollup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.theme-rollup-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  background: #fff;
}

.theme-rollup-card strong {
  color: #533afd;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.055em;
}

.theme-rollup-card span {
  margin-top: 12px;
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.theme-data-note {
  margin-top: 12px;
  color: #98a4b6;
  font-size: 14px;
}

.theme-launch-event-section {
  background: #f6f9fc;
}

.theme-launch-event-card {
  width: min(100%, 1040px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  min-height: 400px;
  overflow: hidden;
  margin-inline: auto;
  border: 1px solid #dfe5ec;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  box-shadow: 0 18px 46px rgba(13, 37, 61, .07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.theme-launch-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(13, 37, 61, .13);
}

.theme-launch-event-card figure {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  margin: 0;
  background: #1c1e54;
}

.theme-launch-event-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(13, 37, 61, .48));
}

.theme-launch-event-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 28%;
  transition: transform .6s var(--ease);
}

.theme-launch-event-card:hover figure img {
  transform: scale(1.025);
}

.theme-launch-event-card figure span {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #533afd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.theme-launch-event-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.theme-launch-event-copy>span {
  color: #533afd;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.theme-launch-event-copy h3 {
  max-width: 15ch;
  margin-top: 16px;
  color: #0d253d;
  font-size: clamp(1.9rem, 2.7vw, 2.75rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.045em;
}

.theme-launch-event-copy p {
  margin-top: 18px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.68;
}

.theme-launch-event-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
  list-style: none;
}

.theme-launch-event-copy li {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eeecff;
  color: #533afd;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.theme-launch-event-copy>b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #e3e8ee;
  color: #0d253d;
  font-size: 14px;
  font-weight: 600;
}

.theme-launch-event-copy>b i {
  color: #533afd;
  font-size: 17px;
  font-style: normal;
  transition: transform .2s ease;
}

.theme-launch-event-card:hover .theme-launch-event-copy>b i {
  transform: translate(3px, -3px);
}

@media (max-width:760px) {
  .theme-launch-event-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .theme-launch-event-card figure {
    min-height: 300px;
  }

  .theme-launch-event-card figure span {
    left: 50%;
    width: max-content;
    max-width: calc(100% - 40px);
    transform: translateX(-50%);
    text-align: center;
  }

  .theme-launch-event-copy {
    padding: 30px 24px 34px;
  }
}

.theme-report-band {
  background: linear-gradient(135deg, #f3f1ff, #f6f9fc);
}

.theme-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 70px;
  align-items: start;
}

.theme-report-layout>div>p {
  max-width: 64ch;
  margin-top: 20px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.7;
}

.theme-report-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.theme-report-points p {
  padding: 12px 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .72);
  color: #273951;
  font-size: 14px;
}

.theme-sdg-panel {
  padding: 24px;
  border: 1px solid #d8d3ff;
  border-radius: 14px;
  background: #fff;
}

.theme-sdg-panel>span {
  color: #98a4b6;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.theme-sdg-panel>div {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.theme-sdg-panel>div>span {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 9px;
  background: #f6f9fc;
  color: #273951;
  font-size: 14px;
}

.theme-sdg-panel b {
  color: #533afd;
  font-weight: 650;
}

.theme-media-wall {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.theme-media-wall figure,
.theme-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #eef1f5;
}

.theme-media-wall figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-media-wall figure::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(13, 37, 61, .72));
}

.theme-media-wall figcaption {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 14px;
}

.theme-media-large {
  grid-row: 1/3;
}

.theme-video-card {
  grid-column: 2/4;
  display: block;
  width: 100%;
  text-align: left;
  background: #0d253d;
}

.theme-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .5s ease, opacity .3s ease;
}

.theme-video-card:hover img {
  transform: scale(1.03);
  opacity: .92;
}

.theme-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(13, 37, 61, .82));
}

.theme-video-card>span {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
}

.theme-video-card small {
  color: #b9b9f9;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.theme-video-card strong {
  margin-top: 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.theme-rationale-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 72px;
  align-items: start;
}

.theme-lead {
  max-width: 62ch;
  margin-top: 24px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.75;
}

.theme-decision-card {
  padding: 24px;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  background: #f6f9fc;
}

.theme-decision-card>span {
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.theme-decision-card>div {
  margin-top: 14px;
}

.theme-decision-card p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 13px 0;
}

.theme-decision-card p+p {
  border-top: 1px solid #e3e8ee;
}

.theme-decision-card p>b {
  color: #b9b9f9;
  font-size: 14px;
  font-weight: 450;
}

.theme-decision-card p>span {
  display: flex;
  flex-direction: column;
}

.theme-decision-card strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.theme-decision-card small {
  margin-top: 4px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.45;
}

.theme-pain-section {
  background: #f8fafc;
}

.theme-pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.theme-pain-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: #fff;
}

.theme-pain-card+.theme-pain-card {
  border-left: 1px solid #e3e8ee;
}

.theme-pain-card>b {
  color: #9f9af7;
  font-size: 14px;
  font-weight: 500;
}

.theme-pain-card>strong {
  display: block;
  margin: 0;
  color: #0d253d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.theme-sdg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border-radius: 14px;
  background: #0d253d;
}

.theme-sdg-row h3 {
  margin-top: 8px;
  color: #fff;
  font-size: 23px;
  font-weight: 350;
}

.theme-sdg-row>div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.theme-sdg-row>div:last-child span {
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 14px;
}

.theme-sdg-row b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #533afd;
  font-size: 14px;
}

.theme-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.theme-format-grid article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-content: center;
  gap: 4px 10px;
  padding: 16px;
  border: 1px solid #e3e8ee;
  border-radius: 11px;
  background: #fff;
}

.theme-format-grid i {
  grid-row: 1/3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-style: normal;
}

.theme-format-grid strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.theme-format-grid span {
  color: #98a4b6;
  font-size: 14px;
}

.theme-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.theme-action-row a {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border-radius: 14px;
  background: #0d253d;
}

.theme-action-row a:last-child {
  background: linear-gradient(135deg, #533afd, #7461ff);
}

.theme-action-row span {
  color: #b9b9f9;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.theme-action-row strong {
  margin-top: 12px;
  max-width: 30ch;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
}

.theme-action-row b {
  margin-top: auto;
  color: #fff;
  font-size: 14px;
  font-weight: 550;
}

.theme-month-navigation {
  padding: 34px 0 60px;
  border-top: 1px solid #e3e8ee;
  background: #f6f9fc;
}

.theme-month-navigation .wrap>span {
  color: #98a4b6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.theme-month-navigation .wrap>div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.theme-month-navigation a {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid #e3e8ee;
  border-radius: 9px;
  background: #fff;
}

.theme-month-navigation a.is-active {
  border-color: #b9b9f9;
  background: #eeecff;
}

.theme-month-navigation small {
  color: #533afd;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.theme-month-navigation strong {
  margin-top: 5px;
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

/* Completed-theme report: message + chapter nav + learnings, on-brand (indigo/navy, no green) */
.theme-message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: 60px;
  align-items: center;
}

.theme-message-layout h2 {
  margin-top: 14px;
  max-width: 16ch;
  color: #0d253d;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.theme-message-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  background: #0d253d;
  box-shadow: 0 30px 60px rgba(13, 37, 61, .22);
}

.theme-message-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .5s ease, opacity .3s ease;
}

.theme-message-video:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.theme-message-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(13, 37, 61, .82));
}

.theme-message-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: #533afd;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 14px 30px rgba(13, 37, 61, .35);
  transition: transform .2s ease, background .2s ease;
}

.theme-message-video:hover .theme-message-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #533afd;
  color: #fff;
}

.theme-message-caption {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  color: #fff;
  text-align: left;
}

.theme-message-caption small {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.theme-message-caption strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
}

.theme-explore-band {
  background: #0d253d;
  color: rgba(255, 255, 255, .7);
}

.theme-explore-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.theme-explore-layout .kicker {
  color: #b9b9f9;
}

.theme-explore-layout h2 {
  margin-top: 14px;
  max-width: 14ch;
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.theme-explore-list {
  display: flex;
  flex-direction: column;
}

.theme-explore-list a {
  display: grid;
  grid-template-columns: 90px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  transition: background var(--t-fast) var(--ease), padding var(--t-fast) var(--ease);
}

.theme-explore-list a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.theme-explore-list a:hover {
  background: rgba(255, 255, 255, .05);
  padding-inline: 14px;
}

.theme-explore-list a>span {
  color: #b9b9f9;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.theme-explore-list a>strong {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.theme-explore-list a>b {
  color: #533afd;
  font-weight: 400;
  transition: transform var(--t-fast) var(--ease);
}

.theme-explore-list a:hover>b {
  transform: translateY(3px);
}

.theme-learnings-section {
  background: #f8fafc;
}

/* Gates Goalkeepers-style target-vs-actual bar */
.theme-goal-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e3e8ee;
}

.theme-goal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.theme-goal-head>div>span {
  display: block;
  color: #98a4b6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.theme-goal-head>div>strong {
  display: block;
  margin-top: 8px;
  color: #0d253d;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -.03em;
}

.theme-goal-pct {
  padding: 8px 14px;
  border-radius: 999px;
  background: #e9f5ef;
  color: #16734d;
  font-size: 14px;
  font-weight: 650;
}

.theme-goal-bar {
  position: relative;
  height: 14px;
  margin-top: 26px;
  border-radius: 999px;
  background: #eef1f5;
  overflow: visible;
}

.theme-goal-bar i {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #533afd, #7461ff);
  transition: width 1s var(--ease);
}

.theme-goal-marker {
  position: absolute;
  top: -10px;
  left: 0;
  width: 2px;
  height: 34px;
  background: #0d253d;
}

.theme-goal-marker small {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #0d253d;
  font-size: 14px;
  font-weight: 600;
}

.theme-goal-note {
  max-width: 70ch;
  margin-top: 36px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

/* Rockefeller-style rotating lesson slider */
.theme-lessons-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.theme-lessons-layout h3 {
  margin-top: 10px;
  max-width: 16ch;
  color: #0d253d;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.theme-lesson-slider article {
  min-height: 230px;
  padding: 32px;
  border-radius: 18px;
  background: #0d253d;
}

.theme-lesson-slider article small {
  color: #b9b9f9;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.theme-lesson-slider article strong {
  display: block;
  margin-top: 20px;
  max-width: 26ch;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.theme-lesson-slider article p {
  margin-top: 14px;
  max-width: 52ch;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.6;
}

.theme-lesson-slider>div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}

.theme-lesson-slider button {
  width: 38px;
  height: 38px;
  border: 1px solid #d7dee7;
  border-radius: 50%;
  color: #0d253d;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.theme-lesson-slider button:hover {
  border-color: #533afd;
  background: #f2f0ff;
}

.theme-lesson-slider>div span {
  color: #64748d;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

@media (max-width:760px) {
  .theme-lessons-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .theme-goal-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.theme-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.theme-gallery-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f5;
}

.theme-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.theme-gallery-grid figure:hover img {
  transform: scale(1.06);
}

.theme-gallery-grid.is-collapsed .theme-gallery-extra {
  display: none;
}

.theme-gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.theme-gallery-actions .btn {
  min-width: 170px;
  justify-content: center;
}

.theme-sdg-showcase {
  padding: 72px 0;
  background: #f0f1f4;
}

.theme-sdg-showcase-card {
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.theme-sdg-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.theme-sdg-showcase-label {
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.theme-sdg-showcase-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-sdg-showcase-label em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e2f4e9;
  color: #16734d;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .08em;
}

.theme-sdg-showcase-label em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1f9b62;
  box-shadow: 0 0 0 4px rgba(31, 155, 98, .12);
}

.theme-sdg-showcase-label em.is-upcoming {
  background: #fff2dd;
  color: #9d5b12;
}

.theme-sdg-showcase-label em.is-upcoming i {
  background: #d78220;
  box-shadow: 0 0 0 4px rgba(215, 130, 32, .12);
}

.theme-sdg-showcase-head h2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  max-width: 15ch;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.05em;
}

.theme-sdg-showcase-head h2 span {
  width: max-content;
  max-width: 100%;
  color: #0d253d;
  background: none;
}

.theme-sdg-showcase-count {
  display: flex;
  align-items: baseline;
  align-self: center;
  margin-top: 70px;
  color: #000;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.theme-sdg-showcase-count strong {
  color: #8d68da;
  font-size: clamp(2.6rem, 3.5vw, 4.2rem);
  font-weight: 700;
}

.theme-sdg-showcase-count span {
  font-size: clamp(1.45rem, 1.8vw, 2.15rem);
  font-weight: 650;
}

.theme-sdg-showcase-scroll {
  margin-top: 46px;
}

.theme-sdg-showcase-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
}

.theme-sdg-card {
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  opacity: .14;
}

.theme-sdg-card.is-active {
  opacity: 1;
}

.theme-sdg-showcase-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-sdg-caption {
  margin-top: 20px;
  color: #747d8e;
  font-size: 12px;
  line-height: 1.55;
}

.theme-sdg-showcase-planned {
  border-block: 1px solid #dfe2e8;
}

@media (max-width:980px) {
  .theme-sdg-showcase-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width:760px) {
  .theme-sdg-showcase {
    padding: 48px 0;
  }

  .theme-sdg-showcase-card {
    padding: 0;
    border-radius: 0;
  }

  /* Root cause of the horizontal overflow reported on the SDG showcase
     below ~417px: the desktop rule above (line ~3077) correctly uses
     minmax(0,1fr) so its grid item can shrink past its content's
     min-content size. This mobile override dropped the minmax(0, ...) and
     used a bare 1fr, which falls back to the grid default min-width:auto
     -- so the item's minimum became its content's min-content width. That
     content includes a single unbreakable Tamil compound word
     ("நடவடிக்கைகளும்", no internal space to wrap on), so the column (and
     everything sharing it -- label, badge, h2, count) was forced ~26px
     wider than the actual 350px-wide container, confirmed via CDP box
     inspection. Restoring minmax(0, ...) matches the desktop pattern and
     lets the column -- and the long word inside it, via the site-wide
     Tamil overflow-wrap:break-word rule -- actually shrink to fit. */
  .theme-sdg-showcase-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .theme-sdg-showcase-head h2 {
    margin-top: 10px;
    font-size: 2.3rem;
  }

  .theme-sdg-showcase-count {
    margin-top: 0;
  }

  .theme-sdg-showcase-scroll {
    margin-top: 32px;
  }

  .theme-sdg-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

.theme-sdg-dashboard {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background: #f6f9fc;
  border: 1px solid #e3e8ee;
}

.theme-sdg-dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.theme-sdg-dashboard-head h3 {
  margin-top: 8px;
  max-width: 20ch;
  color: #0d253d;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.theme-sdg-dashboard-count {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 300;
  color: #533afd;
  letter-spacing: -.03em;
}

.theme-sdg-dashboard-count small {
  font-size: .95rem;
  font-weight: 500;
  color: #98a4b6;
}

.theme-sdg-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.theme-sdg-tile {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  opacity: .25;
  filter: grayscale(1);
  transition: opacity var(--t-fast) var(--ease), filter var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  cursor: default;
}

.theme-sdg-tile[title] {
  cursor: help;
}

.theme-sdg-tile.is-active {
  opacity: 1;
  filter: grayscale(0);
  box-shadow: 0 6px 16px rgba(13, 37, 61, .18);
}

.theme-sdg-tile.is-active:hover {
  transform: translateY(-3px);
}

.theme-download-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #dfd2bc;
  border-radius: 6px 28px 8px 20px;
  overflow: hidden;
  background: #f2e9d8;
  color: #536073;
  box-shadow: 0 18px 48px rgba(48, 55, 67, .08);
}

.theme-download-band::before {
  content: "";
  position: absolute;
  top: -68px;
  right: -46px;
  width: 170px;
  height: 138px;
  border-radius: 42% 0 48% 55%;
  background: #db654c;
  transform: rotate(8deg);
  opacity: .9;
}

.theme-download-band::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 47%;
  width: 108px;
  height: 34px;
  background: #e3b447;
  transform: rotate(-4deg);
  opacity: .78;
}

.theme-download-band>* {
  position: relative;
  z-index: 1;
}

.theme-download-figure {
  margin: 0;
  transform: rotate(-1.15deg);
}

.theme-download-figure img {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
  object-fit: cover;
  object-position: center 28%;
  border: 7px solid #fff;
  border-radius: 5px 18px 6px 12px;
  box-shadow: 0 22px 45px rgba(28, 44, 56, .18);
}

.theme-download-figure figcaption {
  margin: 9px 8px 0;
  color: #687568;
  font-size: 11px;
  font-style: italic;
}

.theme-download-copy {
  padding: clamp(18px, 2vw, 32px) clamp(10px, 2vw, 28px) clamp(18px, 2vw, 32px) 0;
}

.theme-download-copy .kicker {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid #d45e48;
  color: #1f6e52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.theme-download-copy h2 {
  margin-top: 22px;
  max-width: 13ch;
  color: #132d3f;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 320;
  line-height: .95;
  letter-spacing: -.055em;
}

.theme-download-copy p {
  max-width: 45ch;
  margin-top: 22px;
  color: #536073;
  font-size: 15px;
  line-height: 1.65;
}

.theme-download-copy .btn {
  min-height: 46px;
  margin-top: 26px;
  padding-inline: 19px;
  border: 1px solid #173f54;
  border-radius: 7px 13px 7px 11px;
  background: #173f54;
  color: #fff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}

.theme-download-copy .btn:hover {
  border-color: #1f6e52;
  background: #1f6e52;
  color: #fff;
  transform: translateY(-2px) rotate(-.25deg);
}

.theme-download-copy>small {
  display: block;
  margin-top: 11px;
  color: #7b857b;
  font-size: 11px;
}

/* Planned/current theme: message, why-it-matters, strategy, featured events, toolkit */
.theme-matters-section {
  background: #f8fafc;
}

.theme-matters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.theme-matters-grid>div {
  padding: 22px;
  border-radius: 14px;
  background: #0d253d;
}

.theme-matters-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -.03em;
}

.theme-matters-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.4;
}

.theme-matters-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 16px;
  margin-top: 32px;
  align-items: stretch;
}

.theme-hero-stat {
  padding: 32px;
  border-radius: 16px;
  background: #0d253d;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theme-hero-stat strong {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -.03em;
}

.theme-hero-stat p {
  margin: 10px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.5;
}

.theme-hero-stat small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .44);
  font-size: 14px;
  line-height: 1.5;
}

.theme-goal-quote {
  margin: 0;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eeecff, #f6f9fc);
  border: 1px solid #d8d3ff;
  display: flex;
  align-items: center;
  color: #0d253d;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.theme-events-empty {
  padding: 40px;
  border: 1px dashed var(--c-line-hard);
  border-radius: 12px;
  text-align: center;
  color: #64748d;
  font-size: 14px;
}

.theme-toolkit-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
  padding: clamp(40px, 5vw, 66px);
  border: 1px solid #dfd2bc;
  border-radius: 5px 28px 7px 20px;
  overflow: hidden;
  background: #f2e9d8;
  color: #546173;
  box-shadow: 0 18px 48px rgba(48, 55, 67, .08);
}

.theme-toolkit-band::before {
  content: "";
  position: absolute;
  top: -76px;
  right: -54px;
  width: 180px;
  height: 150px;
  border-radius: 42% 0 48% 55%;
  background: #db654c;
  transform: rotate(7deg);
  opacity: .9;
}

.theme-toolkit-band::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 36%;
  width: 112px;
  height: 42px;
  background: #e3b447;
  transform: rotate(-4deg);
  opacity: .75;
}

.theme-toolkit-band>* {
  position: relative;
  z-index: 1;
}

.theme-toolkit-label {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid #d45e48;
  color: #1f6e52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.theme-toolkit-band h2 {
  max-width: 13ch;
  margin-top: 22px;
  color: #132d3f;
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  font-weight: 320;
  line-height: .94;
  letter-spacing: -.055em;
}

.theme-toolkit-band p {
  max-width: 45ch;
  margin-top: 22px;
  color: #536073;
  font-size: 15px;
  line-height: 1.65;
}

.theme-toolkit-cta {
  width: max-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding: 0 17px;
  border: 1px solid #173f54;
  border-radius: 7px 13px 7px 11px;
  background: #173f54;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.theme-toolkit-cta span {
  transition: transform .2s ease;
}

.theme-toolkit-cta:hover {
  border-color: #1f6e52;
  background: #1f6e52;
  transform: translateY(-2px) rotate(-.25deg);
}

.theme-toolkit-cta:hover span {
  transform: translateX(3px);
}

.theme-toolkit-visual {
  position: relative;
  min-height: 480px;
}

.theme-toolkit-sheet {
  position: absolute;
  margin: 0;
  padding: 7px 7px 0;
  border: 1px solid #e0d7c9;
  border-radius: 5px 12px 5px 9px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(40, 53, 64, .16);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.theme-toolkit-sheet figcaption {
  padding: 8px 2px;
  color: #687568;
  font-size: 10px;
  text-align: center;
}

.theme-toolkit-sheet-main {
  left: 2%;
  bottom: 18px;
  width: 34%;
  transform: rotate(-2.2deg);
}

.theme-toolkit-sheet-status {
  top: 0;
  left: 33%;
  width: 36%;
  transform: rotate(1deg);
}

.theme-toolkit-sheet-social {
  right: 1%;
  bottom: 12px;
  width: 34%;
  transform: rotate(2.3deg);
}

.theme-toolkit-sheet:hover {
  z-index: 3;
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 25px 48px rgba(40, 53, 64, .22);
}

.theme-toolkit-art {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border-radius: 3px 8px 4px 6px;
}

.theme-toolkit-art>span {
  position: relative;
  z-index: 1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theme-toolkit-art>strong {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.theme-toolkit-art-poster {
  justify-content: flex-start;
  background: #173f54;
  color: #fff;
}

.theme-toolkit-art-poster::before {
  content: "";
  position: absolute;
  right: -34%;
  bottom: -7%;
  width: 125%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 52px rgba(255, 255, 255, .025);
}

.theme-toolkit-art-poster>span {
  color: #8bd9b5;
}

.theme-toolkit-art-poster>strong {
  max-width: 8ch;
  font-size: clamp(1rem, 1.7vw, 1.6rem);
}

.theme-toolkit-art-poster>i {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin-top: auto;
  border: 8px solid #e3b447;
  border-radius: 50% 50% 50% 12%;
  transform: rotate(-18deg);
}

.theme-toolkit-art-poster>small {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: rgba(255, 255, 255, .62);
  font-size: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.theme-toolkit-art-guide {
  background: #fffaf0;
  color: #173f54;
  box-shadow: inset 0 0 0 1px #e9dfce;
}

.theme-toolkit-art-guide::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 100%;
  background: #db654c;
}

.theme-toolkit-art-guide>span {
  color: #d45e48;
}

.theme-toolkit-art-guide>strong {
  max-width: 8ch;
  font-size: clamp(1.05rem, 1.8vw, 1.75rem);
}

.theme-toolkit-art-guide ol {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.theme-toolkit-art-guide li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-top: 1px solid #e4dac9;
  color: #536073;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.theme-toolkit-art-guide li b {
  color: #d45e48;
  font-size: 8px;
  font-weight: 650;
}

.theme-toolkit-art-copy {
  justify-content: flex-start;
  background: #ece9ff;
  color: #1c1e54;
}

.theme-toolkit-art-copy::before {
  content: "";
  position: absolute;
  top: -38px;
  right: -32px;
  width: 110px;
  height: 100px;
  border-radius: 46% 54% 40% 60%;
  background: #f1bc4d;
  transform: rotate(15deg);
  opacity: .9;
}

.theme-toolkit-art-copy>span {
  color: #533afd;
}

.theme-toolkit-art-copy>strong {
  max-width: 9ch;
  font-size: clamp(1rem, 1.7vw, 1.55rem);
}

.theme-toolkit-art-copy>div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.theme-toolkit-art-copy>div small {
  padding: 5px 7px;
  border-radius: 999px;
  background: #fff;
  color: #533afd;
  font-size: 7px;
  font-weight: 650;
}

.theme-toolkit-art-copy>em {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: #77729a;
  font-size: 7px;
  font-style: normal;
  line-height: 1.35;
}

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

  .theme-download-band {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 20px 18px 30px;
    border-radius: 4px 20px 5px 14px;
  }

  .theme-download-band::before {
    width: 110px;
    height: 96px;
  }

  .theme-download-band::after {
    left: 24%;
  }

  .theme-download-figure {
    width: 100%;
  }

  .theme-download-figure img {
    aspect-ratio: 16/10;
    border-width: 5px;
  }

  .theme-download-copy {
    padding: 0 4px;
  }

  .theme-download-copy h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .theme-download-copy p {
    font-size: 14px;
  }

  .theme-download-copy .btn {
    width: 100%;
    justify-content: center;
  }

  .theme-sdg-tile {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .theme-matters-grid,
  .theme-matters-split,
  .theme-toolkit-band {
    grid-template-columns: 1fr;
  }

  .theme-toolkit-band {
    gap: 32px;
    padding: 32px 20px 28px;
    border-radius: 4px 20px 5px 14px;
  }

  .theme-toolkit-band::before {
    width: 110px;
    height: 100px;
  }

  .theme-toolkit-band::after {
    left: 22%;
  }

  .theme-toolkit-band h2 {
    max-width: 16ch;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .theme-toolkit-band p {
    font-size: 14px;
  }

  .theme-toolkit-cta {
    width: 100%;
    justify-content: space-between;
  }

  .theme-toolkit-visual {
    min-height: 370px;
  }

  .theme-toolkit-sheet-main {
    left: 0;
    width: 38%;
  }

  .theme-toolkit-sheet-status {
    left: 31%;
    width: 40%;
  }

  .theme-toolkit-sheet-social {
    right: 0;
    width: 38%;
  }
}

/* Reusable click-to-open video lightbox */
.video-trigger {
  position: relative;
  display: block;
  cursor: pointer;
}

.video-trigger .video-trigger-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: #533afd;
  display: grid;
  place-items: center;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(13, 37, 61, .3);
  transition: transform .2s ease, background .2s ease;
}

.video-trigger:hover .video-trigger-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #533afd;
  color: #fff;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(11, 15, 25, .88);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .2s ease;
}

.video-modal.is-on {
  display: flex;
  opacity: 1;
}

.video-modal-inner {
  position: relative;
  width: min(960px, 100%);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
}

.video-modal-frame video,
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-modal-title {
  margin-top: 14px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  text-align: center;
}

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

.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background .2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, .24);
}

.theme-gallery-grid img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(11, 15, 25, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .2s ease;
}

.image-lightbox.is-on {
  display: flex;
  opacity: 1;
}

.image-lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-lightbox-frame {
  position: relative;
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-frame img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  object-fit: contain;
}

.image-lightbox-caption {
  margin-top: 14px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  text-align: center;
  max-width: 70ch;
}

.image-lightbox-caption[hidden] {
  display: none;
}

.image-lightbox-counter {
  margin-top: 6px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.image-lightbox-close,
.image-lightbox-prev,
.image-lightbox-next {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}

.image-lightbox-close:hover,
.image-lightbox-prev:hover,
.image-lightbox-next:hover {
  background: rgba(255, 255, 255, .24);
}

.image-lightbox-close {
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.image-lightbox-prev,
.image-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.image-lightbox-prev {
  left: 16px;
}

.image-lightbox-next {
  right: 16px;
}

@media (max-width:760px) {

  .theme-message-layout,
  .theme-explore-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .theme-explore-list a {
    grid-template-columns: 70px 1fr 20px;
  }

  .video-modal-close {
    top: -42px;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .image-lightbox-prev {
    left: 6px;
  }

  .image-lightbox-next {
    right: 6px;
  }

  .image-lightbox-prev,
  .image-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width:900px) {

  .theme-float-3,
  .theme-float-4 {
    display: none;
  }

  .theme-float-1 {
    left: 4%;
  }

  .theme-float-2 {
    right: 4%;
  }

  .theme-float-5 {
    left: 7%;
  }

  .theme-float-6 {
    right: 7%;
  }

  .theme-rollup-grid {
    grid-template-columns: 1fr 1fr;
  }

  .theme-report-layout,
  .theme-rationale-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .theme-pain-grid {
    grid-template-columns: 1fr;
  }

  .theme-pain-card {
    min-height: auto;
    display: grid;
    /* minmax(0, 1fr), not a bare 1fr -- the base rule above (line ~13497)
       already gets this right; this mobile override dropped it, so the
       second column's implicit auto-minimum went back to sizing off
       .theme-pain-card>strong's min-content instead of the track's real
       width. Confirmed at 320px: "குறைவான பொதுமக்கள் பங்கேற்பு" and its
       sibling cards rendered ~11px wider than available and pushed the
       page into horizontal scroll. */
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 17px 18px;
  }

  .theme-pain-card+.theme-pain-card {
    border-left: 1px solid #e3e8ee;
  }

  .theme-media-wall {
    grid-template-columns: 1fr 1fr;
  }

  .theme-media-large {
    grid-row: auto;
  }

  .theme-video-card {
    grid-column: 1/3;
  }

  .theme-month-navigation .wrap>div {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:640px) {
  .theme-showcase-hero {
    min-height: 520px;
  }

  .theme-showcase-crumbs {
    left: 18px;
  }

  .theme-showcase-copy {
    width: 86vw;
  }

  .theme-float {
    width: 64px;
    height: 76px;
    padding: 4px;
    border-radius: 11px;
    opacity: .25;
  }

  .theme-float img {
    border-radius: 7px;
  }

  .theme-float-1 {
    top: 16px;
    left: 4%;
  }

  .theme-float-2 {
    top: 16px;
    right: 4%;
    width: 68px;
    height: 52px;
  }

  .theme-float-5 {
    bottom: 16px;
    left: 6%;
    width: 58px;
    height: 68px;
  }

  .theme-float-6 {
    right: 6%;
    bottom: 16px;
    width: 58px;
    height: 68px;
  }

  .theme-detail-section {
    padding: 52px 0;
  }

  .theme-detail-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .theme-detail-heading>p {
    text-align: left;
  }

  .theme-rollup-grid,
  .theme-pain-grid,
  .theme-format-grid,
  .theme-action-row,
  .theme-sdg-row {
    grid-template-columns: 1fr;
  }

  .theme-media-wall {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .theme-media-wall>* {
    min-width: 82%;
    height: 260px;
    scroll-snap-align: start;
  }

  .theme-sdg-row>div:last-child {
    justify-content: flex-start;
  }

  .theme-month-navigation .wrap>div {
    display: flex;
    overflow-x: auto;
  }

  .theme-month-navigation a {
    min-width: 130px;
  }
}

/* --------------------------------------------------------------------------
   APJ Centre for Polity, coming soon microsite
   -------------------------------------------------------------------------- */
.apj-coming-page {
  color: #f7fbff;
  background: #7896a2;
}

.apj-coming {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: clip;
  isolation: isolate;
  background: radial-gradient(circle at 50% 35%, rgba(224, 241, 244, .52), transparent 34%), linear-gradient(112deg, #627d86 0%, #83a4b0 52%, #9bbac6 100%);
}

.apj-coming::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 38, 48, .18), transparent 40%, rgba(223, 238, 242, .1)), radial-gradient(rgba(255, 255, 255, .28) .7px, transparent .7px);
  background-size: auto, 16px 16px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.apj-coming::after {
  content: "";
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #f3c0d8, #c8c7ff, #f2d4bd);
}

.apj-coming-nav {
  position: relative;
  z-index: 10;
  width: min(100%, 1600px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  margin: 0 auto;
  padding: 24px clamp(24px, 3.5vw, 58px);
}

.apj-coming-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #fff;
  line-height: 1;
}

.apj-coming-brand strong {
  color: #fff !important;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 650 !important;
  letter-spacing: -.06em;
}

.apj-coming-brand span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.apj-back-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: #fff;
  font-size: 14px;
}

.apj-back-link b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: #fff;
  font-weight: 400;
  transition: background .2s ease, color .2s ease;
}

.apj-back-link:hover b {
  background: #fff;
  color: #173343;
}

.apj-coming-stage {
  position: relative;
  width: min(100%, 1600px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 460px);
  grid-template-rows: clamp(110px, 11vw, 175px) minmax(420px, 1fr);
  grid-template-areas: "title title" ". copy";
  column-gap: clamp(38px, 5vw, 80px);
  margin: 0 auto;
  padding: clamp(12px, 2vh, 28px) clamp(24px, 3.5vw, 58px) 20px;
}

.apj-coming-stage>* {
  min-width: 0;
}

.apj-portrait-stage {
  position: absolute;
  z-index: 1;
  top: 78%;
  left: 50%;
  width: min(39vw, 580px);
  max-width: 100%;
  height: clamp(430px, 58vh, 650px);
  pointer-events: none;
  transform: translateX(-50%);
}

.apj-portrait-stage img {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  width: min(42vw, 540px);
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 35px 55px rgba(14, 36, 45, .24));
  transform: translateX(-50%);
  transform-origin: bottom center;
}

.apj-portrait-glow {
  position: absolute;
  z-index: 1;
  top: 13%;
  left: 50%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(242, 250, 252, .5);
  filter: blur(38px);
  transform: translateX(-50%);
}

.apj-orbit {
  position: absolute;
  z-index: 2;
  top: 5%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: apjOrbit 11s ease-in-out infinite alternate;
}

.apj-orbit-one {
  width: min(68%, 560px);
  aspect-ratio: 1;
}

.apj-orbit-two {
  top: 10%;
  width: min(55%, 450px);
  aspect-ratio: 1;
  animation-delay: -4s;
}

.apj-orbit-three {
  top: 17%;
  width: min(42%, 340px);
  aspect-ratio: 1;
  animation-delay: -7s;
}

@keyframes apjOrbit {
  to {
    transform: translateX(-50%) rotate(7deg) scale(1.035);
    border-color: rgba(255, 224, 237, .72);
  }
}

.apj-coming-title {
  position: relative;
  z-index: 2;
  grid-area: title;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 520px) minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  color: #fff;
  font-size: clamp(4.6rem, 6vw, 6.8rem);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -.075em;
  text-shadow: 0 3px 35px rgba(23, 51, 67, .13);
  pointer-events: none;
}

.apj-launch-word,
.apj-launch-date {
  position: relative;
  z-index: 5;
}

.apj-launch-word {
  grid-column: 1;
}

.apj-launch-date {
  grid-column: 3;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: .12em;
  font-size: .78em;
  white-space: nowrap;
  text-align: right;
}

.apj-launch-date small {
  font-size: .2em;
  font-weight: 550;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.apj-launch-date b {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* .apj-coming-title was missed by the site-wide Tamil h1 font-size list
   (confirmed by a mobile overflow crawl: at 390px the Tamil word ran ~100px
   past the viewport edge, clipped rather than wrapped). Two problems here:
   the title's giant clamp() is unscaled for Tamil, and .apj-launch-word
   sits in a grid/flex layout with align-self:flex-start/start, so it sizes
   to its own content's full width (no cross-axis stretch to constrain it)
   — max-width+overflow-wrap gives it an actual edge to wrap against. */
html[lang="ta"] .apj-coming-title {
  font-size: clamp(3.6rem, 5vw, 5.5rem);
}

html[lang="ta"] .apj-launch-word {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width:1100px) {
  html[lang="ta"] .apj-coming-title {
    font-size: clamp(3rem, 5.8vw, 3.9rem);
  }
}

@media (max-width:820px) {
  html[lang="ta"] .apj-coming-title {
    font-size: clamp(3.4rem, 10.5vw, 5rem);
  }
}

@media (max-width:520px) {
  html[lang="ta"] .apj-coming-title {
    font-size: clamp(2.8rem, 13vw, 3.9rem);
  }
}

.apj-coming-copy {
  position: relative;
  z-index: 4;
  grid-area: copy;
  align-self: center;
  width: 100%;
  max-width: min(470px, 100%);
  min-width: 0;
  margin: 0;
  padding-bottom: 3vh;
}

.apj-coming-kicker {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apj-coming-copy h2 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.apj-coming-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

.apj-notify-form {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.apj-notify-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 14px 18px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.apj-notify-form input::placeholder {
  color: rgba(255, 255, 255, .6);
}

.apj-notify-form button {
  flex: 0 0 auto;
  margin: 4px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: #173343;
  font-size: 14px;
  font-weight: 550;
  transition: transform .2s ease, background .2s ease;
}

.apj-notify-form button:hover {
  background: #edf7fa;
  transform: translateX(-2px);
}

.apj-notify-form button:disabled {
  opacity: .78;
}

.apj-coming-copy>small {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, .54);
  font-size: 11px;
}

.apj-coming-footer {
  position: relative;
  z-index: 6;
  width: min(100%, 1600px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  margin: 0 auto;
  padding: 14px clamp(24px, 3.5vw, 58px) 22px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.apj-coming-footer span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.apj-coming-footer i {
  font-size: 21px;
  font-style: normal;
}

@media (max-width:1100px) {
  .apj-coming-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, .75fr);
    grid-template-rows: clamp(105px, 12vw, 145px) minmax(420px, 1fr);
    column-gap: 28px;
    padding-top: 20px;
  }

  .apj-coming-title {
    grid-template-columns: minmax(0, 1fr) clamp(250px, 30vw, 350px) minmax(0, 1fr);
    font-size: clamp(3.8rem, 7vw, 4.8rem);
  }

  .apj-portrait-stage {
    width: min(46vw, 520px);
    height: clamp(430px, 55vh, 580px);
  }

  .apj-portrait-stage img {
    width: min(58vw, 520px);
  }

  .apj-coming-copy {
    padding-bottom: 0;
  }
}

@media (max-width:820px) {
  .apj-coming {
    display: block;
  }

  .apj-coming-nav {
    width: calc(100% - 32px);
    min-height: 76px;
    padding: 18px 0;
  }

  .apj-coming-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .apj-coming-brand strong {
    font-size: 2rem;
  }

  .apj-coming-brand span {
    font-size: 9px;
  }

  .apj-back-link b {
    width: 36px;
    height: 36px;
  }

  .apj-coming-stage {
    display: block;
    width: calc(100% - 32px);
    padding: 34px 0 52px;
  }

  .apj-coming-title {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    font-size: clamp(4.5rem, 13vw, 6.5rem);
    line-height: .82;
  }

  .apj-portrait-stage {
    position: relative;
    top: auto;
    left: auto;
    order: 2;
    width: 100%;
    max-width: 100%;
    height: min(70vw, 520px);
    margin: -4px 0 10px;
    overflow: hidden;
    transform: none;
  }

  .apj-launch-word {
    order: 1;
    align-self: flex-start;
  }

  .apj-launch-date {
    order: 3;
    align-self: flex-end;
    display: flex;
    font-size: .72em;
  }

  .apj-portrait-stage img {
    width: min(100%, 520px);
    transform: translateX(-50%);
  }

  .apj-coming-copy {
    width: min(100%, 620px);
    max-width: none;
    margin: 0 auto;
  }

  .apj-coming-copy h2 {
    max-width: 19ch;
    font-size: clamp(2rem, 5.5vw, 2.7rem);
  }

  .apj-coming-copy p {
    max-width: 62ch;
    font-size: 15px;
  }

  .apj-coming-footer {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 18px 0 28px;
  }
}

@media (max-width:520px) {
  .apj-back-link span {
    display: none;
  }

  .apj-coming-stage {
    padding: 24px 0 42px;
  }

  .apj-coming-title {
    font-size: clamp(3.8rem, 18vw, 5.2rem);
    line-height: .76;
  }

  .apj-launch-date {
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
    font-size: .65em;
    line-height: .86;
  }

  .apj-launch-date small {
    font-size: .28em;
  }

  .apj-portrait-stage {
    height: min(94vw, 380px);
    margin: 2px 0 16px;
  }

  .apj-portrait-stage img {
    width: min(100%, 430px);
    transform: translateX(-50%);
  }

  .apj-portrait-glow {
    top: 9%;
    width: 72%;
  }

  .apj-orbit-one {
    width: 88%;
  }

  .apj-orbit-two {
    width: 70%;
  }

  .apj-orbit-three {
    width: 52%;
  }

  .apj-coming-copy h2 {
    max-width: 16ch;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .apj-coming-copy p {
    font-size: 14px;
  }

  .apj-notify-form {
    align-items: stretch;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    backdrop-filter: none;
  }

  .apj-notify-form input {
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
  }

  .apj-notify-form button {
    min-height: 50px;
    margin: 9px 0 0;
  }

  .apj-coming-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0 26px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .apj-orbit {
    animation: none;
  }
}

/* Interactive impact report */
.impact-report-page {
  background: #fff;
}

@media (max-width:900px) {
  .impact-chapter-nav {
    overflow-x: auto;
    grid-template-columns: repeat(7, max-content);
  }

  .impact-chapter-nav>span {
    display: none;
  }

  .impact-hero-bottom,
  .impact-numbers-stage,
  .impact-learning-layout,
  .impact-story-layout,
  .impact-method-layout {
    grid-template-columns: 1fr;
  }

  .impact-report-hero,
  .impact-hero-inner {
    min-height: auto;
  }

  .impact-hero-inner {
    padding-bottom: 45px;
  }

  .impact-hero-media {
    height: 360px;
  }

  .impact-reach-layout {
    grid-template-columns: 150px 1fr;
  }

  .impact-reach-total {
    grid-column: 1/3;
    width: 100%;
  }

  .impact-story-layout figure {
    height: 440px;
  }

  .impact-stories.reverse .impact-story-layout>div {
    order: 0;
  }
}

@media (max-width:640px) {
  .impact-hero-title {
    margin-top: 50px;
  }

  .impact-hero-title h1 {
    font-size: 4.15rem;
  }

  .impact-hero-bottom {
    margin-top: 54px;
  }

  .impact-hero-media {
    height: 300px;
  }

  .impact-report-section {
    padding: 62px 0;
  }

  .impact-section-title.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .impact-chapter-grid {
    grid-template-columns: 1fr;
  }

  .impact-chapter-grid a {
    min-height: 240px;
  }

  .impact-reach-layout {
    grid-template-columns: 1fr;
  }

  .impact-region-controls {
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #dce3df;
  }

  .impact-region-controls button {
    white-space: nowrap;
  }

  .impact-region-stage {
    min-height: 420px;
    padding: 30px 18px;
  }

  .impact-reach-total {
    grid-column: 1;
    width: 100%;
  }

  .impact-numbers-visual {
    min-height: 380px;
  }

  .impact-metric-stack article {
    grid-template-columns: 120px 1fr;
  }

  .impact-metric-stack article>strong {
    font-size: 30px;
  }

  .impact-lesson-slider article {
    min-height: 360px;
    padding: 26px;
  }

  .impact-lesson-slider article strong {
    margin-top: 60px;
  }

  .impact-story-layout figure {
    height: 360px;
  }
}

/* Shared upcoming event record */
.upcoming-event-page main {
  background: #fff;
}

.upcoming-event-hero {
  min-height: 520px;
  background: radial-gradient(circle at 82% 14%, rgba(101, 225, 141, .32), transparent 30%), linear-gradient(135deg, #f3f1ff, #fff);
}

.upcoming-event-hero.is-anna {
  background: radial-gradient(circle at 82% 14%, rgba(255, 174, 91, .38), transparent 30%), linear-gradient(135deg, #eeecff, #fff);
}

.upcoming-event-hero .wrap {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 48px;
}

.upcoming-event-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: 48px;
  margin-top: auto;
}

.upcoming-event-image {
  min-height: 370px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 20px;
  background: #e3e8ee;
  box-shadow: 0 20px 45px rgba(13, 37, 61, .12);
}

/* Exception: Vaigai River Restoration Drive (see has-mobile-crop in
   upcoming-event-detail.js) -- its poster (assets/img/events/Madurai.png)
   is a 439x274 landscape image used at every width, not pre-cropped to
   this box's 4:5 frame like every other event's poster is. Matching the
   frame to the poster's own ratio at every width (not just below the
   mobile breakpoint) means there's nothing left for "cover"/"fill" to
   crop or stretch -- the poster renders at its native proportions,
   full-frame, with no zoom. min-height: 0 clears the base rule's
   min-height: 370px, which otherwise combines with this wide 439/274
   ratio to demand a ~593px preferred width (370 * 439/274) regardless of
   the column's actual share -- wide enough to overflow into the title
   column next to it (the same overflow the is-wide-photo/min-height:0
   fix upstream was tuned for). With that floor cleared, the column's own
   width drives the height via aspect-ratio instead of fighting it. */
.upcoming-event-image.has-mobile-crop {
  aspect-ratio: 439/274;
  min-height: 0;
  min-width: 0;
  min-width: 0;
}

.upcoming-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Opt-in for an event whose source photo isn't pre-cropped to this box's
   4:5 frame (see the imageFit toggle in upcoming-event-detail.js) -- a
   text-heavy poster graphic like this reads better stretched to fill the
   frame with nothing cropped than "cover" cropping its edges off. */
.upcoming-event-image img.is-fit-fill {
  object-fit: fill;
}

.upcoming-event-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 12px;
}

.upcoming-event-title>small {
  margin-top: 18px;
  color: #533afd;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.upcoming-event-title h1 {
  margin-top: 10px;
  max-width: 14ch;
  color: #0d253d;
  font-size: clamp(3rem, 6.5vw, 6.8rem);
  font-weight: 300;
  line-height: .88;
  letter-spacing: -.065em;
}

.upcoming-event-title>p {
  max-width: 62ch;
  margin-top: 18px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

.upcoming-event-summary {
  border-top: 1px solid #e3e8ee;
  border-bottom: 1px solid #e3e8ee;
}

.upcoming-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
}

.upcoming-fact,
.upcoming-primary-action {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border-right: 1px solid #e3e8ee;
}

.upcoming-fact>span {
  color: #64748d;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.upcoming-fact strong {
  margin-top: 10px;
  color: #0d253d;
  font-size: 15px;
  font-weight: 500;
}

.upcoming-fact small {
  margin-top: 6px;
  color: #4c5567;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.upcoming-primary-action {
  border-right: 0;
  background: #0d253d;
}

.upcoming-primary-action a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.upcoming-primary-action small {
  margin-top: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.upcoming-event-content {
  padding: 65px 0 80px;
}

.upcoming-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 62px;
  align-items: start;
}

.upcoming-content-grid>div {
  display: grid;
  gap: 48px;
}

.upcoming-detail-block>h2 {
  margin-top: 12px;
  color: #0d253d;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.05em;
}

.upcoming-detail-block>p {
  max-width: 66ch;
  margin-top: 20px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.7;
}

.upcoming-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.upcoming-expect-grid article {
  min-height: 170px;
  padding: 18px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  background: #fff;
}

.upcoming-expect-grid b {
  color: #533afd;
  font-size: 14px;
  font-weight: 600;
}

.upcoming-expect-grid strong {
  display: block;
  margin-top: 32px;
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.upcoming-expect-grid p {
  margin-top: 8px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.5;
}

.upcoming-content-grid>aside {
  display: grid;
  gap: 12px;
}

.upcoming-programme,
.upcoming-note {
  padding: 24px;
  border-radius: 13px;
  background: #f6f9fc;
}

.upcoming-programme>span,
.upcoming-note>span {
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.upcoming-programme ol {
  margin-top: 14px;
  list-style: none;
}

.upcoming-programme li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #e3e8ee;
}

.upcoming-programme li b {
  color: #533afd;
  font-size: 14px;
  font-weight: 600;
}

.upcoming-programme li span {
  color: #0d253d;
  font-size: 14px;
}

.upcoming-programme>small {
  display: block;
  margin-top: 12px;
  color: #98a4b6;
  font-size: 14px;
  line-height: 1.45;
}

.upcoming-note {
  background: #eeecff;
}

.upcoming-note p {
  margin-top: 12px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.55;
}

.upcoming-note a {
  display: inline-block;
  margin-top: 14px;
  color: #533afd;
  font-size: 14px;
  font-weight: 550;
}

.upcoming-event-more {
  padding: 32px 0;
  background: #0d253d;
}

.upcoming-event-more .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.upcoming-event-more .wrap>div {
  display: flex;
  flex-direction: column;
}

.upcoming-event-more span {
  color: #b9b9f9;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.upcoming-event-more strong {
  margin-top: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 450;
}

.upcoming-event-more a {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}

.upcoming-detail-block>.kicker+p {
  margin-top: 12px;
}

/* The Anna-event featured title is a full sentence, unlike the short 2-4
   word headings .theme-detail-heading h2 is normally used for — its shared
   tight line-height/letter-spacing caused wrapped lines to visually collide. */
#plannedFeaturedTitle {
  /* line-height: 1.1;
  letter-spacing: -.02em; */
}

@media (max-width:850px) {
  .upcoming-event-hero-grid {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    gap: 28px;
  }

  .upcoming-event-image {
    min-height: 300px;
  }

  .upcoming-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .upcoming-fact:nth-child(2) {
    border-right: 0;
  }

  .upcoming-primary-action {
    grid-column: 1/3;
  }

  .upcoming-content-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

/* Stacks the hero image above the title at the same breakpoint
   .completed-event-hero-grid already uses (see max-width:760px further up
   the file) -- this used to only stack at 560px, so between 561-760px the
   poster stayed squeezed into a minmax(220px, .72fr) column next to the
   title instead of running full-width like the completed-event page's
   poster already does at that size. */
@media (max-width:760px) {

  .upcoming-event-hero,
  .upcoming-event-hero .wrap {
    min-height: 0;
  }

  .upcoming-event-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 32px;
  }

  .upcoming-event-image {
    min-height: 0;
    aspect-ratio: 16/10;
  }

  /* Vaigai River Restoration Drive's aspect-ratio override now lives
     unconditionally next to .upcoming-event-image's base rule -- it's the
     same 439/274 ratio at every width, not just below this breakpoint, so
     there's nothing further to override here. */

  .upcoming-event-title {
    padding-bottom: 0;
  }
}

@media (max-width:560px) {

  .upcoming-summary-grid {
    grid-template-columns: 1fr;
  }

  .upcoming-fact,
  .upcoming-primary-action {
    min-height: 115px;
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .upcoming-primary-action {
    grid-column: 1;
  }

  .upcoming-expect-grid {
    grid-template-columns: 1fr;
  }

  .upcoming-event-more .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared shell overrides intentionally last so every retained page inherits the
   shorter navigation and the new indigo design language. */
.theme-ribbon {
  display: none;
}

.site-header {
  top: 0;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(227, 232, 238, .72);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #533afd;
  background: #f2f0ff;
}

.btn-primary {
  background: #533afd;
}

.btn-primary:hover {
  background: #4434d4;
}

.site-footer {
  background: #0b0f19;
  border-top: 0;
}

/* Dark footer text/contrast overrides */
.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-name em {
  color: #fff;
}

/* logo.svg is a wide horizontal lockup (660x180, ~3.7:1), not a square icon.
   The base .brand-mark is a fixed 44x44 (and the old footer override was a
   fixed 72x72) square box with object-fit:contain -- forcing a wide image
   into a square box shrinks it to fit the SHORT dimension, rendering the
   wordmark at ~20px tall and effectively unreadable. Give the footer mark a
   width instead and let height follow the image's natural aspect ratio. */
.site-footer .foot-brand .brand-mark {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  overflow: visible;
}

.site-footer .foot-brand .brand-mark img {
  width: 100%;
  height: auto;
  object-fit: initial;
}

.site-footer .foot-brand p {
  color: rgba(255, 255, 255, .5);
}

.site-footer .foot-brand .foot-questions {
  color: rgba(255, 255, 255, .42);
}

.site-footer .foot-brand .foot-questions a {
  color: #fff;
}

.site-footer .foot-h {
  color: rgba(255, 255, 255, .36);
}

.site-footer .foot-list a {
  color: rgba(255, 255, 255, .66);
}

.site-footer .foot-list a:hover {
  color: #a99bff;
}

.foot-contact-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px solid rgba(169, 155, 255, .28);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(83, 58, 253, .22), rgba(63, 46, 197, .12));
}

.foot-contact-box span {
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.foot-contact-box a {
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}

.foot-contact-box a:hover {
  color: #a99bff;
}

.site-footer .social a {
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .66);
}

.site-footer .social a:hover {
  background: #fff;
  border-color: #fff;
  color: #0b0f19;
}

.site-footer .foot-bottom {
  border-top-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .46);
}

.site-footer .foot-legal a:hover {
  color: #fff;
}

.foot-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  margin-bottom: clamp(54px, 6vw, 78px);
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: linear-gradient(115deg, rgba(83, 58, 253, .2), rgba(25, 75, 59, .18));
}

.foot-newsletter-copy>span {
  color: #a99bff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.foot-newsletter-copy h2 {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 380;
  line-height: .96;
  letter-spacing: -.05em;
}

/* This footer CTA ("இங்கே முதலில் தெரிந்து கொள்ளுங்கள்.") wraps to 2 lines
   on mobile in Tamil. It inherits the site-wide `html[lang="ta"] h1..h5 {
   line-height: 1.1 !important }` floor, which isn't enough clearance for
   Anek Tamil's matras on a wrapped line — the vowel signs on line 2 sit
   almost flush against line 1's baseline. Scoped to just this heading
   (not touching the shared 1.1 floor, which affects every h1-h5 site-wide);
   needs !important to outrank that rule's own !important. */
html[lang="ta"] .foot-newsletter-copy h2 {
  line-height: 1.35 !important;
}

/* "எங்களின் செய்திமடல்களை முதலில் பெறும் வாசகர்களில் ஒருவராகுங்கள்" —
   the proof line next to the reader avatars — inherits the English
   .01em tracking and 11px size, which reads cramped in Meera
   Inimai/Mukta Malar: at that size + weight 600 the matras of adjacent
   letters visually touch. .03em wasn't enough headroom at 11px, so
   sized up a step and opened the tracking further; line-height set
   explicitly since it wraps to 2 lines on this narrow proof row and the
   inherited 1.6 body value was tight enough with the bigger glyphs to
   look like one dense block instead of two clearly separated lines. */
html[lang="ta"] .foot-newsletter-proof strong {
  font-size: 12.5px;
  letter-spacing: .07em;
  line-height: 1.55;
}

.foot-newsletter-copy p {
  max-width: 560px;
  margin-top: 15px;
  color: rgba(255, 255, 255, .57);
  font-size: 14px;
  line-height: 1.55;
}

.foot-newsletter-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.foot-newsletter-form input {
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-size: clamp(9px, 2.7vw, 14px);
  text-align: center;
  outline: 0;
}

.foot-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .47);
}

.foot-newsletter-form input:focus {
  border-color: #a99bff;
  box-shadow: 0 0 0 3px rgba(169, 155, 255, .16);
}

.foot-newsletter-form button {
  width: 100%;
  min-width: 124px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #0b0f19;
  font-size: 14px;
  font-weight: 650;
}

.foot-newsletter-form button:hover {
  background: #a99bff;
}

.foot-newsletter-form button:disabled {
  cursor: wait;
  opacity: .82;
}

.foot-newsletter-proof {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  color: rgba(255, 255, 255, .72);
}

.foot-newsletter-faces {
  display: flex;
  align-items: center;
  padding-left: 7px;
}

.foot-newsletter-faces img,
.foot-newsletter-faces i {
  width: 28px;
  height: 28px;
  margin-left: -7px;
  border: 2px solid #17202f;
  border-radius: 50%;
  object-fit: cover;
  background: #273348;
}

.foot-newsletter-faces i {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.foot-newsletter-proof strong {
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
}

.foot-newsletter-form small {
  grid-column: 1 / -1;
  margin-top: 3px;
  color: rgba(255, 255, 255, .4);
  font-size: 10px;
  line-height: 1.45;
}

.foot-newsletter-form small a {
  color: rgba(255, 255, 255, .7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width:820px) {
  .foot-newsletter {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-newsletter-form {
    max-width: 620px;
  }
}

@media (max-width:520px) {
  .foot-newsletter {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .foot-newsletter-form input {
    padding: 0 14px;
  }

  .foot-newsletter-proof,
  .foot-newsletter-form small {
    grid-column: 1;
  }

  .foot-newsletter-proof {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width:431px) {
  .foot-newsletter-form input {
    font-size: clamp(9px, 2.4vw, 11px);
    padding: 0 12px;
  }
}

@media (max-width:375px) {
  .foot-newsletter-form input {
    font-size: clamp(8px, 2.2vw, 10px);
    padding: 0 10px;
  }
}

/* Sits inside the same .wrap as everything else in the footer now, so its
   own horizontal padding would double up with .wrap's gutter -- centering
   is just width:100% + text-align via the flex rules below. */
.foot-hashtag-banner {
  width: 100%;
  margin: clamp(28px, 3.5vw, 44px) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(1.6rem, 3.6vw, 3.6rem);
}

/* This typed hashtag is always Tamil (main.js hardcodes it, independent of
   L()/currentLang), so it renders on English pages too — unlike everything
   else in this file, it can't rely on the html[lang="ta"] font/spacing
   rules above, since html[lang="en"] pages never match them. Give it its
   own Tamil-safe font stack and natural tracking so it doesn't fall back to
   whatever Tamil font each visitor's OS happens to ship (English pages
   don't load the Meera Inimai/Mukta Malar webfont links that /ta/ pages
   do), and don't add those webfont links to every English page just for
   one footer line — these system fonts cover Windows/macOS/iOS/Android. */
.site-footer .tamil-quote {
  font-family: "Meera Inimai", "Mukta Malar", "Noto Sans Tamil", "Nirmala UI", "Tamil Sangam MN", "Kohinoor Tamil", var(--font);
  font-size: clamp(1.1rem, 3vw, 2.75rem);
  font-weight: 750;
  letter-spacing: normal;
  line-height: 1.05;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-footer .tamil-quote {
    white-space: normal;
    line-height: 1.4;
  }
}

/* -------------------------------------------------------- Grassroots events */
.gr-hero {
  padding: 48px 0 36px;
  background: linear-gradient(180deg, #f6f5ff, #fff);
  border-bottom: 1px solid var(--c-line);
}

.gr-hero h1 {
  margin-top: 20px;
  max-width: 18ch;
  color: #0d253d;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.gr-hero .lead {
  max-width: 62ch;
  margin-top: 18px;
  font-size: 16px;
}

.gr-filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
}

.gr-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gr-filters label>span {
  color: #98a4b6;
  font-size: 14px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.gr-filters select {
  min-width: 220px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background: #fff;
  color: #0d253d;
  font-size: 14px;
}

.gr-result {
  color: #64748d;
  font-size: 14px;
  margin-bottom: 20px;
}

.gr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gr-card {
  display: block;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gr-card:hover {
  transform: translateY(-3px);
  border-color: #b9b9f9;
  box-shadow: 0 18px 38px rgba(0, 55, 112, .09);
}

.gr-card-art {
  display: flex;
  align-items: flex-end;
  height: 150px;
  padding: 14px;
}

.gr-art-a {
  background: linear-gradient(145deg, #f5e9d4, #b9b9f9);
}

.gr-art-b {
  background: linear-gradient(145deg, #e9f5ef, #c7e7d6);
}

.gr-art-c {
  background: linear-gradient(145deg, #fff1dc, #f5d4ac);
}

.gr-art-d {
  background: linear-gradient(145deg, #eeecff, #d8d3ff);
}

.gr-card-body {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.gr-card-body strong {
  color: #0d253d;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.25;
}

.gr-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #64748d;
  font-size: 14px;
}

.gr-card-meta .gr-ico {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: #533afd;
  flex-shrink: 0;
}

.gr-card-meta .gr-ico svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .gr-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gr-grid {
    grid-template-columns: 1fr;
  }

  .gr-filters {
    flex-direction: column;
  }

  .gr-filters select {
    min-width: 0;
    width: 100%;
  }
}

/* ----------------------------------------------------------- Tour calendar */
.tour-crumbs-row {
  padding: 14px 0 0;
}

.tour-hero {
  padding: 26px 0 48px;
}

.tour-hero-grid {
  display: grid;
  grid-template-columns: .58fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}

.tour-hero-figure {
  margin: 0;
  aspect-ratio: 4/5;
  border-radius: 22px;
  overflow: hidden;
  background: #eef1f5;
  box-shadow: var(--sh-lg);
}

/* Exception: Vaigai River Restoration Drive (see has-mobile-crop in
   anna-tour-calendar.js) -- its poster (assets/img/events/Madurai.png) is
   a 439x274 landscape image used at every width, not pre-cropped to this
   figure's 4:5 frame like every other event's poster is. Matching the
   frame to the poster's own ratio at every width (not just below the
   mobile breakpoint) means there's nothing left for "cover"/"fill" to
   crop or stretch -- the poster renders at its native proportions,
   full-frame, with no zoom. */
.tour-hero-figure.has-mobile-crop {
  aspect-ratio: 439/274;
}

.tour-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Opt-in for an event whose source photo isn't pre-cropped to this figure's
   4:5 frame (see the imageFit toggle in anna-tour-calendar.js) -- a
   text-heavy poster graphic like this reads better stretched to fill the
   frame with nothing cropped (same treatment as .completed-event-image
   below) than "cover" cropping its edges off. */
.tour-hero-figure img.is-fit-fill {
  object-fit: fill;
}

.tour-hero-status {
  display: table;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eeecff;
  color: #533afd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tour-hero-status.is-completed {
  background: #e9f5ef;
  color: #16734d;
}

.tour-hero-when {
  display: inline-flex;
  color: #16734d;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
}

.tour-hero-venue {
  margin-top: 10px;
  color: #64748d;
  font-size: 14px;
  font-weight: 550;
}

.tour-hero-copy h1 {
  margin-top: 14px;
  max-width: 18ch;
  color: #0d253d;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.tour-hero-desc {
  max-width: 58ch;
  margin-top: 18px;
  color: #64748d;
  font-size: 15px;
  line-height: 1.7;
}

.tour-hero-copy .btn {
  margin-top: 28px;
}

.tour-selector {
  padding: 12px 0 16px;
  background: #f6f9fc;
  border-bottom: 1px solid var(--c-line);
}

.tour-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tour-selector-head .kicker {
  font-size: 11px;
}

.tour-selector h2 {
  margin-top: 2px;
  max-width: 28ch;
  color: #0d253d;
  font-size: 1.2rem;
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.tour-nav-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.tour-nav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-line-hard);
  background: #fff;
  color: #0d253d;
  display: grid;
  place-items: center;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.tour-nav:hover {
  border-color: #533afd;
  background: #f2f0ff;
  color: #533afd;
}

.tour-track-wrap {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.tour-viewport {
  overflow: hidden;
  padding-top: 0;
}

/* .tour-track-wrap reserves up to 760px regardless of how many event cards
   actually exist. With only a handful of entries (real events + the
   trailing "Events loading" placeholder) that's narrower than 760px, so
   .tour-track — with no width of its own, just filling its parent like any
   block box — stretched to the full 760px and left the remainder as dead
   white space after the placeholder. width:fit-content makes it hug its
   own content instead, same as the max-width:760px media query below
   already does for mobile; harmless once enough events exist to fill or
   exceed 760px on their own. */
.tour-track {
  position: relative;
  width: fit-content;
  max-width: 100%;
  will-change: transform;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.tour-rail,
.tour-rail-fill {
  display: none;
}

.tour-rail {
  background: var(--c-line-hard);
}

.tour-rail-fill {
  background: #533afd;
  width: 0;
  transition: left .55s cubic-bezier(.22, .61, .36, 1), width .55s cubic-bezier(.22, .61, .36, 1);
}

.tour-slides {
  display: flex;
  gap: 12px;
}

.tour-dates-tba {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 12px;
  padding-left: 18px;
  border-left: 1px solid var(--c-line-hard);
  color: #7b889d;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
  letter-spacing: .02em;
}

.tour-slide {
  flex: 0 0 auto;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tour-dot {
  display: none;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-line-hard);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}

.tour-slide.is-active .tour-dot {
  border-color: #533afd;
  background: #533afd;
  box-shadow: 0 0 0 5px #eeecff;
  transform: scale(1.1);
}

.tour-slide-card {
  width: 100%;
  min-height: 104px;
  padding: 9px 11px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: #fff;
  opacity: .45;
  transform: scale(.94);
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.tour-slide-state {
  display: block;
  margin-bottom: 5px;
  color: #8a96a8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tour-slide.is-completed .tour-slide-state {
  color: #16734d;
}

.tour-slide.is-completed:not(.is-active) .tour-slide-card {
  background: #f7fbf9;
  opacity: .72;
}

.tour-slide.is-completed.is-active .tour-slide-card {
  border-color: #16734d;
  box-shadow: 0 8px 20px rgba(22, 115, 77, .13);
}

.tour-slide.is-completed.is-active .tour-slide-title {
  color: #16734d;
}

.tour-slide.is-active .tour-slide-card {
  opacity: 1;
  transform: scale(1);
  border-color: #533afd;
  box-shadow: 0 8px 20px rgba(83, 58, 253, .13);
}

.tour-slide-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tour-slide-date b {
  color: #0d253d;
  font-size: 18px;
  font-weight: 450;
  letter-spacing: -.02em;
}

.tour-slide-date small {
  color: #64748d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tour-slide-title {
  display: block;
  margin-top: 4px;
  color: #0d253d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.tour-slide.is-active .tour-slide-title {
  color: #533afd;
}

.tour-slide-place {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #98a4b6;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .tour-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tour-hero-copy {
    order: -1;
  }

  .tour-hero-figure {
    max-width: none;
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    border-radius: 0;
    aspect-ratio: 16/10;
  }

  /* Vaigai River Restoration Drive's aspect-ratio override now lives
     unconditionally next to .tour-hero-figure's base rule -- it's the
     same 439/274 ratio at every width, not just below this breakpoint, so
     there's nothing further to override here. */
  .tour-hero {
    padding-top: 20px;
  }
  .tour-selector {
    padding: 10px 0 12px;
  }

  .tour-selector-head {
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 8px;
  }

  .tour-selector-head>div:first-child {
    min-width: 0;
  }

  .tour-selector-head .kicker {
    display: none;
  }

  .tour-selector h2 {
    margin-top: 0;
    font-size: 1rem;
  }

  .tour-nav-group {
    gap: 7px;
  }

  .tour-nav {
    width: 30px;
    height: 30px;
  }

  .tour-track-wrap {
    width: 100%;
  }

  .tour-viewport {
    overflow-x: auto;
    padding: 0 16px 2px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .tour-viewport::-webkit-scrollbar {
    display: none;
  }

  .tour-track {
    width: max-content;
    min-width: 100%;
    transform: none !important;
  }

  .tour-slides {
    width: max-content;
  }

  .tour-dates-tba {
    margin-right: 24px;
    padding-left: 14px;
    font-size: 11px;
  }

  .tour-slide {
    width: 132px;
    scroll-snap-align: center;
  }

  .tour-slide-card {
    min-height: 96px;
    padding: 8px 9px;
  }
}

/* --------------------------------------------------------------- Download */
.dl-app-section {
  position: relative;
  overflow: hidden;
  border-top: 0;
}

.dl-app-section .app-download-banner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-h));
}

/* Tamil's longer heading/store-badge text pushes this grid item's automatic
   min-content size past its 1.06fr share, so the grid steals width from
   .app-phone-panel (down to the phone image's own bare min) to satisfy it --
   confirmed via CDP the phone column shrinks from 532px (English) to 326px
   (Tamil) at 1440px wide, which is what shoves the phone stack hard against
   the copy instead of sitting centered in its own column. min-width:0 tells
   the grid to respect the .94/1.06 split and let the text wrap instead. */
.dl-app-section .app-download-panel {
  min-width: 0;
}

.dl-app-section .kicker {
  color: #533afd;
}

.dl-app-section .app-download-panel h1 {
  max-width: 13ch;
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.dl-caption {
  max-width: 44ch;
  margin-top: 17px;
  color: #61718a;
  font-size: 15px;
  line-height: 1.6;
}

.dl-caption-mobile {
  display: none;
}

.dl-app-section .download-tools {
  margin-top: 26px;
}

.dl-app-section .store-stack {
  flex-direction: row;
  flex-wrap: wrap;
}

.dl-qr-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
}

.dl-qr-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f0f1f5;
}

.dl-qr-tab {
  padding: 9px 18px;
  border-radius: 999px;
  color: #64748d;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}

.dl-qr-tab.is-active {
  background: #fff;
  color: #0d253d;
  box-shadow: 0 6px 16px rgba(13, 37, 61, .12);
}

.dl-qr-tab.is-active::after {
  content: none;
}

.dl-qr-panels {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.dl-qr-panel {
  width: min(200px, 60%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.dl-qr-panel[hidden] {
  display: none;
}

.dl-qr-panel img {
  width: 100%;
  height: 100%;
  display: block;
}

/* floating faces backdrop, behind the whole banner */
.dl-float-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse 46% 62% at 24% 56%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 46% 62% at 24% 56%, #000 35%, transparent 78%);
}

@media (max-width: 980px) {
  .dl-float-field {
    mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 76%);
  }
}

.dl-float-grid {
  position: absolute;
  inset: -40px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.dl-float-grid img {
  --bob-up: -6px;
  --bob-down: 7px;
  flex: none;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(13, 37, 61, .14);
  opacity: .82;
  animation: dlTileFloat 5.4s ease-in-out infinite alternate;
  will-change: transform;
}

.dl-float-grid img:nth-child(3n+1) {
  --bob-up: -9px;
  --bob-down: 4px;
  animation-duration: 6.2s;
  animation-delay: -1.4s;
}

.dl-float-grid img:nth-child(3n+2) {
  --bob-up: -3px;
  --bob-down: 9px;
  animation-duration: 4.8s;
  animation-delay: -2.9s;
}

.dl-float-grid img:nth-child(4n) {
  animation-duration: 6.7s;
  animation-delay: -.6s;
}

@keyframes dlTileFloat {
  from {
    transform: translate3d(0, var(--bob-up), 0) rotate(-1deg);
  }

  to {
    transform: translate3d(0, var(--bob-down), 0) rotate(1deg);
  }
}

/* phone stack: main screen up front, two more fanned out behind */
.dl-phone-stack {
  position: relative;
  justify-content: center;
  border-right: 0;
}

.dl-phone-stack::before {
  display: none;
}

.dl-phone-stack img {
  position: relative;
  width: 260px;
  max-height: none;
  object-fit: contain;
  object-position: bottom;
  border-radius: 0;
  filter: drop-shadow(0 20px 32px rgba(13, 37, 61, .2));
}

.dl-phone-stack .dl-phone-main {
  z-index: 3;
}

.dl-phone-side {
  z-index: 1;
  opacity: .9;
}

.dl-phone-side-a {
  position: absolute;
  left: 4%;
  bottom: -10px;
  width: 220px;
  transform: rotate(-9deg);
  z-index: 2;
}

.dl-phone-side-b {
  position: absolute;
  right: 4%;
  bottom: -10px;
  width: 220px;
  transform: rotate(9deg);
}

@media (max-width: 640px) {
  .dl-app-section .app-download-banner {
    min-height: auto;
  }

  .dl-qr-switch {
    display: none;
  }

  .dl-caption-desktop {
    display: none;
  }

  .dl-caption-mobile {
    display: block;
  }

  .dl-phone-side {
    display: none;
  }
}

/* 641-980px has no dedicated treatment of its own: the shared 980px rule
   above only re-balances the grid to .8fr/1.2fr, still two columns, and the
   phone stack's fixed-width images don't shrink to fit that narrower first
   track. Confirmed via screenshot at 768px: the phone images crowd against
   the copy and the decorative face-collage (normally masked away behind the
   phone) becomes visible through the heading and caption text, both hurting
   legibility. Give this range the same single-column stack the sub-640px
   block above already uses, rather than leaving it half-collapsed. */
@media (max-width: 980px) and (min-width: 641px) {
  .dl-app-section .app-download-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dl-app-section .app-phone-panel {
    min-height: 360px;
    padding: 32px 0 0;
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .dl-app-section .app-download-panel {
    padding: 40px 32px;
  }

  .dl-app-section .dl-phone-side {
    display: none;
  }
}

/* ------------------------------------------------------ Leader event page */
.leader-only {
  display: none;
}

body.is-leader-event .leader-only {
  display: block;
}

body.is-leader-event .anna-only {
  display: none;
}

.lep-crumbs-row {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 24px 0 0;
}

.lep-banner {
  --lep-bg-a: #eef8f2;
  --lep-bg-b: #bfe7c9;
  --lep-ink: #12392a;
  --lep-accent: #2e855d;
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 150px;
  margin: 16px auto 0;
  padding: 26px 40px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  background: #fff;
  color: var(--lep-ink);
  box-shadow: 0 10px 26px rgba(13, 37, 61, .06);
}

.lep-banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 55%;
}

.lep-banner-category {
  color: var(--lep-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lep-banner.is-text-preparing .lep-banner-category {
  opacity: 0;
  transform: translateY(8px);
}

.lep-banner-copy>strong {
  display: flex;
  max-width: 13ch;
  flex-wrap: wrap;
  column-gap: .18em;
  margin-top: 10px;
  color: var(--lep-ink) !important;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 380 !important;
  line-height: .98;
  letter-spacing: -.045em;
}

.lep-title-word {
  display: inline-block;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  filter: blur(5px);
  transform: translateY(.28em) scaleX(.72);
  transform-origin: center;
  will-change: transform, opacity, clip-path, filter;
}

.lep-banner.is-text-ready .lep-banner-category {
  animation: lepCategoryTextIn .7s cubic-bezier(.16, 1, .3, 1) forwards;
}

.lep-banner.is-text-ready .lep-title-word {
  animation: lepTitleWordIn .9s cubic-bezier(.16, 1, .3, 1) var(--word-delay, .18s) forwards;
}

.lep-banner-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  overflow: hidden;
}

.lep-art-icon {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--lep-accent);
}

.lep-art-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(13, 37, 61, .1));
}

.lep-art-icon-main {
  right: -28px;
  bottom: -46px;
  width: 230px;
  height: 230px;
}

@keyframes lepCategoryTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: .19em;
  }
}

@keyframes lepTitleWordIn {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
    filter: blur(5px);
    transform: translateY(.28em) scaleX(.72);
  }

  62% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    transform: translateY(0) scaleX(1.045);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    transform: translateY(0) scaleX(1);
  }
}

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

  .lep-banner-category,
  .lep-title-word {
    animation: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    filter: none !important;
    transform: none !important;
  }
}

.lep-category-road-safety {
  --lep-bg-a: #f6eedf;
  --lep-bg-b: #ead9b6;
  --lep-ink: #4a3315;
  --lep-accent: #a96f19;
}

.lep-category-community-action {
  --lep-bg-a: #f6eae4;
  --lep-bg-b: #e9d2c8;
  --lep-ink: #4d2921;
  --lep-accent: #b06450;
}

.lep-category-citizen-science {
  --lep-bg-a: #e7f1f3;
  --lep-bg-b: #cfe2e7;
  --lep-ink: #173c46;
  --lep-accent: #2a7889;
}

.lep-category-skills-and-mentoring {
  --lep-bg-a: #eeebf8;
  --lep-bg-b: #d9d3f0;
  --lep-ink: #30295a;
  --lep-accent: #6653b5;
}

.lep-category-leadership-circle {
  --lep-bg-a: #f4e9ef;
  --lep-bg-b: #e5cfdb;
  --lep-ink: #512d42;
  --lep-accent: #a55f82;
}

.lep-category-waste-reduction {
  --lep-bg-a: #e7f2ea;
  --lep-bg-b: #cce3d4;
  --lep-ink: #173e2c;
  --lep-accent: #318158;
}

.lep-category-climate-resilience {
  --lep-bg-a: #e6f0f5;
  --lep-bg-b: #cddfe8;
  --lep-ink: #183b4c;
  --lep-accent: #397891;
}

.lep-category-livelihood-dialogue {
  --lep-bg-a: #f3ecdf;
  --lep-bg-b: #e3d4b8;
  --lep-ink: #49371c;
  --lep-accent: #96712b;
}

.lep-category-urban-environment {
  --lep-bg-a: #e9eef0;
  --lep-bg-b: #d2dfe2;
  --lep-ink: #203b40;
  --lep-accent: #4d7f86;
}

.lep-category-civic-learning {
  --lep-bg-a: #f0ebe6;
  --lep-bg-b: #ded2c7;
  --lep-ink: #46352c;
  --lep-accent: #8a6855;
}

.lep-summary {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 28px auto 0;
  padding: 0;
  text-align: center;
}

.lep-chapter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #16734d;
  font-size: 14px;
  font-weight: 600;
}

.lep-chapter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a06b;
}

.lep-chapter b {
  color: #98a4b6;
  font-weight: 400;
}

/* Leader-submitted event titles are typed by community organisers, not
   curated copy — some run a full sentence long. Reading-size text wraps
   them cleanly; the display-heading treatment this used to have (2.6rem,
   bold) made a long title dominate the whole page. */
.lep-summary h1,
.lep-summary h2 {
  max-width: 100%;
  margin: 14px 0;
  color: #0d253d;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.6;
}

.lep-facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.lep-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #273951;
  font-size: 14px;
}

.lep-fact i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd2db;
  flex-shrink: 0;
}

.lep-fact b {
  font-weight: 500;
}

.lep-fact a {
  margin-left: 4px;
  color: #533afd;
  font-size: 14px;
}

.lep-body {
  padding: 32px 0 60px;
}

.lep-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 64px;
  align-items: start;
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
}

.lep-layout:has(> .lep-side[hidden]) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

/* .lep-summary (hero title) is a sibling section of .lep-layout (body), not a
   descendant, so the narrower single-column width above can't be scoped to
   it directly — match it via the shared <main> ancestor instead, or the
   title stays full-width while the content below it goes narrow. */
main:has(.lep-side[hidden]) .lep-summary {
  max-width: 720px;
}

.lep-main {
  min-width: 0;
}

.lep-side {
  position: sticky;
  top: calc(var(--nav-h) + var(--assisted-header-h) + 24px);
  max-width: none;
}

.lep-main section+section,
.lep-main .lep-about {
  margin-top: 34px;
}

.lep-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.lep-block-head h2 {
  color: #0d253d;
  font-size: 15px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.lep-block-head b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
}

.lep-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lep-gallery-tile {
  position: relative;
  width: 100%;
  height: 124px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  padding: 11px;
  overflow: hidden;
  text-align: left;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

.lep-gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(13, 37, 61, .11);
}

.lep-gallery-tile:focus-visible {
  outline: 2px solid #533afd;
  outline-offset: 3px;
}

.lep-gallery-tile span {
  color: rgba(13, 37, 61, .7);
  font-size: 14px;
  font-weight: 550;
}

.lep-gallery-video i {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  color: #0d253d;
  font-style: normal;
  font-size: 13px;
}

.lep-gallery.is-gallery-collapsed .lep-gallery-more {
  display: none;
}

.lep-gallery:not(.is-gallery-collapsed) .lep-gallery-show-more {
  display: none;
}

.lep-gallery-show-more {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: #f6f9fc;
  border: 1px dashed #d7dee7;
  color: #533afd;
  font-size: 22px;
  font-weight: 650;
}

.lep-gallery-show-more span {
  color: #61718a;
  font-size: 12px;
  font-weight: 550;
}

.lep-gallery-show-more:hover {
  background: #eef1f9;
  border-color: #b9b9f9;
}

.lep-hosts {
  overflow: hidden;
  border-radius: 12px;
  background: #f6f9fc;
}

.lep-hosts>div {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
}

.lep-hosts>div+div {
  border-top: 1px solid #e3e8ee;
}

.lep-hosts strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 500;
}

.lep-hosts small {
  display: block;
  margin-top: 1px;
  color: #98a4b6;
  font-size: 14px;
}

.lep-host-call {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dbe1eb;
  color: #533afd;
}

.host-purple {
  background: #7c3aed;
}

.host-orange {
  background: #d97a1c;
}

.host-teal {
  background: #0f8a8a;
}

.lep-about p {
  color: #273951;
  font-size: 14px;
  line-height: 1.7;
}

.lep-about p+p {
  margin-top: 12px;
}

.lep-attend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e3e8ee;
  flex-wrap: wrap;
}

.lep-avatars {
  display: flex;
}

.lep-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.lep-avatar:first-child {
  margin-left: 0;
}

.lep-avatar-more {
  background: #e9edf3;
  color: #64748d;
}

.lep-attend-count {
  color: #64748d;
  font-size: 14px;
  margin-right: auto;
}

.lep-cta {
  white-space: nowrap;
}

.lep-organized {
  margin-top: 22px;
  color: #98a4b6;
  font-size: 14px;
  line-height: 1.7;
}

.lep-organized a {
  color: #533afd;
}

.lep-similar-card {
  display: block;
  padding: 14px;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
}

.lep-similar-card+.lep-similar-card {
  margin-top: 10px;
}

.lep-similar-card strong {
  display: block;
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.lep-similar-card small {
  display: block;
  margin-top: 4px;
  color: #98a4b6;
  font-size: 14px;
}

.lep-report {
  display: inline-block;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #e3e8ee;
  color: #98a4b6;
  font-size: 14px;
}

@media (max-width: 900px) {
  .lep-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }

  .lep-side {
    position: static;
    max-width: none;
  }

  .lep-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lep-crumbs-row {
    width: calc(100% - 36px);
    padding: 18px 0 0;
  }

  .lep-banner {
    width: calc(100% - 36px);
    min-height: 130px;
    margin-top: 14px;
    padding: 22px 20px;
  }

  .lep-banner-copy {
    width: 64%;
  }

  .lep-banner-copy>strong {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .lep-banner-art {
    width: 58%;
  }

  .lep-art-icon-main {
    right: -16px;
    bottom: -26px;
    width: 132px;
    height: 132px;
  }

  .lep-summary,
  .lep-body .wrap {
    width: calc(100% - 36px);
    padding: 0;
  }

  .lep-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lep-gallery-tile {
    height: 112px;
  }
}

/* ------------------------------------------------- Participate modal */
.participate-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 15, 25, .6);
  backdrop-filter: blur(4px);
}

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

.participate-modal-inner {
  position: relative;
  width: min(400px, 100%);
  padding: 32px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(13, 37, 61, .3);
  text-align: center;
}

.participate-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f6f9fc;
  color: #64748d;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.participate-modal-close:hover {
  background: #eeecff;
  color: #533afd;
}

.participate-step h3 {
  color: #0d253d;
  font-size: 19px;
  font-weight: 650;
}

.participate-step>p {
  margin-top: 8px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

.participate-step label {
  display: block;
  margin-top: 20px;
  text-align: left;
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.participate-step input {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #dbe1eb;
  border-radius: 10px;
  font-size: 15px;
  color: #0d253d;
}

.participate-step input:focus {
  outline: none;
  border-color: #533afd;
  box-shadow: 0 0 0 3px rgba(83, 58, 253, .14);
}

.participate-step input.is-error {
  border-color: #d53c27;
  box-shadow: 0 0 0 3px rgba(213, 60, 39, .12);
}

.participate-hint {
  display: block;
  margin-top: 8px;
  text-align: left;
  color: #98a4b6;
  font-size: 14px;
}

.participate-step .btn {
  width: 100%;
  margin-top: 18px;
}

.participate-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  font-size: 22px;
}

.participate-icon-ok {
  background: #e9f5ef;
  color: #16734d;
}

.participate-icon-warn {
  background: #fdecea;
  color: #d53c27;
}

/* ------------------------------------------------------ Report library */
.report-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.report-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 26px;
  text-align: left;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.report-card:hover {
  transform: translateY(-3px);
  border-color: #b9b9f9;
  box-shadow: 0 22px 46px rgba(13, 37, 61, .1);
}

.report-card strong {
  color: #0d253d;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.report-card small {
  display: block;
  margin-top: 6px;
  color: #98a4b6;
  font-size: 14px;
}

.report-card p {
  margin-top: 12px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

.report-card b {
  margin-top: 18px;
  color: #533afd;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .report-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .report-card-grid {
    grid-template-columns: 1fr;
  }
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 15, 25, .72);
  backdrop-filter: blur(4px);
}

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

.report-modal-inner {
  display: flex;
  flex-direction: column;
  width: min(860px, 100%);
  height: min(88vh, 900px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .4);
}

.report-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #e3e8ee;
}

.report-modal-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eeecff;
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.report-modal-head h3 {
  margin-top: 8px;
  color: #0d253d;
  font-size: 18px;
  font-weight: 600;
}

.report-modal-head small {
  display: block;
  margin-top: 3px;
  color: #98a4b6;
  font-size: 14px;
}

.report-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.report-modal-actions .btn i {
  margin-right: 4px;
  font-style: normal;
}

.report-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f6f9fc;
  color: #64748d;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.report-modal-close:hover {
  background: #eeecff;
  color: #533afd;
}

.report-modal-frame {
  flex: 1;
  background: #eef1f5;
}

.report-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 640px) {
  .report-modal {
    padding: 0;
  }

  .report-modal-inner {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .report-modal-head {
    flex-direction: column;
    gap: 12px;
  }

  .report-modal-actions {
    align-self: flex-end;
  }
}

/* ----------------------------------------------- Registration drive page */
.registration-drive-page main {
  overflow: hidden;
  background: #fafafa;
  color: #0d253d;
}

.reg-hero {
  background: #fff;
  text-align: center;
}

.reg-people-strip {
  position: relative;
  height: clamp(180px, 18.5vw, 300px);
  overflow: hidden;
  background: #fff;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.reg-people-row {
  position: absolute;
  left: 0;
  width: 100%;
  height: 122px;
  overflow: hidden;
}

.reg-people-row-one {
  top: 2%;
}

.reg-people-row-two {
  top: 48%;
}

.reg-people-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: regPeopleFlowRight 38s linear infinite;
}

.reg-people-row-two .reg-people-track {
  animation-duration: 47s;
  animation-delay: -19s;
}

.reg-people-group {
  flex: none;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding-right: 25px;
}

.reg-person {
  --bob-up: -4px;
  --bob-down: 6px;
  flex: none;
  display: block;
  width: 100px;
  height: 108px;
  background-image: url('../img/registration-drive.jpg');
  background-repeat: no-repeat;
  background-size: 1434px 840px;
  animation: regPersonWave 4.6s ease-in-out infinite alternate;
  will-change: transform;
}

.reg-person:nth-child(3n+1) {
  --bob-up: -7px;
  --bob-down: 3px;
  animation-duration: 5.3s;
  animation-delay: -1.7s;
}

.reg-person:nth-child(3n+2) {
  --bob-up: -2px;
  --bob-down: 8px;
  animation-duration: 4.1s;
  animation-delay: -3.2s;
}

.reg-person:nth-child(4n) {
  animation-duration: 5.8s;
  animation-delay: -.8s;
}

.reg-person-1 {
  background-position: -41px -2px;
}

.reg-person-2 {
  background-position: -152px -48px;
}

.reg-person-3 {
  background-position: -270px -12px;
}

.reg-person-4 {
  background-position: -386px 0;
}

.reg-person-5 {
  background-position: -504px 0;
}

.reg-person-6 {
  background-position: -619px 0;
}

.reg-person-7 {
  background-position: -732px 0;
}

.reg-person-8 {
  background-position: -844px -34px;
}

.reg-person-9 {
  background-position: -954px -24px;
}

.reg-person-10 {
  background-position: -1073px 0;
}

.reg-person-11 {
  background-position: -3px -156px;
}

.reg-person-12 {
  background-position: -234px -165px;
}

@keyframes regPeopleFlowRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes regPersonWave {
  from {
    transform: translate3d(0, var(--bob-up), 0) rotate(-.45deg);
  }

  to {
    transform: translate3d(0, var(--bob-down), 0) rotate(.55deg);
  }
}

.reg-hero-copy {
  padding-top: 34px;
  padding-bottom: 48px;
}

.reg-total {
  display: block;
  color: #aaa;
  font-size: clamp(5.4rem, 12.2vw, 12.5rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
}

.reg-hero-copy p {
  max-width: 1040px;
  margin: 34px auto 0;
  color: #050505;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.reg-pathways {
  padding: 24px 0 66px;
}

.reg-pathway-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
  gap: 38px;
  align-items: start;
}

.reg-pathway {
  min-width: 0;
}

.reg-pathway-card {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 56px 34px;
  border: 1px solid #dde2e8;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.reg-pathway-art {
  width: 100%;
  max-width: 300px;
  height: 210px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.reg-pathway-card h2 {
  margin-top: 2px;
  font-weight: 600;
  line-height: 1.08;
  color: #0d253d !important;
}

.reg-pathway-card>p {
  max-width: 48ch;
  margin-top: 18px;
  color: #32383f;
  font-size: 14px;
  line-height: 1.45;
}

.reg-primary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  background: #348cf4;
  color: #fff;
  font-size: 15px;
  font-weight: 550;
  transition: background .2s ease, transform .2s ease;
}

.reg-primary-action:hover {
  background: #2178dc;
  transform: translateY(-1px);
}

.reg-pathway-note {
  max-width: 56ch;
  margin: 24px auto 0;
  color: #a2a8b4;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.reg-pathway-app-flex {
  display: flex;
  align-items: stretch;
  gap: 32px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 24px var(--gutter) 8px;
  margin-bottom: 20px;
}

.reg-pathway-app-flex .reg-pathways {
  flex: 0 1 600px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.reg-pathway-app-flex .reg-pathways .wrap {
  flex: 1;
  max-width: none;
  padding-inline: 0;
}

.reg-pathway-app-flex .reg-pathway-grid {
  display: flex;
  flex-direction: column;
}

.reg-pathway-app-flex .reg-pathway {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reg-pathway-app-flex .reg-pathway-card {
  flex: 1;
}

.reg-pathway-app-flex .app-section {
  flex: 1 1 380px;
  padding: 0;
  border-block: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.reg-pathway-app-flex .app-section .wrap {
  flex: 1;
  max-width: none;
  padding-inline: 0;
}

/* Was `display:grid` + `align-content:center`, which centers the
   image+panel pair as one block within the card's full (flex-stretched)
   height instead of starting them at the top like .reg-pathway-card's
   flex column does. Two visible symptoms: the heading sat lower than
   its sibling card's heading, and on taller cards the centered block
   overflowed above the card top, clipped by .app-section's
   overflow:hidden (the phone screenshot's top edge got cut off). Switched
   to a flex column so content starts at the top like the sibling card,
   with .app-download-panel below taking flex:1 so its own trailing
   actions can margin-top:auto to the card bottom the same way
   .reg-primary-action does in .reg-pathway-card. */
.reg-pathway-app-flex .app-download-banner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
  border: 1px solid #dde2e8;
  border-radius: 12px;
  background: #fff;
  padding: 28px 0 34px;
}

.reg-pathway-app-flex .app-phone-panel {
  display: flex;
  position: static;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 20px;
  border-right: 0;
  overflow: visible;
}

.reg-pathway-app-flex .app-phone-panel::before {
  content: none;
}

.reg-pathway-app-flex .app-phone-panel img {
  position: static;
  width: auto;
  max-width: 170px;
  max-height: 220px;
  object-fit: contain;
  border-radius: 16px 16px 0 0;
  filter: drop-shadow(0 10px 22px rgba(13, 37, 61, .18));
}

/* .reg-pathway-card (sibling) reads at padding-inline:56px (30px at
   ≤980px, 24px at ≤720px) — its heading/paragraph never get a narrower
   max-width, that inset alone is what sets its readable text width.
   This panel had padding:0, so its own heading/paragraph stretched to
   the banner's full inner width instead. Moved the banner's inline
   padding here (banner is now inline-padding:0 above) and reused
   .reg-pathway-card's exact px steps below, so the two cards' text
   columns line up at every width instead of drifting independently. */
.reg-pathway-app-flex .app-download-panel {
  flex: 1;
  padding-inline: 40px;
  justify-content: flex-start;
  align-items: center;
  padding-block: 0;
  border-right: 0;
  text-align: center;
}

.reg-pathway-app-flex .app-download-panel h2 {
  max-width: none;
  font-weight: 600;
  word-break: normal;
}

/* html[lang="ta"] .app-download-panel h2 (below, in the Tamil font-size-fix
   block) targets every .app-download-panel h2 site-wide and outranks the
   rule above on specificity (an attribute selector plus a class beats two
   classes), so on this page it was overriding the card-sized heading with
   the full section-hero size meant for the plain .app-section variant —
   3-line, heavier-looking text next to the .reg-pathway-card h2 sibling
   above it, which never got a lang="ta" override. Re-declared here with the
   .reg-pathway-app-flex scope added so this card matches .reg-pathway-card
   h2's exact type scale instead of drifting from it. */
html[lang="ta"] .reg-pathway-app-flex .app-download-panel h2 {
  max-width: none;
  font-weight: 650;
  line-height: 1.08;
  word-break: normal;
}

.reg-pathway-app-flex .app-download-panel>p {
  max-width: none;
}

/* margin-top:auto mirrors .reg-primary-action in the sibling card: pushes
   the store badges (and .app-detail-link right after them) down to sit
   near the card bottom, with the flexible gap landing between the
   description and the actions instead of the actions floating wherever
   the content happened to end. */
.reg-pathway-app-flex .download-tools {
  margin-top: auto;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width:1100px) {
  .reg-pathway-app-flex {
    flex-direction: column;
  }

  .reg-pathway-app-flex .reg-pathways,
  .reg-pathway-app-flex .app-section {
    flex: 1 1 auto;
  }
}

@media (max-width:980px) {

  /* Same 56px→30px inline step .reg-pathway-card takes at this width. */
  .reg-pathway-app-flex .app-download-panel {
    padding-inline: 30px;
  }
}

@media (max-width:720px) {
  .reg-pathway-app-flex {
    gap: 24px;
  }

  .reg-pathway-app-flex .app-download-banner {
    padding: 24px 0 28px;
  }

  /* Same 24px inline step .reg-pathway-card takes at this width. */
  .reg-pathway-app-flex .app-download-panel {
    padding-inline: 24px;
  }

  /* Matches .reg-pathway-art's own height:190px step at this breakpoint
     (below), so both cards' image areas shrink together. */
  .reg-pathway-app-flex .app-phone-panel {
    min-height: 190px;
  }
}

.reg-pathway-note-shared {
  margin: 20px auto 66px;
  padding-inline: var(--gutter);
}

@media (max-width:720px) {
  .reg-pathway-note-shared {
    margin-bottom: 48px;
  }
}

.reg-toolkit-section {
  padding: 0 0 92px;
  background: #fff;
}

.reg-toolkit-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  grid-template-areas: "copy visual" "buttons visual";
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  overflow: hidden;
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: 28px;
  background: linear-gradient(125deg, #533afd 0%, #3f2ec5 52%, #11275a 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(31, 15, 120, .28);
}

.reg-toolkit-band .reg-toolkit-copy {
  grid-area: copy;
}

.reg-toolkit-band .reg-toolkit-visual {
  grid-area: visual;
}

.reg-toolkit-band .reg-toolkit-buttons {
  grid-area: buttons;
}

.reg-toolkit-band::before,
.reg-toolkit-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.reg-toolkit-band::before {
  width: 360px;
  height: 360px;
  right: -100px;
  top: -220px;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .025);
}

.reg-toolkit-band::after {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: -190px;
}

.reg-toolkit-copy>span {
  color: #d6d0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.reg-toolkit-band .reg-toolkit-copy h2 {
  max-width: 14ch;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  font-weight: 390;
  line-height: 1;
  letter-spacing: -.03em;
}

.reg-toolkit-copy p {
  max-width: 45ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.6;
}

.reg-toolkit-buttons {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  gap: 10px;
}

.reg-toolkit-buttons a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.reg-toolkit-buttons a:first-child {
  border-color: transparent;
  background: #fff;
  color: #3320bd;
}

.reg-toolkit-buttons a:first-child:hover {
  background: #f3f1ff;
}

.reg-toolkit-buttons a:not(:first-child):hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.reg-toolkit-buttons a:hover {
  transform: translateY(-1px);
}

.reg-toolkit-visual {
  position: relative;
  min-width: 0;
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(8, 4, 50, .28);
}

.reg-toolkit-illustration {
  margin: 0;
}

.reg-toolkit-illustration img {
  display: block;
  width: 100%;
  height: clamp(180px, 19vw, 260px);
  object-fit: contain;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.reg-toolkit-illustration figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 4px 0;
  padding-top: 10px;
  border-top: 1px solid #eef1f5;
  color: #98a4b6;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reg-toolkit-illustration figcaption span {
  color: #5b3df0;
  font-weight: 700;
}

.reg-toolkit-illustration figcaption strong {
  color: #0d253d;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

.reg-toolkit-previews {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: min(360px, 75%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
  transform: rotate(1.3deg);
}

.reg-toolkit-previews figure {
  min-width: 0;
  margin: 0;
  padding: 7px 7px 0;
  border: 1px solid #e0d7c9;
  border-radius: 5px 12px 5px 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(40, 53, 64, .14);
}

.reg-share-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 14px;
  border-radius: 3px 8px 4px 6px;
  background: #fff;
  color: #0d253d;
}

.reg-share-preview::before {
  content: "";
  position: absolute;
  top: -26px;
  right: -22px;
  width: 98px;
  height: 94px;
  border-radius: 44% 56% 38% 62%;
  background: #d9e8df;
  transform: rotate(18deg);
}

.reg-share-preview::after {
  content: "";
  position: absolute;
  top: 18px;
  left: -25px;
  width: 66px;
  height: 18px;
  background: #efbe53;
  transform: rotate(-8deg);
  opacity: .8;
}

.reg-share-preview small {
  position: relative;
  color: #1f6e52;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.reg-share-preview strong {
  position: relative;
  margin-top: 7px;
  color: #0d253d;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.reg-share-preview>span:last-child {
  position: relative;
  margin-top: 12px;
  color: #64748d;
  font-size: 9px;
}

.reg-share-square {
  aspect-ratio: 1;
}

.reg-share-story {
  aspect-ratio: 9/12;
}

.reg-toolkit-previews figcaption {
  padding: 7px 2px;
  color: #687568;
  font-size: 10px;
  text-align: center;
}

@media (max-width:980px) {
  .reg-pathway-grid {
    gap: 18px;
  }

  .reg-pathway-card {
    padding-inline: 30px;
  }

  .reg-toolkit-band {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual" "buttons";
  }

  .reg-toolkit-copy h2 {
    max-width: 18ch;
  }

  .reg-toolkit-visual {
    width: min(100%, 720px);
    min-height: 0;
  }
}

@media (max-width:720px) {
  .reg-people-strip {
    height: 170px;
  }

  .reg-people-row {
    height: 96px;
  }

  .reg-people-row-one {
    top: 0;
  }

  .reg-people-row-two {
    top: 48%;
  }

  .reg-people-group {
    gap: 15px;
    padding-right: 15px;
  }

  .reg-person {
    width: 82px;
    height: 90px;
    background-size: 1176px 689px;
  }

  .reg-person-1 {
    background-position: -34px -2px;
  }

  .reg-person-2 {
    background-position: -125px -39px;
  }

  .reg-person-3 {
    background-position: -221px -10px;
  }

  .reg-person-4 {
    background-position: -317px 0;
  }

  .reg-person-5 {
    background-position: -413px 0;
  }

  .reg-person-6 {
    background-position: -508px 0;
  }

  .reg-person-7 {
    background-position: -600px 0;
  }

  .reg-person-8 {
    background-position: -692px -28px;
  }

  .reg-person-9 {
    background-position: -783px -20px;
  }

  .reg-person-10 {
    background-position: -880px 0;
  }

  .reg-person-11 {
    background-position: -2px -128px;
  }

  .reg-person-12 {
    background-position: -192px -135px;
  }

  .reg-hero-copy {
    padding-top: 18px;
    padding-bottom: 38px;
  }

  .reg-total {
    font-size: clamp(4.2rem, 22vw, 6.5rem);
  }

  .reg-hero-copy p {
    margin-top: 24px;
    font-size: 1.35rem;
  }

  .reg-pathways {
    padding-top: 8px;
  }

  .reg-pathway-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .reg-pathway-card {
    min-height: auto;
    padding: 24px 24px 30px;
  }

  .reg-pathway-art {
    height: 190px;
  }

  .reg-primary-action {
    margin-top: 28px;
  }

  .reg-toolkit-section {
    padding-bottom: 64px;
  }

  .reg-toolkit-band {
    gap: 28px;
    padding: 28px 20px 26px;
    border-radius: 20px;
  }

  .reg-toolkit-copy p {
    font-size: 14px;
  }

  .reg-toolkit-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .reg-toolkit-buttons a {
    width: 100%;
  }

  .reg-toolkit-visual {
    min-height: 0;
    padding: 14px 14px 13px;
  }

  .reg-toolkit-illustration img {
    height: auto;
    aspect-ratio: auto;
  }

  .reg-toolkit-illustration figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
  }

  .reg-toolkit-illustration figcaption strong {
    text-align: left;
  }

  .reg-toolkit-previews {
    right: -4px;
    width: 88%;
    gap: 7px;
  }

  .reg-toolkit-previews figure {
    padding: 5px 5px 0;
  }

  .reg-share-preview {
    padding: 9px;
  }

  .reg-share-preview strong {
    font-size: 11px;
  }
}

/* Mobile-first finishing pass: compact navigation, clear focus, and dependable
   touch targets across every public page. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(83, 58, 253, .48);
  outline-offset: 3px;
}

.public-overview {
  padding: clamp(52px, 7vw, 90px) 0;
}

.public-overview-intro {
  max-width: 720px;
}

.public-overview-intro h2 {
  color: var(--c-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 320;
  line-height: 1;
  letter-spacing: -.045em;
}

.public-overview-intro p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
}

.public-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.public-overview-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fff;
}

.public-overview-card>span {
  color: var(--c-green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.public-overview-card h3 {
  margin-top: 26px;
  color: var(--c-ink);
  font-size: 1.25rem;
  line-height: 1.15;
}

.public-overview-card p {
  margin-top: 10px;
  color: var(--c-body);
  font-size: 14px;
  line-height: 1.6;
}

.public-overview-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  color: var(--c-navy-3);
  font-size: 14px;
  font-weight: 550;
}

.public-note {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--c-bg-2);
  color: var(--c-body);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .public-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 62px;
  }

  html {
    scroll-padding-top: 62px;
  }

  .site-top {
    z-index: 1000;
  }

  .site-header {
    background: rgba(255, 255, 255, .96);
  }

  .nav-actions {
    gap: 2px;
  }

  .nav-actions>.nav-auth-link {
    display: inline-flex;
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-auth-full {
    display: none;
  }

  .nav-auth-short {
    display: inline;
  }

  .nav-scrim {
    inset: calc(var(--nav-h) + var(--assisted-header-h)) 0 0;
    z-index: 980;
    backdrop-filter: none;
    background: rgba(11, 15, 25, .28);
  }

  .m-drawer {
    inset: calc(var(--nav-h) + var(--assisted-header-h)) 0 0;
    z-index: 990;
    padding-top: 14px;
    background: #fff;
  }

  .nav-burger {
    width: 44px;
    height: 44px;
  }

  body.is-locked .anna-embed-shell {
    visibility: hidden;
  }

  :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    min-height: 44px;
  }

  .mega-social a,
  .foot-social a {
    width: 44px;
    height: 44px;
  }

  .filter-row button,
  .chip,
  .tour-nav,
  .home-hero-controls>button,
  .update-controls button {
    min-width: 44px;
    min-height: 44px;
  }

  .update-banner {
    display: none !important;
  }

  .home-hero-slides {
    display: grid;
  }

  .home-hero-slide {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .home-hero-controls {
    display: none !important;
  }

  .home-current-slide .new-hero-grid {
    padding-top: 48px;
  }

  .update-track {
    border-radius: 10px;
  }

  .update-slide {
    min-height: 100px;
    padding: 11px 84px 11px 11px;
  }

  .update-slide strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .update-tag {
    font-size: 11px;
  }

  .update-meta {
    display: none;
  }

  .update-controls {
    right: 18px;
    bottom: 28px;
    gap: 2px;
    min-height: 44px;
  }

  .update-controls button {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
  }

  .update-controls span {
    min-width: 34px;
    font-size: 12px;
  }

  .home-past-slide {
    background: #f3eee4;
  }

  .home-hero-slide.home-past-slide {
    min-height: auto;
    align-self: start;
  }

  .home-past-slide::after,
  .home-past-slide>picture {
    display: none;
  }

  .home-past-grid {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-top: 52px;
    padding-bottom: 56px;
  }

  /* Below 640px the rally slide swaps to the tall portrait poster (see the
     <picture> source in index.html) - it now needs the full slide height
     like its siblings, not the 16:9 landscape shape the wide poster used. */
  .home-hero-slide.home-rally-slide {
    min-height: 760px;
    aspect-ratio: auto;
    align-self: stretch;
  }

  .home-past-copy h2 {
    font-size: clamp(1.8rem, 7vw, 3.1rem);
  }

  .home-past-video {
    width: 100%;
    max-width: 430px;
    transform: none;
    border-width: 5px;
  }

  .home-past-video>div {
    padding: 13px 14px 15px;
  }

  .home-past-video>div span {
    font-size: 12px;
  }

  .home-past-video>div strong {
    font-size: 15px;
  }

  .home-hero-controls>button {
    width: 44px;
    height: 44px;
  }

  .home-hero-dots {
    height: 44px;
  }

  .anna-latest {
    padding: 58px 0;
  }

  .anna-latest-head {
    margin-bottom: 22px;
  }

  .anna-latest-head h2 {
    font-size: clamp(3rem, 15vw, 4.25rem);
    line-height: .86;
  }

  .anna-latest-intro p {
    font-size: 14px;
  }

  .anna-post-card {
    padding: 16px;
  }

  .anna-post-top {
    min-height: 64px;
    align-items: center;
  }

  .anna-post-top>a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .anna-post-top>a span {
    display: none;
  }

  .anna-post-platform>span {
    font-size: 14px;
  }

  .anna-post-platform small {
    font-size: 12px;
  }

  .anna-embed-shell {
    display: none;
  }

  .anna-post-fallback {
    margin: 18px 2px 2px;
    font-size: 13px;
    line-height: 1.55;
  }

  .social-status,
  .social-profile-head small,
  .social-channel-links a {
    font-size: 12px;
  }

  .social-channel-links a {
    min-height: 44px;
    padding: 9px 10px;
  }

  .social-channel-links a>span {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .article-layout>*,
  .prose {
    min-width: 0;
    max-width: 100%;
  }

  .prose {
    overflow-wrap: anywhere;
  }

  .prose table.tbl {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .prose table.tbl th,
  .prose table.tbl td {
    overflow-wrap: normal;
  }

  .public-overview {
    padding: 48px 0;
  }

  .public-overview-card {
    padding: 22px;
  }

  .cca-card {
    padding: 28px 20px 30px;
    border-radius: 20px;
  }

  .cca-pillars-label {
    margin-top: 34px;
    font-size: 14px;
  }

  .cca-pillars-label::after {
    content: " · Swipe to explore";
    color: var(--c-navy-3);
  }

  .cca-grid {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding-bottom: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cca-grid::-webkit-scrollbar {
    display: none;
  }

  .cca-pillar {
    flex: 0 0 82%;
    min-height: 250px;
    padding: 22px;
    border: 1px solid #e3e0ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    scroll-snap-align: start;
  }

  .cca-ico {
    margin-bottom: 24px;
  }
}

/* Header still overflowed at real phone widths (iPhone SE/12/13, most
   Android phones sit at 360-414px): the brand mark, wordmark and auth
   pill never shrank past the 640px sizing above, pushing the burger
   button off-screen. Must come after the 640px block above and the base
   .site-header .brand-mark rule (equal specificity - later wins). Rather
   than hiding the "We The Leaders" wordmark outright, everything else in
   the row is tightened just enough to keep it visible at these widths. */
@media (max-width: 420px) {
  .site-header .brand-mark {
    width: 100%;
    height: 38px;
  }

  .site-header .brand-mark img {
    width: 100%;
    height: 42px;
  }

  .site-header .brand {
    gap: 6px;
  }

  .brand-name {
    font-size: .8125rem;
  }

  .nav {
    gap: 10px;
  }

  .nav-right {
    gap: 4px;
  }

  .language-picker {
    padding-left: 8px;
    padding-right: 8px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions>.nav-auth-link {
    padding: 0 9px;
    font-size: 11px;
  }
}

/* Below this, even the tightened row above can't fit the wordmark
   alongside the language picker, register pill and burger without
   overflowing (legacy 320px-class phones only — iPhone SE 1st-gen and
   similar; every mainstream 360px+ width keeps the wordmark visible). */
@media (max-width: 340px) {
  .site-header .brand-name {
    display: none;
  }
}

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

  .reg-people-track,
  .reg-person {
    animation: none;
  }

  .reg-people-track {
    transform: translateX(-8%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .dl-float-grid img {
    animation: none;
  }
}

/* ========================================================================== 
   Unified heading system
   Page titles share one display treatment; prominent section titles share a
   second, quieter treatment. Component and card headings keep their scale.
   ========================================================================== */
main h1:not(.sr-only):not(.apj-coming-title) {
  font-size: var(--type-page-size);
  font-weight: var(--type-page-weight);
  line-height: var(--type-page-leading);
}

.home-reframe h2.h2,
.section-intro h2,
.impact-copy h2,
.section-row h2,
.cca-intro h2,
.app-download-panel h2,
.about-mini h2,
.anna-latest-head h2,
.closing-inner h2,
.sec-head .h2,
.sec-head-split .h2,
.events-section-head h2,
.tour-notify h2,
.speech-highlights h2,
.theme-detail-heading h2,
.theme-rationale-layout h2,
.theme-report-layout h2,
.theme-message-layout h2,
.theme-explore-layout h2,
.theme-sdg-showcase-head h2,
.theme-download-copy h2,
.theme-toolkit-band h2,
.upcoming-detail-block>h2,
.public-overview-intro h2,
.impact-section-title h2,
.reg-toolkit-copy h2 {
  font-size: var(--type-section-size);
  font-weight: var(--type-section-weight);
  line-height: var(--type-section-leading);
  letter-spacing: var(--type-section-tracking);
}

main :is(.kicker, .eyebrow) {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  :root {
    --type-page-size: clamp(2.85rem, 13vw, 4.35rem);
    --type-section-size: clamp(2.1rem, 9.5vw, 3rem);
  }
}

/* Shared app-promotion treatment */
.detail-app-banner .detail-app-preview {
  width: 104px;
  height: 148px;
  margin-bottom: -18px;
}

.upcoming-app-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 16px;
  min-height: 220px;
  overflow: visible;
}

.upcoming-app-note>div {
  position: relative;
  z-index: 1;
}

.upcoming-app-note>div>span {
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.upcoming-app-note .btn {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  height: auto;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #0d253d;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  box-shadow: none;
}

.upcoming-app-note .btn:hover {
  background: #173f54;
  box-shadow: none;
}

.upcoming-app-note figure {
  align-self: end;
  width: 88px;
  height: 190px;
  margin: 0 -8px -24px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(2deg);
}

.upcoming-app-note figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(13, 37, 61, .2));
}

@media (max-width: 560px) {
  .detail-app-banner .detail-app-preview {
    width: 72px;
    height: 126px;
    margin-bottom: -18px;
  }

  .upcoming-app-note {
    grid-template-columns: minmax(0, 1fr) 72px;
    min-height: 210px;
    padding: 22px 18px;
  }

  .upcoming-app-note figure {
    width: 70px;
    height: 158px;
    margin-right: -8px;
  }

  .upcoming-app-note .btn {
    width: 100%;
    padding-inline: 12px;
  }
}

/* --------------------------------------------------------------------------
   Monthly-theme cinematic site entrance
   -------------------------------------------------------------------------- */
.earth-cinema-loader {
  --cinema-white: #f7fbff;
  --cinema-mist: #bce7ff;
  --cinema-blue: #0f68aa;
  display: block;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 39%, rgba(195, 238, 255, .52) 0, rgba(80, 174, 224, .22) 24%, transparent 48%),
    linear-gradient(180deg, #07558f 0%, #1778b8 46%, #8bc7e7 100%);
  color: var(--cinema-white);
  clip-path: none;
  transition: opacity .62s ease, visibility 0s linear .65s;
}

.earth-cinema-loader::before {
  z-index: 0;
  inset: -20%;
  background:
    radial-gradient(circle at 32% 35%, rgba(255, 255, 255, .19), transparent 22%),
    radial-gradient(circle at 70% 55%, rgba(255, 255, 255, .12), transparent 28%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .045) 0 1px, transparent 1px 5px);
  opacity: .72;
  transform: none;
  animation: cinemaAtmosphere 9s ease-in-out infinite alternate;
}

.earth-cinema-loader::after {
  content: none;
}

.earth-cinema-loader.is-done {
  opacity: 0;
  visibility: hidden;
  clip-path: none;
}

.cinema-sky,
.cinema-events,
.cinema-copy {
  position: absolute;
  inset: 0;
}

.cinema-sky {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cinema-cloud {
  position: absolute;
  width: clamp(260px, 34vw, 620px);
  height: clamp(90px, 13vw, 210px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 22% 58%, rgba(255, 255, 255, .78) 0 24%, transparent 25%),
    radial-gradient(ellipse at 43% 42%, rgba(255, 255, 255, .74) 0 31%, transparent 32%),
    radial-gradient(ellipse at 68% 55%, rgba(255, 255, 255, .68) 0 29%, transparent 30%),
    radial-gradient(ellipse at 50% 72%, rgba(255, 255, 255, .48) 0 40%, transparent 41%);
  filter: blur(10px);
  opacity: .43;
  will-change: transform;
}

.cloud-a {
  top: -4%;
  left: -10%;
  animation: cloudPassA 12s linear infinite;
}

.cloud-b {
  top: 20%;
  right: -15%;
  animation: cloudPassB 15s linear infinite;
}

.cloud-c {
  right: 16%;
  bottom: -6%;
  opacity: .34;
  animation: cloudPassA 18s linear infinite reverse;
}

.cloud-d {
  bottom: 11%;
  left: -16%;
  opacity: .27;
  animation: cloudPassB 17s linear infinite reverse;
}

.cinema-events {
  z-index: 1;
  pointer-events: none;
}

.cinema-event {
  position: absolute;
  width: clamp(92px, 11vw, 168px);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(2, 35, 67, .3);
  opacity: 0;
  transform: translateY(18px) scale(.93);
  transition: opacity .42s ease, transform .7s cubic-bezier(.16, 1, .3, 1), filter .42s ease;
}

.cinema-event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, .16), transparent 42%, rgba(4, 61, 101, .14));
}

.cinema-event img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-a {
  top: 12%;
  left: 4%;
  transform: rotate(-5deg) translateY(18px) scale(.93);
}

.event-b {
  top: 42%;
  left: 13%;
  transform: rotate(3deg) translateY(18px) scale(.93);
}

.event-c {
  bottom: 11%;
  left: 4%;
  transform: rotate(-2deg) translateY(18px) scale(.93);
}

.event-d {
  top: 11%;
  right: 4%;
  transform: rotate(4deg) translateY(18px) scale(.93);
}

.event-e {
  top: 43%;
  right: 13%;
  transform: rotate(-3deg) translateY(18px) scale(.93);
}

.event-f {
  right: 4%;
  bottom: 10%;
  transform: rotate(5deg) translateY(18px) scale(.93);
}

.earth-cinema-loader.is-ready .cinema-event {
  animation: cinemaEventIn 1s cubic-bezier(.16, 1, .3, 1) forwards;
}

.earth-cinema-loader.is-ready .event-a {
  animation-delay: .52s;
}

.earth-cinema-loader.is-ready .event-b {
  animation-delay: .72s;
}

.earth-cinema-loader.is-ready .event-c {
  animation-delay: .92s;
}

.earth-cinema-loader.is-ready .event-d {
  animation-delay: .62s;
}

.earth-cinema-loader.is-ready .event-e {
  animation-delay: .82s;
}

.earth-cinema-loader.is-ready .event-f {
  animation-delay: 1.02s;
}

.cinema-earth {
  position: absolute;
  z-index: 3;
  top: 41%;
  left: 50%;
  width: min(62vw, 680px);
  aspect-ratio: 3 / 2;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.66);
  transform-origin: 50% 50%;
  transition: transform 1.18s cubic-bezier(.76, 0, .24, 1), opacity .3s ease, filter 1.05s ease;
  will-change: transform, filter;
}

.cinema-earth video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: saturate(1.12) contrast(1.05);
}

.cinema-earth-rim {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(210, 242, 255, .46);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(133, 219, 255, .38), 0 0 110px rgba(108, 206, 250, .28);
  transform: translate(-50%, -50%);
}

.earth-cinema-loader.is-ready .cinema-earth {
  animation: cinemaEarthArrive 1.3s cubic-bezier(.16, 1, .3, 1) .08s forwards,
    cinemaEarthFloat 4.2s ease-in-out 1.4s infinite;
}

.cinema-copy {
  z-index: 4;
  display: grid;
  place-items: end center;
  padding: 0 24px 7.5vh;
  text-align: center;
  pointer-events: none;
}

.cinema-beat {
  position: absolute;
  bottom: 7.5vh;
  width: min(680px, calc(100vw - 44px));
  opacity: 0;
  transform: translateY(16px);
}

.cinema-beat span {
  display: block;
  color: #d9f1ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.cinema-beat strong {
  display: block;
  margin-top: 9px;
  color: #fff !important;
  font-size: clamp(2rem, 4.6vw, 4.65rem);
  font-weight: 300 !important;
  line-height: .95;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.cinema-beat p {
  margin: 13px auto 0;
  color: rgba(242, 250, 255, .76);
  font-size: clamp(12px, 1.15vw, 15px);
  line-height: 1.45;
  letter-spacing: .015em;
  text-wrap: balance;
}

.cinema-beat-brand p {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.earth-cinema-loader.is-ready .cinema-beat-impact {
  animation: cinemaBeat 1.72s cubic-bezier(.16, 1, .3, 1) .55s forwards;
}

.earth-cinema-loader.is-ready .cinema-beat-invite {
  animation: cinemaBeat 1.72s cubic-bezier(.16, 1, .3, 1) 2.18s forwards;
}

.earth-cinema-loader.is-ready .cinema-beat-brand {
  animation: cinemaBrandBeat 1.72s cubic-bezier(.16, 1, .3, 1) 3.82s forwards;
}

.cinema-progress {
  position: absolute;
  z-index: 5;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(24px, 4vw, 43px);
  left: clamp(24px, 4vw, 54px);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
  opacity: 0;
}

.cinema-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .9);
  transform: translateX(-101%);
}

.earth-cinema-loader.is-ready .cinema-progress {
  animation: cinemaFadeIn .45s ease .3s forwards;
}

.earth-cinema-loader.is-ready .cinema-progress i {
  animation: cinemaProgress 5.25s linear .38s forwards;
}

.earth-cinema-loader .loader-skip {
  z-index: 6;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(35px, 4.8vw, 58px);
  color: rgba(255, 255, 255, .76);
}

.earth-cinema-loader .loader-skip span {
  color: #fff;
}

.cinema-credit {
  position: absolute;
  z-index: 5;
  bottom: clamp(35px, 4.8vw, 58px);
  left: clamp(24px, 4vw, 54px);
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
}

.earth-cinema-loader.is-ready .cinema-credit {
  animation: cinemaFadeIn .5s ease .8s forwards;
}

.earth-cinema-loader.is-zooming .cinema-event {
  animation: none;
  opacity: 0;
  filter: blur(8px);
  transform: scale(.78);
}

.earth-cinema-loader.is-zooming .cinema-beat,
.earth-cinema-loader.is-zooming .cinema-progress,
.earth-cinema-loader.is-zooming .cinema-credit,
.earth-cinema-loader.is-zooming .loader-skip {
  animation: none;
  opacity: 0;
  transition: opacity .28s ease;
}

.earth-cinema-loader.is-zooming .cinema-earth {
  animation: none;
  opacity: 1;
  filter: brightness(1.72) saturate(1.18);
  transform: translate(-50%, -50%) scale(8.4);
}

.earth-cinema-loader.is-zooming::before {
  opacity: 0;
  transition: opacity .55s ease;
}

@keyframes cinemaAtmosphere {
  to {
    transform: translate3d(1.5%, -1%, 0) scale(1.04);
  }
}

@keyframes cloudPassA {
  0% {
    transform: translate3d(-7%, 0, 0) scale(.95);
  }

  50% {
    transform: translate3d(7%, -7%, 0) scale(1.05);
  }

  100% {
    transform: translate3d(17%, 2%, 0) scale(.98);
  }
}

@keyframes cloudPassB {
  0% {
    transform: translate3d(8%, 5%, 0) scale(1.05);
  }

  50% {
    transform: translate3d(-6%, -4%, 0) scale(.96);
  }

  100% {
    transform: translate3d(-15%, 3%, 0) scale(1.02);
  }
}

@keyframes cinemaEventIn {
  to {
    opacity: .78;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes cinemaEarthArrive {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes cinemaEarthFloat {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, calc(-50% - 7px)) scale(1.018);
  }
}

@keyframes cinemaBeat {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  18%,
  72% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes cinemaBrandBeat {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  20%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinemaFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes cinemaProgress {
  to {
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  .cinema-earth {
    top: 40%;
    width: min(110vw, 560px);
  }

  .cinema-event {
    width: 102px;
    border-radius: 11px;
  }

  .event-a {
    top: 10%;
    left: -18px;
  }

  .event-c {
    bottom: 22%;
    left: -22px;
  }

  .event-d {
    top: 12%;
    right: -22px;
  }

  .event-f {
    right: -24px;
    bottom: 23%;
  }

  .event-b,
  .event-e {
    display: none;
  }

  .cinema-copy {
    padding-bottom: 12.5vh;
  }

  .cinema-beat {
    bottom: 12.5vh;
  }

  .cinema-beat strong {
    font-size: clamp(2.1rem, 11vw, 3.65rem);
  }

  .cinema-beat p {
    max-width: 34ch;
  }

  .cinema-credit {
    display: none;
  }

  .cinema-progress {
    bottom: 24px;
  }

  .earth-cinema-loader .loader-skip {
    right: 22px;
    bottom: 30px;
  }
}

@media (max-width: 420px) {
  .cinema-earth {
    top: 38%;
    width: 124vw;
  }

  .cinema-event {
    width: 88px;
  }

  .cinema-beat {
    bottom: 14vh;
  }

  .cinema-beat p {
    margin-top: 10px;
  }
}

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

  .earth-cinema-loader,
  .earth-cinema-loader * {
    animation: none !important;
    transition: none !important;
  }
}

/* Compact Clean and Sustainable Tamil Nadu campaign loader. */
.earth-logo-loader {
  --loader-sky: #126da9;
  --loader-sky-light: #73bce4;
  --loader-land: #82dc91;
  --loader-ocean: #1174b5;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(203, 242, 255, .28) 0%, rgba(203, 242, 255, .14) 16%, transparent 40%),
    linear-gradient(180deg, #07568f 0%, var(--loader-sky) 52%, var(--loader-sky-light) 100%);
  clip-path: none;
  transition: opacity .56s ease, visibility 0s linear .58s;
}

.earth-logo-loader::before {
  z-index: 0;
  inset: -12%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .15), transparent 24%),
    radial-gradient(circle at 72% 70%, rgba(255, 255, 255, .1), transparent 30%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px);
  opacity: .72;
  transform: none;
}

.earth-logo-loader::after {
  content: none;
}

.earth-logo-loader.is-done {
  opacity: 0;
  visibility: hidden;
  clip-path: none;
}

.earth-logo-loader .cinema-sky {
  z-index: 0;
}

.earth-logo-loader .cinema-cloud {
  opacity: .36;
  filter: blur(12px);
}

.earth-loader-lockup {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100vw - 48px));
  text-align: center;
}

.earth-loader-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-8px);
  backdrop-filter: blur(8px);
}

.earth-loader-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(82px, 10vw, 118px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.earth-loader-word {
  color: #fff;
  font-size: clamp(1.05rem, 2.4vw, 2.15rem);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  filter: blur(7px);
}

.earth-loader-word-left {
  display: grid;
  justify-items: end;
  gap: 8px;
  justify-self: end;
  clip-path: inset(0 0 0 100%);
  transform: translateX(56px);
}

.earth-loader-word-right {
  justify-self: start;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-56px);
}

.earth-loader-orb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(.16);
  will-change: transform, opacity;
}

.earth-loader-orb::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .32) 55%, transparent 82%);
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
}

.earth-loader-orb svg {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 15px 28px rgba(4, 37, 65, .22));
}

.earth-loader-ring {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
}

.earth-loader-ring-outer {
  stroke-width: 6;
  stroke-dasharray: 321;
  stroke-dashoffset: 321;
}

.earth-loader-ring-inner {
  stroke-width: 2;
  stroke: rgba(255, 255, 255, .74);
  stroke-dasharray: 271;
  stroke-dashoffset: 271;
}

.earth-loader-ocean {
  fill: var(--loader-ocean);
  stroke: rgba(255, 255, 255, .45);
  stroke-width: 1;
  opacity: 0;
  transform: scale(.35);
  transform-origin: 60px 60px;
}

.earth-loader-land {
  fill: var(--loader-land);
  opacity: 0;
  transform: scale(.2) rotate(-8deg);
  transform-origin: 60px 60px;
}

.earth-loader-subline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .19em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
}

.earth-loader-subline i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--loader-land);
  box-shadow: 0 0 12px rgba(130, 220, 145, .75);
}

.earth-loader-progress {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(24px, 4vw, 43px);
  left: clamp(24px, 4vw, 54px);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
  opacity: 0;
}

.earth-loader-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .92);
  transform: translateX(-101%);
}

.earth-logo-loader .loader-skip {
  z-index: 5;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(35px, 4.8vw, 58px);
  color: rgba(255, 255, 255, .76);
}

.earth-logo-loader .loader-skip span {
  color: #fff;
}

.earth-logo-loader.is-ready .earth-loader-orb {
  animation: earthLogoOrbIn .7s cubic-bezier(.16, 1, .3, 1) .12s forwards;
}

.earth-logo-loader.is-ready .earth-loader-orb::before {
  animation: earthLogoSeed .82s cubic-bezier(.16, 1, .3, 1) .14s forwards;
}

.earth-logo-loader.is-ready .earth-loader-ring-outer {
  animation: earthLogoRing .72s cubic-bezier(.65, 0, .35, 1) .5s forwards;
}

.earth-logo-loader.is-ready .earth-loader-ring-inner {
  animation: earthLogoRing .62s cubic-bezier(.65, 0, .35, 1) .68s forwards;
}

.earth-logo-loader.is-ready .earth-loader-ocean {
  animation: earthLogoOcean .5s cubic-bezier(.16, 1, .3, 1) .7s forwards;
}

.earth-logo-loader.is-ready .earth-loader-land-a {
  animation: earthLogoLand .55s cubic-bezier(.16, 1, .3, 1) .92s forwards;
}

.earth-logo-loader.is-ready .earth-loader-land-b {
  animation: earthLogoLand .55s cubic-bezier(.16, 1, .3, 1) 1.02s forwards;
}

.earth-logo-loader.is-ready .earth-loader-land-c {
  animation: earthLogoLand .55s cubic-bezier(.16, 1, .3, 1) 1.1s forwards;
}

.earth-logo-loader.is-ready .earth-loader-word-left {
  animation: earthLogoWordLeft .88s cubic-bezier(.16, 1, .3, 1) 1.12s forwards;
}

.earth-logo-loader.is-ready .earth-loader-word-right {
  animation: earthLogoWordRight .88s cubic-bezier(.16, 1, .3, 1) 1.12s forwards;
}

.earth-logo-loader.is-ready .earth-loader-tag {
  animation: earthLogoTag .55s cubic-bezier(.16, 1, .3, 1) 1.32s forwards;
}

.earth-logo-loader.is-ready .earth-loader-subline {
  animation: earthLogoSubline .65s cubic-bezier(.16, 1, .3, 1) 1.7s forwards;
}

.earth-logo-loader.is-ready .earth-loader-progress {
  animation: cinemaFadeIn .3s ease .25s forwards;
}

.earth-logo-loader.is-ready .earth-loader-progress i {
  animation: earthLogoProgress 3.4s linear .24s forwards;
}

.earth-logo-loader.is-zooming {
  opacity: 0;
  transition: opacity .72s cubic-bezier(.65, 0, .35, 1);
}

.earth-logo-loader.is-zooming .earth-loader-lockup {
  opacity: 0;
  transform: scale(.965);
  transition: opacity .42s ease, transform .68s cubic-bezier(.16, 1, .3, 1);
}

.earth-logo-loader.is-zooming .earth-loader-progress,
.earth-logo-loader.is-zooming .loader-skip {
  opacity: 0;
  transition: opacity .2s ease;
}

.earth-logo-loader.is-zooming .cinema-sky {
  opacity: .18;
  transition: opacity .6s ease;
}

@keyframes earthLogoOrbIn {
  0% {
    opacity: 0;
    transform: scale(.16) rotate(-22deg);
  }

  68% {
    opacity: 1;
    transform: scale(1.08) rotate(3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes earthLogoSeed {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
  }

  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(2.8);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.2);
  }
}

@keyframes earthLogoRing {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes earthLogoOcean {
  65% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes earthLogoLand {
  68% {
    opacity: 1;
    transform: scale(1.08) rotate(1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes earthLogoWordLeft {
  0% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    filter: blur(7px);
    transform: translateX(56px);
  }

  70% {
    opacity: 1;
    clip-path: inset(0);
    filter: blur(0);
    transform: translateX(-4px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes earthLogoWordRight {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter: blur(7px);
    transform: translateX(-56px);
  }

  70% {
    opacity: 1;
    clip-path: inset(0);
    filter: blur(0);
    transform: translateX(4px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    filter: blur(0);
    transform: translateX(0);
  }
}

@keyframes earthLogoTag {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes earthLogoSubline {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes earthLogoProgress {
  to {
    transform: translateX(0);
  }
}

@media (max-width:600px) {
  .earth-loader-lockup {
    width: calc(100vw - 28px);
  }

  .earth-loader-brand {
    grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
    gap: 8px;
  }

  .earth-loader-tag {
    margin-bottom: 18px;
    padding: 7px 10px;
    font-size: 7px;
    letter-spacing: .13em;
  }

  .earth-loader-word {
    font-size: clamp(.65rem, 3.1vw, .82rem);
    letter-spacing: .1em;
  }

  .earth-loader-word-left {
    gap: 5px;
  }

  .earth-loader-subline {
    gap: 8px;
    font-size: 8px;
    letter-spacing: .13em;
  }

  .earth-logo-loader .loader-skip {
    right: 22px;
    bottom: 30px;
  }

  .earth-loader-progress {
    bottom: 24px;
  }
}

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

  .earth-logo-loader,
  .earth-logo-loader * {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Login / registration card, current-theme photo stage behind a compact
   split card (brand panel + form).
   -------------------------------------------------------------------------- */
.auth-card-page {
  margin: 0;
  background: #f3f1ff;
  color: #0d253d;
}

.auth-card-stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 76px 24px 64px;
  background: radial-gradient(circle at 50% 38%, #fff 0, #fff 24%, rgba(244, 241, 255, .6) 58%, #f3f1ff 100%);
}

.auth-card-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#dbe1eb 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .24;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.auth-card-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.auth-card-back {
  position: absolute;
  z-index: 5;
  top: 32px;
  right: max(24px, calc((100% - 1120px)/2));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748d;
  font-size: 13px;
}

.auth-card-back span {
  color: #533afd;
  transition: transform .2s ease;
}

.auth-card-back:hover span {
  transform: translate(2px, -2px);
}

.auth-card-content {
  position: relative;
  z-index: 4;
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth-card-welcome {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-card-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.auth-card-welcome-line {
  margin-top: 6px;
  color: #0d253d;
  font-size: 14px;
  font-weight: 550;
}

.auth-card-welcome-theme {
  margin-top: 4px;
  color: #61718a;
  font-size: 12px;
}

.auth-card-welcome-theme strong {
  color: #533afd;
  font-weight: 650;
}

/* On spacious screens the card itself is the visual hero, so centre it on the
   viewport axis and let the compact welcome lockup sit just above it. */
@media (min-width:721px) and (min-height:850px) {
  .auth-card-welcome {
    position: absolute;
    right: 0;
    bottom: calc(100% + 30px);
    left: 0;
    margin-bottom: 0;
  }
}

@media (min-width:721px) and (max-height:849px) {
  .auth-card-stage {
    place-items: start center;
    overflow-y: auto;
  }
}

.auth-card {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(13, 37, 61, .18);
}

.auth-card-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(155deg, #4a30e8, #7c5cff 55%, #9b7dff);
}

.auth-card-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  opacity: .55;
  mix-blend-mode: luminosity;
}

.auth-card-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(185deg, rgba(46, 27, 171, .28) 0%, rgba(46, 27, 171, .62) 46%, rgba(41, 24, 150, .94) 100%);
}

.auth-card-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .03);
}

.auth-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9d3ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-card-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82dc91;
  box-shadow: 0 0 0 5px rgba(130, 220, 145, .18);
}

.auth-card-panel h2 {
  max-width: 16ch;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.auth-card-quote {
  max-width: 34ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  line-height: 1.6;
}

.auth-card-cite {
  display: block;
  margin-top: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.auth-card-cite small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: .02em;
}

.auth-card-form {
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}

.auth-card-form-kicker {
  color: #533afd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.auth-card-form h1 {
  color: #0d253d;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.auth-card-form-intro {
  max-width: 34ch;
  margin-top: 10px;
  color: #61718a;
  font-size: 13px;
  line-height: 1.55;
}

.auth-card-fields {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-card-fields label {
  display: block;
}

.auth-card-fields input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #e3e8ee;
  border-radius: 9px;
  background: #fff;
  color: #0d253d;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-card-fields input::placeholder {
  color: #9aa5b5;
}

.auth-card-fields input:focus {
  outline: none;
  border-color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .16);
}

.auth-card-mobile-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 52px;
  border: 1px solid #e3e8ee;
  border-radius: 9px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-card-mobile-field:focus-within {
  border-color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .16);
}

.auth-card-mobile-field>span {
  padding: 0 14px;
  border-right: 1px solid #e3e8ee;
  color: #0d253d;
  font-size: 14px;
  font-weight: 600;
}

.auth-card-mobile-field input {
  min-height: 50px;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.auth-card-submit {
  min-height: 50px;
  margin-top: 18px;
  border-radius: 9px;
  background: #533afd;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 16px 30px rgba(83, 58, 253, .24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-card-submit span {
  margin-left: 7px;
}

.auth-card-submit:hover {
  background: #432bdc;
  box-shadow: 0 20px 34px rgba(83, 58, 253, .3);
  transform: translateY(-1px);
}

.auth-card-switch {
  margin-top: 18px;
  color: #61718a;
  font-size: 13px;
  text-align: center;
}

.auth-card-switch a {
  color: #533afd;
  font-weight: 650;
}

.auth-card-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #98a4b6;
  font-size: 11px;
  white-space: nowrap;
}

.auth-card-divider::before,
.auth-card-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e3e8ee;
}

.auth-card-register {
  display: grid;
  place-items: center;
  min-height: 48px;
  margin-top: 14px;
  border: 1px solid #d9ddea;
  border-radius: 9px;
  color: #0d253d;
  font-size: 14px;
  font-weight: 650;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.auth-card-register:hover {
  border-color: #533afd;
  background: #f6f5ff;
  color: #533afd;
}

.auth-card-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #f6f5ff;
  color: #7b889c;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width:760px) {
  .auth-card-stage {
    padding: 80px 16px 48px;
  }

  .auth-card-logo {
    width: 110px;
    height: 110px;
  }

  .auth-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .auth-card-panel {
    min-height: 220px;
    padding: 30px 24px;
  }

  .auth-card-panel h2 {
    max-width: none;
  }

  .auth-card-form {
    padding: 30px 24px;
  }
}

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

  .auth-card-back span,
  .auth-card-submit {
    transition: none;
  }
}

/* Newsletter early-access page, compact split card matching member access. */
.newsletters-page main {
  background: #f3f1ff;
}

.newsletter-signup-stage {
  position: relative;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  padding: 32px 0 88px;
  background: radial-gradient(circle at 50% 44%, #fff 0, #fff 22%, rgba(244, 241, 255, .66) 60%, #f3f1ff 100%);
}

.newsletter-signup-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#dbe1eb 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .22;
  mask-image: radial-gradient(circle at center, #000, transparent 74%);
  pointer-events: none;
}

.newsletter-signup-stage .wrap {
  position: relative;
  z-index: 1;
}

.newsletter-signup-crumbs {
  margin-bottom: 34px;
}

.newsletter-signup-intro {
  max-width: 700px;
  margin: 0 0 32px;
  text-align: left;
}

.newsletter-signup-intro>span,
.newsletter-signup-form-panel>span {
  color: #533afd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.newsletter-signup-intro h1 {
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 430;
  line-height: .98;
  letter-spacing: -.055em;
}

.newsletter-signup-intro p {
  max-width: 610px;
  margin: 14px 0 0;
  color: #64748d;
  font-size: 15px;
  line-height: 1.6;
}

.newsletter-issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 260px));
  gap: 18px;
  width: min(920px, 100%);
  margin: 40px 0 0;
}

/* Photo on top, words on a white panel below, so the headline never sits
   over the speaker's face. */
.newsletter-issue-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(13, 37, 61, .08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 37, 61, .08);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.newsletter-issue-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 68% 30%;
  transition: transform .5s ease;
}

.newsletter-issue-card:hover,
.newsletter-issue-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 37, 61, .14);
}

.newsletter-issue-card:hover img,
.newsletter-issue-card:focus-visible img {
  transform: scale(1.04);
}

/* The image scales inside its own box, so the card's edge stays still. */
.newsletter-issue-card {
  isolation: isolate;
}

.newsletter-issue-card>span:not(.newsletter-issue-art) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  text-align: left;
}

.newsletter-issue-card small {
  color: #533afd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.newsletter-issue-card strong {
  color: #0d253d;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.newsletter-issue-card .newsletter-issue-cta {
  margin-top: auto;
  padding-top: 6px;
  color: #533afd;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

.newsletter-issue-card:focus-visible {
  outline: 3px solid #533afd;
  outline-offset: 4px;
}

.newsletter-signup-card {
  width: min(920px, 100%);
  min-height: 470px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 36px 80px rgba(13, 37, 61, .16);
}

.newsletter-signup-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4.5vw, 48px);
  color: #fff;
  background: #142b48;
}

.newsletter-signup-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 42, .02) 0%, rgba(8, 24, 42, .2) 34%, rgba(8, 24, 42, .9) 72%, #0d253d 100%);
}

.newsletter-signup-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(90deg, rgba(83, 58, 253, .28), transparent 72%);
}

.newsletter-signup-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.newsletter-signup-invitation {
  position: relative;
  z-index: 1;
}

.newsletter-signup-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d9d3ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.newsletter-signup-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82dc91;
  box-shadow: 0 0 0 5px rgba(130, 220, 145, .16);
}

.newsletter-signup-panel h2 {
  max-width: 13ch;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 580;
  line-height: 1.04;
  margin-bottom: 10px;
}

.newsletter-signup-panel>p {
  max-width: 38ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  line-height: 1.6;
}

.newsletter-signup-panel ul {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.newsletter-signup-panel li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  line-height: 1.4;
}

.newsletter-signup-panel li b {
  color: #82dc91;
  font-size: 10px;
  letter-spacing: .08em;
}

.newsletter-signup-form-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px;
  text-align: left;
}

.newsletter-signup-form-panel h2 {
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.newsletter-signup-form-panel>p {
  max-width: 34ch;
  margin-top: 12px;
  color: #61718a;
  font-size: 13px;
  line-height: 1.55;
}

.newsletter-signup-form {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 24px 0 0;
}

.newsletter-signup-form label {
  align-self: flex-start;
  margin-bottom: 8px;
  color: #0d253d;
  font-size: 12px;
  font-weight: 700;
}

.newsletter-signup-form input {
  width: 100%;
  height: 52px;
  padding: 0 17px;
  border: 1px solid #d9ddea;
  border-radius: 10px;
  background: #fff;
  color: #0d253d;
  font: inherit;
  font-size: 14px;
  text-align: left;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.newsletter-signup-form input::placeholder {
  color: #9aa5b5;
}

.newsletter-signup-form input:focus {
  border-color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, .16);
}

.newsletter-signup-form button {
  width: 100%;
  height: 50px;
  margin-top: 12px;
  border-radius: 10px;
  background: #533afd;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 16px 30px rgba(83, 58, 253, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.newsletter-signup-form button:hover {
  background: #432bdc;
  box-shadow: 0 20px 34px rgba(83, 58, 253, .28);
  transform: translateY(-1px);
}

.newsletter-signup-form button:disabled {
  cursor: wait;
  opacity: .82;
}

.newsletter-signup-form small {
  margin-top: 14px;
  color: #8a97aa;
  font-size: 10px;
  line-height: 1.45;
  text-align: left;
}

@media (max-width:760px) {
  .newsletter-signup-stage {
    padding: 22px 0 58px;
  }

  .newsletter-signup-crumbs {
    margin-bottom: 26px;
  }

  .newsletter-signup-intro {
    margin-bottom: 24px;
  }

  .newsletter-issues-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .newsletter-issue-card {
    border-radius: 14px;
  }

  .newsletter-signup-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .newsletter-signup-panel {
    min-height: 300px;
    padding: 32px 26px;
  }

  .newsletter-signup-panel h2 {
    max-width: none;
  }

  .newsletter-signup-form-panel {
    padding: 38px 24px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .newsletter-signup-form button {
    transition: none;
  }
}

/* ========================================================================== 
   Stories of Change, editorial field-story index
   ========================================================================== */
.stories-page {
  background: #fff;
}

.stories-hero {
  padding: clamp(32px, 3vw, 44px) 0 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
  border-bottom: 1px solid var(--c-line);
}

.stories-hero .crumbs {
  margin-bottom: clamp(26px, 2.4vw, 34px);
}

.stories-hero-copy {
  max-width: 820px;
  padding: 0 0 clamp(40px, 3.6vw, 52px);
}

.stories-hero-copy .eyebrow {
  display: flex;
  color: #533afd;
}

.stories-hero-copy h1 {
  margin-top: 14px;
  color: #0d253d;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  font-weight: 350;
  line-height: .9;
  letter-spacing: -.065em;
}

.stories-hero-copy p {
  max-width: 650px;
  margin-top: 20px;
  color: #61718a;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.stories-feature-section {
  padding: 22px 0 76px;
}

.change-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  min-height: 470px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #101b38 0%, #172f65 100%);
  box-shadow: 0 28px 70px rgba(13, 37, 61, .14);
}

.change-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(42px, 6vw, 76px);
  color: #fff;
}

.change-feature-kicker {
  color: #bfb4ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.change-feature-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 520;
}

.change-feature-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9d8cff;
}

.change-feature h2 {
  max-width: 16ch;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.change-feature-copy p {
  max-width: 58ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.7;
}

.change-feature-copy>a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 34px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.change-feature-copy>a span {
  color: #a99cff;
  transition: transform .2s ease;
}

.change-feature-copy>a:hover span {
  transform: translate(3px, -3px);
}

.change-feature-image {
  position: relative;
  align-self: stretch;
  min-height: 0;
  margin: 24px 24px 24px 0;
  overflow: hidden;
  border-radius: 20px;
}

.change-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 12, 30, .72));
}

.change-feature-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.change-feature:hover .change-feature-image img {
  transform: scale(1.025);
}

.change-feature-image figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.change-feature-image figcaption span {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.change-feature-image figcaption strong {
  font-size: 13px;
  font-weight: 600;
}

.stories-library {
  padding: clamp(52px, 5.4vw, 72px) 0 clamp(72px, 7vw, 96px);
  background: #f7f9fc;
}

.stories-library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.stories-library-head .kicker {
  color: #533afd;
}

.stories-library-head h2 {
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.05em;
}

.stories-library-head p {
  margin-top: 14px;
  color: #61718a;
  font-size: 15px;
}

.stories-filters {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.stories-filters label {
  position: relative;
}

.stories-filters label>span {
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 14px;
  color: #8a95a8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.stories-filters select {
  min-width: 168px;
  height: 56px;
  padding: 19px 36px 4px 14px;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #fff;
  color: #0d253d;
  font: 550 13px/1 var(--font);
  box-shadow: 0 2px 8px rgba(13, 37, 61, .03);
  cursor: pointer;
}

.stories-filters select:focus {
  outline: 3px solid rgba(83, 58, 253, .13);
  border-color: #8070ff;
}

.change-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 28px;
}

.change-story-card {
  position: relative;
  cursor: pointer;
}

.change-story-card[hidden] {
  display: none;
}

.change-story-image {
  position: relative;
  z-index: 2;
  display: block;
  height: 250px;
  overflow: hidden;
  border-radius: 17px;
  background: #e9edf4;
}

.change-story-image::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 35, .46));
}

.change-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out);
}

.change-story-image.is-illustration img {
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.change-story-card:hover .change-story-image img {
  transform: scale(1.035);
}

.change-story-image>span {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 14px;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  color: #533afd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 5px 18px rgba(13, 37, 61, .12);
}

.change-story-copy {
  padding-top: 20px;
}

.change-story-copy small {
  color: #7a879b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.change-story-copy h3 {
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.028em;
}

.change-story-copy p {
  margin-top: 12px;
  color: #61718a;
  font-size: 14px;
  line-height: 1.58;
}

.change-story-copy>a {
  display: inline-flex;
  gap: 7px;
  margin-top: 18px;
  color: #0d253d;
  font-size: 12px;
  font-weight: 650;
}

.change-story-copy>a::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 17px;
}

.change-story-copy>a span {
  color: #533afd;
  transition: transform .2s ease;
}

.change-story-copy>a:hover span,
.change-story-card:hover .change-story-copy>a span,
.change-story-card:focus-within .change-story-copy>a span {
  transform: translate(3px, -3px);
}

.change-story-card:hover .change-story-copy h3,
.change-story-card:focus-within .change-story-copy h3 {
  color: #533afd;
}

.change-story-card:focus-within {
  outline: 3px solid rgba(83, 58, 253, .14);
  outline-offset: 8px;
  border-radius: 17px;
}

.stories-empty {
  padding: 60px 20px;
  border: 1px dashed #ccd3df;
  border-radius: 18px;
  color: #61718a;
  text-align: center;
}

.stories-library-empty {
  padding: clamp(52px, 6vw, 82px) 0;
}

.stories-update-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(32px, 4.5vw, 56px);
  border: 1px solid #dfe4ec;
  border-radius: 24px;
  background: linear-gradient(120deg, #fff 0%, #f8f7ff 58%, #eef7f3 100%);
  box-shadow: 0 20px 54px rgba(13, 37, 61, .07);
}

.stories-update-mark {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0d253d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.stories-update-mark::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #56c997;
  box-shadow: 0 0 0 10px rgba(86, 201, 151, .14);
  transform: translate(-50%, -50%);
}

.stories-update-copy .eyebrow {
  color: #533afd;
}

.stories-update-copy h2 {
  max-width: 15ch;
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 380;
  line-height: 1;
  letter-spacing: -.045em;
}

.stories-update-copy p {
  max-width: 62ch;
  margin-top: 14px;
  color: #61718a;
  font-size: 15px;
  line-height: 1.65;
}

.stories-update-state>.btn {
  white-space: nowrap;
}

.story-detail-page {
  background: #fff;
}

.story-detail-hero {
  padding: 34px 0 80px;
  background: linear-gradient(145deg, #f5f3ff, #fff 72%);
}

.story-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  margin-top: 54px;
}

.story-detail-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: #e9edf4;
  box-shadow: 0 24px 60px rgba(13, 37, 61, .14);
}

.story-detail-media img,
.story-detail-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.story-detail-copy .eyebrow {
  color: #533afd;
}

.story-detail-copy h1 {
  max-width: 13ch;
  margin-top: 18px;
  color: #0d253d;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 350;
  line-height: .9;
  letter-spacing: -.065em;
}

.story-detail-copy p {
  max-width: 58ch;
  margin-top: 26px;
  color: #61718a;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.6;
}

.story-detail-content {
  padding: 82px 0 104px;
}

.story-detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(45px, 8vw, 110px);
}

.story-detail-content h2 {
  max-width: 16ch;
  margin-top: 12px;
  color: #0d253d;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  font-weight: 350;
  line-height: .95;
  letter-spacing: -.05em;
}

.story-detail-content p {
  max-width: 66ch;
  margin-top: 24px;
  color: #61718a;
  font-size: 16px;
  line-height: 1.75;
}

.story-detail-content dl {
  border-top: 1px solid #dfe4ec;
}

.story-detail-content dl div {
  padding: 20px 0;
  border-bottom: 1px solid #dfe4ec;
}

.story-detail-content dt {
  color: #8a95a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-detail-content dd {
  margin-top: 8px;
  color: #0d253d;
  font-size: 16px;
  font-weight: 550;
}

.story-impact-section {
  padding: 82px 0;
  background: #f7f9fc;
}

.story-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.story-section-head h2 {
  max-width: 16ch;
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 350;
  line-height: .96;
  letter-spacing: -.05em;
}

.story-section-head>p {
  max-width: 42ch;
  color: #64748d;
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.story-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e0e5ed;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.story-impact-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid #e0e5ed;
}

.story-impact-grid article:last-child {
  border-right: 0;
}

.story-impact-grid strong {
  color: #533afd;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.05em;
}

.story-impact-grid span {
  margin-top: 20px;
  color: #0d253d;
  font-size: 15px;
  font-weight: 650;
}

.story-impact-grid small {
  margin-top: auto;
  padding-top: 14px;
  color: #8793a6;
  font-size: 11px;
  line-height: 1.4;
}

.story-gallery-section {
  padding: 90px 0 110px;
  background: #fff;
}

.story-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-detail-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e0e5ed;
  border-radius: 15px;
  background: #eef1f5;
}

.story-detail-gallery figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.story-detail-gallery img,
.story-detail-gallery video {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.story-detail-gallery figure:first-child img,
.story-detail-gallery figure:first-child video {
  height: 574px;
}

.story-gallery-video {
  position: relative;
}

.story-gallery-video figcaption {
  padding: 10px 13px;
  color: #61718a;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width:760px) {

  .story-detail-grid,
  .story-detail-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-detail-media,
  .story-detail-media img,
  .story-detail-media video {
    min-height: 0;
    aspect-ratio: 4/3;
  }

  .story-detail-copy h1 {
    max-width: none;
  }

  .story-detail-hero {
    padding-bottom: 56px;
  }
}

@media (max-width:760px) {
  .story-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .story-section-head>p {
    text-align: left;
  }

  .story-impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-impact-grid article:nth-child(2) {
    border-right: 0;
  }

  .story-impact-grid article:nth-child(-n+2) {
    border-bottom: 1px solid #e0e5ed;
  }

  .story-detail-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .story-detail-gallery figure:first-child {
    grid-column: 1/3;
    grid-row: auto;
  }

  .story-detail-gallery img,
  .story-detail-gallery video,
  .story-detail-gallery figure:first-child img,
  .story-detail-gallery figure:first-child video {
    height: auto;
    aspect-ratio: 4/3;
  }

  .story-gallery-video {
    grid-column: 1/3;
  }
}

/* Stories of Change detail: compact completed-event record */
.story-record-body {
  padding: 54px 0 78px;
  background: #fff;
}

.story-record-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 54px;
}

.story-record-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.story-record-facts div {
  min-width: 0;
  padding: 12px;
  border-radius: 9px;
  background: #f6f9fc;
}

.story-record-facts dt {
  color: #8a96a8;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-record-facts dd {
  margin: 8px 0 0;
  color: #0d253d;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}

.story-record-gallery {
  max-height: 760px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: #cbd3df transparent;
}

.leader-record-gallery.story-record-gallery figure {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4/5;
  border-radius: 11px;
  background: #eef1f5;
}

.story-record-gallery figure::after {
  display: none;
}

.story-record-gallery figure img {
  object-position: center;
}

.story-record-gallery figcaption {
  display: none;
}

.story-record-gallery video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0d253d;
}

.story-record-gallery .leader-record-gallery-main {
  grid-column: auto;
  height: auto !important;
}

.story-record-video {
  grid-column: 1/3;
  height: auto !important;
  min-height: 220px;
  aspect-ratio: 16/9 !important;
}

.story-record-video video {
  min-height: 220px;
  aspect-ratio: 16/9;
}

.story-record-empty {
  padding: 26px 14px;
  margin-top: 6px;
  border-radius: 10px;
  font-size: 13px;
}

.story-record-body .leader-impact-grid article.is-empty strong {
  position: relative;
  min-height: 31px;
}

.story-record-body .leader-impact-grid article.is-empty strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  width: 72px;
  border-bottom: 1px solid #cbd3df;
}

@media (max-width:900px) {
  .story-record-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
  }

  .story-record-gallery {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width:600px) {
  .story-record-body {
    padding: 38px 0 58px;
  }

  .story-record-layout {
    width: calc(100% - 36px);
    gap: 34px;
  }

  .story-record-facts {
    grid-template-columns: 1fr;
  }

  .story-record-video {
    min-height: 190px;
  }

  .story-record-video video {
    min-height: 190px;
  }
}

/* .stories-submit-section { padding:88px 0 104px;background:#fff; } */
.stories-submit-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: 70px;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 28px;
  background: linear-gradient(125deg, #533afd 0%, #3f2ec5 52%, #11275a 100%);
  color: #fff;
}

.stories-submit-band::before,
.stories-submit-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.stories-submit-band::before {
  width: 360px;
  height: 360px;
  right: -100px;
  top: -220px;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .025);
}

.stories-submit-band::after {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: -190px;
}

.stories-submit-copy>span {
  color: #d6d0ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.stories-submit-copy h2 {
  max-width: 16ch;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 390;
  line-height: 1;
  letter-spacing: -.05em;
}

.stories-submit-copy p {
  max-width: 66ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.7;
}

.stories-submit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.stories-submit-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.45;
}

.stories-submit-steps li b {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
}

.stories-submit-steps li strong {
  display: block;
  color: #fff;
  font-size: 12px;
  letter-spacing: .02em;
}

.stories-submit-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stories-submit-actions {
  display: grid;
  width: 100%;
  gap: 12px;
}

.stories-submit-action .btn {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: #3320bd;
}

.stories-submit-action .btn:hover {
  background: #f3f1ff;
}

.stories-submit-action .stories-submit-secondary {
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.stories-submit-action .stories-submit-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .13);
}

.stories-submit-action small {
  margin-top: 16px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.55;
}

.stories-submit-band-placeholder {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 0;
  padding: clamp(40px, 6vw, 60px) clamp(24px, 6vw, 60px) clamp(56px, 7vw, 84px);
  background: none;
  box-shadow: none;
}

.stories-submit-band-placeholder::before,
.stories-submit-band-placeholder::after {
  content: none;
}

.stories-submit-illustration {
  width: 210px;
  max-width: 60%;
  margin-bottom: 8px;
}

.stories-submit-band-placeholder .stories-submit-copy {
  max-width: 56ch;
}

.stories-submit-band-placeholder .stories-submit-copy>span {
  color: #533afd;
}

.stories-submit-band-placeholder .stories-submit-copy h2 {
  max-width: none;
  color: #0d253d;
}

.stories-submit-band-placeholder .stories-submit-copy p {
  color: #54637a;
}

.stories-submit-band-placeholder .stories-submit-copy .btn {
  margin-top: 26px;
  background: #533afd;
  color: #fff;
}

.stories-submit-band-placeholder .stories-submit-copy .btn:hover {
  background: #3f2ec5;
}

@media (max-width:900px) {
  .change-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .change-feature-copy {
    padding-bottom: 36px;
  }

  .change-feature-copy>a {
    margin-top: 0;
  }

  .change-feature-image {
    min-height: 390px;
    margin: 0 24px 24px;
  }

  .stories-library-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .change-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-submit-band {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stories-submit-action {
    max-width: 420px;
  }

  .stories-update-state {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .stories-update-state>.btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width:620px) {
  .stories-hero {
    padding-top: 26px;
  }

  .stories-hero .crumbs {
    margin-bottom: 26px;
  }

  .stories-hero-copy {
    padding: 0 0 36px;
  }

  .stories-hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .stories-hero-copy p {
    margin-top: 18px;
  }

  .stories-feature-section {
    padding-bottom: 56px;
  }

  .change-feature {
    border-radius: 20px;
  }

  .change-feature-copy {
    padding: 34px 26px 28px;
  }

  .change-feature-image {
    min-height: 300px;
    margin: 0 12px 12px;
    border-radius: 14px;
  }

  .stories-library {
    padding: 48px 0 64px;
  }

  .stories-update-state {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .stories-update-mark {
    width: 58px;
    height: 58px;
  }

  .stories-update-state>.btn {
    grid-column: auto;
    width: 100%;
    justify-content: center;
  }

  .stories-library-head {
    gap: 26px;
  }

  .stories-filters {
    width: 100%;
    flex-direction: column;
  }

  .stories-filters select {
    width: 100%;
  }

  .change-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .change-story-image {
    height: 260px;
  }

  /* .stories-submit-section { padding:64px 0 80px; } */
  .stories-submit-band {
    padding: 38px 26px;
    border-radius: 20px;
  }

  .stories-submit-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stories-submit-steps li {
    padding-top: 10px;
  }
}

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

  .change-feature-image img,
  .change-story-image img,
  .change-feature-copy>a span,
  .change-story-copy>a span {
    transition: none;
  }
}

/* ========================================================================== 
   Vision & Mission, image-led, concise About page
   ========================================================================== */
.vm-page {
  background: #fff;
  color: #61718a;
}

.vm-page .btn-primary {
  background: #0d253d;
}

.vm-page .btn-primary:hover {
  background: #17356f;
}

.vm-hero {
  overflow: hidden;
  padding: 54px 0 92px;
  background: linear-gradient(145deg, #f7f8fa 0%, #fff 52%, #f7f8fa 100%);
}

.vm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr);
  gap: clamp(48px, 8vw, 105px);
  align-items: center;
  padding-top: 58px;
}

.vm-hero-copy .eyebrow {
  display: flex;
  color: #79808f;
}

.vm-hero-copy h1 {
  max-width: 10ch;
  margin-top: 22px;
  color: #0d253d;
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 330;
  line-height: .9;
  letter-spacing: -.068em;
}

.vm-hero-copy p {
  max-width: 560px;
  margin-top: 28px;
  color: #61718a;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.vm-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.vm-hero-actions .btn-link {
  color: #0d253d;
  font-size: 14px;
  font-weight: 600;
}

.vm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #e2e7ee;
}

.vm-hero-stats>div {
  padding: 0 22px;
  border-left: 1px solid #e2e7ee;
}

.vm-hero-stats>div:first-child {
  padding-left: 0;
  border-left: 0;
}

.vm-hero-stats strong {
  display: block;
  color: #0d253d;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.vm-hero-stats span {
  display: block;
  margin-top: 6px;
  color: #61718a;
  font-size: 12px;
  line-height: 1.4;
  max-width: 16ch;
}

.vm-hero-media {
  position: relative;
  min-height: 650px;
  margin: 0;
}

.vm-hero-photo {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 30px 30px 110px 30px;
  box-shadow: 0 34px 80px rgba(13, 37, 61, .18);
}

.vm-founded {
  position: absolute;
  top: 34px;
  left: -34px;
  width: 120px;
  height: 120px;
  display: grid;
  place-content: center;
  border: 8px solid #fff;
  border-radius: 50%;
  background: #0d253d;
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 44px rgba(13, 37, 61, .24);
}

.vm-founded small {
  font-size: 30px;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase;
}

.vm-founded strong {
  margin-top: 3px;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
}

/* "நிறுவப்பட்டது" is a single unbreakable Tamil word, much longer than
   "Founded" — at the English size it runs straight past the circle's edge
   instead of wrapping. Shrink it to fit and allow a mid-word break as a
   safety net. */
html[lang="ta"] .vm-founded {
  padding: 0 10px;
  overflow-wrap: break-word;
}

html[lang="ta"] .vm-founded small {
  font-size: 30px;
  font-weight: bold;
}

html[lang="ta"] .vm-founded strong {
  font-size: 12px;
  line-height: 1.2;
}

.vm-hero-illustration {
  position: absolute;
  right: -38px;
  bottom: 30px;
  width: 190px;
  height: 180px;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(13, 37, 61, .16);
  transform: rotate(3deg);
}

.vm-hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vm-purpose-section {
  padding: 88px 0;
  background: #fff;
}

.vm-purpose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.vm-purpose-card {
  position: relative;
  isolation: isolate;
  min-height: 240px;
  display: grid;
  grid-template-columns: 48px minmax(250px, .85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid #e4e9ef;
  border-radius: 18px;
}

.vm-purpose-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd7e2;
  border-radius: 50%;
  color: #7c899b;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}

.vm-purpose-heading {
  position: relative;
  z-index: 1;
}

.vm-purpose-heading>span {
  color: #7c899b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vm-purpose-card>i {
  position: absolute;
  z-index: -1;
  right: 22px;
  bottom: -62px;
  color: rgba(13, 37, 61, .022);
  font-size: 220px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.vm-purpose-card h2 {
  max-width: 12ch;
  margin-top: 18px;
  color: #0d253d;
  font-size: clamp(2.2rem, 3.7vw, 3.65rem);
  font-weight: 360;
  line-height: .98;
  letter-spacing: -.05em;
}

.vm-purpose-card>p {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  margin: 0;
  color: #61718a;
  font-size: clamp(.96rem, 1.25vw, 1.06rem);
  line-height: 1.7;
}

.vm-vision {
  background: #f6f8fa;
}

.vm-mission {
  background: #fcfcfd;
}

.vm-mission>i {
  color: rgba(13, 37, 61, .018);
}

/* This whole page pairs short English titles with a per-card max-width:*ch
   cap sized for them — "Leadership at every level", "Potential into
   progress", "Principles that guide our work", "Empowerment through
   action", "Where leadership creates change". Every Tamil translation
   packs far more characters per word ("எல்லா நிலைகளிலும் தலைமைத்துவம்",
   "செயல்பாட்டின் மூலம் அதிகாரமளித்தல்"...), so at those caps
   overflow-wrap:break-word (site-wide Tamil rule above) had nowhere to
   wrap but mid-word ("தலைமைத்துவ"/"ம்", "கொள்கைக"/"ள்",
   "அதிகாரமளித்த"/"ல்"). Drop every cap on this page's headings so words
   wrap on their natural boundaries instead. */
html[lang="ta"] .vm-purpose-card h2,
html[lang="ta"] .vm-section-head h2,
html[lang="ta"] .vm-value-card h3,
html[lang="ta"] .vm-focus-intro h2 {
  max-width: none;
  word-break: normal;
}

.vm-values-section {
  padding: 108px 0;
  background: #f7f9fc;
}

.vm-section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}


.vm-section-head .kicker {
  color: #79808f;
}

.vm-section-head h2 {
  max-width: 11ch;
  margin-top: 12px;
  color: #0d253d;
  font-weight: 340;
}

.vm-section-head>p {
  max-width: 330px;
  color: #61718a;
  font-size: 15px;
  line-height: 1.6;
  text-align: right;
  padding-top: 40px;
}

.vm-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.vm-value-card {
  display: grid;
  grid-template-columns: minmax(190px, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid #e2e7ee;
  border-radius: 22px;
  background: #fff;
}

.vm-value-card figure {
  height: 300px;
  margin: 0;
  overflow: hidden;
  background: #edf0f4;
}

.vm-value-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vm-value-card>div {
  padding: 24px 24px 16px 24px;
}

.vm-value-card>div>span {
  color: #533afd;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .10em;
}

.vm-value-card h3 {
  max-width: 13ch;
  margin-top: 14px;
  color: #0d253d;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 450;
  line-height: 1.04;

}

.vm-value-card p {
  margin-top: 14px;
  color: #61718a;
  font-size: 14px;
  line-height: 1.55;
}

.vm-focus-section {
  padding: 110px 0;
  background: #fff;
  color: #61718a;
}

.vm-focus-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.vm-focus-intro span {
  color: #6f7a8d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.vm-focus-intro h2 {
  max-width: 12ch;
  margin-top: 14px;
  color: #0d253d;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 340;
  line-height: .9;
  letter-spacing: -.06em;
}

.vm-focus-intro>p {
  max-width: 38ch;
  color: #61718a;
  font-size: 15px;
  line-height: 1.6;
  text-align: right;
  padding-top: 40px;
}

.vm-focus-grid {
  border-bottom: 1px solid #d8dfe8;
}

.vm-focus-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  min-height: 138px;
  padding: 24px 18px;
  border-top: 1px solid #d8dfe8;
  transition: background .2s ease, padding .2s ease;
}

.vm-focus-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: #533afd;
  transform: scaleY(0);
  transition: transform .2s ease;
}

.vm-focus-grid article:hover {
  padding-left: 30px;
  background: #fff;
}

.vm-focus-grid article:hover::before {
  transform: scaleY(1);
}

.vm-focus-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #ccd5e1;
  border-radius: 50%;
  color: #533afd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.vm-focus-copy {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(260px, 1.2fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
}

.vm-focus-grid h3 {
  color: #0d253d;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.vm-focus-grid article p {
  max-width: 52ch;
  margin: 0;
  color: #61718a;
  font-size: 15px;
  line-height: 1.65;
}

.vm-focus-proof {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.vm-focus-proof strong {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.vm-focus-proof span {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.vm-focus-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.vm-focus-themes a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease;
}

.vm-focus-themes a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
}

.vm-focus-themes a small {
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 500;
}

.vm-closing-section {
  padding: 100px 0;
  background: #fff;
}

.vm-closing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: end;
  gap: 60px;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 28px;
  background: linear-gradient(160deg, #17356F 0%, #0F2557 55%, #0A1B40 100%);
  color: #fff;
}

.vm-closing-card>div:first-child>span {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.vm-closing-card h2 {
  max-width: 18ch;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 360;
  line-height: .96;
  letter-spacing: -.055em;
}

.vm-closing-card p {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.6;
}

.vm-closing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  background: #fff;
  color: #0d253d;
}

.vm-closing-card .btn:hover {
  background: #eef1f5;
}

@media (max-width:980px) {
  .vm-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vm-hero-copy h1 {
    max-width: 12ch;
  }

  html[lang="ta"] .vm-hero-copy h1 {
    max-width: none;
  }

  .vm-hero-media {
    width: min(680px, 90%);
    margin-left: auto;
  }

  .vm-values-grid {
    grid-template-columns: 1fr;
  }

  .vm-purpose-card {
    grid-template-columns: 44px minmax(220px, .9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 34px 30px;
  }
}

@media (max-width:700px) {
  .vm-hero {
    padding: 34px 0 68px;
  }

  .vm-hero-grid {
    gap: 50px;
    padding-top: 42px;
  }

  .vm-hero-copy h1 {
    font-size: clamp(3.5rem, 17vw, 5.3rem);
  }

  .vm-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .vm-hero-media {
    width: calc(100% - 14px);
    min-height: 490px;
  }

  .vm-hero-photo {
    height: 490px;
    border-radius: 22px 22px 70px 22px;
  }

  .vm-founded {
    border-width: 6px;
  }

  .vm-founded strong {
    font-size: 22px;
  }

  html[lang="ta"] .vm-founded strong {
    font-size: 11px;
  }

  html[lang="ta"] .vm-founded small {
    font-size: px;
  }

  .vm-hero-illustration {
    right: -14px;
    bottom: 18px;
    width: 135px;
    height: 128px;
    border-width: 6px;
  }

  .vm-purpose-section,
  .vm-values-section,
  .vm-focus-section,
  .vm-closing-section {
    padding: 68px 0;
  }

  .vm-purpose-card {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    padding: 26px 22px;
  }

  .vm-purpose-index {
    width: 36px;
    height: 36px;
  }

  .vm-purpose-card h2 {
    margin-top: 14px;
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .vm-purpose-card>p {
    grid-column: 1/-1;
    margin-top: 8px;
  }

  .vm-purpose-card>i {
    right: 2px;
    bottom: -34px;
    font-size: 130px;
  }

  .vm-section-head,
  .vm-focus-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .vm-section-head>p,
  .vm-focus-intro>p {
    text-align: left;
  }

  .vm-value-card {
    grid-template-columns: 1fr;
  }

  /* Below 700px the card drops to a single column, so this figure goes
     from the desktop's narrow, tall image column (~250px wide x 300px
     tall, near-square) to the card's full width at a flat 260px height --
     e.g. 650x260 at exactly 700px, a wide letterbox shape the near-square
     ourvalues-*.svg artwork (viewBox 281x281) was never drawn for. object-
     fit:cover then crops to that wide slice, which for these icons (each a
     blob/star shape that narrows well before the artwork's own edges)
     shows the icon's grey backing plate on both sides instead of the
     shape's ink -- confirmed live via CDP: computed object-fit is cover
     and the box is sized correctly, so this isn't a cover/contain bug, the
     box itself is just the wrong shape. aspect-ratio keeps it near-square
     at every width in this range instead of flat 260px, matching the
     desktop column's proportions closely enough that cover fills the box
     the same way it does there. */
  .vm-value-card figure {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .vm-value-card h3 {
    margin-top: 14px;
  }

  .vm-focus-grid article {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 24px 4px;
  }

  .vm-focus-grid article:hover {
    padding-left: 14px;
  }

  .vm-focus-grid article::before {
    top: 18px;
    bottom: 18px;
  }

  .vm-focus-number {
    width: 44px;
    height: 44px;
  }

  .vm-focus-copy {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .vm-focus-grid article p {
    font-size: 14px;
  }

  .vm-closing-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 38px 26px;
    border-radius: 20px;
  }
}

/* ========================================================================== 
   Completed leader event, upcoming-event banner with themed icon and media rail
   ========================================================================== */
.leader-record-hero {
  padding: 0 0 34px;
  border-bottom: 1px solid #e3e8ee;
  background: linear-gradient(180deg, #f9fbfd, #fff);
}

.leader-record-crumbs {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  padding: 24px 0 0;
}

.leader-record-banner {
  min-height: 190px;
  margin-top: 16px;
  border-color: #cfe6d7;
  background: linear-gradient(125deg, #eef8f2 0%, #ccebd6 100%);
  box-shadow: 0 18px 40px rgba(26, 80, 55, .1);
}

.leader-record-banner .lep-banner-copy {
  width: 60%;
}

.leader-record-banner .lep-banner-copy>strong {
  max-width: 14ch;
  color: #12392a !important;
}

.leader-record-complete {
  margin-top: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #16734d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.leader-record-banner .lep-banner-art {
  width: 42%;
}

.leader-record-banner .lep-art-icon-main {
  right: -18px;
  bottom: -52px;
  width: 245px;
  height: 245px;
}

.leader-record-summary {
  margin-top: 30px;
}

.leader-record-summary h1 {
  max-width: 15ch;
}

.leader-event-detail .leader-event-body {
  padding-top: 46px;
}

.leader-event-detail .leader-event-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 64px;
}

.leader-event-detail .leader-event-side {
  position: sticky;
  top: calc(var(--nav-h) + var(--assisted-header-h) + 24px);
}

.leader-record-gallery-panel {
  padding: 18px;
  border: 1px solid #e3e8ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(13, 37, 61, .08);
}

.leader-record-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.leader-record-gallery figure,
.leader-record-gallery button,
.leader-record-gallery-more {
  position: relative;
  min-width: 0;
  height: 150px;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: #eef1f5;
}

.leader-record-gallery-main {
  grid-column: 1/3;
  height: 255px !important;
}

.leader-record-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.leader-record-gallery figure:hover img,
.leader-record-gallery button:hover img {
  transform: scale(1.035);
}

.leader-record-gallery figure::after,
.leader-record-gallery button::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(transparent, rgba(13, 37, 61, .66));
}

.leader-record-gallery figcaption,
.leader-record-gallery button small {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.leader-record-gallery-video>span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #533afd;
  font-size: 12px;
  transform: translate(-50%, -50%);
}

.leader-record-gallery-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfc9ff;
  background: #f5f3ff;
  color: #533afd;
}

.leader-record-gallery-more strong {
  font-size: 26px;
  font-weight: 500;
}

.leader-record-gallery-more span {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width:900px) {
  .leader-event-detail .leader-event-layout {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .leader-event-detail .leader-event-side {
    position: static;
  }
}

@media (max-width:700px) {
  .leader-record-crumbs {
    width: calc(100% - 36px);
    padding-top: 18px;
  }

  .leader-record-banner {
    width: calc(100% - 36px);
    min-height: 200px;
    margin-top: 14px;
    padding: 24px 22px;
    align-items: stretch;
  }

  .leader-record-banner .lep-banner-copy {
    width: 72%;
    height: auto;
    justify-content: center;
  }

  .leader-record-banner .lep-banner-copy>strong {
    max-width: 16ch;
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .leader-record-complete {
    margin-top: 14px;
  }

  .leader-record-banner .lep-banner-art {
    width: 46%;
  }

  .leader-record-banner .lep-art-icon-main {
    right: -20px;
    bottom: -30px;
    width: 150px;
    height: 150px;
  }

  .leader-record-summary {
    width: calc(100% - 36px);
    padding: 0;
  }

  .leader-event-detail .leader-event-layout {
    width: calc(100% - 36px);
    padding: 0;
    gap: 38px;
  }

  .leader-record-gallery-main {
    height: 230px !important;
  }

  .leader-record-gallery figure,
  .leader-record-gallery button,
  .leader-record-gallery-more {
    height: 128px;
  }
}

/* ========================================================================== 
   Policy papers, monthly rationale library and theme-level entry point
   ========================================================================== */
.policy-papers-page main {
  background: #fff;
}

.policy-library {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.policy-paper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.policy-paper-card {
  min-width: 0;
  min-height: 154px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 37, 61, .055);
}

.policy-paper-card.is-available {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.policy-paper-card.is-available:hover {
  transform: translateY(-2px);
  border-color: #c7c4f8;
  box-shadow: 0 16px 38px rgba(13, 37, 61, .09);
}

.policy-paper-card.is-pending {
  background: #fff;
  box-shadow: 0 8px 22px rgba(13, 37, 61, .035);
}

.policy-paper-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.policy-paper-body>small {
  color: #1f7a54;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.policy-paper-body h3 {
  margin-top: 7px;
  color: #0d253d;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.policy-paper-body>p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 650px;
  margin-top: 9px;
  color: #64748d;
  font-size: 13px;
  line-height: 1.5;
}

.policy-paper-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 28px 22px 22px;
  border-left: 1px solid #edf0f4;
}

.policy-paper-preview {
  width: auto;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  background: #533afd;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.policy-paper-preview:hover {
  background: #533afd;
}

.policy-paper-preview span {
  font-size: 16px;
}

.policy-paper-preview:disabled {
  cursor: not-allowed;
  background: #eef1f5;
  color: #98a4b6;
}

.policy-modal .report-modal-inner {
  width: min(980px, 100%);
}

.policy-modal .report-modal-frame {
  position: relative;
}

.policy-modal .report-modal-frame iframe {
  position: relative;
  z-index: 2;
  background: #eef1f5;
}

.policy-modal-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  color: #64748d;
  font-size: 14px;
  text-align: center;
}

@media (max-width:980px) {
  .policy-paper-card {
    grid-template-columns: minmax(0, 1fr) 190px;
  }
}

@media (max-width:760px) {
  .policy-paper-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-paper-body {
    padding: 22px;
  }

  .policy-paper-card-actions {
    grid-column: 1 / -1;
    padding: 0 22px 22px;
    border-left: 0;
  }

  .policy-paper-preview {
    width: 100%;
    max-width: 220px;
    margin-right: auto;
  }
}

@media (max-width:540px) {
  .policy-paper-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .policy-paper-body {
    padding: 20px 18px;
  }

  .policy-paper-body>p {
    display: none;
  }

  .policy-paper-card-actions {
    padding: 0 18px 18px;
  }

  .policy-paper-preview {
    width: 100%;
    justify-content: space-between;
  }

  .policy-modal .report-modal-head {
    padding: 16px;
  }

  .policy-modal .report-modal-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
  }

  .policy-modal .report-modal-actions .btn {
    justify-content: center;
    padding-inline: 10px;
  }
}

/* Upcoming event summary: three facts only; the app registration CTA is intentionally omitted. */
.upcoming-summary-grid {
  grid-template-columns: repeat(2, 1fr);
}

.upcoming-fact:last-child {
  border-right: 0;
}

@media (max-width:850px) and (min-width:561px) {
  .upcoming-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .upcoming-fact:nth-child(2) {
    border-right: 1px solid #e3e8ee;
  }
}

@media (max-width:560px) {
  .upcoming-fact:last-child {
    border-bottom: 0;
  }
}

/* Completed Anna event records and image-ready placeholders. */
.tour-hero-figure.is-placeholder,
.completed-event-image.is-placeholder,
.completed-event-gallery figure {
  background: linear-gradient(145deg, #eef1f5, #f8fafc 58%, #e8edf3);
}

.tour-hero-figure.is-placeholder img {
  display: none;
}

.completed-anna-event-page main {
  background: #fff;
}

.completed-event-hero {
  --event-illustration-opacity: .82;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 0 68px;
  background: #fff;
}

.completed-event-hero::before,
.completed-event-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.completed-event-hero::before {
  z-index: 0;
  background-image: var(--event-illustration, none);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0;
  filter: contrast(1.12);
}

.completed-event-hero.has-event-illustration::before {
  opacity: var(--event-illustration-opacity);
}

.completed-event-hero::after {
  z-index: 0;
  background: linear-gradient(135deg, rgba(245, 243, 255, .78), rgba(255, 255, 255, .58) 64%, rgba(245, 250, 248, .72));
}

.completed-event-hero>.wrap {
  position: relative;
  z-index: 1;
}

.completed-event-hero .crumbs {
  margin-top: 24px;
}

.completed-event-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  margin-top: 40px;
}

.completed-event-image {
  min-height: 460px;
  margin: 0;
  border: 1px solid #e3e8ee;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(13, 37, 61, .08);
}

.completed-event-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.completed-event-copy>small {
  margin-top: 22px;
  color: #16734d;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.completed-event-copy h1 {
  max-width: 15ch;
  margin-top: 13px;
  color: #0d253d;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.06em;
}

.completed-event-copy p {
  max-width: 62ch;
  margin-top: 25px;
  color: #64748d;
  font-size: 16px;
  line-height: 1.68;
}

.completed-event-summary {
  border-top: 1px solid #e3e8ee;
  border-bottom: 1px solid #e3e8ee;
}

.completed-event-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.completed-event-facts>div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  border-right: 1px solid #e3e8ee;
}

.completed-event-facts>div:last-child {
  border-right: 0;
}

.completed-event-facts span {
  color: #98a4b6;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.completed-event-facts strong {
  margin-top: 10px;
  color: #0d253d;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.4;
}

.completed-event-video-section {
  padding: clamp(48px, 7vw, 80px) 0 0;
}

.completed-event-video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #0d253d;
  box-shadow: 0 30px 60px rgba(13, 37, 61, .22);
}

.completed-event-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .5s ease, opacity .3s ease;
}

.completed-event-video:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.completed-event-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(13, 37, 61, .82));
}

.completed-event-video-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  text-align: left;
  color: #fff;
  font-size: 16px;
  font-weight: 550;
}

.completed-event-overview {
  padding: clamp(68px, 9vw, 110px) 0;
}

.completed-event-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.completed-event-overview h2 {
  max-width: 14ch;
  color: #0d253d;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.055em;
}

.completed-event-overview h2.completed-event-media-title {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.completed-event-overview-grid>p {
  color: #64748d;
  font-size: 18px;
  line-height: 1.75;
}

.completed-event-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 12px;
  margin-top: 58px;
}

.completed-event-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-radius: 15px;
}

.completed-event-gallery figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.completed-event-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.completed-event-gallery figure:hover img {
  transform: scale(1.025);
}

@media (max-width:760px) {
  .completed-event-hero {
    --event-illustration-opacity: .7;
    padding-bottom: 48px;
  }

  .completed-event-hero::before {
    background-position: 62% bottom;
  }

  .completed-event-hero-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .completed-event-image {
    min-height: 0;
    aspect-ratio: 16/10;
  }

  .completed-event-copy {
    order: -1;
  }

  .completed-event-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .completed-event-facts {
    grid-template-columns: 1fr;
  }

  .completed-event-facts>div {
    min-height: 98px;
    border-right: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .completed-event-facts>div:last-child {
    border-bottom: 0;
  }

  .completed-event-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .completed-event-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    margin-top: 38px;
  }

  .completed-event-gallery figure:first-child {
    grid-column: 1/3;
    grid-row: span 2;
  }
}

/* Completed-event photography fills the prepared image frame. */
.completed-event-image {
  position: relative;
  overflow: hidden;
}

.completed-event-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.completed-event-image.is-placeholder img {
  display: none;
}

/* Detail-page tour navigator */
.anna-event-traverse {
  padding: 22px 0;
  background: #f6f8fb;
  border-top: 1px solid #e3e8ee;
}

.anna-event-traverse-bar {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #dfe5ed;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.anna-event-jump {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 24px;
  color: #0d253d;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.anna-event-jump[hidden] {
  display: none;
}

/* The most recently completed event's "Next event" link before a new one
   is announced (see anna-event-traverse.js's tbaLabel) -- reads as inert
   rather than a live link: no pointer cursor, no hover highlight, and its
   title text ("To be announced soon") in the same muted tone as the
   Prev/Next label above it, instead of the normal bold heading color. */
.anna-event-jump.is-tba {
  cursor: default;
  pointer-events: none;
}

.anna-event-jump.is-tba strong {
  color: #6d7d96;
  font-weight: 500;
}

.anna-event-jump-prev {
  grid-column: 1;
}

.anna-event-jump:hover {
  background: #f3f1ff;
  color: #533afd;
}

.anna-event-jump span {
  color: #6d7d96;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.anna-event-jump strong {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anna-event-jump-next {
  grid-column: 3;
  align-items: flex-end;
  text-align: right;
}

.anna-event-view-all {
  grid-column: 2;
  display: grid;
  place-items: center;
  padding: 0 30px;
  border-right: 1px solid #e3e8ee;
  border-left: 1px solid #e3e8ee;
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.anna-event-view-all:hover {
  background: #533afd;
  color: #fff;
}

@media (max-width:760px) {
  .anna-event-traverse {
    padding: 16px 0;
  }

  .anna-event-traverse-bar {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
  }

  .anna-event-view-all {
    grid-column: 1/3;
    grid-row: 1;
    padding: 15px;
    border: 0;
    border-bottom: 1px solid #e3e8ee;
  }

  .anna-event-jump {
    min-height: 76px;
    padding: 14px 16px;
    grid-row: 2;
  }

  .anna-event-jump-prev {
    grid-column: 1;
  }

  .anna-event-jump-next {
    grid-column: 2;
  }

  .anna-event-jump-next {
    border-left: 1px solid #e3e8ee;
  }

  .anna-event-jump strong {
    font-size: 12px;
  }
}

/* Homepage current-theme card: real field photography and calmer editorial hierarchy. */
.campaign-main {
  min-height: 380px;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  padding: 0;
  background: #142b3e;
  color: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 45px rgba(13, 37, 61, .12);
}

.campaign-main::before {
  display: none;
}

.campaign-photo {
  position: relative;
  margin: 0;
  min-height: 380px;
  overflow: hidden;
  background: #dbe5ea;
}

.campaign-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 22, 33, .72));
  pointer-events: none;
}

.campaign-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover !important;
  transition: transform .55s ease;
}

.campaign-main:hover .campaign-photo img {
  transform: scale(1.025);
}

.campaign-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(7, 31, 45, .66);
  color: #fff;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.campaign-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 32px 34px;
  background: linear-gradient(145deg, #102f46 0%, #143a4b 56%, #175044 100%);
}

.campaign-label {
  position: static;
  inset: auto;
  gap: 18px;
  line-height: 1.3;
}

.campaign-label span:last-child {
  text-align: right;
}

.campaign-copy {
  margin-top: auto;
  padding-top: 54px;
}

.campaign-main h3 {
  max-width: 10ch;
  font-size: clamp(2.25rem, 3.5vw, 3.55rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.campaign-main p {
  max-width: 38ch;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.62;
}

.campaign-main .inline-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.campaign-main .btn-secondary {
  color: #143247;
}

@media (max-width:760px) {
  .campaign-main {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .campaign-photo {
    min-height: 0;
    aspect-ratio: 2/1;
  }

  /* .campaign-photo img { object-position:52% 100%; } */
  .campaign-content {
    padding: 24px 22px 28px;
  }

  .campaign-label {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .campaign-copy {
    padding-top: 36px;
  }

  .campaign-main h3 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .campaign-main .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .campaign-main .inline-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Theme documents: policy rationale for every theme; impact reporting once complete. */
.theme-download-documents {
  padding-right: 0;
}

.theme-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.theme-document-card {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(23, 63, 84, .18);
  border-radius: 8px 15px 8px 12px;
  background: rgba(255, 255, 255, .76);
  color: #132d3f;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.theme-document-card:hover {
  transform: translateY(-3px);
  border-color: #1f6e52;
  box-shadow: 0 16px 30px rgba(28, 44, 56, .1);
}

.theme-document-card>span {
  color: #1f6e52;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.theme-document-card>strong {
  margin-top: 18px;
  color: #132d3f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.theme-document-card>small {
  margin-top: 7px;
  color: #7b857b;
  font-size: 11px;
  line-height: 1.4;
}

.theme-document-card>b {
  margin-top: auto;
  padding-top: 20px;
  color: #173f54;
  font-size: 12px;
  font-weight: 650;
}

.theme-document-card>b i {
  margin-left: 5px;
  font-style: normal;
}

.theme-download-policy-only {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
}

.theme-download-policy-only::after {
  left: 74%;
}

.theme-download-policy-only .theme-download-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  column-gap: clamp(34px, 6vw, 78px);
  align-items: end;
  padding: clamp(18px, 2vw, 32px);
}

.theme-download-policy-only .theme-download-copy .kicker,
.theme-download-policy-only .theme-download-copy h2,
.theme-download-policy-only .theme-download-copy>p {
  grid-column: 1;
}

.theme-download-policy-only .theme-document-grid {
  grid-column: 2;
  grid-row: 1/5;
  grid-template-columns: 1fr;
  margin-top: 0;
}

@media (max-width:760px) {
  .theme-document-grid {
    grid-template-columns: 1fr;
  }

  .theme-download-policy-only .theme-download-copy {
    display: block;
    padding: 0 4px;
  }

  .theme-download-policy-only .theme-document-grid {
    margin-top: 24px;
  }

  .theme-document-card {
    min-height: 154px;
  }
}

/* Completed-theme stories replace the internal progress/learning dashboard. */
.theme-stories-section {
  background: #f7f9fc;
}

.theme-stories-section .theme-detail-heading {
  align-items: flex-end;
}

.theme-stories-section .theme-detail-heading h2 {
  max-width: 16ch;
}

.theme-stories-section .btn-link {
  flex: 0 0 auto;
  color: #533afd;
  font-weight: 650;
  white-space: nowrap;
}

.theme-story-grid .change-story-image {
  height: 235px;
}

.theme-story-grid .change-story-copy h3 {
  min-height: 3.55em;
}

@media (max-width:900px) {
  .theme-stories-section .theme-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width:620px) {
  .theme-story-grid .change-story-image {
    height: 245px;
  }

  .theme-story-grid .change-story-copy h3 {
    min-height: 0;
  }
}

/* Homepage adjacent card represents the next theme, not the completed month. */
.campaign-archive.campaign-upcoming {
  border: 1px solid #dcd7ff;
  background: linear-gradient(155deg, #f0eeff, #f8f7ff);
  color: #61718a;
}

.campaign-upcoming .archive-month {
  color: #533afd;
}

.campaign-upcoming .archive-title {
  color: #0d253d;
}

.campaign-upcoming .archive-arrow {
  color: #533afd;
}

/* .archive-title is a span, not a heading, so the site-wide html[lang="ta"]
   h1-h5 line-height fix above (line ~744) never reaches it. Same root cause
   though: line-height:1 is tuned for a short one-line English title, and
   Tamil titles here wrap to 3-4 lines, so the lines (and their matras)
   visually collide into the archive-month badge above and each other. */
html[lang="ta"] .archive-title {
  font-size: 27px;
  line-height: 1.4;
}

html[lang="ta"] .archive-month {
  margin-bottom: 6px;
}

html[lang="ta"] .archive-note {
  margin-top: 12px;
}

/* User feedback: on mobile, "பெண்கள் பாதுகாப்பு மற்றும் அதிகாரமளித்தல்"
   (upcoming-title, the campaign-upcoming archive card) naturally word-wraps
   to 3 lines ("மற்றும்" and "அதிகாரமளித்தல்" split apart) because the two
   words together are just wider than the card at this font-size. Force the
   break after "பாதுகாப்பு" instead so it always reads as 2 balanced lines
   on phones. Hidden above 640px, where the natural wrap already fits. */
html[lang="ta"] .archive-title-break {
  display: none;
}

@media (max-width: 640px) {
  html[lang="ta"] .archive-title-break {
    display: inline;
  }
}

/* User feedback: below ~415px the card is narrow enough that even the
   post-break second line, "மற்றும் அதிகாரமளித்தல்", no longer fits on one
   line at 27px and wraps again into a 3rd line. Shrink just this heading a
   touch on the smallest phones so it stays on its 2 intended lines. */
@media (max-width: 415px) {
  html[lang="ta"] .archive-title {
    font-size: 23px;
  }
}

/* Current and upcoming themes keep the policy paper close to the monthly message. */
.theme-policy-inline {
  margin-top: 28px;
}

.theme-policy-inline-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 32px;
  row-gap: 8px;
  padding: 22px 26px;
  border: 1px solid #dfe4eb;
  border-radius: 12px;
  background: linear-gradient(105deg, #f0f2f4 0%, #f7f6ff 100%);
  color: #0d253d;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.theme-policy-inline-card:hover {
  transform: translateY(-2px);
  border-color: #bcb3ff;
  box-shadow: 0 14px 28px rgba(13, 37, 61, .08);
}

.theme-policy-inline-label {
  grid-column: 1;
  color: #533afd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.theme-policy-inline-copy {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 14px;
}

.theme-policy-inline-copy strong {
  color: #0d253d;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 550;
  line-height: 1.2;
}

.theme-policy-inline-copy small {
  color: #71809a;
  font-size: 12px;
}

.theme-policy-inline-card>b {
  grid-column: 2;
  grid-row: 1/3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: #0d2b43;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.theme-policy-inline-card>b i {
  font-style: normal;
  font-size: 16px;
}

@media (max-width:620px) {
  .theme-policy-inline {
    margin-top: 22px;
  }

  .theme-policy-inline-card {
    /* minmax(0, 1fr), not a bare 1fr -- a bare 1fr track's implicit auto
       minimum sizes off its items' min-content, and .theme-completed-
       documents (its grid parent, fixed alongside) has the same bare-1fr
       gap. Confirmed at 320px: with .theme-policy-inline-label's uppercase,
       .13em-tracked text and this card's own CTA (>b, white-space:nowrap)
       both stretched to fill that inflated column, the card rendered ~26px
       wider than the 280px actually available and pushed the whole page
       6px into horizontal scroll. minmax(0, 1fr) lets the column (and the
       card) shrink to the real width instead. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding: 19px 18px;
    column-gap: 0;
    row-gap: 9px;
  }

  .theme-policy-inline-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .theme-policy-inline-card>b {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    margin-top: 8px;
  }
}

/* Theme resources: an editorial gallery instead of floating campaign mockups. */
.theme-resource-gallery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background: linear-gradient(125deg, #533afd 0%, #3f2ec5 52%, #11275a 100%);
  color: #fff;
  box-shadow: 0 20px 60px rgba(31, 15, 120, .28);
}

.theme-resource-gallery::before,
.theme-resource-gallery::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
}

.theme-resource-gallery::before {
  width: 360px;
  height: 360px;
  right: -100px;
  top: -220px;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .025);
}

.theme-resource-gallery::after {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: -190px;
}

.theme-resource-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.theme-resource-heading .kicker {
  color: #d6d0ff;
}

.theme-resource-heading h2 {
  max-width: 13ch;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  font-weight: 340;
  line-height: .96;
  letter-spacing: -.045em;
}

.theme-resource-heading>p {
  max-width: 42ch;
  margin: 0;
  color: #c9d2d9;
  font-size: 14px;
  line-height: 1.6;
}

.theme-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.theme-resource-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px 16px 5px 10px;
  background: #fff;
  color: #0d253d;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.theme-resource-card:hover {
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, .2);
}

.theme-resource-card img {
  width: 100%;
  height: clamp(160px, 15vw, 220px);
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
  transition: transform .45s ease, filter .25s ease;
}

.theme-resource-card:hover img {
  transform: scale(1.025);
  filter: saturate(.95) contrast(1);
}

.theme-resource-card-posters img {
  object-position: center;
}

.theme-resource-card-social img {
  object-position: 50% center;
}

.theme-resource-card-guide img {
  object-position: center;
  object-fit: contain;
  background: #fff;
}

.theme-resource-card>span {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-top: 4px solid #e16f55;
}

.theme-resource-card-social>span {
  border-top-color: #533afd;
}

.theme-resource-card-guide>span {
  border-top-color: #1f825d;
}

.theme-resource-card strong {
  max-width: 15ch;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.18;
}

.theme-resource-card i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dee6;
  border-radius: 50%;
  font-size: 17px;
  font-style: normal;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.theme-resource-card:hover i {
  border-color: #533afd;
  background: #533afd;
  color: #fff;
}

/* ------------------------------------------------- Local Action Resources
   (flat "Resource library" grid, per the reference layout -- plain white
   cards with a photo, a category eyebrow, a title and a "Drive" pill,
   no theme tabs or purple banner). */
.lar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.lar-count {
  flex: 0 0 auto;
  color: var(--c-muted);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.lar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: var(--c-bg);
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lar-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-hard);
  box-shadow: var(--sh-lg);
}

.lar-card-media {
  height: 190px;
  background: var(--c-bg-2);
}

.lar-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lar-card-media-contain img {
  object-fit: contain;
  padding: 24px;
}

.lar-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
}

.lar-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #1f825d;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lar-card-body strong {
  font-size: 16px;
  font-weight: 650;
  color: var(--c-ink);
}

.lar-pill {
  flex: 0 0 auto;
  padding: 6px 16px;
  border: 1px solid var(--c-line-hard);
  border-radius: 999px;
  color: #533afd;
  font-size: 12.5px;
  font-weight: 650;
}

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

@media (max-width:640px) {
  .lar-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:820px) {
  .theme-resource-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .theme-resource-grid {
    grid-template-columns: 1fr;
  }

  .theme-resource-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(170px, .75fr);
  }

  .theme-resource-card img {
    height: 220px;
  }

  .theme-resource-card>span {
    min-height: 100%;
    border-top: 0;
    border-left: 4px solid #e16f55;
  }

  .theme-resource-card-social>span {
    border-left-color: #533afd;
  }

  .theme-resource-card-guide>span {
    border-left-color: #1f825d;
  }
}

@media (max-width:520px) {
  .theme-resource-gallery {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .theme-resource-heading {
    margin-bottom: 22px;
  }

  .theme-resource-heading h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .theme-resource-card {
    display: flex;
  }

  .theme-resource-card img {
    height: auto;
    aspect-ratio: 4/3;
  }

  .theme-resource-card>span {
    min-height: 76px;
    border-top: 4px solid #e16f55;
    border-left: 0;
    padding: 15px 16px;
  }

  .theme-resource-card-social>span {
    border-top-color: #533afd;
  }

  .theme-resource-card-guide>span {
    border-top-color: #1f825d;
  }
}

/* Impact & SDGs page: a compact, no-scroll SDG selector + a colour-matched detail panel.
   The hero reuses .page-hero-navy (gradient, .h1, .lead, .eyebrow, .crumbs) for the same
   type scale and weight as every other interior page; only the summary/icon rail below is new. */
.sdg-impact-hero {
  padding-bottom: clamp(26px, 3vw, 36px);
}

.sdg-impact-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.sdg-impact-summary>div {
  padding-right: 16px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  padding-left: 16px;
}

.sdg-impact-summary>div:first-child {
  border-left: 0;
  padding-left: 0;
}

.sdg-impact-summary strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.sdg-impact-summary span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sdg-impact-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.sdg-impact-tile {
  position: relative;
  width: clamp(42px, 4.6vw, 58px);
  height: clamp(42px, 4.6vw, 58px);
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, opacity .18s ease;
}

.sdg-impact-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sdg-impact-tile.is-inactive {
  opacity: .34;
  filter: grayscale(.4);
  cursor: default;
}

.sdg-impact-tile.is-active:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.sdg-impact-tile.is-selected {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 3px var(--sdg-color);
}

.sdg-impact-hint {
  max-width: 60ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  line-height: 1.5;
}

.sdg-impact-panel {
  padding: clamp(30px, 4vw, 48px) 0;
  background: var(--sdg-panel-color, #4C9F38);
  color: #fff;
  transition: background .25s ease;
}

.sdg-impact-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, .4fr);
  gap: 40px;
  align-items: center;
}

.sdg-impact-panel-eyebrow {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sdg-impact-panel-copy h2 {
  max-width: 16ch;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 350;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.sdg-impact-panel-copy>p {
  max-width: 60ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.6;
}

.sdg-impact-panel-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 24px;
}

.sdg-impact-panel-metrics strong {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.sdg-impact-panel-metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.sdg-impact-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.sdg-impact-theme-list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease;
}

.sdg-impact-theme-list a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .16);
}

.sdg-impact-theme-list a small {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 500;
}

.sdg-impact-panel-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.sdg-impact-panel-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.sdg-impact-panel-mark img {
  width: clamp(64px, 7vw, 96px);
  height: auto;
}

@media (max-width:820px) {
  .sdg-impact-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  .sdg-impact-summary>div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  /* Same regression as .theme-sdg-showcase-head (see that comment): the
     desktop rule above uses minmax(0, ...) so its grid item can shrink
     past a long word's min-content size; this override dropped back to a
     bare 1fr, reintroducing the default min-width:auto floor. */
  .sdg-impact-panel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sdg-impact-panel-mark {
    flex-direction: row;
    align-items: center;
    padding-left: 0;
    border-left: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .22);
  }

  /* This hero's headline is longer than the other interior pages', so the
     shared .page-hero .h1 (18ch max-width, .92 line-height) wraps it to 4-5
     short lines under the ~48px font-size floor these viewports sit at;
     that leading is too tight for that many lines and the "G" of "Goals,"
     collides with the "i" of "impact" below it. */
  .sdg-impact-hero .h1 {
    max-width: none;
    line-height: 1.1;
  }
}

@media (max-width:520px) {
  .sdg-impact-tile {
    width: 38px;
    height: 38px;
  }

  .sdg-impact-panel-metrics {
    gap: 16px;
  }
}

/* The running theme highlights its associated Anna event as one clear feature. */
.gr-grid.theme-featured-anna {
  grid-template-columns: 1fr;
}

.theme-anna-event-card {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  min-height: 360px;
  border-radius: 6px 20px 7px 14px;
}

.theme-anna-event-image {
  min-height: 360px;
  display: block;
  overflow: hidden;
  background: #eaf2f7;
}

.theme-anna-event-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 34%;
  transition: transform .45s ease;
}

.theme-anna-event-card:hover .theme-anna-event-image img {
  transform: scale(1.025);
}

.theme-anna-event-card .gr-card-body {
  justify-content: center;
  padding: clamp(28px, 5vw, 60px);
}

.theme-anna-event-label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #e7f5ed;
  color: #1f7d59;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.theme-anna-event-card .gr-card-body>strong {
  max-width: 15ch;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 350;
  line-height: .98;
  letter-spacing: -.045em;
}

.theme-anna-event-card .gr-card-body>p {
  max-width: 50ch;
  margin-top: 18px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.65;
}

.theme-anna-event-cta {
  align-self: flex-start;
  margin-top: 24px;
  color: #533afd;
  font-size: 14px;
  font-weight: 650;
}

.theme-anna-event-cta i {
  margin-left: 8px;
  font-style: normal;
}

@media (max-width:720px) {
  .theme-anna-event-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .theme-anna-event-image {
    min-height: 0;
    aspect-ratio: 16/10;
  }

  .theme-anna-event-card .gr-card-body {
    padding: 24px 20px 28px;
  }

  .theme-anna-event-card .gr-card-body>strong {
    max-width: 16ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

.theme-community-featured-section {
  background: #f7f9fc;
}

.theme-community-featured-section .theme-detail-heading {
  align-items: flex-end;
}

@media (max-width:700px) {
  .theme-community-featured-section .theme-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Completed themes keep both final documents together at the bottom.
   grid-template-columns is explicit (not the implicit single auto column a
   bare `display:grid` falls back to) so it can be minmax(0, 1fr) -- see the
   .theme-policy-inline-card fix at the 620px breakpoint above for why an
   auto-minimum column matters here. */
.theme-completed-documents {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.theme-completed-documents .theme-policy-inline-card {
  margin: 0;
}

.theme-impact-inline-card {
  background: linear-gradient(105deg, #eef5f1 0%, #f7f9f8 100%);
}

.theme-impact-inline-card .theme-policy-inline-label {
  color: #1f825d;
}

.theme-impact-inline-card>b {
  background: #1b5f49;
}

.theme-impact-inline-card:hover {
  border-color: #99c6b2;
}

.theme-message-layout[hidden] {
  display: none !important;
}

/* Upcoming themes show a useful planning state until real events are confirmed. */
.theme-events-empty.theme-events-planning {
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
  color: #64748d;
}

.theme-event-planning-note {
  padding: 24px 26px;
  border: 1px solid #dfe5ed;
  border-radius: 8px 16px 8px 12px;
  background: linear-gradient(110deg, #f0efff, #f7f9fc);
}

.theme-event-planning-note>span {
  display: block;
  color: #533afd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theme-event-planning-note>strong {
  display: block;
  max-width: 38ch;
  margin-top: 12px;
  color: #0d253d;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 520;
  line-height: 1.2;
}

.theme-event-planning-note>p {
  max-width: 68ch;
  margin: 10px 0 0;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

.theme-event-planning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.theme-event-planning-grid>div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #dfe5ed;
  border-radius: 7px 14px 7px 10px;
  background: #fff;
}

.theme-event-planning-grid i {
  color: #1f825d;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
}

.theme-event-planning-grid strong {
  margin-top: 18px;
  color: #0d253d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.theme-event-planning-grid span {
  margin-top: auto;
  padding-top: 12px;
  color: #8794a8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width:700px) {
  .theme-event-planning-grid {
    grid-template-columns: 1fr;
  }

  .theme-event-planning-grid>div {
    min-height: 112px;
  }
}

/* On small screens, show full photos instead of cropping them to fill their
   box. Overrides every object-fit:cover rule above; boxes keep their sized
   dimensions, the photo just letterboxes inside instead of being cropped. */
@media (max-width:760px) {
  img {
    object-fit: contain !important;
  }

  /* Exception: this is a full-bleed decorative background photo (position:
     absolute, inset:0, sat behind a dark gradient overlay), not a content
     photo — letterboxing it leaves blank background showing around a small
     floating rectangle of the image instead of filling its panel. */
  .newsletter-signup-photo {
    object-fit: fill !important;
  }

  /* Exception: fixed-aspect-ratio (1:1) gallery thumbnails — letterboxing
     leaves the grey placeholder background showing on two sides of every
     photo instead of the photo filling its tile. */
  .theme-gallery-grid img {
    object-fit: fill !important;
  }

  /* Exception: launch-event card photo — a fixed min-height figure with a
     dark scrim + caption chip overlaid on it; letterboxing shrinks the photo
     and leaves the #1c1e54 placeholder background showing around it. */
  .theme-launch-event-card figure img {
    object-fit: fill !important;
  }

  /* Exception: small decorative hero-banner photo chips — fixed tiny boxes
     where the frame itself is the point; letterboxing leaves white padding
     inside each chip instead of the photo filling it. */
  .theme-float img {
    object-fit: fill !important;
  }

  /* Exception: completed-event photo grid — fixed grid-auto-rows tiles
     (including the large 2x2 lead photo); letterboxing shrinks each photo
     and leaves the placeholder background showing around it. */
  .completed-event-gallery img {
    object-fit: fill !important;
  }

  /* Exception: completed-event hero photo — a fixed-aspect-ratio (16:10)
     frame at the top of the event record; letterboxing shrinks the photo
     and leaves blank space on its sides instead of filling the frame. */
  .completed-event-image img {
    object-fit: fill !important;
  }

  /* Exception: upcoming-event hero photo opted into imageFit: 'fill' (see
     upcoming-event-detail.js) -- same text-heavy poster case as above;
     without this, the global "contain" rule at the top of this query wins
     over the plain (non-!important) .is-fit-fill rule and letterboxes it
     with blank space showing on mobile instead of filling the frame. */
  .upcoming-event-image img.is-fit-fill {
    object-fit: fill !important;
  }

  /* Exception: Vaigai River Restoration Drive (see has-mobile-crop in
     upcoming-event-detail.js) -- the frame now matches this poster's own
     439/274 ratio unconditionally (see the aspect-ratio exception next to
     .upcoming-event-image's base rule), so plain "cover" needs no
     stretching or cropping to fill it at any width. */
  .upcoming-event-image.has-mobile-crop img {
    object-fit: cover !important;
  }

  /* Exception: sign-in card photo — a full-bleed decorative background
     (position:absolute, inset:0, luminosity blend behind a purple gradient
     overlay), not a content photo — letterboxing leaves the gradient
     showing around a shrunken rectangle of the photo. */
  .auth-card-photo {
    object-fit: fill !important;
  }

  /* Exception: about-page hero photo — a fixed-height frame with a swooping
     asymmetric corner and a "Founded" badge overlapping its top edge;
     letterboxing shrinks the photo and leaves blank space inside the shaped
     frame instead of filling it. */
  .vm-hero-photo {
    object-fit: fill !important;
  }

  /* Exception: Anna's tour calendar hero photo — a fixed-aspect-ratio (1:1
     on mobile) rounded frame shared by every entry (Pollachi, Kanyakumari-
     Thoothukudi, Madurai and Chennai). These are text-heavy poster graphics,
     not candid photos, so cropping with cover risks cutting off event
     details — fill stretches the poster to fill the box with nothing lost. */
  .tour-hero-figure img {
    object-fit: fill !important;
  }

  /* Exception: Vaigai River Restoration Drive (see has-mobile-crop in
     anna-tour-calendar.js) -- the frame now matches this poster's own
     439/274 ratio unconditionally (see the aspect-ratio exception next to
     .tour-hero-figure's base rule), so plain "cover" needs no stretching
     or cropping to fill it at any width. */
  .tour-hero-figure.has-mobile-crop img {
    object-fit: cover !important;
  }

  /* Exception: YouTube-trigger thumbnails — fixed-aspect-ratio frames with a
     play button and gradient caption overlaid on top; letterboxing shrinks
     the thumbnail and breaks that overlay's positioning. */
  .completed-event-video img,
  .theme-message-video img,
  .home-past-video>button>img,
  .anna-video-poster {
    object-fit: cover !important;
  }

  /* Exception: vision-mission.html's "இயக்கத்தின் கொள்கைகள்" value-card
     icons — decorative abstract SVG art filling a fixed-height figure, not a
     candid photo with a subject that cropping could cut off. Letterboxing
     shrank each icon into the middle of its box with grey padding on two
     sides (the bug the crop fix in ourvalues-*.svg was tuned for); cover
     keeps it filling the tile the way the desktop view already does. */
  .vm-value-card figure img {
    object-fit: cover !important;
  }
}




/** Font Size adjustments **/

.hero-copy h1,
main .completed-event-copy h1,
main .upcoming-event-title h1,
.dl-app-section .app-download-panel h1,
main .lep-summary h1,
main .theme-showcase-copy h1,
.page-hero .h1,
main .stories-hero-copy h1,
.vm-hero-copy h1,
main .newsletter-signup-intro h1,
main .tour-hero-copy h1,
.gr-hero h1 {
  font-size: 4rem !important;
  line-height: 1 !important;
  word-wrap: normal !important;
  font-weight: 400 !important;
  letter-spacing: normal;
}

@media(max-width: 648px) {

  .hero-copy h1,
  main .completed-event-copy h1,
  main .upcoming-event-title h1,
  .dl-app-section .app-download-panel h1,
  main .lep-summary h1,
  main .theme-showcase-copy h1,
  .page-hero .h1,
  main .stories-hero-copy h1,
  .vm-hero-copy h1,
  main .newsletter-signup-intro h1,
  main .tour-hero-copy h1,
  .gr-hero h1 {
    font-size: 3rem !important;
    line-height: 1 !important;
    word-wrap: normal !important;
    font-weight: 400 !important;
    letter-spacing: normal;
  }
}

.vm-purpose-card h2,
.vm-section-head h2 {
  font-size: 2.4rem !important;
  word-wrap: normal !important;
  letter-spacing: normal;
  font-weight: 400;
}

.vm-focus-intro h2 {
  font-size: 2.8rem !important;
  line-height: 1 !important;
  word-wrap: normal !important;
  font-weight: 400;
  letter-spacing: normal;
}

html[lang="ta"] .hero-copy h1,
html[lang="ta"] main .completed-event-copy h1,
html[lang="ta"] main .upcoming-event-title h1,
html[lang="ta"] .dl-app-section .app-download-panel h1,
html[lang="ta"] main .lep-summary h1,
html[lang="ta"] main .theme-showcase-copy h1,
html[lang="ta"] .page-hero .h1,
html[lang="ta"] main .stories-hero-copy h1,
html[lang="ta"] .vm-hero-copy h1,
html[lang="ta"] main .newsletter-signup-intro h1,
html[lang="ta"] main .tour-hero-copy h1 {
  font-size: 4rem !important;
  line-height: 1.4 !important;
  word-wrap: normal !important;
  letter-spacing: normal;
}

@media(max-width: 648px) {

  html[lang="ta"] .hero-copy h1,
  html[lang="ta"] main .completed-event-copy h1,
  html[lang="ta"] main .upcoming-event-title h1,
  html[lang="ta"] .dl-app-section .app-download-panel h1,
  html[lang="ta"] main .lep-summary h1,
  html[lang="ta"] main .theme-showcase-copy h1,
  html[lang="ta"] .page-hero .h1,
  html[lang="ta"] main .stories-hero-copy h1,
  html[lang="ta"] .vm-hero-copy h1,
  html[lang="ta"] main .newsletter-signup-intro h1,
  html[lang="ta"] main .tour-hero-copy h1 {
    font-size: 3rem !important;
    line-height: 1.4 !important;
    word-wrap: normal !important;
    letter-spacing: normal;
  }

}

.home-reframe h2.h2,
.section-intro h2,
.impact-copy h2,
.section-row h2,
.cca-intro h2,
.app-download-panel h2,
.about-mini h2,
.anna-latest-head h2,
.closing-inner h2,
.sec-head .h2,
.sec-head-split .h2,
.events-section-head h2,
.tour-notify h2,
.speech-highlights h2,
.theme-detail-heading h2,
.theme-rationale-layout h2,
.theme-report-layout h2,
.theme-message-layout h2,
.theme-explore-layout h2,
.theme-sdg-showcase-head h2,
.theme-download-copy h2,
.theme-toolkit-band h2,
.upcoming-detail-block>h2,
.public-overview-intro h2,
.impact-section-title h2,
.reg-toolkit-copy h2,
.completed-event-overview h2.completed-event-media-title,
.foot-newsletter-copy h2,
html[lang="ta"] .vm-section-head h2,
html[lang="ta"] .vm-focus-intro h2,
.stories-submit-band-placeholder .stories-submit-copy h2,
.theme-hero-stat strong,
.reg-pathway-card h2 {
  font-size: 2.8rem !important;
  line-height: 1.3 !important;
  word-wrap: normal !important;
  letter-spacing: normal;
}

@media(max-width: 648px) {

  .home-reframe h2.h2,
  .section-intro h2,
  .impact-copy h2,
  .section-row h2,
  .cca-intro h2,
  .app-download-panel h2,
  .about-mini h2,
  .anna-latest-head h2,
  .closing-inner h2,
  .sec-head .h2,
  .sec-head-split .h2,
  .events-section-head h2,
  .tour-notify h2,
  .speech-highlights h2,
  .theme-detail-heading h2,
  .theme-rationale-layout h2,
  .theme-report-layout h2,
  .theme-message-layout h2,
  .theme-explore-layout h2,
  .theme-sdg-showcase-head h2,
  .theme-download-copy h2,
  .theme-toolkit-band h2,
  .upcoming-detail-block>h2,
  .public-overview-intro h2,
  .impact-section-title h2,
  .reg-toolkit-copy h2,
  .completed-event-overview h2.completed-event-media-title,
  .foot-newsletter-copy h2,
  html[lang="ta"] .vm-section-head h2,
  html[lang="ta"] .vm-focus-intro h2,
  .stories-submit-band-placeholder .stories-submit-copy h2,
  .theme-hero-stat strong,
  .reg-pathway-card h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    word-wrap: normal !important;
    letter-spacing: normal;
  }

}

.theme-launch-event-copy h3,
.newsletter-signup-form-panel h2,
html[lang="ta"] .reg-pathway-card h2,
html[lang="ta"] .reg-pathway-app-flex .app-download-panel h2,
html[lang="ta"] .reg-toolkit-band .reg-toolkit-copy h2,
html[lang="ta"] .theme-resource-heading h2 {
  font-size: 2rem !important;
  line-height: 1.3 !important;
  word-wrap: normal !important;
  letter-spacing: normal;
}

@media(max-width: 648px) {

  .theme-launch-event-copy h3,
  .newsletter-signup-form-panel h2,
  html[lang="ta"] .reg-pathway-card h2,
  html[lang="ta"] .reg-pathway-app-flex .app-download-panel h2,
  html[lang="ta"] .reg-toolkit-band .reg-toolkit-copy h2,
  html[lang="ta"] .theme-resource-heading h2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    word-wrap: normal !important;
    letter-spacing: normal;
  }
}

html[lang="ta"] .vm-value-card h3,
html[lang="ta"] .vm-focus-copy h3 {
  font-size: 1.8rem !important;
  line-height: 1.3 !important;
  word-wrap: normal !important;
  letter-spacing: normal;
}

@media(max-width: 648px) {

  html[lang="ta"] .vm-value-card h3,
  html[lang="ta"] .vm-focus-copy h3 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    word-wrap: normal !important;
    letter-spacing: normal;
  }
}

.nav-link span,
.m-sec-btn span {
  display: none;
}



@media (max-width: 640px) {
  html[lang="ta"] .app-download-panel h2 {
   font-size: 2.4rem !important;
  }

  html[lang="ta"] .vm-hero-copy h1 {
  font-size: 2.4rem !important;
  }

  html[lang="ta"] .page-hero .h1 {
   font-size: 2.4rem !important;
  }

  html[lang="ta"] .cca-intro h2 {
    font-size: 2.4rem !important;
  }
}

@media (max-width: 640px) {
  html[lang="ta"] .cca-intro h2 {
  font-size: 2.4rem !important;
  }

  html[lang="ta"] .dl-app-section .app-download-panel h1 {
   font-size: 2.4rem !important;
    overflow-wrap: normal !important;
  }

  .gr-hero h1 {
  font-size: 2.4rem !important;
    line-height: 1.05 !important;
    font-weight: 300 !important;
  }

  html[lang="ta"] .gr-hero h1 {
    font-size: 2.4rem !important;
    line-height: 1.4 !important;
    font-weight: 300 !important;
  }

  main .tour-hero-copy h1 {
   font-size: 2.4rem !important;
    line-height: 1.08 !important;
    font-weight: 300 !important;
    letter-spacing: -.03em !important;
  }

  html[lang="ta"] .sdg-impact-panel-copy h2 {
    line-height: 1.3;
  }

  html[lang="ta"] .anna-latest-head h2 {
    font-size: clamp(2.6rem, 5.36vw, 5.76rem) !important;
  }
}


html[lang="ta"] .page-hero .h1 {
  max-width: 90% !important;
}

html[lang="ta"] .campaign-main h3 {
    font-size: 27px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.04em !important;
}

/* --------------------------------------------------------------------------
   Newsletter issue page (newsletter-august-2026.html and future issues) —
   built on the shared .page-hero / .card / .eyebrow / .btn-link / .sec-head
   components above; only the bits with no existing analogue live here.
   -------------------------------------------------------------------------- */
/* The Note/Glance/Story/Policy/Spotlight blocks read as one continuous
   issue, not separate page sections — so they share a single .section-sm's
   padding and space themselves apart with a tighter, consistent gap instead
   of each carrying its own full section-sm top+bottom padding. */
.newsletter-issue-page .nl-body>*+* {
  margin-top: clamp(40px, 5vw, 64px);
}

.newsletter-issue-page .nl-masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.newsletter-issue-page .nl-masthead-logo {
  width: 28px;
  height: 28px;
  border-radius: var(--r-xs);
}

.newsletter-issue-page .nl-masthead .eyebrow {
  margin-right: auto;
}

/* Match the tone already established for this issue in the email edition
   (Chief's Note / Leader Story / Programme Spotlight labels, all #533afd)
   instead of the site's default navy eyebrow color. */
.newsletter-issue-page .eyebrow {
  color: #ffffff;
}

.newsletter-issue-page .title{
  color: black;
}

.newsletter-issue-page .page-hero .h1 {
  margin-top: 18px;
}

/* Chief Servant's Note */
.newsletter-issue-page .nl-note {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
}

.newsletter-issue-page .nl-note-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.newsletter-issue-page .nl-note-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
}

.newsletter-issue-page .nl-note-copy .eyebrow {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.newsletter-issue-page .nl-note-copy p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* July at a glance */
.newsletter-issue-page .nl-glance-list {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg);
}

.newsletter-issue-page .nl-glance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 24px;
  padding: 20px 24px;
  transition: background var(--t-fast) var(--ease);
}

.newsletter-issue-page .nl-glance-row+.nl-glance-row {
  border-top: 1px solid var(--c-line);
}

.newsletter-issue-page .nl-glance-label {
  flex: 0 0 200px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-ink);
}

.newsletter-issue-page .nl-glance-copy {
  flex: 1 1 320px;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--c-body);
}

/* Leader Story — mirrors the Chief Servant's Note media+copy card, photo
   on the opposite side for rhythm, so the two feature cards read as one
   shared pattern instead of a photo card and a plain avatar+text card. */
.newsletter-issue-page .nl-story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 34px;
  align-items: center;
}

.newsletter-issue-page .nl-story-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.newsletter-issue-page .nl-story-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
}

.newsletter-issue-page .nl-story-copy .eyebrow {
  margin-bottom: 10px;
}

.newsletter-issue-page .nl-story-copy h3 {
  margin-bottom: 12px;
}

.newsletter-issue-page .nl-story-copy p {
  font-size: .9375rem;
  line-height: 1.65;
  color: #ffffff;
}

/* Policy Lab corner */
.newsletter-issue-page .nl-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.newsletter-issue-page .nl-policy-item {
  padding: 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg);
}

.newsletter-issue-page .nl-policy-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--c-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.newsletter-issue-page .nl-policy-item span {
  color: var(--c-muted);
  font-size: .9375rem;
  line-height: 1.55;
}

/* Programme spotlight */
.newsletter-issue-page .nl-spotlight p {
  max-width: 720px;
  margin-top: 16px;
  margin-bottom: 28px;
  color: #ffffff;
}

.newsletter-issue-page .nl-spotlight-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  margin-bottom: 32px;
}

.newsletter-issue-page .nl-spotlight-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (max-width: 980px) {
  .newsletter-issue-page .nl-note,
  .newsletter-issue-page .nl-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .newsletter-issue-page .nl-policy-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-issue-page .nl-glance-label {
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .newsletter-issue-page .nl-spotlight-photo img {
    aspect-ratio: 4/3;
  }

  .newsletter-issue-page .nl-glance-row {
    padding: 16px 18px;
  }
}

/* ------------------------------------------------- Household (assisted) registration */
.household-registration-page {
  background: #f7f8fb;
}

.household-mobile-hero {
  padding: 56px 20px 48px;
  background:
    radial-gradient(650px 380px at 8% -12%, rgba(117, 210, 154, .22), transparent 62%),
    radial-gradient(620px 380px at 100% 8%, rgba(83, 58, 253, .12), transparent 60%),
    radial-gradient(560px 340px at 90% 100%, rgba(237, 77, 115, .08), transparent 62%),
    #fbfcfe;
}

.household-mobile-shell {
  max-width: 620px;
  margin: 0 auto;
}

.household-back {
  color: #533afd;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.household-back:hover {
  text-decoration: underline;
}

.household-mobile-hero .reg-step-label {
  margin-left: 12px;
  color: #98a4b6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.household-mobile-hero h1 {
  margin: 20px 0 0;
  color: #0d253d;
  font-size: clamp(2.35rem, 6.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.household-mobile-hero p {
  max-width: 46ch;
  margin: 16px 0 0;
  color: #64748d;
  font-size: 15px;
  line-height: 1.6;
}

/* Site-wide top promo bar -- rendered by renderTopHeader() in main.js
   (same shared-component pattern as renderHeader()/.site-top below it), so
   it appears on every page that loads the shared nav. Scoped to its own
   .assisted-top-header-* classes throughout so nothing here touches the
   generic .site-header/.nav-* rules the navbar relies on; .btn/.btn-primary
   on the Register link are the one deliberate reuse, for the exact same
   pill button the navbar's own Login/Register link already uses. */
.assisted-top-header {
  width: 100%;
  background: #071321;
}

/* Fixed like the navbar: .site-top (also rebuilt by main.js, right after
   this in the DOM) is already `position: sticky; top: 0` site-wide, so
   this header just needs the SAME treatment plus a higher z-index to stay
   above it, and .site-top needs its `top` pushed down by exactly this
   header's own height so the two stack instead of overlapping when both
   are pinned. --assisted-header-h carries that height and is kept in
   lockstep with .assisted-top-header-inner's own height at each
   breakpoint below. Both rules are global/unscoped, same as .site-top's
   own sticky rule, since the bar itself is now site-wide. */
:root {
  --assisted-header-h: 48px;
}

.assisted-top-header {
  position: sticky;
  top: 0;
  z-index: 901;
}

.site-top {
  top: var(--assisted-header-h);
}

/* A single centered flex cluster (slogan | button) -- the icon that used
   to sit before the slogan (and its divider) was removed; flex +
   justify-content:center still keeps the remaining pair tight together
   instead of spread to the container edges. */
.assisted-top-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  max-width: var(--maxw, 1200px);
  margin-inline: auto;
  padding: 6px var(--gutter, 24px);
}

.assisted-top-header-slogan {
  flex: none;
  margin: 0;
  text-align: center;
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: -.01em;
}

.assisted-top-header-slogan-a {
  color: #fff;
}

.assisted-top-header-slogan-b {
  color: #fff;
}

/* Flowing gradient fill -- swaps the flat .btn-primary background for a
   navy/gold/navy strip wider than the button (background-size: 220%) whose
   position slides back and forth, so the color itself travels across the
   pill instead of animating an outline or shadow around it. */
.assisted-top-header-register {
  flex: none;
  position: relative;
  height: 30px;
  padding-inline: 12px;
  gap: 5px;
  font-weight: 700;
  font-size: 14px;
  min-width: 0;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--c-navy) 0%, var(--c-navy) 30%, #E4B45C 50%, var(--c-navy) 70%, var(--c-navy) 100%);
  background-size: 220% 100%;
  animation: assistedCtaGradientFlow 3.2s ease-in-out infinite;
}

@keyframes assistedCtaGradientFlow {

  0%,
  100% {
    background-position: 100% 0;
  }

  50% {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assisted-top-header-register {
    animation: none;
  }
}

@media (min-width: 641px) {
  .assisted-top-header-slogan {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .assisted-top-header-inner {
    gap: 14px;
    padding-inline: 16px;
  }

  .assisted-top-header-slogan {
    font-size: .875rem;
  }
}

@media (max-width: 640px) {
  .assisted-top-header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
    min-height: 0;
    padding-block: 6px;
  }

  .assisted-top-header-slogan {
    flex-basis: 100%;
    order: 2;
    font-size: .75rem;
    white-space: normal;
  }

  /* Header switches from the fixed 48px single row to a wrapped, content-
     driven two-row block here (measures ~70px down to the 380px step
     below) -- keep every --assisted-header-h consumer (.site-top, the
     mobile drawer/scrim, the sticky sidebars) matched so they still sit
     flush under this header instead of gapping or overlapping. */
  :root {
    --assisted-header-h: 70px;
  }
}

@media (max-width: 380px) {
  .assisted-top-header-slogan {
    font-size: .8rem;
  }

  .assisted-top-header-register {
    padding-inline: 8px;
  }

  :root {
    --assisted-header-h: 68px;
  }
}

.household-mobile-flow {
  padding: 0 20px 72px;
}

.household-step-card {
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(13, 37, 61, .07), 0 2px 8px rgba(13, 37, 61, .04);
}

/* Assisted registration -- "Video Guide" teaser card, sits above Step 1.
   A compact horizontal banner (thumbnail + copy + CTA) that opens the real
   walkthrough video in a modal -- see .video-guide-modal-card below and
   the data-video-open wiring in household-registration.js. */
.assisted-registration-video {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border: 1px solid rgba(13, 37, 61, .08);
  border-radius: 16px;
  background: #f5f7fa;
}

.video-guide-thumb {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #241a8f url("../img/assisted-thumbnail.jpeg") center / cover no-repeat;
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Tints the thumbnail photo toward the brand purple instead of showing it
   at full brightness/contrast -- keeps the white play button and the
   photo's own busy background/text from competing for attention. */
.video-guide-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 26, 160, .38), rgba(20, 12, 82, .58));
}

.video-guide-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #533afd;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.video-guide-play svg {
  margin-left: 1px;
}

.video-guide-tag {
  position: absolute;
  z-index: 1;
  left: 8px;
  bottom: 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.video-guide-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.video-guide-kicker {
  display: block;
  margin-bottom: 4px;
  color: #533afd;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-guide-title {
  margin: 0 0 2px;
  color: #0d253d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.video-guide-desc {
  margin: 0;
  color: #64748d;
  font-size: 13px;
  line-height: 1.5;
}

.video-guide-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 2px;
  border: 0;
  background: none;
  color: #0d253d;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.video-guide-cta:hover {
  color: #533afd;
}

/* Video modal -- reuses the shared .reg-referral-modal chrome (overlay,
   centering, Escape/backdrop close via initModal()) with a wider, edge-
   to-edge card sized for 16:9 video instead of the narrow text dialogs.
   Selector is the compound .reg-referral-modal-card.video-guide-modal-card
   (not just .video-guide-modal-card) on purpose: both classes share the
   width/padding/background/border-radius/text-align properties below, and
   .reg-referral-modal-card is declared later in this file, so a same-
   specificity single-class selector here would lose the cascade to it and
   silently fall back to the narrow 400px text-dialog sizing. The compound
   selector's higher specificity wins regardless of source order, without
   touching .reg-referral-modal-card itself (still used, unchanged, by the
   OTP/success modals). */
.reg-referral-modal-card.video-guide-modal-card {
  width: min(92vw, 1100px);
  max-width: 1100px;
  padding: 32px;
  background: #0d1420;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
}

.video-guide-modal-card .reg-referral-modal-close {
  background: rgba(13, 37, 61, .6);
  color: #fff;
}

.video-guide-modal-card .reg-referral-modal-close:hover {
  background: rgba(83, 58, 253, .9);
  color: #fff;
}

.video-guide-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
}

@media (max-width: 768px) {
  .reg-referral-modal-card.video-guide-modal-card {
    width: 94vw;
    max-width: none;
    padding: 16px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .assisted-registration-video {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 14px;
  }

  .video-guide-cta {
    flex-basis: 100%;
    justify-content: flex-start;
    margin-left: 110px;
  }
}

@media (max-width: 400px) {
  .video-guide-cta {
    margin-left: 0;
  }
}

.household-step-head > span {
  display: block;
  color: #533afd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.household-step-head h2 {
  margin: 8px 0 6px;
  color: #0d253d;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.household-step-head p {
  margin: 0;
  color: #64748d;
  font-size: 14px;
  line-height: 1.55;
}

/* Fields -- shared input chrome across the whole flow */
.household-leader-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 20px;
}

.household-leader-fields label,
.household-phone-action label,
.household-otp-panel label,
.household-personal-fields label,
.household-location-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #0d253d;
  font-size: 13px;
  font-weight: 600;
}

.household-leader-fields input,
.household-phone-action input,
.household-otp-panel input,
.household-personal-fields input,
.household-personal-fields select,
.household-location-fields input,
.household-location-fields select {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #e1e5ee;
  border-radius: 10px;
  background: #fff;
  color: #0d253d;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.household-personal-fields select,
.household-location-fields select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%2364748d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

.household-leader-fields input::placeholder,
.household-phone-action input::placeholder,
.household-otp-panel input::placeholder,
.household-personal-fields input::placeholder,
.household-location-fields input::placeholder {
  color: #a7adba;
}

.household-leader-fields input:focus,
.household-phone-action input:focus,
.household-otp-panel input:focus,
.household-personal-fields input:focus,
.household-personal-fields select:focus,
.household-location-fields input:focus,
.household-location-fields select:focus {
  outline: none;
  border-color: #533afd;
  box-shadow: 0 0 0 4px rgba(83, 58, 253, .12);
}

.household-personal-fields input:disabled,
.household-personal-fields select:disabled,
.household-location-fields input:disabled,
.household-location-fields select:disabled {
  background: #f3f4f7;
  border-color: #e7eaf1;
  color: #a7adba;
  cursor: not-allowed;
}

/* Step 1 now only ever has the one Membership ID field (no more WTL-ID +
   phone pair), so it doesn't need the 2-column grid the other .*-fields
   groups use. */
.household-leader-fields-single {
  grid-template-columns: 1fr;
}

/* "WTL-26-" is a fixed prefix outside the editable part, so a leader only
   ever types/edits the digits after it. The prefix and the real <input>
   share one bordered box so it still reads as a single field. */
.household-wtlid-field {
  display: flex;
  align-items: stretch;
  height: 48px;
  border: 1.5px solid #e1e5ee;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.household-wtlid-prefix {
  display: flex;
  align-items: center;
  padding: 0 8px 0 16px;
  background: #f6f9fc;
  border-right: 1.5px solid #e1e5ee;
  color: #64748d;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
}

.household-wtlid-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px 0 8px;
  border: 0;
}

.household-wtlid-field input:focus {
  box-shadow: none;
}

/* referral.html only -- locked once a Membership ID arrives via ?id= in
   the link (see initLeaderStep() in household-registration.js), so it
   reads as fixed rather than just silently rejecting keystrokes. */
.household-wtlid-field input:read-only {
  background: #f6f9fc;
  color: #64748d;
  cursor: not-allowed;
}

.household-wtlid-field:focus-within {
  border-color: #533afd;
  box-shadow: 0 0 0 4px rgba(83, 58, 253, .12);
}

.household-validate-button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: #0d253d;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.household-validate-button:hover {
  background: #182f4d;
}

.household-validate-button:active {
  transform: scale(.99);
}

.household-status {
  margin-top: 14px;
  color: #7b8496;
  font-size: 12.5px;
  line-height: 1.55;
}

.household-status.is-success {
  color: #16734d;
}

.household-status.is-error {
  color: #d53c27;
}

/* Step 1 "share this referral link" button -- opens #referralShareModal (a
   .reg-referral-modal popup, see referral.html) rather than an anchored
   popover, so .share-menu-wrap here only needs to size/position the trigger
   button itself: inline-block keeps it sized to the button, and top spacing
   matches the other elements in this card. */
.household-referral-share-wrap {
  display: inline-block;
  margin-top: 14px;
}

/* Same specificity as the class rule above, so without this the [hidden]
   attribute JS sets before/between validations was losing to
   "display: inline-block" on source order alone -- the button showed even
   though .hidden was true. This makes hidden win regardless of order. */
.household-referral-share-wrap[hidden] {
  display: none;
}

.household-prototype-note {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e7eaf1;
  color: #9aa2b1;
  font-size: 12px;
}

/* Step 2 -- member cards */
fieldset#householdMobileFieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  transition: opacity .2s ease;
}

fieldset#householdMobileFieldset:disabled {
  opacity: .5;
  pointer-events: none;
}

.household-member-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

.household-member-card {
  padding: 20px;
  border: 1px solid #e7eaf1;
  border-radius: 16px;
  background: #fbfbfe;
}

.household-member-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.household-member-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eeecff;
  color: #533afd;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.household-member-head strong {
  color: #0d253d;
  font-size: 14px;
  font-weight: 650;
}

.household-remove-member {
  width: 26px;
  height: 26px;
  margin-left: auto;
  border: 1px solid #e3e7ee;
  border-radius: 50%;
  background: #fff;
  color: #9aa2b1;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.household-remove-member:hover:not(:disabled) {
  background: #fdecea;
  border-color: #f6c8c2;
  color: #d53c27;
}

.household-remove-member:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.household-phone-action,
.household-otp-panel {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.household-phone-action label,
.household-otp-panel label {
  flex: 1;
  min-width: 0;
}

.household-phone-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

.household-phone-hint {
  font-weight: 500;
  color: #64748d;
  font-size: 12px;
}

/* Same "fixed prefix + editable input in one bordered box" pattern as
   .household-wtlid-field -- +91 is never editable, so it stays outside
   memberPhone's own value instead of being a placeholder someone could
   type over. */
.household-phone-field {
  display: flex;
  align-items: stretch;
  height: 48px;
  border: 1.5px solid #e1e5ee;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.household-phone-code {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f6f9fc;
  border-right: 1.5px solid #e1e5ee;
  color: #64748d;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
}

.household-phone-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
}

.household-phone-field input:focus {
  box-shadow: none;
}

.household-phone-field:focus-within {
  border-color: #533afd;
  box-shadow: 0 0 0 4px rgba(83, 58, 253, .12);
}

.household-otp-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e7eaf1;
}

.household-otp-panel[hidden] {
  display: none;
}

.household-send-otp,
.household-check-otp {
  flex: none;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease;
}

.household-send-otp {
  background: #0d253d;
}

.household-send-otp:hover {
  background: #182f4d;
}

.household-check-otp {
  background: #533afd;
}

.household-check-otp:hover {
  background: #4434d4;
}

.household-member-status {
  margin-top: 12px;
}

.household-personal-fields {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 14px;
  margin-top: 20px;
}

/* Grid items default to min-width:auto, which stops them shrinking below
   their content's natural width -- on a narrow card this pushed the whole
   row (and full-width rows like the email field below) wider than the
   card itself instead of letting the inputs shrink to fit their column. */
.household-personal-fields label,
.household-location-fields label {
  min-width: 0;
}

.household-personal-fields input,
.household-personal-fields select,
.household-location-fields input,
.household-location-fields select {
  min-width: 0;
  width: 100%;
}

.household-personal-fields .household-field-full {
  grid-column: 1 / -1;
}

.household-location-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.household-mobile-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.household-mobile-actions.is-single-action {
  justify-content: center;
}

.household-mobile-actions.is-single-action .household-primary-button {
  flex: 0 1 320px;
}

.household-secondary-button,
.household-primary-button {
  flex: 1;
  height: 50px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.household-secondary-button {
  border: 1.5px solid #d7dee7;
  background: #fff;
  color: #0d253d;
}

.household-secondary-button:hover {
  border-color: #533afd;
  color: #533afd;
}

.household-primary-button {
  border: 0;
  background: #533afd;
  color: #fff;
}

.household-primary-button:hover {
  background: #4434d4;
}

.household-primary-button:disabled {
  background: #c7bfff;
  cursor: not-allowed;
}

.household-consent-note {
  margin-top: 18px;
  color: #9aa2b1;
  font-size: 11.5px;
  line-height: 1.55;
}

@media (max-width: 640px) {

  .household-leader-fields,
  .household-location-fields {
    grid-template-columns: 1fr;
  }

  .household-personal-fields {
    grid-template-columns: 1fr 1fr;
  }

  .household-personal-fields label:first-child {
    grid-column: 1 / -1;
  }

  .household-phone-action,
  .household-otp-panel {
    flex-wrap: wrap;
  }

  .household-send-otp,
  .household-check-otp {
    width: 100%;
  }

  .household-mobile-actions {
    flex-direction: column;
  }

  .household-mobile-actions.is-single-action .household-primary-button {
    flex: 1 1 auto;
  }
}

/* Shared verification / celebration modal -- same chrome family as
   .participate-modal / .report-modal elsewhere on the site. */
.reg-referral-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 15, 25, .6);
  backdrop-filter: blur(4px);
}

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

/* Processing modal -- shown from the moment Submit is pressed until the
   success modal is ready to replace it, so the page never just sits there
   silently while add-member.php (and then the referral-count lookup) are
   still in flight. No close button: it's not meant to be dismissible. */
.reg-referral-processing-card {
  width: min(280px, 100%);
  padding: 32px 28px;
  text-align: center;
}

.reg-referral-processing-card p {
  margin-top: 16px;
  color: #0d253d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.reg-referral-spinner {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 3.5px solid #e1e5ee;
  border-top-color: #533afd;
  border-radius: 50%;
  animation: householdSpin .8s linear infinite;
}

@keyframes householdSpin {
  to { transform: rotate(360deg); }
}

.reg-referral-modal-card {
  position: relative;
  width: min(400px, 100%);
  padding: 36px 30px 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 40px 100px rgba(13, 37, 61, .3);
  text-align: center;
}

.reg-referral-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f6f9fc;
  color: #64748d;
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.reg-referral-modal-close:hover {
  background: #eeecff;
  color: #533afd;
}

.reg-referral-success-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e9f5ef;
  color: #16734d;
  font-size: 22px;
}

.reg-referral-modal-card h2 {
  color: #0d253d;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.reg-referral-modal-card>p {
  margin-top: 8px;
  color: #64748d;
  font-size: 14px;
  line-height: 1.6;
}

.reg-referral-modal-done {
  width: 100%;
  height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  background: #533afd;
  color: #fff;
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease;
}

.reg-referral-modal-done:hover {
  background: #4434d4;
}

/* Celebration variant -- adds the kicker + confetti + impact stat block.
   Wider and with tighter vertical spacing than the base modal card, since
   it can stack two info blocks (impact stats + referred-names list) and
   would otherwise run tall and narrow. */
.reg-referral-celebration {
  overflow: hidden;
  width: min(460px, 100%);
  padding-top: 26px;
  padding-bottom: 26px;
}

.reg-referral-celebration .reg-referral-success-icon {
  margin-bottom: 10px;
}

.reg-referral-celebration > p {
  margin-top: 6px;
}

.reg-referral-celebration .reg-referral-impact,
.reg-referral-celebration .reg-referral-added-list {
  margin-top: 14px;
  padding: 14px 16px;
}

.reg-referral-celebration .reg-referral-batch {
  margin-top: 12px;
  padding: 10px 14px;
}

.reg-referral-celebration .reg-referral-modal-done {
  margin-top: 16px;
  height: 46px;
}

.reg-referral-success-kicker {
  display: block;
  margin-bottom: 14px;
  color: #16734d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reg-referral-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.reg-referral-confetti i {
  position: absolute;
  top: -12%;
  left: calc(var(--x, 50) * 1%);
  width: 8px;
  height: 14px;
  background: var(--c, #533afd);
  border-radius: 2px;
  opacity: 0;
  animation: householdConfettiFall 2.4s ease-in var(--d, 0s) 1;
}

.reg-referral-confetti i:nth-child(1) {
  --x: 6;
  --c: #533afd;
  --d: 0s;
}

.reg-referral-confetti i:nth-child(2) {
  --x: 16;
  --c: #f5a623;
  --d: .15s;
}

.reg-referral-confetti i:nth-child(3) {
  --x: 26;
  --c: #16734d;
  --d: .05s;
}

.reg-referral-confetti i:nth-child(4) {
  --x: 38;
  --c: #ed4d73;
  --d: .3s;
}

.reg-referral-confetti i:nth-child(5) {
  --x: 50;
  --c: #533afd;
  --d: .1s;
}

.reg-referral-confetti i:nth-child(6) {
  --x: 60;
  --c: #f5a623;
  --d: .22s;
}

.reg-referral-confetti i:nth-child(7) {
  --x: 70;
  --c: #16734d;
  --d: 0s;
}

.reg-referral-confetti i:nth-child(8) {
  --x: 80;
  --c: #ed4d73;
  --d: .18s;
}

.reg-referral-confetti i:nth-child(9) {
  --x: 90;
  --c: #533afd;
  --d: .32s;
}

.reg-referral-confetti i:nth-child(10) {
  --x: 34;
  --c: #f5a623;
  --d: .4s;
}

.reg-referral-confetti i:nth-child(11) {
  --x: 46;
  --c: #16734d;
  --d: .26s;
}

.reg-referral-confetti i:nth-child(12) {
  --x: 94;
  --c: #ed4d73;
  --d: .08s;
}

@keyframes householdConfettiFall {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translate3d(0, 340px, 0) rotate(340deg);
    opacity: 0;
  }
}

.reg-referral-impact {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: #f6f9fc;
  text-align: left;
}

.reg-referral-impact-label {
  display: block;
  color: #98a4b6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reg-referral-equation {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.reg-referral-equation>div {
  flex: 1;
}

.reg-referral-equation strong {
  display: block;
  color: #0d253d;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.reg-referral-equation small {
  color: #64748d;
  font-size: 11.5px;
  line-height: 1.4;
}

.reg-referral-equation>b {
  color: #c7cede;
  font-size: 18px;
  font-weight: 400;
}

.reg-referral-added strong {
  color: #16734d;
}

.reg-referral-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #dde2ea;
}

.reg-referral-total span {
  color: #64748d;
  font-size: 12.5px;
  font-weight: 600;
}

.reg-referral-total strong {
  color: #533afd;
  font-size: 22px;
  font-weight: 700;
}

.reg-referral-added-list {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: #f6f9fc;
  text-align: left;
}

.reg-referral-added-list ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reg-referral-added-list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  color: #0d253d;
}

.reg-referral-added-tag {
  color: #16734d;
  font-size: 12px;
  font-weight: 600;
}

.reg-referral-batch {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eeecff;
  color: #4434d4;
  font-size: 12.5px;
  line-height: 1.5;
}

/* referral.html only -- shown in the success modal once the single person
   they added gets back their own Membership ID from api/add-member.php, so
   they can pass along a personal link (referral.html?id=<their new ID>) and
   keep the referral chain going. See the results handler in initMemberCards
   (household-registration.js) that fills #referralShareLink. */
.reg-referral-share {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: #f6f9fc;
  text-align: left;
}

.reg-referral-share-desc {
  margin: 4px 0 0;
  color: #64748d;
  font-size: 12.5px;
  line-height: 1.5;
}

.reg-referral-share-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.reg-referral-share-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dde2ea;
  border-radius: 10px;
  background: #fff;
  color: #0d253d;
  font-size: 13px;
}

.reg-referral-share-row .household-secondary-button {
  flex: none;
  width: auto;
  padding: 0 16px;
}

/* Household registration -- Step 2 "Date of birth" custom date-picker.
   Replaces the native <input type="date"> calendar (browsers won't let it
   be restyled) with a compact custom one; see initDobPicker() in
   household-registration.js. Only this field's picker UI changes -- the
   18-100 age bounds it enforces are unchanged. */
.dob-picker-wrap {
  position: relative;
}

.dob-picker-input {
  cursor: pointer;
}

.dob-picker-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 252px;
  max-width: calc(100vw - 40px);
  padding: 10px;
  background: #fff;
  border: 1px solid #e2e5ea;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(13, 37, 61, .14);
}

.dob-picker-panel[hidden] {
  display: none;
}

.dob-picker-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.dob-picker-nav {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e5ea;
  border-radius: 6px;
  background: #fff;
  color: #64748d;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.dob-picker-nav:hover:not(:disabled) {
  background: #f3f4f7;
  border-color: #d3d8e0;
}

.dob-picker-nav:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.dob-picker-month,
.dob-picker-year {
  flex: 1 1 auto;
  min-width: 0;
  height: 26px;
  padding: 0 4px;
  border: 1px solid #e2e5ea;
  border-radius: 6px;
  background: #fff;
  color: #0d253d;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
}

.dob-picker-weekdays,
.dob-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dob-picker-weekdays {
  margin-bottom: 4px;
}

.dob-picker-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #8992a3;
}

.dob-picker-day {
  height: 26px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #0d253d;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}

.dob-picker-day.is-blank {
  cursor: default;
}

.dob-picker-day:not(.is-blank):not(.is-disabled):hover {
  background: #f0f1f5;
}

.dob-picker-day.is-disabled {
  color: #c7ccd6;
  cursor: not-allowed;
}

.dob-picker-day.is-selected {
  background: #fdeb8f;
  font-weight: 700;
}

@media (max-width: 640px) {
  .dob-picker-panel {
    width: 240px;
  }
}

/* Kamarajar Award slide, tablet widths (641-980px, where the current-
   campaign slide stacks and sets a much taller hero row than this 16:9
   poster): a centred poster left blurred bands above and below it, and at
   641-720px the rally slide's 16:9 sizing put the announcement bar over
   the poster's title. Instead the slide stretches to the row, the poster
   sits on its bottom edge (its own top edge is pure white, so it blends
   into the white slide background), and the space between the
   announcement bar and the poster carries a short event caption. */
.home-kamarajar-caption {
  display: none;
}

@media (min-width: 641px) and (max-width: 980px) {
  .home-hero-slide.home-kamarajar-slide {
    min-height: 0;
    aspect-ratio: auto;
    align-self: stretch;
    background: #fff;
  }

  .home-kamarajar-slide::before {
    display: none;
  }

  .home-kamarajar-slide>picture>img {
    object-position: center bottom;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-kamarajar-caption {
    position: absolute;
    z-index: 3;
    top: calc(var(--nav-h) + 92px);
    right: 0;
    bottom: calc(100vw * 9 / 16);
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px var(--gutter);
    text-align: center;
  }

  .home-kamarajar-tag {
    color: #9a6a4c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .home-kamarajar-caption>strong {
    max-width: 640px;
    color: #0d253d;
    font-size: clamp(1.6rem, 4.2vw, 2.3rem);
    font-weight: 500;
    line-height: 1.15;
  }

  .home-kamarajar-venue {
    color: #52647c;
    font-size: 15px;
  }

  .home-kamarajar-caption>.btn {
    margin-top: 6px;
  }

  .home-kamarajar-caption>.btn span {
    margin-left: 8px;
  }
}

/* 641-720px: the announcement bar wraps to a taller two-row card. */
@media (min-width: 641px) and (max-width: 720px) {
  .home-kamarajar-caption {
    top: calc(var(--nav-h) + 147px);
  }
}

/* Kamarajar Award slide, phones (<=640px): the slide stretches to the
   hero row height set by the current-campaign slide (~960px at 361px
   wide), taller than the 1290x2796 portrait poster renders at full width
   (~780px), so "contain" centred it and left a blurred band between the
   header and the poster. Pin the poster to the top instead and continue
   its own beige floor colour (sampled from the poster's bottom edge) into
   the leftover space below, in place of the blurred backdrop. */
@media (max-width: 640px) {
  .home-kamarajar-slide {
    background: linear-gradient(90deg, #eddcce 0%, #f5ede7 50%, #f1e1d5 100%);
  }

  .home-kamarajar-slide::before {
    display: none;
  }

  .home-kamarajar-slide>picture>img {
    object-position: center top;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---- Impact: current vs previous theme ---- */
.impact-intro { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: end; }
.impact-intro p { font-size: 17px; color: #273951; margin: 0; }
.impact-intro .text-link { margin-top: 16px; }
.impact-themes { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; margin-top: clamp(40px, 6vw, 64px); align-items: stretch; }
.impact-now, .impact-past { display: flex; flex-direction: column; border-radius: 20px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.impact-now:hover, .impact-past:hover { transform: translateY(-4px); }
.impact-now { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 44px); color: #fff;
  background: radial-gradient(circle at 100% 0%, rgba(249, 107, 238, .55), transparent 45%), linear-gradient(140deg, #2a1a8c 0%, #533afd 60%, #7a4cf5 100%);
  box-shadow: 0 30px 80px rgba(83, 58, 253, .35); }
.impact-now:hover { box-shadow: 0 38px 90px rgba(83, 58, 253, .45); }
.impact-now-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.impact-now-month { opacity: .85; }
.impact-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 600; letter-spacing: .06em; }
.impact-now .pulse-dot { background: #6ef0b0; }
.impact-now-title { margin: 26px 0 0; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; font-weight: 400; letter-spacing: -.03em; }
.impact-now-title em { display: block; font-style: normal; color: #ffd6fb; }
.impact-now-sub { margin: 18px 0 0; max-width: 560px; color: rgba(255, 255, 255, .85); font-size: 16px; }
.impact-now-track { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.impact-now-track li { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.impact-now-track b { display: block; font-size: 12px; opacity: .6; letter-spacing: .1em; }
.impact-now-track strong { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; }
.impact-now-track span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.impact-now-foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .75); }
.impact-now-cta { padding: 12px 20px; border-radius: 999px; background: #fff; color: #2a1a8c; font-size: 15px; font-weight: 600; white-space: nowrap; }
.impact-past { padding: 28px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(28, 30, 84, .12); color: #0b0f19; }
.impact-past-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #64748d; }
.impact-past-title { margin: 18px 0 0; font-size: 1.25rem; font-weight: 600; color: #533afd; }
.impact-past-number { display: block; margin-top: 16px; font-size: clamp(3rem, 5vw, 4rem); font-weight: 300; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.impact-past-number small { font-size: 15px; letter-spacing: 0; }
.impact-past > p { margin: 10px 0 0; font-size: 14px; color: #4c5567; }
.impact-past-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #e3e8ee; }
.impact-past-stats .wide { grid-column: 1 / -1; }
.impact-past-stats dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #64748d; }
.impact-past-stats dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; }
.impact-past-stats dd small { font-size: 12px; color: #79808f; font-weight: 400; }
.impact-past-cta { margin-top: auto; padding-top: 22px; color: #533afd; font-size: 15px; }
@media (max-width: 900px) {
  .impact-intro, .impact-themes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .impact-now-track { grid-template-columns: 1fr; }
}

.impact-section .impact-now .impact-now-title { color: #fff !important; -webkit-text-fill-color: #fff; }
.impact-section .impact-now .impact-now-title em { color: #ffd6fb !important; -webkit-text-fill-color: #ffd6fb; }
.impact-section .impact-now-track strong { color: #fff; }
/* ---- Contact Chief Servant Annamalai ---- */
.cs-hero { position: relative; overflow: hidden; padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(circle at 90% 10%, rgba(83, 58, 253, .14), transparent 40%), radial-gradient(circle at 0% 100%, rgba(249, 107, 238, .12), transparent 40%), linear-gradient(180deg, #faf9ff, #fff); }
.cs-hero .crumbs { margin-bottom: clamp(24px, 3vw, 40px); }
.cs-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cs-pill { display: inline-flex; padding: 8px 16px; border: 1px solid #ddd6fe; border-radius: 999px; background: #fff; color: #533afd; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cs-h1 { margin: 22px 0 0; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; color: #1c1e54; }
.cs-mark { color: #533afd; background: linear-gradient(transparent 78%, rgba(132, 225, 104, .55) 78%); padding: 0 .04em; }
.cs-lead { margin: 22px 0 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: #4c5567; }
.cs-ways { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.cs-ghost { display: inline-flex; align-items: center; padding: 13px 22px; border: 1px solid #533afd; border-radius: 999px; color: #533afd; font-weight: 500; text-decoration: none; }
.cs-ghost:hover { background: #f5f3ff; }
.cs-portrait { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(28, 30, 84, .18); aspect-ratio: 4 / 5; }
.cs-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.05); }
.cs-portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; text-align: right; background: linear-gradient(transparent, rgba(255, 255, 255, .95) 70%); }
.cs-portrait figcaption strong { display: block; font-size: 17px; color: #1c1e54; }
.cs-portrait figcaption span { font-size: 13px; color: #4c5567; }
.cs-topics-band { padding: 28px 0; border-top: 1px solid #eef0f5; border-bottom: 1px solid #eef0f5; background: #fff; }
.cs-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a9791f; }
.cs-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; }
.cs-topics li { padding: 8px 14px; border-radius: 999px; background: #f5f3ff; color: #2a1a8c; font-size: 14px; }
.cs-main { padding: clamp(48px, 7vw, 96px) 0; background: #fafbfd; }
.cs-main-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.cs-form, .cs-email, .cs-how { border-radius: 20px; background: #fff; box-shadow: 0 1px 3px rgba(11, 15, 25, .06), 0 12px 40px rgba(11, 15, 25, .06); padding: clamp(24px, 3.5vw, 40px); }
.cs-step { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #533afd; }
.cs-h2 { margin: 10px 0 0; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: #1c1e54; }
.cs-sub { margin: 8px 0 8px; color: #64748d; font-size: 15px; }
.cs-form .field { margin-top: 18px; }
.cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-chips { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chips legend { margin-bottom: 10px; padding: 0; }
.cs-chips input { position: absolute; opacity: 0; pointer-events: none; }
.cs-chips span { display: inline-flex; padding: 9px 15px; border: 1px solid #e3e7ed; border-radius: 999px; font-size: 14px; color: #4c5567; cursor: pointer; transition: all .15s; }
.cs-chips input:checked + span { background: #533afd; border-color: #533afd; color: #fff; }
.cs-chips input:focus-visible + span { outline: 2px solid #533afd; outline-offset: 2px; }
.cs-submit { width: 100%; margin-top: 24px; justify-content: center; }
.cs-side { display: grid; gap: 20px; position: sticky; top: 100px; }
.cs-email { color: #fff; background: radial-gradient(circle at 100% 0%, rgba(249, 107, 238, .45), transparent 50%), linear-gradient(140deg, #2a1a8c, #533afd); }
.cs-email .cs-step { color: #ffd6fb; }
.cs-main .cs-email .cs-h2 { color: #fff; }
.cs-email .cs-sub { color: rgba(255, 255, 255, .8); }
.cs-email-addr { display: block; margin-top: 16px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; color: #fff; word-break: break-all; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.cs-email-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cs-email-btn { background: #fff; color: #2a1a8c; }
.cs-copy { padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.cs-copy:hover { background: rgba(255, 255, 255, .12); }
.cs-how ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.cs-how li { display: flex; gap: 14px; }
.cs-how b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fbf4e5; color: #a9791f; font-size: 14px; }
.cs-how strong { display: block; font-size: 15px; color: #1c1e54; }
.cs-how span { display: block; margin-top: 2px; font-size: 14px; color: #64748d; }
.cs-other { margin: 0; font-size: 14px; color: #64748d; text-align: center; }
.cs-other a { color: #533afd; }
@media (max-width: 900px) {
  .cs-hero-grid, .cs-main-grid { grid-template-columns: 1fr; }
  .cs-portrait { max-width: 420px; }
  .cs-side { position: static; }
}

@media (max-width: 560px) { .cs-row { grid-template-columns: 1fr; } }
/* ---- Impact: monochrome (Apple-like) override ---- */
.impact-section { background: #f5f5f7; }
.impact-section .mesh-b { display: none; }
.impact-section .kicker { color: #6e6e73; }
.impact-intro h2 { color: #1d1d1f; }
.impact-intro p { color: #6e6e73; }
.impact-section .text-link { color: #1d1d1f; }
.impact-themes { gap: 20px; }
.impact-now, .impact-past { border-radius: 28px; background: #fff; box-shadow: none; border: 1px solid rgba(0, 0, 0, .06); color: #1d1d1f; backdrop-filter: none; }
.impact-now:hover, .impact-past:hover { transform: none; box-shadow: 0 12px 40px rgba(0, 0, 0, .06); }
.impact-now { background: #fff; padding: clamp(28px, 4vw, 52px); }
.impact-now-head, .impact-past-head { font-size: 12px; letter-spacing: .06em; color: #86868b; }
.impact-live { gap: 7px; padding: 5px 12px; background: #f5f5f7; color: #1d1d1f; font-weight: 500; letter-spacing: .04em; }
.impact-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #1d1d1f; animation: impactPulse 2s ease-in-out infinite; }
@keyframes impactPulse { 50% { opacity: .25; } }
.impact-section .impact-now .impact-now-title { margin-top: 22px; color: #1d1d1f !important; -webkit-text-fill-color: #1d1d1f; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.impact-now-sub { color: #6e6e73; font-size: 17px; line-height: 1.5; max-width: 520px; }
.impact-targets-label { margin-top: 40px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #86868b; }
.impact-targets { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 0; border-top: 1px solid #e8e8ed; }
.impact-targets div { padding: 20px 16px 0 0; }
.impact-targets div + div { padding-left: 16px; border-left: 1px solid #e8e8ed; }
.impact-targets dd { order: -1; margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: #1d1d1f; font-variant-numeric: tabular-nums; }
.impact-targets div { display: flex; flex-direction: column; gap: 8px; }
.impact-targets dt { font-size: 13px; color: #6e6e73; }
.impact-now-foot { padding-top: 40px; color: #86868b; }
.impact-now-cta { background: #1d1d1f; color: #fff; font-weight: 500; font-size: 14px; }
.impact-past { background: #fff; }
.impact-past .verified { background: #f5f5f7; color: #1d1d1f; }
.impact-past-title { color: #1d1d1f; font-weight: 600; }
.impact-past > p, .impact-past-stats dt { color: #86868b; }
.impact-past-stats { border-top-color: #e8e8ed; }
.impact-past-cta { color: #1d1d1f; }
@media (max-width: 700px) {
  .impact-targets { grid-template-columns: 1fr 1fr; }
  .impact-targets div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---- Contact Chief Servant v2: form above the fold ---- */
.cs2 { padding: 20px 0 64px; background: #fff; }
.cs2 .crumbs { margin-bottom: 20px; }
.cs2-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cs2-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #86868b; }
.cs2-h1 { margin: 10px 0 0; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; color: #1d1d1f; }
.cs2-lead { margin: 12px 0 0; max-width: 540px; color: #6e6e73; font-size: 16px; line-height: 1.5; }
.cs2-form { margin-top: 18px; }
.cs2-form .field { margin-top: 12px; }
.cs2-form .cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cs2-form .cs-chips { margin-top: 14px; }
.cs2-form .cs-chips legend { margin-bottom: 8px; }
.cs2-form .cs-chips span { padding: 7px 13px; font-size: 13px; }
.cs2-form .cs-chips input:checked + span { background: #1d1d1f; border-color: #1d1d1f; }
.cs2-form textarea { min-height: 110px; }
.cs2-form .cs-submit { width: 100%; margin-top: 18px; justify-content: center; }
.cs2-right { position: sticky; top: 90px; }
.cs2-photo { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.cs2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(1);
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 55% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 75% 80% at 55% 40%, #000 55%, transparent 100%); }
.cs2-photo figcaption { position: absolute; right: 8%; bottom: 6%; text-align: right; }
.cs2-photo strong { display: block; font-size: 16px; color: #1d1d1f; }
.cs2-photo span { font-size: 13px; color: #6e6e73; }
.cs2-email { margin-top: 8px; padding: 24px; border-radius: 20px; background: #f5f5f7; }
.cs2-addr { display: block; margin-top: 8px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; color: #1d1d1f; word-break: break-all; text-decoration: none; }
.cs2-addr:hover { text-decoration: underline; }
.cs2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cs2-btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: #1d1d1f; color: #fff; border: 1px solid #1d1d1f; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.cs2-btn.ghost { background: transparent; color: #1d1d1f; border-color: #d2d2d7; }
.cs2-note { margin: 14px 0 0; font-size: 13px; color: #86868b; }
.cs2-note a { color: #1d1d1f; }
@media (max-width: 900px) {
  .cs2-grid { grid-template-columns: 1fr; }
  .cs2-right { position: static; }
}

@media (max-width: 560px) { .cs2-form .cs-row { grid-template-columns: 1fr; } }
.cs2 h1.cs2-h1 { font-size: clamp(1.9rem, 2.8vw, 2.5rem) !important; line-height: 1.1 !important; letter-spacing: -.03em !important; max-width: none; }
.cs2-form .field { margin-top: 10px; }
.cs2-form .cs-chips { margin-top: 12px; }
.cs2-form textarea { min-height: 96px; }
.cs2-photo { aspect-ratio: 4 / 3; }
.cs2-photo img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 62%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 62%, transparent 100%), linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); mask-composite: intersect; }
.cs2-photo figcaption { bottom: 4%; right: 4%; }
/* framed photo (replaces edge fade) */
.cs2-photo { aspect-ratio: auto; overflow: visible; }
.cs2-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%;
  border-radius: 20px; border: 1px solid rgba(0, 0, 0, .08); filter: grayscale(1);
  -webkit-mask-image: none; mask-image: none; }
.cs2-photo figcaption { position: static; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding: 0 4px; text-align: left; }
.cs2-email { margin-top: 20px; }
/* ---- Home touch points: write to Annamalai ---- */
.cs-touch { padding: 0 0 clamp(48px, 6vw, 80px); background: #f5f5f7; }
.cs-touch-card { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); text-decoration: none; color: #1d1d1f; transition: box-shadow .2s ease; }
.cs-touch-card:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, .06); }
.cs-touch-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1); }
.cs-touch-text { flex: 1; min-width: 0; }
.cs-touch-text strong { display: block; font-size: 17px; font-weight: 600; }
.cs-touch-text span { display: block; margin-top: 2px; font-size: 14px; color: #6e6e73; }
.cs-touch-btn { flex: none; padding: 11px 18px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 14px; font-weight: 500; }
@media (max-width: 640px) {
  .cs-touch-card { flex-wrap: wrap; }
  .cs-touch-btn { width: 100%; text-align: center; }
}

.cs-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.cs-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.cs-fab-link { display: flex; align-items: center; gap: 10px; padding-right: 6px; text-decoration: none; color: #1d1d1f; }
.cs-fab-link img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1); }
.cs-fab-link span { font-size: 14px; font-weight: 600; line-height: 1.15; }
.cs-fab-link small { display: block; font-size: 11px; font-weight: 400; color: #86868b; }
.cs-fab-close { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f5f5f7; color: #6e6e73; font-size: 16px; line-height: 1; cursor: pointer; }
.cs-fab-close:hover { background: #e8e8ed; }
.cs-touch { padding: clamp(20px, 3vw, 32px) 0; background: #fff; }
.cs-touch-card { background: #f5f5f7; border-color: transparent; }
/* ========================================================================== 
   Member access — choice-first sign in / join experience
   ========================================================================== */
.auth-page {
  margin: 0;
  min-width: 320px;
  background: #f6f8fc;
  color: #0d253d;
  font-family: var(--font);
}

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

.auth-shell {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .98) 0, rgba(255, 255, 255, .88) 28%, rgba(244, 243, 255, .74) 62%, #f4f7fb 100%);
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(113, 126, 154, .18) 1px, transparent 1px);
  background-size: 25px 25px;
  opacity: .36;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0, transparent 73%);
  mask-image: radial-gradient(circle at 50% 42%, #000 0, transparent 73%);
}

.auth-top,
.auth-main,
.auth-foot {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.auth-top {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
}

.auth-logo img {
  display: block;
  width: 188px;
  height: 72px;
  object-fit: contain;
}

.auth-back {
  position: absolute;
  right: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(148, 159, 178, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 4px 14px rgba(13, 37, 61, .06);
  color: #33445c;
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.auth-back span {
  color: #5b43f3;
  font-size: 17px;
}

.auth-back:hover {
  color: #4935d5;
  border-color: rgba(83, 58, 253, .34);
  box-shadow: 0 7px 20px rgba(13, 37, 61, .09);
  transform: translateY(-1px);
}

.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 12px 0 32px;
}

.auth-page .auth-card {
  width: 100%;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.01fr) minmax(0, .99fr);
  overflow: hidden;
  border: 1px solid rgba(130, 143, 164, .22);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(22, 30, 57, .15), 0 4px 14px rgba(22, 30, 57, .05);
}

.auth-story {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  color: #fff;
  background: #1f2a55;
}

.auth-story-photo,
.auth-story-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auth-story-photo {
  z-index: -3;
  display: block;
  object-fit: cover;
  object-position: 73% center;
  transform: scale(1.02);
}

.auth-story-scrim {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 16, 38, .06) 4%, rgba(15, 20, 47, .24) 36%, rgba(17, 20, 50, .92) 100%),
    linear-gradient(100deg, rgba(42, 32, 131, .48), rgba(42, 32, 131, .02) 72%);
}

.auth-story::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, .025), 0 0 0 92px rgba(255, 255, 255, .018);
}

.auth-story-content {
  width: 100%;
}

.auth-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.auth-story-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dd39b;
  box-shadow: 0 0 0 5px rgba(109, 211, 155, .17);
}

.auth-story h2 {
  max-width: 14ch;
  margin: 15px 0 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 590;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.auth-story-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.auth-story-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-story-stats strong {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -.03em;
}

.auth-story-stats span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.35;
}

.auth-story blockquote {
  max-width: 34ch;
  margin: 28px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
}

.auth-story-credit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 13px 0 0;
}

.auth-story-credit strong {
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.auth-story-credit span {
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}

.auth-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 58px 48px;
  background:
    radial-gradient(circle at 100% 0, rgba(107, 86, 255, .055), transparent 36%),
    #fff;
}

.auth-kicker {
  color: #5b43f3;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.auth-page main .auth-choice h1 {
  margin: 12px 0 0;
  color: #11182a;
  font-size: clamp(1.65rem, 2vw, 1.95rem);
  font-weight: 440;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.auth-intro {
  max-width: 39ch;
  margin: 18px 0 0;
  color: #68758a;
  font-size: 15px;
  line-height: 1.6;
}

.auth-choice-list {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.auth-action {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.auth-action-primary {
  color: #fff;
  background: linear-gradient(120deg, #4f3bea 0%, #7134f4 58%, #8427eb 100%);
  box-shadow: 0 16px 30px rgba(90, 52, 232, .24);
}

.auth-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(90, 52, 232, .3);
}

.auth-action-secondary {
  color: #182136;
  border-color: #d8dee8;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 32, 58, .055);
}

.auth-action-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(83, 58, 253, .45);
  background: #faf9ff;
  box-shadow: 0 14px 30px rgba(15, 32, 58, .09);
}

.auth-action:focus-visible,
.auth-back:focus-visible,
.auth-logo:focus-visible,
.auth-foot a:focus-visible {
  outline: 3px solid rgba(83, 58, 253, .32);
  outline-offset: 3px;
}

.auth-action-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.auth-action-primary .auth-action-icon {
  background: rgba(255, 255, 255, .14);
}

.auth-action-secondary .auth-action-icon {
  color: #5b43f3;
  background: #f0edff;
}

.auth-action-icon svg {
  width: 23px;
  height: 23px;
}

.auth-action-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-action-copy strong {
  color: inherit;
  font-size: 16px;
  font-weight: 680;
}

.auth-action-copy small {
  color: inherit;
  font-size: 12px;
  opacity: .72;
}

.auth-action-arrow {
  justify-self: end;
  color: inherit;
  font-size: 20px;
  transition: transform .18s ease;
}

.auth-action:hover .auth-action-arrow {
  transform: translateX(3px);
}

.auth-page .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #9aa5b5;
  font-size: 11px;
  text-transform: uppercase;
}

.auth-page .auth-divider::before,
.auth-page .auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e7ebf1;
}

.auth-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 19px 0 0;
  color: #8b96a8;
  font-size: 11px;
  line-height: 1.35;
}

.auth-secure svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #708095;
}

.auth-supporting {
  width: calc(100% - 28px);
  display: grid;
  gap: 0;
  margin-inline: auto;
}

.auth-assisted {
  min-height: 58px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 6px;
  border: 0;
  border-top: 1px solid rgba(139, 151, 170, .16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #263449;
  text-decoration: none;
  transition: color .18s ease;
}

.auth-assisted:hover {
  color: #513bdc;
}

.auth-assisted:focus-visible,
.auth-mobile-stores a:focus-visible {
  outline: 3px solid rgba(83, 58, 253, .26);
  outline-offset: 3px;
}

.auth-assisted-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(83, 58, 253, .055);
  color: #8274cf;
}

.auth-assisted-icon svg {
  width: 17px;
  height: 17px;
}

.auth-assisted-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-assisted-copy strong {
  color: #536074;
  font-size: 12px;
  font-weight: 580;
}

.auth-assisted-copy small {
  color: #98a1b0;
  font-size: 11px;
  line-height: 1.4;
}

.auth-assisted-cta {
  color: #8175c7;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}

.auth-assisted-cta b {
  margin-left: 5px;
  font-weight: 500;
}

.auth-mobile {
  min-height: 60px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 6px 3px;
  border-top: 1px solid rgba(139, 151, 170, .18);
}

.auth-mobile > img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  opacity: .68;
}

.auth-mobile-copy strong {
  color: #657185;
  font-size: 11px;
  font-weight: 580;
}

.auth-mobile-copy p {
  margin: 2px 0 0;
  color: #a0a8b5;
  font-size: 10px;
  line-height: 1.4;
}

.auth-mobile-stores {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-mobile-stores a {
  display: block;
  border-radius: 7px;
  opacity: .62;
  transition: opacity .18s ease, transform .18s ease;
}

.auth-mobile-stores a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.auth-mobile-stores img {
  width: 94px;
  height: 29px;
  display: block;
  object-fit: contain;
}

.auth-foot {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 24px;
  color: #8a95a7;
  font-size: 12px;
}

.auth-foot p {
  margin: 0;
}

.auth-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.auth-foot a {
  color: #6e7a8e;
  text-decoration: none;
}

.auth-foot a:hover {
  color: #513bdc;
}

.auth-card-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.auth-card-floats .theme-float {
  position: absolute;
  display: block;
  margin: 0;
  padding: 5px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 26px rgba(13, 37, 61, .14);
  opacity: .9;
}

.auth-card-floats .theme-float img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
  object-fit: cover;
}

.auth-float-1 {
  top: 12%;
  left: max(22px, calc(50% - 710px));
  width: 110px;
  height: 76px;
  transform: rotate(-6deg);
}

.auth-float-2 {
  top: 16%;
  right: max(22px, calc(50% - 735px));
  width: 108px;
  height: 82px;
  transform: rotate(6deg);
}

.auth-float-3 {
  bottom: 12%;
  left: max(22px, calc(50% - 735px));
  width: 112px;
  height: 78px;
  transform: rotate(5deg);
}

.auth-float-4 {
  right: max(22px, calc(50% - 715px));
  bottom: 15%;
  width: 112px;
  height: 78px;
  transform: rotate(-5deg);
}

@media (max-width: 1330px) {
  .auth-card-floats {
    display: none;
  }
}

@media (max-width: 860px) {
  .auth-page .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-story {
    min-height: 300px;
    padding: 30px;
  }

  .auth-story-photo {
    object-position: 70% 42%;
  }

  .auth-story h2 {
    max-width: 19ch;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .auth-story-stats {
    width: min(420px, 100%);
    margin-top: 20px;
  }

  .auth-story blockquote,
  .auth-story-credit {
    display: none;
  }

  .auth-choice {
    padding: 44px 40px 38px;
  }
}

@media (max-width: 560px) {
  .auth-top,
  .auth-main,
  .auth-foot {
    width: min(100% - 28px, 1080px);
  }

  .auth-top {
    min-height: 98px;
  }

  .auth-logo img {
    width: 148px;
    height: 54px;
  }

  .auth-back {
    width: 40px;
    min-height: 38px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .auth-back-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .auth-main {
    align-items: stretch;
    padding-top: 4px;
  }

  .auth-page .auth-card {
    min-height: 0;
    border-radius: 20px;
  }

  .auth-story {
    min-height: 238px;
    padding: 24px;
  }

  .auth-story-photo {
    object-fit: cover !important;
    object-position: 69% 45%;
  }

  .auth-story-kicker {
    font-size: 9px;
  }

  .auth-story h2 {
    max-width: 15ch;
    margin-top: 11px;
    font-size: 1.7rem;
  }

  .auth-story-stats {
    gap: 12px;
    margin-top: 16px;
  }

  .auth-story-stats strong {
    font-size: 1.25rem;
  }

  .auth-story-stats span {
    font-size: 10px;
  }

  .auth-choice {
    padding: 34px 22px 28px;
  }

  .auth-page main .auth-choice h1 {
    font-size: clamp(1.55rem, 7vw, 1.8rem);
  }

  .auth-intro {
    margin-top: 14px;
    font-size: 14px;
  }

  .auth-choice-list {
    margin-top: 24px;
  }

  .auth-action {
    min-height: 72px;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 12px;
    padding-right: 14px;
    border-radius: 14px;
  }

  .auth-action-icon {
    width: 42px;
    height: 42px;
  }

  .auth-action-copy strong {
    font-size: 15px;
  }

  .auth-action-copy small {
    font-size: 11px;
  }

  .auth-secure {
    align-items: flex-start;
  }

  .auth-assisted {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 2px;
  }

  .auth-assisted-icon {
    width: 30px;
    height: 30px;
  }

  .auth-assisted-cta {
    grid-column: 2;
    font-size: 11px;
  }

  .auth-mobile {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 10px 2px 6px;
  }

  .auth-mobile > img {
    width: 30px;
    height: 30px;
  }

  .auth-mobile-stores {
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 3px;
  }

  .auth-mobile-stores img {
    width: 92px;
    height: 28px;
  }

  .auth-foot {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page .auth-action,
  .auth-page .auth-action-arrow,
  .auth-page .auth-back {
    transition: none;
  }
}

/* Network tab strip above the promo bar (mirrors wetheleader.org). It lives
   inside the sticky .assisted-top-header, so --assisted-header-h is bumped
   by --tabbar-h at each breakpoint to keep .site-top and friends flush. */
:root {
  --tabbar-h: 36px;
  --assisted-header-h: calc(48px + var(--tabbar-h));
}

.site-tabbar {
  height: var(--tabbar-h);
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding-inline: 20px;
  background: #1c1e54;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.site-tabbar::-webkit-scrollbar {
  display: none;
}

.site-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  border-radius: 8px 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, .65);
  background: transparent;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
  min-width: 0;
  flex: 0 1 auto;
}

.site-tab > span:not(.site-tab-icon) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-tab-short {
  display: none;
}

.site-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.site-tab.is-active {
  background: #f6f9fc;
  color: #0d253d;
}

.site-tab-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -3px;
  flex-shrink: 0;
}

.site-tab-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1080px) {
  :root { --tabbar-h: 34px; }
  .site-tabbar { padding-inline: 14px; }
  .site-tab { padding: 0 14px; }
}

@media (max-width: 640px) {
  :root {
    --tabbar-h: 32px;
    --assisted-header-h: calc(70px + var(--tabbar-h));
  }

  .site-tab { padding: 0 12px; }
  .site-tab-long { display: none; }
  .site-tab-short { display: inline; }
  .site-tab-icon { width: 22px; height: 22px; }
}

@media (max-width: 380px) {
  :root { --assisted-header-h: calc(68px + var(--tabbar-h)); }
}

/* "Opens in a new tab" cue on external institution links in the nav. */
.mega-link .mega-ext {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(28, 30, 84, .07);
  color: var(--navy, #1c1e54);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.mega-feature .btn-link .ext {
  margin-left: 4px;
}

/* Institutions sit outside the site's own pages, so the nav item is set
   apart: a divider on desktop (a rule above it in the mobile drawer) and a
   tinted pill instead of plain text. */
.nav-item-apart {
  position: relative;
  margin-left: 14px;
  padding-left: 14px;
}

.nav-item-apart::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  transform: translateY(-50%);
  background: rgba(28, 30, 84, .18);
}

.nav-item-apart > .nav-link {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(28, 30, 84, .32);
  border-radius: 999px;
  padding-inline: 14px;
  color: #1c1e54;
  font-weight: 600;
}

.nav-item-apart > .nav-link:hover,
.nav-item-apart.is-open > .nav-link {
  background: rgba(28, 30, 84, .07);
  box-shadow: inset 0 0 0 1px rgba(28, 30, 84, .55);
  color: #1c1e54;
}

@media (max-width: 1080px) {
  .nav-item-apart {
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(28, 30, 84, .12);
  }

  .nav-item-apart::before {
    display: none;
  }
}

/* Desktop nav: centre the menu between the logo and the right-hand actions
   instead of leaving it hugging the logo. Below 1200px the menu is the
   slide-out drawer, which has its own layout. */
@media (min-width: 1201px) {
  .nav-main {
    flex: 1;
    justify-content: center;
  }
}

/* APJ page: We The Leaders lockup in the header and a parent link in the
   footer, so there is always an obvious way back to the platform (the tab
   strip above is the third). The logo sits on a white chip because the page
   background is teal. */
.apj-coming-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.apj-wtl-mark {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(14, 38, 48, .18);
}

.apj-wtl-mark img {
  display: block;
  height: 30px;
  width: auto;
}

.apj-coming-lockup .apj-coming-brand {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .4);
}

.apj-footer-parent {
  color: #fff;
  font-weight: 600;
}

.apj-footer-parent:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .apj-coming-lockup { gap: 12px; }
  .apj-wtl-mark { height: 38px; padding: 0 10px; }
  .apj-wtl-mark img { height: 24px; }
  .apj-coming-lockup .apj-coming-brand { padding-left: 12px; }
  .apj-coming-footer { flex-wrap: wrap; gap: 6px 18px; }
}

/* ------------------------------------------------------------------------
   Home: institutions showcase (right under the hero). Dark band, tall cards,
   generated artwork that bleeds off the bottom edge. Rendered by
   initInstitutionsShowcase() in main.js from the list in institutions.js.
   ------------------------------------------------------------------------ */
.inst-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(83, 58, 253, .22), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(16, 185, 129, .12), transparent 70%),
    #05060d;
  color: #fff;
}

.inst-wrap {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.inst-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}

.inst-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.inst-head h2 {
  margin: 22px 0 16px;
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.inst-head p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
}

.inst-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.inst-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: clamp(520px, 52vw, 640px);
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.inst-card:hover,
.inst-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -20px rgba(0, 0, 0, .7);
}

.inst-violet {
  background: linear-gradient(180deg, #230a4a 0%, #19063a 100%);
  --inst-ink: #d3b8ff;
  --inst-art: #a56bff;
}

.inst-green {
  background: linear-gradient(180deg, #032e22 0%, #021f17 100%);
  --inst-ink: #7fe0ae;
  --inst-art: #1fa56a;
}

.inst-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 18px;
  color: var(--inst-ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.inst-kicker em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  font-size: .68rem;
  font-style: normal;
  letter-spacing: .02em;
  text-transform: none;
}

.inst-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.inst-card h3 span {
  display: block;
}

.inst-card p {
  max-width: 34em;
  margin: 0;
  color: var(--inst-ink);
  font-size: 1rem;
  line-height: 1.6;
}

.inst-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 26px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b1e;
  font-size: .92rem;
  font-weight: 600;
  transition: transform .25s ease, gap .25s ease;
}

.inst-card:hover .inst-cta {
  gap: 12px;
}

.inst-art {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 52%;
  fill: var(--inst-art);
  transform-origin: 50% 100%;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.inst-card:hover .inst-art {
  transform: scale(1.04);
}

.inst-art .bar {
  fill: var(--inst-art);
  opacity: .8;
}

.inst-art .cap {
  fill: #d4f5e4;
  opacity: .85;
}

/* Scroll-in: the section is complete markup; only the entrance is animated. */
.inst-showcase .inst-head,
.inst-showcase .inst-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.inst-showcase.is-in .inst-head,
.inst-showcase.is-in .inst-card {
  opacity: 1;
  transform: none;
}

.inst-showcase.is-in .inst-card:nth-child(2) { transition-delay: .12s; }
.inst-showcase.is-in .inst-card:nth-child(3) { transition-delay: .24s; }
.inst-showcase.is-in .inst-card:hover,
.inst-showcase.is-in .inst-card:focus-visible {
  transform: translateY(-6px);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .inst-showcase .inst-head,
  .inst-showcase .inst-card { opacity: 1; transform: none; transition: none; }
  .inst-art { transition: none; }
}

/* ---- Institutions showcase, round 2: compact, line artwork, "New" tags ---- */
.inst-showcase {
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(48px, 6vw, 84px);
}

.inst-head {
  margin-bottom: clamp(26px, 3.4vw, 42px);
}

.inst-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.inst-head p {
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
}

.inst-card {
  min-height: clamp(360px, 31vw, 410px);
  padding: clamp(26px, 2.6vw, 34px);
}

.inst-card h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  margin-bottom: 14px;
}

.inst-card h3,
.inst-card p,
.inst-kicker {
  max-width: 62%;
}

.inst-card p {
  font-size: .96rem;
  line-height: 1.55;
}

.inst-cta {
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.inst-card .inst-cta {
  margin-top: 22px;
}

/* line artwork: sits bottom-right, drawn stroke by stroke when scrolled in */
.inst-art {
  left: auto;
  right: 0;
  width: 64%;
  height: 92%;
  fill: none;
  --inst-line: var(--inst-ink);
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--inst-art) 55%, transparent));
}

.inst-art path {
  fill: none;
  stroke: var(--inst-line);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .9;
}

.inst-showcase.is-in .inst-art path {
  animation: instDraw 1.5s cubic-bezier(.4, .1, .2, 1) forwards;
  animation-delay: calc(var(--d, 0s) + .45s);
}

@keyframes instDraw {
  to { stroke-dashoffset: 0; }
}

.inst-card:hover .inst-art {
  transform: none;
}

/* "New" tags */
.new-pill,
.nav-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(120deg, #7c5cff, #ff7ab8);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.inst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 6px;
}

.inst-kicker .new-pill {
  letter-spacing: .08em;
}

.nav-new {
  margin-left: 2px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, .35);
}

@media (max-width: 720px) {
  .inst-card {
    min-height: 470px;
  }

  .inst-card h3,
  .inst-card p,
  .inst-kicker {
    max-width: 100%;
  }

  .inst-art {
    width: 80%;
    height: 50%;
    opacity: .75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inst-art path { stroke-dashoffset: 0; animation: none !important; }
}

/* An older rule hides every span inside .nav-link; the New tag is one. */
.nav-link .nav-new {
  display: inline-flex;
}

/* Keep the artwork clear of the copy. */
.inst-card h3,
.inst-card p,
.inst-kicker {
  max-width: 56%;
}

.inst-art {
  width: 52%;
  height: 90%;
}

@media (max-width: 720px) {
  .inst-card h3,
  .inst-card p,
  .inst-kicker {
    max-width: 100%;
  }

  .inst-art {
    width: 78%;
    height: 46%;
  }
}

/* ---- Institutions pill selector, right under the home banner ---- */
.inst-bar {
  position: relative;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid rgba(28, 30, 84, .08);
}

.inst-bar-in {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  padding: 14px 0;
}

.inst-bar-label {
  flex-shrink: 0;
  color: #5b6478;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.inst-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.inst-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(28, 30, 84, .18);
  border-radius: 999px;
  background: #fff;
  color: #1c1e54;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.inst-pill:hover,
.inst-pill:focus-visible {
  background: #1c1e54;
  border-color: #1c1e54;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(28, 30, 84, .55);
  transform: translateY(-1px);
}

.inst-pill-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: #eceafd;
  color: #3b2bb5;
}

.inst-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.inst-pill svg.ext,
.inst-pill svg.arw {
  width: 12px;
  height: 12px;
  opacity: .7;
}

.inst-pill .new-pill {
  padding: 3px 7px;
}

/* the card a hovered pill points to */
.inst-card.is-hot {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 30px 60px -20px rgba(0, 0, 0, .7);
}

@media (max-width: 720px) {
  .inst-bar-in {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 14px;
  }

  .inst-bar-label {
    text-align: left;
  }

  .inst-pills {
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .inst-pills::-webkit-scrollbar {
    display: none;
  }
}

/* ---- "Next institution" teaser: amber card, blueprint artwork ---- */
.inst-amber {
  background: linear-gradient(180deg, #2e1d06 0%, #1d1203 100%);
  --inst-ink: #ffd89a;
  --inst-art: #f5a623;
}

.inst-art .ring {
  fill: none;
  stroke: var(--inst-ink);
  stroke-width: 1.2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: .55;
  transform-box: view-box;
  transform-origin: 200px 214px;
  animation: instSpin 60s linear infinite;
}

.inst-art .qmark {
  fill: var(--inst-ink);
  font-size: 96px;
  font-weight: 300;
  opacity: .85;
  animation: instQ 3.2s ease-in-out infinite alternate;
}

@keyframes instSpin { to { transform: rotate(360deg); } }
@keyframes instQ { from { opacity: .25; } to { opacity: .95; } }
.inst-card.is-teaser {
  cursor: default;
}

.inst-card.is-teaser:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.inst-card.is-teaser.is-hot {
  box-shadow: inset 0 0 0 1px rgba(255, 216, 154, .5), 0 0 40px -6px rgba(245, 166, 35, .35);
}

.inst-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 0 0 0 rgba(245, 166, 35, .6);
  animation: instPulse 1.8s ease-out infinite;
}

.inst-kicker .inst-pulse {
  margin-right: 2px;
}

@keyframes instPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, .55); }
  100% { box-shadow: 0 0 0 10px rgba(245, 166, 35, 0); }
}

.inst-cta.is-teaser {
  background: rgba(255, 216, 154, .12);
  color: #ffd89a;
  border: 1px dashed rgba(255, 216, 154, .5);
  cursor: default;
}

.inst-pill.is-teaser {
  border-style: dashed;
  color: #6a4a10;
  background: #fff9ec;
  border-color: rgba(245, 166, 35, .6);
  cursor: default;
}

.inst-pill.is-teaser:hover,
.inst-pill.is-teaser:focus-visible {
  background: #fff3d6;
  color: #6a4a10;
  border-color: #f5a623;
  box-shadow: 0 8px 20px -10px rgba(245, 166, 35, .7);
}

.inst-pill.is-teaser .inst-pill-icon {
  background: #ffe8bd;
}

.soon-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5a623;
  color: #3a2504;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .inst-art .ring, .inst-art .qmark, .inst-pulse { animation: none; }
}

/* The same pill bar, repeated above the footer on every page. */
.inst-bar-foot {
  border-top: 1px solid rgba(28, 30, 84, .08);
  border-bottom: 0;
}

/* Real photo of Dr. Kalam: a face crop in the pill, and a tinted, feathered
   photo behind the line drawing on the card. */
.inst-pill-icon img.is-face {
  transform: scale(2.4);
  transform-origin: 50% 37%;
  object-position: 50% 37%;
}

.inst-face {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 2.6vw, 32px);
  right: clamp(24px, 2.6vw, 32px);
  width: clamp(78px, 7vw, 96px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(211, 184, 255, .75);
  background: #2a1456;
  box-shadow: 0 0 0 6px rgba(165, 107, 255, .14), 0 12px 30px -8px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .8s ease .5s, transform .8s cubic-bezier(.2, .7, .2, 1) .5s;
}

.inst-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 37%;
  transform: scale(2.3);
  transform-origin: 50% 37%;
}

.inst-showcase.is-in .inst-face {
  opacity: 1;
  transform: none;
}

/* leave the badge clear of the line drawing */
.inst-art-kalam {
  height: 76%;
}

/* Teaser artwork, toned down: soft glow, three faint dotted rings. */
.inst-art-blueprint {
  filter: none;
}

.inst-art .ring {
  stroke-dasharray: 1.5 8;
  stroke-width: 1.1;
  opacity: .22;
  transform-origin: 250px 260px;
  animation: instSpin 90s linear infinite;
}

.inst-art .ring.r2 { opacity: .17; animation-duration: 140s; animation-direction: reverse; }
.inst-art .ring.r3 { opacity: .12; animation-duration: 200s; }
.inst-art .glow {
  animation: instBreathe 6s ease-in-out infinite alternate;
}

.inst-art .core {
  fill: var(--inst-ink);
  opacity: .5;
  animation: instQ 3.6s ease-in-out infinite alternate;
}

.inst-art .qmark {
  display: none;
}

@keyframes instBreathe { from { opacity: .55; } to { opacity: 1; } }
/* Kalam card: the Centre's facade fills the right side (feathered into the
   card), with the bronze bust badge on top. */
.inst-photo {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%);
  mask-image: linear-gradient(to right, transparent 0, #000 42%);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease .2s, transform 1.6s cubic-bezier(.2, .7, .2, 1) .2s;
}

.inst-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  filter: saturate(.9) brightness(.82) contrast(1.05);
}

.inst-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 6, 58, .1) 0%, rgba(25, 6, 58, 0) 40%, rgba(25, 6, 58, .55) 100%);
}

.inst-showcase.is-in .inst-photo {
  opacity: 1;
  transform: none;
}

.inst-card:hover .inst-photo {
  transform: scale(1.03);
}

@media (max-width: 720px) {
  .inst-photo {
    top: auto;
    width: 100%;
    height: 48%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 45%);
  }
}

/* Card widths follow each card's weight (see institutions.js): the main
   institution is wide, the teaser narrower. Narrow screens stack them. */
@media (min-width: 900px) {
  .inst-grid[style*="--inst-cols"] {
    grid-template-columns: var(--inst-cols);
  }

  .inst-card.is-teaser h3,
  .inst-card.is-teaser p {
    max-width: 88%;
  }

  .inst-photo {
    width: 54%;
  }

  .inst-card:not(.is-teaser) h3,
  .inst-card:not(.is-teaser) p,
  .inst-card:not(.is-teaser) .inst-kicker {
    max-width: 48%;
  }
}

/* Event social share bar */
.event-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.event-share-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--c-muted); text-transform: uppercase; }
.event-share-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.event-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.event-share-btn:hover, .event-share-btn:focus-visible { color: #fff; transform: translateY(-1px); }
.event-share-whatsapp:hover, .event-share-whatsapp:focus-visible { background: #25D366; border-color: #25D366; }
.event-share-facebook:hover, .event-share-facebook:focus-visible { background: #1877F2; border-color: #1877F2; }
.event-share-x:hover, .event-share-x:focus-visible { background: #000; border-color: #000; }
.event-share-linkedin:hover, .event-share-linkedin:focus-visible { background: #0A66C2; border-color: #0A66C2; }
.event-share-instagram:hover, .event-share-instagram:focus-visible { background: #E1306C; border-color: #E1306C; }
.event-share-copy:hover, .event-share-copy:focus-visible { background: var(--c-navy); border-color: var(--c-navy); }
.event-share-status { font-size: 13px; color: var(--c-body); }
/* Event recording preview card (links out to YouTube) */
.event-video-card { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #13203a; box-shadow: 0 24px 60px rgba(11, 15, 25, .18); color: #fff; text-decoration: none; }
.event-video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,25,.05) 40%, rgba(11,15,25,.8)); }
.event-video-card:hover img { transform: scale(1.03); }
.event-video-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding-left: 4px; border-radius: 50%; background: #FF0000; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.event-video-card:hover .event-video-play { transform: scale(1.08); }
.event-video-meta { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; display: grid; gap: 4px; }
.event-video-meta small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.event-video-meta strong { font-size: clamp(18px, 2.4vw, 26px); line-height: 1.2; }
.event-video-meta em { font-style: normal; font-size: 14px; opacity: .85; }
@media (max-width: 640px) { .event-video-card { border-radius: 14px; } .event-video-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } .event-video-meta { left: 16px; right: 16px; bottom: 14px; } }
.event-video-section { padding: clamp(32px, 5vw, 56px) 0 0; }
.event-video-section .event-video-card { max-width: 960px; margin: 0 auto; }
/* ==========================================================================
   Header, carrier-style rebuild
   Two bands: a quiet utility strip (everything that is not primary
   navigation) and a flat white navbar (brand · menu · right-hand actions).
   Replaces the old dark assisted-registration promo band -- that CTA now
   lives in the strip and in the navbar's right cluster. The old
   .assisted-top-header-* rules above no longer match any markup; they are
   left in place for the /ta/ build until it is regenerated.
   ========================================================================== */
/* .site-top is offset by this (see the assisted-top-header block above), as
   are the drawer, the scrim and the sticky sidebars. It must stay equal to
   the utility strip's real height at every width. */
:root {
  --assisted-header-h: 38px;
}

.util-bar {
  position: sticky;
  top: 0;
  z-index: 901;
  background: #F2F3F7;
  border-bottom: 1px solid rgba(11, 15, 25, .06);
}

.util-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  max-width: var(--maxw-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.util-group {
  display: flex;
  align-items: center;
  gap: 1px;
}

.util-right {
  flex: none;
}

.util-link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 9px;
  border: 0;
  background: none;
  color: #5B6377;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .085em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.util-link:hover,
.util-link:focus-visible {
  color: var(--c-ink);
  background: rgba(11, 15, 25, .05);
}

.util-link.is-active {
  color: var(--c-ink);
  font-weight: 700;
}

/* The strip's one outbound link: the arrow marks that it opens a new tab. */
.util-link-ext {
  gap: 6px;
}

.util-link-ext .ext {
  width: 11px;
  height: 11px;
  opacity: .6;
}

.util-link-ext:hover .ext,
.util-link-ext:focus-visible .ext {
  opacity: 1;
}

.util-divider {
  width: 1px;
  height: 13px;
  margin-inline: 7px;
  background: #CBD1DB;
}

/* Tamil is not an uppercase script and sets wider than the Latin small
   caps this strip is tuned for. */
html[lang="ta"] .util-link {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

/* ---- navbar ---- */
.site-header,
.home-reframe .site-header {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--c-line);
}

.site-header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 12px rgba(11, 15, 25, .06);
}

.nav {
  height: 66px;
  gap: 14px;
}

/* Flat links with a growing underline instead of the old pill hover: the
   menu reads as one row of words, the way carrier navs do. */
.nav-link {
  position: relative;
  height: 44px;
  padding: 0 10px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--c-ink-2);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: #533afd;
  transform: scaleX(0);
  transition: transform var(--t-fast) var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item.is-open>.nav-link {
  background: transparent;
  color: var(--c-ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-item.is-open>.nav-link::after {
  transform: scaleX(1);
}

.nav-main {
  gap: 0;
}

/* ---- right-hand cluster ---- */
.nav-actions {
  gap: 2px;
}

.nav-util {
  position: relative;
}

.nav-util-btn,
.nav-util-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--c-ink-2);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.nav-util-btn .ic,
.nav-util-link .ic {
  flex: none;
  opacity: .78;
}

.nav-util-btn .caret {
  opacity: .5;
  transition: transform var(--t-fast) var(--ease);
}

.nav-util.is-open .caret {
  transform: rotate(180deg);
}

.nav-util-btn:hover,
.nav-util-link:hover,
.nav-util.is-open .nav-util-btn {
  color: #533afd;
  background: #F2F0FF;
}

.nav-util-btn:hover .ic,
.nav-util-link:hover .ic,
.nav-util.is-open .nav-util-btn .ic {
  opacity: 1;
}

.nav-util-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 310px;
  padding: 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}

/* Same hover bridge the mega panels use: without it the cursor crosses the
   navbar background on the way down and the menu closes. */
.nav-util-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
}

.nav-util.is-open .nav-util-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-util-item {
  display: block;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease);
}

.nav-util-item:hover {
  background: var(--c-bg-2);
}

.nav-util-item strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.012em;
}

.nav-util-item small {
  display: block;
  margin-top: 2px;
  color: var(--c-muted);
  font-size: .78rem;
  line-height: 1.4;
}

.nav-util-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 11px;
  border-radius: var(--r-sm);
  background: var(--c-bg-2);
}

.nav-util-foot span {
  color: var(--c-muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-util-foot a {
  color: #533afd;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}

/* ---- account pill ---- */
.nav-auth-link {
  gap: 6px;
  height: 40px;
  margin-left: 6px;
  padding-inline: 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
}

.nav-auth-link .caret {
  opacity: .8;
}

/* The counter is the navbar's "cart": a live number, no running label. */
.nav-counter {
  gap: 8px;
  padding-inline: 10px;
}

.nav-counter small {
  letter-spacing: .07em;
}

/* ---- widths ---- */
/* Brand + six-item menu + the right cluster stops fitting well before the
   drawer takes over at 1200px, so the labels collapse to their icons first. */
@media (max-width: 1420px) {
  .nav-util-btn .nav-util-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .nav-util-btn {
    padding-inline: 9px;
  }
}

@media (max-width: 1320px) {
  .nav-counter small {
    display: none;
  }
}

@media (max-width: 1200px) {
  /* Drawer width: the navbar keeps only the account pill and the burger.
     Institutions moved into this cluster, so it hides here with the rest --
     the drawer lists it, same as every other menu item. */
  .nav-util,
  .nav-actions .nav-item-apart {
    display: none;
  }

  .nav {
    height: 62px;
  }
}

@media (max-width: 820px) {
  /* The strip stays, but it scrolls rather than wraps -- its height feeds
     --assisted-header-h, which everything below is offset by. */
  .util-inner {
    gap: 10px;
    padding-inline: 14px;
  }
}

@media (max-width: 640px) {
  /* Overrides the old promo band's 70px two-row height: this strip is a
     single 38px line at every width. */
  :root {
    --assisted-header-h: 38px;
  }

  /* Only the language pair is left here, so the rule that used to separate
     it from the links before it has nothing to separate. */
  .util-right .util-link:not(.util-lang),
  .util-divider {
    display: none;
  }

  .util-link {
    padding-inline: 7px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  :root {
    --assisted-header-h: 38px;
  }
}

/* The revamped navbar runs brand + six menu items + three right-hand
   actions on one line; at 1360px (the wrap's own cap) that is 23px more
   than fits, so the logo steps down and the row gap tightens. */
@media (min-width: 1201px) {
  .nav {
    gap: 8px;
  }

  .site-header .brand-mark {
    height: 52px;
  }

  .site-header .brand-mark img {
    height: 54px;
  }
}

/* Tamil sets considerably wider than English: with the revamped right-hand
   cluster the navbar overflows by ~140px at the wrap's own cap, so on Tamil
   pages the two right-hand labels stay collapsed to their icon and number.
   (The existing 1310px rule below that swaps the whole menu for the drawer
   still applies underneath this.) */
@media (min-width: 1311px) {
  html[lang="ta"] .nav-util-btn .nav-util-label,
  html[lang="ta"] .nav-counter small {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  html[lang="ta"] .nav-util-btn {
    padding-inline: 9px;
  }

  html[lang="ta"] .nav-link {
    padding-inline: 8px;
    font-size: 14px;
  }

  html[lang="ta"] .nav-link::after {
    right: 8px;
    left: 8px;
  }
}

/* Social row under the support menu's helpline: the two share one tinted
   footer block split by a hairline, so they read as a single card. */
.nav-util-foot {
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}

.nav-util-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-top: 1px solid var(--c-line);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--c-bg-2);
}

.nav-util-social span {
  color: var(--c-muted);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-util-social .mega-social a:hover {
  background: #533afd;
  border-color: #533afd;
}

/* Institutions now sits in the right-hand cluster rather than at the end of
   the primary menu. Its panel still hangs off the chip itself (.nav-item-apart
   is its own positioned ancestor, unlike the static .nav-item), so only the
   divider that set it apart from the menu items has to go. */
.nav-actions .nav-item-apart {
  margin-left: 0;
  margin-right: 4px;
  padding-left: 0;
}

.nav-actions .nav-item-apart::before {
  display: none;
}

.nav-actions .nav-item-apart > .nav-link {
  height: 40px;
}

/* The primary menu no longer ends with the chip, so it keeps its own
   trailing gap off the cluster. */
@media (min-width: 1201px) {
  .nav-main {
    padding-right: 10px;
  }
}

/* ==========================================================================
   Header, two rows
   Row 1: brand · WTL / Institute / Legal · account actions.
   Row 2: the active section's menu on a tinted band, with support and the
   language switch at its right. The separate utility strip above the navbar
   is gone -- its contents live in these two rows now.
   ========================================================================== */
:root {
  --assisted-header-h: 0px;
}

/* Everything that clears the header reads --nav-h, so it has to be BOTH
   rows: 72 + 44. Below 1200px the second row is the drawer's job and the
   value drops back to the single row's height (set further up). */
@media (min-width: 1201px) {
  :root {
    --nav-h: 116px;
  }
}

.nav-row-top .nav {
  height: 72px;
  gap: 18px;
}

/* ---- section tabs ---- */
.section-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.section-tab {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--c-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}

/* WTL is the parent platform; its institutions form a quieter group. */
.section-tab[data-section-tab="wtl"] {
  font-weight: 650;
}

.section-tab[data-section-tab="institute"],
.section-tab[data-section-tab="legal"] {
  font-size: 12px;
  font-weight: 550;
}

.section-tab[data-section-tab="institute"] {
  margin-inline-start: 14px;
}

.section-tab[data-section-tab="institute"]::before {
  content: "";
  position: absolute;
  inset-inline-start: -9px;
  top: 50%;
  width: 1px;
  height: 20px;
  background: #d8dfe7;
  transform: translateY(-50%);
  pointer-events: none;
}

.section-tab::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  background: var(--c-ink);
  transform: scaleX(0);
  transition: transform var(--t-fast) var(--ease);
}

.section-tab:hover {
  color: var(--c-ink);
}

.section-tab.is-active {
  color: var(--c-ink);
}

.section-tab.is-active::after {
  transform: scaleX(1);
}

html[lang="ta"] .section-tab {
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}

/* ---- row 2 ---- */
.nav-row-sub {
  background: #EEF3FA;
  border-top: 1px solid rgba(11, 15, 25, .05);
}

.nav-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
}

/* Overrides the desktop rule further up that centres .nav-main between the
   logo and the actions -- in the band the items start at the content edge,
   under the brand. */
.nav-row-sub .nav-main {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0;
}

.nav-row-sub .nav-main[hidden] {
  display: none;
}

.nav-row-sub .nav-link {
  height: 44px;
  font-size: 14px;
  font-weight: 500;
}

.nav-row-sub .nav-link .ext {
  margin-left: 5px;
  opacity: .5;
}

.nav-sub-right {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

/* The support dropdown sits in the band now, so its trigger matches the
   band's own link height rather than the taller top row. */
.nav-sapling {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin-right: 14px;
  padding: 0 4px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
}

.nav-sapling .ic { flex: none; color: #16a34a; }
.nav-sapling:hover, .nav-sapling:focus-visible, .nav-sapling[aria-current="page"] { color: #14532d; }
.nav-sapling:focus-visible { outline: 2px solid #16a34a; outline-offset: 2px; }
.nav-sub-right .nav-util-btn {
  height: 36px;
}

.nav-sub-right .util-link {
  height: 36px;
}

/* The second row IS the menu, so below the drawer breakpoint it goes. */
@media (max-width: 1200px) {
  .nav-row-sub {
    display: none;
  }

  .nav-row-top .nav {
    height: 62px;
    gap: 12px;
  }

  .section-tabs {
    display: none;
  }
}

@media (max-width: 1310px) and (min-width: 421px) {
  /* Tamil switches to the drawer earlier (see the --nav-h override above). */
  html[lang="ta"] .nav-row-sub,
  html[lang="ta"] .section-tabs {
    display: none;
  }
}

/* The drawer's two extra groups -- Institute and Legal -- are section
   switches, not menu items, so they read a shade heavier. */
.m-sec-section > .m-sec-btn {
  color: var(--c-ink);
}

.m-sec-section .m-sub {
  font-weight: 500;
}

/* ==========================================================================
   Upcoming events
   A centred carousel of dark cards -- poster inset on the left, the event's
   details on the right -- with the neighbouring cards peeking in at both
   edges so the row reads as a sequence.
   ========================================================================== */
.deals-section {
  --evt-w: min(1100px, 86vw);
  /* Matches .inst-card in the institutions showcase below, so the two
     sections' cards stand the same height. */
  --evt-h: 410px;
  padding: var(--sec-pad) 0;
  background: var(--c-bg-2);
  overflow: hidden;
}

/* The rail runs edge to edge; .wrap only constrains the heading. */
.deals-section > .wrap {
  max-width: none;
  padding-inline: 0;
}

.deals-head {
  margin-bottom: clamp(26px, 3.4vw, 44px);
  padding-inline: var(--gutter);
  text-align: center;
}

.deals-head h2 {
  margin: 0;
  color: var(--c-ink);
}

.deals-head h2 span {
  color: var(--c-faint);
}

/* ---- the rail ---- */
/* A fixed height here, with stretch below, is what keeps every card the same
   size as you page through -- otherwise each one sizes to its own copy and
   the row jumps. */
.deals-rail {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  height: var(--evt-h);
  padding-inline: var(--gutter);
}

/* ---- one event ---- */
.evt-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: center;
  flex: 0 0 var(--evt-w);
  width: var(--evt-w);
  padding: clamp(12px, 1.1vw, 16px);
  border-radius: 22px;
  background: #232326;
  color: #fff;
  overflow: hidden;
  transition: flex-basis var(--t-slow) var(--ease-out), width var(--t-slow) var(--ease-out),
    background var(--t-slow) var(--ease-out), border-radius var(--t) var(--ease-out),
    margin var(--t-slow) var(--ease-out), padding var(--t-slow) var(--ease-out);
}

/* `display: grid` above would otherwise beat the hidden attribute's own
   `display: none`, leaving every card in the row. */
.evt-card[hidden] {
  display: none;
}

/* ---- the two beside it, collapsed to slivers ---- */
.evt-card.is-near {
  flex: 0 0 46px;
  width: 46px;
  /* full height, same as the focused card beside them */
  margin-block: 0;
  padding: 0;
  border-radius: 22px;
  background: var(--c-bg-3);
  cursor: pointer;
}

/* Taken out of flow, not just hidden: at 46px wide the copy would otherwise
   still lay itself out in a 46px column and stretch the whole row to the
   height of that one tall text block. */
.evt-card.is-near > * {
  display: none;
}

.evt-card.is-near:hover {
  background: var(--c-bg-4);
}

.evt-art {
  display: grid;
  place-items: center;
  /* hugs the poster instead of leaving a dead black panel around it */
  align-self: center;
  height: fit-content;
  margin: 0;
  padding: clamp(8px, .9vw, 12px);
  border-radius: 13px;
  background: #0d0d0f;
}

.evt-art img {
  display: block;
  width: 100%;
  max-height: 268px;
  border-radius: 7px;
  object-fit: contain;
}

/* Some posters are only deployed on the live site. The panel stays, so the
   card keeps the same shape as every other one -- only the image goes. */
.evt-card.has-no-art .evt-art img {
  display: none;
}

.evt-card.has-no-art .evt-art {
  align-self: stretch;
}

.evt-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: clamp(6px, 1.2vw, 18px);
}

.evt-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .88rem;
}

.evt-dot {
  opacity: .6;
}

.evt-when.is-tba {
  font-style: italic;
}

.evt-body h3 {
  margin: 10px 0 0;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 550;
  line-height: 1.16;
  letter-spacing: -.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evt-lead {
  margin: 12px 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .62);
  font-size: .94rem;
  line-height: 1.55;
  /* the reference trails off rather than letting cards grow uneven */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.evt-place {
  margin: 10px 0 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .45);
  font-size: .86rem;
  line-height: 1.5;
}

.evt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: clamp(14px, 1.6vw, 20px);
  padding-inline: 22px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--r-pill);
  color: #fff;
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.evt-btn:hover,
.evt-btn:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ---- pager ---- */
.deals-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.deals-nav button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line-hard);
  border-radius: 50%;
  background: #fff;
  color: var(--c-ink);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.deals-nav button:hover:not(:disabled) {
  border-color: var(--c-ink);
  background: var(--c-bg-2);
}

.deals-nav button:disabled {
  opacity: .3;
  cursor: default;
}

@media (max-width: 860px) {
  /* The focused card takes what is left once the two slivers, the gaps and
     the gutters have had theirs, so the row still fits the screen. */
  .deals-section {
    --evt-w: calc(100vw - 84px);
    /* Stacked, the poster sits above the copy and the content genuinely
       needs different heights, so the row sizes to it here. The three cards
       on screen still match each other through align-items: stretch. */
    --evt-h: auto;
  }

  .deals-rail {
    gap: 10px;
    padding-inline: 14px;
  }

  .evt-card.is-near {
    flex-basis: 18px;
    width: 18px;
    margin-block: 0;
    border-radius: 9px;
  }

  .evt-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .evt-art img {
    max-height: 200px;
  }

  .evt-body {
    padding: 4px 6px 8px;
  }

  .evt-body h3 {
    max-width: none;
  }
}

html[lang="ta"] .evt-body h3 {
  letter-spacing: 0;
  line-height: 1.32;
}

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

/* ==========================================================================
   Condensed header
   Scrolling down folds the top row away and slides the brand into the menu
   row, so one line carries the logo, the menu and the account button. The
   brand and pill in the lower row are duplicates that stay collapsed at
   width 0 until then -- nothing moves in the DOM, so the menu never reflows.
   ========================================================================== */
.nav-row-top {
  overflow: hidden;
  transition: height var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}

.site-header.is-condensed .nav-row-top {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.site-header.is-condensed .nav-row-sub {
  background: #fff;
  border-top-color: transparent;
}

.nav-row-sub .nav-sub {
  transition: min-height var(--t) var(--ease);
}

.site-header.is-condensed .nav-sub {
  min-height: 60px;
}

/* ---- the brand that slides in ---- */
.nav-sub-brand {
  display: flex;
  align-items: center;
  flex: none;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-10px);
  transition: width var(--t) var(--ease), opacity var(--t-fast) var(--ease), transform var(--t) var(--ease);
}

.site-header.is-condensed .nav-sub-brand {
  width: 150px;
  margin-right: 20px;
  opacity: 1;
  transform: none;
}

.nav-sub-brand .brand-mark {
  width: 150px;
  height: 42px;
  overflow: hidden;
}

.nav-sub-brand .brand-mark img {
  height: 44px;
  max-width: none;
}

/* ---- the right-hand side swaps too ---- */
.nav-sub-auth {
  gap: 6px;
  width: 0;
  height: 36px;
  margin-left: 0;
  padding-inline: 0;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: width var(--t) var(--ease), opacity var(--t-fast) var(--ease),
    padding var(--t) var(--ease), margin var(--t) var(--ease);
}

.site-header.is-condensed .nav-sub-auth {
  width: auto;
  margin-left: 10px;
  padding-inline: 16px;
  opacity: 1;
}

/* Support and the language pair step aside for it, the way Vanguard drops
   everything but search from the condensed bar. */
.site-header.is-condensed .nav-sub-right .nav-util,
.site-header.is-condensed .nav-sub-right .util-divider,
.site-header.is-condensed .nav-sub-right .util-lang {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-row-top,
  .nav-sub,
  .nav-sub-brand,
  .nav-sub-auth {
    transition: none;
  }
}

/* Below the drawer breakpoint the second row is hidden, so folding the first
   one away would leave no header at all: the top row stays put there and the
   condensed state is a desktop-only behaviour. */
@media (max-width: 1200px) {
  .site-header.is-condensed .nav-row-top {
    height: auto;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1310px) and (min-width: 421px) {
  html[lang="ta"] .site-header.is-condensed .nav-row-top {
    height: auto;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==========================================================================
   Join band
   A quiet full-width strip: the line on the left, the two ways in on the
   right, with a lesser third action under them.
   ========================================================================== */
.join-banner {
  background: var(--c-bg-2);
  border-block: 1px solid var(--c-line-soft);
}

.join-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(28px, 3.4vw, 44px);
}

.join-banner h2 {
  margin: 0;
  max-width: 24ch;
  color: var(--c-ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.join-banner-copy p {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--c-body);
  font-size: clamp(.95rem, 1.2vw, 1.02rem);
  line-height: 1.55;
}

/* ---- the two ways in ---- */
.join-banner-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.join-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.join-btn:hover,
.join-btn:focus-visible {
  transform: translateY(-1px);
}

.join-btn-solid {
  background: #533afd;
  color: #fff;
}

.join-btn-solid:hover,
.join-btn-solid:focus-visible {
  background: #452ef0;
  color: #fff;
}

.join-btn-outline {
  border-color: var(--c-ink);
  background: transparent;
  color: var(--c-ink);
}

.join-btn-outline:hover,
.join-btn-outline:focus-visible {
  border-color: #533afd;
  background: #fff;
  color: #533afd;
}

/* The lesser third action, under the buttons it defers to. */
.join-banner-link {
  color: #533afd;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.join-banner-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .join-banner-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .join-banner-side {
    align-items: flex-start;
  }

  .join-banner-actions {
    justify-content: flex-start;
  }

  .join-banner h2,
  .join-banner-copy p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .join-banner-actions {
    flex-direction: column;
    align-self: stretch;
  }

  .join-btn {
    width: 100%;
  }
}

/* Tamil sets wider than the tracking this heading size assumes. */
html[lang="ta"] .join-banner h2 {
  letter-spacing: 0;
  line-height: 1.35;
}

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

  .join-btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   Where to start
   The five entry points as cards at the foot of the homepage: photo, title,
   a line of copy, and an outlined pill. One row on wide screens.
   ========================================================================== */
.start-section {
  padding: var(--sec-pad) 0;
  background: #fff;
}

.start-title {
  margin: 0 0 clamp(24px, 3vw, 38px);
  color: var(--c-ink);
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.start-group {
  display: grid;
  grid-column: span 2;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-width: 0;
}

.start-group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--c-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.start-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

.start-group-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 26px);
}

.start-group-wtl { grid-column: span 3; }
.start-group-wtl .start-group-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.start-group-shared {
  grid-column: span 1;
}

.start-group-shared .start-group-cards {
  grid-template-columns: minmax(0, 1fr);
}

.start-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.start-card-art {
  margin: 0 0 14px;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-sm);
  background: var(--c-bg-3);
  overflow: hidden;
}

.start-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t) var(--ease);
}

.start-card-art-academy { background: linear-gradient(135deg, #f1f4ff, #f7f1ff); }
.start-card-art-academy img { object-fit: contain; }

.start-card:hover .start-card-art img {
  transform: scale(1.04);
}

.start-card h3 {
  margin: 0;
  color: var(--c-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -.022em;
  line-height: 1.2;
}

.start-card p {
  margin: 8px 0 20px;
  color: var(--c-body);
  font-size: .9rem;
  line-height: 1.45;
  /* three lines at most, so no single card stretches the row */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* The pill sits on the card's baseline, so a row of cards lines its buttons
   up however uneven the copy above them is. */

.start-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: auto;
  min-height: 44px;
  padding-inline: 20px;
  border: 1.5px solid var(--c-ink);
  border-radius: var(--r-pill);
  color: var(--c-ink);
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.start-card-btn:hover,
.start-card-btn:focus-visible {
  border-color: #533afd;
  background: #F2F0FF;
  color: #533afd;
}

@media (max-width: 1100px) {
  .start-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-group {
    grid-column: auto;
  }

  .start-group-shared {
    grid-column: 1 / -1;
  }

  .start-group-shared .start-group-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .start-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .start-group-wtl .start-group-cards { grid-template-columns: minmax(0, 1fr); }

  .start-group-shared .start-group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {

  .start-group-cards,
  .start-group-shared .start-group-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .start-card-btn {
    align-self: stretch;
  }
}

html[lang="ta"] .start-title,
html[lang="ta"] .start-card h3 {
  letter-spacing: 0;
  line-height: 1.3;
}

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

  .start-card-art img,
  .start-card:hover .start-card-art img {
    transition: none;
    transform: none;
  }
}

/* The completed event that opens the rail reads a shade back from the
   upcoming ones beside it, so the middle card stays the subject. */
.evt-card.is-done {
  background: #1b1b1d;
}

.evt-card.is-done .evt-meta {
  color: rgba(255, 255, 255, .5);
}

.evt-card.is-done .evt-body h3 {
  color: rgba(255, 255, 255, .88);
}

/* ==========================================================================
   Event card autoplay
   A ring in each card's top corner fills over the card's turn, then the rail
   moves on and wraps at the end; the incoming card's copy lifts in. Hovering
   or focusing the section pauses the whole thing.
   ========================================================================== */
.evt-card {
  --ring-ms: 6500ms;
  position: relative;
}
.evt-ring {
  position: absolute;
  top: clamp(16px, 1.8vw, 24px);
  right: clamp(16px, 1.8vw, 24px);
  z-index: 2;
  width: 22px;
  height: 22px;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
  pointer-events: none;
}

.evt-card.is-live .evt-ring {
  opacity: 1;
}

.evt-ring svg {
  width: 100%;
  height: 100%;
  /* start the fill at 12 o'clock rather than 3 */
  transform: rotate(-90deg);
}

.evt-ring circle {
  fill: none;
  stroke-width: 2.4;
}

.evt-ring-track {
  stroke: rgba(255, 255, 255, .16);
}

.evt-ring-fill {
  stroke: rgba(255, 255, 255, .75);
  stroke-linecap: round;
  /* 2πr for r=15.5 */
  stroke-dasharray: 97.4;
  stroke-dashoffset: 97.4;
}

.evt-card.is-live .evt-ring-fill {
  animation: evtRing var(--ring-ms) linear forwards;
}

@keyframes evtRing {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---- the copy lifting in on the card that just arrived ---- */
.evt-card.is-cued .evt-body > * {
  animation: evtCue .42s var(--ease-out) both;
}

.evt-card.is-cued .evt-body > *:nth-child(2) {
  animation-delay: .04s;
}

.evt-card.is-cued .evt-body > *:nth-child(3) {
  animation-delay: .08s;
}

.evt-card.is-cued .evt-body > *:nth-child(4) {
  animation-delay: .12s;
}

.evt-card.is-cued .evt-body > *:nth-child(5) {
  animation-delay: .16s;
}

@keyframes evtCue {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

  /* No autoplay at all, so no ring and no entrance. */
  .evt-ring {
    display: none;
  }

  .evt-card.is-cued .evt-body > * {
    animation: none;
  }
}

/* ==========================================================================
   Constituency events
   Every local event as a plain white card in a responsive grid, the five
   categories colour-coded, with a centred heading and a chip filter above.
   ========================================================================== */
.orbit-section {
  padding: var(--sec-pad) 0;
  background: #fff;
}

.orbit-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.orbit-head h2 {
  margin: 0;
  color: var(--c-ink);
}

.orbit-head h2 span {
  display: block;
  color: var(--c-faint);
}

.orbit-intro {
  margin: 14px 0 0;
  color: var(--c-body);
  font-size: .95rem;
  line-height: 1.55;
}

/* ---- the filter ---- */
.orbit-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.orbit-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-body);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.orbit-chip i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat, var(--c-faint));
}

.orbit-chip:hover {
  border-color: var(--cat, var(--c-ink));
  color: var(--c-ink);
}

.orbit-chip.is-on {
  border-color: var(--cat, var(--c-ink));
  color: var(--c-ink);
  box-shadow: inset 0 0 0 1px var(--cat, var(--c-ink));
}

/* ---- the grid ---- */
.orbit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(26px, 3.2vw, 40px);
}

.orbit-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(11, 15, 25, .07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(11, 15, 25, .06), 0 1px 2px rgba(11, 15, 25, .04);
  text-decoration: none;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}

.orbit-card[hidden] {
  display: none;
}

.orbit-card-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-muted);
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.2;
}

.orbit-card-cat i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat, var(--c-faint));
}

.orbit-card strong {
  color: var(--c-ink);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}

/* Pushed to the foot so cards of different title lengths still line their
   place and date up across a row. */
.orbit-card-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  color: var(--c-muted);
  font-size: .78rem;
  line-height: 1.4;
}

/* ---- the five categories ---- */
.orbit-card[data-cat="environment"],
.orbit-chip[data-orbit-chip="environment"] {
  --cat: #1F7A54;
}

.orbit-card[data-cat="community"],
.orbit-chip[data-orbit-chip="community"] {
  --cat: #533afd;
}

.orbit-card[data-cat="skills"],
.orbit-chip[data-orbit-chip="skills"] {
  --cat: #C2761B;
}

.orbit-card[data-cat="voice"],
.orbit-chip[data-orbit-chip="voice"] {
  --cat: #9A2A86;
}

.orbit-card[data-cat="safety"],
.orbit-chip[data-orbit-chip="safety"] {
  --cat: #B2372B;
}

/* ---- picking one up ---- */
.orbit-card:hover,
.orbit-card:focus-visible {
  border-color: var(--cat);
  box-shadow: 0 16px 36px rgba(11, 15, 25, .12);
  transform: translateY(-3px);
}

.orbit-empty {
  margin: clamp(26px, 3.2vw, 40px) 0 0;
  color: var(--c-muted);
  font-size: .92rem;
  text-align: center;
}

.orbit-foot {
  margin-top: clamp(24px, 3vw, 36px);
  text-align: center;
}

.orbit-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #533afd;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.orbit-all:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .orbit-grid {
    grid-template-columns: 1fr;
  }
}

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

  .orbit-card:hover,
  .orbit-card:focus-visible {
    transform: none;
  }
}

/* One vertical rhythm for the sections added to the homepage, close to the
   older ones (this-month, impact, latest-from-anna) so the page reads as a
   single document rather than a stack of separate designs. */
:root {
  --sec-pad: clamp(64px, 8vw, 118px);
}

/* The two-tone half of a section heading, used by the events and
   constituency headings alike. */
.deals-head h2 span,
.orbit-head h2 span {
  color: var(--c-faint);
}

/* Mobile navigation: large primary rows, accordion links, and a quieter
   utility area. The panel covers the phone and docks on larger screens. */
.m-navigation {
  z-index: 1110;
  inset: 0 0 0 auto;
  width: 100%;
  padding: 0;
  background: #f5f5f7;
  color: var(--c-ink);
  box-shadow: -12px 0 36px rgba(11, 15, 25, .12);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.m-navigation.is-on {
  transform: translateX(0);
  pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-scrim.is-drawer-on {
  z-index: 1100;
  inset: 0;
  visibility: visible;
  opacity: 1;
  background: rgba(11, 15, 25, .38);
  backdrop-filter: none;
}

.m-drawer-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 16px 8px 24px;
  border-bottom: 1px solid #e4e4e7;
  background: #fff;
}

.m-drawer-head .brand-mark,
.m-drawer-head .brand-mark img {
  display: block;
  width: 156px;
  max-width: 100%;
  height: auto;
}

.m-drawer-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  color: var(--c-ink);
  background: transparent;
  cursor: pointer;
}

.m-drawer-close:hover {
  background: #f0f0f3;
}

.m-primary {
  padding: 16px 24px 24px;
  background: #fff;
}

.m-navigation .m-sec {
  border: 0;
}

.m-home-link,
.m-sec-head {
  display: flex;
  align-items: center;
  min-height: 64px;
  color: var(--c-ink);
}

.m-home-link,
.m-sec-link {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-decoration: none;
}

.m-sec-link {
  display: flex;
  flex: 1;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  padding-block: 12px;
  color: inherit;
  overflow-wrap: anywhere;
}

.m-navigation .m-sec-btn {
  flex: none;
  width: 48px;
  min-height: 48px;
  padding: 0;
  justify-content: center;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.m-navigation .m-sec-btn .caret {
  width: 20px;
  height: 20px;
  color: currentColor;
}

.m-sec.is-open > .m-sec-head,
.m-home-link[aria-current="page"],
.m-navigation a:hover {
  color: #533afd;
}

.m-navigation .m-sec-body {
  padding: 0 0 18px 12px;
}

.m-navigation .m-sec-body[hidden] {
  display: none !important;
}

.m-navigation .m-sub {
  min-height: 44px;
  padding: 12px 0;
  border: 0;
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.m-navigation .m-sub[aria-current="page"] {
  color: #533afd;
}

.m-navigation .m-sub > span {
  margin-top: 4px;
  color: #686b73;
  font-size: 12px;
  font-weight: 400;
}

.m-navigation .m-sub-label {
  margin: 12px 0 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dedee3;
  color: #686b73;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}

.m-menu-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 24px;
  background: #533afd;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.m-menu-account small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
}

.m-navigation .m-menu-account:hover {
  background: #4434d4;
  color: #fff;
}

.m-menu-account > svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.m-menu-utility,
.m-more,
.m-menu-footer {
  padding: 20px 24px;
  border-bottom: 1px solid #dedee3;
  background: #f5f5f7;
}

.m-menu-utility > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  text-decoration: none;
}

.m-menu-utility .m-sec-head,
.m-more .m-sec-head {
  min-height: 48px;
}

.m-menu-utility .m-sec-link,
.m-more .m-sec-link {
  font-size: 17px;
  letter-spacing: 0;
}

.m-menu-heading {
  margin-bottom: 10px;
  color: #686b73;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
}

.m-navigation .m-lang {
  gap: 18px;
  margin: 0 0 18px;
}

.m-navigation .m-lang-btn {
  flex: none;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}

.m-navigation .m-lang-btn.is-active {
  border-bottom-color: #533afd;
  color: #533afd;
}

.m-navigation .m-registration-counter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #686b73;
  font-size: 12px;
}

.m-navigation .m-registration-count strong {
  font-size: 14px;
}

body.is-menu-open .cs-fab {
  visibility: hidden;
}

html[lang="ta"] .m-sec-link,
html[lang="ta"] .m-home-link {
  font-size: 21px;
  letter-spacing: 0;
  line-height: 1.5;
}

html[lang="ta"] .m-menu-utility .m-sec-link,
html[lang="ta"] .m-more .m-sec-link {
  font-size: 17px;
}

@media (min-width: 600px) {
  .m-navigation {
    width: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-navigation,
  .m-navigation .caret {
    transition: none;
  }
}

/* Shared header wrapper; the section content keeps its own design system. */
.wtl-shell { display: contents; }
.nav-institute-actions { display: flex; align-items: center; gap: 10px; }
.nav-institute-actions .btn { height: 40px; padding-inline: 18px; border-radius: var(--r-pill); white-space: nowrap; }
.nav-institute-actions .btn-secondary { border: 1px solid #533afd; color: #533afd; background: #fff; box-shadow: none; }
.nav-institute-actions .btn-secondary:hover { color: #fff; background: #533afd; }
.nav-training-progress { display: flex; flex-direction: column; gap: 3px; color: var(--c-ink); line-height: 1.2; text-decoration: none; white-space: nowrap; }
.nav-training-progress strong { font-size: 13px; font-weight: 650; }
.nav-training-progress small { color: var(--c-muted); font-size: 11px; font-weight: 450; }
.nav-training-progress:hover strong { color: #533afd; }
.nav-training-divider { margin-inline: 4px; color: #d3d9e2; font-size: 24px; font-weight: 300; line-height: 1; }
@media (max-width: 760px) {
  .site-header.is-institute .nav-row-top .nav { height: auto; min-height: 62px; flex-wrap: wrap; gap: 8px; padding-block: 8px; }
  .site-header.is-institute .nav-right,
  .site-header.is-institute .nav-actions { display: contents; }
  .site-header.is-institute .nav-burger { order: 1; margin-left: auto; }
  .site-header.is-institute .nav-institute-actions { order: 2; width: 100%; gap: 8px; }
  .site-header.is-institute .nav-institute-actions { flex-wrap: wrap; }
  .nav-training-progress { flex: 0 0 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; }
  .nav-training-divider { display: none; }
  .nav-institute-actions .btn { flex: 1; height: 38px; padding-inline: 12px; font-size: 12px; }
}

/* ==========================================================================
   Stories of Change: first story, a vertical video card
   ========================================================================== */
.soc-section {
  padding: clamp(40px, 5vw, 72px) 0 clamp(8px, 2vw, 24px);
  background: #fff;
}

.soc-head {
  margin-bottom: clamp(22px, 2.6vw, 34px);
}

.soc-head .eyebrow {
  display: flex;
  color: #533afd;
}

.soc-head h2 {
  margin-top: 10px;
  color: #0d253d;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.soc-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(14px, 1.6vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(13, 37, 61, .08);
  border-radius: 28px;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(83, 58, 253, .09), transparent 70%),
    linear-gradient(180deg, #fff, #f8f9ff);
  box-shadow: 0 30px 70px rgba(13, 37, 61, .10), 0 2px 6px rgba(13, 37, 61, .04);
}

/* ---- the video poster ---- */
.soc-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #0d253d;
  box-shadow: 0 22px 50px rgba(13, 37, 61, .28);
  cursor: pointer;
  isolation: isolate;
}

.soc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.soc-media:hover img,
.soc-media:focus-visible img {
  transform: scale(1.05);
}

.soc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 33, .28) 0%, rgba(8, 15, 33, 0) 28%, rgba(8, 15, 33, 0) 55%, rgba(8, 15, 33, .72) 100%);
}

.soc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(13, 20, 38, .42);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.soc-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a5f;
  box-shadow: 0 0 0 3px rgba(255, 90, 95, .3);
}

.soc-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .3s ease;
}

.soc-play svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
  fill: #fff;
}

.soc-media:hover .soc-play,
.soc-media:focus-visible .soc-play {
  background: #533afd;
  transform: scale(1.1);
}

.soc-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(13, 20, 38, .6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.soc-media:focus-visible {
  outline: 3px solid #533afd;
  outline-offset: 4px;
}

/* ---- the copy ---- */
.soc-body {
  padding: clamp(4px, 1vw, 12px) clamp(4px, 2vw, 28px) clamp(4px, 1vw, 12px) 0;
}

.soc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.soc-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eeeaff;
  color: #3f2bd1;
  font-size: 12px;
  font-weight: 650;
}

.soc-tags li:last-child {
  background: #f0f3f8;
  color: #4c5567;
}

.soc-body h3 {
  color: #0d253d;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.soc-lead {
  max-width: 560px;
  margin-top: 16px;
  color: #4c5567;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
}

.soc-ta {
  max-width: 560px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid #533afd;
  color: #61718a;
  font-size: .95rem;
  line-height: 1.7;
}

.soc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}

.soc-facts dt {
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.soc-facts dd {
  margin: 4px 0 0;
  color: #0d253d;
  font-size: .95rem;
  font-weight: 600;
}

.soc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}

.soc-link {
  color: #533afd;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}

.soc-link:hover {
  text-decoration: underline;
}

/* ---- the player ---- */
.soc-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 15, 33, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.soc-modal-panel {
  position: relative;
  width: min(380px, 100%);
}

.soc-modal-frame {
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 80px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.soc-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.soc-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0d253d;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  cursor: pointer;
}

@media (max-width: 820px) {
  .soc-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .soc-media {
    max-width: 340px;
    margin-inline: auto;
  }

  .soc-body {
    padding: 0 6px 10px;
  }

  .soc-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soc-media img,
  .soc-play {
    transition: none;
  }
}

/* Newsletter issue cards: an animated gradient in place of a photo. */
.newsletter-issue-art {
  position: relative;
  display: grid;
  place-items: end start;
  aspect-ratio: 16 / 8;
  padding: 12px 16px;
  overflow: hidden;
  background-size: 220% 220%;
  animation: issue-gradient 6s ease-in-out infinite;
  animation-play-state: paused;
}

.newsletter-issue-art::before,
.newsletter-issue-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  filter: blur(2px);
  animation: issue-float 8s ease-in-out infinite;
  animation-play-state: paused;
}

.newsletter-issue-art::before {
  top: -30%;
  right: -12%;
  width: 62%;
  aspect-ratio: 1;
}

.newsletter-issue-art::after {
  bottom: -40%;
  left: 22%;
  width: 46%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .1);
  animation-duration: 10s;
  animation-direction: reverse;
}

.newsletter-issue-art b {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .92);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.newsletter-issue-art.is-indigo {
  background-image: linear-gradient(120deg, #533afd, #7c5cff, #2b1fa8, #3b82f6, #533afd);
}

.newsletter-issue-art.is-green {
  background-image: linear-gradient(120deg, #1f7a54, #34b27a, #0f5a52, #6fcf97, #1f7a54);
}

/* Idle until the card is pointed at or focused. */
.newsletter-issue-card:hover .newsletter-issue-art,
.newsletter-issue-card:focus-visible .newsletter-issue-art,
.newsletter-issue-card:hover .newsletter-issue-art::before,
.newsletter-issue-card:focus-visible .newsletter-issue-art::before,
.newsletter-issue-card:hover .newsletter-issue-art::after,
.newsletter-issue-card:focus-visible .newsletter-issue-art::after {
  animation-play-state: running;
}

@keyframes issue-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes issue-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-14%, 10%) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-issue-art,
  .newsletter-issue-art::before,
  .newsletter-issue-art::after {
    animation: none;
  }
}

/* A policy paper card with its own page is clickable all over. */
.policy-paper-card.has-page {
  position: relative;
}

.policy-paper-card.has-page .policy-paper-preview::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Contact pages shown inside the pop-up (?embed=1): just the content. */
html.is-embed #header, html.is-embed .wtl-shell, html.is-embed #footer, html.is-embed .site-footer, html.is-embed .inst-bar,
html.is-embed #csFab, html.is-embed .cs-fab, html.is-embed .crumbs { display: none !important; }
html.is-embed .page-hero { padding-top: 28px; }
html.is-embed body { background: #fff; }
/* Selfie with a Sapling in the menu: at the right of the row normally, and
   inside the menu itself once the header condenses on scroll. */
.nav-item-rowright { display: none; }
.is-condensed .nav-item-rowright { display: block; }
.is-condensed .nav-sub-right .nav-sapling { display: none; }
.nav-link-sapling { display: inline-flex; align-items: center; gap: 8px; }
.nav-link-sapling .ic { flex: none; color: #16a34a; }
.nav-link-sapling .nav-sapling-label { display: inline !important; }

/* Etram Academy — an introduction inside the WTL menu. */
.mega-academy {
  width: min(850px, calc(100vw - 64px));
  padding: 0;
  overflow: visible;
  border-radius: 22px;
}
.mega-academy-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 32px; }
.mega-academy-copy { min-width: 0; padding: 0; text-align: left; }
.mega-academy-eyebrow { margin: 0 0 16px; padding: 0; }
.mega-academy-copy h2 { margin: 0; font-size: 1rem; font-weight: 550; line-height: 1.6; letter-spacing: -.008em; }
.mega-academy-copy h2 span { margin-top: 4px; font-weight: 350; letter-spacing: normal; }
.mega-academy-purpose { max-width: none; margin: 16px 0 24px; }
.mega-academy-pathways { display: grid; gap: 18px; }
.mega-academy-item { display: grid; gap: 3px; padding: 0; }
.mega-academy-pathways small { max-width: none; margin: 0; }
.mega-academy-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 42px; margin-top: 20px; padding: 10px 17px; border-radius: 999px; color: #fff; background: #533afd; transition: background .18s; }
.mega-academy-cta:hover { background: #4028dc; color: #fff; }
.mega-academy-cta .ext { width: 15px; height: 15px; }
.mega-academy-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 0; overflow: hidden; background: radial-gradient(ellipse at 68% 52%, #eeefff 0%, #fff 65%); }
.mega-academy-visual > img { display: block; width: 100%; max-width: 350px; height: auto; }
.mega-academy-note { display: grid; gap: 4px; width: 100%; margin-top: 0; padding: 0; text-align: center; }
.mega-academy-note strong { margin: 0; }
.mega-academy-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 15px 32px; border-top: 1px solid #eeedf3; border-radius: 0 0 22px 22px; background: #fcfbff; margin-top: 0; }
.mega-academy-foot i { width: 3px; height: 3px; border-radius: 50%; background: #aba2cd; }
.mega-academy a:focus-visible { outline: 2px solid #533afd; outline-offset: 3px; }
.m-academy-intro { margin: 0 0 10px; padding: 0 14px; color: #68778a; font-size: 13px; line-height: 1.65; }
.m-sec-link .nav-new { display: inline-flex; margin-left: 8px; }
.m-academy-intro + .mega-academy-cta { margin: 5px 14px 16px; }

/* A compact Academy announcement above the WTL navigation. */
body.has-academy-banner { --academy-banner-min-h: 52px; --academy-banner-h: 52px; }
.nav-academy-banner { min-height: var(--academy-banner-min-h); background: #162a42; color: #fff; }
.nav-academy-banner-inner { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: var(--academy-banner-min-h); padding-block: 8px; }
.nav-academy-banner-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-academy-banner-tag { flex: none; padding: 4px 9px; border: 1px solid #647d76; border-radius: 20px; color: #ccebd8; font-size: 10px; font-weight: 550; letter-spacing: .04em; white-space: nowrap; }
.nav-academy-banner-copy > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.nav-academy-banner-copy strong { color: #fff; font-size: 14px; font-weight: 600; }
.nav-academy-banner-copy > div > span { color: #d0d9e6; font-size: 12px; line-height: 1.4; }
.nav-academy-banner-cta { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 9px; min-height: 32px; padding: 6px 14px; border: 1px solid #ddd7ff; border-radius: 999px; background: #f2efff; color: #4332be; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-academy-banner-cta .ext { width: 13px; height: 13px; }
.nav-academy-banner-cta:hover { background: #fff; color: #342299; }
.nav-academy-banner-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.has-academy-banner .new-hero { padding-top: calc(var(--nav-h) + var(--academy-banner-h)); }
.has-academy-banner .nav-scrim:not(.is-drawer-on) { top: calc(var(--nav-h) + var(--academy-banner-h)); }
@media (max-width: 760px) {
  body.has-academy-banner { --academy-banner-min-h: 76px; --academy-banner-h: 76px; }
  .nav-academy-banner-inner { justify-content: space-between; gap: 12px; }
  .nav-academy-banner-copy { gap: 0; }
  .nav-academy-banner-tag { display: none; }
  .nav-academy-banner-copy > div { display: grid; gap: 3px; }
  .nav-academy-banner-copy strong { font-size: 13px; }
  .nav-academy-banner-copy > div > span { max-width: 235px; font-size: 10px; }
  .nav-academy-banner-cta { gap: 6px; padding: 7px 10px; font-size: 11px; }
}
