@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("assets/literata.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #e9e9e2;
  --paper-raised: #f5f5ef;
  --ink: #1c1c1a;
  --muted: #62625d;
  --line: #1c1c1a;
  --soft-line: #b9b9b0;
  --accent: #bf3f22;
  --accent-ink: #f9f9f3;
  --road: #1c1c1a;
  --focus: #bf3f22;
  --shadow: rgba(33, 33, 28, 0.16);
  --font-ui: "Space Grotesk", Arial, sans-serif;
  --font-reading: "Literata", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191a19;
    --paper-raised: #242522;
    --ink: #ecece4;
    --muted: #b6b6ae;
    --line: #ecece4;
    --soft-line: #55564f;
    --accent: #f06b47;
    --accent-ink: #151614;
    --road: #ecece4;
    --focus: #f06b47;
    --shadow: rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

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

button {
  border-radius: 0;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

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

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

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

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
  padding: 0 32px;
  border-bottom: 2px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  width: fit-content;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid currentColor;
  font-size: 0.65rem;
  letter-spacing: -0.08em;
  transform: rotate(-4deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.85rem;
  font-weight: 600;
}

.main-nav a {
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.main-nav a:hover {
  text-decoration-color: var(--accent);
}

.header-note {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: calc(100dvh - 70px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(46px, 7vh, 72px) 32px;
}

.hero-copy {
  align-self: center;
  padding-left: clamp(0px, 5vw, 76px);
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4rem, 6.2vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.83;
}

.hero h1 em {
  display: inline-block;
  padding-bottom: 0.08em;
  color: var(--accent);
  font-style: italic;
  font-weight: 430;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-deck {
  max-width: 520px;
  margin: 34px 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.5;
}

.hero-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 6px 6px 0 var(--accent);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--accent);
}

.hero-link:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--accent);
}

.hero-figure {
  width: min(100%, 520px);
  margin: 0;
  justify-self: end;
}

.hero-image-wrap {
  position: relative;
  height: min(65vh, 670px);
  min-height: 470px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--soft-line);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(1.2deg);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.route-stamp {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 74px;
  height: 74px;
  place-content: center;
  border: 3px solid var(--accent-ink);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 0.8;
  text-align: center;
  transform: rotate(-6deg);
}

.hero-figure figcaption,
.detail-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.68rem;
}

.story-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 32px 120px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 580;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

#result-status {
  flex: 0 0 auto;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.route-planner {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(220px, 0.8fr) minmax(230px, 0.7fr);
  gap: 2px;
  margin-bottom: 30px;
  padding: 2px;
  background: var(--road);
}

.control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px 18px;
  background: var(--paper-raised);
}

.control label,
.control-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
}

.input-shell,
.select-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 46px;
  border-bottom: 2px solid var(--line);
}

.input-shell > span {
  font-size: 1.5rem;
  line-height: 1;
}

.input-shell input,
.select-shell select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
}

.input-shell input {
  padding: 0 10px;
}

.input-shell input::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
  font-weight: 430;
}

.input-shell:focus-within,
.select-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 26%, transparent);
}

.input-shell input:focus-visible,
.select-shell select:focus-visible {
  outline: none;
}

.select-shell {
  position: relative;
  grid-template-columns: 1fr auto;
}

.select-shell select {
  appearance: none;
  padding: 0 36px 0 0;
  cursor: pointer;
}

.select-shell span {
  position: absolute;
  right: 3px;
  pointer-events: none;
}

.saved-filter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--line);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.saved-filter:hover,
.saved-filter[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.saved-symbol {
  font-size: 1.35rem;
}

.saved-filter[aria-pressed="true"] .saved-symbol,
.save-item[aria-pressed="true"] .save-icon {
  color: var(--accent);
}

.saved-count {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 0.7rem;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 2px;
  padding: 2px;
  background: var(--road);
}

.story-card {
  position: relative;
  display: grid;
  grid-column: span 4;
  grid-template-rows: auto 1fr;
  min-height: 440px;
  overflow: hidden;
  background: var(--paper-raised);
  animation: block-arrival 540ms both cubic-bezier(0.2, 0.75, 0.2, 1);
  animation-delay: calc(var(--i) * 55ms);
}

.story-card:nth-child(1),
.story-card:nth-child(4),
.story-card:nth-child(7) {
  grid-column: span 7;
}

.story-card:nth-child(2),
.story-card:nth-child(5),
.story-card:nth-child(8) {
  grid-column: span 5;
}

.story-card:nth-child(3) {
  grid-column: span 5;
}

.story-card:nth-child(6) {
  grid-column: span 7;
}

.story-card:nth-child(3n + 1) {
  min-height: 590px;
}

.story-card-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background: var(--soft-line);
}

