:root {
  --ink: #151515;
  --carbon: #151515;
  --lime: #e5c547;
  --lime-deep: #373737;
  --paper: #ffffff;
  --ground: #ffffff;
  --line: #c9c9c3;
  --line-soft: #ecece7;
  --muted: #5c5c57;
  --muted-light: #767671;
  --white: #f7f7f6;
  --concrete: #e7e7e1;
  --surface-hover: #f2f2ed;
  --accent-soft: #f8edaf;
  --shadow: rgba(21, 21, 21, .13);
  --ui: "Merriweather", Georgia, "Times New Roman", serif;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--lime); color: var(--ink); }
a, button, input { -webkit-tap-highlight-color: transparent; }
a { transition: color .18s ease, opacity .18s ease; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.site-shell { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and global navigation */
.masthead {
  position: relative; z-index: 30; overflow: hidden;
  background: var(--carbon);
  box-shadow: 0 8px 24px rgba(21, 21, 21, .16);
}
.masthead::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(255, 255, 255, .16); content: ""; }
.masthead__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 88px; gap: clamp(18px, 2.4vw, 36px); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px;
  border-radius: 10px; background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(21, 21, 21, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand__mark img { width: 46px; height: 46px; }
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-4deg) scale(1.04); box-shadow: 0 0 0 5px rgba(229, 197, 71, .42); }
.brand strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.05; letter-spacing: -.7px; }
.brand small { display: block; margin-top: 4px; color: rgba(247, 247, 246, .76); font-size: 10px; letter-spacing: .02em; }
.header-nav { display: flex; justify-content: center; gap: clamp(13px, 1.55vw, 25px); min-width: 0; overflow: hidden; }
.header-nav a { position: relative; padding: 8px 0; color: rgba(247, 247, 246, .78); font-size: 11px; font-weight: 750; letter-spacing: -.08px; text-decoration: none; white-space: nowrap; transition: color .18s ease; }
.header-nav a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; transform: scaleX(0); transform-origin: center; border-radius: 2px; background: var(--lime); content: ""; transition: transform .18s ease; }
.header-nav a:hover, .header-nav a.active { color: var(--white); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }
.header-actions, .social { display: flex; align-items: center; gap: 8px; }
.social a {
  display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line);
  border-radius: 50%; color: var(--muted); font-size: 9px; font-weight: 850; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.social a img, .drawer-social a img { width: 14px; height: 14px; border-radius: 4px; object-fit: contain; }
