/* ============================================
   Trip Visualizer - Enchanted Minimalism
   ============================================
   A refined, editorial approach to Disney magic.
   Clean surfaces that reveal depth through motion.
*/

/* ============================================
   Preload Screen
   ============================================ */
.preload {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(180deg, #050510 0%, #0a0a1a 40%, #12122e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  overflow: hidden;
}

.preload.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .main-content,
body.is-loading .day-header-fixed,
body.is-loading .timeline-track,
body.is-loading .timeline-times,
body.is-loading .scroll-hint,
body.is-loading .mini-map,
body.is-loading .mobile-map-toggle {
  opacity: 0;
}

body:not(.is-loading) .main-content,
body:not(.is-loading) .day-header-fixed,
body:not(.is-loading) .timeline-track,
body:not(.is-loading) .timeline-times,
body:not(.is-loading) .scroll-hint,
body:not(.is-loading) .mini-map,
body:not(.is-loading) .mobile-map-toggle {
  animation: fadeInContent 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@keyframes fadeInContent {
  to { opacity: 1; }
}

/* Stars Background */
.preload__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.preload__star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--stardust);
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}

/* Distribute stars randomly with CSS */
.preload__star:nth-child(1) { left: 5%; top: 10%; animation-delay: 0s; }
.preload__star:nth-child(2) { left: 15%; top: 25%; animation-delay: 0.5s; }
.preload__star:nth-child(3) { left: 25%; top: 8%; animation-delay: 1s; }
.preload__star:nth-child(4) { left: 35%; top: 35%; animation-delay: 0.3s; }
.preload__star:nth-child(5) { left: 45%; top: 15%; animation-delay: 1.5s; }
.preload__star:nth-child(6) { left: 55%; top: 28%; animation-delay: 0.7s; }
.preload__star:nth-child(7) { left: 65%; top: 5%; animation-delay: 2s; }
.preload__star:nth-child(8) { left: 75%; top: 20%; animation-delay: 0.2s; }
.preload__star:nth-child(9) { left: 85%; top: 12%; animation-delay: 1.2s; }
.preload__star:nth-child(10) { left: 95%; top: 30%; animation-delay: 0.8s; }
.preload__star:nth-child(11) { left: 8%; top: 45%; animation-delay: 1.8s; }
.preload__star:nth-child(12) { left: 18%; top: 60%; animation-delay: 0.4s; }
.preload__star:nth-child(13) { left: 28%; top: 52%; animation-delay: 2.2s; }
.preload__star:nth-child(14) { left: 38%; top: 68%; animation-delay: 0.6s; }
.preload__star:nth-child(15) { left: 48%; top: 42%; animation-delay: 1.4s; }
.preload__star:nth-child(16) { left: 58%; top: 55%; animation-delay: 0.1s; }
.preload__star:nth-child(17) { left: 68%; top: 48%; animation-delay: 2.5s; }
.preload__star:nth-child(18) { left: 78%; top: 62%; animation-delay: 0.9s; }
.preload__star:nth-child(19) { left: 88%; top: 50%; animation-delay: 1.6s; }
.preload__star:nth-child(20) { left: 92%; top: 70%; animation-delay: 0.35s; }
.preload__star:nth-child(21) { left: 3%; top: 78%; animation-delay: 2.1s; }
.preload__star:nth-child(22) { left: 12%; top: 85%; animation-delay: 0.55s; }
.preload__star:nth-child(23) { left: 22%; top: 75%; animation-delay: 1.3s; }
.preload__star:nth-child(24) { left: 32%; top: 88%; animation-delay: 0.15s; }
.preload__star:nth-child(25) { left: 42%; top: 80%; animation-delay: 1.9s; }
.preload__star:nth-child(26) { left: 52%; top: 72%; animation-delay: 0.45s; }
.preload__star:nth-child(27) { left: 62%; top: 85%; animation-delay: 2.3s; }
.preload__star:nth-child(28) { left: 72%; top: 78%; animation-delay: 0.75s; }
.preload__star:nth-child(29) { left: 82%; top: 88%; animation-delay: 1.1s; }
.preload__star:nth-child(30) { left: 97%; top: 82%; animation-delay: 0.25s; }
.preload__star:nth-child(31) { left: 10%; top: 92%; animation-delay: 1.7s; }
.preload__star:nth-child(32) { left: 20%; top: 95%; animation-delay: 0.65s; }
.preload__star:nth-child(33) { left: 30%; top: 93%; animation-delay: 2.4s; }
.preload__star:nth-child(34) { left: 40%; top: 96%; animation-delay: 0.85s; }
.preload__star:nth-child(35) { left: 50%; top: 91%; animation-delay: 1.25s; }
.preload__star:nth-child(36) { left: 60%; top: 94%; animation-delay: 0.05s; }
.preload__star:nth-child(37) { left: 70%; top: 97%; animation-delay: 2.6s; }
.preload__star:nth-child(38) { left: 80%; top: 92%; animation-delay: 0.95s; }
.preload__star:nth-child(39) { left: 90%; top: 95%; animation-delay: 1.45s; }
.preload__star:nth-child(40) { left: 2%; top: 3%; animation-delay: 0.2s; }
.preload__star:nth-child(41) { left: 7%; top: 38%; animation-delay: 2.7s; }
.preload__star:nth-child(42) { left: 93%; top: 42%; animation-delay: 0.4s; }
.preload__star:nth-child(43) { left: 47%; top: 6%; animation-delay: 1.55s; }
.preload__star:nth-child(44) { left: 33%; top: 18%; animation-delay: 0.78s; }
.preload__star:nth-child(45) { left: 67%; top: 32%; animation-delay: 2.15s; }
.preload__star:nth-child(46) { left: 13%; top: 72%; animation-delay: 0.58s; }
.preload__star:nth-child(47) { left: 87%; top: 38%; animation-delay: 1.85s; }
.preload__star:nth-child(48) { left: 53%; top: 58%; animation-delay: 0.32s; }
.preload__star:nth-child(49) { left: 27%; top: 42%; animation-delay: 2.45s; }
.preload__star:nth-child(50) { left: 73%; top: 8%; animation-delay: 0.68s; }

/* Larger stars for depth */
.preload__star:nth-child(3n) {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 6px rgba(244, 240, 230, 0.5);
}

.preload__star:nth-child(7n) {
  width: 4px;
  height: 4px;
  background: var(--pixie-dust);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Main Content */
.preload__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

/* Castle SVG */
.preload__castle {
  width: clamp(120px, 25vw, 200px);
  height: auto;
  color: var(--stardust);
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
  animation: castleGlow 4s ease-in-out infinite;
}

.preload__castle svg {
  width: 100%;
  height: auto;
}

/* Castle element animations */
.preload__spire {
  animation: spireReveal 1.5s ease-out forwards;
  opacity: 0;
  transform-origin: bottom center;
}

.preload__spire--1 { animation-delay: 0.1s; }
.preload__spire--2 { animation-delay: 0.2s; }
.preload__spire--3 { animation-delay: 0.2s; }
.preload__spire--4 { animation-delay: 0.3s; }
.preload__spire--5 { animation-delay: 0.3s; }

.preload__tower {
  animation: towerReveal 1s ease-out forwards;
  opacity: 0;
  transform-origin: bottom center;
}

.preload__tower--1 { animation-delay: 0.4s; }
.preload__tower--2 { animation-delay: 0.5s; }
.preload__tower--3 { animation-delay: 0.5s; }
.preload__tower--4 { animation-delay: 0.6s; }
.preload__tower--5 { animation-delay: 0.6s; }

.preload__base {
  animation: baseReveal 0.8s ease-out forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.preload__window {
  animation: windowGlow 2s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes spireReveal {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes towerReveal {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes baseReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes windowGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes castleGlow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2)); }
  50% { filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.4)); }
}

/* Title */
.preload__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--stardust);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0;
  animation: titleReveal 1.2s ease-out forwards;
  animation-delay: 0.8s;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 0.3em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.1em;
  }
}

/* Progress */
.preload__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.preload__progress-track {
  width: clamp(180px, 40vw, 280px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preload__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--warm-gold), var(--pixie-dust));
  border-radius: 2px;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 10px var(--pixie-dust), 0 0 20px rgba(255, 215, 0, 0.3);
}

