:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #1d1a17;
  --muted: #5f5850;
  --line: #e8e1d6;
  --accent: #8c1d40;
  --accent-soft: #f6e9ed;
  --gold: #e8a81c;
  --shadow: 0 1px 2px rgba(29, 26, 23, .05), 0 8px 24px rgba(29, 26, 23, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120f;
    --surface: #1f1b17;
    --ink: #f2ede6;
    --muted: #b3aaa0;
    --line: #342e28;
    --accent: #e0839f;
    --accent-soft: #2d1d22;
    --gold: #f0bd4f;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0; }

nav.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
}
.brand { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--gold); }
.links { display: flex; gap: 22px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.links a:hover { color: var(--accent); }

.hero, main, footer { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.hero { padding-top: 72px; padding-bottom: 48px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 70%, color-mix(in srgb, var(--gold) 45%, transparent) 70%); }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 22px 0 28px; }

.cta, .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #15120f; } }

section { padding: 56px 0 8px; }
h2 { font-size: 34px; margin-bottom: 24px; }
.section-lead { color: var(--muted); margin: -12px 0 24px; max-width: 60ch; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: Fraunces, Georgia, serif; font-size: 34px; color: var(--accent); line-height: 1.1; }
.stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

.tag { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; box-shadow: var(--shadow); margin-bottom: 18px;
  border-top: 5px solid var(--gold);
}
.feature h3 { font-size: 30px; margin-bottom: 14px; }
.feature p { max-width: 70ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.pills span { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.card .result { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.card .result a { text-decoration: none; }
.card.soon { border-style: dashed; background: transparent; box-shadow: none; }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.videos figure { margin: 0; }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
figcaption { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
figcaption b { display: block; color: var(--ink); }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.channels a { display: block; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.channels a:hover { border-color: var(--accent); }
.channels b { display: block; font-size: 17px; }
.channels span { color: var(--muted); font-size: 14.5px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 0 0 26px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.when { color: var(--muted); font-size: 14px; font-weight: 600; padding-top: 2px; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.edu { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.edu div { background: var(--accent-soft); border-radius: 14px; padding: 18px 20px; }
.edu b { display: block; }
.edu span { color: var(--muted); font-size: 14.5px; }
.recog { margin-top: 20px; color: var(--muted); font-size: 15px; }
.recog b { color: var(--ink); }

.contact { text-align: center; padding-bottom: 40px; }
.contact p { max-width: 58ch; margin: 0 auto 24px; color: var(--muted); font-size: 17px; }
.contact .cta { justify-content: center; }
.elsewhere { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 30px; }
.elsewhere a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.elsewhere a:hover { color: var(--accent); }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 30px 24px 40px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .grid, .videos { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .links { display: none; }
  .hero { padding-top: 40px; }
  .lead { font-size: 17px; }
  .grid, .videos, .channels, .edu { grid-template-columns: 1fr; }
  .feature { padding: 24px; }
  .feature h3 { font-size: 25px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  h2 { font-size: 28px; }
}
