/* ════════════════════════════════════════════════════════
   RCC Ajmer — Design System
   Theme: Heritage Maroon
   ════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --maroon:     #7B1C1C;
  --maroon-dk:  #5A1010;
  --maroon-lt:  #9B3030;
  --gold:       #C9922A;
  --gold-lt:    #E8C46A;
  --gold-dk:    #A87020;
  --cream:      #FAF5EC;
  --ivory:      #FFF8F0;
  --slate:      #2C2C2C;
  --mid:        #666;
  --border:     #E0D5C5;
  --white:      #ffffff;
  /* Cross drawn as a mask, not the ✝ glyph: iOS swaps that for a purple emoji */
  --cross-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 17'%3E%3Cpath d='M4.5 0h3v3.5H12v3H7.5V17h-3V6.5H0v-3h4.5z'/%3E%3C/svg%3E");

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Source Sans 3', -apple-system, 'Segoe UI', sans-serif;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;

  --max-w: 1100px;
  --r:     4px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--slate); background: var(--white); line-height: 1.6; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }

/* ── Utility ─────────────────────────────────────────────── */
.container      { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-md); }
.container--sm  { max-width: 720px; margin: 0 auto; padding: 0 var(--sp-md); }
.serif          { font-family: var(--font-serif); }
.text-center    { text-align: center; }
.text-gold      { color: var(--gold); }
.text-maroon    { color: var(--maroon); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
  background: var(--maroon-dk);
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-align: center;
  padding: 7px var(--sp-md);
}
.topbar strong { color: var(--gold-lt); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  background: var(--maroon);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  height: 62px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--maroon-dk);
  font-weight: 700;
  flex-shrink: 0;
}
.nav__logo-text {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
}
.nav__logo-text span {
  display: block;
  font-weight: 400;
  color: var(--gold-lt);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
}
.nav__links {
  display: flex;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 13px;
  height: 62px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"],
.nav__links a.nav__link--active {
  color: var(--white);
  border-bottom-color: var(--gold);
}
.nav__links a.nav__cta {
  color: var(--gold-lt);
  font-weight: 700;
}

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
}
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--maroon-dk);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.3rem;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}
.nav__mobile a:hover { color: var(--gold-lt); }
.nav__mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--r);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.12s, opacity 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary  { background: var(--gold); color: var(--maroon-dk); }
.btn--outline  { border: 2px solid rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn--outline:hover { border-color: var(--white); }
.btn--gold-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--gold-outline:hover { background: rgba(201,146,42,0.08); }
.btn--maroon-outline { border: 1.5px solid var(--maroon); color: var(--maroon); background: transparent; }
.btn--maroon-outline:hover { background: var(--maroon); color: var(--white); }
.btn--sm { padding: 9px 20px; font-size: 0.72rem; }

/* ── Page hero (all inner pages) ─────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--maroon-dk) 0%, var(--maroon) 60%, var(--maroon-lt) 100%);
  color: var(--white);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
}
.page-hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: var(--sp-xs);
  font-weight: 600;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.page-hero__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-top: var(--sp-xs);
  letter-spacing: 0.04em;
}

/* ── Section base ────────────────────────────────────────── */
.section       { padding: var(--sp-lg) 0; }
.section--alt  { background: var(--cream); }
.section--dark { background: var(--maroon); color: var(--white); }
.section__eyebrow {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.section--dark .section__eyebrow { color: var(--gold-lt); }
.section__heading,
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--maroon);
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
}
.section__eyebrow--center,
.section__title--center { text-align: center; }
.section--dark .section__heading,
.section--dark .section__title { color: var(--white); }
.section__sub {
  font-size: 0.9rem;
  color: var(--mid);
  max-width: 500px;
  margin-bottom: var(--sp-md);
}
.divider {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin-bottom: var(--sp-md);
}

