/* ===========================================================
   TVK COVAI — Design tokens & global styles
   Mobile-first (375px+), scales up to desktop at >=900px.
   =========================================================== */

:root {
  /* Brand palette */
  --red-900:  #3F0608;
  --red-800:  #5A0C12;
  --red-700:  #7A1018;
  --red-600:  #A8131A;
  --red-500:  #C71820;
  --red-300:  #E04652;
  --gold-600: #C99A0E;
  --gold-500: #F5C518;
  --gold-400: #FFD84A;
  --gold-200: #FFEEA8;
  --cream:    #FBF7F1;
  --cream-2:  #F1E9DA;
  --ink:      #1A0606;
  --ink-2:    #2A1212;
  --line:     rgba(26,6,6,.10);
  --line-on-red: rgba(255,255,255,.16);

  --bg: var(--cream);
  --fg: var(--ink);

  /* Type — closer to TVK feel: heavy condensed display */
  --font-display:   "Oswald", "Anton", "Catamaran", system-ui, sans-serif;
  --font-display-ta:"Catamaran", "Noto Sans Tamil", sans-serif;
  --font-body:      "Manrope", "Hind Madurai", system-ui, sans-serif;
  --font-body-ta:   "Hind Madurai", "Manrope", system-ui, sans-serif;
  --font-num:       "Space Grotesk", "Manrope", system-ui, sans-serif;

  --s-0: 4px; --s-1: 8px; --s-2: 12px; --s-3: 16px;
  --s-4: 20px; --s-5: 24px; --s-6: 32px; --s-7: 40px;
  --s-8: 56px; --s-9: 72px; --s-10: 96px;

  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 20px; --r-pill: 999px;

  --shadow-lg: 0 24px 60px -20px rgba(20,2,2,.45), 0 4px 12px rgba(20,2,2,.18);
  --shadow-md: 0 8px 24px -8px rgba(20,2,2,.25);
  --shadow-sm: 0 2px 8px rgba(20,2,2,.10);

  --shell-max: 480px;
  --section-px: 16px;
}

:root[lang="ta"] {
  --font-display: var(--font-display-ta);
  --font-body:    var(--font-body-ta);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

/* ============= Container — mobile shell ============= */
.tvk-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  position: relative;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px -20px rgba(20,2,2,.25);
  min-height: 100vh;
  overflow: hidden;
}

/* ============= Display type ============= */
.display { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: uppercase; }
:root[lang="ta"] .display { text-transform: none; line-height: 1.05; }
.num { font-family: var(--font-num); font-feature-settings: "tnum" 1; font-weight: 700; }

