/* ============================================================
   White Desert clone — design system
   Palette + type scale reverse-engineered from white-desert.com
   ============================================================ */

:root {
  --deep: #0e1118;
  --navy: #1f2a44;
  --navy-faded: rgba(31, 42, 68, 0.2);
  --ash: #2c374b;
  --ice: #6af0ff;
  --orange: #ff7e15;
  --white: #ffffff;
  --mushroom: #e9e7e1;
  --light-grey: #f3f1ec;
  --beige: #dcd8cc;
  --charcoal: #535353;
  --muted: #a8acb3;

  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-condensed: "Oswald", "Arial Narrow", Arial, sans-serif;

  --container: 1320px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius-lg: 2.5rem;
  --radius-md: 0.5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow.light { color: var(--ice); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--navy);
}
.section-title.light { color: var(--white); }

.section-light { background: var(--light-grey); color: var(--navy); }
.section-dark { background: var(--navy); color: var(--white); }
.section-deep { background: var(--deep); color: var(--white); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85em 2em;
  border-radius: 100px;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-pill {
  background: var(--white);
  color: var(--navy);
}
.btn-pill:hover { background: var(--ice); }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--ice); }

.link-like {
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.2em;
  transition: color 0.3s, border-color 0.3s;
}
.link-like:hover { color: var(--white); border-color: var(--white); }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 1.5rem;
}
.learn-more::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}
.learn-more:hover::after { transform: translateX(6px); }
.learn-more.light { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  color: var(--white);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, color 0.4s;
}
.site-header.scrolled {
  background: rgba(14, 17, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.7rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 0.95;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.wordmark-bottom { color: var(--ice); }

.header-nav {
  display: flex;
  gap: 2.5rem;
}
.header-nav a {
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.header-nav a:hover { opacity: 1; color: var(--ice); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.header-link {
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.header-link:hover { opacity: 1; color: var(--ice); }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.menu-toggle-label {
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle-icon i {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.menu-toggle.open .menu-toggle-icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.open .menu-toggle-icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- fullscreen menu ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
  visibility: hidden;
}
.menu-overlay.open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
}
.menu-overlay-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  max-width: var(--container);
  margin-inline: auto;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.menu-links a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.1;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.6s var(--ease-out), color 0.3s;
}
.menu-overlay.open .menu-links a { opacity: 1; transform: none; }
.menu-overlay.open .menu-links a:nth-child(1) { transition-delay: 0.15s; }
.menu-overlay.open .menu-links a:nth-child(2) { transition-delay: 0.22s; }
.menu-overlay.open .menu-links a:nth-child(3) { transition-delay: 0.29s; }
.menu-overlay.open .menu-links a:nth-child(4) { transition-delay: 0.36s; }
.menu-overlay.open .menu-links a:nth-child(5) { transition-delay: 0.43s; }
.menu-links a:hover { color: var(--ice); }
.menu-links em {
  font-family: var(--font-condensed);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--ice);
}
.menu-footer {
  margin-top: 4rem;
  display: flex;
  gap: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--deep);
}

.hero-media { position: absolute; inset: 0; }
.hero-img {
  filter: grayscale(0.4) brightness(0.72) contrast(1.05);
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.hero-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 17, 24, 0.45) 0%, rgba(31, 42, 68, 0.25) 45%, rgba(31, 42, 68, 0.65) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(106, 240, 255, 0.12), transparent 60%);
}

/* drifting cloud banks */
.clouds {
  position: absolute;
  inset: -20% -40%;
  pointer-events: none;
  background:
    radial-gradient(40% 28% at 22% 62%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(32% 22% at 68% 55%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(26% 20% at 45% 72%, rgba(255, 255, 255, 0.07), transparent 70%);
  filter: blur(30px);
}
.clouds-1 { animation: drift 60s linear infinite; }
.clouds-2 { animation: drift 90s linear infinite reverse; opacity: 0.7; }
@keyframes drift {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 14vh;
  width: 100%;
}
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2vh;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4.5rem, 15.5vw, 15rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.35);
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--pad);
}
.watch-film {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}
.watch-film-ring {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.35s var(--ease-out);
}
.watch-film:hover .watch-film-ring {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.06);
}
.play-icon { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.watch-film-text {
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  writing-mode: vertical-rl;
}

/* ---------- mist transitions ---------- */

.mist {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 22vh;
  pointer-events: none;
  z-index: 4;
}
.mist-to-light {
  background: linear-gradient(180deg, transparent, var(--light-grey) 92%);
}
.mist-to-dark {
  background: linear-gradient(180deg, transparent, var(--navy) 92%);
}
.mist-to-dark-2 {
  background: linear-gradient(180deg, transparent, var(--deep) 92%);
}

/* ============================================================
   INTRO
   ============================================================ */

.intro {
  position: relative;
  padding: clamp(6rem, 14vh, 11rem) 0 clamp(10rem, 22vh, 16rem);
}
.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1.18;
  color: var(--navy);
  max-width: 22ch;
  margin-top: 2.5rem;
}
.season {
  margin-top: clamp(4rem, 10vh, 7rem);
  max-width: 560px;
  margin-left: auto;
}
.season-title {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.season-body {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal);
}

