/* =========================================================
   SUHAS BABAR — MLA KHANAPUR
   Premium Political Leadership Platform
   ========================================================= */

/* ---------- Root Tokens ---------- */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F2EFE8;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --ink-3: #3A3A3A;
  --muted: #6B6B6B;
  --line: #E4E1D9;
  --saffron: #E86B1C;
  --saffron-deep: #C9551A;
  --saffron-soft: #FFF1E6;
  --gold: #B68A3C;

  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

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

/* ---------- Typography ---------- */
.display-xl {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.display-l {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.display-m {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--saffron);
}
.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 300;
  letter-spacing: -0.005em;
}
p { color: var(--ink-3); }

em, .italic {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }
.section-sm { padding: clamp(50px, 6vw, 100px) 0; }
.divider { height: 1px; background: var(--line); width: 100%; }
.saffron { color: var(--saffron-deep); }
.mono { font-family: var(--f-mono); letter-spacing: 0; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding: 14px var(--pad);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-brand-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  color: var(--saffron);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.02em;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.nav-brand-mark::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--saffron);
}
.nav-brand-text small {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 10px 14px;
  position: relative;
  font-weight: 450;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--saffron-deep); }

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-cta:hover { background: var(--saffron-deep); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  position: relative;
  display: block;
  transition: all .3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all .3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    padding: 30px var(--pad);
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links.mobile-open a {
    font-size: 1.4rem;
    font-family: var(--f-display);
    padding: 8px 0;
  }
  .nav-cta.mobile-open { display: inline-block; margin-top: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--saffron-deep); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

/* ---------- Hero — Home ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: end;
  width: 100%;
  padding-right: clamp(0px, 22vw, 320px);
}
@media (max-width: 1200px) {
  .hero-grid { padding-right: 0; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-right: 0; }
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 60px; }
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero-title .row { display: block; overflow: hidden; }
.hero-title .row span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-title .row:nth-child(2) span { animation-delay: .1s; }
.hero-title .row:nth-child(3) span { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-title em {
  color: var(--saffron-deep);
  font-weight: 300;
}
.hero-meta {
  display: grid;
  gap: 28px;
  padding-bottom: 10px;
  opacity: 0;
  animation: fade 1s var(--ease) .6s forwards;
}
@keyframes fade { to { opacity: 1; } }
.hero-meta-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.hero-meta-block:last-child { border-bottom: 1px solid var(--line); }
.hero-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-meta-value {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-aside {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
@media (max-width: 1200px) { .hero-aside { display: none; } }

.hero-flag {
  position: absolute;
  top: 140px;
  right: var(--pad);
  width: clamp(140px, 16vw, 220px);
  aspect-ratio: 3/4;
  background: var(--saffron);
  overflow: hidden;
  opacity: 0;
  animation: fadeSlide 1.2s var(--ease-out) .4s forwards;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-flag::before {
  content: "MLA · 2024";
  position: absolute;
  bottom: 20px; left: 20px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}
@media (max-width: 1200px) { .hero-flag { display: none; } }

/* ---------- Image Cards / Media ---------- */
.media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-alt);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease);
}
.media-tall { aspect-ratio: 3/4; }
.media-square { aspect-ratio: 1/1; }
.media-wide { aspect-ratio: 16/9; }
.media-portrait { aspect-ratio: 4/5; }
.media-cinema { aspect-ratio: 21/9; }
.media:hover img { transform: scale(1.04); }

/* Smart positioning for faces — default top-center,
   but we never zoom/crop faces. object-fit is contain in gallery items. */
