/* Response-ability: indigo + hash orange, Bricolage Grotesque for type, Source Serif 4 for reading. */
:root {
  --indigo: #29225C;
  --ink: #1E1945;
  --orange: #E66B23;
  --orange-dark: #B4521A;
  --orange-soft: #FFB98A;
  --paper: #F7F6FC;
  --lilac: #DCD7F5;
  --line: #CFCAE8;
  --muted: #4E4880;
  --on-dark: #DCD7F5;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* Header */
.site-header { background: var(--indigo); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; flex-wrap: wrap; }
.wordmark { color: #fff; text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.wordmark:hover { color: #fff; }
.wordmark-lg { font-size: 30px; }
.hash { color: var(--orange); }
.site-nav { display: flex; gap: 32px; font-size: 17px; font-weight: 500; }
.site-nav a { color: #fff; text-decoration: none; }
.site-nav a:hover { color: var(--orange-soft); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.search-link { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--indigo); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 16px; text-decoration: none; }
.search-link:hover { color: var(--indigo); background: var(--lilac); }
.menu-toggle { display: none; font: inherit; font-weight: 600; font-size: 16px; color: #fff; background: transparent; border: 2px solid #6E66B0; border-radius: 999px; padding: 9px 18px; cursor: pointer; }

/* Buttons and pills */
.pill { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--indigo); border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn { display: inline-block; background: var(--indigo); color: #fff !important; border-radius: 999px; padding: 10px 20px; font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; margin: 4px 8px 4px 0; }
.btn:hover { background: var(--ink); }
.text-link { font-weight: 700; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid #6E66B0; border-radius: 999px; padding: 9px 16px; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
.chip:hover { background: #3A3278; color: #fff; }
.chip .hash { color: var(--orange-soft); }

/* Search box */
.searchbox { display: flex; background: #fff; border-radius: 999px; padding: 6px; max-width: 640px; }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 19px; padding: 14px 22px; color: var(--ink); border-radius: 999px; }
.searchbox button { background: var(--orange); color: var(--ink); border: 0; border-radius: 999px; padding: 14px 28px; font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; }
.searchbox button:hover { background: var(--orange-soft); }
.search-label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 12px; color: #fff; }

/* Home hero */
.hero { background: var(--indigo); color: #fff; padding: 72px 0 112px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; }
.hero .lede { margin: 32px 0 44px; font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--on-dark); max-width: 34em; }
.hero .chips { margin-top: 22px; }
.collage-wrap { position: relative; }
.collage-hash { position: absolute; right: -60px; top: -150px; font-size: 640px; line-height: 1; font-weight: 800; color: var(--orange); z-index: 0; user-select: none; }
.collage { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.collage img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); display: block; }
.collage img:nth-child(3n+2) { margin-top: 48px; }
.collage-note { position: relative; z-index: 1; margin: 30px 0 0; font-size: 15px; color: var(--on-dark); }

/* Sections */
.section { padding: 104px 0 88px; }
.section-lilac { background: var(--lilac); padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2, .section-title { margin: 0; font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.section-head p, .section-intro { margin: 14px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 36em; }

/* Episode list */
.ep-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--indigo); }
.ep { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ep-num { font-size: 56px; font-weight: 800; color: var(--orange); letter-spacing: -0.04em; line-height: 1; }
.ep h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; }
.ep h3 a { color: var(--ink); text-decoration: none; }
.ep h3 a:hover { color: var(--orange-dark); text-decoration: underline; }
.ep p { margin: 6px 0 0; font-size: 17px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.card-link { display: block; text-decoration: none; color: var(--ink); }
.card img, .card-ph { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r); display: block; background: var(--lilac); }
.card-ph { display: flex; align-items: center; justify-content: center; font-size: 96px; font-weight: 800; color: var(--orange); background: var(--indigo); }
.section-lilac .card-ph { background: var(--indigo); }
.card-meta { margin: 20px 0 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.card h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }
.card-link:hover h3 { color: var(--orange-dark); text-decoration: underline; }
.cards-people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.cards-people .card img, .cards-people .card-ph { aspect-ratio: 1; }
.cards-people .card h3 { font-size: 20px; }

/* Summits */
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.year { text-decoration: none; color: var(--ink); display: block; }
.year img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); display: block; }
.year-num { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; margin-top: 18px; line-height: 1; }
.year p { margin: 10px 0 0; font-size: 18px; line-height: 1.45; }
.year:hover .year-num { color: var(--orange-dark); }
.year-links { list-style: none; padding: 0; margin: 14px 0 0; font-size: 17px; line-height: 1.9; }

/* Sponsors */
.sponsors { border-top: 2px solid var(--indigo); padding-top: 36px; }
.sponsors-text { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; }
.sponsors h2 { margin: 0; font-size: 22px; font-weight: 700; }
.sponsors-text p { margin: 0; font-size: 18px; color: var(--muted); line-height: 1.6; flex: 1; min-width: 280px; }
.logos { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.logos li { background: #fff; border-radius: 14px; height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: center; }
.logos img { height: 36px; max-width: 150px; width: auto; object-fit: contain; display: block; }

/* Page heroes */
.page-hero { background: var(--indigo); color: #fff; padding: 56px 0 64px; }
.page-hero h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 20em; }
.page-hero .lede { margin: 20px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--on-dark); max-width: 38em; }
.list-body, .page-body { padding-top: 64px; padding-bottom: 104px; }
.year-heading { font-size: 40px; font-weight: 800; margin: 64px 0 24px; letter-spacing: -0.03em; }
.year-heading:first-child { margin-top: 0; }

.post-hero { background: var(--indigo); color: #fff; padding: 48px 0 80px; }
.post-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.post-hero.no-image .post-top { grid-template-columns: minmax(0, 1fr); }
.crumb { margin: 0 0 18px; font-size: 17px; font-weight: 600; color: var(--on-dark); }
.crumb a { color: var(--on-dark); }
.ep-big { font-size: 120px; font-weight: 800; color: var(--orange); letter-spacing: -0.05em; line-height: 0.85; margin-bottom: 20px; }
.post-hero h1 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.post-meta { margin: 20px 0 0; font-size: 20px; color: var(--on-dark); }
.post-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 28px; display: block; }
.post-image.portrait { max-width: 360px; aspect-ratio: 1; justify-self: end; }
.post-body { display: flex; flex-wrap: wrap; gap: 72px; padding-top: 72px; padding-bottom: 104px; }
.post-body .prose { flex: 999 1 560px; min-width: 0; }
.post-aside { flex: 1 1 280px; max-width: 360px; }
.post-aside h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; }
.mini-list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 2px solid var(--indigo); }
.mini-list a { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.35; }
.mini-list a:hover span:last-child { color: var(--orange-dark); text-decoration: underline; }
.mini-num { font-size: 28px; font-weight: 800; color: var(--orange); width: 44px; flex: none; line-height: 1; }
.aside-box { background: var(--lilac); border-radius: var(--r); padding: 24px; margin-top: 40px; }
.aside-box input { width: 100%; font: inherit; font-size: 17px; padding: 12px 18px; border-radius: 999px; border: 2px solid transparent; background: #fff; color: var(--ink); }

/* Prose (migrated content) */
.prose { font-family: var(--serif); font-size: 20px; line-height: 1.65; color: #2A2552; max-width: 40em; }
.prose-wide { max-width: 46em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4, .prose h5 { font-family: var(--sans); color: var(--ink); line-height: 1.2; margin: 1.7em 0 0.55em; }
.prose h2 { font-size: 32px; font-weight: 800; }
.prose h3 { font-size: 26px; font-weight: 700; }
.prose h4, .prose h5 { font-size: 21px; font-weight: 700; }
.prose img { display: block; border-radius: 16px; margin: 1.4em 0; }
.prose p img { display: inline-block; margin: 0.4em 1em 0.6em 0; vertical-align: top; }
.prose img[width="150"], .prose img[width="200"], .prose img[width="300"] { float: right; margin: 0.3em 0 1em 1.4em; max-width: 40%; }
.prose h2, .prose h3, .prose h4, .prose ul, .prose ol, .prose blockquote, .prose iframe { clear: both; }
.prose blockquote { border-left: 4px solid var(--orange); padding: 4px 0 4px 24px; margin-left: 0; font-style: italic; }
.prose iframe.video { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 16px; display: block; margin: 1.4em 0; background: #000; }
.prose iframe.player { width: 100%; height: 200px; border: 0; display: block; margin: 0 0 1.6em; border-radius: 16px; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 16px; display: block; overflow-x: auto; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose::after { content: ""; display: block; clear: both; }
.prose a[href$=".pdf"]::after { content: " (PDF)"; font-size: 0.8em; }

/* Search page */
.search-hero { background: var(--indigo); padding: 32px 0 48px; }
.search-layout { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 48px; padding-bottom: 104px; }
.filters { flex: 1 1 240px; max-width: 280px; }
.results { flex: 999 1 560px; min-width: 0; }
.filters h2 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.filters h2 + * { margin-bottom: 36px; }
.f-type { display: flex; flex-direction: column; gap: 8px; }
.f-year { display: flex; flex-wrap: wrap; gap: 8px; }
.fbtn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; font-size: 16px; font-weight: 600; padding: 12px 16px; border-radius: 14px; cursor: pointer; border: 2px solid var(--line); background: #fff; color: var(--ink); }
.f-year .fbtn { width: auto; border-radius: 999px; padding: 9px 16px; }
.fbtn[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.fbtn .n { font-weight: 500; }
.r-summary { margin: 0 0 8px; font-size: 17px; color: var(--muted); }
.r-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--indigo); }
.r-item { padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; gap: 24px; align-items: flex-start; }
.r-item img, .r-item .r-ph { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; flex: none; }
.r-ph { background: var(--indigo); color: var(--orange); font-weight: 800; font-size: 44px; display: flex; align-items: center; justify-content: center; }
.r-meta { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--muted); }
.r-meta .hash { color: var(--orange-dark); }
.r-item h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; }
.r-item h3 a { color: var(--ink); text-decoration: none; }
.r-item h3 a:hover { color: var(--orange-dark); text-decoration: underline; }
.r-excerpt { margin: 10px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.55; color: #38325F; }
mark { background: #FFD9BF; color: var(--ink); padding: 0 2px; border-radius: 3px; }
.more-btn { margin-top: 28px; font: inherit; font-weight: 700; font-size: 17px; background: #fff; border: 2px solid var(--indigo); color: var(--indigo); border-radius: 999px; padding: 12px 24px; cursor: pointer; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 48px; }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; max-width: 26em; }
.site-footer h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 2; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer .copy { margin: 56px 0 0; font-size: 14px; color: #A59FD0; }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hero-grid, .post-top, .years, .foot, .cards { grid-template-columns: minmax(0, 1fr); }
  .cards-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage-hash { font-size: 420px; top: -80px; right: -40px; }
  .ep { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .ep .play { grid-column: 2; justify-self: start; }
  .ep-num { font-size: 40px; }
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding-bottom: 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid #3A3278; }
  .bar { gap: 10px; min-height: 72px; }
  .wordmark { font-size: 21px; margin-right: auto; }
  .search-link { order: 2; padding: 9px 14px; font-size: 15px; }
  .menu-toggle { order: 3; padding: 7px 14px; font-size: 15px; }
  .logos li { height: 56px; padding: 0 14px; }
  .logos img { height: 26px; max-width: 110px; }
  .post-image.portrait { justify-self: start; max-width: 240px; }
  .prose { font-size: 19px; }
  .prose img[width="150"], .prose img[width="200"], .prose img[width="300"] { float: none; margin: 1em 0; max-width: 60%; }
  .filters { max-width: none; }
  .r-item img, .r-item .r-ph { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
