:root {
  --ink: #272624;
  --muted: #6f6b65;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --orange: #d85d29;
  --orange-dark: #a83f18;
  --line: #cfc9bd;
  --green: #456653;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--orange-dark); }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 12px; }

.site-header {
  border-top: 6px solid var(--orange);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.masthead {
  width: min(var(--max), calc(100% - 40px));
  min-height: 105px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.date-line,
.issue-line,
.eyebrow,
.article-meta,
.card-meta,
.footer-label,
.index-number,
.search-label,
.category-count {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.issue-line { text-align: right; }
.brand { text-align: center; text-decoration: none; line-height: 1; }
.brand strong { display: block; font-size: clamp(31px, 4vw, 55px); font-weight: 400; letter-spacing: 0; }
.brand span { display: block; margin-top: 7px; color: var(--orange-dark); font: 700 10px/1 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }

.nav-wrap { border-top: 1px solid var(--line); }
.site-nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
}
.site-nav a, .search-toggle {
  border: 0;
  background: transparent;
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.search-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.search-toggle::before { content: ""; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; display: block; }
.search-toggle::after { content: ""; width: 6px; height: 1.5px; background: currentColor; transform: translate(-11px, 6px) rotate(45deg); display: block; margin-right: -6px; }

.page-shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, .78fr);
  border-bottom: 1px solid var(--ink);
}
.lead-story { padding: 34px 34px 34px 0; border-right: 1px solid var(--ink); }
.lead-story figure { margin: 0 0 22px; position: relative; }
.lead-story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure-mark {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 10px;
  color: var(--white);
  background: var(--orange);
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { color: var(--orange-dark); font-weight: 700; }
.lead-story h1 { max-width: 890px; margin: 8px 0 12px; font-size: clamp(38px, 5.3vw, 72px); line-height: .98; font-weight: 400; letter-spacing: 0; }
.lead-story h1 a { text-decoration: none; }
.lead-story .dek { max-width: 760px; margin: 0; font-size: 21px; line-height: 1.45; color: #4a4742; }

.guide-rail { padding: 34px 0 34px 34px; }
.guide-rail h2 { margin: 0 0 24px; font-size: 19px; font-weight: 400; font-style: italic; }
.rail-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-top: 1px solid var(--line); text-decoration: none; }
.rail-item:last-child { border-bottom: 1px solid var(--line); }
.index-number { color: var(--orange-dark); padding-top: 4px; }
.rail-item strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 400; }
.rail-item span:last-child { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.35; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 34px 0 14px; border-bottom: 3px solid var(--ink); }
.section-head h2 { margin: 0; font-size: 28px; font-weight: 400; }
.section-head a { font-family: Arial, sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; }

.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 1px solid var(--ink); }
.story-card { grid-column: span 4; padding: 24px 24px 30px; border-right: 1px solid var(--line); }
.story-card:first-child { padding-left: 0; }
.story-card:last-child { padding-right: 0; border-right: 0; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; }
.story-card h3 { margin: 7px 0 9px; font-size: 27px; line-height: 1.08; font-weight: 400; }
.story-card h3 a { text-decoration: none; }
.story-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.card-meta { margin-top: 15px; color: var(--muted); }

.category-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 46px 0 60px; background: var(--ink); color: var(--white); }
.category-link { min-height: 175px; padding: 26px; border-right: 1px solid #5a5752; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; }
.category-link:last-child { border-right: 0; }
.category-link strong { max-width: 260px; font-size: 25px; line-height: 1.15; font-weight: 400; }
.category-link span { color: #d7d2c8; font-family: Arial, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.category-link:hover { background: var(--orange-dark); color: var(--white); }

.site-footer { padding: 42px 0 28px; background: #1f1e1c; color: #ece7dd; }
.footer-grid { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { font-size: 34px; line-height: 1; }
.footer-copy { max-width: 430px; margin: 14px 0 0; color: #c9c3b9; font-size: 15px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { font-size: 15px; }
.footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 34px auto 0; padding-top: 16px; border-top: 1px solid #4d4a45; color: #9f9a91; font: 12px/1.5 Arial, sans-serif; }

.search-panel { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(31,30,28,.96); color: var(--white); overflow-y: auto; }
.search-panel.is-open { display: block; }
.search-inner { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 8vh 0 70px; }
.search-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.search-top h2 { margin: 0; font-size: clamp(32px, 5vw, 55px); font-weight: 400; }
.search-close { width: 42px; height: 42px; border: 1px solid #77736c; background: transparent; color: white; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.search-label { display: block; margin: 38px 0 9px; color: #bbb5aa; }
.search-input { width: 100%; border: 0; border-bottom: 2px solid var(--orange); padding: 14px 0; color: white; background: transparent; font-size: 26px; outline: 0; border-radius: 0; }
.search-results { margin-top: 28px; }
.search-result { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid #595650; text-decoration: none; }
.search-result img { width: 130px; height: 82px; object-fit: cover; }
.search-result strong { display: block; font-size: 22px; line-height: 1.2; font-weight: 400; }
.search-result span { display: block; margin-top: 5px; color: #bdb7ac; font: 12px/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.search-empty { color: #cfc8bc; }

.crumbs { padding: 20px 0; color: var(--muted); font: 12px/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.crumbs a { color: var(--ink); }
.article-header { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 50px; align-items: end; padding: 22px 0 34px; border-bottom: 1px solid var(--ink); }
.article-header h1 { max-width: 850px; margin: 10px 0 18px; font-size: clamp(41px, 6vw, 76px); line-height: .99; font-weight: 400; letter-spacing: 0; }
.article-intro { margin: 0; max-width: 760px; font-size: 21px; line-height: 1.45; color: #4b4843; }
.article-info { padding-left: 24px; border-left: 3px solid var(--orange); color: var(--muted); }
.article-info p { margin: 0 0 9px; font-size: 14px; line-height: 1.45; }
.article-hero { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin: 34px 0 0; }
.article-layout { display: grid; grid-template-columns: 190px minmax(0, 720px) 1fr; gap: 42px; padding: 44px 0 70px; }
.article-aside { align-self: start; position: sticky; top: 20px; padding-top: 8px; }
.article-aside strong { display: block; margin-bottom: 10px; font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.article-aside a { display: block; margin: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.35; }
.article-body { min-width: 0; }
.article-body > p:first-child::first-letter { float: left; margin: 9px 8px 0 0; color: var(--orange-dark); font-size: 72px; line-height: .72; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2 { margin: 2.1em 0 .65em; padding-top: .4em; border-top: 1px solid var(--line); font-size: 34px; line-height: 1.12; font-weight: 400; }
.article-body h3 { margin: 1.65em 0 .5em; font-size: 24px; line-height: 1.2; font-weight: 400; color: var(--orange-dark); }
.article-body h4 { margin: 1.5em 0 .4em; font: 700 14px/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.article-body ul, .article-body ol { margin: 0 0 1.5em; padding-left: 1.25em; }
.article-body li { margin-bottom: .5em; padding-left: .25em; }
.note { margin: 32px 0; padding: 22px 24px; border-left: 4px solid var(--orange); background: #eee9de; }
.note strong { display: block; margin-bottom: 5px; font: 700 12px/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.checklist { margin: 32px 0; padding: 26px; border: 1px solid var(--ink); background: var(--white); }
.checklist h3 { margin-top: 0; color: var(--ink); }
.side-quote { align-self: start; margin-top: 150px; padding-top: 18px; border-top: 4px solid var(--orange); font-size: 22px; line-height: 1.35; font-style: italic; }
.side-quote span { display: block; margin-top: 10px; color: var(--muted); font: 11px/1.4 Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; font-style: normal; }
.medical-note { padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.category-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; padding: 50px 0 32px; border-bottom: 4px solid var(--ink); }
.category-hero h1 { margin: 8px 0 0; font-size: clamp(46px, 7vw, 88px); line-height: .95; font-weight: 400; letter-spacing: 0; }
.category-hero p { max-width: 520px; margin: 0; color: var(--muted); font-size: 19px; }
.listing { margin-bottom: 70px; }
.listing-card { display: grid; grid-template-columns: minmax(230px, 38%) 1fr 85px; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.listing-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.listing-card h2 { margin: 6px 0 10px; font-size: 34px; line-height: 1.08; font-weight: 400; }
.listing-card h2 a { text-decoration: none; }
.listing-card p { margin: 0; color: var(--muted); font-size: 16px; }
.read-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; text-decoration: none; font: 24px/1 Arial, sans-serif; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .masthead { grid-template-columns: 1fr auto; min-height: 86px; }
  .brand { text-align: left; }
  .date-line { display: none; }
  .issue-line { order: 2; }
  .site-nav { justify-content: flex-start; overflow-x: auto; padding: 0 2px; gap: 25px; }
  .site-nav a, .search-toggle { white-space: nowrap; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-story { padding-right: 0; border-right: 0; }
  .guide-rail { padding: 28px 0; border-top: 1px solid var(--ink); }
  .story-card { grid-column: span 6; }
  .story-card:nth-child(2) { padding-right: 0; border-right: 0; }
  .story-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-left: 0; }
  .story-card:last-child img { margin: 0; }
  .article-header { grid-template-columns: 1fr; gap: 25px; }
  .article-info { max-width: 500px; }
  .article-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 30px; }
  .side-quote { display: none; }
  .category-hero { grid-template-columns: 1fr; gap: 20px; }
  .listing-card { grid-template-columns: 260px 1fr; }
  .read-arrow { display: none; }
}

@media (max-width: 650px) {
  .page-shell, .masthead, .site-nav, .footer-grid, .footer-bottom { width: min(100% - 28px, var(--max)); }
  .masthead { min-height: 78px; gap: 10px; }
  .brand strong { font-size: 30px; }
  .brand span { font-size: 8px; }
  .issue-line { font-size: 9px; max-width: 84px; }
  .site-nav { min-height: 76px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; overflow: visible; }
  .site-nav a, .site-nav .search-toggle { min-height: 38px; display: flex; align-items: center; justify-content: center; padding: 7px 5px; border-bottom: 1px solid var(--line); font-size: 10px; text-align: center; white-space: normal; }
  .site-nav a:nth-child(odd) { border-right: 1px solid var(--line); }
  .site-nav .search-toggle::after { transform: translate(-11px, 6px) rotate(45deg); }
  .lead-story { padding-top: 20px; }
  .lead-story h1 { font-size: 42px; }
  .lead-story .dek, .article-intro { font-size: 18px; }
  .story-grid { display: block; }
  .story-card, .story-card:first-child, .story-card:last-child { display: block; padding: 22px 0 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-card:last-child { border-bottom: 0; }
  .story-card h3 { font-size: 25px; }
  .category-strip { grid-template-columns: 1fr; }
  .category-link { min-height: 130px; border-right: 0; border-bottom: 1px solid #5a5752; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .article-header { padding-top: 8px; }
  .article-header h1 { font-size: 44px; overflow-wrap: anywhere; }
  .article-hero { aspect-ratio: 4 / 3; }
  .article-layout { display: block; padding-top: 30px; }
  .article-aside { position: static; margin-bottom: 28px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .article-aside a { display: inline; margin-right: 12px; }
  .article-body h2 { font-size: 30px; }
  .category-hero h1 { font-size: 50px; overflow-wrap: anywhere; }
  .listing-card { grid-template-columns: 1fr; gap: 15px; }
  .listing-card h2 { font-size: 29px; }
  .search-result { grid-template-columns: 92px 1fr; gap: 14px; }
  .search-result img { width: 92px; height: 70px; }
  .search-result strong { font-size: 18px; }
}

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