:root {
  --ink: #111214;
  --ink-2: #2B2D31;
  --muted: #5F6368;
  --rule: #E3E3E3;
  --paper: #FFFFFF;
  --soft: #F5F4F0;
  --kicker: #1F57C3;
  --gold: #C9A227;
  --gold-soft: #E6C766;
  --dark: #0E0F12;
  --dark-2: #1A1C21;
  --on-dark: #ECEBE7;
  --on-dark-muted: #A2A5AD;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--kicker); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 16px; }
[id] { scroll-margin-top: 64px; }

/* ---------- Shared type ---------- */
.kicker { display: inline-block; font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--kicker); }
.byline { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.byline strong { color: var(--ink); font-weight: 600; }
.dek { color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 10px; }
.h-xl { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.018em; margin-top: 12px; }
.h-md { font-family: var(--serif); font-weight: 650; font-size: 22px; line-height: 1.16; letter-spacing: -.008em; margin-top: 8px; }
.h-sm { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.22; margin-top: 6px; }
.label {
  font: 800 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 20px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.label small { font-weight: 600; letter-spacing: .06em; color: var(--muted); font-size: 12px; text-transform: none; }
.hl { color: inherit; }
.hl:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.picks .byline, .trending .byline, .desk li .byline { margin-top: 6px; font-size: 12px; }

/* ---------- Art tiles (no photos: generated section artwork) ---------- */
.art { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--g, #333); border-radius: 2px; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; }
.art.tall { aspect-ratio: 4 / 3; }
.art.square { aspect-ratio: 1; }
.g-leadership { --g: linear-gradient(135deg, #0F1C3F 0%, #24438F 100%); }
.g-money { --g: linear-gradient(135deg, #0B3D2E 0%, #1F7A5A 100%); }
.g-innovation { --g: linear-gradient(135deg, #24164F 0%, #4B4BD1 100%); }
.g-business { --g: linear-gradient(135deg, #1B1B1F 0%, #4A4F5A 100%); }
.g-small { --g: linear-gradient(135deg, #7A2E12 0%, #D0782F 100%); }
.g-careers { --g: linear-gradient(135deg, #3E1240 0%, #8A3F7A 100%); }
.g-lifestyle { --g: linear-gradient(135deg, #7E4F33 0%, #DDB088 100%); }
.g-gold { --g: linear-gradient(135deg, #2E2408 0%, #C9A227 100%); }

/* ---------- Utility bar & masthead ---------- */
.utility { border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.masthead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 18px; }
.menu-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.wordmark svg { width: clamp(30px, 4vw, 46px); height: auto; }
.wordmark span {
  font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 5.6vw, 62px); line-height: 1;
  letter-spacing: -.025em; font-variation-settings: "opsz" 72; white-space: nowrap;
}
.masthead .tagline { justify-self: end; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); text-align: right; }
.double-rule { height: 5px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.masthead .rule-wrap { display: block; padding-top: 0; padding-bottom: 0; }

.sections { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.sections ul {
  display: flex; justify-content: center; gap: 28px; list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: var(--wrap); overflow-x: auto; scrollbar-width: none;
}
.sections ul::-webkit-scrollbar { display: none; }
.sections a { display: block; padding: 14px 0 12px; font: 700 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
.sections a:hover { border-bottom-color: var(--ink); }

/* Drawer menu */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: var(--dark); color: var(--on-dark);
  transform: translateX(-100%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: 90; padding: 22px 28px; overflow-y: auto;
}
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-head span { font-family: var(--serif); font-weight: 800; font-size: 24px; }
.drawer-close { background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--serif); font-size: 21px; }
.drawer li a:hover { color: var(--gold-soft); }

/* ---------- Lead grid ---------- */
.lead-grid { display: grid; grid-template-columns: 1fr 2.05fr 1fr; gap: 0; padding-top: 32px; padding-bottom: 36px; }
.lead-grid > * { padding: 0 28px; }
.lead-grid > :first-child { padding-left: 0; }
.lead-grid > :last-child { padding-right: 0; }
.lead-grid > * + * { border-left: 1px solid var(--rule); }
.lead .art { margin-bottom: 18px; }
.lead .dek { font-size: 18px; font-family: var(--serif); color: var(--ink-2); }

.picks article { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.picks article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.picks .art { margin-bottom: 12px; }

.trending ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trending li { counter-increment: t; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
.trending li:last-child { border-bottom: 0; margin-bottom: 0; }
.trending li::before { content: counter(t); font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: .9; color: var(--gold); }
.trending .h-sm { margin-top: 6px; font-size: 17px; }

/* ---------- Top stories ---------- */
.block { padding-top: 8px; padding-bottom: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-4 .art { margin-bottom: 14px; }

/* ---------- Big read (dark) ---------- */
.bigread { background: var(--dark); color: var(--on-dark); padding: clamp(48px, 7vw, 88px) 0; }
.bigread .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.bigread .kicker { color: var(--gold-soft); }
.bigread h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.02em; color: #fff; margin-top: 14px; }
.bigread .dek { color: var(--on-dark-muted); font-size: 18px; font-family: var(--serif); margin-top: 18px; max-width: 32em; }
.bigread .byline { color: var(--on-dark-muted); margin-top: 18px; }
.bigread .byline strong { color: var(--on-dark); }

/* ---------- Desks ---------- */
.desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; padding-top: 56px; padding-bottom: 64px; }
.desk .art { margin-bottom: 14px; }
.desk ul { list-style: none; margin: 18px 0 0; padding: 0; }
.desk li { padding: 14px 0; border-top: 1px solid var(--rule); }

/* ---------- Originals ---------- */
.originals { background: var(--soft); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.originals .intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.originals h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.015em; }
.originals .intro p { color: var(--muted); max-width: 34em; }
.series { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.series article { background: var(--paper); border-top: 4px solid var(--gold); padding: 24px 22px 26px; }
.series .num { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15px; }
.series h3 { font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 1.15; margin-top: 10px; }
.series p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- Opinion ---------- */
.opinion { padding-top: 56px; padding-bottom: 72px; }
.ops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ops article { padding: 0 28px; }
.ops article:first-child { padding-left: 0; }
.ops article:last-child { padding-right: 0; }
.ops article + article { border-left: 1px solid var(--rule); }
.ops .q { font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--gold); height: 30px; }
.ops h3 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 25px; line-height: 1.18; margin-top: 8px; }
.ops .dek { font-size: 15.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark span { font-size: 34px; }
.site-footer .wordmark svg { width: 32px; }
.footer-top p { margin-top: 14px; max-width: 26em; }
.footer-top h4 { color: var(--on-dark); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; }
.sources { font-size: 12.5px; line-height: 1.6; padding-top: 22px; max-width: 70em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lead-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .lead-grid > * { padding: 0; border-left: 0 !important; }
  .lead { grid-column: 1 / -1; order: -1; padding-bottom: 28px !important; border-bottom: 1px solid var(--rule); }
  .picks { padding-right: 24px !important; }
  .trending { padding-left: 24px !important; border-left: 1px solid var(--rule) !important; }
  .grid-4, .series { grid-template-columns: repeat(2, 1fr); }
  .desks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .masthead .wrap { grid-template-columns: auto 1fr; }
  .masthead .tagline { display: none; }
  .wordmark { justify-self: end; }
  .sections ul { justify-content: flex-start; gap: 22px; }
  .bigread .wrap { grid-template-columns: 1fr; }
  .ops { grid-template-columns: 1fr; }
  .ops article { padding: 22px 0 !important; border-left: 0 !important; border-top: 1px solid var(--rule); }
  .ops article:first-child { border-top: 0; padding-top: 0 !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lead-grid { grid-template-columns: 1fr; }
  .picks { padding-right: 0 !important; }
  .trending { padding-left: 0 !important; border-left: 0 !important; }
  .grid-4, .series, .desks { grid-template-columns: 1fr; }
  .utility .edition { display: none; }
  .wordmark span { font-size: 27px; }
  .wordmark svg { width: 28px; }
  .wordmark { gap: 8px; }
  .picks article { display: grid; grid-template-columns: 1fr 112px; gap: 4px 14px; }
  .picks article .art { grid-column: 2; grid-row: 1 / span 3; margin: 0; aspect-ratio: 1; }
  .picks article > :not(.art) { grid-column: 1; }
}
@media (max-width: 400px) {
  .menu-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .drawer-backdrop { transition: none; }
}

/* ---------- Story & article pages ---------- */
.story-head { max-width: 900px; padding-top: 40px; padding-bottom: 26px; }
.story-title { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.02em; margin-top: 14px; }
.story-dek { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); margin-top: 16px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--muted); }
.story-meta strong { color: var(--ink); }
.chip { display: inline-block; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border: 1px solid #CFCFCF; border-radius: 999px; color: var(--ink-2); }
.chip.gold { border-color: var(--gold); color: #7A5F0E; }
.story-art .art { aspect-ratio: 21 / 8; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 36px; padding-bottom: 48px; }
.story-body { max-width: 700px; font-family: var(--serif); font-size: 19.5px; line-height: 1.7; color: #1D1E21; }
.story-body p { margin: 0 0 1.1em; }
.story-body h2 { font-family: var(--serif); font-weight: 700; font-size: 27px; line-height: 1.2; margin: 1.5em 0 .55em; }
.story-body ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.story-body li { margin-bottom: .45em; }
.note { max-width: 700px; margin-top: 28px; padding: 16px 20px; background: var(--soft); border-left: 3px solid var(--gold); font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.note a { text-decoration: underline; text-underline-offset: 2px; }
.continue { max-width: 700px; padding: 26px 26px 28px; border: 1px solid var(--rule); border-top: 4px solid var(--ink); }
.continue p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 20px; }
.continue strong { color: var(--ink); }
.btn-read { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); letter-spacing: .02em; padding: 15px 22px; border-radius: 2px; }
.btn-read:hover { background: #000; }
.story-side { align-self: start; position: sticky; top: 64px; }
.story-missing { padding-top: 64px; padding-bottom: 96px; max-width: 820px; }
.story-missing .btn-read { margin-top: 28px; }
@media (max-width: 900px) {
  .story-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-side { position: static; border-top: 3px solid var(--ink); padding-top: 4px; }
  .story-art .art { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .story-body { font-size: 18px; }
  .story-head { padding-top: 28px; }
}