/* ============= TOPBAR ============= */
.tvk-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(180deg, #2A0608 0%, #520A10 100%);
  color: #fff;
  border-bottom: 1px solid var(--line-on-red);
  backdrop-filter: saturate(120%) blur(6px);
  gap: 12px;
}
.tvk-mark { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.tvk-mark .vagai {
  width: 32px; height: 32px;
  background: radial-gradient(circle at 50% 60%, #F5C518 0%, #C71820 38%, #5A0C12 70%, #3F0608 100%);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 1.5px #F5C518, 0 1px 4px rgba(0,0,0,.4);
}
.tvk-mark .vagai::before {
  content: ""; position: absolute; inset: 4px;
  background-image: url("assets/bg/deco1.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.15) saturate(1.2);
  border-radius: 50%;
}
.tvk-mark .word { display: flex; flex-direction: column; line-height: 1; }
.tvk-mark .word .en { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.03em; color: #fff; }
.tvk-mark .word .ta { font-family: var(--font-display-ta); font-size: 12px; color: var(--gold-400); margin-top: 3px; }

.tvk-nav-desktop {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  gap: 22px;
}
.tvk-nav-desktop a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
  padding: 8px 0;
  position: relative;
}
:root[lang="ta"] .tvk-nav-desktop a { text-transform: none; letter-spacing: .02em; font-size: 14px; }
.tvk-nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold-400); transform: scaleX(0);
  transform-origin: left; transition: transform .25s ease;
}
.tvk-nav-desktop a:hover { opacity: 1; }
.tvk-nav-desktop a:hover::after { transform: scaleX(1); }

/* Lang switch */
.lang-switch {
  position: relative; display: inline-flex;
  background: rgba(0,0,0,.32);
  border: 1px solid var(--line-on-red);
  border-radius: var(--r-pill);
  padding: 3px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
}
.lang-switch button {
  position: relative; z-index: 2;
  border: 0; background: transparent;
  color: #fff; padding: 6px 12px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color .25s ease;
  min-width: 44px;
  letter-spacing: 0.04em;
}
.lang-switch button.active { color: var(--ink); }
.lang-switch .thumb {
  position: absolute; z-index: 1; top: 3px; bottom: 3px;
  width: calc(50% - 3px);
  background: linear-gradient(180deg, #FFE166 0%, #F5C518 100%);
  border-radius: var(--r-pill);
  transition: transform .3s cubic-bezier(.4,.0,.2,1);
  box-shadow: 0 1px 4px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.4);
}
.lang-switch[data-lang="ta"] .thumb { transform: translateX(100%); }

.menu-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff;
  border: 1px solid var(--line-on-red);
  border-radius: var(--r-2);
  cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
.topbar-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* ============= DRAWER ============= */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86%, 360px);
  background: linear-gradient(180deg, #3F0608, #5A0C12 50%, #3F0608);
  color: #fff;
  z-index: 61;
  transform: translateX(110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding: 20px 22px 28px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer h4 { font-family: var(--font-display); font-size: 11px; letter-spacing: .14em;
  color: var(--gold-400); text-transform: uppercase; margin: 22px 0 10px; font-weight: 600; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drawer ul li a {
  display: block; padding: 11px 4px; font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--line-on-red);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { background: none; border: 1px solid var(--line-on-red); color: #fff; border-radius: var(--r-pill); padding: 8px 14px; font-size: 12px; cursor: pointer; }

/* ============= HERO ============= */
.hero {
  position: relative;
  background: radial-gradient(120% 80% at 50% 0%, #7A1018 0%, #5A0C12 45%, #3F0608 100%);
  color: #fff;
  overflow: hidden;
  padding: 20px 0 0;
  isolation: isolate;
}
.hero .crowd-bg {
  position: absolute; inset: 0;
  background-image: url("assets/bg/bg.png");
  background-size: cover; background-position: center bottom;
  opacity: .14;
  mix-blend-mode: screen;
  z-index: 0;
}
.hero .elephants {
  position: absolute; bottom: 0; left: -10%; right: -10%; height: 55%;
  background-image: url("assets/bg/elephants-bg.png");
  background-size: cover; background-position: center;
  opacity: .12;
  z-index: 0;
}
.hero .stars-halo {
  position: absolute; right: -25%; top: -5%; width: 80%; aspect-ratio: 1;
  background-image: url("assets/bg/vagai-and-stars.png");
  background-size: contain; background-repeat: no-repeat;
  opacity: .2; z-index: 0;
  animation: spin 180s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner {
  position: relative; z-index: 2;
  padding: 0 var(--section-px);
  display: flex; flex-direction: column;
  gap: 28px;
}

/* PART A — Party intro block */
.hero-party-block {
  position: relative;
  padding: 8px 0 8px;
}
.hero-flag-strip {
  position: absolute; left: -16px; top: 0; width: 8px; height: 100%;
  background: linear-gradient(180deg, var(--red-500) 0%, var(--red-500) 50%, var(--gold-500) 50%, var(--gold-500) 100%);
  border-radius: 0 4px 4px 0;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, #F5C518, #FFD84A);
  color: var(--red-900);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  width: max-content;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
:root[lang="ta"] .hero-tag { text-transform: none; letter-spacing: .04em; font-size: 12px; }
.hero-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 16vw, 64px);
  line-height: .88;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 12px 0 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.hero-display-ta {
  font-family: var(--font-display-ta);
  font-weight: 900;
  font-size: clamp(28px, 9vw, 38px);
  color: var(--gold-400);
  margin-top: 6px;
  line-height: 1;
}
.hero-lede {
  margin: 14px 0 0;
  font-size: 15px;
  color: rgba(255,255,255,.85);
  max-width: 36ch;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-party-row {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-party-name {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
}
:root[lang="ta"] .hero-party-name { text-transform: none; letter-spacing: .03em; font-size: 14px; }

.flag-mini {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.32);
  border: 1px solid var(--line-on-red);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-400);
  font-family: var(--font-display); font-weight: 600;
}
:root[lang="ta"] .flag-mini { text-transform: none; letter-spacing: .04em; }
.flag-mini::before {
  content: ""; width: 16px; height: 10px;
  background: linear-gradient(180deg, var(--red-500) 0%, var(--red-500) 50%, var(--gold-500) 50%, var(--gold-500) 100%);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4);
}

/* PART B — Leadership intro */
.hero-lead-block { padding: 0; }
.eyebrow-on-red {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: inline-flex; align-items: center; gap: 8px;
}
:root[lang="ta"] .eyebrow-on-red { text-transform: none; letter-spacing: .04em; font-size: 13px; }
.eyebrow-on-red::before {
  content: ""; width: 26px; height: 2px; background: var(--gold-400);
}
.hero-lead-sub {
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  max-width: 38ch;
  line-height: 1.5;
}

/* PART C — Sampath poster card (proper layout) */
.hero-poster-card {
  position: relative;
  border-radius: var(--r-4);
  overflow: hidden;
  background: linear-gradient(160deg, #6F1118 0%, #3F0608 100%);
  border: 1px solid var(--line-on-red);
  box-shadow: var(--shadow-lg);
}
.flag-cloth {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 25% 30%, rgba(255, 216, 74, .35) 0%, transparent 60%),
    radial-gradient(70% 60% at 80% 70%, rgba(199,24,32,.5) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.flag-cloth::before, .flag-cloth::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(40px);
}
.flag-cloth::before {
  width: 70%; height: 60%; left: -10%; top: 0;
  background: linear-gradient(135deg, var(--red-500), var(--gold-500));
  opacity: .45;
}
.flag-cloth::after {
  width: 50%; height: 50%; right: -8%; bottom: 0;
  background: linear-gradient(135deg, var(--gold-500), var(--red-500));
  opacity: .40;
}
.hero-poster-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
}
.hero-poster-text {
  padding: 20px 18px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-posting-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-500);
  color: var(--red-900);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  width: max-content;
}
:root[lang="ta"] .hero-posting-tag { text-transform: none; letter-spacing: .04em; font-size: 13px; }
.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 13vw, 56px);
  line-height: .9;
  color: #fff;
  letter-spacing: -0.005em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-name .break { display: block; }
.hero-name-ta {
  font-family: var(--font-display-ta);
  font-weight: 900;
  font-size: clamp(22px, 7vw, 28px);
  color: var(--gold-200);
  line-height: 1;
  margin-top: 2px;
}
.hero-roles {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: grid; gap: 6px;
}
.hero-roles li {
  border-left: 3px solid var(--gold-400);
  padding-left: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  display: flex; flex-direction: column; gap: 2px;
  line-height: 1.4;
}
.hero-roles li b { color: var(--gold-200); font-weight: 700; font-size: 14px; }
.hero-roles li span { color: rgba(255,255,255,.65); font-size: 11px; }

.hero-poster-portrait {
  position: relative;
  height: 460px;
  margin-top: 8px;
}
.vagai-emblem-lg {
  position: absolute; right: 14px; top: 14px;
  width: 72px; height: 72px;
  z-index: 3;
  background: radial-gradient(circle at 50% 60%, #FFD84A 0%, #C71820 55%, #3F0608 100%);
  border: 2.5px solid var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.vagai-emblem-lg::after {
  content: ""; position: absolute; inset: 6px;
  background-image: url("assets/bg/deco1.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.2) saturate(1.3);
  border-radius: 50%;
}
.hero-poster-portrait img {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: auto; height: 100%;
  max-width: 110%;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.5));
  z-index: 2;
}
.video-placeholder-tag {
  position: absolute; left: 14px; bottom: 14px;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.55); color: #fff;
  border: 1px dashed var(--gold-400);
  padding: 5px 10px;
  font-family: var(--font-num);
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--r-1);
  max-width: 60%;
  line-height: 1.2;
}
.video-placeholder-tag .dot { width: 6px; height: 6px; background: var(--gold-400); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.7);} }

