:root {
  --paper: #f4f1e9;
  --paper-2: #ebe6db;
  --ink: #17211e;
  --muted: #5e6863;
  --line: #c9cec6;
  --white: #fffef9;
  --green: #0b614f;
  --green-dark: #07483c;
  --mint: #b9decf;
  --orange: #d6603c;
  --shadow: 0 16px 50px rgba(23, 33, 30, 0.1);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(244, 241, 233, 0.94);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(23, 33, 30, 0.06);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-link-accent):hover {
  color: var(--green);
}

.nav-link-accent {
  padding: 10px 16px;
  color: var(--white);
  border-radius: 999px;
  background: var(--green);
}

.nav-link-accent:hover {
  background: var(--green-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.masthead {
  padding: 82px 0 72px;
  border-bottom: 1px solid var(--line);
}

.masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 7vw;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.masthead h1 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(48px, 7vw, 96px);
}

.masthead-note {
  padding-left: 26px;
  border-left: 2px solid var(--green);
}

.masthead-note p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

.inline-link,
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 750;
  text-underline-offset: 5px;
}

.articles {
  padding: 88px 0 110px;
}

.section-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-line h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 62px);
}

.section-line > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.section-line > p strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 24px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.post-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.post-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 470px;
  background: var(--green-dark);
}

.post-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.post-card-featured .post-media {
  height: 100%;
  aspect-ratio: auto;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-media img {
  transform: scale(1.025);
}

.post-copy {
  display: flex;
  min-height: 300px;
  padding: 26px;
  flex-direction: column;
}

.post-card-featured .post-copy {
  min-height: 100%;
  padding: clamp(34px, 5vw, 64px);
  color: var(--white);
  justify-content: center;
}

.post-meta {
  display: flex;
  margin-bottom: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-card-featured .post-meta {
  color: var(--mint);
}

.post-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(25px, 2.6vw, 36px);
}

.post-card-featured h2 {
  font-size: clamp(36px, 4.4vw, 58px);
}

.post-copy h2 a {
  text-decoration: none;
}

.post-copy p {
  margin: 0 0 24px;
  color: var(--muted);
}

.post-card-featured .post-copy p {
  color: #d8e6e0;
  font-size: 18px;
}

.read-link {
  margin-top: auto;
  font-size: 14px;
}

.post-card-featured .read-link {
  color: var(--white);
}

.author {
  padding: 100px 0;
  color: var(--white);
  background: var(--ink);
}

.author-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(240px, 0.5fr);
  gap: 54px;
  align-items: center;
}

.author-number {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  border: 1px solid #66716c;
  border-radius: 50%;
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 56px;
}

.author-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
}

.author-copy > p {
  max-width: 700px;
  color: #cbd2ce;
}

.author-copy .author-role {
  color: var(--white);
  font-size: 20px;
}

.author-copy .source-note {
  font-size: 13px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--mint);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--white);
}

.author-side {
  padding: 30px;
  border: 1px solid #49554f;
  border-radius: var(--radius);
}

.author-side span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-side ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.author-side li {
  padding: 10px 0;
  border-top: 1px solid #3f4a45;
}

.site-footer {
  padding: 66px 0 20px;
  color: var(--ink);
  background: var(--mint);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1fr;
  gap: 50px;
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid p {
  max-width: 390px;
}

.footer-grid nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-grid nav a {
  text-underline-offset: 4px;
}

.legal {
  font-size: 13px;
}

.legal strong {
  display: inline-block;
  margin-top: 10px;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  margin-top: 50px;
  padding-top: 18px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(23, 33, 30, 0.25);
  font-size: 12px;
}

.reading-progress {
  position: fixed;
  z-index: 40;
  top: 81px;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}

.article-head {
  max-width: 980px;
  padding-top: 62px;
  padding-bottom: 44px;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  margin-bottom: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  text-underline-offset: 3px;
}

.article-kicker {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-kicker span::after {
  margin-left: 14px;
  color: var(--line);
  content: "/";
}

.article-head h1 {
  max-width: 950px;
  margin-inline: auto;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.5vw, 80px);
}

.article-deck {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 20px;
}

.article-cover {
  overflow: hidden;
  max-height: 680px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper-2);
}

.article-cover img {
  width: 100%;
  height: min(62vw, 680px);
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  gap: 70px;
  padding-top: 74px;
  padding-bottom: 104px;
  justify-content: center;
  align-items: start;
}

