/* ── tokens ─────────────────────────────────────────────────── */
:root {
  --bg:        #fbf7f1;
  --surface:   #f3ece1;
  --ink:       #211c18;
  --ink-soft:  #6b6054;
  --rule:      #e0d6c6;
  --accent:    #b4452f;   /* terracotta */
  --accent-2:  #1f6f63;   /* teal */
  --her:       #b4452f;   /* Kannur */
  --him:       #1f6f63;   /* Vijayawada */
  --union:     #e0a526;   /* Kolkata */
  --union-ink: #8a6110;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:       #16130f;
    --surface:  #1e1a15;
    --ink:      #f0e9df;
    --ink-soft: #a89a89;
    --rule:     #302a22;
    --accent:   #e4765c;
    --accent-2: #5fb3a4;
    --her:      #e4765c;
    --him:      #5fb3a4;
    --union:    #f2c04e;
    --union-ink: #f2c04e;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-weight: 500; letter-spacing: -0.015em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── hero ───────────────────────────────────────────────────── */
.hero {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 7rem) 1.5rem 3rem;
  text-align: center;
}


.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 10vw, 4.75rem);
  line-height: 1.15;
}

.translit {
  margin: 0.75rem 0 0;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.translit em { color: var(--ink-soft); font-style: italic; }


/* ── sections ───────────────────────────────────────────────── */
main { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

main > section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--rule);
}

main > section:first-child {
  border-top: 0;
  padding-top: 0;
}

main h2 {
  margin: 0 0 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── map ────────────────────────────────────────────────────── */
.indiamap {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}

.land {
  fill: var(--surface);
  stroke: var(--rule);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .land { stroke: #3c342a; }
}

.route {
  fill: none;
  stroke-width: 1.6;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  opacity: 0.8;
}
.route--her { stroke: var(--her); }
.route--him { stroke: var(--him); }

.pin path { stroke: none; }
.pin--her  path { fill: var(--her); }
.pin--him  path { fill: var(--him); }
.pin--union path { fill: var(--union); }
.pin .eye { fill: var(--bg); }

.label {
  fill: var(--ink);
  font-size: 16px;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.label--union { fill: var(--union-ink); font-size: 18px; }
.sub {
  fill: var(--ink-soft);
  font-size: 11px;
  font-family: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sub[text-anchor="end"] { text-anchor: end; }

/* on phones let the map use the full width, gutters included */
@media (max-width: 40rem) {
  .indiamap {
    max-width: none;
    width: calc(100% + 2.5rem);
    margin-inline: -1.25rem;
  }
}
