:root {
  --ink: #0b0d10;
  --ink-2: #161a20;
  --paper: #f4f1ea;
  --card: #ffffff;
  --line: #e4ddd2;
  --muted: #5c6570;
  --accent: #c1121f;
  --accent-2: #e09f3e;
  --ok: #1b4332;
  --max: 1180px;
  --serif: "Source Serif 4", "Georgia", serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* Top */
.mast {
  background: var(--ink);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}
.mast-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 0;
  color: #c9c3b8;
}
.mast-top a { color: var(--accent-2); text-decoration: none; }
.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 16px;
}
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo strong {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.03em;
  color: #fff;
}
.logo span {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 6px;
}
.nav { display: flex; flex-wrap: wrap; gap: 18px; }
.nav a {
  color: #ece7dc;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav a:hover { color: var(--accent-2); }

.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 40px;
  padding: 8px 0;
  animation: slide 38s linear infinite;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ticker b { color: #ffd7a8; margin-right: 8px; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Home layout */
.grid-home {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 28px;
  padding: 28px 0 56px;
}
.hero {
  background: var(--card);
  border: 1px solid var(--line);
}
.hero img { width: 100%; height: 360px; object-fit: cover; }
.hero-body { padding: 22px 24px 26px; }
.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  margin: 8px 0 12px;
}
.hero h1 a { text-decoration: none; }
.lead { color: var(--muted); font-size: 17px; }
.meta { font-size: 13px; color: var(--muted); margin-top: 14px; }

.cards { display: grid; gap: 18px; margin-top: 22px; }
.card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
}
.card img { width: 160px; height: 118px; object-fit: cover; }
.card-body { padding: 12px 14px 12px 0; }
.card h2 { font-family: var(--serif); font-size: 20px; line-height: 1.25; }

.side { display: flex; flex-direction: column; gap: 18px; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
}
.panel h3 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.trend-list { list-style: none; }
.trend-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.trend-list small { color: var(--muted); }
.note {
  background: var(--ink-2);
  color: #ece7dc;
  padding: 18px;
}
.note h3 { color: var(--accent-2); border-color: #3a414b; }

/* Article */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 32px;
  padding: 28px 0 64px;
}
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.article h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  margin: 8px 0 14px;
}
.article .lead {
  font-size: 20px;
  color: #2b3138;
  margin-bottom: 16px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.feature { margin: 8px 0 8px; }
.feature img { width: 100%; height: auto; }
.caption { font-size: 13px; color: var(--muted); padding: 8px 0 18px; }
.article h2 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 32px 0 12px;
  line-height: 1.2;
}
.article h3 {
  font-size: 18px;
  margin: 22px 0 8px;
}
.article p { margin: 0 0 16px; font-size: 18px; }
.article ul, .article ol { margin: 0 0 18px 22px; font-size: 17px; }
.article li { margin: 6px 0; }
.toc {
  background: #efe8da;
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  margin: 8px 0 24px;
}
.toc strong { display: block; margin-bottom: 8px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc li { margin: 4px 0; }
.callout {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px 18px;
  margin: 8px 0 22px;
}
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}
.related a {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
}
.related a strong { display: block; font-family: var(--serif); font-size: 18px; margin-top: 4px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 650; }

footer {
  background: var(--ink);
  color: #c9c3b8;
  padding: 36px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
footer a { color: #ece7dc; }
.legal { border-top: 1px solid #2a3038; padding-top: 14px; font-size: 12px; }

@media (max-width: 900px) {
  .grid-home, .article-wrap, .foot-grid, .related, .card { grid-template-columns: 1fr; }
  .hero img { height: 220px; }
  .card img { width: 100%; height: 180px; }
  .nav { display: none; }
}
