:root {
  --bg-deep: #0b1220;
  --bg-card: #121c2e;
  --bg-card-hover: #172338;
  --text-primary: #f4f7fb;
  --text-muted: #9eb0c8;
  --gold: #e8b84a;
  --gold-soft: rgba(232, 184, 74, 0.15);
  --ice: #7ec8e3;
  --ice-soft: rgba(126, 200, 227, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 200, 227, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(232, 184, 74, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(126, 200, 227, 0.08), transparent 50%);
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--gold);
}

.hero-lead {
  max-width: 620px;
  margin: 1.25rem auto 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.meta-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 140px;
}

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.day-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.day-nav-inner {
  display: flex;
  gap: 0.25rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.day-nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-link {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
  background: var(--gold-soft);
}

main {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.panel,
.day-section {
  margin-bottom: 3rem;
}

.panel-header h2,
.day-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.panel-header p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.check-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  flex-shrink: 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.principle-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.principle-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--gold);
}

.principle-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.day-heading {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.day-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
}

.day-theme {
  margin: 0.35rem 0 0.75rem;
  color: var(--text-muted);
}

.park-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
}

.park-badge--dca {
  background: var(--ice-soft);
  color: var(--ice);
}

.park-badge--free {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 0 0 1.25rem 1.25rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold);
}

.timeline time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ice);
  padding-top: 0.1rem;
}

.timeline strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.timeline p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.callout {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: var(--ice-soft);
  border-left: 3px solid var(--ice);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.highlight-tag {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.highlight-tag:first-child {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: transparent;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.ref-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ref-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--gold);
}

.ref-card ul,
.ref-card ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ref-card li + li {
  margin-top: 0.35rem;
}

.budget-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.budget-table caption {
  padding: 1rem 1.25rem 0.5rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
}

.budget-table th,
.budget-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-top: 1px solid var(--border);
}

.budget-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.budget-table td:last-child {
  font-weight: 600;
  color: var(--gold);
  text-align: right;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-note {
  margin-top: 0.5rem !important;
  font-size: 0.75rem !important;
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .day-heading {
    flex-direction: column;
    gap: 0.5rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-left: 1rem;
  }

  .timeline time {
    font-size: 0.75rem;
  }
}