:root {
  --ink: #121417;
  --muted: #687078;
  --line: #d9dde1;
  --soft: #f4f5f6;
  --paper: #ffffff;
  --breaking: #c81422;
  --navy: #101a2b;
  --navy-2: #17243a;
  --accent: #e8b441;
  --max: 1240px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Libre Franklin", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.page-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.topline { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.topline-inner { height: 34px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.topline-center { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.topline-inner > :last-child { text-align: right; }

.masthead { height: 104px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 12px; font: 800 30px/1 var(--display); letter-spacing: -.055em; }
.brand-mark { width: 38px; fill: var(--ink); }
.brand-cut { fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; }
.mast-actions { display: flex; align-items: center; gap: 12px; }
.search-button, .icon-button { background: transparent; border: 0; cursor: pointer; }
.search-button { display: flex; gap: 7px; align-items: center; color: var(--muted); }
.search-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.subscribe-button { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 10px 14px; cursor: pointer; font-size: 12px; font-weight: 700; }
.mobile-only { display: none; }

.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.nav-inner { display: flex; gap: 27px; overflow-x: auto; scrollbar-width: none; }
.nav-link { border: 0; background: transparent; height: 48px; white-space: nowrap; cursor: pointer; padding: 0; font-size: 13px; font-weight: 700; position: relative; padding-top: 15px;}
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); }

