:root {
  --cs-bg: #07101e;
  --cs-text: #f8fafc;
  --cs-muted: rgba(239, 244, 255, 0.72);
  --cs-line: rgba(255, 255, 255, 0.16);
  --cs-accent: #d7b47a;
  --cs-focus: #ffffff;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cs-bg); }
body.ddq-coming-soon {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--cs-bg);
  color: var(--cs-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cs-skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #07101e;
  font-weight: 700;
  text-decoration: none;
}
.cs-skip:focus { transform: translateY(0); }

.cs-page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding:
    max(clamp(1.15rem, 2.5vw, 2.25rem), env(safe-area-inset-top))
    max(clamp(1.15rem, 4vw, 4.75rem), env(safe-area-inset-right))
    max(clamp(1rem, 2vw, 1.75rem), env(safe-area-inset-bottom))
    max(clamp(1.15rem, 4vw, 4.75rem), env(safe-area-inset-left));
}

.cs-backdrop,
.cs-backdrop-image,
.cs-backdrop-vignette,
.cs-backdrop-grain {
  position: fixed;
  inset: 0;
}
.cs-backdrop { z-index: -2; overflow: hidden; background: #07101e; }
.cs-backdrop-image {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: opacity 1.5s ease, transform 8s ease;
  will-change: opacity, transform;
}
.cs-backdrop-image.is-active { opacity: 1; transform: scale(1.01); }

.cs-bg-maldives { background-image: url("destinations/maldives.jpg"); }
.cs-bg-santorini { background-image: url("destinations/santorini.jpg"); }
.cs-bg-bali { background-image: url("destinations/bali.jpg"); }
.cs-bg-iceland { background-image: url("destinations/iceland.jpg"); }
.cs-backdrop-vignette {
  background:
    linear-gradient(90deg, rgba(4, 10, 20, 0.91) 0%, rgba(4, 10, 20, 0.63) 45%, rgba(4, 10, 20, 0.28) 72%, rgba(4, 10, 20, 0.6) 100%),
    linear-gradient(180deg, rgba(4, 10, 20, 0.18) 0%, rgba(4, 10, 20, 0.22) 48%, rgba(4, 10, 20, 0.88) 100%);
}
.cs-backdrop-grain {
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.38) 0 0.5px, transparent 0.8px),
    radial-gradient(circle at 72% 64%, rgba(255,255,255,.28) 0 0.5px, transparent 0.8px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.cs-header,
.cs-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
}
.cs-logo-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}
.cs-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cs-brand-copy { display: grid; gap: 0.05rem; }
.cs-brand-copy strong { font-size: 1.05rem; letter-spacing: 0.12em; }
.cs-brand-copy small { color: var(--cs-muted); font-size: 0.78rem; letter-spacing: 0.05em; }

.cs-main {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5rem, 12vh, 9.5rem) 0 clamp(3rem, 7vh, 5.5rem);
}