.social a:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--ink); color: var(--lime); }
.social .social__max { width: auto; padding: 0 10px; border-color: var(--lime); border-radius: 20px; background: var(--lime); color: var(--ink); }
.social .social__max:hover { background: var(--carbon); color: var(--white); }
.social--header { gap: 5px; padding-right: 9px; border-right: 1px solid rgba(247, 247, 246, .18); }
.social--header a { width: 26px; height: 26px; border-color: rgba(247, 247, 246, .24); background: transparent; color: var(--white); font-size: 8px; }
.social--header a:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.social--header .social__max { width: auto; padding: 0 7px; border-color: rgba(247, 247, 246, .2); background: rgba(247, 247, 246, .12); color: var(--white); }
.social--header .social__max:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.social--header .social__max--brand, .drawer-social__max { overflow: visible; border: 0; padding: 0; background: transparent; }
.social--header .social__max--brand { width: 26px; }
.social--header a { border: 0; border-radius: 7px; }
.social--header a img { width: 26px; height: 26px; border-radius: 7px; }
.social--header .social__max--brand img { width: 26px; height: 26px; border-radius: 7px; }
.social--header a:hover, .social--header .social__max--brand:hover { transform: translateY(-2px) scale(1.06); border-color: transparent; background: transparent; }
.search {
  display: flex; width: 230px; height: 36px; margin-left: 8px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search:focus-within { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }
.search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 12px; background: transparent; color: var(--ink); }
.search input::placeholder { color: var(--muted-light); }
.search button {
  width: 40px; border: 0; background: var(--carbon); color: var(--white); font-size: 19px; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.search button:hover { background: var(--lime); color: var(--ink); }
.search--header { width: 178px; height: 34px; margin-left: 0; border-color: rgba(247, 247, 246, .24); border-radius: 9px; background: rgba(247, 247, 246, .12); }
.search--header:focus-within { border-color: var(--white); box-shadow: 0 0 0 3px rgba(247, 247, 246, .18); }
.search--header input { color: var(--white); font-size: 11px; }
.search--header input::placeholder { color: rgba(247, 247, 246, .72); }
.search--header button { width: 36px; background: transparent; color: var(--white); }
.search--header button:hover { background: var(--lime); color: var(--ink); }
.menu-button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 34px; gap: 9px; border: 1px solid rgba(247, 247, 246, .24); border-radius: 9px;
  padding: 0 12px; background: rgba(247, 247, 246, .12); color: var(--white); font-size: 10px; font-weight: 850;
  letter-spacing: .07em; text-transform: uppercase; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.menu-button span { display: inline; }
.menu-button:hover { transform: translateY(-2px); border-color: var(--white); box-shadow: 0 0 0 3px rgba(247, 247, 246, .18); background: var(--white); color: var(--ink); }
.menu-button i, .menu-button i::before, .menu-button i::after { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; content: ""; }
.menu-button i { position: relative; }
.menu-button i::before { position: absolute; top: -6px; left: 0; }
.menu-button i::after { position: absolute; top: 6px; left: 0; }
/* Shared surfaces and advertising */
.page, .rubric-page, .article-page { padding: 30px 0 64px; }
.ad {
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  border: 1px dashed var(--line); border-radius: 18px;
  background: repeating-linear-gradient(-45deg, #ffffff, #ffffff 8px, #f0f0eb 8px, #f0f0eb 16px);
  color: var(--lime-deep); letter-spacing: .12em; text-align: center; text-transform: uppercase;
}
.ad span { font-size: 10px; font-weight: 850; }
.ad small { margin-top: 6px; font-size: 9px; letter-spacing: .07em; }
.ad--leader { height: 112px; margin: 0 auto 28px; }
.ad--bottom { height: 90px; margin-top: 18px; }
.ad--square { height: 250px; }
.ad--tower { height: 420px; margin: 16px; }
.ad--rail { height: 300px; }
.ad--filled { position: relative; border-style: solid; background: var(--paper); padding: 0; letter-spacing: 0; }
.ad__link { display: block; width: 100%; height: 100%; }
.ad__image { width: 100%; height: 100%; object-fit: cover; }
.ad__label { position: absolute; right: 8px; bottom: 8px; border-radius: 4px; padding: 4px 6px; background: rgba(21, 21, 21, .74); color: var(--white); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.headline-list, .popular__surface, .card, .rubric-feed {
  min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
.headline-list {
  display: grid;
  grid-auto-rows: minmax(54px, 1fr);
  align-self: stretch;
}
.block-heading {
  display: flex; align-items: center; gap: 9px; padding: 15px 16px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase;
}
.block-heading::before { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); content: ""; }
.block-heading i { flex: 1; height: 1px; background: var(--line); }
.empty-state { padding: 22px; color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Homepage */
.front-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.home-layout { --popular-heading-offset: 32px; display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 20px; }
.home-main { min-width: 0; margin-top: var(--popular-heading-offset); }
.home-main .hero { min-height: 480px; }
.home-main__feed { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: stretch; gap: 20px; margin-top: clamp(38px, 4vw, 52px); }
.home-main__feed > div { display: flex; min-width: 0; flex-direction: column; }
.home-main__feed .headline-list { flex: 1; }
.popular--sticky { position: sticky; top: 18px; align-self: start; }
.popular--sticky .popular__surface { overflow: visible; }
.popular--feed-scroll .popular__surface {
  max-height: min(720px, calc(100vh - 92px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--muted-light) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}
.popular--feed-scroll .popular__surface::-webkit-scrollbar { width: 7px; }
.popular--feed-scroll .popular__surface::-webkit-scrollbar-thumb { border: 2px solid var(--paper); border-radius: 8px; background: var(--muted-light); }
.popular--sticky .section-title { height: 18px; margin-bottom: 14px; }
.popular--sticky .section-title h2 { line-height: 18px; }
.latest--feed .section-title { margin-bottom: 14px; }
.tag {
  display: inline-flex; max-width: 100%; overflow: hidden; border-radius: 6px; padding: 4px 7px; background: var(--carbon);
  color: var(--white); font-size: 9px; font-style: normal; font-weight: 850; letter-spacing: .055em;
  text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap;
}
.headline-list a, .popular a { color: inherit; text-decoration: none; }
.headline-list h3 a:hover, .popular a:hover { color: var(--lime-deep); }
.card p, .headline-list p { margin: 0; color: var(--muted-light); font-size: 10px; }
.hero {
  position: relative; isolation: isolate; min-height: 540px; overflow: hidden; border-radius: 18px; background: var(--carbon);
  box-shadow: 0 16px 34px rgba(21, 21, 21, .18);
}
.hero img, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__fallback, .card__fallback { background: linear-gradient(135deg, #151515, #373737 52%, #767671); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 21, 21, .03) 22%, rgba(21, 21, 21, .92) 92%); }
.hero__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 34px; color: var(--white); }
.hero__content .tag { background: var(--white); color: var(--ink); }
.hero__meta { margin: 15px 0 10px; color: rgba(255, 255, 255, .82); font-size: 11px; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.2vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -1.15px; }
.hero__lead { display: -webkit-box; max-width: 670px; margin: 17px 0 0; overflow: hidden; color: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.hero--empty { min-height: 360px; }
.hero__content > a, .rail-note button {
  position: relative; display: inline-flex; align-items: center; gap: 9px; overflow: hidden; border: 1px solid var(--lime); border-radius: 10px;
  padding: 10px 13px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 850; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hero__content > a { margin-top: 22px; animation: hero-cta-pulse 4s ease-in-out infinite; }
.hero__content > a:hover, .rail-note button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--white); background: var(--white); color: var(--ink); }
.rail-note button:hover { box-shadow: 4px 4px 0 var(--ink); }
.hero__content > a b { font-size: 16px; transition: transform .18s ease; }
.hero__content > a:hover b { transform: translateX(3px); }
@keyframes hero-cta-pulse { 0%, 72%, 100% { box-shadow: 0 0 0 0 rgba(214, 208, 194, 0); } 77% { box-shadow: 0 0 0 4px rgba(214, 208, 194, .46); } 84% { box-shadow: 0 0 0 10px rgba(214, 208, 194, 0); } }
.side-rail { align-self: stretch; display: grid; grid-template-rows: 250px minmax(0, 1fr); gap: 16px; }
.weather { position: relative; height: 100%; min-height: 0; overflow: hidden; padding: 21px; border: 1px solid rgba(21, 21, 21, .18); border-radius: 16px; background: var(--carbon); color: var(--white); }
.weather::after { position: absolute; right: -7px; bottom: -40px; color: rgba(255, 255, 255, .4); font-size: 175px; font-weight: 200; line-height: 1; content: "+"; }
.weather p { margin: 0; color: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.weather strong { display: block; margin-top: 7px; font-size: 43px; letter-spacing: -2px; }
.weather span { color: rgba(247, 247, 246, .8); }
.weather small { position: relative; z-index: 1; display: block; margin-top: 18px; color: rgba(247, 247, 246, .74); font-size: 10px; }
.weather b { color: var(--white); }

.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; margin-top: clamp(38px, 4vw, 52px); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.section-title h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; letter-spacing: -.35px; text-transform: uppercase; }
.section-title h2::before { width: 18px; height: 4px; border-radius: 8px; background: var(--lime); content: ""; }
.latest__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: stretch; gap: 20px; min-width: 0; }
.cards { align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; align-content: start; gap: 14px; min-width: 0; }
.card { width: 100%; border-radius: 16px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--carbon); box-shadow: 0 12px 24px rgba(21, 21, 21, .12); }
.card > a { display: block; color: inherit; text-decoration: none; }
.card > a > div { position: relative; height: 120px; overflow: hidden; background: var(--concrete); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.045); }
.card__fallback { width: 100%; height: 100%; }
.card .tag { position: absolute; top: 11px; left: 11px; max-width: calc(100% - 22px); background: var(--paper); color: var(--ink); }
.card h3 { margin: 0; padding: 12px 13px 5px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.31; letter-spacing: -.25px; }
.card p { padding: 0 13px 12px; }
.headline-list article { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 7px; padding: 13px 15px; border-bottom: 1px solid var(--line-soft); transition: background .18s ease, transform .18s ease; }
.headline-list article:last-child { border: 0; }
.headline-list article:hover { transform: translateX(3px); background: var(--surface-hover); }
.headline-list article > b { color: var(--muted-light); font-size: 11px; }
.headline-list h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.24; letter-spacing: -.25px; }
.headline-list__excerpt {
  display: -webkit-box;
  margin: 0 0 6px !important;
  overflow: hidden;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.headline-list__views { font-size: 10px !important; }
.popular { min-width: 0; }
.popular__surface { height: max-content; }
.popular ol { margin: 0; padding: 0; list-style: none; }
.popular li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line-soft); transition: background .18s ease; }
.popular li:hover { background: var(--surface-hover); }
.popular li > b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--concrete); color: var(--ink); font-size: 10px; }
.popular li:first-child > b { background: var(--carbon); color: var(--white); }
.popular li span { font-size: 12px; font-weight: 750; line-height: 1.3; }
.popular li small { display: block; margin-top: 4px; color: var(--muted-light); font-size: 10px; font-weight: 400; }

