@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  --font-display: 'Archivo', 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-ui: 'Archivo', 'Open Sans', sans-serif;

  --color-stone-950: #0c0a09;
  --color-stone-900: #1c1917;
  --color-stone-800: #292524;
  --color-stone-700: #44403c;
  --color-stone-600: #57534e;
  --color-stone-500: #78716c;
  --color-stone-400: #a8a29e;
  --color-stone-300: #d6d3d1;
  --color-stone-200: #e7e5e3;
  --color-stone-100: #f5f5f4;
  --color-stone-50: #fafaf9;

  --color-teal-900: #064e3b;
  --color-teal-800: #065f46;
  --color-teal-700: #097367;
  --color-teal-600: #0d9488;
  --color-teal-500: #14b8a6;
  --color-teal-100: #ccfbf1;
  --color-teal-50: #f0fdfa;

  --color-red-700: #b91c1c;
  --color-red-600: #d82125;
  --color-red-500: #f82004;
  --color-red-100: #fee2e2;

  --color-text: var(--color-stone-900);
  --color-text-secondary: var(--color-stone-600);
  --color-text-muted: var(--color-stone-500);
  --color-accent: var(--color-teal-700);
  --color-accent-hover: var(--color-teal-600);
  --color-accent-red: var(--color-red-600);
  --color-bg: var(--color-stone-50);
  --color-surface: #fff;
  --color-border: var(--color-stone-200);

  --max-width: 1100px;
  --content-width: 900px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-stone-900);
}
h1 { font-size: 3rem; margin: 0 0 0.3em; }
h2 { font-size: 2rem; margin: 1.5em 0 0.5em; }
h3 { font-size: 1.5rem; margin: 1.2em 0 0.4em; }

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.content-width {
  max-width: var(--content-width);
}

/* ── Navbar ── */
.r-navbar {
  display: flex;
  align-items: stretch;
  background: var(--color-stone-900);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
.r-navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-red) 0%, var(--color-accent-red) 30%, var(--color-accent) 30%, var(--color-accent) 100%);
}
.r-navbar__brand {
  display: block;
  background: var(--color-accent);
  padding: 10px 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  text-decoration: none !important;
  flex-shrink: 0;
}
.r-navbar__brand:hover { color: #fff; }
.r-brand-line1 { letter-spacing: 0.35em; font-size: 1.05em; }
.r-brand-line2 { letter-spacing: 0.05em; font-size: 1em; }
.r-brand-line3 { letter-spacing: 0.12em; font-size: 1.03em; }
.r-navbar__bar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(16px, 3vw, 24px);
  gap: 0;
}
.r-navbar__toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-stone-600);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 20px;
  color: var(--color-stone-300);
}
.r-navbar__links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.r-navbar__links a {
  display: block;
  padding: 4px 16px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-stone-400);
  text-decoration: none !important;
  position: relative;
  transition: color 0.2s;
}
.r-navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--color-accent-red);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.r-navbar__links a:hover { color: #fff; }
.r-navbar__links a:hover::after { transform: scaleX(1); }

/* Dropdown */
.r-navbar__dropdown {
  position: relative;
}
.r-navbar__dropdown-trigger {
  display: block;
  padding: 4px 16px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-stone-400);
  cursor: pointer;
  transition: color 0.2s;
}
.r-navbar__dropdown:hover .r-navbar__dropdown-trigger {
  color: #fff;
}
.r-navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-stone-900);
  border: 1px solid var(--color-stone-700);
  border-top: 2px solid var(--color-accent);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  min-width: 200px;
  z-index: 100;
  border-radius: 0 0 4px 4px;
}
.r-navbar__dropdown:hover .r-navbar__dropdown-menu {
  display: block;
}
.r-navbar__dropdown-menu a {
  padding: 8px 20px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--color-stone-400) !important;
  white-space: nowrap;
}
.r-navbar__dropdown-menu a:hover {
  color: #fff !important;
  background: var(--color-stone-800);
}
.r-navbar__dropdown-menu a::after {
  display: none !important;
}