.story-card:nth-child(3n + 1) .story-card-media {
  min-height: 340px;
}

.story-card:nth-child(3n) .story-card-media {
  order: 2;
}

.story-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid color-mix(in srgb, var(--paper-raised) 82%, transparent);
  pointer-events: none;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.08);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.story-card:hover img,
.story-card:focus-within img {
  transform: scale(1.035);
  filter: grayscale(0) contrast(1.02);
}

.story-card-content {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 38px);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
}

.story-category {
  color: var(--accent);
}

.story-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  font-weight: 570;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.story-card:nth-child(even) .story-title {
  font-family: var(--font-reading);
  font-weight: 520;
  letter-spacing: -0.04em;
}

.story-summary {
  max-width: 55ch;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.open-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-top: auto;
  padding: 15px 0 9px;
  border: 0;
  border-top: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, padding 160ms ease;
}

.open-item:hover {
  padding-left: 8px;
  color: var(--accent);
}

.open-item:active {
  transform: translateY(1px);
}

.card-saved {
  color: var(--accent);
}

.skeleton {
  grid-column: span 4;
  min-height: 440px;
  background: var(--paper-raised);
  opacity: 0.65;
}

.skeleton-wide {
  grid-column: span 8;
}

@media (prefers-reduced-motion: no-preference) {
  .skeleton {
    background-image: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--paper) 80%, var(--ink)) 48%, transparent 61%);
    background-size: 200% 100%;
    animation: skeleton-shift 1.35s infinite linear;
  }
}

.empty-state,
.error-state {
  display: grid;
  min-height: 430px;
  place-items: center;
  align-content: center;
  padding: 50px 24px;
  border: 2px solid var(--line);
  text-align: center;
}

.empty-glyph {
  color: var(--accent);
  font-size: 4rem;
  line-height: 1;
}

.empty-state h3,
.error-state h3 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}

.empty-state p,
.error-state p {
  max-width: 460px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state button,
.error-state button {
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  cursor: pointer;
}

.empty-state button:active,
.error-state button:active {
  transform: translateY(1px);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr) auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding: 100px max(32px, calc((100vw - 1376px) / 2));
  border-top: 2px solid var(--line);
}

.about h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 580;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.about-copy {
  max-width: 500px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-weight: 750;
  transform: rotate(4deg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border-top: 2px solid var(--line);
  font-size: 0.74rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
}

.detail-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}

.detail-dialog::backdrop {
  background: rgba(12, 12, 11, 0.6);
}

.detail-dialog[open] {
  animation: detail-enter 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.detail {
  min-height: 100dvh;
}

.detail-bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 2px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}

.close-detail,
.save-item {
  min-height: 66px;
  padding: 0 28px;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.close-detail {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border-right: 2px solid var(--line);
}

.close-detail span {
  font-size: 1.15rem;
}

.save-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-left: 2px solid var(--line);
}

.close-detail:hover,
.save-item:hover,
.save-item[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.close-detail:active,
.save-item:active {
  transform: translateY(1px);
}

.save-icon {
  font-size: 1.4rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(540px, 1.2fr);
  min-height: calc(100dvh - 68px);
}

.detail-side {
  position: sticky;
  top: 68px;
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  align-self: start;
  height: calc(100dvh - 68px);
  padding: 28px;
  border-right: 2px solid var(--line);
}

.detail-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  margin: 0;
}

.detail-figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
}

.detail-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding-top: 22px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.route-line {
  height: 2px;
  background: var(--accent);
}

.article {
  width: min(100%, 900px);
  padding: clamp(58px, 8vw, 126px) clamp(32px, 8vw, 122px) 120px;
}

.article-header {
  padding-bottom: 46px;
  border-bottom: 2px solid var(--line);
}