/* ── Hero (homepage) ─────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--maroon-dk) 0%, var(--maroon) 50%, var(--maroon-lt) 100%);
  color: var(--white);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  width: 0.6em;
  height: 0.85em;
  background-color: currentColor;
  -webkit-mask: var(--cross-mask) center / contain no-repeat;
  mask: var(--cross-mask) center / contain no-repeat;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
}
.hero::after {
  content: '1922';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__legacy {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201,146,42,0.85);
  margin-bottom: var(--sp-sm);
  font-weight: 500;
}
.hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: var(--sp-xs);
  font-weight: 600;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: var(--sp-sm);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero__edition {
  display: block;
  font-size: 0.52em;
  letter-spacing: 0.16em;
  color: var(--gold-lt);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.3em;
}
.hero__dates {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--sp-md);
  letter-spacing: 0.04em;
}
.hero__dates strong { color: var(--gold-lt); }
.hero__ctas {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Countdown ───────────────────────────────────────────── */
.countdown {
  background: var(--maroon-dk);
  color: var(--white);
  padding: var(--sp-sm) var(--sp-md);
  text-align: center;
  border-bottom: 2px solid var(--gold-dk);
}
.countdown__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 10px;
}
.countdown__digits {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
}
.countdown__unit { text-align: center; }
.countdown__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-lt);
}
.countdown__unit-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.countdown__ended {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-lt);
  padding: var(--sp-xs) 0;
}

/* ── Info strip ──────────────────────────────────────────── */
.info-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.info-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.info-strip__item {
  padding: var(--sp-md);
  text-align: center;
  border-right: 1px solid var(--border);
}
.info-strip__item:last-child { border-right: none; }
.info-strip__icon { font-size: 1.4rem; margin-bottom: 6px; color: var(--maroon); display: flex; align-items: center; justify-content: center; }
.info-strip__label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
  font-weight: 600;
}
.info-strip__value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.3;
}
.info-strip__sub {
  font-size: 0.72rem;
  color: var(--mid);
  margin-top: 2px;
}

/* ── Welcome grid ────────────────────────────────────────── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
.welcome-grid p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: var(--sp-sm);
}
.stats-row {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}
.stat {
  flex: 1;
  text-align: center;
  padding: var(--sp-sm);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
}
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--maroon);
}
.stat__label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}
.welcome-img {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 0.8rem;
  font-style: italic;
  position: relative;
}
.welcome-img img { width: 100%; height: 100%; object-fit: cover; }
.welcome-img__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 0.65rem;
  padding: 8px 12px;
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ── Speaker cards ───────────────────────────────────────── */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.speaker-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-md);
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
}
.speaker-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.speaker-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--gold);
  margin: 0 auto var(--sp-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.speaker-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.speaker-card__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.speaker-card__role {
  font-size: 0.7rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Schedule table ──────────────────────────────────────── */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.schedule-table th {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.schedule-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--cream); }
.schedule-table .time {
  font-weight: 700;
  color: var(--maroon);
  white-space: nowrap;
  font-size: 0.82rem;
}
.schedule-table .event-name { font-weight: 600; }
.schedule-table .event-detail {
  font-size: 0.76rem;
  color: var(--mid);
  margin-top: 2px;
}

/* ── Gallery grid ────────────────────────────────────────── */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
}
.gallery-item {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
  aspect-ratio: 1;
  position: relative;
  display: block;
  text-decoration: none;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  padding: 20px 10px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--mid);
  font-size: 0.7rem;
}

/* Full gallery year grid */
.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}
.year-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: var(--slate);
  transition: box-shadow 0.15s, transform 0.15s;
  background: var(--white);
}
.year-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); }
.year-card__thumb {
  aspect-ratio: 4/3;
  background: var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.year-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.year-card__body { padding: var(--sp-sm); }
.year-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
}
.year-card__sub {
  font-size: 0.72rem;
  color: var(--mid);
  margin-top: 2px;
}