/* Section and search pages */
.rubric-intro { display: flex; align-items: end; gap: 19px; margin: 4px 0 22px; padding: 0 8px; }
.rubric-intro p { margin: 0 0 6px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.rubric-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 4.2vw, 62px); font-weight: 400; letter-spacing: -1.8px; line-height: 1.02; }
.rubric-intro span { max-width: 360px; margin: 0 0 5px 7px; color: var(--muted); font-size: 13px; line-height: 1.48; }
.rubric-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.rubric-feed { border-radius: 18px; }
.rubric-feed__head { display: flex; align-items: center; gap: 12px; padding: 16px 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.rubric-feed__head::before { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); content: ""; }
.rubric-feed__head i { flex: 1; height: 1px; background: var(--line); }
.rubric-feed__head small { color: var(--muted-light); font-size: 9px; font-weight: 750; letter-spacing: 0; text-transform: none; }
.rubric-row { display: grid; grid-template-columns: 54px minmax(0, 1fr); min-height: 136px; gap: 14px; padding: 19px 28px 18px; border-bottom: 1px solid var(--line-soft); transition: background .18s ease; }
.rubric-row:last-child { border: 0; }
.rubric-row:hover { background: var(--surface-hover); }
.rubric-row > b { padding-top: 2px; color: var(--muted-light); font-size: 15px; }
.rubric-row a { color: var(--ink); text-decoration: none; }
.rubric-row h2 { margin: 0 0 8px; overflow-wrap: anywhere; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.15; letter-spacing: -.8px; }
.rubric-row a:hover h2 { color: var(--lime-deep); }
.rubric-row p { margin: 0; color: var(--muted-light); font-size: 12px; }
.rubric-row__excerpt {
  display: -webkit-box;
  margin: 0 0 8px !important;
  overflow: hidden;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.rubric-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px !important;
}
.rubric-row__tags span {
  border-radius: 999px;
  padding: 3px 6px;
  background: var(--surface-hover);
  color: var(--lime-deep);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}
