:root {
  --ink: #f2f1ed;
  --bg: #0a0b0d;
  --surface: #1c1e22;
  --accent: #4a7fb5;
  --navy: #14243f;
  --gold: #d9cba3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 40px;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.32em;
  mix-blend-mode: difference;
}
.nav-brand { color: var(--ink); font-weight: 500; }
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(242, 241, 237, 0.4);
  padding-bottom: 2px;
}

/* ---------- Cinematic scroll section ---------- */
.cinematic {
  position: relative;
  height: 460vh;
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 25%, transparent 68%, rgba(0,0,0,0.6) 100%);
}

/* ---------- Overlay copy ---------- */
.overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}
.eyebrow.reveal-line {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  top: 38%;
}
.reveal-line {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 90vw;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 6.4vw, 4.6rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
  opacity: 0;
  will-change: opacity, transform;
}

/* ---------- Static panels ---------- */
.panel {
  padding: 140px 24px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.kicker {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 18px;
}
.panel h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 20px;
}
.panel p {
  color: rgba(242, 241, 237, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Reveal + counters ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

.stats-panel { padding: 100px 24px; max-width: none; }
.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 64px;
}
.stat { display: grid; gap: 8px; text-align: center; }
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--gold);
}
.stat-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(242, 241, 237, 0.55);
}

/* ---------- Reserve / CTA ---------- */
.reserve { padding-bottom: 120px; }
.cta-button {
  display: inline-block;
  margin-top: 28px;
  padding: 16px 40px;
  border: 1px solid var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  transition: background 0.3s ease, color 0.3s ease;
}
.cta-button:hover { background: var(--accent); color: var(--bg); }

/* ---------- Progress + scroll hint ---------- */
.progress {
  position: absolute;
  left: 40px; right: 40px; bottom: 44px;
  height: 1px;
  background: rgba(255,255,255,0.14);
  z-index: 12;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
}
.scroll-hint {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(242,241,237,0.55);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 40px 48px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(242, 241, 237, 0.5);
}

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
  .nav { padding: 18px 20px; font-size: 13px; letter-spacing: 0.22em; }
  .progress { left: 20px; right: 20px; }
  .panel { padding: 100px 20px; }
  .stats { gap: 36px; }
  .footer { flex-direction: column; gap: 8px; padding: 24px 20px 36px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic { height: 100vh; }
  .sticky { position: relative; }
  .reveal-line:not(.eyebrow) ~ .reveal-line { display: none; }
}

.preloader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg);
  transition: opacity 0.4s ease;
}
.preloader.done { opacity: 0; pointer-events: none; }
.preloader-bar { width: 200px; height: 1px; background: rgba(255,255,255,0.15); }
.preloader-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.15s linear; }
.preloader-text {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(242,241,237,0.55);
}
