@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #faf9f5;
  --ink: #193936;
  --muted: #435b55;
  --sea: #32625e;
  --rust: #98502d;
  --tint: #eaf0ec;
  --line: #c7d0c8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { text-wrap: balance; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; width: 100%; height: auto; }
a:focus-visible { outline: 3px solid #bd602d; outline-offset: 5px; }
::selection { color: white; background: #32625e; }
.shell { width: min(100% - clamp(2.4rem, 9vw, 9rem), 86rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .5rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

.mast { border-bottom: 1px solid var(--line); }
.mast-inner, .foot-inner, .next-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.mast-inner { min-height: 5.1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .64rem; flex-shrink: 0; font: 400 clamp(1.6rem, 2.35vw, 2.15rem)/1 var(--serif); letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.wordmark i { font-weight: 400; }
.mark { width: 1.95rem; height: 1.9rem; display: block; position: relative; color: var(--ink); }
.mark::before { content: ""; position: absolute; top: .05rem; left: .34rem; width: 1.28rem; height: .68rem; border-radius: 2rem 2rem 0 0; background: var(--rust); }
.mark::after { content: ""; position: absolute; inset: .85rem 0 .12rem; background: linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px, currentColor 6px 8px, transparent 8px 12px, currentColor 12px 14px, transparent 14px); clip-path: polygon(0 0, 100% 0, 80% 100%, 22% 100%); }
.mast nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(1.2rem, 3vw, 3rem); }
.mast nav a, .footer nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
.mast nav a { padding: .45rem 0; border-bottom: 2px solid transparent; }
.mast nav a:hover, .mast nav a[aria-current="page"] { color: var(--sea); border-color: var(--sea); }

.intro { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.18fr); align-items: center; gap: clamp(2rem, 4.4vw, 5.5rem); }
.home-intro { padding-block: clamp(2.6rem, 4.4vw, 5.2rem) clamp(3rem, 5.2vw, 5.5rem); }
.intro-text { padding-block: .5rem 1.3rem; }
.kicker, .category { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .105em; text-transform: uppercase; color: var(--rust); }
.kicker { display: flex; gap: .75rem; align-items: center; }
.kicker::before { content: ""; display: block; height: 1px; width: 2.05rem; background: currentColor; }
h1 { font-size: clamp(4.6rem, 8vw, 8.25rem); line-height: .93; letter-spacing: -.044em; }
h1 em { color: var(--sea); font-weight: 400; }
.intro h1 { margin: 1.4rem 0 1.5rem; }
.home-intro h1 em { white-space: nowrap; }
.lede { max-width: 35rem; color: var(--muted); font-size: clamp(1.07rem, 1.45vw, 1.28rem); line-height: 1.55; }
.home-intro .lede { max-width: 27em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .72rem 1.45rem; border: 1px solid var(--ink); border-radius: .2rem; background: var(--ink); color: white; font-size: .95rem; font-weight: 600; text-align: center; text-decoration: none; }
.button:hover { background: var(--sea); border-color: var(--sea); }
.intro .button, .missing .button { margin-top: 1.65rem; }
.feature-frame, .card-image { overflow: hidden; background: #d4dfdb; }
.feature-frame { aspect-ratio: 1.39; }
.feature-frame img, .card-image img { width: 100%; height: 100%; object-fit: cover; }
.home-intro .feature-frame img { object-position: 59% 56%; }
figcaption { color: var(--muted); font-size: .81rem; line-height: 1.5; padding-top: .55rem; }
.feature-photo figcaption { text-align: right; }

.explore { padding-block: clamp(3rem, 5vw, 5.8rem); background: var(--tint); }
.explore h2, .next h2, .prose h2 { font-size: clamp(2.65rem, 4.5vw, 4.7rem); line-height: 1.04; letter-spacing: -.033em; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.15rem, 2.2vw, 2.5rem); margin-top: 1.8rem; }
.story-card { display: block; text-decoration: none; }
.card-image { aspect-ratio: 1.62; }
.card-image img { transition: transform .25s ease-out; }
.story-card:hover img { transform: scale(1.025); }
.card-copy { padding-top: 1rem; }
.category { font-size: .78rem; }
.card-copy h3 { font-size: clamp(2rem, 2.9vw, 3rem); line-height: 1.04; letter-spacing: -.026em; margin: .25rem 0 .45rem; }
.story-card:hover h3, .footer nav a:hover, .contents a:hover { text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: 1px; }
.card-copy p, .next p { line-height: 1.55; color: var(--muted); }
.next { padding-block: clamp(2.8rem, 4.8vw, 4.8rem); background: #234946; color: #faf7e9; }
.next h2 { font-size: clamp(2.65rem, 4vw, 4rem); }
.next p { color: #e0e9df; margin-top: .5rem; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); flex-shrink: 0; }
.button-light:hover { color: var(--ink); background: #e6eee6; border-color: #e6eee6; }
.footer { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.footer .wordmark { font-size: 1.63rem; }
.footer p { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.footer nav { justify-content: flex-end; gap: .45rem 1.35rem; }
.footer nav a { font-size: .87rem; }

.article-intro { padding-block: clamp(2.5rem, 4.5vw, 4.7rem); }
.article-intro h1 { font-size: clamp(4.2rem, 7vw, 7.3rem); }
.article-intro .feature-frame { aspect-ratio: 1.77; }
.reading-border { border-top: 1px solid var(--line); }
.reading { display: grid; grid-template-columns: minmax(11rem, .62fr) minmax(0, 2fr); align-items: start; gap: clamp(2rem, 5vw, 7rem); padding-block: clamp(2.9rem, 5vw, 5.5rem); }
.contents { position: sticky; top: 1.6rem; padding-bottom: .5rem; }
.contents h2 { font: 700 .85rem/1.3 var(--sans); color: var(--rust); text-transform: uppercase; letter-spacing: .08em; }
.contents ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.contents a { display: inline-block; padding: .32rem 0; color: var(--muted); font-weight: 500; font-size: .98rem; text-decoration: none; }
.prose { width: min(100%, 46rem); }
.prose section + section { margin-top: clamp(2.1rem, 4vw, 3.4rem); padding-top: clamp(2rem, 3.5vw, 2.8rem); border-top: 1px solid var(--line); }
.prose .kicker { margin: 0 0 .8rem; }
.prose h2 { font-size: clamp(2.35rem, 3.8vw, 3.7rem); }
.prose h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.2; margin-top: 1.55rem; letter-spacing: -.015em; }
.prose p { margin-top: .9rem; color: #344c46; font-size: 1.075rem; line-height: 1.71; }
.prose .kicker { font-size: .82rem; color: var(--rust); }
.prose .text-link { display: inline-block; margin-top: 1rem; color: var(--sea); font-weight: 650; }
.prose p a:hover, .prose .text-link:hover, .credits a:hover { color: var(--rust); }
.inline-photo { margin-top: 1.55rem; }
.inline-photo img { aspect-ratio: 1.9; object-fit: cover; }
.credits ul { padding-left: 1.1rem; line-height: 1.6; }
.credits li + li { margin-top: .5rem; }
.credits p { font-size: .95rem; }
.missing { padding-block: 6rem; }
.missing h1 { margin-block: 1rem; }

@media (max-width: 850px) {
  .mast-inner { min-height: 4.45rem; }
  .foot-inner { align-items: flex-start; }
  .footer nav { max-width: 18rem; }
}
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem 2.2rem; }
  .intro-text { padding: 0; }
  .intro h1 { margin: 1rem 0 .95rem; }
  h1 { font-size: clamp(4.2rem, 12.8vw, 6.8rem); }
  .article-intro h1 { font-size: clamp(3.65rem, 10.7vw, 5.6rem); }
  .intro .button { margin-top: 1.15rem; }
  .feature-frame, .article-intro .feature-frame { aspect-ratio: 1.85; }
  .feature-photo figcaption { text-align: left; }
  .reading { grid-template-columns: 1fr; gap: 2.3rem; }
  .contents { position: static; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .contents ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: .4rem; }
}
@media (max-width: 650px) {
  .mast-inner { flex-wrap: wrap; justify-content: flex-start; gap: .35rem; padding-block: .8rem .6rem; }
  .mast nav { width: 100%; gap: 1.5rem; }
  .mast nav a { font-size: .9rem; padding: .18rem 0; }
  .cards { grid-template-columns: 1fr; gap: 2.1rem; }
  .card-image { aspect-ratio: 1.85; }
  .card-copy { padding-top: .6rem; }
  .next-inner, .foot-inner { flex-direction: column; align-items: flex-start; gap: 1.35rem; }
  .footer nav { max-width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .card-image img { transition: none; }
  .story-card:hover img { transform: none; }
}