.preload__status {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Pixie Dust Particles */
.preload__pixie-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 215, 0, 0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 215, 0, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 20%, rgba(255, 215, 0, 0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 50%, rgba(255, 215, 0, 0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 80%, rgba(255, 215, 0, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255, 215, 0, 0.6) 0%, transparent 100%);
  animation: pixieDrift 8s ease-in-out infinite;
}

@keyframes pixieDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Deep Night Sky - Primary backgrounds */
  --midnight: #0a0a1a;
  --deep-navy: #12122e;
  --twilight: #1a1a3e;

  /* Starlight - Accent & highlights */
  --stardust: #f4f0e6;
  --moonbeam: #e8e4d9;
  --parchment: #faf8f3;

  /* Magic Gold - Interactive & featured */
  --pixie-dust: #ffd700;
  --warm-gold: #d4a84b;
  --soft-amber: #c9a227;

  /* Enchanted Accents */
  --castle-rose: #e8c4c4;
  --fantasy-violet: #8b7bb5;
  --adventure-teal: #4a9b9b;
  --tomorrow-blue: #5b8dd9;

  /* Functional */
  --text-primary: var(--stardust);
  --text-secondary: rgba(244, 240, 230, 0.7);
  --text-muted: rgba(244, 240, 230, 0.4);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-elevated: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 215, 0, 0.3);

  /* Gradients */
  --gradient-night-sky: linear-gradient(180deg, #0a0a1a 0%, #12122e 50%, #1a1a3e 100%);
  --gradient-twilight: radial-gradient(ellipse at top, #1a1a3e 0%, #0a0a1a 70%);
  --gradient-aurora: linear-gradient(135deg, rgba(91, 141, 217, 0.1) 0%, rgba(139, 123, 181, 0.1) 50%, rgba(232, 196, 196, 0.05) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-card-hover: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Avenir Next', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Fluid Type Scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --text-hero: clamp(3rem, 2rem + 5vw, 6rem);

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.2em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --glow-gold: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
  --glow-subtle: 0 0 40px rgba(255, 255, 255, 0.05);
  --glow-card: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Animation */
  --duration-instant: 100ms;
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
  --duration-slower: 800ms;
  --duration-slowest: 1200ms;
  --duration-cinematic: 2000ms;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-dramatic: cubic-bezier(0.7, 0, 0.3, 1);

  --transition-base: var(--duration-normal) var(--ease-out-expo);
  --transition-hover: var(--duration-fast) var(--ease-out-quart);
  --transition-reveal: var(--duration-slow) var(--ease-out-expo);

  /* Layout */
  --header-height: 0px;
  --nav-height: 56px;
}

/* ============================================
   Base Reset & Typography
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--midnight);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  color: var(--stardust);
}

p {
  margin: 0 0 var(--space-4);
}

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

/* ============================================
   Site Header
   ============================================ */
.site-header {
  background: linear-gradient(180deg, var(--midnight) 0%, transparent 100%);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  z-index: 10;
}

.trip-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  letter-spacing: var(--tracking-tight);
  color: var(--stardust);
  margin-bottom: var(--space-2);
}

.trip-dates {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.trip-location {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: var(--space-1) 0 0;
}

/* ============================================
   Main Layout
   ============================================ */
.main-layout {
  display: flex;
  min-height: 100vh;
}

.timeline-column {
  flex: 0 0 45%;
  max-width: 520px;
  overflow-y: auto;
  padding: var(--space-6);
  background: var(--gradient-night-sky);
  position: relative;
}

.timeline-column::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--border-subtle) 20%, var(--border-subtle) 80%, transparent 100%);
}

.map-column {
  flex: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--deep-navy);
}

/* ============================================
   Stats Dashboard
   ============================================ */
.stats-dashboard {
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.stats-dashboard__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.stats-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: var(--space-3);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4);
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition-hover),
    transform var(--transition-hover);
}

.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.stat-card__value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--pixie-dust);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-card__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  max-width: 100%;
}

.day-section {
  margin-bottom: var(--space-12);
}

.moments-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  padding-left: var(--space-8);
}

/* Timeline connector line */
.moments-list::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--border-subtle) 5%,
    var(--border-subtle) 95%,
    transparent 100%
  );
}

/* Timeline node on each moment */
.moment {
  position: relative;
}

.moment::before {
  content: '';
  position: absolute;
  left: calc(var(--space-8) * -1 + 6px);
  top: var(--space-6);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--twilight);
  border: 2px solid var(--pixie-dust);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  z-index: 2;
  transition: transform var(--transition-hover), box-shadow var(--transition-hover);
}

.moment:hover::before,
.moment.in-view::before {
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

/* Featured moments get a larger, golden node */
.photo-card--featured::before,
.quote-callout--featured::before {
  width: 16px;
  height: 16px;
  left: calc(var(--space-8) * -1 + 4px);
  background: var(--pixie-dust);
  border-color: var(--warm-gold);
}

/* ============================================
   Day Header
   ============================================ */
.day-header {
  position: relative;
  padding: var(--space-8) var(--space-6);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.day-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--twilight) 0%, var(--deep-navy) 50%, var(--midnight) 100%);
  z-index: 0;
}

.day-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.5;
  z-index: 0;
}

.day-header > * {
  position: relative;
  z-index: 1;
}

.day-header__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--stardust);
  margin-bottom: var(--space-2);
}

.day-header__date {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.day-header__summary {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.day-header__stats {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.day-stat {
  display: flex;
  flex-direction: column;
}

.day-stat__value {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--stardust);
}

.day-stat__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   Moment Base
   ============================================ */
.moment {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform var(--transition-hover),
    box-shadow var(--transition-hover),
    border-color var(--transition-hover);
}

.moment:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-card);
  border-color: var(--border-glow);
}

/* Force visibility - override GSAP inline styles */
.moment {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ============================================
   Photo Card
   ============================================ */
.photo-card__figure {
  margin: 0;
}

.photo-card__image-container {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.photo-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.photo-card:hover .photo-card__image {
  transform: scale(1.03);
}

.photo-placeholder {
  background: linear-gradient(135deg, var(--deep-navy), var(--twilight));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.photo-placeholder__icon {
  font-size: 3rem;
  opacity: 0.3;
}

.photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.6) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-hover);
}

.photo-card:hover .photo-card__overlay {
  opacity: 1;
}

.photo-card__overlay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  color: var(--pixie-dust);
  backdrop-filter: blur(4px);
}

.photo-card__caption {
  padding: var(--space-5);
}

.photo-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--stardust);
  margin-bottom: var(--space-2);
}

.photo-card__story {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.photo-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.photo-card--featured {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: var(--glow-gold);
}

/* ============================================
   Activity Card
   ============================================ */
.activity-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transition: width var(--transition-hover);
}

.activity-card:hover::before {
  width: 4px;
}

/* Activity type colors */
.activity-card--ride::before { background: #e91e63; }
.activity-card--dining::before { background: #ff9800; }
.activity-card--character::before { background: #9c27b0; }
.activity-card--show::before { background: var(--tomorrow-blue); }

.activity-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
}

.activity-card__content {
  flex: 1;
  min-width: 0;
}

.activity-card__name {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--stardust);
  margin-bottom: var(--space-1);
}

.activity-card__notes {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.activity-card__time {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   Quote Callout
   ============================================ */
.quote-callout {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(139, 123, 181, 0.03) 100%);
  border-left: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.quote-callout__quote {
  margin: 0;
}

.quote-callout__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: var(--stardust);
  margin-bottom: var(--space-4);
}

.quote-callout__author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--text-muted);
}

.quote-callout--featured {
  padding: var(--space-10) var(--space-8);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.02) 100%);
  border-left-width: 3px;
  border-left-color: var(--pixie-dust);
}

.quote-callout--featured .quote-callout__text {
  font-size: var(--text-2xl);
}

/* ============================================
   Site Footer
   ============================================ */
.site-footer {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-xl);
}

.fun-facts__title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.fun-facts__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fun-fact {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.fun-fact:last-child {
  border-bottom: none;
}

.fun-fact__icon {
  font-size: 1.25rem;
}

.fun-fact__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================
   Map Container
   ============================================ */
.map-container {
  width: 100%;
  height: 100%;
  background: var(--deep-navy);
}

.map-popup {
  font-family: var(--font-body);
}

.map-popup .maplibregl-popup-content {
  padding: var(--space-3) var(--space-4);
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--stardust);
  box-shadow: var(--shadow-lg);
}