@media (max-width: 768px) {
  .r-navbar { flex-direction: column; }
  .r-navbar__brand { padding: 10px 16px; }
  .r-navbar__bar { justify-content: space-between; padding: 8px 16px; }
  .r-navbar__toggle { display: block; }
  .r-navbar__links {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--color-stone-700);
    padding-top: 8px;
    margin-top: 8px;
  }
  .r-navbar__links.is-open { display: flex; }
  .r-navbar__links a { padding: 8px 0; }
  .r-navbar__links a::after { display: none; }
  .r-navbar__dropdown-menu {
    position: static;
    border: none;
    border-top: none;
    margin: 0;
    padding: 0 0 0 16px;
    min-width: auto;
  }
  .r-navbar__dropdown-menu a {
    padding: 6px 0 !important;
  }
}

/* ── Footer ── */
.r-footer {
  margin-top: 80px;
}
.r-footer__bar {
  display: flex;
  align-items: stretch;
  background: var(--color-stone-900);
  max-width: var(--max-width);
  margin: 0 auto;
}
.r-footer__brand {
  display: block;
  background: var(--color-accent);
  padding: 10px 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  flex-shrink: 0;
}
.r-footer__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 24px);
  gap: 16px;
  flex-wrap: wrap;
}
.r-footer__info {
  font-size: 0.85rem;
  color: var(--color-stone-400);
}
.r-footer__info a {
  color: var(--color-stone-300);
  text-decoration: none !important;
}
.r-footer__info a:hover { color: #fff; }
.r-footer__sep {
  color: var(--color-stone-600);
  margin: 0 8px;
}
.r-footer__sponsors {
  font-size: 0.8rem;
  color: var(--color-stone-500);
}
.r-footer__sponsors a {
  color: var(--color-stone-300);
  text-decoration: none !important;
}
.r-footer__sponsors a:hover { color: #fff; }
@media (max-width: 640px) {
  .r-footer__bar { flex-direction: column; }
  .r-footer__content { padding: 16px; flex-direction: column; text-align: center; }
}

/* ── Main content ── */
main { padding: 48px 0; }

/* ── Homepage hero ── */
.r-hero {
  position: relative;
  margin: 0 0 48px;
  overflow: hidden;
  background: var(--color-stone-900);
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}
.r-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.r-hero__content {
  position: relative;
  z-index: 1;
  padding: 60px clamp(20px, 4vw, 48px) 48px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}
.r-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.r-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-stone-300);
  margin: 0;
  max-width: 540px;
}
.r-hero__actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.r-hero__cta {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-accent);
  color: #fff !important;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 4px;
  align-self: flex-start;
  transition: background 0.2s;
}
.r-hero__cta:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}
.r-hero__news {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.r-hero__news a {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(248, 32, 4, 0.85);
  padding: 2px 8px;
  text-decoration: none;
}
.r-hero__news a:hover { background: rgba(248, 32, 4, 1); color: #fff; }
.r-hero__news a::before {
  content: '→';
  font-size: 0.85em;
}

/* ── Section divider ── */
.r-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 24px;
}
.r-section-divider::before,
.r-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.r-section-divider h2 {
  margin: 0;
  font-size: 0.85rem;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

/* ── Event cards ── */
.r-events-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.r-event-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.r-event-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.r-event-card a {
  display: block;
  padding: 24px;
  color: inherit;
  text-decoration: none !important;
}
.r-event-card__top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.r-event-card__date {
  min-width: 56px;
  text-align: center;
  padding: 8px 0;
  border-right: 2px solid var(--color-accent);
  padding-right: 16px;
}
.r-event-card__month {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.r-event-card__day {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-stone-900);
}
.r-event-card__info h3 {
  margin: 0;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.r-event-card:hover .r-event-card__info h3 { color: var(--color-accent); }
.r-event-card__meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.r-event-card__books {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.r-event-card__books img {
  width: 60px;
  height: 85px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ── Book grid (detail page) ── */
.r-book-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.r-book-grid img {
  width: 140px;
  height: auto;
  aspect-ratio: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease;
}
.r-book-grid img:hover { transform: scale(1.04); }

/* ── Speaker cards ── */
.r-speaker-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.r-speaker-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.r-speaker-headshot {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.r-speaker-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  background: var(--color-stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  color: var(--color-stone-400);
  flex-shrink: 0;
}
.r-speaker-info h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: var(--color-accent);
}
.r-speaker-info .affiliation {
  font-style: normal;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}
.r-speaker-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.r-speaker-social a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: #fff;
  background: var(--color-accent-red);
  padding: 3px 10px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
}
.r-speaker-social a:hover {
  background: var(--color-red-500);
  color: #fff;
}
.r-speaker-bio {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Speaker grid (index) ── */
.r-speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
}
.r-speaker-grid-item {
  text-align: center;
}
.r-speaker-grid-item img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.r-speaker-grid-item:hover img { transform: scale(1.05); }
.r-speaker-grid-item h2,
.r-speaker-grid-item h3 {
  font-size: 1.1rem;
  margin: 0 0 2px;
}
.r-speaker-grid-item a { text-decoration: none !important; }
.r-speaker-grid-item .affiliation {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-style: normal;
}

/* ── Season groups (events index) ── */
.r-season-group {
  margin-bottom: 32px;
}
.r-season-group__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-stone-900);
  padding: 8px 16px;
  margin: 0;
  border-left: 4px solid var(--color-accent);
}
.r-season-group__label::after { display: none; }
.r-season-group__events {
  display: flex;
  flex-direction: column;
}
.r-event-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s;
}
.r-event-row:hover {
  background: var(--color-teal-50);
}
.r-event-row__date {
  min-width: 48px;
  text-align: center;
  flex-shrink: 0;
}
.r-event-row__month {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-red);
}
.r-event-row__day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-stone-900);
}
.r-event-row__content {
  flex: 1;
  min-width: 0;
}
.r-event-row__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-stone-900);
  line-height: 1.3;
  transition: color 0.15s;
}
.r-event-row:hover .r-event-row__title {
  color: var(--color-accent);
}
.r-event-row__speakers {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.r-event-row__books {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.r-event-row__books img {
  width: 36px;
  height: 50px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .r-event-row__books { display: none; }
}

/* ── News ── */
.r-news-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 32px;
}
.r-news-item {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}
.r-news-date {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.r-news-item h2 {
  font-size: 1.6rem;
  margin: 6px 0 0;
}
.r-news-item h2 a { color: var(--color-accent); text-decoration: none !important; transition: color 0.2s; }
.r-news-item h2 a:hover { color: var(--color-accent-red); }
.r-news-banner { margin: 16px 0; }
.r-news-banner img { width: 100%; border-radius: 6px; }
.r-news-banner figcaption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 6px;
}

/* ── Section headers ── */
.r-page-header {
  margin: 0 0 32px;
  padding: 12px clamp(20px, 4vw, 48px);
  background: var(--color-stone-900);
  color: #fff;
  border-bottom: none;
  border-left: 4px solid var(--color-accent-red);
}
.r-page-header h1 { margin: 0; color: #fff; font-size: 1.8rem; }
.r-page-header p {
  margin: 4px 0 0;
  color: var(--color-stone-400);
  font-size: 1rem;
}
.r-page-header .r-news-date { color: var(--color-stone-400); }
.r-page-header a { color: var(--color-teal-500); }

section h2 {
  position: relative;
  padding-bottom: 12px;
}
section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-accent-red);
}

