/* ── Container ─────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.container-wide {
  max-width: var(--wide-w);
}

/* ── Sticky Nav ────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-normal) ease,
              box-shadow var(--dur-normal) ease;
}

.site-nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  gap: var(--sp-md);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-days {
  display: flex;
  list-style: none;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  scroll-snap-type: x proximity;
}

.nav-days::-webkit-scrollbar {
  display: none;
}

.nav-days li {
  scroll-snap-align: center;
}

.nav-days a {
  display: block;
  padding: 6px 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  border-radius: var(--r-sm);
  transition: all var(--dur-fast) ease;
  text-decoration: none;
}

.nav-days a:hover {
  background: var(--bg-subtle);
  color: var(--navy);
  text-decoration: none;
}

.nav-days a.active {
  background: var(--navy);
  color: white;
}

.nav-divider {
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  white-space: nowrap;
}

/* ── Day Section ───────────────────────────────────── */

.day-section {
  background: var(--bg);
  margin-bottom: 2px;
}

.day-section:nth-child(even) {
  background: var(--bg-warm);
}

.day-body {
  padding: var(--sp-xl) 0 var(--sp-2xl);
}

.day-body.is-collapsed {
  display: none;
}

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 640px) {
  .nav-brand {
    display: none;
  }

  .nav-days a {
    padding: 6px 8px;
    font-size: 0.875rem;
  }

  .flight-table th,
  .flight-table td {
    padding: var(--sp-xs) var(--sp-sm);
  }

  .tl-item .time {
    min-width: 4.5rem;
  }

  .tl-sub {
    margin-left: 0;
    padding-left: var(--sp-sm);
    border-left: 2px solid var(--border);
  }

  .map-embed iframe {
    height: 220px;
  }
}

@media (min-width: 1024px) {
  .day-body {
    padding: var(--sp-xl) 0 var(--sp-2xl);
  }

  .photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }

  .photo-grid .photo-card {
    margin: 0;
  }

  .map-embed iframe {
    height: 340px;
  }
}
