﻿/**
 * Team Sankalp — Green Arch AOA campaign site
 * Stylesheet: layout, components, responsive breakpoints
 */

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

    :root {
      --ink: #0f172a;
      --ink-muted: #475569;
      --surface: #ffffff;
      --surface-soft: #f8fafc;
      --border: #e2e8f0;
      --green-900: #14532d;
      --green-800: #166534;
      --green-700: #15803d;
      --green-600: #16a34a;
      --green-100: #dcfce7;
      --gold: #d97706;
      --gold-light: #fbbf24;
      --bhagwa: #e65100;
      --bhagwa-deep: #bf360c;
      /* Logo / define card: Team (forest green) + Sankalp (orange) */
      --brand-team-green: #1b5e20;
      --brand-sankalp-orange: #f15a24;
      --radius: 16px;
      --radius-lg: 24px;
      --nav-h: 72px;
      --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
      --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
      --page-pad: clamp(12px, 4vw, 24px);
    }

    /* ~15% larger base: all rem/clamp(rem) typography scales together */
    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--nav-h) + 16px);
      font-size: 115%;
    }

    body {
      font-family: 'DM Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
      background: var(--surface-soft);
      color: var(--ink);
      line-height: 1.6;
      font-size: 1rem;
      overflow-x: clip;
    }

    a { color: var(--green-800); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* —— Top navigation —— */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow);
      padding-left: env(safe-area-inset-left, 0);
      padding-right: env(safe-area-inset-right, 0);
    }

    .nav-inner {
      max-width: 1120px;
      margin: 0 auto;
      /* padding: 0 var(--page-pad); */
      height: var(--nav-h);
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 16px;
    }

    .nav-cluster {
      margin-left: auto;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 4px 2px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--ink);
      text-decoration: none;
    }
    .brand:hover { text-decoration: none; }
    .brand:hover .brand-logo-team {
      color: #2e7d32;
    }
    .brand:hover .brand-logo-sankalp {
      color: #e04515;
    }

    .brand-logo {
      display: inline-flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 0 0.28em;
      font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
      font-weight: 800;
      font-size: clamp(1.35rem, 4.5vw, 2.05rem);
      line-height: 1.05;
      letter-spacing: 0.01em;
    }

    .brand-logo-team {
      color: var(--brand-team-green);
      font-weight: 800;
    }

    .brand-logo-sankalp {
      color: var(--brand-sankalp-orange);
      font-weight: 800;
      letter-spacing: 0.04em;
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 0 2px;
      list-style: none;
    }

    .nav-links a {
      padding: 8px 10px;
      border-radius: 999px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--ink-muted);
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }

    .nav-links a:hover {
      background: var(--green-100);
      color: var(--green-800);
      text-decoration: none;
    }

    .nav-links a:focus-visible {
      outline: 2px solid var(--green-600);
      outline-offset: 2px;
    }

    /* Fixed bottom-right — always visible while scrolling */
    .vote-fab {
      position: fixed;
      z-index: 90;
      bottom: calc(18px + env(safe-area-inset-bottom, 0px));
      right: calc(18px + env(safe-area-inset-right, 0px));
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--green-700), var(--green-900));
      color: #fff !important;
      padding: 12px 18px;
      font-size: 0.875rem;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
      box-shadow: 0 8px 28px rgba(22, 101, 52, 0.45), 0 2px 8px rgba(15, 23, 42, 0.12);
      max-width: min(calc(100vw - 36px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), 280px);
    }

    .vote-fab:hover {
      filter: brightness(1.06);
      text-decoration: none;
      color: #fff !important;
    }

    .vote-fab:focus-visible {
      outline: 3px solid var(--gold-light);
      outline-offset: 3px;
    }

    @media (max-width: 720px) {
      .nav-links { display: none; }
      .nav-cluster { display: none; }
      .nav-inner { justify-content: center; }
      .brand-logo { text-align: center; }
    }

    .mobile-nav {
      display: none;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 var(--page-pad) 12px;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      border-top: 1px solid var(--border);
      padding-top: 12px;
    }
    .mobile-nav a {
      font-size: 0.8125rem;
      padding: 10px 14px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      background: var(--surface-soft);
      color: var(--ink-muted);
      font-weight: 500;
    }
    @media (max-width: 720px) {
      .mobile-nav { display: flex; }
    }

    /* —— Hero —— */
    .hero {
      position: relative;
      background: linear-gradient(145deg, var(--green-900) 0%, var(--green-700) 45%, #0f2918 100%);
      color: #fff;
      padding: 48px var(--page-pad) clamp(56px, 14vw, 72px);
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(251, 191, 36, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(34, 197, 94, 0.15), transparent);
      pointer-events: none;
    }

    /* Society photo banner (see assets/images/greenarch.jpg) */
    .hero--with-photo {
      min-height: min(88vh, 780px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: clamp(56px, 11vh, 96px);
      padding-bottom: clamp(48px, 10vh, 88px);
    }

    .hero--with-photo::before {
      display: none;
    }

    .hero-photo {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .hero-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 38%;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        radial-gradient(ellipse 100% 70% at 50% 22%, rgba(251, 191, 36, 0.16), transparent 58%),
        linear-gradient(
          168deg,
          rgba(8, 30, 18, 0.82) 0%,
          rgba(22, 101, 52, 0.72) 42%,
          rgba(8, 30, 18, 0.9) 100%
        );
      pointer-events: none;
    }

    .hero--with-photo .hero-pattern {
      z-index: 2;
      opacity: 0.45;
    }

    .hero--with-photo .hero-content {
      z-index: 3;
    }

    .hero-views-badge {
      position: fixed;
      top: calc(var(--nav-h) + 12px);
      right: calc(18px + env(safe-area-inset-right, 0px));
      z-index: 89;
      width: 106px;
      height: 106px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      padding: 12px 10px;
      border-radius: 50%;
      border: 2px solid rgba(255, 237, 213, 0.62);
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.96), rgba(234, 88, 12, 0.9));
      box-shadow: 0 12px 30px rgba(124, 45, 18, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      pointer-events: none;
      max-width: min(calc(100vw - 28px), 106px);
      overflow: hidden;
      transform-origin: center;
      animation: heroViewsBlink 1.6s ease-in-out infinite;
    }

    .hero-views-badge::before {
      content: '';
      position: absolute;
      inset: 7px;
      border-radius: 50%;
      border: 1px solid rgba(255, 247, 237, 0.45);
      pointer-events: none;
    }

    /* Safety: hide old star if any cached markup still includes it */
    .hero-views-star {
      display: none !important;
    }

    .hero-views-text {
      color: #fff7ed;
      font-size: 0.62rem;
      text-transform: none;
      letter-spacing: 0.12em;
      font-weight: 700;
      white-space: nowrap;
      line-height: 1.1;
      text-shadow: 0 1px 0 rgba(6, 78, 59, 0.2);
      animation: heroViewsTextBlink 1.6s ease-in-out infinite;
    }

    .hero-views-number {
      color: #fff7ed;
      font-size: 1.42rem;
      font-weight: 800;
      letter-spacing: 0;
      font-variant-numeric: tabular-nums;
      min-width: 0;
      text-align: center;
      line-height: 1.02;
      text-shadow: 0 1px 0 rgba(6, 78, 59, 0.25);
      animation: heroViewsTextBlink 1.6s ease-in-out infinite;
    }

    @keyframes heroViewsBlink {
      0%, 100% {
        background: linear-gradient(135deg, rgba(249, 115, 22, 0.96), rgba(234, 88, 12, 0.9));
        border-color: rgba(253, 186, 116, 0.75);
        box-shadow: 0 12px 30px rgba(124, 45, 18, 0.38), 0 0 0 0 rgba(251, 146, 60, 0.28);
        transform: scale(1);
      }
      50% {
        background: linear-gradient(135deg, rgba(22, 163, 74, 0.94), rgba(21, 128, 61, 0.92));
        border-color: rgba(134, 239, 172, 0.75);
        box-shadow: 0 12px 30px rgba(20, 83, 45, 0.42), 0 0 0 5px rgba(34, 197, 94, 0.16);
        transform: scale(1.05);
      }
    }

    @keyframes heroViewsTextBlink {
      0%, 100% {
        color: #fff7ed;
      }
      50% {
        color: #dcfce7;
      }
    }

    /* Soft mesh + very light texture — keeps copy readable */
    .hero-pattern {
      position: absolute;
      inset: 0;
      opacity: 1;
      pointer-events: none;
      background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.07), transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M36 0l36 36-36 36L0 36z' fill='%23fff' opacity='0.04'/%3E%3C/svg%3E");
      background-size: 100% 100%, 72px 72px;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: clamp(0.875rem, 2.6vw, 1.125rem);
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #fde68a;
      margin-bottom: 16px;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .hero h1 {
      font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 12px;
    }

    .hero h1 em {
      color: #fde047;
      font-style: normal;
      text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
    }

    .hero-tagline {
      font-size: clamp(1rem, 2.2vw, 1.2rem);
      opacity: 0.95;
      font-weight: 400;
      margin-bottom: 28px;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    .hero-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 32px;
    }

    .hero-chip {
      font-size: 0.8125rem;
      font-weight: 600;
      padding: 9px 16px;
      border-radius: 999px;
      color: #fff;
      background: rgba(0, 0, 0, 0.22);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 24px;
      border-radius: 999px;
      font-weight: 600;
      font-size: 0.9375rem;
      border: none;
      cursor: pointer;
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .btn:focus-visible {
      outline: 2px solid var(--gold-light);
      outline-offset: 3px;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--gold), #b45309);
      color: #fff;
      box-shadow: 0 4px 20px rgba(217, 119, 6, 0.35);
    }
    .btn-primary:hover { transform: translateY(-1px); }

    a.btn,
    a.btn:hover,
    a.btn-secondary,
    a.btn-secondary:hover {
      text-decoration: none;
    }

    .btn-ghost {
      background: transparent;
      color: #fff;
      border: 2px solid rgba(255, 255, 255, 0.5);
    }
    .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

    .wave-bottom {
      display: block;
      width: 100%;
      margin-top: -1px;
      line-height: 0;
    }
    .wave-bottom svg { display: block; width: 100%; height: 48px; }

    /* —— Sections —— */
    .section {
      max-width: 1120px;
      margin: 0 auto;
      padding: clamp(40px, 7vw, 64px) var(--page-pad);
    }

    .section--tight-top {
      padding-top: clamp(20px, 4vw, 32px);
    }

    .section--compact-top {
      padding-top: clamp(16px, 3vw, 24px);
    }

    /* Panache-style manifesto theme strip — quick jumps to संकल्प blocks */
    .manifesto-themes {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
      gap: 12px;
      margin-bottom: clamp(28px, 5vw, 40px);
    }

    .m-theme {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 4px;
      padding: 18px 14px;
      min-height: 5.5rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      color: var(--ink);
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    }

    .m-theme:hover {
      text-decoration: none;
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      border-color: rgba(22, 101, 52, 0.28);
      color: var(--green-800);
    }

    .m-theme:focus-visible {
      outline: 2px solid var(--green-600);
      outline-offset: 3px;
    }

    .m-theme-title {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-weight: 700;
      font-size: 0.9375rem;
      line-height: 1.3;
    }

    .m-theme-sub {
      font-size: 0.85rem;
      color: var(--ink-muted);
      font-weight: 500;
    }

    .m-theme:hover .m-theme-sub {
      color: var(--green-700);
    }

    #sankalp-1,
    .card[id^="sankalp-"] {
      scroll-margin-top: calc(var(--nav-h) + 20px);
    }

    .section-head {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 48px;
    }

    .section-kicker {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--green-700);
      margin-bottom: 10px;
    }

    .section-head h2 {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 12px;
    }

    .section-head p {
      color: var(--ink-muted);
      font-size: 1.05rem;
    }

    /* Candidates: title + “All profiles” on one row (stacks on small screens) */
    #candidates .section-head--candidates {
      max-width: 1120px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 16px 20px;
      margin-bottom: 40px;
      text-align: center;
    }

    #candidates .section-head-candidates-text {
      flex: 1 1 min(100%, 280px);
      min-width: 0;
      text-align: center;
    }

    #candidates .section-head--candidates .section-kicker {
      text-align: center;
    }

    #candidates .section-head--candidates h2 {
      text-align: center;
      margin-bottom: 0;
    }

    #candidates .section-head-candidates-cta {
      flex: 0 0 auto;
    }

    #candidates .section-head-candidates-cta:empty {
      display: none;
    }

    .candidates-all-profiles-btn {
      min-height: 44px;
      padding: 10px 20px;
      font-size: 0.875rem;
      white-space: nowrap;
    }

    @media (max-width: 520px) {
      #candidates .section-head--candidates {
        flex-direction: column;
        align-items: stretch;
      }

      #candidates .section-head--candidates .section-kicker,
      #candidates .section-head--candidates h2 {
        text-align: center;
      }

      #candidates .section-head-candidates-text {
        text-align: center;
      }

      #candidates .section-head-candidates-cta {
        width: 100%;
      }

      .candidates-all-profiles-btn {
        width: 100%;
        justify-content: center;
      }
    }

    .manifesto-download-cta {
      margin: 16px 0 0;
    }

    .manifesto-download-cta .btn {
      min-height: 44px;
      padding-inline: 18px;
    }

    /* Vision pillars */
    /* Team Sankalp — SANKALP acronym (vision section) */
    .sankalp-define {
      max-width: 720px;
      margin: 0 auto clamp(28px, 5vw, 40px);
      padding: clamp(20px, 3.5vw, 26px) clamp(18px, 3vw, 24px);
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      border-left: 4px solid var(--green-600);
    }

    .sankalp-define-title {
      font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
      font-size: clamp(1.1rem, 2.4vw, 1.35rem);
      font-weight: 800;
      margin: 0 0 10px;
      color: var(--ink);
      line-height: 1.25;
    }

    .sankalp-define-title-team {
      color: var(--brand-team-green);
    }

    .sankalp-define-title-sankalp {
      color: var(--brand-sankalp-orange);
    }

    .sankalp-define-title abbr {
      text-decoration: none;
      cursor: help;
      color: var(--brand-sankalp-orange);
    }

    .sankalp-define-lead {
      font-size: 0.9375rem;
      color: var(--ink-muted);
      margin: 0 0 8px;
      line-height: 1.55;
    }

    .sankalp-define-list {
      margin: 0;
      padding: 0;
    }

    .sankalp-define-row {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 12px 14px;
      align-items: center;
      padding: 11px 0;
      border-top: 1px solid var(--border);
    }

    .sankalp-define-row:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .sankalp-define-letter {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: color-mix(in srgb, var(--brand-team-green) 14%, var(--surface));
      color: var(--brand-sankalp-orange);
      font-family: 'Syne', 'DM Sans', system-ui, sans-serif;
      font-weight: 800;
      font-size: 1.05rem;
      line-height: 1;
      border: 1px solid color-mix(in srgb, var(--brand-team-green) 22%, transparent);
    }

    .sankalp-define-row dd {
      margin: 0;
      font-size: 0.9375rem;
      line-height: 1.5;
      color: var(--ink);
      font-weight: 500;
    }

    .sankalp-define-sep {
      color: #cbd5e1;
      margin: 0 0.4em;
      font-weight: 400;
    }

    .section-head--faq {
      margin-bottom: clamp(14px, 2.5vw, 22px);
    }

    .section-head--faq .section-kicker {
      margin-bottom: 4px;
    }

    .section-head--faq h2 {
      margin-bottom: 0;
      font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    }

    .pillar-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
      gap: clamp(14px, 3vw, 20px);
    }

    .pillar {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow);
      transition: box-shadow 0.2s, border-color 0.2s;
    }

    .pillar:hover {
      box-shadow: var(--shadow-md);
      border-color: rgba(22, 101, 52, 0.2);
    }

    .pillar h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--green-800);
      margin-bottom: 10px;
    }

    .pillar p {
      font-size: 0.9375rem;
      color: var(--ink-muted);
      line-height: 1.65;
    }

    /* Manifesto featured strip */
    .maint-strip {
      background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
      border-radius: var(--radius-lg);
      padding: 32px;
      color: #fff;
      box-shadow: var(--shadow-md);
      position: relative;
      overflow: hidden;
      margin-bottom: 28px;
    }

    .maint-strip::after {
      content: '';
      position: absolute;
      right: -40px;
      top: -40px;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: rgba(251, 191, 36, 0.12);
    }

    .maint-strip-head {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }

    .maint-strip-head .ms-icon {
      width: 48px;
      height: 48px;
      background: rgba(251, 191, 36, 0.2);
      border: 1px solid rgba(251, 191, 36, 0.4);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .ms-icon-svg {
      width: 30px;
      height: 30px;
      display: block;
    }

    .ms-c-icon {
      color: var(--gold-light);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .maint-strip-head h3 {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      line-height: 1.35;
    }

    .maint-strip > p {
      font-size: 0.9375rem;
      opacity: 0.92;
      margin-bottom: 22px;
      line-height: 1.7;
      position: relative;
      z-index: 1;
    }

    .ms-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
      position: relative;
      z-index: 1;
    }

    .ms-card {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 14px;
      padding: 18px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    .ms-card .ms-c-icon svg { display: block; }
    .ms-card p { font-size: 0.875rem; line-height: 1.65; opacity: 0.95; }
    .ms-card p strong { color: var(--gold-light); font-weight: 600; }

    /* Manifesto cards */
    .cards-grid { display: grid; gap: 20px; }

    .card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 180px) 1fr;
      transition: box-shadow 0.2s, transform 0.2s;
    }

    .card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .card.gold-accent { border-color: rgba(217, 119, 6, 0.25); }
    .card.reverse { grid-template-columns: 1fr minmax(0, 180px); }
    .card.reverse .card-img { order: 2; }
    .card.reverse .card-body { order: 1; }

    .card-img {
      position: relative;
      min-height: 160px;
      background: var(--surface-soft);
    }

    .card-img svg {
      width: 100%;
      height: 100%;
      min-height: 160px;
      display: block;
      object-fit: cover;
    }

    .card-img--mandir-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, #fafaf9 0%, #fff7ed 100%);
    }

    .card-img--mandir-icon img {
      width: clamp(108px, 70%, 168px);
      height: auto;
      max-height: min(168px, 88%);
      aspect-ratio: 1;
      object-fit: contain;
      display: block;
    }

    .card-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }

    .card-heading { margin-bottom: 12px; }

    .sankalp-num {
      display: block;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--green-600);
      margin-bottom: 6px;
    }

    .card.gold-accent .sankalp-num { color: var(--gold); }

    .card-heading h3 {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.45;
      margin: 0;
      padding-left: 12px;
      border-left: 3px solid var(--green-600);
    }

    .card.gold-accent .card-heading h3 { border-left-color: var(--gold); }

    .card-body p, .card-body li {
      font-size: 0.9375rem;
      color: var(--ink-muted);
      line-height: 1.75;
    }

    .card-body ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* Block + absolute bullet: flex on li breaks Hindi/English mix — each <strong> and text run became flex items and gap looked like stretched word-spacing */
    .card-body ul li {
      position: relative;
      padding-left: 1.1rem;
    }

    .card-body ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.62em;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green-600);
    }

    .card.gold-accent ul li::before { background: var(--gold); }

    /* Candidates */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 18px;
    }

    .team-card {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      text-align: center;
      box-shadow: var(--shadow);
      transition: box-shadow 0.2s, transform 0.2s;
    }

    .team-card[id^="candidate-ballot-"] {
      display: flex;
      flex-direction: column;
      scroll-margin-top: calc(var(--nav-h) + 16px);
    }

    .team-card[id^="candidate-ballot-"] .team-meta {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      text-align: center;
    }

    .team-card[id^="candidate-ballot-"] .candidate-bio--compact {
      flex: 1 1 auto;
    }

    .team-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    .team-photo {
      position: relative;
      aspect-ratio: 1;
      overflow: hidden;
      background: linear-gradient(180deg, var(--green-100), #fff);
    }

    .team-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .team-photo img.team-img-fill {
      object-fit: fill;
    }

    .team-ballot {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--green-800);
      color: #fff;
      font-size: 0.875rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      border: 2px solid #fff;
    }

    .team-meta { padding: 16px 12px 18px; }

    .team-name {
      font-weight: 700;
      font-size: 0.875rem;
      color: var(--ink);
      line-height: 1.35;
    }

    .team-role {
      font-size: 0.75rem;
      color: var(--ink-muted);
      margin-top: 4px;
    }

    .team-flat {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--green-800);
      margin-top: 6px;
      letter-spacing: 0.02em;
    }

    .candidate-bio {
      font-size: 0.75rem;
      color: var(--ink-muted);
      line-height: 1.55;
      margin-top: 10px;
      text-align: left;
    }

    /* Small one- or two-line blurb under name (all candidates) */
    .candidate-bio--compact {
      font-size: 0.6875rem;
      line-height: 1.45;
      margin-top: 8px;
      text-align: center;
    }

    .candidate-bio--en {
      font-family: 'DM Sans', system-ui, sans-serif;
    }

    .candidate-bio p {
      margin: 0 0 0.55em;
    }

    .candidate-bio--compact p {
      margin: 0;
    }

    .candidate-bio--compact p + p {
      margin-top: 0.35em;
    }

    .candidate-bio p:last-child {
      margin-bottom: 0;
    }

    .candidate-bio-stub {
      font-style: italic;
      opacity: 0.92;
    }

    .team-sankalp-tag {
      font-style: normal;
      font-weight: 600;
      color: var(--green-800);
    }

    .team-card:target {
      outline: 3px solid var(--gold-light);
      outline-offset: 4px;
      border-radius: var(--radius);
    }

    /* Ballot */
    #ballot.section {
      display: flex;
      flex-direction: column;
      gap: clamp(24px, 4vw, 40px);
      min-width: 0;
    }

    .ballot-panel {
      background: var(--surface);
      border: 2px dashed rgba(22, 101, 52, 0.35);
      border-radius: var(--radius-lg);
      padding: 40px 28px;
      text-align: center;
      box-shadow: var(--shadow);
    }

    .ballot-panel h2 {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 1.35rem;
      margin-bottom: 12px;
      color: var(--green-900);
    }

    .ballot-panel p {
      color: var(--ink-muted);
      max-width: 520px;
      margin: 0 auto 20px;
    }

    .ballot-panel--intro {
      margin-bottom: 0;
    }

    .ballot-intro-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      align-items: center;
      margin-top: 8px;
    }

    .ballot-print-page-link {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--green-800);
      text-decoration: underline;
      text-underline-offset: 3px;
      padding: 8px 6px;
    }

    .ballot-print-page-link:hover {
      color: var(--green-900);
    }

    .btn-secondary {
      background: var(--surface);
      color: var(--green-800);
      border: 2px solid var(--green-700);
      box-shadow: none;
    }

    .btn-secondary:hover {
      background: var(--green-100);
      transform: translateY(-1px);
    }

    /* Sample ballot — 4 teams × (S.No | Name | Photo | Mark); header: S.No + merged team title */
    .ballot-sample {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: clamp(20px, 4vw, 28px);
      box-shadow: var(--shadow-md);
      max-width: 100%;
      min-width: 0;
    }

    .ballot-table-wrap {
      position: relative;
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #f1f5f9;
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }

    .ballot-table-wrap:fullscreen {
      background: var(--surface-soft);
      padding: clamp(16px, 3vw, 32px);
      overflow: auto;
      display: flex;
      align-items: flex-start;
      justify-content: center;
    }

    .ballot-table-wrap:fullscreen .ballot-sheet--model {
      font-size: 1.02rem;
    }

    .ballot-sheet {
      width: 100%;
      border-collapse: collapse;
      font-size: clamp(0.65rem, 1.05vw, 0.8125rem);
    }

    .ballot-sheet--model {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      table-layout: fixed;
    }

    /* Team bands: A 22% | B 22% | C 34% | D 22%; S.No widened; Team C tick col trimmed for smaller mark box */
    .ballot-sheet--model col.ballot-w-sno {
      width: 5.5%;
    }

    .ballot-sheet--model col.ballot-w-a.ballot-w-name,
    .ballot-sheet--model col.ballot-w-b.ballot-w-name,
    .ballot-sheet--model col.ballot-w-d.ballot-w-name {
      width: 9.5%;
    }

    .ballot-sheet--model col.ballot-w-a.ballot-w-photo,
    .ballot-sheet--model col.ballot-w-b.ballot-w-photo,
    .ballot-sheet--model col.ballot-w-d.ballot-w-photo {
      width: 3.5%;
    }

    .ballot-sheet--model col.ballot-w-a.ballot-w-tick,
    .ballot-sheet--model col.ballot-w-b.ballot-w-tick,
    .ballot-sheet--model col.ballot-w-d.ballot-w-tick {
      width: 3.5%;
    }

    .ballot-sheet--model col.ballot-w-c.ballot-w-name {
      width: 12.5%;
    }

    .ballot-sheet--model col.ballot-w-c.ballot-w-photo {
      width: 8.25%;
    }

    .ballot-sheet--model col.ballot-w-c.ballot-w-tick {
      width: 7.75%;
    }

    .ballot-sheet-title-row th {
      background: #0f172a;
      color: #f8fafc;
      padding: 18px 14px;
      text-align: center;
      border: 1px solid #020617;
    }

    .ballot-sheet-model-label--primary {
      display: block;
      font-family: 'DM Sans', system-ui, sans-serif;
      font-weight: 800;
      font-size: clamp(1rem, 2.4vw, 1.25rem);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #fff;
    }

    .ballot-sheet-model-label-sub {
      display: block;
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-weight: 600;
      font-size: 0.8125rem;
      color: #e2e8f0;
      margin-top: 4px;
    }

    .ballot-sheet-org {
      display: block;
      font-family: 'DM Sans', system-ui, sans-serif;
      font-weight: 700;
      letter-spacing: 0.03em;
      font-size: clamp(0.7rem, 1.8vw, 0.85rem);
      line-height: 1.35;
      margin-top: 10px;
      color: #f1f5f9;
    }

    .ballot-sheet-org-sub {
      display: block;
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-weight: 600;
      font-size: 0.75rem;
      color: #cbd5e1;
      margin-top: 4px;
    }

    .ballot-sheet-teams-row .ballot-th-sno,
    .ballot-sheet-teams-row .ballot-th-team-banner {
      color: #0f172a;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      text-align: center;
      vertical-align: middle;
      border: 1px solid #94a3b8;
    }

    .ballot-sheet-teams-row .ballot-th-muted-h {
      background: #e2e8f0;
      font-size: clamp(0.52rem, 0.95vw, 0.68rem);
      padding: 8px 4px;
    }

    .ballot-sheet-teams-row .ballot-th-sno.ballot-th-muted-h {
      padding: 8px 2px;
      font-size: clamp(0.48rem, 0.85vw, 0.62rem);
    }

    .ballot-th-sankalp {
      background: #bbf7d0 !important;
      color: var(--green-900) !important;
      border-color: #16a34a !important;
    }

    .ballot-th-sno-sankalp {
      background: #bbf7d0 !important;
      color: var(--green-900) !important;
      border-color: #16a34a !important;
      font-size: clamp(0.48rem, 0.85vw, 0.62rem);
      padding: 8px 2px !important;
    }

    .ballot-th-teamtag {
      display: block;
      font-weight: 700;
      font-size: 0.65rem;
      text-transform: none;
      letter-spacing: 0;
      margin-top: 4px;
      color: var(--green-800);
    }

    .ballot-sheet--model td {
      padding: 0;
      border: 1px solid #94a3b8;
      vertical-align: middle;
    }

    .ballot-td {
      box-sizing: border-box;
    }

    /* Other teams: name/photo/tick cells intentionally empty (Sr only) */
    .ballot-td--blank {
      padding: 4px !important;
    }

    .ballot-td-sno {
      text-align: center;
      font-weight: 800;
      font-size: clamp(0.58rem, 1.05vw, 0.78rem);
      font-variant-numeric: tabular-nums;
      padding: 4px 2px !important;
      vertical-align: middle !important;
      color: #334155;
    }

    .ballot-td-name {
      padding: 4px 5px !important;
      min-width: 0;
      text-align: left;
      vertical-align: middle !important;
      overflow-wrap: anywhere;
      word-break: break-word;
      hyphens: auto;
    }

    .ballot-td-photo {
      text-align: center;
      vertical-align: middle !important;
      padding: 3px 2px !important;
    }

    .ballot-td-vote {
      text-align: center;
      vertical-align: middle !important;
      padding: 3px 2px !important;
    }

    /* Team C: tighter gutters, wider name vs photo/tick columns */
    .ballot-sheet--model .ballot-tone-sankalp.ballot-td-name {
      padding: 4px 4px !important;
    }

    .ballot-sheet--model .ballot-tone-sankalp.ballot-td-photo,
    .ballot-sheet--model .ballot-tone-sankalp.ballot-td-vote {
      padding: 2px 1px !important;
    }

    .ballot-tone-muted {
      background: #eceff3 !important;
    }

    .ballot-sheet--model tbody tr:nth-child(even) .ballot-tone-muted {
      background: #e3e7ed !important;
    }

    .ballot-tone-inactive {
      background: #e2e8f0 !important;
    }

    .ballot-sheet--model tbody tr:nth-child(even) .ballot-tone-inactive {
      background: #d8dee8 !important;
    }

    .ballot-tone-sankalp {
      background: #ecfdf5 !important;
      box-shadow: inset 0 0 0 2px rgba(22, 163, 74, 0.28);
    }

    .ballot-sheet--model tbody tr:nth-child(even) .ballot-tone-sankalp {
      background: #d1fae5 !important;
      box-shadow: inset 0 0 0 2px rgba(22, 163, 74, 0.32);
    }

    /* Frame Team C as a clear block between B and D */
    .ballot-sheet--model tbody td.ballot-g-c.ballot-td-sno {
      border-left: 2px solid #16a34a;
    }

    .ballot-sheet--model tbody td.ballot-g-c.ballot-td-vote {
      border-right: 2px solid #16a34a;
    }

    .ballot-sheet--model thead .ballot-th-sno-sankalp {
      border-left: 2px solid #16a34a;
    }

    .ballot-sheet--model thead .ballot-th-sankalp.ballot-th-team-banner {
      border-right: 2px solid #16a34a;
    }

    .ballot-ph-empty--inactive {
      border-color: #cbd5e1 !important;
      background: #f1f5f9 !important;
      opacity: 0.75;
    }

    .ballot-mark-box--inactive {
      border-color: #cbd5e1 !important;
      background: #f8fafc !important;
    }

    .ballot-mark-box--inactive .ballot-tick-hint {
      color: #94a3b8;
      font-size: 0.45rem;
    }

    .ballot-name-en--teamph,
    .ballot-name-hi--teamph {
      color: #64748b !important;
      font-weight: 600;
    }

    /* Name cell: EN + HI (spreadsheet-style centered) */
    .ballot-name-en {
      display: block;
      font-family: 'DM Sans', system-ui, sans-serif;
      font-weight: 700;
      font-size: clamp(0.58rem, 1.05vw, 0.72rem);
      line-height: 1.2;
      color: #0a0a0a;
    }

    .ballot-tone-sankalp .ballot-name-en {
      font-size: clamp(0.72rem, 1.35vw, 0.95rem);
      font-weight: 800;
      line-height: 1.22;
    }

    .ballot-name-hi {
      display: block;
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-weight: 600;
      font-size: clamp(0.55rem, 1vw, 0.68rem);
      line-height: 1.25;
      color: #1e293b;
      margin-top: 2px;
    }

    .ballot-tone-sankalp .ballot-name-hi {
      font-size: clamp(0.66rem, 1.2vw, 0.88rem);
      font-weight: 700;
    }

    .ballot-tone-sankalp.ballot-td-sno {
      font-size: clamp(0.64rem, 1.15vw, 0.85rem);
      color: #14532d;
    }

    .ballot-name-en--muted,
    .ballot-name-hi--muted {
      color: #64748b;
      font-weight: 600;
    }

    .ballot-photo-frame {
      width: 100%;
      max-width: clamp(28px, 4.2vw, 48px);
      aspect-ratio: 80 / 100;
      height: auto;
      min-height: 36px;
      margin: 0 auto;
      border: 1px solid #64748b;
      border-radius: 2px;
      overflow: hidden;
      background: #e2e8f0;
    }

    .ballot-tone-muted .ballot-photo-frame,
    .ballot-tone-muted .ballot-ph-empty,
    .ballot-tone-inactive .ballot-ph-empty {
      max-width: clamp(22px, 3.2vw, 38px);
      min-height: 30px;
    }

    .ballot-tone-sankalp .ballot-photo-frame {
      max-width: 100%;
      width: 100%;
      min-height: 44px;
      border-color: #15803d;
      box-shadow: 0 1px 3px rgba(22, 101, 52, 0.15);
    }

    .ballot-photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .ballot-ph-empty {
      width: 100%;
      max-width: clamp(28px, 4.2vw, 48px);
      aspect-ratio: 80 / 100;
      min-height: 36px;
      margin: 0 auto;
      border: 1px dashed #94a3b8;
      background: #f1f5f9;
      border-radius: 2px;
      box-sizing: border-box;
    }

    .ballot-mark-box {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: clamp(18px, 2.65vw, 26px);
      height: clamp(18px, 2.65vw, 26px);
      border: 1px solid #64748b;
      border-radius: 2px;
      background: #fff;
      box-sizing: border-box;
    }

    .ballot-mark-box--sample {
      background: #fff;
    }

    .ballot-mark-box--hint {
      width: auto;
      min-width: 30px;
      min-height: 30px;
      padding: 2px 4px;
    }

    .ballot-tick-hint {
      font-family: 'DM Sans', system-ui, sans-serif;
      font-size: 0.5rem;
      font-weight: 600;
      color: #64748b;
      text-align: center;
      line-height: 1.15;
      max-width: 34px;
    }

    .ballot-sample-tick {
      color: #15803d;
      font-size: 1.05rem;
      font-weight: 900;
      line-height: 1;
    }

    .ballot-sample-footnote {
      font-size: 0.8125rem;
      color: var(--ink-muted);
      margin-top: 16px;
      line-height: 1.55;
    }

    @media print {
      .ballot-sample {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
      }

      .ballot-table-wrap {
        border: 1px solid #94a3b8 !important;
        break-inside: avoid;
      }
    }

    /* Mobile (≤768px): team bands A 20% | B 20% | C 40% | D 20% (each = 4 cols). */
    @media (max-width: 768px) {
      .ballot-sheet--model {
        min-width: 520px;
      }

      .ballot-sheet--model col.ballot-w-a {
        width: 5% !important;
      }

      .ballot-sheet--model col.ballot-w-b {
        width: 5% !important;
      }

      .ballot-sheet--model col.ballot-w-c {
        width: 10% !important;
      }

      .ballot-sheet--model col.ballot-w-sno.ballot-w-c {
        width: 7.5% !important;
      }

      .ballot-sheet--model col.ballot-w-name.ballot-w-c {
        width: 21.25% !important;
      }

      .ballot-sheet--model col.ballot-w-photo.ballot-w-c {
        width: 7% !important;
      }

      .ballot-sheet--model col.ballot-w-tick.ballot-w-c {
        width: 4.25% !important;
      }

      .ballot-sheet--model col.ballot-w-d {
        width: 5% !important;
      }

      .ballot-sheet-teams-row .ballot-th-muted-h {
        font-size: clamp(0.48rem, 1.8vw, 0.62rem);
        padding: 6px 2px;
      }

      .ballot-sheet-teams-row .ballot-th-sno.ballot-th-muted-h {
        font-size: clamp(0.44rem, 1.6vw, 0.56rem);
      }

      .ballot-th-sno-sankalp {
        font-size: clamp(0.5rem, 1.85vw, 0.64rem) !important;
      }

      .ballot-th-sankalp.ballot-th-team-banner {
        font-size: clamp(0.52rem, 1.9vw, 0.66rem);
      }

      .ballot-tone-sankalp .ballot-name-en {
        font-size: clamp(0.7rem, 2.55vw, 0.98rem);
        font-weight: 800;
      }

      .ballot-tone-sankalp .ballot-name-hi {
        font-size: clamp(0.66rem, 2.35vw, 0.92rem);
        font-weight: 700;
      }

      .ballot-sheet--model .ballot-tone-sankalp.ballot-td-name {
        padding: 3px 3px !important;
      }

      .ballot-sheet--model .ballot-tone-sankalp.ballot-td-photo,
      .ballot-sheet--model .ballot-tone-sankalp.ballot-td-vote {
        padding: 2px 0 !important;
      }

      .ballot-sheet--model .ballot-tone-sankalp.ballot-td-photo {
        min-width: 34px;
      }

      .ballot-tone-sankalp .ballot-photo-frame {
        width: clamp(32px, 7.8vw, 46px);
        max-width: 46px;
        min-height: 48px;
      }

      .ballot-tone-sankalp .ballot-mark-box {
        width: clamp(18px, 4.25vw, 26px);
        height: clamp(18px, 4.25vw, 26px);
      }

      .ballot-sample-tick {
        font-size: 1.05rem;
      }
    }

    @media (max-width: 480px) {
      .ballot-sheet--model {
        min-width: 500px;
      }

      .ballot-tone-sankalp .ballot-mark-box {
        width: clamp(16px, 3.85vw, 24px);
        height: clamp(16px, 3.85vw, 24px);
      }

      .ballot-sample-tick {
        font-size: 0.95rem;
      }

      .ballot-tone-sankalp .ballot-name-en {
        font-size: clamp(0.72rem, 2.75vw, 1.02rem);
        font-weight: 800;
      }

      .ballot-tone-sankalp .ballot-name-hi {
        font-size: clamp(0.68rem, 2.5vw, 0.96rem);
        font-weight: 700;
      }

      .ballot-tone-sankalp .ballot-photo-frame {
        width: clamp(30px, 8.4vw, 42px);
        max-width: 42px;
        min-height: 50px;
      }
    }

    /* FAQ */
    .faq-list {
      max-width: 720px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
      counter-reset: faq-q;
    }

    details.faq-item {
      counter-increment: faq-q;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 0;
      box-shadow: var(--shadow);
    }

    .faq-item summary {
      padding: 18px 22px;
      font-weight: 600;
      cursor: pointer;
      list-style: none;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      column-gap: 0.45em;
      align-items: center;
      font-size: 0.95rem;
    }

    .faq-item summary::before {
      content: counter(faq-q) ". ";
      font-variant-numeric: tabular-nums;
      font-weight: 800;
      color: var(--green-700);
    }

    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: '+';
      font-size: 1.25rem;
      font-weight: 400;
      color: var(--green-700);
    }
    .faq-item[open] summary::after { content: '−'; }

    .faq-body {
      padding: 0 22px 18px;
      color: var(--ink-muted);
      font-size: 0.9375rem;
      line-height: 1.7;
      border-top: 1px solid var(--border);
      margin: 0;
      padding-top: 14px;
    }

    .faq-body p {
      margin: 0;
    }

    .faq-body b,
    .faq-body strong {
      font-weight: 600;
      color: var(--ink);
    }

    .faq-body p + p {
      margin-top: 0.65em;
    }

    .faq-data-loading,
    .faq-data-error {
      margin: 0;
      padding: 12px 22px 18px;
      font-size: 0.9375rem;
      color: var(--ink-muted);
    }

    .faq-data-error code {
      font-size: 0.85em;
      padding: 2px 5px;
      border-radius: 4px;
      background: var(--surface-soft);
      border: 1px solid var(--border);
    }

    .faq-body-list {
      margin: 0.5em 0 0.75em;
      padding: 0;
      list-style: none;
    }

    .faq-body-list li {
      margin: 0.35em 0 0;
    }

    .faq-body-list li:first-child {
      margin-top: 0;
    }

    /* Contact */
    #contact {
      scroll-margin-top: calc(var(--nav-h) + 16px);
    }

    .contact-layout {
      max-width: 1120px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(268px, 312px);
      column-gap: clamp(20px, 4vw, 28px);
      align-items: start;
    }

    .contact-slider-lead {
      grid-column: 1;
      grid-row: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
      /* Above .vote-fab (z-index: 90); fixed FAB was capturing taps on the next arrow (mobile, bottom-right). */
      position: relative;
      z-index: 91;
    }

    .contact-slider-stage {
      display: grid;
      grid-template-columns: minmax(40px, 48px) minmax(0, 1fr) minmax(40px, 48px);
      grid-template-rows: auto;
      gap: 0 10px;
      align-items: start;
      min-width: 0;
      isolation: isolate;
    }

    .contact-slider-arrow {
      grid-row: 1;
      align-self: center;
      justify-self: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--green-800);
      font-size: 1.5rem;
      line-height: 1;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
      transition: background 0.2s, color 0.2s, opacity 0.2s;
      padding: 0;
      position: relative;
      z-index: 3;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    .contact-slider-arrow:hover:not(:disabled) {
      background: var(--green-100);
      color: var(--green-900);
    }

    .contact-slider-arrow:focus-visible {
      outline: 2px solid var(--green-600);
      outline-offset: 2px;
    }

    .contact-slider-arrow:disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }

    .contact-slider-arrow--prev {
      grid-column: 1;
    }

    .contact-slider-arrow--next {
      grid-column: 3;
    }

    .contact-slider-viewport {
      grid-column: 2;
      grid-row: 1;
      min-width: 0;
      width: 100%;
      height: fit-content;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x proximity;
      scroll-behavior: smooth;
      scroll-padding-inline: 12px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--surface);
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }

    .contact-slider-track {
      container-type: inline-size;
      container-name: contactslider;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
    }

    .contact-slider-viewport:focus-visible {
      outline: 2px solid var(--green-600);
      outline-offset: 2px;
    }

    .contact-slider-viewport::-webkit-scrollbar {
      display: none;
    }

    .contact-slider-rail {
      display: flex;
      flex-direction: row;
      gap: 10px;
      padding: 6px 12px 0;
      width: max-content;
      align-items: stretch;
    }

    .contact-candidates-error {
      flex: 1 1 auto;
      max-width: min(100%, 360px);
      margin: 12px auto;
      padding: 16px 14px;
      font-size: 0.875rem;
      line-height: 1.5;
      color: var(--ink-muted);
      text-align: center;
      border: 1px dashed var(--border);
      border-radius: var(--radius);
      background: var(--surface-soft);
    }

    .contact-candidates-error code {
      font-size: 0.78rem;
      padding: 2px 5px;
      border-radius: 4px;
      background: var(--surface);
      border: 1px solid var(--border);
    }

    .contact-slider__slide {
      flex: 0 0 clamp(236px, 82cqw, 320px);
      scroll-snap-align: center;
      scroll-snap-stop: always;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      min-height: 0;
      align-self: stretch;
    }

    @supports not (width: 1cqw) {
      .contact-slider__slide {
        flex: 0 0 min(280px, calc(100vw - 140px));
      }
    }

    .contact-slider-dots {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 6px;
      padding: 6px 4px 0;
    }

    .contact-slider-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      padding: 0;
      background: var(--border);
      cursor: pointer;
      transition: transform 0.2s, background 0.2s;
    }

    .contact-slider-dot:hover,
    .contact-slider-dot:focus-visible {
      background: var(--green-600);
      outline: none;
    }

    .contact-slider-dot:focus-visible {
      box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--green-600);
    }

    .contact-slider-dot.is-active {
      background: var(--green-800);
      transform: scale(1.2);
    }

    .contact-emails {
      grid-column: 2;
      grid-row: 1;
      position: sticky;
      top: calc(var(--nav-h) + 12px);
      align-self: start;
      background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 100%);
      color: #e2e8f0;
      border-radius: var(--radius-lg);
      padding: clamp(14px, 2.5vw, 20px);
      box-shadow: var(--shadow-md);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .contact-candidate-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    }

    .contact-candidate-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
      border-color: rgba(22, 101, 52, 0.22);
    }

    .contact-candidate-card-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 14px 14px 11px;
      flex: 1;
      min-height: 0;
      width: 100%;
      box-sizing: border-box;
    }

    .contact-candidate-avatar {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      margin: 0 auto 10px;
      background: linear-gradient(160deg, var(--green-100), #f8fafc);
      border: 2px solid #fff;
      box-shadow:
        0 0 0 1px var(--border),
        0 6px 18px rgba(15, 23, 42, 0.07);
    }

    .contact-candidate-avatar .contact-candidate-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .contact-candidate-avatar .contact-candidate-photo.team-img-fill {
      object-fit: fill;
    }

    .contact-candidate-body {
      padding: 0;
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      min-width: 0;
      min-height: 0;
      width: 100%;
      text-align: left;
    }

    .contact-candidate-name {
      margin: 0 0 6px;
      text-align: center;
      align-self: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      line-height: 1.2;
    }

    .contact-candidate-name-en {
      font-family: 'DM Sans', system-ui, sans-serif;
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--ink);
      display: block;
    }

    .contact-candidate-name-hi {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--green-900);
      display: block;
      line-height: 1.3;
    }

    .contact-phone-link {
      font-variant-numeric: tabular-nums;
      font-weight: 700;
      font-size: 0.8125rem;
      color: var(--green-800);
      text-decoration: none;
    }

    .contact-phone-link:hover {
      color: var(--green-900);
      text-decoration: underline;
    }

    .contact-address--formal {
      font-style: normal;
      display: flex;
      flex-direction: column;
      gap: 3px;
      align-items: flex-start;
    }

    .contact-addr-line {
      display: block;
      color: var(--ink-muted);
      font-size: 0.75rem;
      line-height: 1.4;
      max-width: 100%;
    }

    .contact-addr-line--primary {
      font-weight: 700;
      color: var(--ink);
      font-size: 0.8125rem;
      line-height: 1.35;
      word-break: break-word;
    }

    .contact-addr-line--mid {
      font-weight: 600;
      color: var(--green-800);
      font-size: 0.75rem;
      line-height: 1.35;
    }

    .contact-details {
      margin: 0;
    }

    .contact-details.contact-details--candidate {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
      width: 100%;
    }

    .contact-details--candidate .contact-row:last-of-type {
      margin-top: auto;
    }

    .contact-details--candidate .contact-row {
      padding: 6px 0;
    }

    .contact-details--candidate .contact-row dt {
      font-size: 0.625rem;
      letter-spacing: 0.04em;
      text-transform: none;
      color: var(--green-800);
      font-weight: 700;
      margin-bottom: 3px;
    }

    .contact-details--candidate .contact-row dd {
      font-size: 0.75rem;
      line-height: 1.45;
    }

    .contact-row {
      padding: 14px 0;
      border-top: 1px solid var(--border);
    }

    .contact-row:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .contact-row dt {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 6px;
    }

    .contact-row dd {
      margin: 0;
      font-size: 0.9375rem;
      color: var(--ink-muted);
      line-height: 1.65;
    }

    .contact-address {
      font-style: normal;
      color: var(--ink-muted);
    }

    .contact-emails-title {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 0.9375rem;
      font-weight: 700;
      color: #fff;
      margin: 0 0 6px;
      line-height: 1.35;
    }

    .contact-emails-intro {
      font-size: 0.75rem;
      line-height: 1.55;
      opacity: 0.92;
      margin: 0 0 12px;
    }

    .contact-email-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0 0 10px;
      padding: 0;
    }

    .contact-email-list li {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 10px;
      padding: 10px 12px;
    }

    .contact-email-label {
      display: block;
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #fde68a;
      margin-bottom: 4px;
      line-height: 1.35;
    }

    .contact-mailto {
      color: #fff;
      font-weight: 600;
      font-size: 0.8125rem;
      line-height: 1.4;
      word-break: normal;
      overflow-wrap: anywhere;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .contact-mailto:hover {
      color: #fef9c3;
      text-decoration: underline;
    }

    .contact-emails-note {
      font-size: 0.6875rem;
      line-height: 1.55;
      opacity: 0.88;
      margin: 0;
    }

    @media (max-width: 900px) {
      .contact-layout {
        grid-template-columns: 1fr;
        row-gap: 16px;
        column-gap: 0;
      }

      .contact-emails {
        grid-column: 1;
        grid-row: 1;
        align-self: stretch;
        position: static;
      }

      .contact-slider-lead {
        grid-column: 1;
        grid-row: 2;
      }
    }

    /* CTA */
    .cta {
      background: linear-gradient(135deg, var(--green-800), var(--green-900));
      border-radius: var(--radius-lg);
      text-align: center;
      padding: 48px 28px;
      color: #fff;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.15), transparent 50%);
      pointer-events: none;
    }

    .cta-inner { position: relative; z-index: 1; }

    .cta-logo {
      background: #fff;
      display: inline-block;
      border-radius: 12px;
      padding: 10px 20px;
      margin-bottom: 20px;
    }
    .cta-logo img { height: 40px; display: block; }

    .cta h2 {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: clamp(1.25rem, 3vw, 1.65rem);
      font-weight: 700;
      margin-bottom: 12px;
    }

    .cta p {
      font-size: 1rem;
      opacity: 0.95;
      max-width: 560px;
      margin: 0 auto 24px;
      line-height: 1.75;
    }

    .cta-pill {
      display: inline-block;
      padding: 10px 28px;
      border-radius: 999px;
      border: 2px solid rgba(255, 255, 255, 0.45);
      font-weight: 600;
      font-size: 0.9375rem;
    }

    /* Footer */
    .site-footer {
      background: var(--ink);
      color: #94a3b8;
      padding: clamp(40px, 6vw, 56px) var(--page-pad) calc(36px + env(safe-area-inset-bottom, 0));
      margin-top: 0;
    }

    .footer-inner {
      max-width: 40rem;
      margin: 0 auto;
      text-align: center;
    }

    .footer-main {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.35rem;
    }

    .footer-brand {
      margin: 0 0 0.25rem;
    }

    .brand-logo--footer {
      font-size: clamp(1.25rem, 4vw, 1.85rem);
    }

    .site-footer .brand-logo-team {
      color: #86efac;
    }

    .site-footer .brand-logo-sankalp {
      color: var(--brand-sankalp-orange);
    }

    .footer-tag {
      font-size: 1.05rem;
      margin: 0 0 1.25rem;
      opacity: 0.92;
      line-height: 1.5;
      color: #cbd5e1;
    }

    .footer-quote {
      margin: 0;
      padding: 0;
      border: 0;
      max-width: 36rem;
    }

    .footer-quote p {
      margin: 0;
      font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
      font-size: clamp(1.05rem, 2.8vw, 1.3rem);
      font-weight: 600;
      line-height: 1.65;
      color: #fde68a;
    }

    .footer-bottom {
      margin-top: clamp(28px, 5vw, 36px);
      padding-top: clamp(22px, 4vw, 28px);
      border-top: 1px solid #334155;
      text-align: center;
      max-width: 40rem;
      margin-left: auto;
      margin-right: auto;
    }

    .footer-motto {
      font-size: 0.875rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #94a3b8;
      margin: 0 0 10px;
    }

    .footer-copy {
      font-size: 0.9375rem;
      margin: 0;
      color: #64748b;
      line-height: 1.5;
    }

    @media (max-width: 1100px) and (min-width: 901px) {
      .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }

    @media (max-width: 900px) {
      .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (max-width: 640px) {
      .card, .card.reverse { grid-template-columns: 1fr; }
      .card.reverse .card-img, .card.reverse .card-body { order: 0; }
      .card-body { padding: 20px; }
      .maint-strip { padding: 24px var(--page-pad); }
      .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
      .team-name { font-size: 0.8125rem; }
      .section-head { margin-bottom: 32px; }
      .section-head p { font-size: 1rem; }
      .ballot-panel { padding: 28px var(--page-pad); }
      .cta { padding: 36px var(--page-pad); }
      .faq-item summary { padding: 16px var(--page-pad); }
      .faq-body { padding-left: var(--page-pad); padding-right: var(--page-pad); }
      .hero-views-badge {
        top: calc(var(--nav-h) + 8px);
        right: calc(10px + env(safe-area-inset-right, 0px));
        width: 88px;
        height: 88px;
        padding: 9px 7px;
        gap: 3px;
      }
      .hero-views-badge::before {
        inset: 6px;
      }
      .hero-views-text {
        font-size: 0.52rem;
        letter-spacing: 0.09em;
      }
      .hero-views-number {
        font-size: 1.12rem;
      }
    }

    @media (max-width: 1024px) {
      .nav-links a {
        padding: 8px 8px;
        font-size: 0.8125rem;
      }
      .vote-fab {
        padding: 11px 16px;
        font-size: 0.8125rem;
      }
      .brand-logo {
        font-size: clamp(1.2rem, 4.5vw, 1.72rem);
      }
    }

    @media (max-width: 480px) {
      .hero--with-photo {
        min-height: min(78vh, 560px);
        padding-top: 48px;
      }
      .hero-photo img {
        object-position: center 30%;
      }
      .manifesto-themes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 20rem;
        margin-left: auto;
        margin-right: auto;
      }
      .hero-cta-row .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
      }
      .hero-chips {
        gap: 8px;
      }
      .hero-chip {
        font-size: 0.75rem;
        padding: 8px 12px;
      }
      .wave-bottom svg {
        height: 36px;
      }
    }

    /* FAQ standalone page (faq.html) */
    section#faq {
      scroll-margin-top: calc(var(--nav-h) + 16px);
    }

    .faq-end-quote {
      margin: 40px auto 0;
      padding: 0;
      border: 0;
      max-width: 40rem;
      text-align: center;
    }

    .faq-end-quote p {
      margin: 0;
      font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
      font-size: clamp(1.05rem, 2.8vw, 1.25rem);
      font-weight: 600;
      line-height: 1.65;
      color: var(--green-800);
    }

    .site-footer .footer-tag a {
      color: #cbd5e1;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .site-footer .footer-tag a:hover {
      color: #fde68a;
    }

    /* —— Candidate full profile (candidates/profile.html) —— */
    .profile-page {
      padding: calc(var(--nav-h) + 24px) var(--page-pad) 48px;
      min-height: 50vh;
    }

    .profile-shell {
      max-width: 900px;
      margin: 0 auto;
    }

    .profile-back {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--green-800);
      margin-bottom: 20px;
      text-decoration: none;
    }

    .profile-back:hover {
      text-decoration: underline;
    }

    .profile-noscript {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 18px;
      margin-bottom: 16px;
    }

    .profile-noscript p {
      margin: 0 0 0.65em;
      color: var(--ink-muted);
    }

    .profile-noscript p:last-child {
      margin-bottom: 0;
    }

    .profile-loading {
      margin: 0;
      padding: 32px 20px;
      text-align: center;
      color: var(--ink-muted);
      font-size: 0.9375rem;
    }

    .profile-load-error {
      padding: clamp(24px, 4vw, 36px);
      text-align: left;
    }

    .profile-load-error-title {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--ink);
      margin: 0 0 10px;
    }

    .profile-load-error-detail {
      color: var(--ink-muted);
      margin: 0 0 12px;
      line-height: 1.55;
    }

    .profile-load-error-hint {
      font-size: 0.8125rem;
      color: var(--ink-muted);
      margin: 0;
      line-height: 1.5;
    }

    .profile-load-error-hint code {
      font-size: 0.75rem;
      padding: 2px 6px;
      border-radius: 4px;
      background: var(--surface-soft);
      border: 1px solid var(--border);
    }

    .profile-root {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      overflow: hidden;
    }

    .profile-card {
      padding: clamp(20px, 4vw, 32px);
    }

    .profile-card-grid {
      display: grid;
      grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
      gap: clamp(24px, 5vw, 44px);
      align-items: start;
    }

    .profile-aside {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      min-width: 0;
    }

    .profile-meta-block {
      width: 100%;
      max-width: 280px;
      margin-top: 18px;
      text-align: left;
    }

    .profile-aside .profile-photo-wrap {
      margin: 0;
      width: 100%;
      max-width: 260px;
      align-self: flex-start;
    }

    .profile-meta-block .profile-name {
      margin: 0 0 4px;
    }

    .profile-meta-block .profile-name-hi {
      margin: 0 0 16px;
    }

    .profile-meta-block .profile-address-wrap {
      margin: 0 0 16px;
    }

    .profile-meta-block .profile-phone {
      margin: 0;
    }

    .profile-main {
      min-width: 0;
    }

    .profile-photo-wrap {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      background: linear-gradient(180deg, var(--green-100), #fff);
      aspect-ratio: 1;
      max-width: 260px;
      margin: 0 auto;
    }

    .profile-photo-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    .profile-photo-wrap img.team-img-fill {
      object-fit: fill;
    }

    .profile-ballot {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--green-800);
      color: #fff;
      font-size: 0.9375rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      border: 2px solid #fff;
      z-index: 1;
    }

    .profile-name {
      font-size: clamp(1.35rem, 3.5vw, 1.75rem);
      font-weight: 700;
      color: var(--ink);
      line-height: 1.2;
      margin: 0 0 6px;
    }

    .profile-name-hi {
      font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--green-800);
      margin: 0 0 10px;
    }

    .profile-address-wrap {
      margin: 0 0 18px;
      text-align: left;
    }

    .profile-address-label {
      display: block;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 6px;
    }

    .profile-address.contact-address {
      margin: 0;
    }

    .profile-phone {
      font-size: 0.9375rem;
      margin: 0 0 20px;
      line-height: 1.5;
    }

    .profile-phone-label {
      display: block;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 4px;
    }

    .profile-letter {
      font-size: 0.9375rem;
      line-height: 1.65;
      color: var(--ink);
      text-align: left;
      margin: 0;
    }

    .profile-letter p {
      margin: 0 0 0.85em;
    }

    .profile-letter p:last-child {
      margin-bottom: 0;
    }

    .profile-index {
      padding: clamp(20px, 4vw, 32px);
    }

    .profile-index-title {
      font-size: clamp(1.25rem, 3vw, 1.5rem);
      font-weight: 700;
      color: var(--ink);
      margin: 0 0 8px;
    }

    .profile-index-lead {
      color: var(--ink-muted);
      font-size: 0.9375rem;
      margin: 0 0 24px;
      max-width: 40em;
    }

    .profile-index-list {
      list-style: none;
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
    }

    .profile-index-link {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 14px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--surface-soft);
      text-decoration: none;
      color: var(--ink);
      transition: box-shadow 0.2s, border-color 0.2s;
    }

    .profile-index-link:hover {
      border-color: var(--green-600);
      box-shadow: var(--shadow-md);
      text-decoration: none;
    }

    .profile-index-ballot {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--green-800);
      color: #fff;
      font-size: 0.8125rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .profile-index-thumb {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      object-position: center top;
      flex-shrink: 0;
      border: 2px solid #fff;
      box-shadow: var(--shadow);
    }

    .profile-index-thumb.team-img-fill {
      object-fit: fill;
    }

    .profile-index-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      min-width: 0;
    }

    .profile-index-name {
      font-weight: 700;
      font-size: 0.9375rem;
    }

    .profile-index-hi {
      font-family: 'Noto Sans Devanagari', sans-serif;
      font-size: 0.8125rem;
      color: var(--ink-muted);
    }

    .profile-error {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: clamp(20px, 4vw, 28px);
      box-shadow: var(--shadow);
    }

    .profile-error-inner .profile-error-title {
      font-weight: 700;
      font-size: 1.125rem;
      margin: 0 0 8px;
      color: var(--ink);
    }

    .profile-error-detail,
    .profile-error-hint {
      color: var(--ink-muted);
      margin: 0 0 0.5em;
    }

    .profile-error-list {
      margin: 12px 0 0;
      padding-left: 1.25em;
      color: var(--ink);
    }

    .profile-error-list a {
      font-weight: 600;
    }

    .team-card-actions {
      margin-top: auto;
      padding-top: 14px;
      width: 100%;
    }

    a.btn-team-profile {
      width: 100%;
      min-height: 40px;
      padding: 9px 14px;
      font-size: 0.8125rem;
      border-radius: 12px;
      box-sizing: border-box;
    }

    @media (max-width: 720px) {
      .profile-card-grid {
        grid-template-columns: 1fr;
      }

      .profile-aside {
        align-items: center;
        width: 100%;
      }

      .profile-meta-block {
        max-width: 100%;
        margin-top: 20px;
      }

      .profile-aside .profile-photo-wrap {
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .contact-slider-viewport {
        scroll-behavior: auto;
      }
      .card:hover,
      .team-card:hover,
      .contact-candidate-card:hover,
      .pillar:hover,
      .btn-primary:hover,
      .m-theme:hover {
        transform: none;
      }
      .btn,
      .m-theme {
        transition: none;
      }
    }