/* ── Contact cards ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--sp-md);
  text-align: center;
  background: var(--white);
}
.contact-card__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 4px;
}
.contact-card__role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: var(--sp-sm);
}
.contact-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-sm) 0;
}
.contact-card p {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.contact-card a { color: var(--maroon); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--gold-dk); text-decoration: underline; }
.contact-card__cta { margin-top: var(--sp-sm); }

/* ── Timeline (History) ──────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  margin-bottom: var(--sp-md);
  padding-left: var(--sp-md);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline__item--major::before { background: var(--maroon); box-shadow: 0 0 0 2px var(--maroon); }
.timeline__year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 4px;
}
.timeline__event { font-size: 0.88rem; color: var(--slate); line-height: 1.7; }
.timeline__item {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.timeline__item--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .timeline__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Map embed ───────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe { display: block; width: 100%; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-xs);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--gold-lt); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,0.55);
  padding: var(--sp-lg) 0 var(--sp-md);
  font-size: 0.8rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}
.footer__brand h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: var(--sp-xs);
}
.footer__brand p {
  font-size: 0.78rem;
  line-height: 1.75;
  max-width: 220px;
}
.footer__col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.12s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer__bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
}

@media (max-width: 768px) {
  :root { --sp-lg: 2.5rem; --sp-xl: 4rem; }

  /* Slide tray — off-screen by default, transform-in on open */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80vw;
    max-width: 300px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--maroon-dk);
    z-index: 1001;
    padding: 5rem 0 2rem;
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.45);
    list-style: none;
  }
  .nav__links--open { transform: translateX(0); }

  /* Tray link styles */
  .nav__links .nav__link {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 0.82rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    height: auto;
    transition: color 0.15s, background 0.15s;
  }
  .nav__links .nav__link:hover,
  .nav__links .nav__link--active {
    color: var(--gold-lt);
    background: rgba(255,255,255,0.06);
    border-bottom-color: transparent;
  }
  .nav__links li:has(.nav__link--cta) { padding: 1.5rem 2rem 0; }
  .nav__links .nav__link--cta {
    display: block;
    text-align: center;
    padding: 0.7rem 1.5rem;
    border-radius: var(--r);
    background: var(--gold);
    color: var(--white) !important;
    border-bottom: none;
  }
  .nav__links .nav__link--cta:hover { background: var(--gold-dk) !important; }

  /* Backdrop (added via JS to body) */
  .nav__backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 950;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
  }
  .nav__backdrop--visible { opacity: 1; }

  .nav__burger { display: block; position: relative; z-index: 1002; }

  .hero__title { font-size: 2rem; }
  .hero::before { display: none; }

  .countdown__digits { gap: var(--sp-md); }
  .countdown__num    { font-size: 1.8rem; }

  .info-strip__grid { grid-template-columns: 1fr; }
  .info-strip__item { border-right: none; border-bottom: 1px solid var(--border); }
  .info-strip__item:last-child { border-bottom: none; }

  .welcome-grid   { grid-template-columns: 1fr; }
  .welcome-img    { display: none; }

  .speakers-grid  { grid-template-columns: 1fr; }

  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }

  .year-grid      { grid-template-columns: repeat(2, 1fr); }

  .contact-grid   { grid-template-columns: 1fr; }

  .footer__grid   { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer__brand p { max-width: none; }

  .stats-row { flex-wrap: wrap; }
  .stat      { min-width: calc(50% - 0.5rem); }

  .schedule-table { font-size: 0.8rem; }
  .schedule-table th,
  .schedule-table td { padding: 8px 10px; }
}

@media (max-width: 480px) {
  .year-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════
   EXTENSIONS — bridge HTML class names to design system
   ═══════════════════════════════════════════════════════════ */

/* ── Footer (alternate class names used in HTML) ─────────── */
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
}
.footer__col--brand {}
.footer__logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: var(--sp-xs);
  font-weight: 700;
}
.footer__tagline {
  font-size: 0.78rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 220px;
  margin-bottom: var(--sp-sm);
}
.footer__copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: auto;
}
.footer__heading {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer__links {
  list-style: none;
}
.footer__links li {
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.footer__links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.12s;
}
.footer__links a:hover { color: var(--white); }

/* ── Nav CTA link (Register) ─────────────────────────────── */
.nav__link--cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 6px 14px !important;
  border-radius: var(--r);
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--gold-dk) !important;
  color: var(--white) !important;
}
.nav__link--cta.nav__link--active::after { display: none; }

/* ── Info strip inner alias ──────────────────────────────── */
.info-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}
.info-strip__inner .info-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: var(--sp-md);
  text-align: center;
  border-right: 1px solid var(--border);
}
.info-strip__inner .info-strip__item:last-child { border-right: none; }
.info-strip__inner .info-strip__item strong {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--slate);
  font-size: 0.95rem;
}
.info-strip__inner .info-strip__item span {
  font-size: 0.82rem;
  color: var(--mid);
}
.info-strip__inner .info-strip__icon {
  font-size: 1.4rem;
}

.info-strip__inner--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .info-strip__inner.info-strip__inner--4 { grid-template-columns: repeat(2, 1fr); }
  .info-strip__inner--4 .info-strip__item:nth-child(odd) { border-right: 1px solid var(--border); }
  .info-strip__inner--4 .info-strip__item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 400px) {
  .info-strip__inner--4 .info-strip__item { padding: var(--sp-sm); }
}

/* ── Section subtitle ────────────────────────────────────── */
.section__subtitle {
  color: var(--mid);
  font-size: 0.95rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--sp-md);
}