/* ============================================================
   TRIPS
   ============================================================ */

.trips {
  position: relative;
  padding: clamp(7rem, 16vh, 12rem) 0 clamp(9rem, 18vh, 13rem);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}
.section-head .section-title { color: var(--white); }
.carousel-nav { display: flex; gap: 0.75rem; }
.car-btn {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  transition: background 0.3s, border-color 0.3s;
}
.car-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.trips-track {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--pad);
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.trips-track::-webkit-scrollbar { display: none; }

.trip-card {
  flex: 0 0 clamp(300px, 26vw, 400px);
  scroll-snap-align: start;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out);
}
.trip-card:hover { transform: translateY(-8px); }
.trip-media {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
}
.trip-media img {
  filter: grayscale(0.55) contrast(1.05);
  transition: transform 0.8s var(--ease-out);
}
.trip-card:hover .trip-media img { transform: scale(1.06); }
.trip-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.trip-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.15;
}
.trip-price {
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--navy-faded);
  border-radius: 100px;
  padding: 0.4em 0.9em;
  color: var(--ash);
}
.trip-blurb {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
  flex: 1;
}

/* ============================================================
   FOUNDER QUOTE
   ============================================================ */

.founder {
  padding: clamp(7rem, 18vh, 13rem) 0;
}
.founder-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.founder-portrait {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.founder-portrait img { filter: grayscale(0.5) contrast(1.05); }

.founder-quote { position: relative; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.5;
  color: var(--ice);
  display: block;
  margin-bottom: 2.5rem;
}
.founder-quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.35;
  max-width: 32ch;
}
.founder-quote footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.quote-dash { color: var(--ice); }
.founder-quote footer strong {
  font-family: var(--font-condensed);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.founder-quote footer em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ============================================================
   CAMPS — sticky stacked panels
   ============================================================ */

.camps { background: var(--deep); }
.camps-head {
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: clamp(4rem, 9vh, 7rem);
  text-align: center;
}
.camps-intro {
  max-width: 620px;
  margin: 2rem auto 0;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mushroom);
}

.camp-stack { position: relative; }
.camp-panel {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.camp-panel img {
  position: absolute;
  inset: 0;
  filter: grayscale(0.5) brightness(0.8) contrast(1.05);
}
.camp-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 24, 0.35), transparent 40%, rgba(14, 17, 24, 0.72));
}
.camp-content {
  position: relative;
  z-index: 2;
  padding: var(--pad);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  max-width: 640px;
}
.camp-content h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.camp-content p {
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mushroom);
  max-width: 44ch;
}
.coords {
  display: block;
  margin-top: 1.75rem;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  color: var(--ice);
}

/* ============================================================
   PRESS QUOTE
   ============================================================ */

.press-quote { padding: clamp(7rem, 16vh, 12rem) 0; }
.press-quote blockquote { max-width: 900px; }
.press-quote .quote-mark { color: var(--navy); opacity: 0.35; }
.press-quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.3;
  color: var(--navy);
}
.press-quote footer {
  margin-top: 2rem;
  font-family: var(--font-condensed);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ash);
}
.press-quote .quote-dash { color: var(--orange); }

/* ============================================================
   FLIGHT
   ============================================================ */

.flight {
  position: relative;
  background: var(--deep);
  padding: clamp(7rem, 16vh, 12rem) 0 clamp(9rem, 18vh, 13rem);
  overflow: hidden;
}
.flight-head { text-align: center; margin-bottom: clamp(4rem, 9vh, 7rem); }
.flight-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 1;
  color: var(--white);
}
.route-line {
  flex: 0 1 clamp(120px, 22vw, 340px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  position: relative;
}
.route-line::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  border: solid var(--ice);
  border-width: 1px 1px 0 0;
  width: 8px;
  height: 8px;
  transform: rotate(45deg) translateY(-50%);
}