.map-popup .maplibregl-popup-tip {
  border-top-color: rgba(10, 10, 26, 0.9);
}

/* Map markers */
.map-marker {
  cursor: pointer;
  transition: transform var(--transition-hover);
}

.map-marker:hover {
  transform: scale(1.3);
}

.map-marker--current {
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

.map-marker--active {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
  z-index: 10;
}

/* ============================================
   Scroll Animations
   ============================================ */
.moment {
  opacity: 0;
  transform: translateY(40px) translateX(-10px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.moment.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.day-header {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.day-header.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 1024px) {
  .main-layout {
    flex-direction: column;
  }

  .map-column {
    position: sticky;
    top: 0;
    height: 35vh;
    order: -1;
    z-index: 10;
  }

  .timeline-column {
    flex: 1;
    max-width: none;
    padding: var(--space-5);
  }

  .timeline-column::before {
    display: none;
  }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 640px) {
  .site-header {
    padding: var(--space-6) var(--space-4);
  }

  .trip-title {
    font-size: var(--text-2xl);
  }

  .map-column {
    height: 40vh;
  }

  .timeline-column {
    padding: var(--space-4);
  }

  .day-header {
    padding: var(--space-6) var(--space-4);
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
    border-radius: 0;
  }

  .day-header__title {
    font-size: var(--text-xl);
  }

  .day-header__stats {
    gap: var(--space-4);
  }

  .moment {
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .stats-dashboard {
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .site-footer {
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
    border-radius: 0;
  }

  .quote-callout {
    padding: var(--space-6) var(--space-4);
  }

  .quote-callout__text {
    font-size: var(--text-lg);
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .moment,
  .day-header {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Font Loading
   ============================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/cormorantgaramond/v16/co3YmX5slCNuHLi8bLeY9MK7whWMhyjQAllvuQ.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/cormorantgaramond/v16/co3WmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKky2F7w.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 500 600;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/dmsans/v14/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwA.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/jetbrainsmono/v18/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxjPVmUsaaDhw.woff2') format('woff2');
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--midnight);
}

/* Animated Map Background */
.hero__map {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(1.1);
  animation: heroMapReveal 1.5s var(--ease-out-expo) 0.3s forwards;
}

.hero__map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, var(--midnight) 70%),
    linear-gradient(180deg, transparent 40%, var(--midnight) 100%);
  z-index: 1;
}

.hero__map-visual {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(91, 141, 217, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 70% 60%, rgba(139, 123, 181, 0.12) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, var(--deep-navy) 0%, var(--twilight) 50%, var(--deep-navy) 100%);
  position: relative;
}

/* Animated path */
.hero__map-path {
  position: absolute;
  top: 35%;
  left: 20%;
  width: 60%;
  height: 30%;
}

.hero__map-path svg {
  width: 100%;
  height: 100%;
}

.hero__map-path path {
  fill: none;
  stroke: var(--pixie-dust);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
  animation: heroDrawPath 3s ease-out 1.5s forwards;
}

/* Location markers */
.hero__map-markers {
  position: absolute;
  inset: 0;
}

.hero__marker {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--pixie-dust);
  border: 3px solid var(--stardust);
  border-radius: 50%;
  transform: scale(0);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero__marker:nth-child(1) { top: 40%; left: 25%; animation: heroMarkerPop 0.5s var(--ease-spring) 2.5s forwards; }
.hero__marker:nth-child(2) { top: 35%; left: 45%; animation: heroMarkerPop 0.5s var(--ease-spring) 2.8s forwards; }
.hero__marker:nth-child(3) { top: 50%; left: 55%; animation: heroMarkerPop 0.5s var(--ease-spring) 3.1s forwards; }
.hero__marker:nth-child(4) { top: 45%; left: 70%; animation: heroMarkerPop 0.5s var(--ease-spring) 3.4s forwards; }

.hero__marker--current {
  width: 20px;
  height: 20px;
  top: 42%;
  left: 72%;
  animation: heroMarkerPop 0.5s var(--ease-spring) 3.7s forwards, markerPulse 2s ease-in-out 4.2s infinite;
}

/* Decorative Stars */
.hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.hero__star {
  position: absolute;
  font-size: 0.6rem;
  color: var(--pixie-dust);
  opacity: 0;
  animation: heroStarTwinkle 3s ease-in-out infinite;
}

.hero__star:nth-child(1) { top: 15%; left: 10%; animation-delay: 2s; }
.hero__star:nth-child(2) { top: 25%; left: 85%; animation-delay: 2.3s; }
.hero__star:nth-child(3) { top: 60%; left: 8%; animation-delay: 2.6s; }
.hero__star:nth-child(4) { top: 70%; left: 92%; animation-delay: 2.9s; }
.hero__star:nth-child(5) { top: 20%; left: 50%; animation-delay: 3.2s; }
.hero__star:nth-child(6) { top: 80%; left: 30%; animation-delay: 3.5s; }

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-16) var(--space-8);
}

.hero__dates {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  letter-spacing: var(--tracking-tight);
  line-height: 0.95;
  margin: 0 0 var(--space-6);
}

.hero__title-line {
  display: block;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out-expo) 1s forwards;
}

.hero__location {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

/* Hero Stats Grid */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero__stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  min-width: 100px;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: border-color var(--transition-hover), transform var(--transition-hover);
}

.hero__stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px) scale(1) !important;
}

.hero__stat-card:nth-child(1) { animation: heroStatReveal 0.6s var(--ease-spring) 1.4s forwards; }
.hero__stat-card:nth-child(2) { animation: heroStatReveal 0.6s var(--ease-spring) 1.5s forwards; }
.hero__stat-card:nth-child(3) { animation: heroStatReveal 0.6s var(--ease-spring) 1.6s forwards; }
.hero__stat-card:nth-child(4) { animation: heroStatReveal 0.6s var(--ease-spring) 1.7s forwards; }
.hero__stat-card:nth-child(5) { animation: heroStatReveal 0.6s var(--ease-spring) 1.8s forwards; }

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--pixie-dust);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero Fun Fact */
.hero__fun-fact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-full);
  margin-top: var(--space-8);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out-expo) 2s forwards;
  cursor: pointer;
  transition: background var(--transition-hover), border-color var(--transition-hover);
}

.hero__fun-fact:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
}

.hero__fun-fact-icon {
  font-size: 1.25rem;
}

.hero__fun-fact-text {
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: opacity 0.3s ease;
}

.hero__fun-fact--changing .hero__fun-fact-text,
.hero__fun-fact--changing .hero__fun-fact-icon {
  opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-12);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out-expo) 2.5s forwards;
  z-index: 10;
}

.scroll-indicator__text {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator__arrow svg {
  stroke: var(--text-muted);
  width: 100%;
  height: 100%;
}

/* Hero Keyframes */
@keyframes heroMapReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroStatReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroDrawPath {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heroMarkerPop {
  to {
    transform: scale(1);
  }
}

@keyframes heroStarTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1); }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) ease, visibility var(--duration-normal) ease;
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
}

.lightbox__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.lightbox__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--stardust);
  cursor: pointer;
  transition: all var(--transition-hover);
  z-index: 10;
}

.lightbox__close:hover {
  background: var(--surface-elevated);
  border-color: var(--border-glow);
  color: var(--pixie-dust);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--stardust);
  cursor: pointer;
  transition: all var(--transition-hover);
  z-index: 10;
}

.lightbox__nav:hover {
  background: var(--surface-elevated);
  border-color: var(--border-glow);
  color: var(--pixie-dust);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav--prev {
  left: var(--space-6);
}

.lightbox__nav--next {
  right: var(--space-6);
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox__caption {
  margin-top: var(--space-6);
  text-align: center;
  max-width: 600px;
}

.lightbox__caption-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--stardust);
  margin: 0 0 var(--space-2);
}

.lightbox__caption-meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================
   Photo Card Image Reveal Enhancement
   ============================================ */
.photo-card__image-container {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.photo-card__image-wrapper {
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 0);
  transition: clip-path var(--duration-slower) var(--ease-out-expo);
}

/* Animation: start hidden, reveal on scroll (requires JS to add .animate-ready) */
.photo-card.animate-ready .photo-card__image-wrapper {
  clip-path: inset(100% 0 0 0);
}

