:root {
  --bg: #f7f5f0;
  --bg-alt: #ffffff;
  --navy: #0b1f3a;
  --navy-soft: #1a3358;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #9a7b1a;
  --text: #1a2b42;
  --muted: #5c6b7a;
  --border: rgba(11, 31, 58, 0.08);
  --shadow: 0 24px 60px -28px rgba(11, 31, 58, 0.35);
  --shadow-soft: 0 12px 40px -20px rgba(11, 31, 58, 0.18);
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --nav-h: 5.5rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.font-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Background mesh */
.bg-mesh {
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(11, 31, 58, 0.06), transparent 50%),
    linear-gradient(180deg, #faf8f4 0%, #f7f5f0 40%, #f3f0ea 100%);
}

/* Nav */
.nav-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-glass.scrolled {
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.98);
}

.nav-logo {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  filter: contrast(1.08) saturate(1.05);
}

@media (min-width: 640px) {
  .nav-logo { height: 4rem; }
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35);
}

.footer-logo {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
  filter: contrast(1.12) saturate(1.08);
  display: block;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 30px -10px rgba(201, 162, 39, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(201, 162, 39, 0.65);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #fff;
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

/* Hero */
.hero-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video,
.hero-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Light veil only — keep top clean so logo/nav stay crisp (no dark top shadow) */
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(247, 245, 240, 0.62) 70%, rgba(247, 245, 240, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 28%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}

.hero-media::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stats */
.stat-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

/* Cards */
.surface-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.25);
}

.surface-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Path timeline */
.path-section {
  position: relative;
}

.path-track {
  position: relative;
  padding: 2rem 0;
}

.path-line-bg {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.4));
  border-radius: 999px;
}

.path-line-fill {
  position: absolute;
  left: 2rem;
  top: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-dark), var(--gold-light));
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.45);
  transition: height 0.15s linear;
}

.path-step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.35;
  transform: translateX(-8px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-step.active {
  opacity: 1;
  transform: translateX(0);
}

.path-dot {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold-dark);
  background: #fff;
  border: 2px solid rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.path-step.active .path-dot {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border-color: transparent;
}

/* Video section */
.video-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.15), rgba(11, 31, 58, 0.45));
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.video-play-overlay.hidden { opacity: 0; pointer-events: none; }

.play-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.play-btn:hover { transform: scale(1.06); }

/* Bento */
.bento-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.bento-item .bento-image {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.bento-item:hover .bento-image {
  opacity: 0.35;
  transform: scale(1.05);
}

.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

/* FAQ */
details.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

details.faq-item[open] {
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-soft);
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

details.faq-item summary::-webkit-details-marker { display: none; }

/* Form */
.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Horizontal scroll path cards (desktop) */
.path-scroll-wrap {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.4) transparent;
}

.path-scroll-card {
  flex: 0 0 min(85vw, 380px);
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .path-step {
    grid-template-columns: 5rem 1fr 320px;
    align-items: center;
  }

  .path-line-bg,
  .path-line-fill {
    left: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .path-step, .surface-card, .btn-primary, .btn-secondary {
    transition: none !important;
    animation: none !important;
  }
}