.article-content {
  min-width: 0;
  font-size: 18px;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content .lead {
  margin-bottom: 34px;
  font-family: Georgia, serif;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.45;
}

.article-content h2 {
  margin: 64px 0 22px;
  padding-top: 10px;
  font-size: clamp(31px, 4vw, 44px);
}

.article-content h3 {
  margin: 38px 0 12px;
  font-size: 26px;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 30px;
  padding-left: 26px;
}

.article-content li {
  margin: 10px 0;
  padding-left: 5px;
}

.article-content a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.notice {
  margin: 42px 0;
  padding: 26px 30px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #e5eee8;
}

.notice-urgent {
  border-color: var(--orange);
  background: #f5e5df;
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 24px;
}

.notice p {
  margin: 0;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact-grid section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.fact-grid h3 {
  margin-top: 0;
  font-size: 23px;
}

.fact-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.sources {
  margin-top: 70px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.sources h2 {
  margin-top: 0;
  font-size: 32px;
}

.sources li {
  color: var(--muted);
  font-size: 15px;
}

.author-card {
  display: grid;
  margin-top: 70px;
  padding: 32px;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-dark);
}

.author-card h2 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 30px;
}

.author-card p {
  margin-bottom: 10px;
  color: #d8e6e0;
  font-size: 15px;
}

.author-card .eyebrow {
  color: var(--mint);
}

.author-card .inline-link {
  color: var(--white);
}

.author-monogram {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-family: Georgia, serif;
  font-size: 22px;
}

.article-aside {
  position: sticky;
  top: 120px;
}

.aside-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.aside-box p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}

.button-small {
  width: 100%;
  margin-top: 8px;
  color: var(--white);
  background: var(--green);
}

.related {
  padding: 82px 0 100px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-grid a {
  display: flex;
  min-height: 250px;
  padding: 26px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-grid a:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.related-grid time {
  color: var(--muted);
  font-size: 12px;
}

.related-grid strong {
  margin: 20px 0;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
}

.related-grid span {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 82px);
  padding: 80px 20px;
  place-items: center;
  text-align: center;
}

.not-found strong {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: clamp(90px, 20vw, 220px);
  line-height: 0.8;
}

.not-found h1 {
  margin: 30px 0 12px;
  font-size: clamp(38px, 6vw, 68px);
}

.not-found p {
  max-width: 500px;
  margin: 0 auto 28px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .masthead-grid,
  .post-card-featured,
  .author-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .masthead-note {
    max-width: 620px;
  }

  .post-card {
    grid-column: span 6;
  }

  .post-card-featured {
    grid-column: 1 / -1;
  }

  .post-card-featured .post-media {
    min-height: 420px;
  }

  .author-grid {
    grid-template-columns: 150px 1fr;
  }

  .author-number {
    width: 140px;
    height: 140px;
  }

  .author-side {
    grid-column: 2;
  }

  .article-layout {
    gap: 40px;
  }

  .article-aside {
    position: static;
  }

  .aside-box {
    max-width: 760px;
  }

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

  .legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 28px, 1180px);
    --radius: 17px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand b {
    font-size: 13px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 20;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 34px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, serif;
    font-size: 28px;
  }

  .site-nav .nav-link-accent {
    margin-top: 22px;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    text-align: center;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .masthead {
    padding: 58px 0;
  }

  .masthead h1 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .articles,
  .author,
  .related {
    padding: 68px 0;
  }

  .section-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-line > p {
    text-align: left;
  }

  .post-card,
  .post-card-featured {
    display: block;
    grid-column: 1 / -1;
  }

  .post-card-featured .post-media {
    width: 100%;
    height: 300px;
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .post-card-featured .post-copy {
    min-height: 360px;
    padding: 28px;
  }

  .post-copy {
    min-height: 270px;
    padding: 22px;
  }

  .author-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .author-side {
    grid-column: auto;
  }

  .author-number {
    width: 110px;
    height: 110px;
    font-size: 38px;
  }

  .footer-grid,
  .related-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .reading-progress {
    top: 71px;
  }

  .article-head {
    padding-top: 38px;
  }

  .breadcrumbs {
    margin-bottom: 38px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .article-head h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .article-deck {
    font-size: 18px;
  }

  .article-cover {
    width: 100%;
    border-radius: 0;
  }

  .article-cover img {
    height: 72vw;
  }

  .article-layout {
    padding-top: 50px;
    padding-bottom: 72px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-content .lead {
    font-size: 22px;
  }

  .article-content h2 {
    margin-top: 50px;
  }

  .notice,
  .sources,
  .author-card {
    padding: 22px;
  }

  .author-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