.flight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.flight-info h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  margin: 1.5rem 0;
}
.flight-info p {
  font-weight: 300;
  line-height: 1.75;
  color: var(--mushroom);
  max-width: 48ch;
}
.coords-line {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  line-height: 1.9;
  color: var(--ice);
}
.coords-line strong { color: var(--white); font-weight: 400; }

.map-svg { width: 100%; height: auto; }
.map-dot { fill: var(--white); }
.map-dot.ice { fill: var(--ice); }
.map-label {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: var(--white);
}
.map-label.dim { fill: var(--muted); font-size: 11px; }
.route-arc { animation: dashmove 3s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -28; } }

.flight-stats {
  margin-top: clamp(4rem, 10vh, 7rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 3rem;
}
.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1;
}
.stat-value small {
  font-family: var(--font-condensed);
  font-size: 0.35em;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  padding: clamp(8rem, 20vh, 14rem) 0;
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy);
  padding: clamp(5rem, 12vh, 8rem) 0 3rem;
  font-weight: 300;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 7vw, 7rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-contacts { display: flex; flex-direction: column; gap: 2.25rem; }
.contact-block h4,
.link-col h4,
.newsletter h4 {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.contact-block a,
.link-col a {
  display: block;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--mushroom);
  transition: color 0.25s;
}
.contact-block a:hover,
.link-col a:hover { color: var(--ice); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.newsletter { padding: 3.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.newsletter p { color: var(--mushroom); margin-bottom: 1.5rem; font-size: 0.95rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; }
.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.85em 1.5em;
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { border-color: var(--ice); }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 3rem 0;
}
.badge {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mushroom);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 0.7em 1.4em;
}
.badge.years {
  margin-left: auto;
  border-color: var(--ice);
  color: var(--ice);
}

.footer-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  padding: 3rem 0;
  color: var(--white);
}
.footer-quote em {
  display: block;
  font-family: var(--font-condensed);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: var(--muted);
}
.legal-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.legal-links a:hover { color: var(--white); }

/* ============================================================
   MODAL
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s, visibility 0.4s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 24, 0.75);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  background: var(--light-grey);
  color: var(--navy);
  border-radius: var(--radius-md);
  max-width: 720px;
  width: calc(100% - 2 * var(--pad));
  max-height: 82svh;
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 4rem);
  transform: translateY(24px);
  transition: transform 0.45s var(--ease-out);
}
.modal.open .modal-card { transform: none; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}
.modal-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.steps { list-style: none; display: flex; flex-direction: column; gap: 1.75rem; }
.steps h5 {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.steps p { font-weight: 300; line-height: 1.7; color: var(--charcoal); font-size: 0.95rem; }

/* ============================================================
   JUDYMARINE — inner pages
   ============================================================ */

.hero-cta { margin-top: 4vh; }

.page-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}
.page-hero.short { min-height: 48svh; }
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 16vh;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.95;
  color: var(--white);
  margin-top: 1.5rem;
}
.page-sub {
  max-width: 52ch;
  margin-top: 1.5rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mushroom);
}

/* ---------- fleet listing ---------- */

