:root {
  --navy: #0f2a5c;
  --navy-deep: #0a1d42;
  --navy-soft: #1d3f7d;
  --gold: #f5b70a;
  --gold-bright: #ffcc2e;
  --gold-soft: #fff3c9;
  --cream: #fffaf0;
  --ink: #14213d;
  --muted: #55607a;
  --line: #e7dfc8;
  --white: #fff;
  --green: #1f9d55;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 42, 92, .12);
  --font: "Sora", "Hind Siliguri", system-ui, sans-serif;
  --font-bn: "Hind Siliguri", "Sora", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[lang="bn"] { font-family: var(--font-bn); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: var(--white); background: var(--navy); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 29, 66, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand-logo { display: grid; place-items: center; width: 46px; height: 50px; padding: 3px; background: var(--white); border-radius: 10px; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .01em; }
.brand-text small { color: var(--gold-bright); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255, 255, 255, .85); font-size: 15px; text-decoration: none; }
.site-nav a:hover { color: var(--gold-bright); }
.site-nav .nav-cta { padding: 9px 16px; color: var(--navy-deep); background: var(--gold-bright); border-radius: 999px; font-weight: 600; }
.site-nav .nav-cta:hover { color: var(--navy-deep); background: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; cursor: pointer; }
.menu-bars { display: grid; gap: 5px; width: 20px; margin: auto; }
.menu-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  background: radial-gradient(120% 90% at 85% 10%, #ffd84d 0%, var(--gold) 45%, #eaa100 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 42, 92, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 92, .35) 1px, transparent 1px),
    radial-gradient(circle, rgba(15, 42, 92, .9) 2px, transparent 2.5px);
  background-size: 64px 64px, 64px 64px, 64px 64px;
  background-position: 0 0, 0 0, 32px 32px;
  mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; }
.kicker { color: var(--navy); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { margin-top: 14px; color: var(--navy-deep); font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.02em; }
.h1-small { display: block; margin-bottom: 8px; color: var(--navy-soft); font-size: .42em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 .accent { color: var(--white); text-shadow: 0 2px 0 rgba(10, 29, 66, .35); }
.term-pill { display: inline-block; margin-top: 18px; padding: 7px 16px; color: var(--white); background: var(--navy); border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.slogan { margin-top: 22px; color: var(--navy-deep); font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--navy); box-shadow: 0 8px 20px rgba(10, 29, 66, .3); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { color: var(--navy-deep); background: rgba(255, 255, 255, .55); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--white); }

.poll-card {
  padding: 30px 28px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(10, 29, 66, .35);
  text-align: center;
}
.poll-label { color: var(--gold-bright); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.poll-date { margin-top: 8px; font-size: 24px; font-weight: 700; }
.poll-time { color: rgba(255, 255, 255, .8); font-size: 17px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.countdown div { padding: 12px 4px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.countdown strong { display: block; color: var(--gold-bright); font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.countdown-status { margin-top: 18px; font-size: 15px; opacity: .9; }
.countdown.is-hidden { display: none; }

/* Sections */
.section { padding: 84px 0; }
.section-tint { background: var(--gold-soft); }
.section-head { margin-bottom: 36px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head-center { text-align: center; }
.eyebrow { color: #b07a00; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section h2 { margin-top: 8px; color: var(--navy-deep); font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.015em; }
.section-sub { margin-top: 8px; color: var(--muted); font-size: 20px; font-weight: 600; }

/* People */
.person { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 42, 92, .18); }
.person-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: #eef1f6; }
.person-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; }
.person h3 { color: var(--navy-deep); font-size: 18px; font-weight: 700; }
.member-id { color: #b07a00; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.position { margin-top: 6px; font-size: 14.5px; font-weight: 600; }
.org { color: var(--navy-soft); font-size: 14.5px; }
.edu { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.role-badge { align-self: flex-start; margin-bottom: 6px; padding: 4px 10px; color: var(--white); background: var(--navy); border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-unopposed { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-unopposed::before { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(31, 157, 85, .18); content: ""; }
.ballot {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  color: var(--white); background: var(--navy);
  border: 3px solid var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(10, 29, 66, .35);
  font-size: 22px; font-weight: 800;
}

.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 28px; }
.lead-chair { border: 2px solid var(--navy); transform: translateY(-14px); }
.lead-chair:hover { transform: translateY(-18px); }
.lead-chair .role-badge { background: #b07a00; }

.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.member .person-photo { aspect-ratio: 1 / 1; }
.member[hidden] { display: none; }
.member.is-highlight { outline: 4px solid var(--gold); outline-offset: 3px; }
.search { display: flex; align-items: center; gap: 10px; width: min(360px, 100%); padding: 0 16px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 42, 92, .15); }
.search input { flex: 1; min-width: 0; height: 48px; color: var(--ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 15px; }
.no-results { margin-top: 24px; color: var(--muted); text-align: center; }

/* Manifesto */
.manifesto { background: var(--cream); }
.pledges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pledges li { display: flex; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.pledge-num { flex: none; display: grid; place-items: center; width: 52px; height: 52px; color: var(--gold-bright); background: var(--navy); border-radius: 14px; font-size: 24px; font-weight: 700; }
.pledges h3 { color: var(--navy-deep); font-size: 20px; font-weight: 700; }
.pledges p { margin-top: 6px; color: #3a4560; font-size: 16px; line-height: 1.75; }

/* Vote */
.vote { color: var(--white); background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); }
.vote-inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
.vote .eyebrow { color: var(--gold-bright); }
.vote h2 { color: var(--white); }
.vote-when { margin-top: 16px; font-size: 19px; }
.vote-when strong { color: var(--gold-bright); }
.vote-note { margin-top: 12px; color: rgba(255, 255, 255, .78); }
.ballot-list { display: grid; gap: 22px; padding: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; }
.ballot-group-label { margin-bottom: 10px; color: var(--gold-bright); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips a { display: grid; place-items: center; width: 52px; height: 52px; color: var(--navy-deep); background: var(--gold-bright); border-radius: 50%; font-size: 19px; font-weight: 800; text-decoration: none; transition: transform .15s, background .15s; }
.chips a:hover, .chips a:focus-visible { background: var(--white); transform: scale(1.08); }

/* Downloads */
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 28px; }
.poster { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
.poster:hover { transform: translateY(-4px); }
.poster img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.poster span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; color: var(--navy-deep); font-weight: 700; }
.poster em { padding: 6px 12px; color: var(--white); background: var(--navy); border-radius: 999px; font-size: 13px; font-style: normal; }

/* Footer */
.site-footer { padding: 40px 0; color: rgba(255, 255, 255, .72); background: var(--navy-deep); font-size: 14px; text-align: center; }
.footer-inner { display: grid; gap: 10px; }
.footer-slogan { color: var(--gold-bright); font-size: 20px; font-weight: 700; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .vote-inner { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .lead-chair { grid-column: 1 / -1; grid-row: 1; max-width: 420px; justify-self: center; transform: none; }
  .lead-chair:hover { transform: translateY(-4px); }
  .pledges { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 60px 0; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-chair { max-width: none; }
  .lead .person-photo { aspect-ratio: 1 / 1; }
  .member-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member .person-body { padding: 14px; }
  .member h3 { font-size: 15.5px; }
  .member .edu { display: none; }
  .ballot { width: 42px; height: 42px; font-size: 17px; top: 10px; right: 10px; }
  .pledges li { flex-direction: column; gap: 12px; padding: 20px; }
  .poster-grid { grid-template-columns: 1fr; }
  .poster img { height: 360px; }
  .countdown strong { font-size: 22px; }
}
@media (max-width: 380px) {
  .member-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