.photo-card.animate-ready.in-view .photo-card__image-wrapper {
  clip-path: inset(0 0 0 0);
}

/* Lazy Loading with LQIP (Low Quality Image Placeholder) */
.photo-card__image[data-src] {
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.05);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.photo-card__image[data-src].loaded {
  filter: blur(0);
  transform: scale(1);
}

.photo-card__image[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo-card__image[loading="lazy"].loaded,
.photo-card__image[loading="lazy"]:not([data-src]) {
  opacity: 1;
}

/* ============================================
   Hero Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero__content {
    padding: var(--space-12) var(--space-4);
  }

  .hero__stats {
    gap: var(--space-3);
  }

  .hero__stat-card {
    padding: var(--space-4) var(--space-5);
    min-width: 85px;
  }

  .hero__stat-value {
    font-size: var(--text-xl);
  }

  .lightbox__nav--prev {
    left: var(--space-3);
  }

  .lightbox__nav--next {
    right: var(--space-3);
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   Touch & Mobile Optimization
   ============================================ */

/* Touch-action for scroll performance */
.timeline {
  touch-action: pan-y;
}

.lightbox__content {
  touch-action: pan-x pinch-zoom;
}

/* Minimum touch target sizes (44x44px per WCAG) */
.photo-card,
.activity-card,
.quote-callout {
  min-height: 44px;
}

.lightbox__nav,
.lightbox__close {
  min-width: 44px;
  min-height: 44px;
}

/* Improve tap highlight */
button,
[role="button"],
.photo-card {
  -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
}

/* Remove 300ms tap delay */
* {
  touch-action: manipulation;
}

/* GPU acceleration for animations */
.moment,
.lightbox__image,
.hero__stat-card {
  will-change: transform, opacity;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sparkle-container {
    display: none !important;
  }
}

/* ============================================
   Performance Hints
   ============================================ */

/* Content visibility for below-fold content */
.day-section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* Optimize font loading */
@font-face {
  font-display: swap;
}

/* Print styles */
@media print {
  .mini-map,
  .fullscreen-map,
  .mobile-map-toggle,
  .lightbox,
  .scroll-indicator,
  .sparkle-container,
  .day-nav,
  .sidebar-nav {
    display: none !important;
  }

  .main-content {
    padding-top: 0;
  }

  .masonry-item__image {
    max-width: 100%;
    page-break-inside: avoid;
  }
}

/* ============================================
   REDESIGN: Sticky Day Navigation
   ============================================ */
.day-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: linear-gradient(180deg, rgba(10, 10, 26, 0.98) 0%, rgba(10, 10, 26, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--space-4);
}

.day-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.day-tab {
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-hover);
  white-space: nowrap;
}

.day-tab:hover {
  color: var(--text-primary);
  background: var(--surface-elevated);
}

.day-tab--active {
  color: var(--midnight);
  background: var(--pixie-dust);
  font-weight: 600;
}

.day-tab--active:hover {
  background: var(--warm-gold);
}

/* ============================================
   REDESIGN: Sidebar Dot Navigation
   ============================================ */
.sidebar-nav {
  position: fixed;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 100;
}

.sidebar-nav__dot {
  position: relative;
  width: 12px;
  height: 12px;
  background: var(--surface-elevated);
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-hover);
}

.sidebar-nav__dot:hover {
  border-color: var(--pixie-dust);
  transform: scale(1.2);
}

.sidebar-nav__dot--active {
  background: var(--pixie-dust);
  border-color: var(--pixie-dust);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.sidebar-nav__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: var(--deep-navy);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-hover);
}

.sidebar-nav__dot:hover .sidebar-nav__tooltip {
  opacity: 1;
  visibility: visible;
}

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

/* ============================================
   REDESIGN: Main Content Layout
   ============================================ */
.main-content {
  padding-top: var(--nav-height);
  min-height: 100vh;
  background: var(--midnight);
}

/* ============================================
   REDESIGN: Trip Header
   ============================================ */
.trip-header {
  padding: var(--space-16) var(--space-6) var(--space-12);
  text-align: center;
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight) 100%);
  position: relative;
  overflow: hidden;
}

.trip-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.3;
}

.trip-header__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto var(--space-8);
}

.trip-header__dates {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
}

.trip-header__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--stardust);
  margin: 0 0 var(--space-2);
  letter-spacing: var(--tracking-tight);
}

.trip-header__location {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0;
}

.trip-header__stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.trip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  min-width: 90px;
}

.trip-stat__value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--pixie-dust);
  line-height: 1;
}

.trip-stat__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   REDESIGN: Days Container
   ============================================ */
.days-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================
   REDESIGN: Day Chapter
   ============================================ */
.day-chapter {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.day-chapter:last-child {
  border-bottom: none;
}

/* ============================================
   REDESIGN: Chapter Header
   ============================================ */
.chapter-header {
  margin-bottom: var(--space-8);
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--twilight) 0%, var(--deep-navy) 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.chapter-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.3;
}

.chapter-header > * {
  position: relative;
  z-index: 1;
}

.chapter-header__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.chapter-header__day {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pixie-dust);
}

.chapter-header__separator {
  color: var(--text-muted);
}

.chapter-header__date {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.chapter-header__location {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--stardust);
  margin: 0 0 var(--space-4);
}

.chapter-header__stats {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.chapter-stat {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.chapter-stat strong {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--stardust);
}

.chapter-header__description {
  margin-top: var(--space-4);
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================
   REDESIGN: Hero Photo
   ============================================ */
.hero-photo {
  margin: 0 0 var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.hero-photo__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-photo__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.hero-photo:hover .hero-photo__image {
  transform: scale(1.03);
}

.hero-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.6) 0%, transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-hover);
}

.hero-photo:hover .hero-photo__overlay {
  opacity: 1;
}

.hero-photo__expand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 50%;
  color: var(--pixie-dust);
  backdrop-filter: blur(4px);
}

.hero-photo__caption {
  padding: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: var(--surface);
  text-align: center;
}

/* ============================================
   REDESIGN: Masonry Grid
   ============================================ */
.masonry-grid {
  column-count: 3;
  column-gap: var(--space-4);
}

.masonry-item {
  break-inside: avoid;
  margin: 0 0 var(--space-4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  transition: transform var(--transition-hover), box-shadow var(--transition-hover);
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-card);
}

.masonry-item__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.masonry-item:hover .masonry-item__image {
  transform: scale(1.03);
}

.masonry-item__caption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: var(--surface);
}

@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* ============================================
   REDESIGN: Floating Mini-Map
   ============================================ */
.mini-map {
  display: none !important; /* Temporarily hidden */
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 200px;
  height: 150px;
  background: var(--deep-navy);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  z-index: 100;
  cursor: pointer;
  transition: transform var(--transition-hover), box-shadow var(--transition-hover);
}

.mini-map:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-gold);
}

.mini-map__container {
  width: 100%;
  height: 100%;
}

.mini-map__expand {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-hover);
}

.mini-map__expand:hover {
  color: var(--pixie-dust);
  border-color: var(--pixie-dust);
}

@media (max-width: 768px) {
  .mini-map {
    display: none;
  }
}

/* ============================================
   REDESIGN: Mobile Map Toggle Button
   ============================================ */
.mobile-map-toggle {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--pixie-dust);
  border: none;
  border-radius: 50%;
  color: var(--midnight);
  box-shadow: var(--shadow-lg), var(--glow-gold);
  cursor: pointer;
  z-index: 100;
  transition: transform var(--transition-hover);
}

.mobile-map-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .mobile-map-toggle {
    display: flex;
  }
}

/* ============================================
   REDESIGN: Full-Screen Map Overlay
   ============================================ */
.fullscreen-map {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) ease, visibility var(--duration-normal) ease;
}

.fullscreen-map[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.fullscreen-map__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.9);
}

.fullscreen-map__container {
  position: absolute;
  top: var(--space-8);
  left: var(--space-8);
  right: var(--space-8);
  bottom: var(--space-8);
  width: calc(100% - var(--space-8) * 2);
  height: calc(100% - var(--space-8) * 2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.fullscreen-map__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--stardust);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-hover);
}

.fullscreen-map__close:hover {
  background: var(--surface-elevated);
  border-color: var(--border-glow);
  color: var(--pixie-dust);
}