/* ── Resources ── */
.r-resource-group { margin-bottom: 40px; }
.r-resource-group h3 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.r-resource-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-stone-100);
}
.r-resource-item a { font-weight: 500; }

/* ── Eventbrite button ── */
.r-btn-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 32px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.r-btn-register:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* ── Prose (markdown body) ── */
.r-prose {
  max-width: var(--content-width);
}
.r-prose p { margin: 0 0 1.2em; }
.r-prose h2 { margin-top: 2em; }
.r-prose h3 { margin-top: 1.5em; }
.r-prose blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
  margin: 1.5em 0;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* ── Tags ── */
.r-tags { margin-top: 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.r-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--color-stone-100);
  border-radius: 99px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

/* ── Event detail header ── */
.r-event-hero {
  margin: 0 0 40px;
  padding: 32px 0 28px;
  background: var(--color-stone-900);
  color: #fff;
}
.r-event-hero .container { display: flex; align-items: flex-start; gap: 24px; }
.r-event-hero__date {
  min-width: 80px;
  text-align: center;
  padding: 12px 0;
  border-right: 3px solid var(--color-accent);
  padding-right: 24px;
}
.r-event-hero__month {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-stone-400);
}
.r-event-hero__day {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.r-event-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

/* ── Speaker profile (detail) ── */
.r-speaker-profile {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.r-speaker-profile img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.r-speaker-profile h1 { margin: 0 0 4px; }
.r-speaker-profile .affiliation {
  font-style: normal;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: block;
}
@media (max-width: 640px) {
  .r-speaker-profile { flex-direction: column; align-items: center; text-align: center; }
}

/* ── Appearances list ── */
.r-appearances {
  list-style: none;
  padding: 0;
}
.r-appearances li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-stone-100);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.r-appearances .date {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ── 404 ── */
.r-not-found {
  text-align: center;
  padding: 100px 0;
}
.r-not-found h1 {
  font-size: 6rem;
  margin: 0;
  color: var(--color-stone-300);
}
.r-not-found p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin: 8px 0 24px;
}
.r-not-found a {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: all 0.2s;
}
.r-not-found a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .r-page-header {
    padding: 16px 16px;
  }
  .r-page-header h1 { font-size: 1.8rem; }

  .r-speaker-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
  }

  .r-event-hero .container {
    flex-direction: column;
    gap: 12px;
  }
  .r-event-hero__date {
    border-right: none;
    border-bottom: 3px solid var(--color-accent);
    padding-right: 0;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: auto;
    text-align: left;
  }
  .r-event-hero__day { font-size: 2rem; }

  .r-event-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 12px;
  }
  .r-event-row__speakers {
    white-space: normal;
  }

  .r-season-group__label {
    font-size: 0.95rem;
    padding: 6px 12px;
  }

  main { padding: 24px 0; }
}

