:root {
  color-scheme: light;
  --ink: #171819;
  --muted: #5b6060;
  --paper: #ffffff;
  --soft: #f1f3f0;
  --line: #d9ddda;
  --wine: #8a2439;
  --sage: #5d7365;
  --gold: #d2b16d;
  --night: #171b1d;
  --shell: 1140px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--night);
  color: #fff;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  padding: 25px 0 22px;
  border-bottom: 3px solid transparent;
  color: #e8e9e7;
  font-size: 15px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-bottom-color: var(--gold);
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 116px);
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  object-fit: cover;
}

.hero-shade {
  z-index: -1;
  background: rgba(5, 8, 10, 0.48);
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 72px;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 500;
}

.hero-content > p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: #f1f2f0;
  font-size: 21px;
  line-height: 1.55;
}

.kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero .kicker,
.band-dark .section-label {
  color: var(--gold);
}

.band {
  padding: 88px 0;
}

.band-soft {
  background: var(--soft);
}

.band-dark {
  background: var(--night);
  color: #fff;
}

h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h2 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: 46px;
  line-height: 1.12;
}

h3 {
  margin-bottom: 14px;
  font-size: 27px;
  line-height: 1.2;
}

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: start;
}

.prose p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.district {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.district-number {
  margin: 0 0 62px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 750;
}

.district p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.image-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: center;
}

.image-story figure {
  margin: 0;
}

.image-story img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  object-fit: cover;
}

.image-story-copy h2 {
  font-size: 40px;
}

.feature-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: end;
}

.feature-link h2 {
  margin-bottom: 18px;
}

.feature-link p:not(.section-label) {
  max-width: 690px;
  margin: 0;
  color: #cdd1ce;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 700;
  white-space: nowrap;
}

.light-link {
  color: #fff;
}

.sources {
  padding-top: 58px;
  padding-bottom: 58px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 750;
}

.sources p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.article-shell {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.article-intro {
  padding-top: 76px;
  padding-bottom: 52px;
}

.article-intro .standfirst {
  margin: 0;
  color: #343838;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.5;
}

.article-body {
  padding-bottom: 74px;
}

.article-body h2 {
  margin-top: 68px;
  margin-bottom: 22px;
  font-size: 38px;
}

.article-body h3 {
  margin-top: 38px;
}

.article-body p {
  margin: 0 0 24px;
  color: #373c3c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.8;
}

.article-body .inline-note {
  margin: 46px 0;
  padding: 28px 0 28px 28px;
  border-left: 4px solid var(--sage);
  color: var(--muted);
  font-family: inherit;
  font-size: 16px;
}

.article-figure {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto 70px;
}

.article-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: 680px;
  border-radius: 8px;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.article-next {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid #303638;
  background: var(--night);
  color: #abb0ae;
  font-size: 13px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-wrap p {
  margin: 0;
}

@media (max-width: 820px) {
  .shell,
  .article-shell,
  .article-figure {
    width: min(100% - 32px, var(--shell));
  }

  .site-header,
  .nav-wrap {
    height: auto;
    min-height: 68px;
  }

  .nav-wrap {
    align-items: flex-start;
    padding: 14px 0 0;
  }

  .brand {
    padding-top: 2px;
  }

  .brand > span:last-child {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    padding: 10px 0 15px;
    font-size: 13px;
  }

  .hero {
    height: min(72svh, 620px);
    min-height: 500px;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content > p:last-child {
    font-size: 18px;
  }

  .band {
    padding: 64px 0;
  }

  h2 {
    font-size: 36px;
  }

  .prose-grid,
  .image-story-grid,
  .feature-link {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .district-grid {
    grid-template-columns: 1fr;
  }

  .district {
    min-height: 0;
  }

  .district-number {
    margin-bottom: 28px;
  }

  .image-story-copy h2,
  .article-body h2 {
    font-size: 33px;
  }

  .text-link {
    white-space: normal;
  }

  .article-intro .standfirst {
    font-size: 24px;
  }

  .article-body p {
    font-size: 18px;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .site-nav {
    max-width: 250px;
    justify-content: flex-end;
  }

  .site-nav a {
    text-align: center;
    line-height: 1.25;
  }

  .hero-content h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
