:root,
[data-theme="light"] {
  --bg: #f5f3ef;
  --surface: #fcfbf8;
  --surface-2: #f0ece5;
  --border: rgba(26, 28, 32, 0.12);
  --text: #17191d;
  --muted: #666f7b;
  --accent: #ef5a29;
  --accent-2: #b42025;
  --accent-soft: rgba(239, 90, 41, 0.14);
  --shadow: 0 12px 40px rgba(24, 20, 17, 0.12);
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --bg: #0b0d10;
  --surface: #12161b;
  --surface-2: #191f26;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --muted: #a3afbc;
  --accent: #ff6b2c;
  --accent-2: #ffb347;
  --accent-soft: rgba(255, 107, 44, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; border-radius: 24px; }
button { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 20;
}
.skip-link:focus { top: 16px; }

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  position: sticky;
  top: 12px;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  min-width: 180px;
}
.brand-line {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-bottom: 6px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.topnav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}
.topnav a:hover,
.topnav a.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.theme-toggle {
  width: 52px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  padding: 4px;
  cursor: pointer;
}
.theme-toggle__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateX(0);
  transition: transform 200ms ease;
}
[data-theme="dark"] .theme-toggle__dot { transform: translateX(18px); }

.hero-page,
.page-wrap {
  padding-top: 44px;
}

.hero-card,
.info-panel,
.team-photo-card,
.schedule-item,
.page-hero {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: calc(100vh - 180px);
  border-radius: 36px;
  display: grid;
  gap: 28px;
  align-content: center;
  padding: clamp(32px, 5vw, 72px);
  overflow: hidden;
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,44,0.35), rgba(255,107,44,0));
  filter: blur(10px);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-wordmark {
  margin: 0;
  display: grid;
  gap: 10px;
}
.hero-wordmark__small {
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.45em;
  color: var(--muted);
}
.hero-wordmark__main {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
}
.hero-subcopy,
.section-lead,
.muted-copy,
.info-panel p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nav-tile {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.nav-tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface-2));
}
.nav-tile__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.nav-tile__meta { color: var(--muted); }

.page-hero,
.info-panel,
.team-photo-card,
.schedule-item {
  border-radius: 28px;
}
.page-hero,
.info-panel { padding: 28px; }
.page-hero h1,
.info-panel h2,
.info-panel h3,
.schedule-item h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); }

.feature-grid,
.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
  margin-top: 22px;
}
.spotlight-panel {
  position: relative;
  overflow: hidden;
}
.large-time {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.detail-list span { color: var(--muted); }
.detail-list strong { text-align: right; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 107, 44, 0.22);
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}

.team-photo-card {
  padding: 12px;
}
.team-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.schedule-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
}
.schedule-item__date {
  display: grid;
  gap: 6px;
  place-items: center;
  padding: 14px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface-2));
}
.schedule-item__date span {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.schedule-item__date strong {
  font-size: 1.3rem;
  font-family: var(--font-display);
}
.schedule-item__body p {
  margin: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.pill--muted {
  background: color-mix(in srgb, var(--surface-2) 75%, var(--accent-soft));
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 90ms; }

@media (max-width: 900px) {
  .topbar,
  .feature-grid,
  .about-layout,
  .hero-actions,
  .schedule-item {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    display: grid;
  }

  .topnav {
    justify-content: flex-start;
  }

  .schedule-item {
    align-items: flex-start;
  }

  .schedule-item__date {
    width: 96px;
  }

  .hero-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .topbar,
  .hero-card,
  .page-hero,
  .info-panel,
  .schedule-item {
    border-radius: 22px;
  }

  .hero-card {
    padding: 24px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .topnav a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
