/* =========================================================
   Cross & Compass Travel
   Brand: purple #402364, teal #0d7983 (sampled from logo)
   ========================================================= */

:root {
  --purple: #402364;
  --purple-deep: #24123a;
  --purple-night: #170b2b;
  --teal: #0d7983;
  --teal-light: #5cc0c4;
  --cream: #fbf8f3;
  --sand: #f3ece2;
  --white: #ffffff;
  --ink: #241a33;
  --muted: #5f566f;
  --line: rgba(64, 35, 100, 0.14);

  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li, label, strong { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Shared type ---------- */
.eyebrow {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
}
.eyebrow--light { color: var(--teal-light); }

.section { padding: clamp(80px, 11vw, 136px) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section h2,
.why h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.12;
  color: var(--purple);
}
.section__lede { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--purple); box-shadow: 0 10px 30px rgba(10, 4, 20, 0.25); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: rgba(251, 248, 243, 0.45); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(251, 248, 243, 0.08); }
.btn--primary { background: var(--purple); color: var(--cream); }
.btn--primary:hover { background: var(--teal); }
.btn--small { padding: 11px 20px; font-size: 0.88rem; }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* =========================================================
   Intro loader: compass spins in, wordmark resolves
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
/* Cream backdrop gets a growing hole (set in JS) during the dive */
.loader__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 45%, #ffffff 0%, var(--cream) 70%),
    var(--cream);
}
.loader__stage {
  position: relative;
  /* width drives height via aspect-ratio, so the logo image and the drawn
     compass underneath always share the exact same box (no stretching) */
  width: min(78vw, calc(64vh * 1509 / 1833), 461px);
  height: auto;
  aspect-ratio: 1509 / 1833;
  /* rotate/scale around the ring's center */
  transform-origin: 51.127% 42.335%;
  transition: transform 1s var(--ease-out);
}
.loader.is-diving .loader__stage { transition: none; will-change: transform, opacity; }
.loader.is-diving .loader__logo { opacity: 0; transition-duration: 0.25s; }
.loader.is-diving .loader__skip { opacity: 0; pointer-events: none; }
/* The full logo spins in; the stage itself is left free for the JS dive */
.loader__spin {
  position: absolute;
  inset: 0;
  transform-origin: 51.127% 42.335%;
  animation: lcSpin 1.2s cubic-bezier(0.25, 0.75, 0.3, 1) both;
}
.loader__compass,
.loader__logo { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__logo { object-fit: contain; transition: opacity 0.45s ease; }
.lc-ring { fill: none; }
.lc-ring--outer { stroke: var(--purple); stroke-width: 30; }
.lc-ring--inner { stroke: var(--teal); stroke-width: 15; }
.loader .p { fill: var(--purple); }
.loader .t { fill: var(--teal); }

@keyframes lcSpin {
  0%   { transform: rotate(-600deg) scale(0.5); opacity: 0; }
  12%  { opacity: 1; }
  70%  { transform: rotate(16deg) scale(1.02); }
  84%  { transform: rotate(-6deg) scale(1); }
  93%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader.is-done .loader__stage { transform: scale(1.12) translateY(-12px); }

.loader__skip {
  position: absolute;
  bottom: 28px;
  left: 50%;
  translate: -50% 0;
  padding: 8px 14px;
  border: 0;
  background: none;
  font: 600 0.85rem var(--font-body);
  color: var(--muted);
  cursor: pointer;
  opacity: 0.6;
}
.loader__skip:hover { opacity: 1; }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  color: var(--cream);
  --c1: var(--cream);
  --c2: var(--teal-light);
  transition: background-color 0.35s, color 0.35s, padding 0.35s, box-shadow 0.35s;
}
.nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(251, 248, 243, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--purple);
  box-shadow: 0 1px 0 var(--line);
  --c1: var(--purple);
  --c2: var(--teal);
}
.nav__brand { position: relative; display: block; flex-shrink: 0; text-decoration: none; }
.nav__logo {
  display: block;
  height: 124px;
  width: auto;
  transition: height 0.35s var(--ease-out), opacity 0.35s;
}
.nav__logo--color { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.nav.is-scrolled .nav__logo { height: 74px; }
.nav.is-scrolled .nav__logo--light { opacity: 0; }
.nav.is-scrolled .nav__logo--color { opacity: 1; }
.footer__brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}
.footer__brand em { font-style: normal; color: var(--c2); }
.footer__brand small {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c2);
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav__links a:not(.btn) {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.88;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn--small { background: var(--cream); color: var(--purple); }
.nav.is-scrolled .btn--small { background: var(--purple); color: var(--cream); }
.nav.is-scrolled .btn--small:hover { background: var(--teal); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), top 0.3s;
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--cream);
  background: linear-gradient(180deg, var(--purple-night) 0%, #2b1550 40%, #47286c 78%, #34557a 100%);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.hero__stars { position: absolute; inset: 0 0 35% 0; }
.star {
  position: absolute;
  width: var(--s, 2px);
  height: var(--s, 2px);
  border-radius: 50%;
  background: #fff;
  opacity: 0.2;
  animation: twinkle var(--t, 4s) var(--dl, 0s) ease-in-out infinite;
}
@keyframes twinkle { 50% { opacity: var(--o, 0.9); } }
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 140vw;
  height: 26vh;
  translate: -50% 0;
  background: radial-gradient(50% 60% at 50% 100%, rgba(255, 226, 196, 0.38) 0%, rgba(92, 192, 196, 0.18) 45%, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 150px var(--gutter) 104px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.hero__title {
  font-family: var(--font-display);
  max-width: 24ch;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.08;
}
.hero__lede { margin-top: 26px; max-width: 36rem; font-size: 1.12rem; color: rgba(251, 248, 243, 0.84); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Interactive compass */
.hero__compass { display: grid; justify-items: center; gap: 22px; }
.hc {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
  color: rgba(251, 248, 243, 0.75);
}
.hc__rose {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
}
.hc__marker { fill: var(--teal-light); }
/* Logo stays upright; its ring is centered on the dial (ring center sits 42.3% down the logo) */
.hc__logo {
  position: absolute;
  left: 50%;
  top: 11.9%;
  height: 90%;
  width: auto;
  max-width: none;
  translate: -51.1% 0;
  filter: drop-shadow(0 10px 26px rgba(8, 2, 20, 0.45));
  pointer-events: none;
}
.hc__readout {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
}
.hc__readout #bearing { font-variant-numeric: tabular-nums; }
.hc__hint { font-size: 0.85rem; font-weight: 400; color: rgba(251, 248, 243, 0.6); }

/* Sea + ship */
.hero__sea { position: absolute; inset: auto 0 0 0; height: 92px; z-index: 1; pointer-events: none; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; animation: drift linear infinite; }
.wave--3 { height: 74px; fill: #1d6d79; opacity: 0.75; animation-duration: 38s; }
.wave--2 { height: 54px; fill: #125966; animation-duration: 26s; animation-direction: reverse; }
.wave--1 { height: 34px; fill: var(--cream); animation-duration: 20s; }
@keyframes drift { to { transform: translateX(-50%); } }

.ship {
  position: absolute;
  bottom: 36px;
  left: 0;
  width: clamp(84px, 9vw, 120px);
  animation: sail 30s ease-in-out infinite, bob 5s ease-in-out infinite;
}
.ship__hull { fill: #160a29; }
.ship__deck { fill: #1f1036; }
.ship__funnel { fill: var(--teal); }
.ship__lights path { fill: none; stroke: #ffe6ad; stroke-width: 3; stroke-dasharray: 3 6; opacity: 0.9; }
@keyframes sail {
  0%   { transform: translateX(4vw) scaleX(1); }
  47%  { transform: translateX(calc(94vw - 100%)) scaleX(1); }
  50%  { transform: translateX(calc(94vw - 100%)) scaleX(-1); }
  97%  { transform: translateX(4vw) scaleX(-1); }
  100% { transform: translateX(4vw) scaleX(1); }
}
@keyframes bob { 50% { translate: 0 3px; rotate: 0.6deg; } }


/* Landing: the hero settles back as you come through the compass */
body.is-diving .hero__sky { animation: heroLand 1.3s var(--ease-out) both; }
body.is-diving .hc { animation: hcLand 1.2s 0.2s var(--ease-out) both; }
@keyframes heroLand { from { transform: scale(1.35); } to { transform: none; } }
@keyframes hcLand {
  from { transform: rotate(-200deg) scale(1.6); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* Hero entrance after loader */
.h-in { opacity: 0; transform: translateY(26px); }
body.is-loaded .h-in {
  animation: heroIn 0.8s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 80ms);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =========================================================
   Cruises
   ========================================================= */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.dest {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.dest:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(64, 35, 100, 0.4); }
.dest__art {
  aspect-ratio: 200 / 110;
  background: linear-gradient(165deg, var(--a), var(--b));
  overflow: hidden;
}
.dest__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.dest:hover .dest__art img { transform: scale(1.05); }
.dest__body { padding: 22px 24px 26px; }
.dest__body h3 { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--purple); }
.dest__body p { margin-top: 8px; color: var(--muted); }

.who { padding-top: 0; padding-bottom: clamp(64px, 8vw, 96px); }
.styles {
  padding: clamp(28px, 4.5vw, 52px);
  background: var(--sand);
  border-radius: 24px;
}
.section .styles__title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.1rem); color: var(--purple); margin-bottom: 28px; }
.styles__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px 36px; }
.styles__list li { padding-left: 18px; border-left: 2px solid var(--teal); }
.styles__list strong { display: block; color: var(--purple); font-weight: 700; }
.styles__list span { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   Trips (land travel)
   ========================================================= */
/* full-width breaker band between "Who I Plan Trips For" and "How Booking Works" */
.tripsbar-section {
  padding: clamp(28px, 3.5vw, 40px) 0;
  background: linear-gradient(90deg, var(--purple-deep) 0%, var(--purple) 55%, #2f5f7a 100%);
  color: var(--cream);
}
.tripsbar {
  display: grid;
  gap: 18px;
}
.tripsbar__intro h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.15; }
/* grid so the circles line up in columns when the row wraps */
.tripsbar__list { display: grid; grid-template-columns: repeat(4, max-content); gap: 16px 40px; }
.tripsbar__list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.tripsbar__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
}
.tripsbar__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Why
   ========================================================= */
.why {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 136px) 0;
  background: radial-gradient(80% 120% at 0% 0%, #4a2a72 0%, var(--purple-deep) 60%);
  color: var(--cream);
}
.why h2 { color: var(--cream); }
.why__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 140%;
  width: auto;
  aspect-ratio: 1330 / 1680;
  /* center the ring itself (it sits 50.5% across, 41.4% down the drawing) */
  translate: -50.5% -41.4%;
  --c1: var(--cream);
  --c2: var(--cream);
  opacity: 0.05;
  pointer-events: none;
}
.why__head { position: relative; max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.why__lede { margin-top: 14px; font-size: 1.15rem; color: rgba(251, 248, 243, 0.78); }
.why__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card {
  padding: 28px 24px;
  background: rgba(251, 248, 243, 0.06);
  border: 1px solid rgba(251, 248, 243, 0.14);
  border-radius: var(--radius);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
.why__card:hover { background: rgba(251, 248, 243, 0.1); transform: translateY(-4px); }
.why__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--teal); color: var(--cream); }
.why__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why__card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.why__card p { margin-top: 8px; font-size: 0.97rem; color: rgba(251, 248, 243, 0.74); }

/* =========================================================
   How it works
   ========================================================= */
.how__head { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
/* Big compass: the four steps are its four points */
.how__compass {
  flex-shrink: 0;
  width: clamp(118px, 15vw, 190px);
  height: auto;
  overflow: visible;
  --c1: var(--purple);
  --c2: var(--teal);
}
.how__needle {
  transform-box: view-box;
  transform-origin: 771.5px 776px;
  animation: howSway 6s ease-in-out infinite;
}
@keyframes howSway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.how__l {
  font-family: var(--font-display);
  font-size: 230px;
  fill: var(--purple);
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.25s, transform 0.35s var(--ease-out);
}
/* hovering a step lights up its point on the compass */
.how:has(.how__step:nth-child(1):hover) .how__l--n,
.how:has(.how__step:nth-child(2):hover) .how__l--e,
.how:has(.how__step:nth-child(3):hover) .how__l--s,
.how:has(.how__step:nth-child(4):hover) .how__l--w { fill: var(--teal); transform: scale(1.25); }
.how__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.how__grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 64px;
  right: calc((100% - 96px) / 4);
  border-top: 1.5px dashed rgba(13, 121, 131, 0.4);
}
.how__step { position: relative; }
.how__pt {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--teal);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--purple);
  transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease-out);
}
.how__step:hover .how__pt { background: var(--purple); color: var(--cream); transform: rotate(-12deg); }
.how__step h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--purple); line-height: 1.15; }
.how__step p { margin-top: 8px; color: var(--muted); }

