/* ==========================================================================
   VANWAVE — editorial luxury
   Full-bleed hero, Ken Burns, parallax, script + serif pairing
   ========================================================================== */

:root {
  --ink: #1A1919;
  --cream: #F5F4F0;
  --cream-dim: #E8E6DF;
  --muted: #8C8C8C;
  --line: rgba(245, 244, 240, 0.18);
  --line-dark: rgba(26, 25, 25, 0.14);
  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-script: "Pinyon Script", cursive;
  --font-sans: "Inter", system-ui, sans-serif;

  /* aliases for blog.css */
  --bg-dark: var(--ink);
  --bg-card: #242322;
  --bg-card-hover: #2c2b2a;
  --gold-primary: #c4b59a;
  --gold-light: #ddd4c4;
  --gold-dark: #8a7a62;
  --gold-gradient: linear-gradient(135deg, #f5f4f0, #c4b59a);
  --gold-glow: transparent;
  --gold-glow-hover: transparent;
  --gold-border: var(--line);
  --bg-surface: #242322;
  --text-main: var(--cream);
  --text-muted: var(--muted);
  --text-secondary: #cfcbc3;
  --text-gold: #ddd4c4;
  --border-glass: var(--line-dark);
  --border-active: rgba(26, 25, 25, 0.28);
  --font-title: var(--font-sans);
  --font-body: var(--font-sans);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --transition-smooth: color 0.35s var(--ease-luxe), background 0.35s var(--ease-luxe), opacity 0.35s var(--ease-luxe);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--ink);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

/* -------------------- Header -------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  transition: background 0.5s var(--ease-luxe), backdrop-filter 0.5s ease, color 0.5s ease;
  color: var(--cream);
}

.site-header.is-scrolled {
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(16px);
  color: var(--ink);
}

.header-inner,
.menu-top {
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0;
}

.header-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  justify-self: start;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.32em;
  font-size: 1.05rem;
  justify-self: center;
}

.btn-ghost {
  justify-self: end;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  padding: 8px 20px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease-luxe), color 0.35s var(--ease-luxe);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

.site-header.is-scrolled .btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  color: var(--ink);
  border: 0;
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.5s var(--ease-luxe), box-shadow 0.5s ease;
}

.btn-solid:hover {
  background: #fff;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.08);
}

.btn-solid.full { width: 100%; justify-content: center; }

.modal-content .btn-solid {
  background: var(--ink);
  color: var(--cream);
  margin-top: 12px;
}

.modal-content .btn-solid:hover {
  background: #000;
  box-shadow: none;
}

/* -------------------- Fullscreen menu -------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
}

.menu-overlay[hidden] { display: none; }

.menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.menu-nav a {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 4.4rem);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(28px);
}

.menu-overlay.is-open .menu-nav a {
  animation: fadeUp 0.8s var(--ease-luxe) forwards;
}

.menu-overlay.is-open .menu-nav a:nth-child(1) { animation-delay: 0.08s; }
.menu-overlay.is-open .menu-nav a:nth-child(2) { animation-delay: 0.16s; }
.menu-overlay.is-open .menu-nav a:nth-child(3) { animation-delay: 0.24s; }
.menu-overlay.is-open .menu-nav a:nth-child(4) { animation-delay: 0.32s; }
.menu-overlay.is-open .menu-nav a:nth-child(5) { animation-delay: 0.4s; }
.menu-overlay.is-open .menu-nav a:nth-child(6) { animation-delay: 0.48s; }

.menu-foot {
  display: flex;
  justify-content: space-between;
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid #2E2D2B;
  padding-top: 22px;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 64px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
  animation: kenburns 8s ease-out forwards;
}

.hero-col {
  position: relative;
  overflow: hidden;
}

.hero-col video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  animation: heroBreathe 12s ease-in-out infinite;
}

.hero-col:nth-child(1) video { animation-delay: 0s; }
.hero-col:nth-child(2) video { animation-delay: -3s; }
.hero-col:nth-child(3) video { animation-delay: -6s; }
.hero-col:nth-child(4) video { animation-delay: -9s; }

@keyframes heroBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    rgba(26, 25, 25, 0.3) 0%,
    rgba(26, 25, 25, 0.12) 40%,
    rgba(26, 25, 25, 0.62) 80%,
    rgb(26, 25, 25) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.hero-copy { margin-bottom: 40px; }

.hero .script,
.hero .editorial {
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--cream);
}

.script.muted { color: var(--muted); }
.script.light { color: #fff; }

.editorial {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
}

.editorial-dark {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.6);
}

.scroll-hint {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 244, 240, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* -------------------- About + triptych -------------------- */
.about {
  background: var(--cream);
  color: var(--ink);
  padding: 96px 0 0;
}

.about .wrap { text-align: center; margin-bottom: 80px; }
.about .script { margin-bottom: 10px; }

.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 100svh;
}

.triptych-card {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.triptych-card:last-child { border-right: 0; }

.triptych-card img,
.triptych-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1s ease-out;
  will-change: transform;
}

.triptych-card:hover img,
.triptych-card:hover video { transform: scale(1.05); }

.triptych-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.4));
  transition: background 0.7s ease;
}

.triptych-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  pointer-events: none;
}

.triptych-copy h3 {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
}

.triptych-copy p {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.triptych-link {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  width: max-content;
  margin: 0 auto;
  padding-bottom: 4px;
}

.about-quote {
  padding: 88px 0 100px;
  max-width: 720px !important;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}

/* -------------------- Merit -------------------- */
.merit {
  position: relative;
  min-height: 72svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.merit img,
.merit video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merit-shade {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 25, 0.5);
}

.merit-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px;
}

