/* ============================================================
   CONSTITUENCY ATLAS DNA — Sanjanatai Harshvardhan Jadhav
   Map-led regional governance design system
   ============================================================ */

:root {
  --ink: #0B1524;
  --ink-2: #172238;
  --paper: #F6F1E7;
  --paper-2: #EFE7D4;
  --cream: #FBF8F1;
  --saffron: #D97A24;
  --saffron-deep: #B3611A;
  --saffron-soft: #F5D9B4;
  --terracotta: #8A3B1E;
  --sage: #3F5B47;
  --rule: #C9B896;
  --rule-soft: #E3D9C0;
  --muted: #6B6455;
  --white: #ffffff;

  --ff-display: "Fraunces", "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --shadow-soft: 0 20px 60px -20px rgba(11, 21, 36, 0.25);
  --shadow-sharp: 0 2px 0 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* -------- Topographic background pattern -------- */
.topo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(ellipse 800px 400px at 15% 20%, rgba(217, 122, 36, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 75%, rgba(11, 21, 36, 0.05) 0%, transparent 60%);
}

.topo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(11, 21, 36, 0.04) 79px, rgba(11, 21, 36, 0.04) 80px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(11, 21, 36, 0.04) 79px, rgba(11, 21, 36, 0.04) 80px);
  opacity: 0.5;
}

/* ============================================================
   COORDINATE BAR (top strip, above nav)
   ============================================================ */
.coord-bar {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 50;
}
.coord-bar span { opacity: 0.75; }
.coord-bar strong { color: var(--saffron); font-weight: 500; letter-spacing: 0.18em; }
.coord-bar .dot { color: var(--saffron); padding: 0 4px; }

@media (max-width: 700px) {
  .coord-bar { font-size: 9.5px; padding: 6px 14px; }
  .coord-bar .coord-hide { display: none; }
}

/* ============================================================
   NAVIGATION — sticky, atlas-style
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}
.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--saffron);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 22px;
  font-style: italic;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--saffron);
  pointer-events: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-role {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--saffron-deep);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-links a {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 14px;
  color: var(--ink);
  position: relative;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.nav-links a .sheet-no {
  color: var(--saffron);
  font-size: 9px;
  opacity: 0.7;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--saffron-deep);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--saffron);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  padding: 11px 18px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.nav-cta .arrow { font-family: var(--ff-body); font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  content: "";
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 1040px) {
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a { justify-content: flex-start; padding: 14px 6px; border-bottom: 1px dashed var(--rule-soft); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ============================================================
   PAGE CONTAINER
   ============================================================ */
