:root {
  --ink: #192131;
  --muted: #545c6b;
  --sea: #376885;
  --clay: #255499;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.65);
  --shadow: 0 18px 50px rgba(20, 32, 56, 0.18);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --glass: rgba(255, 255, 255, 0.78); }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body {
  font: 16px/1.65 var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, #eae7d9 0%, #f2f1ec 55%, #faf9f7 100%);
  overflow-x: hidden;
}

/* 3D scene, with a gradient behind it until the first frame (and when WebGL is missing) */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.scene-ready #scene { opacity: 1; }
.scene-fallback {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 60% at 50% 100%, #498ab1 0%, transparent 60%),
    linear-gradient(180deg, #96c1ef 0%, #e5e0cd 60%, #e8e4d6 100%);
}
.no-webgl #scene { display: none; }

/* Header */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 500 1.1rem/1 var(--serif); }
.brand svg { width: 30px; height: 30px; }
.brand .w { fill: none; stroke: #4a90d9; stroke-width: 4; stroke-linecap: round; }
.brand .m { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.brand em { color: var(--clay); }
nav { display: flex; gap: clamp(10px, 2.4vw, 28px); align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
nav a:hover { color: var(--sea); }
nav .pill { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
nav .pill:hover { background: var(--sea); color: #fff; }
a:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 640px) { .top nav > a:not(.pill) { display: none; } }

/* Altimeter */
.altimeter {
  position: fixed; right: clamp(12px, 2.5vw, 32px); top: 50%; transform: translateY(-50%); z-index: 5;
  display: grid; justify-items: center; gap: 6px; padding: 12px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-line); font-variant-numeric: tabular-nums; color: var(--ink);
}
.altimeter .lbl { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.altimeter .track { width: 3px; height: 120px; border-radius: 3px; background: rgba(25, 33, 49, 0.15); overflow: hidden; display: flex; align-items: flex-end; }
#alt-bar { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, #ffffff, var(--sea)); transform-origin: bottom; transform: scaleY(0); }
.altimeter .val { font: 600 0.95rem/1 var(--sans); }
.altimeter .sub { font-size: 0.7rem; color: var(--muted); }
@media (max-width: 640px) {
  .altimeter { top: auto; bottom: 14px; transform: none; grid-auto-flow: column; align-items: center; padding: 8px 12px; }
  .altimeter .lbl { writing-mode: horizontal-tb; transform: none; }
  .altimeter .track { display: none; }
}

/* Content over the scene */
main { position: relative; z-index: 2; }
.hero {
  min-height: 100svh; display: grid; align-content: center; justify-items: center; text-align: center;
  padding: 120px 16px 80px; position: relative;
}
/* A soft light behind the title only, kept above the shoreline so it doesn't wash out the sea. */
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(980px, 110vw); height: min(260px, 34vh);
  transform: translate(-50%, -70%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14) 60%, rgba(255, 255, 255, 0));
}
.eyebrow { margin: 0 0 10px; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea); font-weight: 600; }
.hero h1 {
  margin: 0; font: 300 clamp(3.4rem, 13vw, 9.5rem)/0.95 var(--serif); letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(253, 253, 251, 0.6);
}
.hero h1 em { color: var(--clay); font-weight: 300; }
.lede { max-width: 34rem; margin: 22px auto 0; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink); text-shadow: 0 1px 18px rgba(253, 253, 251, 0.9); }
/* The lede and scroll cue sit over the water: a glass panel and light text keep them readable there. */
.hero .lede {
  padding: 12px 22px; border-radius: 18px; text-shadow: none;
  background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.scroll-cue { margin-top: 48px; display: grid; justify-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--ink), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
.hero .scroll-cue { color: #fff; text-shadow: 0 1px 8px rgba(14, 27, 54, 0.45); }
.hero .scroll-cue i { background: linear-gradient(#fff, transparent); }
@media (prefers-reduced-motion: reduce) { .scroll-cue i { animation: none; } }

.band { min-height: 115vh; display: flex; align-items: center; padding: 10vh clamp(16px, 6vw, 96px); }
.band--right { justify-content: flex-end; }
.band--center { justify-content: center; }
.card {
  width: min(560px, 100%); padding: clamp(22px, 3.5vw, 40px); border-radius: 22px;
  background: var(--glass); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow);
}
.card--slim { width: min(460px, 100%); }
.card--cta { text-align: center; }
.card h2 { margin: 0 0 12px; font: 400 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--serif); letter-spacing: -0.01em; }
.card p { margin: 0 0 14px; color: var(--muted); }
.dest { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid rgba(25, 33, 49, 0.12); }
.dest li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(25, 33, 49, 0.12); }
.dest b { font: 500 1.08rem/1.3 var(--serif); }
.dest span { font-size: 0.9rem; color: var(--muted); }
.dest a { color: inherit; text-decoration: underline; text-decoration-color: rgba(25, 33, 49, 0.25); text-underline-offset: 3px; }
.dest a.go { text-decoration: none; }
.dest a.go b { text-decoration: underline; text-decoration-color: rgba(25, 33, 49, 0.25); text-underline-offset: 3px; }
.dest a:hover, .dest a.go:hover b { color: var(--sea); text-decoration-color: currentColor; }
.steps { margin: 6px 0 16px; padding-left: 1.2em; display: grid; gap: 10px; color: var(--muted); }
.steps b { color: var(--ink); font-weight: 600; }
.small { font-size: 0.85rem; }
.soon {
  display: inline-block; margin-top: 8px !important; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 500; letter-spacing: 0.04em;
}

.foot { position: relative; z-index: 2; text-align: center; padding: 26px 16px 90px; font-size: 0.85rem; color: var(--ink); }
.foot p { margin: 4px 0; text-shadow: 0 1px 12px rgba(255, 255, 255, 0.8); }

/* Trip-request form */
.card--form { width: min(620px, 100%); }
[hidden] { display: none !important; }
.trip-form { display: grid; gap: 14px; text-align: left; margin-top: 8px; }
.trip-form .form-intro { text-align: center; }
.trip-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .trip-form .row { grid-template-columns: 1fr; } }
.trip-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 0.88rem; font-weight: 500; color: var(--ink); }
.trip-form label > input:not([type="radio"]):not([type="checkbox"]), .trip-form label > textarea, .trip-form label > select { flex: 1 1 100%; }
.trip-form .opt { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.trip-form input:not([type="radio"]):not([type="checkbox"]), .trip-form textarea, .trip-form select {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 10px 12px; border-radius: 12px;
  border: 1px solid rgba(25, 33, 49, 0.2); background: rgba(255, 255, 255, 0.85);
}
.trip-form textarea { resize: vertical; }
.trip-form input:focus-visible, .trip-form textarea:focus-visible, .trip-form select:focus-visible, .trip-form button:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.trip-form [aria-invalid="true"] { border-color: var(--clay) !important; }
.trip-form fieldset { border: 0; margin: 0; padding: 0; }
.trip-form legend { font-size: 0.88rem; font-weight: 500; margin-bottom: 6px; padding: 0; }
.trip-form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-form .chips label { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(25, 33, 49, 0.2); background: rgba(255, 255, 255, 0.7); cursor: pointer; font-weight: 400; }
.trip-form .chips label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.trip-form fieldset[aria-invalid="true"] .chips label { border-color: var(--clay); }
.trip-form .consent { flex-wrap: nowrap; align-items: flex-start; gap: 8px; font-weight: 400; color: var(--muted); }
.trip-form .consent input { margin-top: 4px; }
.trip-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trip-form button {
  justify-self: center; margin-top: 4px; padding: 12px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font: 500 1rem/1 var(--sans); letter-spacing: 0.02em;
}
.trip-form button:hover { background: var(--sea); }
.trip-form button[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin: 0 !important; min-height: 1.4em; text-align: center; font-size: 0.9rem; color: var(--clay) !important; }
.thanks h3 { margin: 6px 0 8px; font: 400 1.5rem/1.2 var(--serif); }

/* Only the new policy footer links and trip-form privacy helper. */
footer.foot nav.foot-links a:is([href="/editorial-policy/"], [href="/privacy/"]),
footer.foot nav.foot-links a:is([href="/editorial-policy/"], [href="/privacy/"]):visited {
  color: #efefec;
}
footer.foot nav.foot-links a:is([href="/editorial-policy/"], [href="/privacy/"]):hover,
footer.foot nav.foot-links a:is([href="/editorial-policy/"], [href="/privacy/"]):focus-visible {
  color: #fdfcfa;
  text-decoration: underline;
  text-underline-offset: 4px;
}
footer.foot nav.foot-links a:is([href="/editorial-policy/"], [href="/privacy/"]):focus-visible {
  outline: 2px solid #b5d3f3;
  outline-offset: 5px;
}
#trip-form a[href="/privacy/"],
#trip-form a[href="/privacy/"]:visited {
  color: #356380;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#trip-form a[href="/privacy/"]:hover,
#trip-form a[href="/privacy/"]:focus-visible {
  color: #142549;
}
#trip-form a[href="/privacy/"]:focus-visible {
  outline: 2px solid #356380;
  outline-offset: 3px;
}