/* HERO ticker */
.hero-victory {
  position: relative; z-index: 2;
  margin-top: 28px;
  background: linear-gradient(90deg, #F5C518 0%, #FFD84A 50%, #F5C518 100%);
  color: var(--red-900);
  border-top: 3px solid var(--red-900);
  border-bottom: 3px solid var(--red-900);
  padding: 10px 0;
  overflow: hidden;
}
.hero-victory .marquee {
  display: flex; gap: 26px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.hero-victory .marquee .sep {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red-700);
}
.hero-victory .marquee .sep::before { content: "★"; color: var(--red-700); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============= Section frame ============= */
section { position: relative; padding: 44px var(--section-px); }
.section-head {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 24px;
  max-width: 720px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-600);
}
:root[lang="ta"] .eyebrow { text-transform: none; letter-spacing: .04em; font-size: 13px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red-600); }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 9.5vw, 44px);
  line-height: .98;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.section-sub { color: rgba(26,6,6,.65); font-size: 14px; max-width: 48ch; line-height: 1.55; }

.section-dark {
  background: linear-gradient(180deg, #3F0608 0%, #5A0C12 100%);
  color: #fff;
}
.section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--gold-400); }
.section-dark .eyebrow::before { background: var(--gold-400); }
.section-dark .section-sub { color: rgba(255,255,255,.75); }

/* ============= Stats grid ============= */
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-on-red);
  border: 1px solid var(--line-on-red);
  border-radius: var(--r-3);
  overflow: hidden;
}
.stat-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.stat {
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,0));
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat .v { font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--gold-400); letter-spacing: -.01em; }
.stat .l { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); font-family: var(--font-display); font-weight: 500; }
:root[lang="ta"] .stat .l { text-transform: none; letter-spacing: .04em; font-size: 12px; }
.stat .delta { font-family: var(--font-num); font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600; }

/* ============= MLA Grid ============= */
.mla-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.mla-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.mla-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Gold ring for winning MLAs */
.mla-card.won {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 1.5px var(--gold-500), var(--shadow-sm);
}
.mla-card.won:hover {
  box-shadow: 0 0 0 1.5px var(--gold-500), var(--shadow-md);
}
.mla-face {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(180deg, var(--red-600), var(--red-800));
  overflow: hidden;
}
.mla-face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mla-num {
  position: absolute; left: 0; top: 0;
  background: var(--gold-500); color: var(--red-900);
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 3px 8px; border-bottom-right-radius: var(--r-2);
}
.mla-badge {
  position: absolute; right: 6px; top: 6px;
  background: var(--ink);
  color: var(--gold-400);
  font-family: var(--font-display); font-weight: 600; font-size: 9px; letter-spacing: .12em;
  padding: 3px 6px; border-radius: var(--r-1);
  text-transform: uppercase;
}
:root[lang="ta"] .mla-badge { text-transform: none; letter-spacing: .03em; }

.mla-info { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.mla-ac {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red-600);
}
:root[lang="ta"] .mla-ac { text-transform: none; letter-spacing: .04em; font-size: 11px; }
.mla-nm { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1; color: var(--ink); margin-top: 2px; }
.mla-role { font-size: 12px; color: var(--ink-2); line-height: 1.3; margin-top: 2px; }
.mla-stats {
  margin-top: 6px;
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 11px; color: rgba(26,6,6,.65);
}
.mla-stats b { color: var(--ink); font-weight: 700; }
.mla-cta {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red-600);
  font-weight: 600;
}
:root[lang="ta"] .mla-cta { text-transform: none; letter-spacing: .04em; font-size: 11px; }
.mla-cta svg { width: 12px; height: 12px; }

/* ============= Leadership pair ============= */
.leadership-grid { display: grid; gap: 14px; }
.leader-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.leader-card .photo-wrap {
  position: relative; aspect-ratio: 4/3.4; overflow: hidden;
  background: linear-gradient(135deg, var(--red-600), var(--red-800));
}
.leader-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.leader-card .photo-wrap .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(63,6,8,.85) 100%);
}
.leader-card .photo-wrap .badge {
  position: absolute; left: 12px; top: 12px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--red-900);
  padding: 4px 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10px; letter-spacing: .14em;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
:root[lang="ta"] .leader-card .photo-wrap .badge { text-transform: none; letter-spacing: .03em; }
.leader-card .photo-wrap .vagai-emblem {
  position: absolute; right: 12px; top: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #FFD84A 0%, #C71820 55%, #3F0608 100%);
  border: 2px solid var(--gold-400);
  display: grid; place-items: center;
}
.leader-card .photo-wrap .vagai-emblem::after {
  content: ""; width: 65%; height: 65%;
  background-image: url("assets/bg/deco1.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.2) saturate(1.3);
}
.leader-card .info { padding: 14px 16px 18px; }
.leader-card .info .role-en {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .14em;
  color: var(--red-600); text-transform: uppercase;
}
:root[lang="ta"] .leader-card .info .role-en { text-transform: none; letter-spacing: .03em; font-size: 12px; }
.leader-card .info .name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1; margin: 4px 0 0;
}
.leader-card .info .sub { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }

/* ============= Ideological leaders ============= */
.ideo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.ideo-card { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.ideo-card .ring {
  width: 100%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--cream-2) 0%, var(--cream) 100%);
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.section-dark .ideo-card .ring { background: rgba(0,0,0,.35); border-color: var(--gold-400); }
.ideo-card .placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 6px, transparent 6px 12px);
  display: grid; place-items: center;
  font-family: var(--font-num); font-size: 8px;
  color: rgba(26,6,6,.5);
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center; padding: 4px;
}
.section-dark .ideo-card .placeholder {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px);
  color: rgba(255,255,255,.7);
}
.ideo-card .nm {
  font-family: var(--font-display); font-weight: 600;
  font-size: 9px; letter-spacing: .04em; line-height: 1.05;
  text-transform: uppercase; text-wrap: balance;
}
.section-dark .ideo-card .nm { color: var(--gold-400); }
:root[lang="ta"] .ideo-card .nm { text-transform: none; font-size: 11px; }

.design-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--r-3);
  background: rgba(0,0,0,.32);
  border: 1px solid var(--line-on-red);
  font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.55;
}
.design-note b {
  font-family: var(--font-display); font-weight: 600;
  color: var(--gold-400); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
:root[lang="ta"] .design-note b { text-transform: none; letter-spacing: .04em; }

/* ============= Biography ============= */
.bio-layout { display: flex; flex-direction: column; gap: 22px; }
.bio-hero {
  position: relative;
  border-radius: var(--r-4);
  background: linear-gradient(160deg, var(--red-700) 0%, var(--red-900) 100%);
  overflow: hidden;
  color: #fff;
}
.bio-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/bg/vagai-and-stars.png");
  background-size: 80% auto; background-position: 110% center;
  background-repeat: no-repeat;
  opacity: .15;
}
.bio-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 12px;
  padding: 14px;
}
.bio-hero-portrait {
  border-radius: var(--r-3);
  overflow: hidden;
  border: 2px solid var(--gold-400);
  aspect-ratio: 3/4;
  background: var(--red-800);
}
.bio-hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bio-hero-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.bio-hero-meta .label { font-family: var(--font-display); font-weight: 600; font-size: 10px; letter-spacing: .14em; color: var(--gold-400); text-transform: uppercase; }
:root[lang="ta"] .bio-hero-meta .label { text-transform: none; letter-spacing: .03em; }
.bio-hero-meta .nm { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; }
.bio-hero-meta .nm-ta { font-family: var(--font-display-ta); font-weight: 900; font-size: 18px; color: var(--gold-200); line-height: 1.05; }
.bio-hero-meta .role { font-size: 12px; color: rgba(255,255,255,.85); line-height: 1.35; }