main { position: relative; z-index: 1; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.container-tight { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ============================================================
   SECTION HEADER — atlas style
   ============================================================ */
.sheet-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 22px;
}
.sheet-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--saffron);
}
.sheet-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sheet-title em {
  font-style: italic;
  color: var(--saffron-deep);
  font-weight: 500;
}
.sheet-lede {
  font-family: var(--ff-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  max-width: 660px;
  color: var(--ink-2);
  margin-top: 20px;
}

/* ============================================================
   HOMEPAGE HERO — Constituency Atlas
   ============================================================ */
.hero {
  padding: 60px 0 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 50px;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.hero-meta {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta .tick {
  width: 5px; height: 5px;
  background: var(--saffron);
  border-radius: 50%;
}

.hero-headline {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 22px 0 26px;
}
.hero-headline em {
  font-style: italic;
  color: var(--saffron-deep);
  font-weight: 500;
}
.hero-headline .rule-wrap {
  display: inline-block;
  position: relative;
}
.hero-headline .rule-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--saffron);
  opacity: 0.55;
}

.hero-sub {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  max-width: 520px;
  color: var(--ink-2);
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--saffron); color: var(--ink); border-color: var(--saffron); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* Hero numeric ledger */
.hero-ledger {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ledger-item .big {
  font-family: var(--ff-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.ledger-item .big em { color: var(--saffron-deep); font-style: italic; }
.ledger-item .small {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* Hero right — atlas canvas */
.atlas-canvas {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}
.atlas-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(217, 122, 36, 0.10) 49px, rgba(217, 122, 36, 0.10) 50px),
    repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(217, 122, 36, 0.10) 49px, rgba(217, 122, 36, 0.10) 50px);
  opacity: 0.45;
}
.atlas-top {
  position: relative;
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  z-index: 2;
}
.atlas-map {
  position: relative;
  flex: 1;
  padding: 20px 28px;
  z-index: 2;
}
.atlas-map svg { width: 100%; height: 100%; }
.atlas-bottom {
  position: relative;
  z-index: 2;
  padding: 20px 28px 24px;
  border-top: 1px solid rgba(217, 122, 36, 0.3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 10px;
}
.atlas-bottom div { display: flex; flex-direction: column; gap: 4px; }
.atlas-bottom .k { color: var(--saffron); letter-spacing: 0.2em; text-transform: uppercase; font-size: 9px; }
.atlas-bottom .v { color: var(--cream); font-size: 12px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .atlas-canvas { min-height: 520px; }
}

/* ============================================================
   HERO FEATURED PORTRAIT (below hero)
   ============================================================ */
.hero-portrait-row {
  margin-top: 80px;
  padding: 0 28px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.hero-portrait-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 0;
}
.hero-portrait-label .tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 14px;
}
.hero-portrait-label .title {
  font-family: var(--ff-display);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
}
.hero-portrait-label .title em { font-style: italic; color: var(--saffron-deep); }
.hero-portrait-label .note {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
}
.hero-portrait-label.right { text-align: right; align-items: flex-end; }

.portrait-cell {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
}
.portrait-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.portrait-cell::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(246, 241, 231, 0.35);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-portrait-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-portrait-label.right { text-align: left; align-items: flex-start; }
}

/* ============================================================
   SECTION — pillars (Janseva / Vikas / Samvad / Vision)
   ============================================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--cream); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.section-dark { background: var(--ink); color: var(--cream); }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pillar {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 34px 28px;
  background: var(--cream);
  transition: background 0.3s;
  position: relative;
}
.pillar:hover { background: var(--paper-2); }
.pillar .pillar-no {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--saffron-deep);
}
.pillar .pillar-icon {
  width: 54px;
  height: 54px;
  margin: 28px 0 28px;
  color: var(--ink);
}
.pillar .pillar-name {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.pillar .pillar-name em { font-style: italic; color: var(--saffron-deep); }
.pillar .pillar-sub {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 18px;
}
.pillar .pillar-copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.pillar .pillar-cta {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.pillar .pillar-cta:hover { color: var(--saffron-deep); border-color: var(--saffron); }

@media (max-width: 1040px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   SPLIT — image + editorial
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-img {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--ink-2);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  position: absolute;
  inset: 0;
}
.split-img .img-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--ink);
  color: var(--saffron);
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 12px;
  z-index: 3;
  border: 1px solid var(--saffron);
}
.split-copy {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.split-copy h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
}
.split-copy h3 em { font-style: italic; color: var(--saffron-deep); font-weight: 500; }
.split-copy p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.split-copy .quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--saffron);
  padding-left: 20px;
  margin: 24px 0;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 460px; }
  .split-copy { padding: 50px 28px; }
}

/* ============================================================
   DATA BAND — infographic strip
   ============================================================ */
.data-band {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.data-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 59px, rgba(217, 122, 36, 0.08) 59px, rgba(217, 122, 36, 0.08) 60px),
    repeating-linear-gradient(90deg, transparent 0, transparent 59px, rgba(217, 122, 36, 0.08) 59px, rgba(217, 122, 36, 0.08) 60px);
  opacity: 0.5;
}
.data-band-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.data-cell {
  border-left: 1px solid rgba(217, 122, 36, 0.3);
  padding-left: 22px;
}
.data-cell .num {
  font-family: var(--ff-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
}
.data-cell .num em { color: var(--saffron); font-style: italic; }
.data-cell .unit {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin: 10px 0 6px;
}
.data-cell .desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(246, 241, 231, 0.75);
}
@media (max-width: 900px) { .data-band-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .data-band-inner { grid-template-columns: 1fr; } }