.merit-copy .script { margin-top: 18px; font-size: clamp(1.6rem, 4vw, 2.6rem); }

/* -------------------- Destinations -------------------- */
.destinations {
  background: var(--ink);
  padding: 80px 0 100px;
}

.dest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.dest-head h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dest-nav { display: flex; gap: 8px; }

.dest-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: none;
  color: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.dest-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 22vw);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100% - 1400px) / 2));
  scrollbar-width: none;
}

.dest-track::-webkit-scrollbar { display: none; }

.dest-card {
  scroll-snap-align: start;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.dest-card img,
.dest-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease-out;
}

.dest-card:hover img,
.dest-card:hover video { transform: scale(1.05); }

.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 25, 25, 0.85) 0%, transparent 55%);
}

.dest-meta {
  position: absolute;
  inset: auto 20px 22px;
  z-index: 1;
}

.dest-meta h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
}

.dest-meta p {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.7);
  margin: 6px 0 12px;
}

.text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(245, 244, 240, 0.55);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0 0 3px;
  cursor: pointer;
}

/* -------------------- Fleet -------------------- */
.fleet {
  background: var(--cream);
  color: var(--ink);
  padding: 100px 0;
}

.fleet-intro { text-align: center; margin-bottom: 64px; }
.fleet-intro .script { margin-bottom: 8px; }

.fleet-list { display: grid; gap: 0; }

.van-card {
  padding: 36px 0;
  border-top: 1px solid var(--line-dark);
}

.van-card:last-child { border-bottom: 1px solid var(--line-dark); }

.van-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 60px;
  align-items: start;
}

.van-body > .section-tag,
.van-body > h3,
.van-body > .van-specs-row { grid-column: 1; }

.van-body > .circuit-highlights { grid-column: 2; grid-row: 1 / span 3; }
.van-body > .circuit-footer { grid-column: 2; grid-row: 4; }

.van-badge-height { display: none; }

.van-body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.section-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.van-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 13px;
  color: #4a4947;
  margin: 12px 0 18px;
}

.circuit-highlights {
  font-size: 14px;
  color: #3d3c3a;
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.circuit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.price-tag { display: flex; flex-direction: column; }
.price-from, .price-unit { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.price-amount { font-family: var(--font-serif); font-size: 1.5rem; }

.van-card .btn-primary,
.van-card .btn-solid {
  background: var(--ink);
  color: var(--cream);
}

/* -------------------- Closing + footer -------------------- */
.closing {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--ink);
}

.closing .btn-solid { margin-top: 36px; }
.closing-meta {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  border-top: 1px solid #2E2D2B;
  padding: 64px 0 28px;
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-place, .site-footer a, .site-footer button {
  display: block;
  background: none;
  border: 0;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
}

.footer-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid #2E2D2B;
  padding-top: 22px;
}

/* -------------------- Motion -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 1s var(--ease-luxe) forwards;
}

.reveal[data-delay="0.3"] { animation-delay: 0.3s; }
.reveal[data-delay="0.5"] { animation-delay: 0.5s; }
.reveal[data-delay="0.9"] { animation-delay: 0.9s; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe);
}

.reveal.is-in,
.reveal-on-scroll.is-in { opacity: 1; transform: none; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

@keyframes kenburns {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

/* -------------------- Modals + toast -------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 25, 25, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal-content label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  margin-bottom: 8px;
}

.modal-content {
  background: var(--cream);
  color: var(--ink);
  width: min(640px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 36px 32px 28px;
  position: relative;
}

.modal-content.large { width: min(760px, 100%); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal-content h2,
.modal-content .serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 8px;
}

.modal-content label.check input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--ink);
}

.modal-lead, .modal-content > p {
  color: #5c5a57;
  margin-bottom: 16px;
}

.modal-content label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.modal-content input,
.modal-content select {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 12px 14px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opts { border: 0; margin: 8px 0 20px; }
.opts legend {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  margin-bottom: 8px;
}

.booking-summary-box {
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
  margin-bottom: 22px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}

.timeline-step { margin-bottom: 14px; }
.timeline-step h4 { font-family: var(--font-serif); font-size: 1.1rem; margin: 2px 0 4px; }

.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  gap: 8px;
}

.toast {
  background: var(--cream);
  color: var(--ink);
  padding: 14px 18px;
  font-size: 14px;
}

.site-header.is-static {
  position: sticky;
  background: var(--cream);
  color: var(--ink);
}

.serif-title { font-family: var(--font-serif); font-weight: 400; }
.gradient-gold-text { color: inherit; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.section-container { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; }

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .header-side span { display: none; }
  .wordmark { font-size: 0.82rem; letter-spacing: 0.22em; }
  .btn-ghost { padding: 7px 12px; font-size: 9px; }
  .header-inner, .menu-top { width: min(1400px, calc(100% - 28px)); padding: 16px 0; }
  .triptych { grid-template-columns: 1fr; min-height: 0; }
  .triptych-card { min-height: 54vh; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .van-body { grid-template-columns: 1fr; }
  .van-body > * { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-bottom: 40px; }
  .hero-media { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); }
  .dest-track { grid-auto-columns: 78vw; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-on-scroll,
  .menu-overlay.is-open .menu-nav a {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero-media img,
  .hero-col video {
    animation: none !important;
    transform: none;
  }
}
