:root {
  --ink: #0c1b3a;
  --muted: #62708b;
  --paper: #f4f7fb;
  --white: #fff;
  --line: #d8e0ed;
  --blue: #1848cb;
  --blue-dark: #17336f;
  --coral: #ff6f61;
  --signal: #cdf542;
  --blue-wash: #e8eefc;
  --blue-soft: #dfe7fb;
  --surface-raised: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --space-section: clamp(4.5rem, 8vw, 7rem);
  --shadow: 0 18px 50px rgba(21, 48, 105, 0.1);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #fff 0, #f4f7fb 36rem);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.9rem, 7vw, 6.6rem);
  max-width: 13ch;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  max-width: 16ch;
}
h3 {
  font-size: 1.25rem;
}
main {
  overflow: hidden;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 3;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue-dark);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border-radius: 50%;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 1.08rem;
  line-height: 1;
}
.brand small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}
.site-header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-external {
  color: var(--blue);
}
.breadcrumbs {
  max-width: 1280px;
  margin: 1.5rem auto;
  padding: 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breadcrumbs a {
  text-decoration: none;
}
.section-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.edition,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: 64ch;
  color: #3a4966;
}
.actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
}
.button-primary {
  background: var(--blue-dark);
  color: #fff;
}
.button-signal {
  background: var(--signal);
  color: var(--ink);
}
.button:hover {
  transform: translateY(-2px);
}
.text-action {
  font-weight: 900;
  text-underline-offset: 5px;
}
.home-hero,
.city-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.65fr);
  gap: 5rem;
  position: relative;
}
.home-hero {
  background: var(--white);
  border: 1px solid var(--line);
}
.hero-grid-mark {
  position: absolute;
  right: 33%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.hero-grid-mark:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--coral);
  left: -4px;
  top: 25%;
}
.hero-ledger {
  padding: 2rem 0;
  display: grid;
  align-content: start;
  gap: 1.5rem;
}
.hero-ledger > p {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
.hero-ledger > span {
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.metric {
  display: grid;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}
.metric strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}
.metric span {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--muted);
}
.metric small {
  font-size: 0.7rem;
  color: var(--muted);
}
.principles {
  padding-top: 8rem;
  padding-bottom: 8rem;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 6rem;
}
.principles ol,
.prep-section ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.principles li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.principles li > span,
.prep-section li > span {
  font-weight: 900;
  color: var(--coral);
}
.principles li p {
  color: var(--muted);
  margin: 0;
}
.country-section,
.city-ledger,
.fact-section,
.related-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.country-panel {
  background: var(--ink);
  color: #fff;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 180px;
}
.country-code {
  font-size: 0.7rem;
  font-weight: 900;
  border: 1px solid #74809a;
  padding: 0.35rem;
}
.country-panel p,
.country-panel span {
  color: #bac6db;
  font-size: 0.78rem;
  margin: 0;
}
.country-panel h2 {
  font-size: 1.65rem;
  margin: 0.4rem 0;
}
.country-panel h2 a {
  text-decoration: none;
}
.circle-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
}
.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 38ch;
  color: var(--muted);
}
.city-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}
.city-card {
  background: #fff;
  padding: 1.5rem;
  text-decoration: none;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 145px;
}
.city-card:hover {
  background: #edf2ff;
}
.city-card p,
.city-card span {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.city-card h3 {
  margin: 0.35rem 0;
}
.card-index {
  font-family: ui-monospace, monospace;
}
.shift-panel {
  max-width: 1240px;
  margin: 5rem auto;
  background: var(--blue-dark);
  color: #fff;
  padding: 4rem;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 4rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.shift-panel h2 {
  max-width: 18ch;
}
.shift-panel p:not(.section-label) {
  color: #cfdaef;
  max-width: 68ch;
}
.shift-signal {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-left: 1px solid #6174a1;
  border-bottom: 1px solid #6174a1;
  padding: 20px;
}
.shift-signal span {
  width: 25%;
  background: var(--signal);
}
.shift-signal span:nth-child(1) {
  height: 32%;
}
.shift-signal span:nth-child(2) {
  height: 56%;
}
.shift-signal span:nth-child(3) {
  height: 45%;
}
.shift-signal span:nth-child(4) {
  height: 82%;
}
.shift-panel .text-action {
  color: #fff;
}
.editorial-note,
.caveat {
  margin-top: 7rem;
  margin-bottom: 7rem;
  border-top: 5px solid var(--coral);
  background: #fff;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: start;
}
.editorial-note > span,
.caveat > strong {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 900;
}
.editorial-note h2 {
  font-size: 2rem;
}
.faq {
  padding-top: 5rem;
  padding-bottom: 8rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}
.faq-list p {
  color: var(--muted);
  padding-top: 1rem;
}
.page-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.page-intro h1 {
  max-width: 14ch;
}
.atlas-intro,
.archive-intro {
  border-bottom: 1px solid var(--line);
}
.metric-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
}
.metric-ribbon .metric {
  padding: 1.5rem;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}
.country-directory,
.archive-story {
  padding-top: 5rem;
  padding-bottom: 7rem;
}
.directory-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr auto;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.directory-row h2 {
  font-size: 2rem;
  margin: 0;
}
.directory-row p {
  margin: 0;
  color: var(--muted);
}
.country-hero,
.region-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.region-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem;
  text-decoration: none;
}
.region-card span {
  color: var(--muted);
}
.region-card h3 {
  font-size: 1.5rem;
  margin: 0.8rem 0;
}
.region-note {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.region-note p {
  color: var(--muted);
}
.city-hero {
  background: var(--ink);
  color: #fff;
  border: 1px solid #263a62;
  box-shadow: 0 24px 70px rgba(7, 20, 45, 0.16);
}
.city-hero .hero-lead {
  color: #c7d2e7;
}
.status-line {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.status-line span {
  color: #b8c5dc;
  font-size: 0.8rem;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
}
.city-coordinate {
  display: grid;
  align-content: center;
  text-align: center;
  border: 1px solid #52617f;
  min-height: 250px;
  background:
    linear-gradient(
      90deg,
      transparent 49.8%,
      rgba(82, 97, 127, 0.42) 50%,
      transparent 50.2%
    ),
    linear-gradient(
      transparent 49.8%,
      rgba(82, 97, 127, 0.42) 50%,
      transparent 50.2%
    );
}
.city-coordinate span {
  letter-spacing: 0.3em;
  font-size: 0.75rem;
}
.city-coordinate strong {
  font-size: 4.5rem;
}
.city-coordinate small {
  color: #aab9d5;
}
.city-metrics {
  margin-top: -1px;
  box-shadow: 0 16px 44px rgba(21, 48, 105, 0.08);
}
.city-metrics .metric {
  position: relative;
  min-height: 132px;
  justify-content: end;
  padding: 1.75rem;
  background: var(--surface-raised);
}
.city-metrics .metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.75rem;
  width: 2.25rem;
  height: 4px;
  background: var(--blue);
}
.city-research {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 5rem;
}
.research-heading {
  position: relative;
  align-self: start;
  padding-left: 1.5rem;
  border-left: 4px solid var(--coral);
}
.research-heading h2 {
  margin-bottom: 0;
}
.research-copy p:first-child {
  font-size: 1.35rem;
  color: var(--ink);
}
.research-copy p {
  color: #495975;
  max-width: 68ch;
  margin-bottom: 1.35rem;
}
.research-copy p:last-child {
  margin-bottom: 0;
}
.activity-board {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  box-shadow: var(--shadow);
}
.activity-board > div:first-child p:last-child {
  color: var(--muted);
}
.month-cells {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  align-content: center;
}
.month-visual {
  display: grid;
  align-content: center;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.month-visual > figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}
.month-visual > figcaption strong {
  font-size: 1.75rem;
  line-height: 1;
}
.month-visual > figcaption span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
}
.month-cells span {
  height: 42px;
  background: #d9e0eb;
  border-radius: 2px;
}
.month-cells .filled {
  background: var(--blue);
}
.activity-board dl {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 2rem;
}
.activity-board dl div {
  display: grid;
  gap: 0.25rem;
  padding-right: 1.5rem;
}
.activity-board dl div + div {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}
.activity-board dt {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.activity-board dd {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0;
}
.fact-table {
  margin-top: 3rem;
  border-bottom: 1px solid var(--line);
}
.fact-table article {
  display: grid;
  grid-template-columns: 70px 1fr 1.5fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  align-items: start;
}
.fact-table article > span {
  display: grid;
  place-items: center;
  width: 42px;
  min-height: 42px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  font-family: ui-monospace, monospace;
  border-radius: 50%;
}
.fact-table h3 {
  margin: 0.5rem 0 0;
}
.fact-table ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fact-table li {
  background: var(--blue-wash);
  border: 1px solid #cad7f4;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.35;
  border-radius: 999px;
}
.prep-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
}
.prep-section > div > p:last-child {
  color: var(--muted);
}
.prep-section li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.prep-section li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 50%;
  font-family: ui-monospace, monospace;
}
.prep-section li h3 {
  margin-bottom: 0.5rem;
}
.prep-section li p {
  color: var(--muted);
  margin: 0;
}
.prose {
  max-width: 860px;
  padding-top: 1rem;
  padding-bottom: 6rem;
}
.prose h2 {
  font-size: 2rem;
  margin-top: 3.5rem;
}
.prose p {
  font-size: 1.08rem;
  color: #45536d;
}
.prose a {
  font-weight: 900;
}
.archive-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.archive-story > div {
  padding: 2rem;
  background: #fff;
  border-top: 4px solid var(--blue);
}
.archive-story span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 900;
}
.archive-story h2 {
  font-size: 1.7rem;
  margin-top: 2rem;
}
.archive-story p {
  color: var(--muted);
}
.archive-action {
  margin-top: 2rem;
  margin-bottom: 7rem;
  background: #dfe7fb;
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.site-footer {
  background: #07142d;
  color: #fff;
  padding: 5rem max(5vw, 2rem) 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
}
.site-footer > div:not(.footer-lead) {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer > div > strong {
  color: #a7b7d5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
}
.footer-lead p {
  color: #a7b7d5;
  max-width: 40ch;
  margin-top: 1.5rem;
}
.brand-footer .brand-mark {
  background: var(--coral);
  color: var(--ink);
}
.brand-footer small {
  color: #a7b7d5;
}
.footer-legal {
  grid-column: 1/-1;
  border-top: 1px solid #30405f;
  padding-top: 2rem;
  color: #8494b3;
  font-size: 0.78rem;
}
.error-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 2rem;
}
.error-page h1 {
  font-size: 4rem;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
.profile-tags li {
  border: 1px solid #cad7f4;
  background: var(--blue-wash);
  color: var(--blue-dark);
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
}
.record-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.record-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue-dark);
  padding: 0;
  min-height: 310px;
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  box-shadow: 0 14px 38px rgba(21, 48, 105, 0.08);
}
.record-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--coral);
  color: var(--ink);
  font-weight: 900;
  font-family: ui-monospace, monospace;
  border-radius: 50%;
}
.record-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.record-grid .job-id {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.record-grid h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0;
  padding: 1.5rem 1.4rem;
}
.record-grid dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: end;
  border-top: 1px solid var(--line);
}
.record-grid dl div {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-height: 78px;
  padding: 1rem 1.4rem;
}
.record-grid dl div:nth-child(even) {
  border-left: 1px solid var(--line);
}
.record-grid dl .record-date {
  grid-column: 1/-1;
  min-height: auto;
  border-top: 1px solid var(--line);
  border-left: 0;
  background: #f9fbff;
}
.record-grid dt {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 900;
}
.record-grid dd {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
}
.archive-comparison {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}
.archive-comparison > div:first-child > p:last-child {
  color: var(--muted);
}
.comparison-table {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.comparison-row {
  display: grid;
  grid-template-columns: 42px minmax(130px, 1fr) minmax(100px, auto) minmax(
      115px,
      auto
    );
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(7, 20, 45, 0.05);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.comparison-row:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(21, 48, 105, 0.12);
  transform: translateY(-2px);
}
.comparison-row.current {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}
.comparison-rank {
  display: grid;
  place-items: center;
  min-height: 54px;
  background: var(--blue-wash);
  color: var(--blue-dark);
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 900;
}
.comparison-city {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  line-height: 1.25;
}
.comparison-metric {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-left: 1px solid var(--line);
}
.comparison-metric b {
  font-size: 1.05rem;
  line-height: 1.15;
}
.comparison-metric small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.comparison-row.current .comparison-rank {
  background: var(--coral);
  color: var(--ink);
}
.comparison-row.current .comparison-metric {
  border-color: #52617f;
}
.comparison-row.current .comparison-metric small {
  color: #cfdaef;
}
@media (max-width: 900px) {
  .site-header {
    height: auto;
    padding: 1rem 1.25rem;
  }
  .site-header nav a:not(.nav-external) {
    display: none;
  }
  .home-hero,
  .city-hero {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
    gap: 2rem;
  }
  .city-coordinate {
    min-height: 190px;
  }
  .hero-grid-mark {
    display: none;
  }
  .principles,
  .faq,
  .city-research,
  .prep-section,
  .region-note,
  .archive-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .country-grid,
  .city-list,
  .region-grid,
  .archive-story,
  .record-grid {
    grid-template-columns: 1fr 1fr;
  }
  .shift-panel {
    grid-template-columns: 120px 1fr;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 2.5rem;
    gap: 2rem;
  }
  .shift-signal {
    height: 130px;
  }
  .metric-ribbon {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: start;
  }
  .directory-row {
    grid-template-columns: 65px 1fr auto;
  }
  .directory-row > p {
    display: none;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-lead,
  .footer-legal {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2.7rem;
  }
  .breadcrumbs {
    padding: 0 1.25rem;
  }
  .section-shell,
  .page-intro,
  .country-hero,
  .region-hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .city-hero {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    padding: 3rem 1.5rem;
  }
  .city-coordinate {
    min-height: 150px;
  }
  .city-coordinate strong {
    font-size: 3.5rem;
  }
  .country-grid,
  .city-list,
  .region-grid,
  .archive-story,
  .record-grid {
    grid-template-columns: 1fr;
  }
  .section-heading,
  .archive-action {
    align-items: start;
    flex-direction: column;
  }
  .shift-panel {
    grid-template-columns: 1fr;
  }
  .shift-signal {
    display: none;
  }
  .editorial-note,
  .caveat {
    grid-template-columns: 1fr;
  }
  .metric-ribbon {
    grid-template-columns: 1fr;
  }
  .metric-ribbon .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .city-metrics .metric {
    min-height: 108px;
    padding: 1.4rem 1.25rem;
  }
  .city-research,
  .record-section,
  .archive-comparison,
  .prep-section,
  .fact-section,
  .related-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .activity-board {
    width: calc(100% - 1.5rem);
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .month-visual {
    padding: 1rem;
  }
  .month-cells {
    gap: 0.4rem;
  }
  .month-cells span {
    height: 32px;
  }
  .activity-board dl {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }
  .activity-board dl div,
  .activity-board dl div + div {
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .fact-table article {
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .fact-table ul {
    grid-column: 2;
  }
  .record-grid article {
    min-height: 0;
  }
  .record-grid dl {
    grid-template-columns: 1fr;
  }
  .record-grid dl div:nth-child(even),
  .record-grid dl .record-date {
    grid-column: 1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .comparison-row {
    grid-template-columns: 38px minmax(0, 1fr) minmax(74px, auto);
    padding: 0.8rem;
    gap: 0.65rem;
  }
  .comparison-rank {
    grid-row: 1/3;
    min-height: 100%;
  }
  .comparison-city {
    grid-column: 2/4;
    align-self: center;
  }
  .comparison-metric {
    grid-row: 2;
    padding: 0.5rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .comparison-metric:nth-of-type(2) {
    grid-column: 2;
  }
  .comparison-metric:nth-of-type(3) {
    grid-column: 3;
    padding-left: 0.75rem;
    border-left: 1px solid var(--line);
  }
  .comparison-row.current .comparison-metric {
    border-top-color: #52617f;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer > div,
  .footer-lead {
    grid-column: 1;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .comparison-row {
    transition: none;
  }
}