/* ============================================================
   GALLERY — atlas-mosaic (varied aspect cells, face-safe)
   ============================================================ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.gal-cell {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.gal-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.7s;
}
.gal-cell:hover img { transform: scale(1.04); }
.gal-cell::after {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(246, 241, 231, 0.2);
  pointer-events: none;
}
.gal-cell .gtag {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--ink);
  color: var(--saffron);
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}

.gc-7-4 { grid-column: span 7; aspect-ratio: 7 / 4; }
.gc-5-4 { grid-column: span 5; aspect-ratio: 5 / 4; }
.gc-4-5 { grid-column: span 4; aspect-ratio: 4 / 5; }
.gc-8-5 { grid-column: span 8; aspect-ratio: 8 / 5; }
.gc-6-4 { grid-column: span 6; aspect-ratio: 6 / 4; }
.gc-3-4 { grid-column: span 3; aspect-ratio: 3 / 4; }
.gc-9-5 { grid-column: span 9; aspect-ratio: 9 / 5; }
.gc-12-5 { grid-column: span 12; aspect-ratio: 12 / 5; }

@media (max-width: 900px) {
  .gal-grid { grid-template-columns: repeat(6, 1fr); }
  .gc-7-4, .gc-5-4, .gc-8-5, .gc-6-4, .gc-9-5 { grid-column: span 6; aspect-ratio: 6 / 4; }
  .gc-4-5, .gc-3-4 { grid-column: span 3; aspect-ratio: 3 / 4; }
  .gc-12-5 { grid-column: span 6; aspect-ratio: 6 / 4; }
}
@media (max-width: 520px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-grid .gal-cell { grid-column: span 1 !important; aspect-ratio: 4 / 3 !important; }
}

/* ============================================================
   TIMELINE (public mandate)
   ============================================================ */
.tl {
  margin-top: 50px;
  position: relative;
  padding-left: 40px;
  border-left: 1px solid var(--rule);
}
.tl-item {
  position: relative;
  padding-bottom: 46px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 6px;
  width: 13px; height: 13px;
  background: var(--saffron);
  border: 2px solid var(--ink);
}
.tl-year {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--saffron-deep);
  text-transform: uppercase;
}
.tl-head {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin: 8px 0 10px;
}
.tl-head em { font-style: italic; color: var(--saffron-deep); }
.tl-body { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); max-width: 700px; }

/* ============================================================
   WARD LIST / DATA TABLE
   ============================================================ */