.breaking-bar { min-height: 48px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; font-size: 13px; }
.breaking-label { color: var(--breaking); font-weight: 800; letter-spacing: .08em; font-size: 11px; }
.breaking-story { background: transparent; border: 0; text-align: left; cursor: pointer; font-weight: 700; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breaking-time { color: var(--muted); font-size: 11px; }

.market-strip { min-height: 42px; display: flex; align-items: center; gap: 26px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.market-item { white-space: nowrap; font-size: 11px; display: flex; gap: 8px; align-items: baseline; }
.market-item strong { font-size: 10px; letter-spacing: .05em; }
.market-up { color: #137348; } .market-down { color: #a82431; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(280px, .85fr); gap: 38px; padding: 38px 0 42px; border-bottom: 1px solid var(--line); }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.story-card { cursor: pointer; }
.story-card:hover h1, .story-card:hover h3, .latest-item:hover h3, .story-mini:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #dfe3e6; }
.lead-copy { padding-top: 2px; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; line-height: 1.4; font-weight: 800; color: var(--breaking); margin-bottom: 10px; }
.lead-copy h1 { font: 700 clamp(32px, 4vw, 58px)/.98 var(--serif); letter-spacing: -.045em; margin: 0 0 17px; }
.lead-copy .dek { color: #40464c; font: 500 17px/1.45 var(--serif); margin: 0 0 20px; }
.meta { color: var(--muted); font-size: 11px; display: flex; gap: 10px; flex-wrap: wrap; }

.section-heading { display: flex; align-items: center; justify-content: space-between; }
.section-heading h2 { font: 800 18px/1 var(--display); letter-spacing: -.03em; margin: 0; }
.section-heading.rule { border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 22px; }
.section-heading.rule > span { color: var(--muted); font-size: 10px; }
.section-heading.dark { color: white; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 14px; }

.live-dot { color: var(--breaking); font-size: 9px; letter-spacing: .1em; font-weight: 800; }
.live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--breaking); margin-right: 6px; }

.latest-column { border-left: 1px solid var(--line); padding-left: 26px; }
.latest-item { padding: 17px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.latest-item h3 { margin: 0 0 8px; font: 700 19px/1.15 var(--serif); letter-spacing: -.02em; }
.latest-item .latest-meta { color: var(--muted); font-size: 10px; }
.latest-item:first-of-type { margin-top: 7px; }

.section-block { padding: 42px 0; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.story-tile { min-width: 0; }
.story-tile img { aspect-ratio: 16/10; object-fit: cover; margin-bottom: 14px; background: var(--soft); }
.story-tile h3 { font: 700 22px/1.08 var(--serif); letter-spacing: -.025em; margin: 0 0 10px; }
.story-tile p { color: #555d65; font: 500 13px/1.45 var(--serif); margin: 0 0 12px; }

.split-section { display: grid; grid-template-columns: minmax(0, 2fr) minmax(290px, .75fr); gap: 34px; padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.text-link { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 11px; }
.feature-horizontal { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-horizontal img { aspect-ratio: 16/10; object-fit: cover; }
.feature-horizontal h3 { font: 700 34px/1.02 var(--serif); margin: 8px 0 12px; letter-spacing: -.035em; }
.feature-horizontal p { color: var(--muted); font: 500 14px/1.5 var(--serif); }
.trending-panel { background: var(--navy); color: white; padding: 24px 25px 12px; }
.trending-panel ol { list-style: none; margin: 0; padding: 0; counter-reset: trend; }
.trending-panel li { counter-increment: trend; display: grid; grid-template-columns: 30px 1fr; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.15); padding: 18px 0; cursor: pointer; }
.trending-panel li::before { content: counter(trend); color: #8f9bae; font: 700 18px/1 var(--serif); }
.trending-panel h3 { font: 600 17px/1.18 var(--serif); margin: 0; }

.area69-banner { margin: 42px 0 10px; background: #131821; color: white; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.area69-copy { padding: clamp(30px,5vw,66px); align-self: center; }
.area69-copy h2 { font: 700 clamp(34px,4vw,54px)/1.01 var(--serif); letter-spacing: -.04em; margin: 0 0 17px; max-width: 760px; }
.area69-copy p { color: #c5cad0; font: 500 15px/1.55 var(--serif); max-width: 650px; }
.area69-banner img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.outline-button { border: 1px solid #808892; background: transparent; color: white; padding: 11px 14px; cursor: pointer; margin-top: 11px; font-size: 12px; font-weight: 700; }

.sports-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 34px; }
.sport-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.story-mini { cursor: pointer; }
.story-mini img { aspect-ratio: 16/9; object-fit: cover; margin-bottom: 12px; }
.story-mini h3 { font: 700 25px/1.06 var(--serif); margin: 0 0 8px; }
.standings-card { background: var(--soft); padding: 22px; }
.standings-head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 12px; align-items: end; }
.standings-head h3 { margin: 0; font: 800 24px/1 var(--display); }
.standings-head > span { font-size: 10px; color: var(--muted); }
.table-row { display: grid; grid-template-columns: 25px 1fr 30px 35px; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.table-row strong { text-align: right; }

.newsletter { margin: 18px 0 56px; padding: 34px 38px; background: #f1eadc; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.newsletter h2 { margin: 0 0 8px; font: 700 35px/1 var(--serif); }
.newsletter p { max-width: 600px; margin: 0; color: #5d5a54; font: 500 14px/1.5 var(--serif); }
.newsletter-form { display: flex; }
.newsletter-form input { flex: 1; min-width: 0; border: 1px solid #b8b0a2; background: white; padding: 13px; }
.newsletter-form button { border: 0; background: var(--ink); color: var(--paper); padding: 0 19px; font-weight: 700; }

footer { background: var(--navy); color: white; padding: 45px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .65fr .65fr 1.2fr; gap: 35px; }
.footer-brand { font: 800 22px/1 var(--display); letter-spacing: -.04em; margin-bottom: 12px; }
.footer-grid p { color: #aeb6c2; font-size: 12px; line-height: 1.6; margin: 0; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.footer-grid strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.footer-grid span { color: #bec5cf; }
.fiction-note { border-left: 1px solid #384255; padding-left: 25px; }

.article-dialog { width: min(900px, calc(100% - 30px)); max-height: 90vh; border: 0; padding: 0; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.article-dialog::backdrop { background: rgba(4,8,12,.65); backdrop-filter: blur(2px); }
.dialog-close { position: absolute; right: 18px; top: 15px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 24px; z-index: 3; }
.dialog-content { padding: clamp(30px,6vw,72px); }
.dialog-content .article-hero { width: 100%; aspect-ratio: 16/8; object-fit: cover; margin: 28px 0; }
.dialog-content h1 { font: 700 clamp(38px,6vw,68px)/.98 var(--serif); letter-spacing: -.045em; margin: 5px 0 16px; }
.dialog-content .article-dek { color: #4e555d; font: 500 20px/1.4 var(--serif); }
.dialog-content .article-body { max-width: 680px; margin: 30px auto 0; font: 500 18px/1.68 var(--serif); }
.dialog-content .article-body p { margin: 0 0 22px; }
.dialog-content blockquote { border-left: 3px solid var(--ink); padding-left: 22px; margin: 30px 0; font-size: 24px; line-height: 1.35; }

.search-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(13,19,27,.94); padding: 8vh 20px; }
.search-panel { position: relative; width: min(850px,100%); margin: auto; background: white; padding: 45px; max-height: 84vh; overflow: auto; }
.search-panel > input { width: 100%; border: 0; border-bottom: 2px solid var(--ink); padding: 13px 0; font: 600 26px/1 var(--serif); outline: none; margin-bottom: 20px; }
.search-result { padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.search-result h3 { margin: 4px 0; font: 700 19px/1.15 var(--serif); }
.search-result span { font-size: 10px; color: var(--breaking); font-weight: 800; text-transform: uppercase; }

@media (max-width: 980px) {
  .lead-grid, .split-section { grid-template-columns: 1fr; }
  .lead-story { grid-template-columns: 1fr; }
  .latest-column { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .area69-banner { grid-template-columns: 1fr; }
  .area69-banner img { min-height: 300px; max-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sports-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .page-shell { width: min(calc(100% - 26px), var(--max)); }
  .topline-center, .topline-inner > :last-child, .mast-actions .subscribe-button { display: none; }
  .topline-inner { grid-template-columns: 1fr; }
  .masthead { height: 76px; }
  .brand { font-size: 24px; position: absolute; left: 50%; transform: translateX(-50%); }
  .brand-mark { width: 31px; }
  .mobile-only { display: block; }
  .icon-button { width: 31px; padding: 4px 0; }
  .icon-button span { display: block; width: 21px; height: 1px; background: var(--ink); margin: 5px 0; }
  .search-button span { display: none; }
  .main-nav.nav-open .nav-inner { display: flex; }
  .nav-inner { gap: 20px; }
  .breaking-bar { grid-template-columns: auto 1fr; gap: 10px; }
  .breaking-time { display: none; }
  .lead-grid { padding-top: 24px; }
  .lead-copy h1 { font-size: 39px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-tile { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .story-tile img { margin: 0; aspect-ratio: 1/1; }
  .story-tile h3 { font-size: 20px; }
  .story-tile p { display: none; }
  .feature-horizontal { grid-template-columns: 1fr; }
  .area69-copy { padding: 32px 24px; }
  .sport-stories { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fiction-note { border-left: 0; padding-left: 0; padding-top: 18px; border-top: 1px solid #384255; }
  .search-panel { padding: 50px 24px 25px; }
}


/* Theme toggle ---------------------------------------------------------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.theme-toggle:hover { border-color: var(--muted); }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.theme-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { fill: currentColor; stroke: none; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }

/* Dark theme ------------------------------------------------------------ */
html[data-theme="dark"] {
  --ink: #f2f4f6;
  --muted: #a5adb6;
  --line: #343a40;
  --soft: #1b2025;
  --paper: #111417;
  --breaking: #f05a67;
  --navy: #090d12;
  --navy-2: #111923;
  color-scheme: dark;
}

html[data-theme="dark"] body { background: var(--paper); }
html[data-theme="dark"] .main-nav { background: rgba(17,20,23,.96); }
html[data-theme="dark"] .story-image { background: #1b2025; }
html[data-theme="dark"] .lead-copy .dek,
html[data-theme="dark"] .story-tile p,
html[data-theme="dark"] .feature-horizontal p,
html[data-theme="dark"] .dialog-content .article-dek { color: #b9c0c8; }
html[data-theme="dark"] .market-up { color: #62c995; }
html[data-theme="dark"] .market-down { color: #f27a84; }
html[data-theme="dark"] .newsletter { background: #211e19; }
html[data-theme="dark"] .newsletter p { color: #bdb5a8; }
html[data-theme="dark"] .newsletter-form input {
  border-color: #544d43;
  background: #15181b;
  color: var(--ink);
}
html[data-theme="dark"] .newsletter-form input::placeholder { color: #808891; }
html[data-theme="dark"] .article-dialog,
html[data-theme="dark"] .search-panel { background: #15181b; color: var(--ink); }
html[data-theme="dark"] .dialog-close { background: #1b2025; color: var(--ink); }
html[data-theme="dark"] .search-panel > input { background: transparent; color: var(--ink); }
html[data-theme="dark"] .search-panel > input::placeholder { color: #7e8790; }

/* Keep the serious dark feature blocks intentionally darker than the page. */
html[data-theme="dark"] .area69-banner { background: #080b10; }
html[data-theme="dark"] .trending-panel,
html[data-theme="dark"] footer { background: #080c12; }

body,
.main-nav,
.newsletter,
.standings-card,
.article-dialog,
.search-panel,
.dialog-close,
.theme-toggle {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .main-nav,
  .newsletter,
  .standings-card,
  .article-dialog,
  .search-panel,
  .dialog-close,
  .theme-toggle { transition: none; }
}

@media (max-width: 700px) {
  .theme-toggle { width: 36px; padding: 0; }
  .theme-label { display: none; }
}


/* --------------------------------------------------------------------- */
/* v2 archive, live desk, long reads, pages                              */
/* --------------------------------------------------------------------- */

a { color: inherit; }
.brand,
.search-button,
.subscribe-button,
.nav-link,
.breaking-story,
.text-link,
.outline-button,
.story-card,
.latest-item,
.story-mini,
.feature-horizontal,
.trending-panel a,
.footer-grid a,
.longread-card,
.longread-row,
.section-lead-card,
.primary-link {
  text-decoration: none;
}

.subscribe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.breaking-story {
  display: block;
}

.footer-grid > div:not(:first-child) a {
  color: #bec5cf;
}
.footer-grid > div:not(:first-child) a:hover { color: white; }

.live-wire {
  padding: 30px 0 4px;
  border-bottom: 1px solid var(--line);
}
.live-wire-heading { margin-bottom: 16px !important; }
.live-wire-heading > div { display: flex; align-items: center; gap: 12px; }
.live-wire-heading .live-dot { margin: 0; }
.brief-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1px;
  overflow-x: auto;
  background: var(--line);
  border: 1px solid var(--line);
  scrollbar-width: thin;
}
.brief-card {
  background: var(--paper);
  min-height: 150px;
  padding: 18px;
}
.brief-card h3 {
  font: 700 19px/1.13 var(--serif);
  letter-spacing: -.018em;
  margin: 7px 0 8px;
}
.brief-card p {
  margin: 0;
  color: var(--muted);
  font: 500 12px/1.48 var(--serif);
}
.brief-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 9px;
  font-weight: 800;
  color: var(--breaking);
}
.brief-meta time { color: var(--muted); letter-spacing: 0; font-weight: 600; text-transform: none; }
.brief-empty,
.loading-line,
.archive-empty {
  padding: 24px;
  color: var(--muted);
  font: 500 14px/1.5 var(--serif);
  background: var(--soft);
}

.longreads-home { border-top: 1px solid var(--line); }
.longread-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.longread-card {
  border-top: 4px solid var(--ink);
  padding-top: 14px;
  display: block;
}
.longread-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 16px;
}
.longread-card h3 {
  font: 700 28px/1.04 var(--serif);
  letter-spacing: -.035em;
  margin: 0 0 11px;
}
.longread-card p {
  color: var(--muted);
  font: 500 14px/1.5 var(--serif);
  margin: 0 0 14px;
}
.read-more { font-size: 11px; font-weight: 800; }

.archive-page { padding-bottom: 65px; }
.archive-header {
  padding: clamp(46px, 7vw, 90px) 0 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.archive-header h1 {
  font: 700 clamp(54px, 8vw, 92px)/.92 var(--serif);
  letter-spacing: -.06em;
  margin: 5px 0 18px;
}
.archive-header p {
  max-width: 720px;
  color: var(--muted);
  font: 500 18px/1.45 var(--serif);
  margin: 0;
}
.archive-rule { margin-top: 44px; }
.section-lead-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}
.section-lead-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.section-lead-card h2 {
  font: 700 clamp(36px, 5vw, 58px)/.98 var(--serif);
  letter-spacing: -.045em;
  margin: 0 0 14px;
}
.section-lead-card p { color: var(--muted); font: 500 16px/1.5 var(--serif); }
.archive-grid { margin-bottom: 32px; }
.load-more-wrap { text-align: center; padding: 22px 0 10px; }
.load-more-button,
.primary-button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.load-more-button:disabled,
.primary-button:disabled { opacity: .55; cursor: wait; }

.longread-list { display: grid; gap: 0; }
.longread-row {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.longread-row img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.longread-row h2 {
  font: 700 clamp(29px, 4vw, 46px)/1.01 var(--serif);
  letter-spacing: -.04em;
  margin: 0 0 12px;
}
.longread-row p { color: var(--muted); font: 500 15px/1.55 var(--serif); }

.article-page { padding: clamp(45px, 7vw, 85px) 0 70px; }
.article-page-header { max-width: 960px; margin: 0 auto; text-align: center; }
.article-page-header h1 {
  font: 700 clamp(46px, 7vw, 82px)/.95 var(--serif);
  letter-spacing: -.055em;
  margin: 8px 0 20px;
}
.article-page-header .article-dek {
  color: var(--muted);
  font: 500 clamp(18px, 2.4vw, 24px)/1.42 var(--serif);
  max-width: 820px;
  margin: 0 auto 23px;
}
.article-byline {
  display: flex;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.article-figure { margin: 42px auto; width: min(1120px, 100%); }
.article-figure img { width: 100%; max-height: 680px; object-fit: cover; }
.article-figure figcaption { color: var(--muted); font-size: 10px; margin-top: 8px; }
.article-layout {
  display: grid;
  grid-template-columns: 90px minmax(0, 720px);
  justify-content: center;
  gap: 34px;
}
.article-share {
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.article-share a,
.article-share button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 9px 8px;
  font-size: 10px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.article-body-long {
  font: 500 19px/1.72 var(--serif);
}
.article-body-long p { margin: 0 0 26px; }
.article-body-long p:first-child::first-letter {
  float: left;
  font-size: 68px;
  line-height: .8;
  padding: 9px 8px 0 0;
  font-weight: 700;
}
.article-pullquote {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
  margin: 35px 0;
  font: 700 30px/1.25 var(--serif);
}
.article-endnote {
  width: min(720px, 100%);
  margin: 45px auto 0;
  padding: 20px;
  background: var(--soft);
  border-left: 3px solid var(--ink);
}
.article-endnote strong { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.article-endnote p { color: var(--muted); margin: 8px 0 0; font-size: 12px; line-height: 1.55; }
.article-loading { max-width: 720px; margin: auto; }

.search-page { padding-bottom: 70px; }
.archive-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  margin: 10px 0 14px;
}
.archive-search-form input {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 16px;
  font: 600 18px/1 var(--serif);
}
.archive-search-form button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0 25px;
  font-weight: 800;
  cursor: pointer;
}
.search-count { color: var(--muted); font-size: 12px; margin: 15px 0 28px; }

.jobs-page { padding-bottom: 70px; }
.jobs-hero {
  padding: clamp(55px, 8vw, 100px) 0 48px;
  max-width: 960px;
}
.jobs-hero h1 {
  font: 700 clamp(50px, 7vw, 82px)/.94 var(--serif);
  letter-spacing: -.055em;
  margin: 8px 0 20px;
}
.jobs-hero p {
  color: var(--muted);
  font: 500 19px/1.52 var(--serif);
  max-width: 800px;
}
.jobs-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(35px, 6vw, 80px);
  border-top: 1px solid var(--line);
  padding-top: 45px;
}
.jobs-copy h2 { font: 700 34px/1 var(--serif); }
.jobs-copy ul { padding-left: 18px; color: var(--muted); line-height: 1.7; font-size: 14px; }
.jobs-note { background: var(--soft); padding: 20px; margin-top: 28px; }
.jobs-note p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.jobs-form { display: grid; gap: 17px; }
.jobs-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
.jobs-form label span { color: var(--muted); font-weight: 500; }
.jobs-form input,
.jobs-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
  font: 500 14px/1.4 var(--sans);
}
.jobs-form input[type=file] { background: var(--soft); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.form-status { color: var(--muted); font-size: 12px; margin: 0; grid-column: 1 / -1; }

.lost-yarn-page {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
  padding-bottom: 80px;
}
.error-code {
  font: 800 clamp(70px, 14vw, 160px)/.8 var(--display);
  letter-spacing: -.08em;
  color: var(--line);
}
.lost-yarn-page h1 {
  font: 700 clamp(40px, 6vw, 72px)/.98 var(--serif);
  letter-spacing: -.05em;
  max-width: 850px;
  margin: 24px 0 18px;
}
.lost-yarn-page > p {
  color: var(--muted);
  max-width: 680px;
  font: 500 17px/1.55 var(--serif);
}
.lost-yarn-small { font-size: 12px !important; }
.primary-link {
  display: inline-flex;
  margin-top: 18px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 800;
}
.lost-yarn-art { position: relative; width: 220px; height: 95px; margin-bottom: 14px; }
.yarn-ball {
  position: absolute; left: 30px; top: 15px; width: 72px; height: 72px; border-radius: 50%;
  background: repeating-linear-gradient(35deg, #b43d4b 0 5px, #d55d69 5px 10px);
  box-shadow: inset -12px -10px 0 rgba(0,0,0,.08);
}
.yarn-line {
  position: absolute; left: 85px; top: 66px; width: 120px; height: 35px;
  border-bottom: 4px solid #b43d4b; border-radius: 50%;
  transform: rotate(-6deg);
}
.cat-paw { position: absolute; right: 0; top: 36px; font-size: 42px; transform: rotate(-18deg); }

.about-page { padding-bottom: 80px; }
.about-section {
  display: grid;
  grid-template-columns: 240px minmax(0, 700px);
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.about-section h2 { margin: 0; font: 700 27px/1 var(--serif); }
.about-section p { margin: 0; color: var(--muted); font: 500 17px/1.6 var(--serif); }

.error-state {
  padding: 80px 0;
  max-width: 760px;
}
.error-state h1 { font: 700 55px/1 var(--serif); letter-spacing: -.04em; }
.error-state p { color: var(--muted); }

html[data-theme="dark"] .brief-card,
html[data-theme="dark"] .article-share a,
html[data-theme="dark"] .article-share button,
html[data-theme="dark"] .archive-search-form input,
html[data-theme="dark"] .jobs-form input,
html[data-theme="dark"] .jobs-form textarea {
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 980px) {
  .longread-grid { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 700px) {
  .longread-grid { grid-template-columns: 1fr; }
  .section-lead-card,
  .longread-row { grid-template-columns: 1fr; }
  .archive-header h1 { font-size: 55px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-share { position: static; flex-direction: row; }
  .article-share a, .article-share button { flex: 1; }
  .article-page-header { text-align: left; }
  .article-byline { justify-content: flex-start; }
  .archive-search-form { grid-template-columns: 1fr; }
  .archive-search-form button { padding: 13px; }
  .jobs-hero h1 { font-size: 49px; }
  .brief-strip { grid-auto-columns: 82vw; }
}
