:root {
  --ground: #F5E9E4;
  --ink: #151515;
  --paper: #FBF4F0;
  --soft: #EDDCD3;
  --line: #DCC4B8;
  --muted: #5D4E46;
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--ground);
  padding: 10px 18px; z-index: 50; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); }
.masthead-in {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 24px; padding-top: 30px; padding-bottom: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.mark { width: 42px; height: 42px; flex: none; color: var(--ink); }
.mark-sm { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1; letter-spacing: .005em;
}
.brand-name-sm { font-size: 1.35rem; }
.tagline { margin: 0 0 4px; color: var(--muted); font-style: italic; font-size: .95rem; }

.globalnav { border-top: 1px solid var(--line); background: var(--paper); }
.nav-in { display: flex; gap: 26px; padding-top: 11px; padding-bottom: 11px; overflow-x: auto; }
.nav-in a {
  text-decoration: none; font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; white-space: nowrap;
  padding: 2px 4px; border-radius: 4px;
}
.nav-in a:hover { background: var(--ink); color: var(--ground); }

/* ---------- Ads ---------- */
.ad { display: flex; justify-content: center; }
.ad-inner {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--muted);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.6; flex: none;
}
.ad-leader { margin: 30px 0 8px; }
.ad-bottom { margin: 40px 0 10px; }

.ad-728x90, .ad-468x60, .ad-300x600 { display: none; }
.ad-320x50, .ad-300x250 { display: flex; }
@media (min-width: 512px)  { .ad-320x50 { display: none; } .ad-468x60 { display: flex; } }
@media (min-width: 800px)  { .ad-468x60 { display: none; } .ad-728x90 { display: flex; } }
@media (max-width: 351px)  { .ad-300x250 { display: none; } }
@media (min-width: 1140px) { .ad-300x600 { display: flex; } }

/* ---------- Section heads ---------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; border-bottom: 2px solid var(--ink);
  padding-bottom: 9px; margin: 46px 0 22px;
}
.section-head h2 { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; margin: 0; }
.section-head a {
  font-size: .74rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.section-head a:hover { text-decoration: underline; }

/* ---------- Kickers, deks ---------- */
.kicker {
  margin: 0 0 10px; font-size: .72rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
}
.kicker a { text-decoration: none; }
.kicker a:hover { color: var(--ink); }

/* ---------- Home ---------- */
.home-lead {
  display: grid; gap: 28px; margin: 36px 0 8px;
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 920px) { .home-lead { grid-template-columns: 1.3fr 1fr; } }
.lead-img {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--soft); border: 1px solid var(--line);
}
.lead-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.lead-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; margin: 0 0 14px;
}
.lead-title a { text-decoration: none; }
.lead-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.lead-dek { color: var(--muted); font-size: 1.06rem; line-height: 1.6; margin: 0 0 18px; }
.readlink {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 3px;
}
.readlink:hover { background: var(--ink); color: var(--ground); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-img {
  display: block; background: var(--soft);
  aspect-ratio: 3 / 2; overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.32rem;
  line-height: 1.24; margin: 0 0 10px;
}
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-dek { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
}
.chip span { color: var(--muted); font-weight: 400; }
.chip:hover { background: var(--ink); color: var(--ground); }
.chip:hover span { color: var(--ground); }

/* ---------- Rows ---------- */
.rowlist { display: flex; flex-direction: column; }
.row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.row img {
  width: 112px; height: 75px; object-fit: cover;
  border-radius: 8px; flex: none; border: 1px solid var(--line);
}
.row-text { display: block; }
.row .kicker { margin-bottom: 4px; }
.row h3 {
  font-family: var(--serif); font-weight: 700; font-size: 1.12rem;
  line-height: 1.28; margin: 0 0 5px;
}
.row:hover h3 { text-decoration: underline; }
.row p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ---------- Two-column layout with rail ---------- */
.layout { display: grid; gap: 44px; margin: 10px 0 20px; }
@media (min-width: 1140px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
}
.rail { min-width: 0; }
.rail-sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 26px; align-items: center; }
@media (max-width: 1139px) { .rail-sticky { position: static; } }

.rail-list { align-self: stretch; border-top: 2px solid var(--ink); padding-top: 12px; }
.rail-title {
  margin: 0 0 6px; font-size: .72rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
}
.rail-item {
  display: block; padding: 11px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-family: var(--serif); font-weight: 600;
  font-size: 1.04rem; line-height: 1.32;
}
.rail-item:hover { text-decoration: underline; }

/* ---------- Article ---------- */
.article-head { max-width: 820px; margin: 38px 0 30px; }
.article-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.1;
  margin: 0 0 18px; text-wrap: balance;
}
.dek {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin: 0;
}

.figure { margin: 30px 0; }
.figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--soft);
}
.figcap, .credit { font-size: .8rem; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.credit { letter-spacing: .02em; margin-top: 3px; }

.gallery { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.gallery .figure { margin: 6px 0; flex: 1 1 240px; max-width: 480px; }

.toc {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; margin: 30px 0 6px;
}
.toc-title {
  margin: 0 0 6px; font-size: .72rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
}
.toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2; column-gap: 40px; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 7px; break-inside: avoid; }
.toc a { text-decoration: none; font-weight: 500; }
.toc a:hover { text-decoration: underline; }

.prose { max-width: 720px; margin-top: 26px; }
.prose .unit { margin: 36px 0; scroll-margin-top: 20px; }
.prose .unit h2 {
  font-family: var(--serif); font-weight: 700; font-size: 1.58rem;
  line-height: 1.24; margin: 0 0 14px;
  padding-top: 18px; border-top: 1px solid var(--line);
  text-wrap: balance;
}
.prose .unit:first-child h2 { border-top: 0; padding-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose .specs {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 4px; padding: 0;
}
.prose .specs li {
  background: var(--soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 13px;
  font-size: .78rem; color: var(--muted); font-weight: 500;
}

.topics-row { margin: 40px 0 0; padding: 22px 0; border-top: 2px solid var(--ink); }
.topics-label {
  display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
}
.source-note {
  margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--muted);
}
.source-note a { color: var(--ink); }

/* ---------- Topics index ---------- */
.topic-index {
  display: grid; gap: 14px; margin: 34px 0 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .topic-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .topic-index { grid-template-columns: 1fr; } }
.topic-tile {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  text-decoration: none; display: flex; flex-direction: column; gap: 3px;
}
.topic-tile:hover { background: var(--ink); color: var(--ground); }
.tile-name { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.tile-count { font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.topic-tile:hover .tile-count { color: var(--ground); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--paper); margin-top: 70px; }
.footer-in {
  display: flex; flex-wrap: wrap; gap: 18px 40px;
  align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-tag { margin: 0; color: var(--muted); font-style: italic; font-size: .9rem; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a {
  text-decoration: none; font-weight: 600; font-size: .78rem;
  letter-spacing: .13em; text-transform: uppercase;
}
.footer-nav a:hover { text-decoration: underline; }
.footer-note { margin: 0; color: var(--muted); font-size: .82rem; }