/* ============================================
   REDESIGN: Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .day-nav {
    gap: 4px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .day-tab {
    padding: 8px 14px;
    font-size: var(--text-xs);
  }

  .trip-header {
    padding: var(--space-12) var(--space-4) var(--space-8);
  }

  .trip-header__title {
    font-size: var(--text-3xl);
  }

  .trip-header__stats {
    gap: var(--space-3);
  }

  .trip-stat {
    padding: var(--space-3) var(--space-4);
    min-width: 75px;
  }

  .trip-stat__value {
    font-size: var(--text-lg);
  }

  .days-container {
    padding: 0 var(--space-4);
  }

  .day-chapter {
    padding: var(--space-10) 0;
  }

  .chapter-header {
    padding: var(--space-6);
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
    border-radius: 0;
  }

  .chapter-header__location {
    font-size: var(--text-2xl);
  }

  .chapter-header__stats {
    gap: var(--space-4);
  }

  .hero-photo {
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
    border-radius: 0;
  }

  .hero-photo__wrapper {
    aspect-ratio: 4 / 3;
  }

  .fullscreen-map__container {
    inset: 0;
    border-radius: 0;
  }

  .fullscreen-map__close {
    top: var(--space-4);
    right: var(--space-4);
  }
}

/* ============================================
   REDESIGN: Site Footer Updates
   ============================================ */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}