/* ── Speaker card photo/initials/bio aliases ─────────────── */
.speaker-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--border);
  border: 3px solid var(--gold);
  margin: 0 auto var(--sp-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maroon);
  position: relative;
}
.speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.speaker-card__initials {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.1rem;
}
.speaker-card__bio {
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── Speaker-programme pillars ───────────────────────────── */
.speaker-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) {
  .speaker-pillar-grid { grid-template-columns: 1fr; }
}
.speaker-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--maroon);
  border-radius: var(--r);
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.speaker-pillar__head { text-align: center; padding-bottom: 1rem; }
.speaker-pillar__location {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}
.speaker-pillar__bio {
  font-size: 0.81rem;
  color: var(--mid);
  line-height: 1.65;
  margin-top: 0.5rem;
  text-align: center;
}
.speaker-pillar__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}
.speaker-pillar__sessions { display: flex; flex-direction: column; gap: 0.55rem; }
.speaker-pillar__session {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.speaker-pillar__date {
  flex-shrink: 0;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 1px;
  white-space: nowrap;
}
.speaker-pillar__session-info { color: var(--slate); line-height: 1.4; }
.speaker-pillar__session-info strong { display: block; font-size: 0.75rem; color: var(--maroon-dk); }

/* ── Year card aliases ───────────────────────────────────── */
.year-card__img {
  aspect-ratio: 4/3;
  background: var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.year-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.year-card__img--placeholder {
  background: var(--cream);
}
.year-card__placeholder {
  font-size: 2rem;
  opacity: 0.35;
}
.year-card__label {
  padding: var(--sp-sm);
}
.year-card__year {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  display: block;
}
.year-card--milestone {
  border-color: var(--gold);
}
.year-card--milestone .year-card__img--placeholder {
  background: linear-gradient(135deg, var(--cream), #f0e6cc);
}
.year-card--milestone .year-card__placeholder {
  color: var(--gold);
  opacity: 0.7;
  font-size: 2.5rem;
}
.year-card--milestone .year-card__year {
  color: var(--gold-dk);
}
.year-grid--sm {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Downloads card layout ───────────────────────────────── */
/* ── Registration band (home, yearly events) ─────────────── */
.reg-band {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.reg-band .section__eyebrow { color: var(--gold-lt); }
.reg-band .section__title { color: var(--white); text-wrap: balance; }
.reg-band__lead {
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: var(--sp-sm);
}
.reg-band__deadline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-lt);
  font-size: 0.9rem;
  margin-bottom: var(--sp-md);
}
.reg-band__deadline strong { color: var(--white); font-weight: 600; }
.reg-band__forms {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem 0;
}
.reg-band__forms-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.75rem 1.5rem 0.25rem;
}
.reg-band__row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reg-band__row + .reg-band__row { border-top: 1px solid rgba(255,255,255,0.1); }
.reg-band__row:hover { background: rgba(255,255,255,0.05); }
.reg-band__row:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: -2px; }
.reg-band__tile {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(232,196,106,0.45);
  color: var(--gold-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reg-band__text { display: flex; flex-direction: column; gap: 0.2rem; }
.reg-band__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.reg-band__desc { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.reg-band__get {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px solid var(--gold);
  color: var(--gold-lt);
  border-radius: var(--r);
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reg-band__row:hover .reg-band__get { background: var(--gold); color: var(--maroon-dk); }
.reg-band__help {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 1.5rem 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.reg-band__help a { color: var(--gold-lt); text-decoration: underline; }
@media (max-width: 860px) {
  .reg-band { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .reg-band__row { grid-template-columns: 44px minmax(0, 1fr); padding: 1rem 1.1rem; }
  .reg-band__tile { width: 44px; height: 44px; }
  .reg-band__get { grid-column: 2; justify-self: start; }
  .reg-band__forms-label, .reg-band__help { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* ── Venue map caption (contact page) ─────────────────────── */
.map-wrap__caption { font-size: 0.85rem; color: var(--slate); margin-top: 0.75rem; text-align: center; }
.map-wrap__links { font-size: 0.85rem; text-align: center; margin-top: 0.25rem; }
.map-wrap__links a { color: var(--maroon); font-weight: 600; }
.info-strip__item a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ── Contact people (contact page) ───────────────────────── */
.contact-people__lead {
  color: var(--mid);
  font-size: 0.95rem;
  margin-bottom: var(--sp-md);
}
.contact-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-md);
}
.contact-person {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.contact-person__head { display: flex; gap: 1rem; align-items: center; }
.contact-person__tile {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-person__title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 700;
}
.contact-person__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--maroon);
  line-height: 1.25;
}
.contact-person__role { font-size: 0.85rem; color: var(--mid); }
.contact-person__desc {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
  margin: var(--sp-sm) 0 0;
}
.contact-person__details {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: var(--sp-sm);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--slate);
}
.contact-person__details li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.contact-person__details svg { color: var(--maroon); margin-top: 0.15em; }
.contact-person__details a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-person__details a:hover { text-decoration: underline; }

/* ── Timeline aliases ────────────────────────────────────── */
.timeline__content {
  /* wraps year + title + body text */
}
.timeline__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.4rem;
  margin-top: 0.25rem;
}
.timeline__marker {
  /* hidden — item::before pseudo does the dot */
  display: none;
}
.timeline__marker--gold {}
.timeline__item--milestone::before {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
  width: 18px;
  height: 18px;
  left: -1.8rem;
}
.timeline__item p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── Responsive extensions ───────────────────────────────── */
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }
  .info-strip__inner { grid-template-columns: 1fr; }
  .info-strip__inner .info-strip__item { border-right: none; border-bottom: 1px solid var(--border); }
  .info-strip__inner .info-strip__item:last-child { border-bottom: none; }
  .year-grid--sm { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .year-grid--sm { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════
   REDESIGN 2026 — Museum Dark direction
   ════════════════════════════════════════════════════════ */

/* ── Legacy Stats Bar ───────────────────────────────────── */
.legacy-stats {
  background: var(--maroon-dk);
  border-top: 2px solid var(--gold-dk);
  border-bottom: 2px solid var(--gold-dk);
}
.legacy-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-sm) var(--sp-md);
}
.legacy-stats__inner--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.legacy-stats__item {
  text-align: center;
  padding: var(--sp-sm);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.legacy-stats__item:last-child { border-right: none; }
.legacy-stats__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
.legacy-stats__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ── What is RCC ────────────────────────────────────────── */
.what-is-rcc {
  background: var(--white);
  padding: var(--sp-lg) 0;
}
.what-is-rcc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}
.what-is-rcc__grid p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: var(--sp-sm);
}
.what-is-rcc__img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--border);
  position: relative;
}
.what-is-rcc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.what-is-rcc__img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 0.65rem;
  padding: 8px 12px;
  letter-spacing: 0.04em;
}
.what-is-rcc__text .btn {
  margin-top: var(--sp-sm);
}