.rubric-rail { display: grid; gap: 17px; }
.rubric-rail--sticky { position: sticky; top: 18px; align-self: start; }
.rubric-popular .section-title { margin: 0 0 13px; }
.rubric-popular .popular__surface { display: block; }
.rubric-feed-scroll .popular__surface {
  max-height: min(520px, calc(100vh - 390px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--muted-light) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}
.rubric-feed-scroll .popular__surface::-webkit-scrollbar { width: 7px; }
.rubric-feed-scroll .popular__surface::-webkit-scrollbar-thumb { border: 2px solid var(--paper); border-radius: 8px; background: var(--muted-light); }
.rail-note { padding: 22px; border: 1px solid rgba(21, 21, 21, .18); border-radius: 16px; background: var(--carbon); color: var(--white); }
.rail-note > span { color: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.rail-note h2 { margin: 10px 0 8px; font-size: 19px; line-height: 1.06; letter-spacing: -.8px; }
.rail-note p { margin: 0 0 16px; color: rgba(247, 247, 246, .78); font-size: 12px; line-height: 1.42; }
.search-page { max-width: 1020px; }
.search-match-source { display: inline-flex; width: max-content; max-width: 100%; margin-top: 10px; border-radius: 999px; padding: 4px 8px; background: var(--accent-soft); color: var(--ink); font-size: 10px; font-weight: 700; line-height: 1.2; }
.search-excerpt { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.48; }
.search-highlight { border-radius: 3px; padding: 0 .12em; background: var(--lime); color: var(--ink); font-weight: 800; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 24px 0 2px; color: var(--muted); font-size: 12px; }
.pagination a { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--paper); color: var(--ink); font-weight: 800; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.pagination a:hover { transform: translate(-2px, -2px); border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }

/* Article page */
.article-layout {
  --article-sidebar-width: 244px;
  --article-content-width: 760px;
  --article-gap: clamp(34px, 6vw, 92px);
  display: grid;
  /* The sidebar absorbs the former centering offset, so its left edge aligns with the leader banner. */
  grid-template-columns: minmax(var(--article-sidebar-width), calc(50% - 258px - clamp(17px, 3vw, 46px))) minmax(0, var(--article-content-width));
  gap: var(--article-gap);
  align-items: start;
}
.article-sidebar { position: sticky; top: 74px; display: grid; min-width: 0; gap: 16px; align-self: start; }
.article-news-feed { width: min(280px, 100%); }
.ad--article-side { width: min(280px, 100%); height: 250px; margin: 0; }
.article-content { min-width: 0; padding: 8px 0 12px; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 calc(100% + 2px); background-repeat: no-repeat; background-size: 0 1px; transition: color .18s ease, background-size .18s ease; }
.breadcrumbs a:hover { background-size: 100% 1px; color: var(--lime-deep); }
.article-tag { display: inline-flex; margin-bottom: 14px; border-radius: 6px; padding: 5px 8px; background: var(--carbon); color: var(--white); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.article-topic-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 8px 14px;
  vertical-align: top;
}
.article-topic-tags a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 7px;
  background: var(--paper);
  color: var(--lime-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.article-topic-tags a:hover { transform: translateY(-1px); border-color: var(--carbon); background: var(--lime); color: var(--ink); }
.article-topic-tags--continuation { margin-left: 8px; }
.article-sequence-number { display: inline-flex; margin: 0 0 14px 8px; color: var(--muted-light); font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; vertical-align: top; }
.article-content h1 { max-width: 750px; margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.3vw, 64px); font-weight: 400; line-height: 1.06; letter-spacing: -1.8px; }
.article-lead { max-width: 680px; margin: 25px 0 17px; color: var(--lime-deep); font-size: 19px; line-height: 1.43; }
.article-meta { display: flex; flex-wrap: wrap; gap: 11px; padding-bottom: 27px; border-bottom: 1px solid var(--line); color: var(--muted-light); font-size: 11px; }
.article-meta span + span::before { margin-right: 11px; color: var(--concrete); content: "•"; }
.article-photo { margin: 30px 0; }
.article-photo img { width: 100%; max-height: 530px; border-radius: 16px; object-fit: cover; }
.article-photo figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; }
.article-body { max-width: 700px; font-family: var(--ui); font-size: 19px; line-height: 1.72; }
.article-body p { margin: 24px 0; }
.article-body h2, .article-body h3 { margin: 43px 0 14px; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; line-height: 1.15; letter-spacing: -.7px; }
.article-body img { height: auto; border-radius: 14px; }
.article-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 34px 0; }
.article-gallery figure { min-width: 0; margin: 0; }
.article-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.article-gallery figcaption { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.article-body blockquote { margin: 39px 0; border-left: 4px solid var(--lime); padding: 5px 0 5px 22px; color: var(--lime-deep); font-family: var(--serif); font-size: clamp(21px, 2.4vw, 30px); font-weight: 400; letter-spacing: -.45px; line-height: 1.35; }
.ad--article-inline { width: 100%; height: 112px; margin: 36px 0; }
.article-author { display: grid; gap: 3px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; }
.article-author b { font-size: 13px; }
.article-author span { color: var(--muted); font-size: 11px; }
.article-continuation { margin-top: 76px; }
.article-continuation__intro { margin-bottom: 44px; border-top: 1px solid var(--line); padding-top: 20px; }
.article-continuation__intro p, .article-continuation__position { margin: 0 0 8px; color: var(--lime-deep); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.article-continuation__intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; letter-spacing: -1px; line-height: 1.12; }
.article-continuation__item { margin-top: 68px; border-top: 1px solid var(--line); padding-top: 24px; }
.article-continuation__item:first-of-type { margin-top: 0; }
.article-continuation__item .article-tag { margin-bottom: 13px; }
.article-continuation__item h3 { max-width: 750px; margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); font-weight: 400; letter-spacing: -1.5px; line-height: 1.08; }
.article-continuation__item .article-author { margin-top: 36px; }
.article-next { margin-top: 40px; border: 1px solid var(--line); border-radius: 14px; padding: 21px 22px; background: var(--surface-hover); }
.article-next p { margin: 0 0 8px; color: var(--lime-deep); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.article-next a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: -.45px; line-height: 1.2; text-decoration: none; transition: color .18s ease, gap .18s ease; }
.article-next a:hover { gap: 19px; color: var(--lime-deep); }
.article-next b { color: var(--lime-deep); font-size: 22px; }

