:root {
  --ink: #15202e;
  --muted: #5b6575;
  --line: #e6e1d8;
  --bg: #fbf8f3;
  --card: #ffffff;
  --accent: #c0503a;       /* terracotta */
  --accent-soft: #f8e7e2;
  --navy: #173a5e;         /* deep blue */
  --navy-soft: #e6eef6;
  --gold: #d9a441;
  --teal: #2f7f7a;
  --radius: 14px;
  --max: 1100px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.nav ul a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 20px 80px; }
section { padding: 56px 0 8px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin: 0 0 12px; font-weight: 600; }
h2 { font-size: 1.75rem; margin: 0 0 6px; font-weight: 600; }
h3 { font-size: 1.15rem; margin: 0 0 4px; font-weight: 600; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 700px; }
.section-intro { color: var(--muted); margin: 0 0 26px; max-width: 720px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 48px 0 0; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding-top: 64px; }
.hero-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, #2d4a75 60%, var(--accent) 140%);
  display: grid; place-items: center; color: #fff; font-family: var(--serif); font-size: 4rem;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { font-size: 0.82rem; padding: 4px 11px; border-radius: 999px; background: var(--navy-soft); color: var(--navy); font-weight: 500; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; margin: 0 10px 10px 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9e3f2c; color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }
.card .meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
a.card { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .go { display: inline-block; margin-top: 12px; font-size: 0.88rem; font-weight: 600; color: var(--navy); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 28px 0 8px; }
.stat { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1.1; }
.stat span { font-size: 0.86rem; color: var(--muted); }

/* ---------- outlets strip ---------- */
.outlets { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin-top: 14px; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; }

/* ---------- lists (papers, media) ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.paper-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.authors { color: var(--muted); font-size: 0.93rem; margin-top: 2px; }
.venue { font-style: italic; }
.tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.75rem; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.tag.navy { background: var(--navy-soft); color: var(--navy); }
.links { margin-top: 8px; font-size: 0.9rem; display: flex; gap: 16px; flex-wrap: wrap; }

.media-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; }
.media-date { font-size: 0.85rem; color: var(--muted); padding-top: 3px; }
.media-outlet { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; }
.role { font-size: 0.75rem; padding: 2px 9px; border-radius: 999px; font-weight: 600; margin-left: 6px; vertical-align: 2px; }
.role.author { background: var(--accent); color: #fff; }
.role.guest { background: var(--navy); color: #fff; }
.role.expert { background: var(--navy-soft); color: var(--navy); }

.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.featured .card.big { padding: 28px; background: var(--navy); color: #fff; border: 0; }
.featured .card.big p, .featured .card.big .meta { color: #d9e1ee; }
.featured .card.big h3 { color: #fff; font-size: 1.45rem; }
.featured .card.big a { color: #fff; }

/* ---------- tools ---------- */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 26px; }
.tool h2 { font-size: 1.5rem; }
.controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; margin: 20px 0; }
.controls label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; cursor: pointer; }
.controls input { margin-top: 5px; accent-color: var(--accent); width: 17px; height: 17px; }
.results { display: grid; gap: 12px; }
.result { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; padding: 14px 16px; }
.result.now { border-left-color: var(--accent); }
.result .when { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--muted); }
.result .amt { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.result p { margin: 4px 0 0; font-size: 0.93rem; color: var(--muted); }
.empty { color: var(--muted); font-style: italic; }

.bars { display: grid; gap: 9px; margin-top: 16px; }
.bar-row { display: grid; grid-template-columns: 210px 1fr 70px; gap: 12px; align-items: center; font-size: 0.9rem; }
.bar-track { background: #f0eee9; border-radius: 4px; height: 20px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--navy); border-radius: 4px; }
.bar-fill.hl { background: var(--accent); }
.bar-row .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

.yearly { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.yearly th, .yearly td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.yearly th:first-child, .yearly td:first-child { text-align: left; }
.yearly thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.legend { display: flex; gap: 18px; font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.timeline { list-style: none; margin: 18px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 14px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 3px solid var(--accent); }
.timeline .t-date { font-size: 0.82rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.timeline .t-what { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; margin: 2px 0; }
.timeline .t-take { background: var(--navy-soft); border-radius: 8px; padding: 10px 14px; margin-top: 8px; font-size: 0.93rem; }
.timeline .t-take b { color: var(--navy); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.filters button { font: inherit; font-size: 0.85rem; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 14px; cursor: pointer; color: var(--muted); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.note { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: #f4f2ed; }
.foot { max-width: var(--max); margin: 0 auto; padding: 32px 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.foot a { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero, .featured, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-photo { max-width: 300px; order: -1; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .controls { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 60px; }
  .bar-row .lbl { grid-column: 1 / -1; }
  .media-item { grid-template-columns: 1fr; gap: 4px; }
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav ul { gap: 16px; }
}

/* ---------- v2 theme additions ---------- */
.hero {
  margin-top: 28px; padding: 48px 52px; border-radius: 22px; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(217,164,65,.28), transparent 45%),
              linear-gradient(135deg, #10263f 0%, #173a5e 55%, #1f4f73 100%);
  box-shadow: 0 20px 50px -25px rgba(16,38,63,.55);
}
.hero h1 { color: #fff; }
.hero .lede { color: #d6e0ec; }
.hero .tagline { color: var(--gold) !important; font-weight: 600 !important; }
.hero .chip { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-photo { border-radius: 18px; border: 4px solid rgba(217,164,65,.85); box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.card { box-shadow: 0 1px 2px rgba(21,32,46,.04); }
a.card:hover { box-shadow: 0 14px 30px -18px rgba(21,32,46,.35); }
.area { border-top: 4px solid var(--accent); }
.area:nth-child(2) { border-top-color: var(--gold); }
.area:nth-child(3) { border-top-color: var(--teal); }
.area .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; background: var(--accent-soft); color: var(--accent); }
.area:nth-child(2) .icon { background: #fbf1dc; color: #a87814; }
.area:nth-child(3) .icon { background: #e2f1ef; color: var(--teal); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #dde3ea; display: block; color: #fff; text-decoration: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption, .photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 0.85rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(10,20,35,.85)); }
.card .meta { color: var(--accent); }
.media-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
@media (max-width: 860px) {
  .hero { padding: 30px 22px; }
  .photo-strip { grid-template-columns: 1fr; }
}

.disclaimer { display: flex; gap: 12px; align-items: flex-start; background: #fff8ea; border: 1px solid #f0d9a6; border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 14px 16px; font-size: 0.9rem; color: #4a3f2a; margin: 4px 0 22px; }
.disclaimer b { color: #6b4e10; }
.disclaimer svg { flex: none; margin-top: 2px; color: #a87814; }


/* ---------- Background: cool light (25 Nov 2026) ---------- */
:root { --bg: #f4f7fb; --line: #e1e7ef; }
.site-header { background: rgba(244, 247, 251, 0.94); }
footer { background: #e9eef5; }