/* ── Photo-backed Divider ───────────────────────────────── */
.photo-divider {
  background: linear-gradient(135deg, var(--maroon-dk) 0%, var(--maroon) 100%);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.photo-divider::before {
  content: '';
  width: 0.6em;
  height: 0.85em;
  background-color: currentColor;
  -webkit-mask: var(--cross-mask) center / contain no-repeat;
  mask: var(--cross-mask) center / contain no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  line-height: 1;
}
.photo-divider__inner {
  position: relative;
  z-index: 1;
}
.photo-divider__eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}
.photo-divider__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

/* ── Scripture Quote Band ───────────────────────────────── */
.scripture-band {
  background: var(--maroon-dk);
  border-top: 1px solid rgba(201,146,42,0.3);
  border-bottom: 1px solid rgba(201,146,42,0.3);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.scripture-band::before {
  content: '';
  width: 0.6em;
  height: 0.85em;
  background-color: currentColor;
  -webkit-mask: var(--cross-mask) center / contain no-repeat;
  mask: var(--cross-mask) center / contain no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
}
.scripture-band__inner {
  position: relative;
  z-index: 1;
}
.scripture-band__text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto var(--sp-xs);
}
.scripture-band__cite {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-style: normal;
}
.scripture-band__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin: 0 0 var(--sp-xs);
}

/* ── Register Steps Indicator ───────────────────────────── */
.reg-steps {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}
.reg-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 140px;
}
.reg-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reg-step__label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.3;
}
.reg-step__label span {
  display: block;
  font-size: 0.7rem;
  color: var(--mid);
  font-weight: 400;
  margin-top: 2px;
}
.reg-step__arrow {
  color: var(--border);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Timeline Enhancements ──────────────────────────────── */
.timeline__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: var(--sp-sm) var(--sp-md);
}
.timeline__card--milestone {
  border-color: var(--gold);
  border-left-color: var(--maroon);
  background: var(--cream);
}
.timeline__milestone-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dk);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

