:root {
  --navy: rgb(27, 58, 92);
  --bg: rgb(250, 248, 245);
  --bg-alt: rgb(240, 236, 227);
  --text-muted: #999;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Josefin Sans', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--navy); overflow-x: hidden; }
::selection { background: #c5d4e8; color: #1a2a4c; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

.page { max-width: 480px; margin: 0 auto; position: relative; }
section { padding: 60px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Full-width background — breaks out of .page container */
section.full-width-bg { position: relative; z-index: 1; }
section.full-width-bg::before {
  content: ''; position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100vw; background: var(--bg-alt); z-index: -1;
}

.font-script { font-family: var(--font-script); font-weight: 400; font-style: italic; color: var(--navy); }
.uppercase { text-transform: uppercase; letter-spacing: 4px; font-size: 10px; color: var(--text-muted); font-weight: 300; }
.section-title { font-family: var(--font-script); font-size: clamp(28px, 8vw, 36px); font-weight: 400; font-style: italic; color: var(--navy); margin: 8px 0 28px; }
.hero-name { font-family: var(--font-script); font-size: clamp(52px, 14vw, 76px); font-weight: 400; font-style: italic; color: var(--navy); line-height: 0.85; }
.body-text { font-size: 13px; line-height: 1.8; color: #777; font-weight: 300; max-width: 320px; }

.door-overlay { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.8s ease; }
.door-overlay.fade-out { opacity: 0; pointer-events: none; }
.door-overlay.hidden { display: none; }
.door-video-container { position: relative; width: 100%; max-width: 480px; height: 100vh; overflow: hidden; }
.door-video-container video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.door-video-overlay { position: absolute; inset: 0; z-index: 10; background: rgba(250, 248, 245, 0.08); }
.tap-label { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); z-index: 20; font-family: var(--font-body); font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: rgba(160, 150, 135, 0.8); animation: pulse 2.5s ease infinite; }

.sound-btn { position: fixed; bottom: 28px; right: 20px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(27,58,92,0.35); }
.sound-btn:active { transform: scale(0.92); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.15s; }
.reveal.d2 { transition-delay: 0.3s; }
.reveal.d3 { transition-delay: 0.45s; }
.reveal.d4 { transition-delay: 0.6s; }

.countdown-grid { display: flex; justify-content: center; gap: 10px; }
.countdown-box { border: 1.5px solid var(--navy); border-radius: 8px; padding: 12px 8px; min-width: 62px; background: rgba(255,255,255,0.3); text-align: center; }
.countdown-num { font-family: var(--font-script); font-size: 30px; font-weight: 400; color: var(--navy); }
.countdown-label { font-size: 8px; letter-spacing: 2px; color: var(--text-muted); margin-top: 3px; }

.feature-img { width: 100%; max-width: 420px; border-radius: 4px; margin: 16px 0; }

.map-container { border-radius: 8px; overflow: hidden; border: 1px solid #ddd; width: 100%; position: relative; padding-bottom: 56.25%; height: 0; }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.outline-btn { margin-top: 18px; padding: 11px 24px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-family: var(--font-body); border-radius: 2px; display: inline-flex; align-items: center; gap: 8px; font-weight: 300; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.outline-btn:hover { background: var(--navy); color: white; }

.timeline-section { position: relative; overflow: hidden; z-index: 1; }
.timeline-section::before {
  content: ''; position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100vw; background: var(--navy); z-index: -1;
}
.timeline-section .uppercase { color: rgba(255,255,255,0.5); }
.timeline-section .section-title { color: white; }
.timeline-section .timeline-dot { background: white; }
.timeline-section .timeline-time { color: rgba(255,255,255,0.5); }
.timeline-section .timeline-event { color: white; }
.timeline-item { margin-bottom: 28px; display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); margin-bottom: 8px; }
.timeline-time { font-size: 10px; letter-spacing: 2px; color: var(--text-muted); font-weight: 300; }
.timeline-event { font-family: var(--font-script); font-size: 22px; font-style: italic; color: var(--navy); margin-top: 3px; }

.cta-btn { padding: 16px 44px; background: var(--navy); color: white; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-family: var(--font-body); font-weight: 300; text-decoration: none; border-radius: 4px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 4px 16px rgba(27,58,92,0.25); transition: transform 0.2s, box-shadow 0.2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,58,92,0.35); }

.info-card { background: var(--bg-alt); border-radius: 10px; padding: 32px 24px; width: 100%; }

.footer { padding: 55px 30px 45px; text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--navy); position: relative; margin-top: 30px; z-index: 1; }
.footer::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100vw; background: var(--navy); z-index: -1; }
.footer-wave { position: absolute; top: -29px; left: 50%; transform: translateX(-50%); width: 100vw; height: 30px; display: block; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }
@keyframes bounceDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }