:root {
  color-scheme: light;
  --ink: #10231f;
  --paper: #f4f1e8;
  --map-fill: #dce9df;
  --map-stroke: #607b70;
  --hover: #f8c56b;
  --selected: #ef7041;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, sans-serif;
}

main {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 720px);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  width: min(1120px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px);
}

header p {
  margin: 0 0 8px;
  color: #b94720;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
  line-height: 0.95;
}

#selection {
  margin-top: 20px;
  color: #56655f;
}

india-svg-map {
  display: grid;
  min-height: 560px;
  place-items: center;
}

india-svg-map > svg {
  width: 100%;
  max-height: 82vh;
  overflow: visible;
}

.map-region {
  cursor: pointer;
  outline: none;
}

.map-region path {
  fill: var(--map-fill);
  stroke: var(--map-stroke);
  stroke-width: 1.2;
  transition: fill 140ms ease;
}

.map-region:hover path,
.map-region:focus path,
.map-region.is-hovered path {
  fill: var(--hover);
}

.map-region.is-selected path {
  fill: var(--selected);
}

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

  india-svg-map {
    min-height: 440px;
  }
}