.bio-data {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.bio-data .cell { background: var(--cream); padding: 12px 14px; }
.bio-data .cell .k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(26,6,6,.55); margin-bottom: 2px; font-family: var(--font-display); font-weight: 500; }
:root[lang="ta"] .bio-data .cell .k { text-transform: none; letter-spacing: .03em; font-size: 11px; }
.bio-data .cell .v { font-family: var(--font-num); font-size: 13px; font-weight: 600; color: var(--ink); }

.bio-body p {
  font-size: 14px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 12px;
  text-wrap: pretty;
}
.bio-body p:first-of-type:first-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.4em;
  float: left;
  line-height: .85;
  padding: 6px 8px 0 0;
  color: var(--red-600);
}
.bio-body p.no-drop:first-letter { font-size: 1em; float: none; padding: 0; color: inherit; font-family: inherit; }

.bio-timeline {
  position: relative;
  padding-left: 22px;
}
.bio-timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--red-600));
}
.bio-timeline .ev { position: relative; padding: 6px 0 12px; }
.bio-timeline .ev::before {
  content: ""; position: absolute; left: -22px; top: 10px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--red-600);
}
.bio-timeline .ev .when { font-family: var(--font-num); font-size: 11px; color: var(--red-600); font-weight: 700; letter-spacing: .04em; }
.bio-timeline .ev .what { font-size: 13px; color: var(--ink); margin-top: 2px; line-height: 1.4; }

.bio-photogrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.bio-photogrid .ph {
  aspect-ratio: 1;
  background: var(--red-800);
  border-radius: var(--r-2);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.bio-photogrid .ph img { width: 100%; height: 100%; object-fit: cover; }
.bio-photogrid .ph .tag {
  position: absolute; left: 4px; bottom: 4px;
  background: rgba(0,0,0,.55); color: #fff;
  font-family: var(--font-num); font-size: 8px;
  padding: 2px 5px; border-radius: 4px;
  letter-spacing: .05em;
}

/* Compact image-prominent featured card — square image on top, clean text box below */
.feat-card.feat-card-compact {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat-card.feat-card-compact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feat-card-compact .feat-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex: 0 0 auto;
}
.feat-card-compact .feat-img-wrap .ph {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.feat-card-compact:hover .feat-img-wrap .ph { transform: scale(1.04); }
.feat-card-compact .feat-img-wrap .ribbon {
  position: absolute; left: 10px; top: 10px;
  background: var(--gold-500); color: var(--red-900);
  font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: .14em;
  padding: 4px 8px; border-radius: var(--r-1); text-transform: uppercase;
}
:root[lang="ta"] .feat-card-compact .feat-img-wrap .ribbon { text-transform: none; letter-spacing: .03em; }
.feat-card-compact .feat-body {
  padding: 14px 14px 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
}
.feat-card-compact .feat-body .kicker {
  font-family: var(--font-display); font-weight: 600;
  font-size: 10px; letter-spacing: .14em;
  color: var(--red-600); text-transform: uppercase;
  margin: 0;
}
:root[lang="ta"] .feat-card-compact .feat-body .kicker { letter-spacing: .04em; text-transform: none; font-size: 11px; }
.feat-card-compact .feat-body h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 3);
}
.feat-card-compact .feat-body .meta {
  display: flex; gap: 6px; align-items: center;
  font-family: var(--font-num); font-size: 10px;
  color: rgba(26,6,6,.55);
  margin-top: auto;
  padding-top: 6px;
}