/* Footer and off-canvas menu */
footer { background: var(--carbon); color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; padding: 46px 0; }
.brand--footer { color: var(--white); }
.brand--footer .brand__mark { box-shadow: 5px 5px 0 rgba(255, 255, 255, .42); }
.brand--footer small { color: rgba(247, 247, 246, .72); }
.footer__grid p { max-width: 360px; line-height: 1.62; }
.footer__grid h2 { margin: 2px 0 12px; color: var(--lime); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer__grid section > a:not(.brand) { display: block; width: max-content; max-width: 100%; margin-bottom: 8px; background-image: linear-gradient(currentColor, currentColor); background-position: 0 calc(100% + 2px); background-repeat: no-repeat; background-size: 0 1px; color: var(--white); font-size: 12px; text-decoration: none; transition: color .18s ease, background-size .18s ease; }
.footer__grid section > a:not(.brand):hover { background-size: 100% 1px; color: var(--lime); }
.footer-social { display: flex; gap: 9px; margin-top: 17px; }
.footer-social a { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.footer-social img { width: 29px; height: 29px; border-radius: 8px; object-fit: contain; }
.footer-social a:hover { transform: translateY(-3px); box-shadow: 0 5px 12px rgba(0, 0, 0, .2); }
.copyright { border-top: 1px solid rgba(247, 247, 246, .2); padding: 16px 0; color: rgba(247, 247, 246, .72); font-size: 10px; }
body.menu-open { overflow: hidden; }
.menu-layer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.menu-layer.is-open { visibility: visible; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(21, 21, 21, .68); opacity: 0; backdrop-filter: blur(3px); transition: opacity .25s ease; }
.menu-layer.is-open .menu-backdrop { opacity: 1; }
.menu-drawer { position: relative; width: min(620px, calc(100vw - 38px)); height: 100%; transform: translateX(-103%); overflow-y: auto; border-radius: 0 18px 18px 0; padding: 30px 38px 35px; background: var(--paper); box-shadow: 18px 0 50px rgba(21, 21, 21, .26); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.menu-layer.is-open .menu-drawer { transform: none; }
.menu-drawer__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.menu-close { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.menu-close:hover { transform: rotate(90deg); border-color: var(--ink); background: var(--lime); }
.drawer-search { display: flex; height: 62px; margin: 25px 0 34px; overflow: hidden; border: 1px solid var(--concrete); border-radius: 10px; background: var(--white); transition: box-shadow .18s ease, border-color .18s ease; }
.drawer-search:focus-within { border-color: var(--ink); box-shadow: 4px 4px 0 var(--lime); }
.drawer-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 19px; background: transparent; color: var(--ink); font-size: 20px; }
.drawer-search input::placeholder { color: var(--muted-light); }
.drawer-search button { width: 66px; border: 0; background: transparent; color: var(--ink); font-size: 34px; cursor: pointer; transition: background .18s ease; }
.drawer-search button:hover { background: var(--lime); }
.drawer-nav { display: grid; gap: 7px; }
.drawer-nav a, .drawer-editorial { color: var(--ink); font-size: clamp(20px, 2vw, 27px); font-weight: 850; letter-spacing: -1px; line-height: 1.18; text-decoration: none; transition: color .18s ease, transform .18s ease; }
.drawer-nav a:hover, .drawer-editorial:hover { transform: translateX(4px); color: var(--lime-deep); }
.drawer-editorial { display: inline-block; margin-top: 43px; }
.drawer-social { display: flex; gap: 13px; margin-top: 45px; }
.drawer-social a { display: grid; place-items: center; width: 39px; height: 39px; border: 0; border-radius: 10px; background: transparent; color: var(--lime-deep); font-size: 10px; font-weight: 850; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.drawer-social a img { width: 30px; height: 30px; border-radius: 9px; }
.drawer-social .drawer-social__max { background: transparent; }
.drawer-social .drawer-social__max img { width: 30px; height: 30px; border-radius: 9px; }
.drawer-social a:hover { transform: translateY(-2px) scale(1.06); background: transparent; color: var(--lime-deep); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 110; max-width: 270px; transform: translateY(20px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; padding: 12px 14px; background: var(--carbon); color: var(--white); font-size: 12px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: none; opacity: 1; }

@media (max-width: 1040px) {
  .masthead__inner { gap: 16px; }
  .header-nav { justify-content: flex-start; gap: 14px; }
  .header-nav a { font-size: 10px; }
  .social--header .social__max { display: none; }
  .search--header { width: 150px; }
  .front-grid { grid-template-columns: minmax(0, 1fr) 250px; }
  .home-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .home-main__feed { grid-template-columns: minmax(0, 1fr) 250px; }
  .side-rail { grid-template-rows: 160px minmax(0, 1fr); }
  .ad--square { height: 160px; }
  .news-layout { grid-template-columns: 1fr; }
  .rubric-layout { grid-template-columns: minmax(0, 1fr) 240px; }
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 980px) {
  .masthead__inner { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .search--header { width: 184px; }
  .home-layout { display: flex; flex-direction: column; }
  .home-main { order: 1; margin-top: 0; }
  .home-layout > .popular--sticky { order: 2; margin-top: 30px; }
  .popular--sticky { position: static; height: auto; max-height: none; margin-bottom: 30px; }
  .popular--feed-scroll .popular__surface { max-height: none; overflow: visible; scrollbar-gutter: auto; }
  .home-main__feed { grid-template-columns: 1fr; margin-top: 30px; }
  .home-main__feed .latest { margin-top: 30px; }
  .latest--feed .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-shell { width: min(calc(100% - 28px), 560px); }
  .masthead__inner { grid-template-columns: 1fr auto; min-height: 80px; }
  .brand { gap: 11px; }
  .brand__mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; }
  .brand__mark img { width: 41px; height: 41px; }
  .brand strong { font-size: 22px; }
  .header-nav, .social--header, .search--header { display: none; }
  .page, .rubric-page, .article-page { padding-top: 17px; }
  .ad--leader { height: 76px; margin-bottom: 17px; }
  .front-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 430px; border-radius: 16px; }
  .home-main .hero { min-height: 430px; }
  .hero__content { padding: 22px; }
  .hero h1 { font-size: 30px; }
  .hero__lead { margin-top: 14px; font-size: 13px; }
  .side-rail { grid-column: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; align-self: auto; }
  .ad--square { height: 170px; }
  .weather { height: auto; min-height: 170px; }
  .news-layout { display: block; margin-top: 30px; }
  .latest__grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .popular { display: block; margin-top: 21px; }
  .popular__surface { display: block; }
  .ad--tower { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 34px 0; }
  .footer__grid section:first-child { grid-column: 1 / -1; }
  .menu-drawer { width: min(calc(100vw - 20px), 570px); padding: 24px 28px 31px; border-radius: 0 16px 16px 0; }
  .drawer-search { height: 55px; margin: 21px 0 29px; }
  .drawer-search input { font-size: 18px; }
  .drawer-nav a, .drawer-editorial { font-size: 23px; }
  .rubric-intro { display: block; padding: 0 2px; }
  .rubric-intro p { margin-bottom: 8px; writing-mode: initial; transform: none; }
  .rubric-intro h1 { font-size: 43px; }
  .rubric-intro span { display: block; margin: 12px 0 0; }
  .rubric-layout { display: block; }
  .rubric-rail { grid-template-columns: 1fr 1fr; margin-top: 17px; }
  .rubric-rail--sticky { position: static; }
  .rubric-feed-scroll .popular__surface { max-height: none; overflow: visible; scrollbar-gutter: auto; }
  .rubric-row { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; padding: 19px 17px; }
  .rubric-feed__head { padding: 15px 17px; }
  .rubric-row h2 { font-size: 18px; letter-spacing: -.6px; }
  .article-layout { display: flex; flex-direction: column; }
  .article-content { order: 1; }
  .article-sidebar { position: static; order: 2; display: block; margin: 32px 0 0; }
  .article-news-feed { width: 100%; margin: 0; }
  .ad--article-side { display: none; }
  .article-content { padding-top: 0; }
  .article-content h1 { font-size: 38px; letter-spacing: -1.9px; }
  .article-lead { margin-top: 20px; font-size: 17px; }
  .article-body { font-size: 18px; line-height: 1.62; }
  .article-gallery { gap: 10px; }
}

@media (max-width: 440px) {
  .site-shell { width: min(100% - 24px, 1280px); }
  .masthead__inner { min-height: 70px; gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; }
  .brand__mark img { width: 36px; height: 36px; }
  .brand strong { font-size: 19px; }
  .brand small { display: none; }
  .header-actions { gap: 6px; }
  .search--header { width: 38px; }
  .search--header input { display: none; }
  .search--header button { width: 38px; }
  .menu-button { min-width: 76px; gap: 7px; padding: 0 9px; font-size: 9px; }
  .menu-button i, .menu-button i::before, .menu-button i::after { width: 15px; }
  .side-rail, .rubric-rail { grid-template-columns: 1fr; }
  .hero { min-height: 390px; }
  .hero h1 { font-size: 27px; }
  .weather { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .rubric-intro h1 { font-size: 39px; }
  .rubric-row > b { font-size: 12px; }
  .rubric-row h2 { font-size: 17px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-sidebar > a { min-height: 0; border-right: 0; }
  .article-sidebar > a:nth-of-type(n + 4) { display: none; }
  .article-content h1 { font-size: 33px; letter-spacing: -1.5px; }
  .article-body { font-size: 17px; }
  .article-gallery { grid-template-columns: 1fr; }
  .article-next a { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
