:root {
  --ink: #252421;
  --paper: #f4f0e7;
  --white: #fffdf7;
  --orange: #e35b24;
  --orange-dark: #ad3e17;
  --sage: #61705a;
  --line: #c9c1b4;
  --muted: #69645d;
  --wrap: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Courier New", Courier, monospace; line-height: 1.55; overflow-x: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input { font: inherit; }
button { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--ink); }
.header-rail { min-height: 130px; display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: baseline; width: max-content; text-decoration: none; font-size: 52px; line-height: .9; letter-spacing: 0; }
.brand span { color: var(--orange); font-size: .42em; font-weight: 700; margin-right: 5px; }
.brand strong { font-weight: 700; }
.brand b { color: var(--orange); font-size: .52em; }
.issue { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); font-size: 12px; line-height: 1.45; text-transform: uppercase; }
.issue span { color: var(--muted); }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.icon-button:hover, .icon-button:focus-visible { background: var(--orange); color: var(--white); border-color: var(--orange); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav .wrap { min-height: 48px; display: flex; align-items: stretch; }
.main-nav a { display: flex; align-items: center; padding: 0 24px; border-right: 1px solid var(--line); font-size: 13px; font-weight: 700; text-decoration: none; }
.main-nav a:first-child { border-left: 1px solid var(--line); }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--ink); color: var(--white); }

.edition-intro { padding: 68px 0 54px; display: grid; grid-template-columns: 170px minmax(0, 1fr) 310px; gap: 38px; align-items: end; }
.section-tag { margin: 0; color: var(--orange-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.edition-intro h1 { margin: 0; max-width: 720px; font-size: clamp(50px, 6.2vw, 86px); line-height: .96; letter-spacing: 0; text-transform: uppercase; }
.edition-intro > p { margin: 0; padding: 20px 0 4px; border-top: 4px solid var(--orange); font-size: 16px; }

.lead-grid { border-top: 1px solid var(--ink); padding-top: 22px; }
.story-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); gap: 34px; padding: 30px 0; border-top: 1px solid var(--line); }
.story-card:first-child { border-top: 0; }
.story-image { overflow: hidden; background: #ddd7cb; }
.story-image img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform 300ms ease; }
.story-image:hover img { transform: scale(1.015); }
.story-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.story-meta { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: start; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.story-meta span { color: var(--orange-dark); font-weight: 700; }
.story-meta a { font-weight: 700; }
.story-meta time { text-align: right; }
.story-copy h2 { margin: 26px 0 14px; font-size: 27px; line-height: 1.12; letter-spacing: 0; }
.story-copy h2 a { text-decoration: none; }
.story-copy h2 a:hover { color: var(--orange-dark); }
.story-copy > p { margin: 0 0 22px; color: #4b4842; font-size: 14px; }
.read-link { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--orange); }
.read-link svg, .principles a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform 180ms ease; }
.read-link:hover svg, .principles a:hover svg { transform: translateX(4px); }
.story-card--featured { grid-template-columns: minmax(0, 1.55fr) minmax(330px, .65fr); gap: 46px; border: 0; padding: 0 0 76px; }
.story-card--featured .story-image img { aspect-ratio: 1.62 / 1; }
.story-card--featured .story-copy { padding-top: 10px; }
.story-card--featured .story-copy h2 { font-size: 36px; }

.latest { padding: 62px 0 88px; border-top: 8px solid var(--ink); }
.section-head { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 38px; align-items: baseline; margin-bottom: 28px; }
.section-head span { color: var(--orange-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.section-head h2 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: 0; }
.story-list { margin-left: 208px; }
.story-list .story-card { grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr); }
.story-list .story-image img { aspect-ratio: 4 / 3; }

.principles { background: var(--sage); color: var(--white); }
.principles-grid { min-height: 260px; display: grid; grid-template-columns: 170px 1fr 1fr; grid-template-rows: auto auto; gap: 28px 38px; align-items: center; padding-block: 52px; }
.principles-grid > span { align-self: start; font-size: 12px; text-transform: uppercase; }
.principles-grid strong { font-size: 29px; line-height: 1.12; }
.principles-grid p { margin: 0; max-width: 410px; }
.principles-grid a { grid-column: 2; display: inline-flex; align-items: center; width: max-content; gap: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--white); }