/* Hero — single column with right-side visual */
.hero-inner-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero-tagline {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  font-style: italic;
  max-width: 36ch;
  line-height: 1.5;
}
.hero-visual {
  position: relative;
  border-radius: var(--r-3);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
  border: 1px solid var(--line-on-red);
  min-height: 240px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
}
.hero-visual-vagai {
  display: grid; place-items: center;
  background: rgba(0,0,0,.32);
  border-radius: var(--r-2);
  padding: 14px;
  border: 1px solid var(--line-on-red);
}
.vagai-emblem-xl {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #FFD84A 0%, #C71820 45%, #5A0C12 75%, #3F0608 100%);
  border: 3px solid var(--gold-400);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
  position: relative;
}
.vagai-emblem-xl::after {
  content: ""; position: absolute; inset: 14%;
  background-image: url("assets/bg/deco1.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.25) saturate(1.3);
}
.hero-visual-stack { display: flex; flex-direction: column; gap: 10px; }
.hero-visual-tile {
  position: relative;
  border-radius: var(--r-2);
  overflow: hidden;
  background-size: cover; background-position: center;
  flex: 1; min-height: 110px;
  border: 1px solid var(--line-on-red);
}
.hero-visual-tile.small { min-height: 72px; }
.hero-visual-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.placeholder-tile {
  background:
    repeating-linear-gradient(45deg, rgba(245,197,24,.10) 0 10px, transparent 10px 20px),
    rgba(0,0,0,.35);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 10px;
  font-family: var(--font-num);
  font-size: 10px; color: var(--gold-200); line-height: 1.3;
}
.placeholder-tile .ptag {
  display: inline-block;
  background: var(--gold-500); color: var(--red-900);
  font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: .12em;
  padding: 3px 7px; border-radius: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* District Secretary section */
.district-sec { padding-top: 32px; }
.district-sec .hero-poster-card { box-shadow: 0 16px 40px -20px rgba(0,0,0,.7); }

/* Standalone ideology ticker */
.ideology-ticker {
  position: relative;
  background: linear-gradient(90deg, #F5C518 0%, #FFD84A 50%, #F5C518 100%);
  color: var(--red-900);
  border-top: 3px solid var(--red-900);
  border-bottom: 3px solid var(--red-900);
  padding: 11px 0;
  overflow: hidden;
}
.ideology-ticker .marquee {
  display: flex; gap: 28px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
:root[lang="ta"] .ideology-ticker .marquee { text-transform: none; letter-spacing: .04em; font-size: 15px; }
.ideology-ticker .marquee .sep {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red-700);
}
.ideology-ticker .marquee .sep::before { content: "✦"; color: var(--red-700); }

/* Integrated Vijay × Sampath leadership composite */
.section-head-center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow { justify-content: center; }
.integrated-lead { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.lead-composite {
  position: relative;
  border-radius: var(--r-4);
  overflow: hidden;
  background: linear-gradient(180deg, #5A0C12 0%, #3F0608 60%, #2A0405 100%);
  min-height: 480px;
  padding: 28px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  isolation: isolate;
}
.lead-bg-crowd {
  position: absolute; inset: 0; z-index: -3;
  background-image: url("assets/bg/bg.png");
  background-size: cover; background-position: center;
  opacity: .18; mix-blend-mode: screen;
}
.lead-bg-flagcloth {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 60% at 25% 35%, rgba(255,216,74,.35) 0%, transparent 65%),
    radial-gradient(60% 60% at 75% 65%, rgba(199,24,32,.55) 0%, transparent 70%);
  filter: blur(10px);
}
.lead-bg-stars {
  position: absolute; right: -25%; top: -10%; width: 80%; aspect-ratio: 1; z-index: -1;
  background-image: url("assets/bg/vagai-and-stars.png");
  background-size: contain; background-repeat: no-repeat;
  opacity: .15;
  animation: spin 200s linear infinite;
}
.lead-artwork-tag {
  position: absolute; left: 16px; top: 16px;
  z-index: 5;
  background: rgba(0,0,0,.55);
  border: 1px dashed var(--gold-400);
  padding: 6px 10px;
  font-family: var(--font-num); font-size: 9px;
  color: var(--gold-200); letter-spacing: .04em;
  border-radius: var(--r-1);
  max-width: 240px;
  line-height: 1.3;
}
.lead-artwork-tag .ptag {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  background: var(--gold-500); color: var(--red-900);
  padding: 2px 6px; border-radius: 3px;
  font-size: 9px; letter-spacing: .14em;
  margin-bottom: 4px;
  width: max-content;
  text-transform: uppercase;
}
.lead-figure {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px;
  color: #fff;
}
.lead-figure-img {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-400);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
  background: var(--red-800);
}
.lead-figure-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lead-figure-emblem {
  position: absolute; right: -8px; bottom: -8px;
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #FFD84A 0%, #C71820 55%, #3F0608 100%);
  border: 2px solid var(--gold-400);
  box-shadow: 0 4px 10px rgba(0,0,0,.5);
}
.lead-figure-emblem::after {
  content: ""; position: absolute; inset: 6px;
  background-image: url("assets/bg/deco1.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.25) saturate(1.3);
}
.lead-figure-meta { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.lead-figure-tag {
  font-family: var(--font-display); font-weight: 600;
  font-size: 10px; letter-spacing: .14em;
  color: var(--gold-400); text-transform: uppercase;
}
:root[lang="ta"] .lead-figure-tag { letter-spacing: .04em; text-transform: none; font-size: 12px; }
.lead-figure-nm {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; line-height: 1;
  color: #fff;
}
.lead-figure-nm-ta {
  font-family: var(--font-display-ta); font-weight: 900;
  font-size: 22px; line-height: 1; color: var(--gold-200);
}
.lead-figure-sub {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  max-width: 28ch;
  margin-top: 2px;
  line-height: 1.35;
}
.lead-connector {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 6px 0;
}
.lead-connector-emblem {
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #FFD84A 0%, #C71820 55%, #3F0608 100%);
  border: 2.5px solid var(--gold-400);
  box-shadow: 0 6px 16px rgba(0,0,0,.5);
  position: relative; z-index: 2;
}
.lead-connector-emblem::after {
  content: ""; position: absolute; inset: 8px;
  background-image: url("assets/bg/deco1.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: brightness(1.25) saturate(1.3);
}
.lead-connector-line {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 80%;
  background: linear-gradient(180deg, transparent, var(--gold-400) 30%, var(--gold-400) 70%, transparent);
  transform: translateX(-50%);
  z-index: 1;
}

/* ============= Articles ============= */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}
.featured > * { height: 100%; }
.featured .reveal { display: flex; }
.featured .reveal > * { width: 100%; }
.feat-card {
  position: relative;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.feat-card .ph {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.9);
}
.feat-card .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.05) 40%, rgba(63,6,8,.92) 100%);
}
.feat-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 16px; }
.feat-card .kicker {
  font-family: var(--font-display); font-weight: 600;
  font-size: 10px; letter-spacing: .14em;
  color: var(--gold-400); text-transform: uppercase;
}
:root[lang="ta"] .feat-card .kicker { letter-spacing: .04em; text-transform: none; font-size: 11px; }
.feat-card h3 {
  margin: 6px 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.1; text-wrap: balance;
}
.feat-card .meta {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-num); font-size: 11px;
  color: rgba(255,255,255,.7);
}
.feat-card .ribbon {
  position: absolute; left: 12px; top: 12px;
  background: var(--gold-500); color: var(--red-900);
  font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: .14em;
  padding: 4px 8px; border-radius: var(--r-1); text-transform: uppercase;
}
:root[lang="ta"] .feat-card .ribbon { text-transform: none; letter-spacing: .03em; }

.article-list { display: grid; gap: 10px; margin-top: 18px; }
.art-row {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  align-items: stretch;
  transition: transform .15s ease;
}
.art-row:hover { transform: translateX(2px); }
.art-row .pic { background-size: cover; background-position: center; }
.art-row .body { padding: 10px 12px 12px; }
.art-row .kicker { font-family: var(--font-display); font-weight: 600; font-size: 9px; letter-spacing: .14em; color: var(--red-600); text-transform: uppercase; }
:root[lang="ta"] .art-row .kicker { letter-spacing: .04em; text-transform: none; font-size: 10px; }
.art-row h4 { font-family: var(--font-body); font-weight: 700; font-size: 14px; margin: 4px 0 6px; line-height: 1.3; color: var(--ink); text-wrap: pretty; }
.art-row .meta { font-family: var(--font-num); font-size: 10px; color: rgba(26,6,6,.55); display: flex; gap: 8px; align-items: center; }