.fleet { padding: clamp(5rem, 12vh, 8rem) 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.chip {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mushroom);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 0.7em 1.5em;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { border-color: var(--white); color: var(--white); }
.chip.active {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.fleet-grid .trip-card { flex: none; }
.trip-card.hidden { display: none; }

.specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.9rem;
}
.specs li {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.specs li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.fleet-empty {
  margin-top: 3rem;
  color: var(--muted);
  font-weight: 300;
}
.fleet-empty a { color: var(--ice); }

/* ---------- steps on dark ---------- */

.steps.dark h5 { color: var(--ice); }
.steps.dark p { color: var(--mushroom); }

/* ---------- CTA sub text ---------- */

.cta-sub {
  font-weight: 300;
  color: var(--mushroom);
  font-size: 1.05rem;
  margin-top: -1rem;
}

/* ---------- contact ---------- */

.contact-section { padding: clamp(5rem, 12vh, 8rem) 0 clamp(7rem, 14vh, 10rem); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.info-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: var(--navy);
}
.info-body {
  margin-top: 1.5rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal);
}
.info-lines { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.info-line { display: flex; flex-direction: column; gap: 0.2rem; }
.info-label {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ash);
}
.info-line a, .info-line span:not(.info-label) {
  font-size: 1.05rem;
  color: var(--navy);
}
.info-line a:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 4px 10px rgba(31, 42, 68, 0.08), 0 2px 4px rgba(31, 42, 68, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-form label span {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 300;
  color: var(--navy);
  background: var(--light-grey);
  border: 1px solid var(--navy-faded);
  border-radius: var(--radius-md);
  padding: 0.85em 1.1em;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input.invalid,
.contact-form textarea.invalid { border-color: #c0392b; }

.form-note { font-size: 0.9rem; font-weight: 300; }
.form-note.error { color: #c0392b; }
.form-note.success { color: #1e7e4d; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  align-self: flex-start;
}
.btn-navy:hover { background: var(--ash); }

.footer-bottom-only { border-top: 0; padding-top: 0; }

/* ---------- hero tagline ---------- */

.hero-tagline {
  margin-top: 2vh;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   SEARCH DOCK
   ============================================================ */

.search-dock {
  position: relative;
  z-index: 10;
  margin-top: -9vh;
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
.search-card {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(14, 17, 24, 0.35), 0 4px 12px rgba(14, 17, 24, 0.15);
  overflow: hidden;
}
.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--navy-faded);
}
.search-tab {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ash);
  padding: 1.3em 2.5em;
  position: relative;
  transition: color 0.3s;
}
.search-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}
.search-tab:hover { color: var(--navy); }
.search-tab.active { color: var(--navy); }
.search-tab.active::after { transform: scaleX(1); }

.search-form {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.9fr auto;
  gap: 1.5rem;
  align-items: end;
  padding: 1.75rem 2rem;
}
.search-form.hidden { display: none; }
.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.search-field label {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ash);
}
.search-field select,
.search-field input {
  font: inherit;
  font-weight: 300;
  color: var(--navy);
  background: var(--light-grey);
  border: 1px solid var(--navy-faded);
  border-radius: var(--radius-md);
  padding: 0.85em 1.1em;
  outline: none;
  width: 100%;
  transition: border-color 0.3s, background 0.3s;
}
.search-field select:focus,
.search-field input:focus { border-color: var(--navy); background: var(--white); }
.search-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231f2a44' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}
.dates-pair {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dates-sep {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}
.search-submit { height: fit-content; }

/* ============================================================
   SERVICE CARDS (Charter / Buy)
   ============================================================ */

.services { position: relative; padding: clamp(7rem, 16vh, 12rem) 0 clamp(10rem, 20vh, 14rem); }
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), border-color 0.3s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.3); }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-media img {
  filter: brightness(0.85) contrast(1.02);
  transition: transform 0.8s var(--ease-out);
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: clamp(1.75rem, 3vw, 2.75rem); }
.service-kicker {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 0.9rem;
}
.service-body h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  margin-bottom: 1rem;
}
.service-body p {
  font-weight: 300;
  line-height: 1.7;
  color: var(--mushroom);
  font-size: 0.975rem;
  max-width: 46ch;
}

/* ============================================================
   LISTING MODES + SALE TAGS
   ============================================================ */

.mode-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.mode-tab {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mushroom);
  padding: 0.9em 2em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.mode-tab:hover { border-color: var(--white); color: var(--white); }
.mode-tab.active {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.tag-sale {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  align-self: flex-start;
}
.trip-body > .tag { margin-bottom: 0.9rem; }
.price-note {
  font-size: 0.7em;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.active-filters:empty { display: none; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
  border: 1px solid rgba(106, 240, 255, 0.4);
  border-radius: 100px;
  padding: 0.55em 1.1em;
}
.filter-pill button {
  color: var(--ice);
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.1em;
}
.filter-pill button:hover { color: var(--white); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .header-nav { display: none; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 420px; }
  .flight-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .header-link { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-dates { grid-column: span 2; }
  .search-submit { grid-column: span 2; }
  .service-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .search-form { grid-template-columns: 1fr; }
  .search-dates, .search-submit { grid-column: span 1; }
  .dates-pair { flex-direction: column; align-items: stretch; }
  .dates-sep { text-align: center; }
  .search-tab { flex: 1; padding-inline: 1em; }
}

@media (max-width: 640px) {
  .flight-stats { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .badge.years { margin-left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-actions { gap: 1rem; }
  .watch-film-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