.ward-list {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.ward-row {
  display: grid;
  grid-template-columns: 100px 1.4fr 1fr 0.8fr;
  gap: 22px;
  padding: 22px 10px;
  border-bottom: 1px solid var(--rule-soft);
  align-items: center;
  transition: background 0.2s;
}
.ward-row:hover { background: var(--cream); }
.ward-row .w-no {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--saffron-deep);
}
.ward-row .w-name {
  font-family: var(--ff-display);
  font-size: 21px;
  font-weight: 500;
}
.ward-row .w-focus {
  font-size: 13.5px;
  color: var(--ink-2);
}
.ward-row .w-metric {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: right;
}
.ward-row .w-metric em { color: var(--saffron-deep); font-size: 18px; font-style: normal; font-family: var(--ff-display); }
@media (max-width: 700px) {
  .ward-row { grid-template-columns: 60px 1fr; }
  .ward-row .w-focus, .ward-row .w-metric { grid-column: span 2; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 40px;
}
.contact-card h4 {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 18px;
}
.contact-card .name {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 18px;
}
.contact-card a.line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  transition: color 0.2s;
}
.contact-card a.line:hover { color: var(--saffron-deep); }
.contact-card a.line .ico {
  width: 36px; height: 36px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.contact-card a.line:hover .ico { background: var(--ink); color: var(--saffron); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--saffron);
}
.contact-form label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
  margin-top: 60px;
}
.foot-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-col h5 {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 18px;
}
.foot-col .foot-brand {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.foot-col .foot-brand em { font-style: italic; }
.foot-col p { font-size: 13.5px; line-height: 1.65; color: rgba(246, 241, 231, 0.7); margin-bottom: 10px; }
.foot-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(246, 241, 231, 0.8);
  padding: 5px 0;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--saffron); }
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.foot-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(246, 241, 231, 0.25);
  color: var(--cream);
  padding: 0;
  transition: all 0.2s;
}
.foot-social a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.foot-bottom {
  max-width: 1440px;
  margin: 50px auto 0;
  padding: 22px 28px 0;
  border-top: 1px solid rgba(217, 122, 36, 0.25);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.6);
}
.foot-bottom a:hover { color: var(--saffron); }

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

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(11, 21, 36, 0.035) 49px, rgba(11, 21, 36, 0.035) 50px),
    repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(11, 21, 36, 0.035) 49px, rgba(11, 21, 36, 0.035) 50px);
}
.page-banner .container { position: relative; z-index: 2; }
.banner-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
}
.banner-right {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.8;
}
.banner-right .k { color: var(--saffron-deep); }
@media (max-width: 800px) {
  .banner-grid { grid-template-columns: 1fr; }
  .banner-right { text-align: left; }
}

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}
.two-col .side {
  position: sticky;
  top: 140px;
}
.two-col h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.two-col h3 em { font-style: italic; color: var(--saffron-deep); }
.two-col p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.two-col .side-label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 12px;
}
.two-col .side-meta {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.two-col .side-meta .m {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.two-col .side-meta .m .k {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.two-col .side-meta .m .v {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col .side { position: static; }
}

/* Initiative cards */
.init-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.init {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 36px 30px;
  background: var(--cream);
  transition: background 0.3s;
}
.init:hover { background: var(--paper-2); }
.init .init-no {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--saffron-deep);
  margin-bottom: 16px;
}
.init .init-icon { width: 44px; height: 44px; color: var(--ink); margin-bottom: 24px; }
.init h4 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.15;
}
.init h4 em { font-style: italic; color: var(--saffron-deep); }
.init p { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 900px) { .init-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .init-grid { grid-template-columns: 1fr; } }

/* Quote block */
.big-quote {
  background: var(--ink);
  color: var(--cream);
  padding: 90px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-quote::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(217, 122, 36, 0.08) 49px, rgba(217, 122, 36, 0.08) 50px);
  opacity: 0.6;
}
.big-quote blockquote {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.25;
}
.big-quote blockquote::before {
  content: "“";
  display: block;
  font-size: 80px;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 10px;
}
.big-quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ============================================================
   PASSWORD ENTRY
   ============================================================ */
.gate-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.gate-left {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: var(--ink);
}
.gate-left::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(217, 122, 36, 0.08) 49px, rgba(217, 122, 36, 0.08) 50px),
    repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(217, 122, 36, 0.08) 49px, rgba(217, 122, 36, 0.08) 50px);
  opacity: 0.55;
}
.gate-left > * { position: relative; z-index: 2; }
.gate-topbar {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
}
.gate-center h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.gate-center h1 em { font-style: italic; color: var(--saffron); font-weight: 500; }
.gate-center p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 20px;
  color: rgba(246, 241, 231, 0.8);
  max-width: 460px;
  margin-bottom: 30px;
}
.gate-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  border: 1px solid var(--saffron);
}
.gate-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  outline: none;
}
.gate-form input::placeholder { color: rgba(246, 241, 231, 0.4); }
.gate-form button {
  background: var(--saffron);
  color: var(--ink);
  border: 0;
  padding: 0 24px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.gate-form button:hover { background: var(--saffron-deep); color: var(--cream); }
.gate-err {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #F5A87E;
  display: none;
}
.gate-err.show { display: block; }
.gate-foot {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
}

.gate-right {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}
.gate-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  position: absolute;
  inset: 0;
}
.gate-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(220deg, rgba(11, 21, 36, 0) 30%, rgba(11, 21, 36, 0.5) 100%);
}
.gate-right .gate-strip {
  position: absolute;
  bottom: 40px; left: 40px; right: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 241, 231, 0.3);
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  z-index: 3;
}
.gate-right .gate-strip span em { color: var(--saffron); font-style: normal; }

@media (max-width: 900px) {
  .gate-body { grid-template-columns: 1fr; }
  .gate-right { min-height: 320px; }
  .gate-left { padding: 40px 28px; gap: 40px; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: all 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

.only-mobile { display: none; }
@media (max-width: 700px) { .only-mobile { display: block; } .only-desktop { display: none; } }