/* ============= Events ============= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 60px;
  gap: 6px;
}
.events-grid .e {
  background: var(--ink) center/cover no-repeat;
  border-radius: var(--r-2);
  overflow: hidden;
  position: relative;
}
.events-grid .e img { width: 100%; height: 100%; object-fit: cover; }
.events-grid .e .cap {
  position: absolute; left: 6px; right: 6px; bottom: 6px;
  font-family: var(--font-num); font-size: 9px; color: #fff;
  background: rgba(0,0,0,.55); padding: 3px 6px; border-radius: 4px;
  letter-spacing: .04em;
}

/* ============= About TVK ============= */
.about-tvk {
  background-image:
    radial-gradient(50% 60% at 50% 100%, rgba(245,197,24,.18) 0%, transparent 60%),
    linear-gradient(180deg, #3F0608, #5A0C12),
    url("assets/bg/pledge-bg.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: normal, multiply, normal;
}
.about-pledge {
  background: rgba(0,0,0,.32);
  border: 1px solid var(--line-on-red);
  border-radius: var(--r-3);
  padding: 18px;
}
.about-pledge .quote-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 60px; line-height: .6;
  color: var(--gold-400);
}
.about-pledge .body { font-size: 14px; line-height: 1.55; margin: 8px 0 4px; }
.about-pledge .by { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--gold-400); text-transform: uppercase; }
:root[lang="ta"] .about-pledge .by { text-transform: none; letter-spacing: .03em; }

.about-meta-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.about-cell {
  padding: 14px 12px;
  background: rgba(0,0,0,.32);
  border-radius: var(--r-2);
  border: 1px solid var(--line-on-red);
}
.about-cell .k {
  color: var(--gold-400); font-family: var(--font-display);
  letter-spacing: .12em; font-size: 9px; font-weight: 600;
  text-transform: uppercase;
}
:root[lang="ta"] .about-cell .k { text-transform: none; letter-spacing: .04em; font-size: 11px; }
.about-cell .v { margin-top: 4px; font-weight: 700; font-size: 14px; }

/* ============= CTA Join ============= */
.join-block {
  position: relative;
  background: linear-gradient(135deg, var(--red-700), var(--red-900));
  color: #fff;
  border-radius: var(--r-4);
  padding: 30px 22px;
  overflow: hidden;
  isolation: isolate;
}
.join-block::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/bg/vagai-and-stars.png");
  background-size: 120% auto; background-position: center 80%;
  background-repeat: no-repeat;
  opacity: .25; z-index: -1;
}
.join-pre {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .14em; color: var(--gold-400);
  text-transform: uppercase;
}
:root[lang="ta"] .join-pre { text-transform: none; letter-spacing: .04em; font-size: 13px; }
.join-block h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; line-height: 1; margin: 8px 0 10px;
}
.join-block p { font-size: 14px; opacity: .9; margin: 0 0 18px; max-width: 40ch; }
.join-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #FFE166, #F5C518);
  color: var(--red-900);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em;
  padding: 14px 22px; border-radius: var(--r-pill);
  border: 0; cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -8px rgba(245,197,24,.6), inset 0 1px 0 rgba(255,255,255,.5);
}
:root[lang="ta"] .btn-gold { text-transform: none; letter-spacing: .02em; font-size: 14px; }
.btn-gold .arrow { width: 18px; height: 18px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gold-400); color: var(--gold-400);
  background: transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .1em;
  padding: 11px 18px; border-radius: var(--r-pill);
  cursor: pointer;
  text-transform: uppercase;
}
:root[lang="ta"] .btn-outline { text-transform: none; letter-spacing: .02em; font-size: 13px; }

/* ============= FOOTER — Integrated ============= */
footer.tvk-foot {
  position: relative;
  background:
    radial-gradient(70% 50% at 25% 30%, #7A1018 0%, #5A0C12 60%, #3F0608 100%);
  color: #fff;
  padding: 0 0 0;
  overflow: hidden;
  isolation: isolate;
}
.foot-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}
.foot-bg-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.foot-crowd {
  background-image: url("assets/bg/bg.png");
  background-size: cover; background-position: center;
  opacity: .22;
}
.foot-flag {
  background:
    radial-gradient(50% 80% at 22% 50%, rgba(255,216,74,.55) 0%, transparent 60%),
    radial-gradient(60% 80% at 18% 60%, rgba(199,24,32,.7) 0%, transparent 70%);
  filter: blur(4px);
}
.foot-cutout {
  position: relative;
  z-index: 2;
  align-self: end;
  margin: 0;
  width: 100%;
  height: 320px;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden;
}
.foot-cutout img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.6));
  /* Soft fade at the right edge so the cutout integrates into the gradient */
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%), linear-gradient(180deg, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 60%, transparent 100%), linear-gradient(180deg, #000 80%, transparent 100%);
          mask-composite: intersect;
}
.foot-cta {
  position: relative;
  z-index: 2;
  padding: 28px var(--section-px) 32px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.foot-cta .pre {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .14em; color: var(--gold-400);
  text-transform: uppercase;
}
:root[lang="ta"] .foot-cta .pre { text-transform: none; letter-spacing: .04em; font-size: 13px; }
.foot-cta h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; line-height: 1; margin: 6px 0 10px; color: #fff;
}
.foot-cta p { font-size: 14px; opacity: .85; margin: 0 0 18px; max-width: 40ch; line-height: 1.5; }
.foot-cta .btn-gold { width: max-content; }
.foot-socials-inline {
  margin-top: 18px;
  display: flex; gap: 8px;
}
.foot-socials-inline .ic {
  width: 40px; height: 40px;
  border: 1px solid var(--line-on-red);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(0,0,0,.22);
  transition: background .2s ease, color .2s ease;
}
.foot-socials-inline .ic:hover { background: var(--gold-500); color: var(--red-900); }
.foot-socials-inline .ic svg { width: 16px; height: 16px; }

.foot-wordmark {
  position: relative;
  z-index: 2;
  padding: 16px var(--section-px) 0;
  text-align: left;
  border-top: 1px solid var(--line-on-red);
}
.foot-wordmark .en {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 12vw, 56px);
  line-height: .9;
  color: var(--gold-500);
  letter-spacing: -0.005em;
}
.foot-wordmark .ta {
  font-family: var(--font-display-ta); font-weight: 900;
  font-size: clamp(26px, 8vw, 36px);
  color: var(--gold-400);
  margin-top: 4px;
}
.foot-wordmark .domain {
  margin-top: 8px;
  font-family: var(--font-num);
  color: var(--gold-200); font-size: 12px; letter-spacing: .12em;
}