.media-full {
  width: 100%;
  background: var(--ink);
  overflow: hidden;
}
.media-full img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  padding: 24px 0;
}
.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: slide 40s linear infinite;
  align-items: center;
}
.marquee-item {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 80px;
}
.marquee-item::after {
  content: "✦";
  color: var(--saffron);
  font-size: 1rem;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Split Section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split > * { padding: clamp(40px, 6vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.split-media { padding: 0 !important; }
.split-media .media { height: 100%; min-height: 520px; }
.split-ink { background: var(--ink); color: #fff; }
.split-ink p { color: rgba(255,255,255,0.75); }
.split-ink .eyebrow { color: var(--saffron); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media .media { min-height: 360px; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 50px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat-num sup {
  font-size: 0.4em;
  color: var(--saffron-deep);
  vertical-align: super;
  font-weight: 500;
  margin-left: 4px;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
}

/* ---------- Pillars / Cards ---------- */
.pillar {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  transition: all .5s var(--ease);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.pillar:hover { border-color: var(--ink); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 24px;
}
.pillar h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.pillar p { font-size: 0.95rem; color: var(--ink-3); line-height: 1.6; }
.pillar-foot {
  margin-top: 24px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 500;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: 20px; bottom: 20px;
  width: 1px; background: var(--line);
}
.tl-item {
  position: relative;
  padding: 20px 0 60px 40px;
  border-bottom: 1px dashed var(--line);
}
.tl-item:last-child { border-bottom: none; padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 28px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 5px var(--bg);
}
.tl-year {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--saffron-deep);
  margin-bottom: 10px;
  font-weight: 500;
}
.tl-item h3 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.tl-item p { font-size: 1rem; max-width: 620px; }

/* ---------- Page Header ---------- */
.page-hero {
  padding-top: 200px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 500;
  margin-bottom: 28px;
}
.page-hero-label::before {
  content: ""; width: 40px; height: 1px; background: var(--saffron);
}
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 14ch;
}
.page-hero h1 em { color: var(--saffron-deep); font-weight: 300; }
.page-hero-meta {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.page-hero-meta > div {
  font-size: 0.85rem;
  color: var(--muted);
}
.page-hero-meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 4px;
}

/* ---------- Gallery ---------- */
.gallery-masonry {
  column-count: 3;
  column-gap: 20px;
}
@media (max-width: 900px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 600px) { .gallery-masonry { column-count: 1; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.5), transparent 50%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item-label {
  position: absolute;
  left: 20px; bottom: 16px;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(10px);
  transition: all .5s var(--ease);
  z-index: 2;
  max-width: calc(100% - 40px);
}
.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background .3s var(--ease);
}
.lightbox-close:hover { background: var(--saffron); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: all .3s var(--ease);
}
.lightbox-nav:hover { background: var(--saffron); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ---------- News / Updates ---------- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 120px 1.2fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.news-item:hover { background: var(--bg-alt); padding-left: 20px; padding-right: 20px; }
.news-date {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.news-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.news-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 500;
}
.news-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .4s var(--ease);
}
.news-item:hover .news-arrow { transform: rotate(-45deg); background: var(--saffron-deep); }
@media (max-width: 900px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .news-arrow { display: none; }
}

/* ---------- Contact / Forms ---------- */
.form {
  display: grid;
  gap: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  outline: none;
  font-size: 1.05rem;
  font-family: var(--f-sans);
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--saffron); }
.field textarea { resize: vertical; min-height: 140px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 90px var(--pad) 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron), transparent);
}
.footer-mark {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 50px;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.footer-mark em { display: inline; }
.footer-mark em { color: var(--saffron); font-weight: 300; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-bottom: 24px;
}
.footer ul li { margin-bottom: 12px; font-size: 0.95rem; }
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: var(--saffron); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-credit a { color: var(--saffron); text-decoration: none; }
.footer-credit a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all .3s var(--ease);
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Entry Gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  color: #fff;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 40px;
  overflow: hidden;
}
.gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(232,107,28,0.18), transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(201,85,26,0.12), transparent 60%);
  pointer-events: none;
}
.gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  pointer-events: none;
}
.gate-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.85);
}
.gate-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 12px var(--saffron);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.gate h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.gate h1 em { color: var(--saffron); font-weight: 300; }
.gate-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 50px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.gate-input {
  position: relative;
  margin-bottom: 20px;
}
.gate-input input {
  width: 100%;
  padding: 22px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  font-family: var(--f-mono);
  text-align: center;
  outline: none;
  transition: all .4s var(--ease);
}
.gate-input input::placeholder {
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.gate-input input:focus {
  border-color: var(--saffron);
  background: rgba(232,107,28,0.06);
  box-shadow: 0 0 0 4px rgba(232,107,28,0.08);
}
.gate-input.error input {
  border-color: #E2574C;
  animation: shake .4s ease;
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
.gate-btn {
  width: 100%;
  padding: 20px;
  background: var(--saffron);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  transition: all .3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.gate-btn:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.gate-err {
  color: #E2574C;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  height: 20px;
  margin-top: 14px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gate-err.show { opacity: 1; }
.gate-foot {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.gate.exit { animation: gateExit 1s var(--ease-out) forwards; }
@keyframes gateExit {
  to {
    opacity: 0;
    transform: scale(1.04);
    visibility: hidden;
  }
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- Constituency Map Section ---------- */
.map-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } }
.map-panel {
  padding: clamp(32px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-visual {
  background: var(--ink);
  color: #fff;
  padding: clamp(40px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.map-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(232,107,28,0.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.02), transparent);
}
.map-coords {
  position: relative;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 30px;
}
.map-city {
  position: relative;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.map-city em { color: var(--saffron); font-weight: 300; }
.map-info {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.map-info > div small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.map-info > div strong {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
}

/* ---------- Quote ---------- */
.quote-section {
  padding: clamp(80px, 10vw, 160px) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute;
  top: -40%; left: -10%;
  width: 70%; height: 180%;
  background: radial-gradient(ellipse, rgba(232,107,28,0.12), transparent 60%);
  pointer-events: none;
}
.quote {
  position: relative;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad);
  z-index: 2;
}
.quote em { color: var(--saffron); font-weight: 300; }
.quote-cite {
  margin-top: 50px;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-cite::before { content: ""; width: 30px; height: 1px; background: var(--saffron); }

/* ---------- Electoral Chart ---------- */
.chart {
  display: grid;
  gap: 20px;
  padding: 40px 0;
}
.bar {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
}
.bar-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.bar-track {
  background: var(--bg-alt);
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  background: var(--ink);
  width: 0;
  transition: width 2s var(--ease-out);
  border-radius: 4px;
}
.bar-fill.saffron { background: var(--saffron); }
.bar-val {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 70px;
  text-align: right;
}
@media (max-width: 700px) {
  .bar { grid-template-columns: 1fr; gap: 6px; }
  .bar-val { text-align: left; }
}

/* ---------- Mission cards ---------- */
.mission {
  padding: 60px 40px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  transition: background .5s var(--ease);
  border: 1px solid transparent;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mission:hover { background: var(--ink); color: #fff; }
.mission:hover h3 { color: #fff; }
.mission:hover p { color: rgba(255,255,255,0.7); }
.mission:hover .mission-num { color: var(--saffron); }
.mission-num {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--saffron-deep);
  letter-spacing: -0.04em;
  transition: color .5s var(--ease);
}
.mission h3 {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 30px 0 18px;
  transition: color .5s var(--ease);
}
.mission p { font-size: 0.98rem; line-height: 1.55; transition: color .5s var(--ease); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 68ch; }
.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 80px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Two-column intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 30px; } }
.intro-label { position: sticky; top: 120px; }

/* Page preview row (bottom of each inner page) */
.next-page {
  padding: 80px var(--pad);
  background: var(--bg-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.next-page-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.next-page-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color .3s var(--ease);
}
.next-page a:hover .next-page-title { color: var(--saffron-deep); }