.article-category {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article h2 {
  margin: 0;
  font-family: var(--font-reading);
  font-size: clamp(3.2rem, 6vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.article-summary {
  max-width: 640px;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  line-height: 1.5;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
}

.article-byline span:first-child {
  color: var(--ink);
}

.article-body {
  padding-top: 54px;
  font-family: var(--font-reading);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.78;
}

.article-body p {
  max-width: 68ch;
  margin: 0 0 1.5em;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 0.12em 0.12em 0 0;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 4.8em;
  font-weight: 600;
  line-height: 0.7;
}

.article-end {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 68px;
  color: var(--accent);
  font-size: 0.7rem;
}

.article-end span {
  height: 2px;
  background: var(--accent);
}

@keyframes block-arrival {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes skeleton-shift {
  from { background-position: 160% 0; }
  to { background-position: -40% 0; }
}

@keyframes detail-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-note {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 9vw, 5.2rem);
  }

  .hero-figure {
    width: min(78%, 620px);
    justify-self: end;
  }

  .route-planner {
    grid-template-columns: 1fr 1fr;
  }

  .saved-control {
    grid-column: 1 / -1;
  }

  .story-card,
  .story-card:nth-child(n) {
    grid-column: span 6;
    min-height: 480px;
  }

  .story-card:nth-child(3n + 1) .story-card-media {
    min-height: 260px;
  }

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

  .about-mark {
    display: none;
  }

  .detail-layout {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .detail-side {
    padding: 18px;
  }

  .article {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    min-height: 60px;
    padding: 0 16px;
  }

  .wordmark {
    gap: 8px;
    font-size: 0.88rem;
  }

  .wordmark-mark {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.76rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding: 48px 16px 70px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 5.6rem);
    line-height: 0.84;
  }

  .hero-deck {
    margin: 24px 0;
    font-size: 0.96rem;
  }

  .hero-figure {
    width: calc(100% - 14px);
    justify-self: start;
  }

  .hero-image-wrap {
    height: 420px;
    min-height: 0;
    box-shadow: 12px 12px 0 var(--ink);
  }

  .route-stamp {
    right: 16px;
    bottom: 16px;
    width: 62px;
    height: 62px;
  }

  .story-section {
    padding: 74px 16px 84px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(3.2rem, 15vw, 4.3rem);
  }

  #result-status {
    width: fit-content;
    margin-top: 20px;
  }

  .route-planner {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }

  .saved-control {
    grid-column: auto;
  }

  .control {
    padding: 14px 14px 16px;
  }

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

  .story-card,
  .story-card:nth-child(n) {
    grid-column: auto;
    min-height: 0;
  }

  .story-card:nth-child(3n) .story-card-media {
    order: 0;
  }

  .story-card-media,
  .story-card:nth-child(3n + 1) .story-card-media {
    min-height: 225px;
  }

  .story-card-content {
    min-height: 340px;
    padding: 24px 20px;
  }

  .story-title {
    font-size: 2.1rem;
  }

  .story-summary {
    margin: 17px 0 24px;
    font-size: 0.88rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 74px 16px;
  }

  .about h2 {
    font-size: clamp(3.2rem, 15vw, 4.5rem);
  }

  .site-footer {
    display: grid;
    padding: 24px 16px;
  }

  .detail-bar {
    min-height: 58px;
  }

  .close-detail,
  .save-item {
    min-height: 58px;
    padding: 0 14px;
    font-size: 0.7rem;
  }

  .detail-layout {
    display: block;
  }

  .detail-side {
    position: static;
    display: block;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .detail-figure img {
    height: 300px;
  }

  .detail-route {
    padding: 14px 0 2px;
  }

  .article {
    width: 100%;
    padding: 54px 20px 80px;
  }

  .article-header {
    padding-bottom: 34px;
  }

  .article h2 {
    font-size: clamp(3.05rem, 14vw, 4.2rem);
  }

  .article-summary {
    margin: 24px 0;
    font-size: 1.04rem;
  }

  .article-body {
    padding-top: 38px;
    font-size: 1.06rem;
    line-height: 1.72;
  }
}

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

@media (prefers-reduced-transparency: reduce) {
  .detail-bar,
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }
}