.fun-facts {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

/* ============================================
   REDESIGN: Day Ratings (Meals & Rides)
   Clear visual system: chip color = rating
   ============================================ */
.day-ratings {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ratings-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.ratings-section__title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--pixie-dust);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.ratings-section__title svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.ratings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Rating chips - color-coded by overall rating */
.rating-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: var(--text-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rating-item:hover {
  transform: translateY(-1px);
}

.rating-item__name {
  font-weight: 500;
}

.rating-item__type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* Rating indicator - small icon */
.rating-item__indicator {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rating-item__indicator svg {
  width: 14px;
  height: 14px;
}

/* LOVED IT - Gold/sparkle treatment */
.rating-item--loved {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

.rating-item--loved .rating-item__name {
  color: var(--pixie-dust);
}

.rating-item--loved .rating-item__indicator svg {
  fill: var(--pixie-dust);
}

/* LIKED IT - Blue treatment */
.rating-item--liked {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.rating-item--liked .rating-item__name {
  color: #93c5fd;
}

.rating-item--liked .rating-item__indicator svg {
  fill: #60a5fa;
}

/* IT WAS OK - Neutral gray */
.rating-item--okay {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.rating-item--okay .rating-item__name {
  color: var(--text-muted);
}

.rating-item--okay .rating-item__indicator svg {
  fill: var(--text-muted);
  opacity: 0.5;
}

/* DIDN'T LIKE - Red treatment */
.rating-item--disliked {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.rating-item--disliked .rating-item__name {
  color: #fca5a5;
}

.rating-item--disliked .rating-item__indicator svg {
  fill: #f87171;
}

/* Responsive */
@media (max-width: 768px) {
  .rating-item {
    padding: 5px 10px;
    font-size: 11px;
  }

  .rating-item__indicator {
    width: 14px;
    height: 14px;
  }

  .rating-item__indicator svg {
    width: 12px;
    height: 12px;
  }
}


/* ============================================
   Horizontal Timeline Components
   ============================================ */

/* Polaroid Photo Component */
.polaroid {
  background: var(--stardust);
  padding: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.polaroid:hover {
  transform: scale(1.03) rotate(0deg) !important;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

/* Rotation variants */
.polaroid--r1 { transform: rotate(-1.5deg); }
.polaroid--r2 { transform: rotate(1deg); }
.polaroid--r3 { transform: rotate(-2deg); }

.polaroid__img {
  width: 100%;
  display: block;
}

.polaroid__caption {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: #2a2a2a;
  text-align: center;
  line-height: 1.3;
  padding: 8px 4px 4px;
  min-height: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Tape effects */
.tape {
  position: absolute;
  height: 18px;
  background: rgba(255, 250, 220, 0.5);
  z-index: 5;
}

.tape--top {
  width: 55px;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.tape--tl {
  width: 40px;
  top: -4px;
  left: 5px;
  transform: rotate(-12deg);
}

.tape--tr {
  width: 40px;
  top: -4px;
  right: 5px;
  transform: rotate(10deg);
}

/* Polaroid Size Variants for Masonry Clusters */
.polaroid--featured {
  width: 300px;
}

.polaroid--featured .polaroid__img {
  height: 360px;
  object-fit: cover;
}

.polaroid--small {
  width: 200px;
  padding: 6px;
}

.polaroid--small .polaroid__img {
  height: 150px;
  object-fit: cover;
}

.polaroid--small .polaroid__caption {
  font-size: 0.85rem;
  padding: 6px 2px 2px;
  min-height: 20px;
}

.polaroid--mini {
  width: 140px;
  padding: 5px;
}

.polaroid--mini .polaroid__img {
  height: 100px;
  object-fit: cover;
}

.polaroid--mini .polaroid__caption {
  display: none;
}

.polaroid--tall {
  width: 220px;
}

.polaroid--tall .polaroid__img {
  height: 280px;
  object-fit: cover;
}

.polaroid--compact {
  width: 160px;
  padding: 5px;
}

.polaroid--compact .polaroid__img {
  height: 120px;
  object-fit: cover;
}

.polaroid--compact .polaroid__caption {
  display: none;
}

/* Polaroid offset positions for staggered layouts */
.polaroid--offset-left {
  align-self: flex-start;
  margin-left: 0;
}

.polaroid--offset-right {
  align-self: flex-end;
  margin-right: 0;
}

.polaroid--offset-center {
  align-self: center;
}

/* Cluster Layout Containers */
.scroll-column--cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-column--single {
  width: 320px;
}

.scroll-column--pair {
  width: 220px;
}

.scroll-column--triple-a {
  width: 380px;
}

.scroll-column--triple-b {
  width: 200px;
}

.scroll-column--triple-c {
  width: 380px;
}

.scroll-column--triple-d {
  width: 320px;
}

.scroll-column--triple-e {
  width: 340px;
}

.scroll-column--triple-f {
  width: 300px;
}

/* Cluster split layout (featured + stack) */
.cluster-layout--split {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.cluster-layout--split-reverse {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.cluster-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cluster-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}

/* Cascade layout - staggered diagonal with minimal overlap */
.cluster-cascade {
  position: relative;
  width: 320px;
  height: 420px;
}

.cluster-cascade .polaroid {
  position: absolute;
}

.cluster-cascade .cascade-1 {
  top: 0;
  left: 80px;
  z-index: 3;
}

.cluster-cascade .cascade-2 {
  top: 140px;
  left: 0;
  z-index: 2;
}

.cluster-cascade .cascade-3 {
  top: 280px;
  left: 100px;
  z-index: 1;
}

/* Pyramid layout - center with flanks */
.cluster-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cluster-flanks {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
}

/* Additional polaroid size variants */
.polaroid--wide {
  width: 300px;
  padding: 8px 8px 32px;
}

.polaroid--wide .polaroid__img {
  height: 180px;
  object-fit: cover;
}

.polaroid--tiny {
  width: 100px;
  padding: 4px 4px 20px;
}

.polaroid--tiny .polaroid__img {
  height: 75px;
  object-fit: cover;
}

.polaroid--tiny .polaroid__caption {
  display: none;
}

.polaroid--medium-center {
  width: 200px;
}

.polaroid--medium-center .polaroid__img {
  height: 200px;
  object-fit: cover;
}

/* Sticky Note Component */
.sticky {
  position: relative;
  min-width: 180px;
  max-width: 220px;
  padding: 16px 14px;
  font-family: 'Caveat', cursive;
  border-radius: 2px;
  box-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.3),
    0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky:hover {
  transform: scale(1.03) rotate(0deg) !important;
  box-shadow:
    4px 4px 12px rgba(0, 0, 0, 0.4),
    0 0 1px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Rotation variants */
.sticky--r1 { transform: rotate(-2deg); }
.sticky--r2 { transform: rotate(1.5deg); }

/* Color variants - dark jewel tones (design concept v3) */
.sticky--gold {
  background: linear-gradient(135deg, #3d3520, #4a4025);
  color: #ffd700;
}

.sticky--rose {
  background: linear-gradient(135deg, #3d2030, #4a2535);
  color: #e8c4c4;
}

.sticky--teal {
  background: linear-gradient(135deg, #1a3030, #254040);
  color: #6bc5c5;
}

.sticky--violet {
  background: linear-gradient(135deg, #2a2040, #352850);
  color: #b8a5d0;
}

/* Yellow variant for compatibility */
.sticky--yellow {
  background: linear-gradient(135deg, #3d3520, #4a4025);
  color: #ffd700;
}

.sticky__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 4px;
}

.sticky--rose .sticky__title,
.sticky--teal .sticky__title,
.sticky--violet .sticky__title {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.sticky__content {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

.sticky__rating {
  margin-top: 8px;
  font-size: 1rem;
  text-align: right;
}

/* Experience Card Component - Design Concept v3 Style */
.experience-card {
  position: relative;
  width: 320px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.experience-card--attraction {
  border-color: rgba(255, 215, 0, 0.2);
  background: var(--attraction-bg);
}

.experience-card--dining {
  border-color: rgba(232, 196, 196, 0.25);
  background: var(--dining-bg);
}

/* Top accent bar */
.experience-card::before {
  content: '';
  display: block;
  height: 3px;
}

.experience-card--attraction::before {
  background: linear-gradient(90deg, transparent, var(--attraction-accent), transparent);
  opacity: 0.4;
}

.experience-card--dining::before {
  background: linear-gradient(90deg, transparent, var(--dining-accent), transparent);
  opacity: 0.5;
}

/* Photo/Image area */
.experience-card__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.experience-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.experience-card:hover .experience-card__photo img {
  transform: scale(1.05);
}

/* Content body area */
.experience-card__content {
  padding: 16px;
}

/* Type indicator */
.experience-card__type-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.experience-card--attraction .experience-card__type-strip {
  color: var(--attraction-accent);
}

.experience-card--dining .experience-card__type-strip {
  color: var(--dining-accent);
}

.experience-card__type-icon {
  font-size: 1rem;
}

.experience-card__type-label {
  flex: 1;
}

/* Card title */
.experience-card__name {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--stardust);
  margin: 0 0 8px;
  line-height: 1.2;
}

/* Description/thoughts */
.experience-card__description {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Meta section */
.experience-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.experience-card__meta {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Rating display */
.experience-card__rating {
  display: flex;
  gap: 2px;
  font-size: 1.1rem;
}

.experience-card--attraction .experience-card__rating {
  color: var(--attraction-accent);
}

.experience-card--dining .experience-card__rating {
  color: var(--dining-accent);
}

.star--filled {
  color: var(--disney-gold);
}

.star--empty {
  color: var(--surface-elevated);
}

/* Time Marker Component - Design Concept v3 Style */
.time-marker {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--pixie-dust);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 8px;
  white-space: nowrap;
}

.time-marker__time {
  font-weight: 700;
  color: var(--pixie-dust);
}

.time-marker__divider {
  color: var(--twilight-lavender);
  opacity: 0.6;
}

.time-marker__icon {
  font-size: 1.1rem;
}

.time-marker__label {
  font-weight: 600;
  color: var(--pixie-dust);
}

/* ===================================
   HORIZONTAL TIMELINE LAYOUT
   =================================== */

/* Day horizontal section */
.day-horizontal {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Timeline scroll container - horizontal flex */
.timeline-scroll {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 100px 60px 120px;
  min-height: 100vh;
  /* Native scroll as fallback, GSAP takes over when loaded */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* When GSAP is controlling scroll, remove native overflow */
.pin-spacer .timeline-scroll {
  overflow: visible;
}

/* Hide native scrollbar for better aesthetics */
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: var(--surface-dark);
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--twilight-lavender);
  border-radius: 3px;
}

/* Scroll columns - vertical lanes for content */
.scroll-column {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.scroll-column--narrow {
  width: 200px;
}

.scroll-column--medium {
  width: 280px;
}

.scroll-column--wide {
  width: 320px;
}

.scroll-column--intro {
  width: 260px;
  justify-content: flex-start;
  padding-top: 40px;
}

.scroll-column--hero {
  width: 360px;
}

.scroll-column--hero .polaroid {
  width: 340px;
  padding: 12px;
}

.scroll-column--hero .polaroid__caption {
  padding: 10px 4px 6px;
  font-size: 1.1rem;
}

.scroll-column--hero .polaroid__img {
  height: 400px;
  object-fit: cover;
}

/* Day intro card */
.day-intro {
  text-align: center;
  padding: 30px 20px;
  background: var(--surface-elevated);
  border-radius: 12px;
  border-left: 4px solid var(--disney-gold);
}

.day-intro__badge {
  display: inline-block;
  background: var(--disney-gold);
  color: var(--midnight);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-intro__location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stardust);
  margin: 0 0 8px;
  line-height: 1.2;
}

.day-intro__date {
  font-size: 0.9rem;
  color: var(--twilight-lavender);
  margin: 0 0 16px;
}

.day-intro__stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--moonbeam);
}

/* Reflections card */
.reflections {
  background: var(--surface-elevated);
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 300px;
  text-align: center;
  border: 1px solid var(--disney-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.reflections__title {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: var(--disney-gold);
  margin: 0 0 14px;
}

.reflections__content {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--moonbeam);
  line-height: 1.5;
  margin: 0 0 16px;
}

.reflections__signature {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--twilight-lavender);
  margin: 0;
  font-style: italic;
}

/* Horizontal Timeline Header */
.horizontal-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: linear-gradient(180deg, var(--midnight) 0%, transparent 100%);
  pointer-events: none;
}

.horizontal-header > * {
  pointer-events: auto;
}

.horizontal-header__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.horizontal-header__day-badge {
  background: var(--disney-gold);
  color: var(--midnight);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.horizontal-header__location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--stardust);
}

.horizontal-header__date {
  font-size: 0.85rem;
  color: var(--twilight-lavender);
}

.horizontal-header__stats {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--moonbeam);
}

.horizontal-header__stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

.horizontal-header__stat-value {
  font-weight: 600;
  color: var(--disney-gold);
}

/* Progress bar */
.progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--surface-dark);
  z-index: 100;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--disney-gold), var(--twilight-lavender));
  width: 0%;
  transition: width 0.1s ease-out;
}

/* ===================================
   MOBILE HORIZONTAL TIMELINE
   =================================== */

/* Mobile scroll mode - uses native horizontal scrolling */
.mobile-scroll-mode {
  height: auto;
  min-height: auto;
  overflow: visible;
}

.mobile-scroll-mode .timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.mobile-scroll-mode .scroll-column {
  scroll-snap-align: center;
}

/* Mobile horizontal timeline adjustments */
@media (max-width: 768px) {
  .horizontal-header {
    padding: 8px 12px;
  }

  .horizontal-header__info {
    gap: 8px;
  }

  .horizontal-header__day-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  .horizontal-header__location {
    font-size: 1rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .horizontal-header__date {
    display: none;
  }

  .horizontal-header__stats {
    gap: 12px;
    font-size: 0.7rem;
  }

  /* Make timeline scrollable horizontally on mobile */
  .day-horizontal {
    min-height: auto;
    height: auto;
  }

  .timeline-scroll {
    padding: 70px 20px 80px;
    gap: 20px;
  }

  /* Adjust column widths for mobile */
  .scroll-column--narrow {
    width: 160px;
  }

  .scroll-column--medium {
    width: 220px;
  }

  .scroll-column--wide {
    width: 260px;
  }

  .scroll-column--intro {
    width: 200px;
  }

  .scroll-column--hero {
    width: 280px;
  }

  .scroll-column--hero .polaroid {
    width: 260px;
  }

  /* Smaller polaroids on mobile */
  .polaroid {
    width: 160px;
    padding: 8px 8px 35px;
  }

  .polaroid__caption {
    font-size: 0.85rem;
  }

  /* Smaller experience cards on mobile */
  .experience-card {
    width: 200px;
    padding: 12px;
  }

  .experience-card__name {
    font-size: 1rem;
  }

  /* Smaller sticky notes on mobile */
  .sticky {
    width: 140px;
    padding: 12px;
  }

  .sticky__title {
    font-size: 0.85rem;
  }

  .sticky__content {
    font-size: 0.8rem;
  }

  /* Time markers on mobile */
  .time-marker {
    font-size: 0.9rem;
  }

  /* Reflections on mobile */
  .reflections {
    width: 250px;
    padding: 16px;
  }

  .reflections__title {
    font-size: 1.2rem;
  }

  .reflections__content {
    font-size: 0.95rem;
  }

  /* Progress bar thicker on mobile for easier visibility */
  .progress-bar {
    height: 6px;
  }
}

/* ===================================
   POLISH ANIMATIONS & TRANSITIONS
   =================================== */

/* Wobble animation for sticky notes */
@keyframes wobble {
  0% { transform: rotate(var(--rotation, 0deg)); }
  25% { transform: rotate(calc(var(--rotation, 0deg) + 2deg)); }
  75% { transform: rotate(calc(var(--rotation, 0deg) - 2deg)); }
  100% { transform: rotate(var(--rotation, 0deg)); }
}

.sticky:hover {
  animation: wobble 0.4s ease-in-out;
}

.sticky--r1 { --rotation: -2deg; }
.sticky--r2 { --rotation: 1.5deg; }
.sticky--r3 { --rotation: -1deg; }

/* Entrance animations for scroll columns */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Apply entrance animations to scroll columns */
.scroll-column {
  animation: slideIn 0.6s ease-out backwards;
}

.scroll-column:nth-child(1) { animation-delay: 0s; }
.scroll-column:nth-child(2) { animation-delay: 0.05s; }
.scroll-column:nth-child(3) { animation-delay: 0.1s; }
.scroll-column:nth-child(4) { animation-delay: 0.15s; }
.scroll-column:nth-child(5) { animation-delay: 0.2s; }
.scroll-column:nth-child(6) { animation-delay: 0.25s; }
.scroll-column:nth-child(7) { animation-delay: 0.3s; }
.scroll-column:nth-child(8) { animation-delay: 0.35s; }
.scroll-column:nth-child(n+9) { animation-delay: 0.4s; }

/* Time marker pulse effect */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.time-marker__icon {
  animation: pulse 2s ease-in-out infinite;
}

/* Polaroid tape wiggle on hover */
.tape::after {
  transition: transform 0.3s ease;
}

.polaroid:hover .tape::after {
  transform: rotate(2deg);
}

/* Reflections card glow effect */
.reflections {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.reflections:hover {
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

/* Day intro subtle animation */
.day-intro {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.day-intro:hover {
  border-color: var(--twilight-lavender);
  transform: scale(1.02);
}

/* Progress bar smooth animation */
.progress-bar__fill {
  transition: width 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header transitions */
.horizontal-header__day-badge {
  transition: background-color 0.3s ease;
}

.horizontal-header__location,
.horizontal-header__date {
  transition: opacity 0.3s ease;
}

/* Reduced motion preference - respect user settings */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-column {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .time-marker__icon {
    animation: none;
  }

  .sticky:hover {
    animation: none;
  }
}

/* ============================================
   DESIGN CONCEPT V3 - Full Horizontal Timeline
   ============================================ */

/* Override body/html for scroll-jacking mode */
/* Note: Do NOT set overflow: hidden - ScrollTrigger needs vertical scroll to work */

/* Handwritten font for design concept */
:root {
  --font-handwritten: 'Caveat', cursive;

  /* Sticky note colors from design concept */
  --sticky-gold: #3d3520;
  --sticky-gold-text: #ffd700;
  --sticky-rose: #3d2030;
  --sticky-rose-text: #e8c4c4;
  --sticky-teal: #1a3030;
  --sticky-teal-text: #6bc5c5;
  --sticky-violet: #2a2040;
  --sticky-violet-text: #b8a5d0;

  /* Dining/attraction accents */
  --dining-accent: #e8c4c4;
  --dining-bg: rgba(232, 196, 196, 0.08);
  --attraction-accent: #ffd700;
  --attraction-bg: rgba(255, 215, 0, 0.06);
}

/* ===== Fixed Day Header (Design Concept Style) ===== */
.day-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, var(--midnight) 60%, transparent);
  padding: 24px 40px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.day-header-fixed > * {
  pointer-events: auto;
}

.day-header-fixed .day-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.day-header-fixed .day-badge {
  font-family: var(--font-handwritten);
  font-size: 1.1rem;
  color: var(--pixie-dust);
  padding: 6px 16px;
  border: 2px solid var(--pixie-dust);
  border-radius: 4px;
  transform: rotate(-2deg);
}

.day-header-fixed .day-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
}

.day-header-fixed .day-date {
  font-family: var(--font-handwritten);
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-left: 12px;
}

.day-header-fixed .day-stats {
  display: flex;
  gap: 24px;
}

.day-header-fixed .stat {
  text-align: center;
}

.day-header-fixed .stat__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--pixie-dust);
}

.day-header-fixed .stat__label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== Timeline Track (Bottom Progress Bar) ===== */
.timeline-track {
  position: fixed;
  bottom: 30px;
  left: 100px;
  right: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.timeline-track__progress {
  height: 100%;
  background: var(--pixie-dust);
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--pixie-dust);
}

.timeline-times {
  position: fixed;
  bottom: 40px;
  left: 100px;
  right: 100px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-handwritten);
  font-size: 0.9rem;
  color: var(--text-muted);
  z-index: 100;
  pointer-events: none;
}

/* ===== Scroll Hint ===== */
.scroll-hint {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-handwritten);
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 1;
  transition: opacity 0.5s;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
  animation: bounceX 1.5s infinite;
}

@keyframes bounceX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ===== Updated Sticky Note Colors (Design Concept) ===== */
.sticky--gold-dark {
  background: linear-gradient(135deg, var(--sticky-gold), #4a4025);
  color: var(--sticky-gold-text);
}

.sticky--rose-dark {
  background: linear-gradient(135deg, var(--sticky-rose), #4a2535);
  color: var(--sticky-rose-text);
}

.sticky--teal-dark {
  background: linear-gradient(135deg, var(--sticky-teal), #254040);
  color: var(--sticky-teal-text);
}

.sticky--violet-dark {
  background: linear-gradient(135deg, var(--sticky-violet), #352850);
  color: var(--sticky-violet-text);
}

/* ===== Experience Cards (Design Concept Style) ===== */
.exp-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.exp-card--attraction {
  border-color: rgba(255, 215, 0, 0.2);
  background: var(--attraction-bg);
}

.exp-card--dining {
  border-color: rgba(232, 196, 196, 0.25);
  background: var(--dining-bg);
}

.exp-card--attraction::before,
.exp-card--dining::before {
  content: '';
  display: block;
  height: 3px;
}

.exp-card--attraction::before {
  background: linear-gradient(90deg, transparent, var(--attraction-accent), transparent);
  opacity: 0.4;
}

.exp-card--dining::before {
  background: linear-gradient(90deg, transparent, var(--dining-accent), transparent);
  opacity: 0.5;
}

.exp-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.exp-card__body {
  padding: 16px;
}

.exp-card__type {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.exp-card--attraction .exp-card__type {
  color: var(--attraction-accent);
}

.exp-card--dining .exp-card__type {
  color: var(--dining-accent);
}

.exp-card__title {
  font-family: var(--font-handwritten);
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.exp-card__thoughts {
  font-family: var(--font-handwritten);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.exp-card__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-handwritten);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.exp-card--attraction .exp-card__rating {
  color: var(--attraction-accent);
}

.exp-card--dining .exp-card__rating {
  color: var(--dining-accent);
}

/* ===== Thought Bubble ===== */
.thought {
  font-family: var(--font-handwritten);
  font-size: 1.1rem;
  color: var(--text-secondary);
  padding: 12px;
  border-left: 3px solid var(--pixie-dust);
  background: rgba(255, 215, 0, 0.03);
  flex-shrink: 0;
}

/* ===== Horizontal Scroll Full Page Mode ===== */
.horizontal-full-page {
  display: flex;
  height: 100vh;
  padding: 100px 50px 80px 50px;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.horizontal-full-page::-webkit-scrollbar {
  display: none;
}

/* ===== Hide elements in horizontal mode ===== */
html.horizontal-mode .day-nav,
html.horizontal-mode .sidebar-nav,
html.horizontal-mode .trip-header {
  display: none !important;
}

/* ===== Mini-map positioning in horizontal mode ===== */
html.horizontal-mode .mini-map {
  bottom: 80px; /* Position above timeline progress bar */
}

/* ===== Time Marker (Design Concept Style) ===== */
.time-marker-v3 {
  font-family: var(--font-handwritten);
  font-size: 1.3rem;
  color: var(--pixie-dust);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 8px;
}

/* ===== Reflections (Design Concept Style) ===== */
.reflections-v3 {
  width: 400px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  align-self: center;
  flex-shrink: 0;
}

.reflections-v3__title {
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  color: var(--pixie-dust);
  margin-bottom: 12px;
}

.reflections-v3__text {
  font-family: var(--font-handwritten);
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reflections-v3__sig {
  font-family: var(--font-handwritten);
  font-size: 1.2rem;
  color: var(--stardust);
  margin-top: 16px;
  text-align: right;
}

/* ============================================
   MOBILE VERTICAL TIMELINE
   ============================================
   On mobile devices, we switch from the complex
   horizontal scroll experience to a simple,
   touch-friendly vertical timeline.
   ============================================ */

@media (max-width: 768px) {

  /* ===== Add mobile-mode class to HTML for JS detection ===== */
  html.horizontal-mode {
    /* Override horizontal mode on mobile */
  }

  /* ===== Fixed Header - Simplified for Mobile ===== */
  .day-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px;
    background: linear-gradient(180deg, var(--midnight) 0%, rgba(5, 5, 16, 0.95) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .day-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .day-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    flex-shrink: 0;
  }

  .day-name {
    font-size: 1.1rem;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .day-date {
    display: none; /* Hide date on mobile header */
  }

  .day-stats {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    padding-left: 4px;
  }

  .stat {
    flex-direction: row;
    gap: 4px;
    align-items: baseline;
  }

  .stat__value {
    font-size: 0.9rem;
  }

  .stat__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* ===== Hide Desktop-Only Elements ===== */
  .timeline-track,
  .timeline-times,
  .scroll-hint,
  .mini-map {
    display: none !important;
  }

  /* Show mobile map toggle */
  .mobile-map-toggle {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--disney-gold);
    border: none;
    color: var(--midnight);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  /* ===== Day Sections - Vertical Layout ===== */
  .day-horizontal {
    width: 100%;
    min-height: auto;
    height: auto !important;
    overflow: visible;
    position: relative;
  }

  /* Remove GSAP pinning effects on mobile */
  .pin-spacer {
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .pin-spacer .day-horizontal {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }

  /* ===== Timeline Scroll Container - Now Vertical ===== */
  .timeline-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 100px 16px 40px; /* Top padding for fixed header */
    min-height: auto;
    height: auto;
    overflow: visible;
    transform: none !important; /* Prevent GSAP transforms */
  }

  /* ===== Scroll Columns - Full Width Stacked ===== */
  .scroll-column {
    flex-shrink: 0;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .scroll-column--narrow,
  .scroll-column--medium,
  .scroll-column--wide,
  .scroll-column--intro,
  .scroll-column--hero,
  .scroll-column--single,
  .scroll-column--pair,
  .scroll-column--cluster,
  .scroll-column--triple-a,
  .scroll-column--triple-b,
  .scroll-column--triple-c,
  .scroll-column--triple-d,
  .scroll-column--triple-e,
  .scroll-column--triple-f {
    width: 100%;
    max-width: 340px;
  }

  /* ===== Day Intro Card ===== */
  .day-intro {
    width: 100%;
    max-width: 320px;
    padding: 24px 20px;
    text-align: center;
  }

  .day-intro__badge {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .day-intro__location {
    font-size: 1.4rem;
    margin: 12px 0 8px;
  }

  .day-intro__date {
    font-size: 0.9rem;
  }

  .day-intro__stats {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
  }

  /* ===== Polaroid Photos - Responsive Sizing ===== */
  .polaroid {
    width: 100%;
    max-width: 280px;
    padding: 10px 10px 40px;
  }

  .polaroid__img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .polaroid__caption {
    font-size: 0.9rem;
    padding: 10px 4px 4px;
  }

  /* Hero polaroid sizing */
  .scroll-column--hero .polaroid {
    max-width: 300px;
    width: 100%;
    padding: 10px 10px 45px;
  }

  .scroll-column--hero .polaroid__img {
    max-height: 360px;
  }

  /* Featured/Tall/Medium polaroids */
  .polaroid--featured,
  .polaroid--tall,
  .polaroid--medium-center {
    max-width: 280px;
  }

  .polaroid--small,
  .polaroid--mini,
  .polaroid--compact,
  .polaroid--tiny {
    max-width: 140px;
    padding: 6px 6px 30px;
  }

  .polaroid--small .polaroid__img,
  .polaroid--mini .polaroid__img,
  .polaroid--compact .polaroid__img,
  .polaroid--tiny .polaroid__img {
    max-height: 160px;
  }

  /* ===== Cluster Layouts - Simplified for Mobile ===== */
  .cluster-layout,
  .cluster-layout--split,
  .cluster-layout--split-reverse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .cluster-stack {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .cluster-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .cluster-cascade {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cluster-cascade .polaroid {
    position: relative;
    transform: none;
    margin: 0;
  }

  .cluster-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cluster-flanks {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  /* Remove absolute positioning and offsets on mobile */
  .polaroid--offset-left,
  .polaroid--offset-right,
  .polaroid--offset-center {
    position: relative;
    margin-left: 0;
    margin-right: 0;
  }

  .cascade-1,
  .cascade-2,
  .cascade-3 {
    position: relative;
    top: auto;
    left: auto;
  }

  /* ===== Experience Cards ===== */
  .experience-card {
    width: 100%;
    max-width: 320px;
    padding: 16px;
  }

  .experience-card__name {
    font-size: 1.1rem;
  }

  .experience-card__description {
    font-size: 0.9rem;
  }

  .experience-card__photo img {
    max-height: 140px;
  }

  /* ===== Sticky Notes ===== */
  .sticky {
    width: 100%;
    max-width: 260px;
    padding: 16px;
  }

  .sticky__title {
    font-size: 1rem;
  }

  .sticky__content {
    font-size: 0.9rem;
  }

  /* ===== Time Markers - Inline for Mobile ===== */
  .time-marker {
    text-align: center;
    padding: 8px 0;
    width: 100%;
  }

  .time-marker__time {
    font-size: 1.1rem;
    font-family: var(--font-handwritten);
    color: var(--pixie-dust);
  }

  /* ===== Reflections Section ===== */
  .reflections {
    width: 100%;
    max-width: 300px;
    padding: 20px;
  }

  .reflections__title {
    font-size: 1.3rem;
  }

  .reflections__content {
    font-size: 1rem;
  }

  /* ===== Day Separator for Visual Clarity ===== */
  .day-horizontal + .day-horizontal::before {
    content: '';
    display: block;
    width: 80%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--twilight-lavender), transparent);
    margin: 40px auto;
  }

  /* ===== Animations - Simplified for Performance ===== */
  .scroll-column {
    animation: none;
    opacity: 1;
    transform: none;
  }

  /* ===== Lightbox - Full Screen on Mobile ===== */
  .lightbox-overlay {
    padding: 0;
  }

  .lightbox-content {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .lightbox-image {
    max-height: calc(100vh - 120px);
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-nav {
    bottom: 60px;
  }

  /* ===== Fullscreen Map - Mobile Optimized ===== */
  .fullscreen-map {
    z-index: 9999;
  }

  .fullscreen-map__container {
    border-radius: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }

  .fullscreen-map__close {
    top: 16px;
    right: 16px;
    background: var(--surface-elevated);
    border-radius: 50%;
    width: 44px;
    height: 44px;
  }

}

/* ===== Extra Small Devices (iPhone SE, etc) ===== */
@media (max-width: 375px) {
  .day-header-fixed {
    padding: 10px 12px;
  }

  .day-name {
    font-size: 1rem;
  }

  .stat__value {
    font-size: 0.85rem;
  }

  .timeline-scroll {
    padding: 90px 12px 32px;
    gap: 20px;
  }

  .polaroid {
    max-width: 260px;
  }

  .scroll-column--hero .polaroid {
    max-width: 280px;
  }

  .experience-card,
  .day-intro {
    max-width: 290px;
  }

  .sticky {
    max-width: 240px;
  }
}