/* =========================================================
   Client forms
   ========================================================= */
.how { background: var(--sand); }
.forms { background: var(--cream); }
.forms__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.fcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
a.fcard:hover { transform: translateY(-4px); border-color: rgba(13, 121, 131, 0.45); box-shadow: 0 20px 40px -24px rgba(13, 121, 131, 0.55); }
.fcard__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: rgba(13, 121, 131, 0.1);
  color: var(--teal);
}
.fcard__icon svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 1.05rem; font-weight: 700; color: var(--purple); }
.fcard p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.fcard__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.88rem; font-weight: 700; color: var(--teal); }
.fcard__cta svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease-out); }
a.fcard:hover .fcard__cta svg { transform: translate(2px, -2px); }
.fcard.is-pending { opacity: 0.72; }
.fcard.is-pending .fcard__cta { color: var(--muted); font-weight: 600; }

/* =========================================================
   Contact
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__intro { position: sticky; top: 110px; }
.contact__direct { display: grid; gap: 10px; margin-top: 28px; }
.contact__direct:empty { display: none; }
.contact__direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--purple); text-decoration: none; }
.contact__direct a:hover { color: var(--teal); }
.contact__direct svg { width: 18px; height: 18px; color: var(--teal); }
.contact__logo { width: clamp(140px, 16vw, 200px); height: auto; margin-top: 40px; }

.cform {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3.6vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 60px -40px rgba(64, 35, 100, 0.45);
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span,
.field legend { font-size: 0.82rem; font-weight: 700; color: var(--purple); letter-spacing: 0.01em; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: 500 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: #fdfcfa;
  border: 1px solid #ddd4e6;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23402364' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder { color: #a39cae; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(13, 121, 131, 0.14); }
.field .is-invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.1); }

.field--chips { border: 0; margin: 0; padding: 0; }
.field--chips legend { padding: 0; margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #ddd4e6;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chips label:hover span { border-color: var(--purple); }
.chips input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--cream); }
.chips input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__submit { justify-self: start; margin-top: 4px; padding: 16px 30px; }
.cform__submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.cform__status { min-height: 1.4em; font-size: 0.93rem; font-weight: 600; }
.cform__status.is-error { color: #b3261e; }
.cform__status.is-ok { color: var(--teal); }

.cform-done { display: grid; justify-items: start; gap: 14px; padding: 12px 0; }
.cform-done svg { width: 64px; height: 80px; --c1: var(--purple); --c2: var(--teal); animation: doneSpin 1.4s var(--ease-out) both; }
.cform-done h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--purple); }
.cform-done p { color: var(--muted); }
@keyframes doneSpin { from { transform: rotate(-360deg) scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 56px 0 26px;
  background: var(--purple-deep);
  color: var(--cream);
  --c1: var(--cream);
  --c2: var(--teal-light);
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__mark { width: 30px; height: 38px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer__links a { font-size: 0.92rem; font-weight: 600; text-decoration: none; opacity: 0.75; }
.footer__links a:hover { opacity: 1; }
.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 248, 243, 0.12);
  font-size: 0.82rem;
  color: rgba(251, 248, 243, 0.55);
}
.footer__base p a { margin-left: 14px; color: inherit; text-decoration: none; }
.footer__base p a:hover { color: var(--cream); text-decoration: underline; }
/* Intentionally low-key: Amanda's booking portal */
.footer__portal { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--cream); text-decoration: none; opacity: 0.5; transition: opacity 0.3s; }
.footer__portal svg { width: 14px; height: 18px; --c1: var(--cream); --c2: var(--teal-light); transition: transform 0.6s var(--ease-out); }
.footer__portal:hover,
.footer__portal:focus-visible { opacity: 1; }
.footer__portal:hover svg { transform: rotate(90deg); }

