/* ==========================================
   BASE — shared by all pages
   ========================================== */

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

:root {
  --ocean: #0a2a3a;
  --ocean-mid: #0e3d57;
  --ocean-light: #1a5c7a;
  --sand: #f0ebe0;
  --sand-dark: #d9d0bc;
  --coral: #c8604a;
  --coral-light: #e88a72;
  --foam: #e8f4f0;
  --foam-dark: #b8d8cc;
  --white: #fafaf8;
  --text-muted: rgba(10,42,58,0.45);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ocean);
  overflow-x: hidden;
}

/* ==========================================
   HERO — shared base
   ========================================== */

.hero {
  min-height: 100vh;
  background: var(--ocean);
  display: grid;
  grid-template-rows: 1fr auto;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(26,92,122,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(14,61,87,0.8) 0%, transparent 50%),
    var(--ocean);
}

.wave-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.route-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--foam-dark);
  text-transform: uppercase;
  opacity: 0;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.0;
  color: var(--sand);
  margin-bottom: 16px;
  opacity: 0;
}

.hero-sub {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--foam-dark);
  opacity: 0;
}

/* ==========================================
   SCROLL CUE
   ========================================== */

.scroll-cue {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.4s;
}

.scroll-cue span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(184,216,204,0.5);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(184,216,204,0.4), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
  background: var(--ocean);
  border-top: 1px solid rgba(184,216,204,0.1);
  padding: 32px 40px;
  text-align: center;
}

.footer-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(184,216,204,0.3);
  text-transform: uppercase;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* ==========================================
   LANGUAGE SWITCHER
   ========================================== */

.lang-switcher {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  user-select: none;
}

.lang-btn {
  color: rgba(184,216,204,0.5);
  text-decoration: none;
}

a.lang-btn { transition: color 0.2s; }
a.lang-btn:hover { color: var(--foam-dark); }

.lang-active { color: var(--foam-dark); }

.lang-divider { color: rgba(184,216,204,0.2); }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 640px) {
  footer { padding: 24px 20px; }
  .lang-switcher { top: 16px; right: 20px; }
}