.foot-cols {
  position: relative; z-index: 2;
  padding: 28px var(--section-px) 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 14px;
}
.foot-cols h5 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .14em; color: var(--gold-400);
  margin: 0 0 10px; text-transform: uppercase;
}
:root[lang="ta"] .foot-cols h5 { text-transform: none; letter-spacing: .04em; font-size: 13px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-cols ul li a { font-size: 13px; opacity: .85; }
.foot-cols ul li a:hover { color: var(--gold-400); opacity: 1; }

.foot-meta {
  position: relative; z-index: 2;
  padding: 18px var(--section-px) 26px;
  border-top: 1px solid var(--line-on-red);
  margin-top: 10px;
  display: grid;
  gap: 12px;
}
.foot-meta-cell {
  font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.5;
  display: flex; flex-direction: column; gap: 2px;
}
.foot-meta-cell b {
  font-family: var(--font-display); font-weight: 600;
  font-size: 10px; letter-spacing: .14em; color: var(--gold-400);
  text-transform: uppercase;
}
:root[lang="ta"] .foot-meta-cell b { text-transform: none; letter-spacing: .04em; }
.foot-meta-copyright {
  font-size: 11px; color: rgba(255,255,255,.5);
  padding-top: 8px; border-top: 1px solid var(--line-on-red);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Util */
.row { display: flex; gap: 8px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 8px; }

/* SR only */
.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;
}

/* ===========================================================
   TABLET — >= 768px
   Shell widens off the 480px phone shell. Padding loosens.
   Cards that were 1-up go 2-up where the design supports it.
   =========================================================== */
@media (min-width: 768px) {
  :root {
    --shell-max: 100%;
    --section-px: 32px;
  }

  .tvk-shell {
    max-width: 100%;
    box-shadow: none;
  }

  /* Topbar — a touch more breathing room, nav still hidden */
  .tvk-topbar { padding: 12px 32px; }
  .tvk-mark .word .en { font-size: 17px; }

  /* Hero — keep single column but allow bigger type and a side-by-side visual */
  .hero { padding: 28px 0 0; }
  .hero-inner { padding: 0 32px; gap: 32px; }
  .hero-flag-strip { left: -32px; }
  .hero-display { font-size: clamp(54px, 8vw, 72px); }
  .hero-display-ta { font-size: clamp(32px, 5vw, 42px); }
  .hero-lede { font-size: 16px; max-width: 50ch; }
  .hero-inner-single { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .hero-visual { min-height: 320px; }
  .hero-poster-card { max-width: 720px; margin: 0 auto; }

  /* Sections */
  section { padding: 56px 32px; }
  .section-title { font-size: clamp(36px, 5vw, 48px); }

  /* Stats / data 3-up where it was 2-up */
  .stat-grid { grid-template-columns: 1fr 1fr 1fr; }

  /* MLAs — 2 up */
  .mla-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mla-card { grid-template-columns: 130px 1fr; }

  /* Leadership pair — 2 up */
  .leadership-grid { grid-template-columns: 1fr 1fr; gap: 18px; }

  /* Featured articles — 2 up (already 2 in mobile, just gap up) */
  .featured { grid-template-columns: 1fr 1fr; gap: 18px; }
  .article-list { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Ideology pillars — 5 across already; just bigger names */
  .ideo-card .nm { font-size: 11px; }

  /* About TVK meta — keep 3 across (it's already 3) */
  .about-meta-grid { gap: 12px; max-width: 640px; }

  /* Biography — 2 column block */
  .bio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero       data"
      "body       body"
      "timeline   photos";
    gap: 22px;
  }
  .bio-hero { grid-area: hero; }
  .bio-body { grid-area: body; }
  .bio-data { grid-area: data; grid-template-columns: 1fr; align-self: start; border-radius: var(--r-3); overflow: hidden; }
  .bio-timeline { grid-area: timeline; }
  .bio-photogrid { grid-area: photos; grid-template-columns: repeat(2, 1fr); }

  /* Integrated leadership — start showing 3-col composite */
  .lead-composite {
    grid-template-columns: 1fr auto 1fr;
    padding: 40px 28px;
    min-height: 460px;
    align-items: center;
  }
  .lead-figure-img { max-width: 220px; }

  /* Events — bigger tiles */
  .events-grid { grid-auto-rows: 86px; gap: 8px; }

  /* Join CTA */
  .join-block { padding: 36px 32px; }
  .join-block h2 { font-size: 38px; }

  /* Footer cols 4-up at tablet width */
  .foot-cols { grid-template-columns: repeat(4, 1fr); padding: 26px 32px 12px; gap: 22px; }
  .foot-wordmark { padding: 18px 32px 0; }
  .foot-cta { padding: 32px 32px 36px; }
  .foot-meta { grid-template-columns: 1fr 1fr 1fr; padding: 20px 32px 28px; gap: 18px; }
  .foot-meta-copyright { padding-top: 0; border-top: 0; text-align: right; }
}

/* ===========================================================
   DESKTOP — >= 1280px
   Full desktop: wider hero, multi-column candidate grid,
   article cards 2-3 per row, nav spread across the top.
   =========================================================== */
@media (min-width: 1280px) {
  :root {
    --shell-max: 100%;
    --section-px: 56px;
  }

  .tvk-shell {
    max-width: 1360px;
    box-shadow: none;
  }

  /* Topbar */
  .tvk-topbar { padding: 14px 56px; }
  .tvk-mark .word .en { font-size: 18px; }
  .tvk-mark .word .ta { font-size: 13px; }
  .tvk-nav-desktop { display: flex; }
  .menu-btn { display: none; }

  /* Hero — 2 column desktop */
  .hero { padding: 36px 0 0; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "party  poster"
      "lead   poster";
    gap: 32px;
    align-items: start;
    padding: 0 56px;
  }
  .hero-party-block { grid-area: party; padding: 12px 0 0; }
  .hero-flag-strip { left: -56px; }
  .hero-lead-block { grid-area: lead; }
  .hero-poster-card { grid-area: poster; align-self: stretch; }
  .hero-display { font-size: clamp(56px, 6vw, 84px); }
  .hero-display-ta { font-size: clamp(34px, 3.5vw, 48px); }
  .hero-lede { font-size: 17px; max-width: 44ch; }

  .hero-poster-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .hero-poster-text { padding: 28px 24px; }
  .hero-poster-portrait {
    height: 100%;
    min-height: 480px;
    margin-top: 0;
  }

  .hero-victory { margin-top: 40px; }
  .hero-victory .marquee { font-size: 16px; }

  /* Sections */
  section { padding: 80px 56px; }
  .section-title { font-size: clamp(40px, 4.5vw, 56px); }
  .section-sub { font-size: 16px; }

  /* Victory stats */
  .stat .v { font-size: 44px; }
  .stat { padding: 26px 22px; }

  /* MLAs grid — 3 columns desktop */
  .mla-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mla-card { grid-template-columns: 140px 1fr; }
  .mla-nm { font-size: 20px; }

  /* Leadership pair — side by side */
  .leadership-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .leader-card .info { padding: 22px 26px 26px; }
  .leader-card .info .name { font-size: 34px; }

  /* Ideology — bigger */
  .ideo-strip { gap: 18px; max-width: 900px; }
  .ideo-card .nm { font-size: 12px; }

  /* Biography — 3 column layout */
  .bio-layout {
    display: grid;
    grid-template-columns: 5fr 4fr;
    grid-template-areas:
      "hero       data"
      "body       data"
      "timeline   photos";
    gap: 26px;
  }
  .bio-hero { grid-area: hero; }
  .bio-body { grid-area: body; column-count: 1; font-size: 15px; }
  .bio-body p { font-size: 16px; }
  .bio-data { grid-area: data; grid-template-columns: 1fr; align-self: start; border-radius: var(--r-3); overflow: hidden; }
  .bio-data .cell { padding: 18px 20px; }
  .bio-data .cell .v { font-size: 15px; }
  .bio-timeline { grid-area: timeline; }
  .bio-photogrid { grid-area: photos; grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Articles — featured 2-up consistently */
  .featured { grid-template-columns: 1fr 1fr; gap: 22px; }
  .featured .feat-card:first-child { grid-column: auto; }
  .feat-card-compact .feat-body { padding: 18px 18px 20px; gap: 8px; }
  .feat-card-compact .feat-body h3 { font-size: 18px; -webkit-line-clamp: 2; min-height: calc(1.3em * 2); }
  .feat-card-compact .feat-body .kicker { font-size: 11px; }
  .feat-card-compact .feat-body .meta { font-size: 11px; }
  .article-list { grid-template-columns: 1fr 1fr; }

  /* Integrated leadership composite — Vijay | connector | Sampath */
  .lead-composite {
    grid-template-columns: 1fr auto 1fr;
    padding: 56px 48px;
    min-height: 540px;
    align-items: center;
  }
  .lead-figure-img { max-width: 280px; }
  .lead-figure-nm { font-size: 56px; }
  .lead-figure-nm-ta { font-size: 30px; }
  .lead-figure-sub { font-size: 14px; }
  .lead-connector-line { height: 60%; }

  /* Hero visual desktop tweak */
  .hero-visual { min-height: 360px; padding: 24px; gap: 18px; }
  .hero-tagline { font-size: 16px; max-width: 50ch; }

  /* District secretary section padding */
  .district-sec { padding-top: 64px; }

  /* Events — bigger tiles */
  .events-grid { grid-auto-rows: 110px; gap: 10px; }

  /* About TVK */
  .about-meta-grid { gap: 14px; max-width: 720px; }
  .about-cell { padding: 22px 20px; }
  .about-cell .v { font-size: 18px; }
  .about-pledge { padding: 26px 28px; max-width: 800px; }
  .about-pledge .body { font-size: 16px; }

  /* Join */
  .join-block { padding: 48px 44px; }
  .join-block h2 { font-size: 44px; }

  /* Footer — 2-col integrated layout */
  .foot-hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 520px;
  }
  .foot-cutout { height: 520px; }
  .foot-cutout img { height: 100%; }
  .foot-cta { padding: 60px 24px 60px 0; justify-content: center; }
  .foot-cta h3 { font-size: 56px; }
  .foot-cta p { font-size: 16px; }

  .foot-wordmark { padding: 24px 56px 12px; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); gap: 0 32px; padding: 32px 56px 12px; }
  .foot-meta {
    grid-template-columns: 1fr 1fr 2fr;
    gap: 24px;
    padding: 22px 56px 32px;
    align-items: end;
  }
  .foot-meta-copyright { padding-top: 0; border-top: 0; text-align: right; }
}

/* ============= LARGER DESKTOP — >= 1600px ============= */
@media (min-width: 1600px) {
  .tvk-shell { max-width: 1520px; }
  .hero-display { font-size: clamp(72px, 6vw, 104px); }
  .hero-name { font-size: clamp(60px, 5vw, 80px); }
  .hero-roles li b { font-size: 16px; }
  .section-title { font-size: clamp(48px, 4.2vw, 64px); }
  section { padding: 96px 80px; }
  .tvk-topbar { padding: 16px 80px; }
  .hero-inner { padding: 0 80px; }
  .foot-cols { padding: 36px 80px 14px; }
  .foot-meta { padding: 24px 80px 36px; }
  .foot-wordmark { padding: 28px 80px 14px; }
}

/* ===========================================================
   DESKTOP refinements appended to the 1280+ block above.
   These target very specific issues:
   - candidate cards 3/4 per row
   - article cards 3 per row
   - hero 2-column where it makes sense
   =========================================================== */
@media (min-width: 1280px) {
  /* Hero — 2-col single layout with visual on the right (Hero component uses .hero-inner-single) */
  .hero-inner-single {
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
  }
  .hero-visual { min-height: 420px; }

  /* MLAs — 4 per row on desktop for the candidate grid */
  .mla-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .mla-card { grid-template-columns: 1fr; }
  .mla-face { aspect-ratio: 1 / 1.05; }
  .mla-info { padding: 14px 16px 16px; }
  .mla-nm { font-size: 19px; }

  /* Articles — 3 per row for the featured grid */
  .featured { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .feat-card-compact .feat-body h3 { font-size: 17px; -webkit-line-clamp: 3; min-height: calc(1.3em * 3); }
  .article-list { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  /* Ideology — keep 5 across, wider container */
  .ideo-strip { gap: 22px; max-width: 1100px; margin: 0 auto; }

  /* About — meta grid wider, pledge wider */
  .about-meta-grid { max-width: 880px; }
  .about-pledge { max-width: 920px; }

  /* District secretary — center the poster card so it doesn't stretch awkwardly wide */
  .district-sec .hero-poster-card { max-width: 1100px; margin: 0 auto; }
}