@media (max-width: 640px) {
  .r-page-header {
    padding: 12px 12px;
  }
  .r-page-header h1 { font-size: 1.5rem; }

  .r-speaker-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
  }
  .r-speaker-grid-item img {
    width: 80px;
    height: 80px;
  }

  .r-speaker-item {
    flex-direction: column;
    gap: 12px;
  }

  .r-hero { min-height: 280px; }
  .r-hero__content { padding: 32px 16px 24px; }

  .r-event-card a { padding: 16px; }

  .r-event-card__top { gap: 12px; }

  .r-appearances li {
    flex-direction: column;
    gap: 4px;
  }
}

/* ── Book tags (flowing chips) ── */
/* ── Resource sections ── */
.r-section-heading {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-stone-900);
  margin: 0 0 12px;
}

/* ── Resource list (striped rows) ── */
.r-resource-list {
  border-left: 4px solid var(--color-accent);
  max-width: var(--content-width);
}
.r-resource-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s;
}
.r-resource-row--alt {
  background: var(--color-stone-100);
}
.r-resource-row:hover {
  background: var(--color-teal-50);
}
.r-resource-row__icon {
  background: var(--color-stone-900);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.r-resource-row__title {
  flex: 1;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-stone-900);
}
.r-resource-row:hover .r-resource-row__title {
  color: var(--color-accent);
}
.r-resource-row__date {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 72px;
}
.r-resource-row__author {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: right;
  flex-shrink: 0;
  max-width: 280px;
}
.r-resource-row__content {
  flex: 1;
}
.r-resource-row__related {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ── Show more button ── */
.r-show-more-btn {
  display: block;
  width: 100%;
  max-width: var(--content-width);
  margin: 16px 0 0;
  padding: 12px 24px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.r-show-more-btn:hover {
  background: var(--color-accent-hover);
}

/* ── Video embed ── */
.video-embed { margin: 24px 0; border-radius: 8px; overflow: hidden; }