/* Alternating desktop timeline layout */
@media (min-width: 769px) {
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline__item {
    width: 50%;
    padding-left: 0;
    padding-right: calc(var(--sp-lg) + 1rem);
    text-align: right;
  }
  .timeline__item::before {
    left: auto;
    right: calc(-1 * var(--sp-md) - 7px);
  }
  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding-left: calc(var(--sp-lg) + 1rem);
    padding-right: 0;
    text-align: left;
  }
  .timeline__item:nth-child(even)::before {
    left: calc(-1 * var(--sp-md) - 7px);
    right: auto;
  }
}

/* ── Daily schedule (Yearly Events) ─────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rhythm {
  max-width: 960px;
  margin: 0 auto var(--sp-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.rhythm__label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--maroon);
}
.rhythm__slots {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  font-size: 0.92rem;
  color: var(--slate);
}
.rhythm__time { font-weight: 700; color: var(--maroon); margin-right: 0.25rem; }
.rhythm__note { font-size: 0.82rem; color: var(--mid); }

.sessions {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.sessions thead th {
  background: var(--maroon-dk);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  text-align: left;
  padding: 0.9rem 1.25rem;
}
.sessions thead .sessions__time { color: var(--gold-lt); font-family: var(--font-sans); font-size: 0.8rem; margin-right: 0.35rem; }
.sessions tbody tr + tr > * { border-top: 1px solid var(--border); }
.sessions td, .sessions tbody th { padding: 1.1rem 1.25rem; vertical-align: top; text-align: left; }
.sessions__day { width: 200px; white-space: nowrap; }
.sessions__dayin { display: flex; gap: 0.75rem; align-items: center; }
.sessions__date { display: flex; }
.sessions__date { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.sessions__date strong { font-family: var(--font-serif); font-size: 1.05rem; color: var(--maroon); }
.sessions__date small { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; }
.sessions__num {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--maroon-dk);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sessions__cell .sessions__time { display: none; }
.sessions__title { display: block; font-weight: 700; color: var(--slate); }
.sessions__kind { display: block; font-size: 0.82rem; color: var(--mid); margin-top: 0.1rem; }
.sessions__speaker { display: block; font-family: var(--font-serif); color: var(--maroon); font-weight: 700; margin-top: 0.35rem; }
.sessions__place { font-family: var(--font-sans); font-weight: 400; color: var(--mid); font-size: 0.85rem; }
.sessions__cell--none .sessions__title { font-weight: 400; color: var(--mid); font-style: italic; }

@media (max-width: 700px) {
  .rhythm { padding: 1.1rem; }
  .rhythm__slots { flex-direction: column; align-items: center; gap: 0.4rem; }
  .sessions, .sessions tbody, .sessions tr, .sessions td, .sessions tbody th { display: block; width: auto; }
  .sessions { border: none; background: transparent; overflow: visible; }
  .sessions thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .sessions tbody tr {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--sp-sm);
  }
  .sessions tbody tr + tr > * { border-top: none; }
  .sessions tbody th { background: var(--maroon-dk); padding: 0.8rem 1rem; }
  .sessions__date strong { color: var(--white); }
  .sessions__date small { color: var(--gold-lt); }
  .sessions td { padding: 0.9rem 1rem; }
  .sessions td + td { border-top: 1px solid var(--border); }
  .sessions__cell--none { display: none !important; }
  .sessions__cell--none + td { border-top: none; }
  .sessions__cell .sessions__time {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold-dk);
    margin-bottom: 0.15rem;
  }
}

/* ── Year Card Enhancements ─────────────────────────────── */
.year-card__count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}

/* ── Gallery empty state ─────────────────────────────────── */
.gallery-empty {
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 2rem;
}
.gallery-empty__icon {
  display: block;
  font-size: 2.5rem;
  opacity: 0.35;
  margin-bottom: 1rem;
}
.gallery-empty p {
  color: var(--mid);
  font-size: 0.92rem;
  max-width: 420px;
  margin: 0 auto;
}

/* ── Responsive — new components ────────────────────────── */
@media (max-width: 768px) {
  .legacy-stats__inner { grid-template-columns: repeat(2, 1fr); }
  .legacy-stats__inner--3 { grid-template-columns: repeat(3, 1fr); }
  .what-is-rcc__grid { grid-template-columns: 1fr; }
  .reg-steps { flex-direction: column; }
  .reg-step__arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 12px; }

  /* Collapse alternating timeline on mobile */
  .timeline__item,
  .timeline__item:nth-child(even) {
    width: 100%;
    padding-left: var(--sp-md);
    padding-right: 0;
    text-align: left;
    margin-left: 0;
  }
  .timeline__item::before,
  .timeline__item:nth-child(even)::before {
    left: -1.65rem;
    right: auto;
  }
}
