:root {
  --ink: #262625;
  --ink-soft: #45433f;
  --paper: #f7f3ea;
  --paper-deep: #ece5d8;
  --white: #fffdf8;
  --orange: #ee6b24;
  --orange-dark: #b74412;
  --line: #bcb4a7;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--orange-dark); }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 20; padding: .6rem .9rem; background: var(--white); }
.skip-link:focus { left: 8px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { background: var(--ink); color: var(--paper); border-bottom: 6px solid var(--orange); }
.masthead { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand-mark { color: var(--orange); font-size: 2rem; line-height: 1; font-weight: 700; }
.brand-name { font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1; font-weight: 700; }
.brand-domain { color: #c9c2b8; font-size: .68rem; text-transform: uppercase; }
.edition { text-align: right; font-size: .72rem; line-height: 1.5; color: #d8d2c8; }
.edition strong { display: block; color: var(--orange); font-size: .8rem; }
.top-nav { border-top: 1px solid #5d5a55; }
.nav-inner { min-height: 48px; display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a { flex: none; color: var(--paper); font-size: .74rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.nav-inner a:hover, .nav-inner a[aria-current="page"] { color: var(--orange); }
.nav-inner .nav-spacer { flex: 1 0 0; }
.nav-inner .rss-link { color: #cfc8bd; }

.section-label { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.section-label::before { content: ""; width: 34px; height: 6px; background: var(--orange); border-radius: 6px; }
.section-label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.lead-story { background: var(--ink); color: var(--paper); }
.lead-image-link { display: block; height: clamp(280px, 48vw, 560px); overflow: hidden; background: #111; }
.lead-image-link img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; transition: transform .4s ease; }
.lead-image-link:hover img { transform: scale(1.012); }
.lead-copy { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); gap: 48px; padding-block: 34px 40px; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.lead-copy h1 { max-width: 890px; margin: 0; font-size: clamp(2rem, 5vw, 4.9rem); line-height: .98; font-weight: 700; letter-spacing: 0; }
.lead-copy h1 a { text-decoration: none; }
.lead-copy h1 a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--orange); }
.lead-summary { align-self: end; padding-top: 16px; border-top: 6px solid var(--orange); }
.lead-summary p { margin: 0 0 16px; color: #e5ded3; font-size: .95rem; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .7rem; text-transform: uppercase; color: #bdb6ac; }

.latest { padding-block: 66px 76px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.story-card { display: grid; grid-template-columns: 44% 1fr; min-width: 0; gap: 22px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.story-card:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.story-card:nth-child(even) { padding-left: 32px; }
.story-card:nth-last-child(-n+2) { border-bottom: 0; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.story-card .number { color: var(--orange); font-size: .68rem; font-weight: 700; }
.story-card h2 { margin: 9px 0 11px; font-size: clamp(1.18rem, 2vw, 1.75rem); line-height: 1.14; }
.story-card p { margin: 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.55; }
.story-card:hover h2 { text-decoration: underline; text-decoration-color: var(--orange); }

.topics-band { padding-block: 64px; background: var(--orange); color: #1f1e1b; }
.topics-grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 70px; align-items: start; }
.topics-grid h2 { margin: 0; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1; }
.topic-links { display: grid; }
.topic-links a { display: grid; grid-template-columns: 38px 1fr auto; gap: 15px; align-items: baseline; padding: 18px 0; border-top: 2px solid #1f1e1b; text-decoration: none; }
.topic-links a:last-child { border-bottom: 2px solid #1f1e1b; }
.topic-links small { font-size: .65rem; }
.topic-links strong { font-size: 1.05rem; }
.topic-links span { font-size: 1.5rem; }
.topic-links a:hover { color: var(--white); }

.search-band { padding-block: 72px; background: var(--paper-deep); }
.search-layout { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.4fr); gap: 70px; }
.search-layout h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3.8rem); line-height: 1; }
.search-form { display: flex; gap: 10px; }
.search-form input { width: 100%; min-width: 0; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); color: var(--ink); }
.search-form button { min-width: 112px; border: 2px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; }
.search-form button:hover { background: var(--orange); color: var(--ink); }
.search-results { margin-top: 26px; }
.search-results[hidden] { display: none; }
.search-status { margin: 0 0 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.result-item { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.result-item strong { display: block; line-height: 1.25; }
.result-item span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .78rem; }

.site-footer { padding-block: 52px 28px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; }
.footer-wordmark { margin: 0 0 12px; font-size: 2rem; line-height: 1; }
.footer-wordmark span { color: var(--orange); }
.footer-copy { max-width: 38ch; color: #c9c1b7; font-size: .8rem; }
.footer-title { margin: 0 0 12px; color: var(--orange); font-size: .68rem; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: var(--paper); font-size: .78rem; }
.colophon { margin-top: 42px; padding-top: 18px; border-top: 1px solid #55514d; color: #aaa39a; font-size: .65rem; }

.page-head { padding-block: 64px 52px; background: var(--orange); }
.page-head .kicker { margin: 0 0 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.page-head h1 { max-width: 980px; margin: 0; font-size: clamp(2.3rem, 6vw, 5.8rem); line-height: .98; }
.page-head p { max-width: 720px; margin: 20px 0 0; }
.category-feed { padding-block: 58px 80px; }
.category-story { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 42px; padding: 30px 0; border-top: 2px solid var(--ink); text-decoration: none; }
.category-story:last-child { border-bottom: 2px solid var(--ink); }
.category-story img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
.category-story h2 { margin: 8px 0 14px; font-size: clamp(1.55rem, 3vw, 2.8rem); line-height: 1.05; }
.category-story p { max-width: 65ch; margin: 0; color: var(--ink-soft); }
.category-story:hover h2 { text-decoration: underline; text-decoration-color: var(--orange); }

.article-header { padding-block: 56px 44px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: var(--ink-soft); font-size: .7rem; }
.article-header h1 { max-width: 1050px; margin: 0; font-size: clamp(2.35rem, 6vw, 5.7rem); line-height: 1; }
.article-header h1, .page-head h1 { overflow-wrap: break-word; hyphens: auto; }
.article-deck { max-width: 780px; margin: 24px 0 22px; font-size: clamp(1.03rem, 2vw, 1.25rem); line-height: 1.55; color: var(--ink-soft); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: .7rem; text-transform: uppercase; }
.article-hero { width: min(calc(100% - 40px), 1440px); margin: 0 auto; }
.article-hero img { width: 100%; max-height: 760px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.article-layout { display: grid; grid-template-columns: minmax(150px, .38fr) minmax(0, 740px) minmax(140px, .28fr); gap: 42px; justify-content: center; padding-block: 58px 90px; }
.article-aside { font-size: .72rem; }
.article-aside strong { display: block; padding-top: 10px; border-top: 5px solid var(--orange); }
.article-aside p { color: var(--ink-soft); }
.article-body { min-width: 0; font-size: 1.03rem; line-height: 1.82; }
.article-body > p:first-child { margin-top: 0; font-size: 1.18rem; line-height: 1.7; }
.article-body > p:first-child::first-letter { float: left; margin: .09em .12em 0 0; color: var(--orange); font-size: 4.5rem; font-weight: 700; line-height: .78; }
.article-body h2 { margin: 2.4em 0 .55em; font-size: clamp(1.7rem, 4vw, 2.65rem); line-height: 1.08; }
.article-body h3 { margin: 2em 0 .45em; font-size: 1.28rem; line-height: 1.25; }
.article-body h4 { margin: 1.7em 0 .4em; font-size: .85rem; text-transform: uppercase; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li { margin-bottom: .55rem; }
.article-body blockquote { margin: 2.2rem 0; padding: 1.4rem 1.5rem; border-left: 7px solid var(--orange); background: var(--paper-deep); font-size: 1.12rem; line-height: 1.6; }
.article-body .practical { margin: 2.3rem 0; padding: 1.4rem; border: 2px solid var(--ink); border-radius: 6px; }
.article-body .practical h3 { margin-top: 0; }
.article-body table { width: 100%; margin: 2rem 0; border-collapse: collapse; font-size: .82rem; line-height: 1.5; }
.article-body th, .article-body td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { border-bottom: 2px solid var(--ink); }
.reading-next { position: sticky; top: 24px; padding-top: 10px; border-top: 5px solid var(--ink); }
.reading-next a { font-weight: 700; line-height: 1.35; }
.reading-next span { display: block; margin-bottom: 7px; color: var(--orange-dark); font-size: .62rem; text-transform: uppercase; }
.more-reading { padding-block: 58px 72px; background: var(--paper-deep); }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.more-story { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding-top: 18px; border-top: 2px solid var(--ink); text-decoration: none; }
.more-story img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.more-story strong { line-height: 1.3; }
.more-story small { display: block; margin-bottom: 5px; color: var(--orange-dark); text-transform: uppercase; }

@media (max-width: 900px) {
  .lead-copy, .topics-grid, .search-layout { grid-template-columns: 1fr; gap: 26px; }
  .story-card { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 740px); }
  .article-aside { display: none; }
  .reading-next { position: static; margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .masthead { min-height: 72px; }
  .brand-mark { font-size: 1.5rem; }
  .brand-name { font-size: 1.35rem; }
  .brand-domain, .edition { display: none; }
  .nav-inner { gap: 20px; }
  .lead-image-link { height: 230px; }
  .lead-copy { padding-block: 24px 30px; }
  .lead-copy h1 { font-size: 2.35rem; }
  .latest { padding-block: 46px 52px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card, .story-card:nth-child(odd), .story-card:nth-child(even) { grid-template-columns: 42% 1fr; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-card:last-child { border-bottom: 0; }
  .story-card h2 { font-size: 1.05rem; }
  .story-card p { display: none; }
  .topics-band, .search-band { padding-block: 48px; }
  .search-form { display: grid; }
  .search-form button { min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding-block: 46px 38px; }
  .page-head h1 { font-size: 2.55rem; }
  .category-story { grid-template-columns: 1fr; gap: 20px; }
  .article-header { padding-block: 38px 30px; }
  .article-header h1 { font-size: 2.25rem; }
  .article-hero { width: calc(100% - 28px); }
  .article-hero img { aspect-ratio: 4/3; }
  .article-layout { padding-block: 40px 64px; }
  .article-body { font-size: 1rem; }
  .article-body table { display: block; overflow-x: auto; }
  .more-grid { grid-template-columns: 1fr; }
  .more-story { grid-template-columns: 120px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lead-image-link img { transition: none; }
}