/* =========================================================
   Policy pages (privacy.html, terms.html, 404.html)
   ========================================================= */
body.legal-page { display: flex; flex-direction: column; min-height: 100vh; }
.legal-page main { flex: 1; width: 100%; }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.legal-header__logo { height: 72px; width: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 96px); }
.legal h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; color: var(--purple); }
.legal h2 { margin-top: 40px; font-family: var(--font-display); font-size: 1.4rem; color: var(--purple); }
.legal p, .legal li { margin-top: 12px; color: var(--ink); }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li::marker { color: var(--teal); }
.legal a { color: var(--teal); font-weight: 600; }
.legal__updated { color: var(--muted) !important; font-size: 0.95rem; }
.legal--center { text-align: center; padding-top: clamp(56px, 9vw, 104px); }
.legal__mark { width: 72px; height: auto; margin: 0 auto 20px; animation: offCourse 3s ease-in-out infinite; }
@keyframes offCourse { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.legal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px !important; }
.legal .btn { font-weight: 600; text-decoration: none; }
.legal .btn--primary { color: var(--cream); }
.btn--outline { border-color: var(--purple); color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: var(--cream); }
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px var(--gutter);
  background: var(--purple-deep);
  color: rgba(251, 248, 243, 0.6);
  font-size: 0.9rem;
}
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-footer a { color: inherit; text-decoration: none; }
.legal-footer a:hover, .legal-footer a[aria-current="page"] { color: var(--cream); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 140px; padding-bottom: 104px; text-align: left; }
  .hero__compass { order: -1; justify-self: center; }
  .hc { width: min(250px, 62vw); }
  .hc__hint { display: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .tripsbar__list { grid-template-columns: repeat(2, max-content); }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .contact__intro { position: static; }
  .contact__logo { display: none; }
  .how__grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .how__grid::before { display: none; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: var(--cream);
    color: var(--purple);
    border-radius: 18px;
    box-shadow: 0 24px 50px -20px rgba(23, 11, 43, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s;
  }
  .nav__links a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn--small { margin-top: 6px; padding: 14px; background: var(--purple); color: var(--cream); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 600px) {
  .nav__logo { height: 92px; }
  .tripsbar__list { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .tripsbar__list li { gap: 10px; font-size: 0.95rem; }
  .tripsbar__icon { width: 34px; height: 34px; }
  .tripsbar__icon svg { width: 16px; height: 16px; }
  .nav.is-scrolled .nav__logo { height: 60px; }
  .hero__inner { padding-top: 120px; gap: 20px; }
  .hc { width: min(200px, 54vw); }
  .hc__readout { display: none; }
  .cform__row,
  .why__grid,
  .how__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .cform__submit { justify-self: stretch; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