.cs-hero { max-width: 930px; align-self: center; }
.cs-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.4rem, 3vh, 2.25rem);
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(7,16,30,.3);
  color: rgba(255,255,255,.84);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  backdrop-filter: blur(12px);
}
.cs-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cs-accent);
  box-shadow: 0 0 0 5px rgba(215,180,122,.13), 0 0 18px rgba(215,180,122,.48);
  animation: csPulse 2.4s ease-in-out infinite;
}
.cs-kicker {
  margin: 0 0 1rem;
  color: rgba(255,255,255,.68);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.22em;
}
.cs-hero h1 {
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-size: clamp(3.45rem, 8.2vw, 8.9rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 12px 55px rgba(0,0,0,.28);
}
.cs-hero h1 em {
  display: inline-block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.cs-lead {
  max-width: 680px;
  margin: clamp(1.65rem, 3vw, 2.6rem) 0 0;
  color: rgba(244,247,255,.88);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.58;
}
.cs-divider {
  width: min(520px, 88%);
  height: 1px;
  margin: 2rem 0 1.15rem;
  overflow: hidden;
  background: rgba(255,255,255,.13);
}
.cs-divider span {
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--cs-accent), rgba(255,255,255,.7));
  animation: csTravel 5.5s ease-in-out infinite alternate;
}
.cs-note {
  max-width: 580px;
  margin: 0;
  color: var(--cs-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cs-journey-card {
  position: relative;
  align-self: end;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(18px) saturate(115%);
  overflow: hidden;
}
.cs-journey-card::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,180,122,.28), transparent 68%);
  pointer-events: none;
}
.cs-card-top,
.cs-coordinates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.62);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}
.cs-route { display: flex; align-items: center; gap: .6rem; margin: 2rem 0; color: #fff; }
.cs-route-point { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.cs-route-line { flex: 1; height: 1px; background: rgba(255,255,255,.2); overflow: hidden; }
.cs-route-line i { display: block; width: 34%; height: 100%; background: #fff; animation: csRoute 3.4s ease-in-out infinite; }
.cs-route svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cs-card-copy { position: relative; z-index: 1; }
.cs-card-copy span { display: block; margin-bottom: .75rem; color: rgba(255,255,255,.62); font-size: .7rem; letter-spacing: .16em; }
.cs-card-copy strong { display: block; max-width: 330px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.02; font-weight: 400; }

.cs-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.52);
  font-size: .73rem;
  letter-spacing: .05em;
}
.cs-footer-center { text-transform: uppercase; letter-spacing: .17em; }

@keyframes csPulse { 0%,100% { opacity:.65; transform:scale(.92); } 50% { opacity:1; transform:scale(1.06); } }
@keyframes csTravel { from { transform:translateX(-10%); } to { transform:translateX(160%); } }
@keyframes csRoute { 0% { transform:translateX(-105%); } 52%,100% { transform:translateX(310%); } }

@media (max-width: 1050px) {
  .cs-main { grid-template-columns: 1fr; align-items: center; padding-top: 5rem; }
  .cs-journey-card { min-height: 300px; max-width: 650px; width: 100%; }
  .cs-hero h1 { font-size: clamp(3.6rem, 11vw, 7rem); }
}

@media (max-width: 680px) {
  .cs-page {
    min-height: 100svh;
    padding:
      max(.9rem, env(safe-area-inset-top))
      max(1rem, env(safe-area-inset-right))
      max(.9rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
  }
  .cs-header { min-height: 52px; }
  .cs-logo-wrap { width: 46px; height: 46px; border-radius: 14px; }
  .cs-brand { gap: .68rem; }
  .cs-brand-copy strong { font-size: .96rem; }
  .cs-brand-copy small { display: block; max-width: 170px; font-size: .69rem; }
  .cs-main {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1.35rem;
    padding: clamp(2.25rem, 7vh, 4rem) 0 clamp(1.35rem, 4vh, 2.25rem);
  }
  .cs-hero { max-width: 100%; }
  .cs-status { margin-bottom: 1.15rem; padding: .48rem .72rem; font-size: .66rem; }
  .cs-kicker { margin-bottom: .7rem; font-size: .69rem; letter-spacing: .18em; }
  .cs-hero h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 14.4vw, 4.7rem);
    line-height: .91;
    letter-spacing: -.055em;
  }
  .cs-lead {
    max-width: 34rem;
    margin-top: 1.25rem;
    font-size: clamp(.98rem, 4.15vw, 1.08rem);
    line-height: 1.52;
  }
  .cs-divider { width: 76%; margin: 1.25rem 0 .85rem; }
  .cs-note { max-width: 32rem; font-size: .84rem; line-height: 1.5; }
  .cs-journey-card {
    width: 100%;
    min-height: 190px;
    padding: 1rem;
    border-radius: 22px;
  }
  .cs-route { margin: 1rem 0 .75rem; }
  .cs-card-copy span { margin-bottom: .45rem; font-size: .62rem; }
  .cs-card-copy strong { max-width: 100%; font-size: clamp(1.45rem, 7.4vw, 2rem); }
  .cs-coordinates { font-size: .6rem; }
  .cs-footer { align-items: flex-start; flex-direction: column; gap: .28rem; padding-top: .7rem; font-size: .66rem; }
  .cs-footer-center { display: none; }
  .cs-backdrop-image { background-position: 58% center; }
  .cs-backdrop-vignette {
    background:
      linear-gradient(180deg, rgba(4,10,20,.36) 0%, rgba(4,10,20,.58) 38%, rgba(4,10,20,.94) 100%),
      linear-gradient(90deg, rgba(4,10,20,.72), rgba(4,10,20,.16));
  }
}

@media (max-width: 420px) {
  .cs-brand-copy small { max-width: 145px; font-size: .65rem; }
  .cs-main { padding-top: clamp(1.75rem, 5.5vh, 2.75rem); }
  .cs-hero h1 { font-size: clamp(2.65rem, 13.8vw, 3.7rem); }
  .cs-status { margin-bottom: 1rem; }
  .cs-note { font-size: .8rem; }
  .cs-journey-card { min-height: 176px; }
  .cs-card-top { font-size: .6rem; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .cs-main { padding: 1.35rem 0 1rem; gap: .9rem; }
  .cs-status { margin-bottom: .8rem; }
  .cs-lead { margin-top: .9rem; }
  .cs-divider { margin: .9rem 0 .7rem; }
  .cs-journey-card { min-height: 150px; }
  .cs-route { margin: .7rem 0 .55rem; }
  .cs-coordinates { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cs-backdrop-image { transform: none !important; }
}