.site-footer { background: var(--ink); color: var(--white); }
.footer-grid { min-height: 300px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 60px; align-items: start; padding-block: 64px; }
.footer-brand { color: var(--orange); font-size: 31px; font-weight: 700; text-decoration: none; }
.footer-grid > div p { max-width: 420px; color: #c8c3ba; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.copyright { margin: 0; color: #aaa59d; font-size: 11px; text-align: right; text-transform: uppercase; }

.search-dialog { width: min(880px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid var(--ink); background: var(--white); color: var(--ink); }
.search-dialog::backdrop { background: rgba(37, 36, 33, .78); }
.search-shell { padding: 28px; }
.search-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.search-form { padding: 30px 0 20px; }
.search-form label { display: block; margin-bottom: 12px; font-size: 24px; font-weight: 700; }
.search-entry { display: grid; grid-template-columns: 1fr auto; }
.search-entry input { min-width: 0; padding: 15px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 0; }
.search-entry button { padding: 0 24px; border: 1px solid var(--ink); border-left: 0; background: var(--orange); color: var(--white); font-weight: 700; cursor: pointer; }
.search-status { min-height: 24px; color: var(--muted); font-size: 12px; }
.search-results { display: grid; max-height: 44vh; overflow-y: auto; border-top: 1px solid var(--line); }
.search-result { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result img { width: 82px; height: 62px; object-fit: cover; }
.search-result small { display: block; color: var(--orange-dark); font-size: 10px; text-transform: uppercase; }
.search-result strong { display: block; margin: 3px 0; line-height: 1.2; }
.search-result p { margin: 0; color: var(--muted); font-size: 12px; }

.breadcrumbs { display: flex; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.article-header { padding: 56px 0 36px; border-bottom: 1px solid var(--line); }
.article-heading { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 80px; align-items: end; padding-top: 56px; }
.article-heading h1 { max-width: 860px; margin: 14px 0 20px; font-size: clamp(40px, 5.2vw, 68px); line-height: .98; letter-spacing: 0; }
.dek { max-width: 820px; margin: 0; color: #4c4943; font-size: 18px; line-height: 1.5; }
.article-heading dl { margin: 0; border-top: 4px solid var(--orange); }
.article-heading dl div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.article-heading dt { color: var(--muted); text-transform: uppercase; }
.article-heading dd { margin: 0; }
.article-hero { margin-top: 34px; }
.article-hero img { aspect-ratio: 16 / 8.4; object-fit: cover; }
.article-hero figcaption { padding-top: 8px; color: var(--muted); font-size: 10px; text-align: right; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 70px; justify-content: center; padding: 68px 0 94px; }
.article-aside { align-self: start; position: sticky; top: 20px; border-top: 4px solid var(--ink); padding-top: 14px; font-size: 11px; }
.article-aside > span { color: var(--orange-dark); font-weight: 700; text-transform: uppercase; }
.article-aside nav { display: grid; gap: 10px; margin: 18px 0 26px; }
.article-aside nav a { color: #55514b; line-height: 1.3; }
.article-aside p { color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.article-body { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.76; }
.article-body .intro { margin-top: 0; font-family: "Courier New", Courier, monospace; font-size: 21px; line-height: 1.55; }
.article-body h2, .article-body h3, .article-body h4 { font-family: "Courier New", Courier, monospace; letter-spacing: 0; scroll-margin-top: 24px; }
.article-body h2 { margin: 66px 0 18px; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 30px; line-height: 1.12; }
.article-body h3 { margin: 38px 0 12px; color: var(--orange-dark); font-size: 21px; line-height: 1.2; }
.article-body h4 { margin: 32px 0 8px; font-size: 17px; text-transform: uppercase; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 20px 0 28px; padding-left: 28px; }
.article-body li { padding-left: 6px; margin-bottom: 10px; }
.article-body strong { color: var(--ink); }
.related { padding: 68px 0 90px; border-top: 8px solid var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.related-grid .story-card { grid-template-columns: 1fr; align-content: start; border: 0; }
.related-grid .story-image img { aspect-ratio: 16 / 9; }

.category-header { display: grid; grid-template-columns: 170px minmax(0, 1fr) 240px; gap: 38px; align-items: end; padding: 72px 0 56px; border-bottom: 8px solid var(--ink); }
.category-header h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 6vw, 78px); line-height: .96; letter-spacing: 0; }
.category-header > p:not(.section-tag) { margin: 0; font-size: 15px; }
.category-header > span { grid-column: 2; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.category-list { padding: 34px 0 92px; }
.category-list .story-card { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
.category-list .story-image img { aspect-ratio: 16 / 10; }

@media (max-width: 920px) {
  :root { --wrap: min(100% - 36px, 760px); }
  .edition-intro { grid-template-columns: 120px 1fr; }
  .edition-intro > p { grid-column: 2; }
  .story-card--featured { grid-template-columns: 1fr; }
  .story-list { margin-left: 0; }
  .principles-grid { grid-template-columns: 120px 1fr; }
  .principles-grid p { grid-column: 2; }
  .article-heading { grid-template-columns: 1fr; gap: 36px; }
  .article-heading dl { max-width: 440px; }
  .article-layout { grid-template-columns: 1fr; max-width: 720px; }
  .article-aside { position: static; }
  .article-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-header { grid-template-columns: 120px 1fr; }
  .category-header > p:not(.section-tag) { grid-column: 2; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 28px); }
  .header-rail { min-height: 96px; grid-template-columns: 1fr 44px; gap: 14px; }
  .brand { font-size: 38px; }
  .issue { display: none; }
  .main-nav { overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav .wrap { width: max-content; min-width: 100%; margin: 0; }
  .main-nav a { min-height: 46px; padding: 0 16px; white-space: nowrap; font-size: 11px; }
  .edition-intro { display: block; padding: 44px 0 34px; }
  .edition-intro h1 { margin: 16px 0 26px; font-size: 46px; overflow-wrap: anywhere; }
  .edition-intro > p { font-size: 14px; }
  .lead-grid { padding-top: 14px; }
  .story-card, .story-card--featured, .story-list .story-card, .category-list .story-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 0 34px; }
  .story-card--featured { padding-bottom: 54px; }
  .story-card--featured .story-copy h2, .story-copy h2 { margin-top: 18px; font-size: 25px; }
  .story-meta { grid-template-columns: 28px 1fr; }
  .story-meta time { display: none; }
  .latest { padding: 46px 0 58px; }
  .section-head { display: block; }
  .section-head h2 { margin-top: 10px; font-size: 23px; }
  .principles-grid { display: block; min-height: 0; }
  .principles-grid strong { display: block; margin: 22px 0; font-size: 25px; }
  .principles-grid p { margin-bottom: 28px; }
  .footer-grid { display: block; min-height: 0; }
  .footer-grid nav { margin: 38px 0; }
  .search-shell { padding: 18px; }
  .search-form label { font-size: 19px; }
  .search-entry { grid-template-columns: 1fr; }
  .search-entry button { min-height: 48px; border-left: 1px solid var(--ink); border-top: 0; }
  .search-result { grid-template-columns: 70px 1fr; }
  .search-result img { width: 70px; height: 58px; }
  .article-header { padding-top: 36px; }
  .article-heading { padding-top: 34px; }
  .article-heading h1 { font-size: 38px; overflow-wrap: anywhere; }
  .dek { font-size: 16px; }
  .article-hero { width: 100%; margin-top: 18px; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .article-hero figcaption { padding-right: 14px; }
  .article-layout { padding: 44px 0 66px; gap: 32px; }
  .article-aside nav { grid-template-columns: 1fr; }
  .article-body { font-size: 17px; line-height: 1.7; }
  .article-body .intro { font-size: 18px; }
  .article-body h2 { margin-top: 52px; font-size: 25px; }
  .article-body h3 { font-size: 20px; }
  .related { padding: 50px 0 60px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-header { display: block; padding: 48px 0 38px; }
  .category-header h1 { margin: 16px 0 26px; font-size: 43px; overflow-wrap: anywhere; }
  .category-header > span { display: block; margin-top: 22px; }
}

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