/* ==========================================================================
   CHALLENGE — Caribbean sailing
   ========================================================================== */

:root {
  --ink: #071c27;
  --deep: #0a2c3b;
  --sea: #0f4a5e;
  --teal: #2f8f97;
  --aqua: #8fd3d6;
  --foam: #f7f3ec;
  --paper: #f3ede2;
  --sand: #e8dcc6;
  --gold: #d9b878;
  --text: #10262f;
  --muted: #5d7276;
  --line-dark: rgba(16, 38, 47, .14);
  --line-light: rgba(255, 255, 255, .16);

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --radius: 22px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--f-body);
  color: var(--text);
  background: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }
.ico { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--inline { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; color: var(--aqua); stroke-width: 2; }

.container { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
.h2 {
  font: 600 clamp(34px, 5vw, 72px)/1.04 var(--f-display);
  letter-spacing: -.02em;
  color: #fff;
}
.h2--dark { color: var(--ink); }
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12px/1.2 var(--f-body);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--dark { color: var(--teal); }
em { font-style: normal; }

.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head--split > div { max-width: 760px; }
.section-head__note { margin-top: 24px; max-width: 520px; color: var(--muted); font-size: 16px; }
.section-head__note--light { color: rgba(255, 255, 255, .7); margin-top: 0; max-width: 380px; }

/* ---------- buttons ---------- */
.btn {
  --bg: #fff; --fg: var(--ink); --fill: var(--aqua);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 30px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--aqua); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.btn--dark { --bg: var(--ink); --fg: #fff; --fill: var(--sea); }
.btn--glass {
  --bg: rgba(255, 255, 255, .1); --fg: #fff; --fill: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--line { --bg: transparent; --fg: #fff; --fill: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn--line:hover { color: var(--ink); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { animation: spin 1s linear infinite; }

.round {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid currentColor;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { transform: scale(1.06); }
[data-gal="-1"] svg, .lightbox__nav--prev svg { transform: scaleX(-1); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--aqua); }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: clip-path 1.1s var(--ease-in-out), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
  animation: preHide 0s 5s forwards; /* safety net if scripts fail */
}
body:not(.is-loading) .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__mark { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.preloader__mark path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s var(--ease) forwards; }
.preloader__mark path:nth-child(2) { animation-delay: .15s; }
.preloader__mark path:nth-child(3) { animation-delay: .3s; }
.preloader__mark path:nth-child(4) { animation-delay: .45s; }
.preloader__word { font: 600 13px/1 var(--f-body); letter-spacing: .6em; padding-left: .6em; opacity: 0; animation: fadeUp 1s .4s var(--ease) forwards; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  color: #fff;
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s, box-shadow .4s;
}
.header__inner {
  height: var(--header-h);
  max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 32px;
}
.header.is-solid {
  background: rgba(7, 28, 39, .86);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.logo__text { display: grid; line-height: 1; }
.logo__text b { font: 700 15px/1 var(--f-body); letter-spacing: .14em; }
.logo__text i { font: italic 500 15px/1.1 var(--f-serif); opacity: .75; margin-top: 3px; letter-spacing: .02em; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-size: 14px; font-weight: 500; opacity: .85; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { opacity: 1; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 35;
  background: radial-gradient(120% 80% at 80% 0%, var(--sea) 0%, var(--ink) 60%);
  color: #fff;
  padding: calc(var(--header-h) + 30px) var(--pad) 40px;
  display: flex; flex-direction: column;
  clip-path: circle(0% at calc(100% - 46px) 38px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
.menu__nav { display: grid; gap: 6px; margin-bottom: auto; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  font: 500 clamp(32px, 9vw, 48px)/1.2 var(--f-display);
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu__nav small { font: 500 12px var(--f-body); color: var(--aqua); letter-spacing: .1em; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu__cta { margin-top: 32px; opacity: 0; transition: opacity .6s .5s; }
.menu.is-open .menu__cta { opacity: 1; }
.menu__note { margin-top: 18px; font: italic 500 18px var(--f-serif); opacity: .65; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 0;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 58% 50%; transform: scale(1.06); animation: kenburns 22s var(--ease) forwards; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 28, 39, .75) 0%, rgba(7, 28, 39, .15) 32%, rgba(7, 28, 39, .05) 55%, rgba(7, 28, 39, .85) 92%, var(--ink) 100%),
    linear-gradient(90deg, rgba(7, 28, 39, .55) 0%, rgba(7, 28, 39, 0) 60%);
}
.hero__glints { position: absolute; inset: 40% 0 0; z-index: -1; pointer-events: none; }
.hero__glints span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px rgba(255, 255, 255, .7);
  opacity: 0; animation: twinkle 4s ease-in-out infinite;
}
.hero__content { position: relative; }
.hero__eyebrow { font-size: 13px; letter-spacing: .08em; opacity: .9; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: .1em; }
.hero__title {
  font: 700 clamp(46px, 10.4vw, 150px)/.95 var(--f-display);
  letter-spacing: -.03em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title em {
  font: italic 500 1.08em/1 var(--f-serif); text-transform: none; letter-spacing: 0;
  color: var(--aqua);
}
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .88); margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__bottom {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(50px, 9vh, 110px); margin-bottom: 120px;
  border-top: 1px solid var(--line-light);
}
.hero__fact { padding: 22px 20px 0 0; display: grid; gap: 4px; }
.hero__fact + .hero__fact { padding-left: 22px; border-left: 1px solid var(--line-light); }
.hero__fact b { font: 600 clamp(20px, 2.1vw, 30px)/1.1 var(--f-display); }
.hero__fact span { font-size: 13px; color: rgba(255, 255, 255, .7); }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: 130px; z-index: 3;
  width: 28px; height: 46px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .55);
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollDot 2s var(--ease) infinite; }

/* intro choreography */
.js [data-hero] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js .hero__title [data-hero] { opacity: 1; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.js.is-ready [data-hero] { opacity: 1; transform: none; }
.is-ready [data-hero="1"] { transition-delay: .15s; }
.is-ready [data-hero="2"] { transition-delay: .25s; }
.is-ready [data-hero="3"] { transition-delay: .38s; }
.is-ready [data-hero="4"] { transition-delay: .6s; }
.is-ready [data-hero="5"] { transition-delay: .75s; }
.is-ready [data-hero="6"] { transition-delay: .95s; }

/* waves */
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(70px, 10vw, 150px); z-index: 1; pointer-events: none; }
.waves path { will-change: transform; }
.waves__a { fill: rgba(15, 74, 94, .45); animation: wave 18s linear infinite; }
.waves__b { fill: rgba(10, 44, 59, .75); animation: wave 12s linear infinite reverse; }
.waves__c { fill: var(--ink); animation: wave 9s linear infinite; }

/* ---------- about ---------- */
.about {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(90px, 12vw, 170px) 0 clamp(90px, 12vw, 160px);
  background: linear-gradient(180deg, var(--ink) 0%, var(--deep) 55%, #0c3a4c 100%);
  color: #fff;
}
.caustics { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.caustics i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35;
  background: radial-gradient(circle, rgba(143, 211, 214, .55), transparent 65%);
  animation: drift 26s ease-in-out infinite alternate;
}
.caustics i:nth-child(1) { width: 60vw; height: 60vw; left: -10vw; top: -20vw; }
.caustics i:nth-child(2) { width: 46vw; height: 46vw; right: -12vw; top: 30%; animation-duration: 32s; animation-delay: -8s; }
.caustics i:nth-child(3) { width: 38vw; height: 38vw; left: 30%; bottom: -20vw; animation-duration: 22s; animation-delay: -14s; opacity: .22; }
.bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bubbles span {
  position: absolute; bottom: -20px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05);
  animation: rise linear infinite;
}
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); }
.about__head .h2 { position: sticky; top: 120px; }
.about__big { font: 500 clamp(22px, 2.5vw, 36px)/1.38 var(--f-body); letter-spacing: -.01em; margin-bottom: 36px; }
.about__big .wd { opacity: .16; transition: opacity .4s; }
.about__big .wd.is-lit { opacity: 1; }
.about__small { font-size: 17px; color: rgba(255, 255, 255, .72); max-width: 560px; margin-bottom: 56px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.stat { padding: 24px 18px 0 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line-light); }
.stat b { display: block; font: 700 clamp(36px, 4.4vw, 60px)/1 var(--f-display); color: var(--aqua); margin-bottom: 10px; }
.stat span { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .68); display: block; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--paper); color: var(--ink); padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 500 clamp(20px, 2.6vw, 34px)/1 var(--f-body); text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-child(4n + 3) { font: italic 500 clamp(26px, 3.2vw, 44px)/1 var(--f-serif); text-transform: none; color: var(--teal); }
.marquee i { font-style: normal; color: var(--gold); align-self: center; }

/* ---------- route ---------- */
.route {
  position: relative;
  background:
    radial-gradient(60% 40% at 10% 10%, rgba(143, 211, 214, .25), transparent 70%),
    radial-gradient(50% 35% at 90% 60%, rgba(143, 211, 214, .18), transparent 70%),
    var(--paper);
  padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
  color: var(--text);
}
.route__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.route__map { position: sticky; top: calc(var(--header-h) + 10px); height: calc(100vh - var(--header-h) - 30px); }
.map { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; }
.map__svg { height: calc(100% - 78px); width: auto; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: #22324a; box-shadow: 0 30px 60px -30px rgba(7, 28, 39, .55); }
.map__route-ghost { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.4; stroke-dasharray: 3 7; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--gold); stroke-width: 2.8; stroke-linecap: round; }
.map__stop-dot { fill: #0b2433; stroke: #fff; stroke-width: 2; transition: fill .4s, r .4s; }
.map__stop-pulse { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map__stop.is-past .map__stop-dot { fill: var(--gold); stroke: #fff; }
.map__stop.is-on .map__stop-dot { fill: var(--gold); r: 6px; }
.map__stop.is-on .map__stop-pulse { animation: pulse 2s ease-out infinite; }
.map__label { font: 600 17px var(--f-body); fill: #fff; letter-spacing: .04em; paint-order: stroke; stroke: rgba(6, 22, 32, .7); stroke-width: 4px; stroke-linejoin: round; }
.map__label--big { font: 700 16px var(--f-body); letter-spacing: .24em; }
.map__label--port { font: italic 500 22px var(--f-display); fill: #f3e4c2; letter-spacing: 0; }
.map__sea { font: italic 400 34px var(--f-display); fill: rgba(255, 255, 255, .42); }
.map__compass circle { fill: none; stroke: rgba(255, 255, 255, .45); }
.map__compass path { fill: rgba(255, 255, 255, .2); stroke: rgba(255, 255, 255, .6); }
.map__compass .map__compass-n { fill: var(--gold); }
.map__compass text { font: 600 14px var(--f-body); fill: #fff; }
.map__compass { animation: compass 14s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.map__boat-inner { animation: bob 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
.map__boat-hull { fill: #fff; stroke: #071c27; stroke-width: 1; }
.map__boat-sail { fill: #fff; stroke: #071c27; stroke-width: 1.2; stroke-linejoin: round; }
.map__credit { margin: 6px 0 0; font-size: 10px; line-height: 1.3; color: var(--muted); text-align: center; max-width: 100%; }
.map__credit a { color: inherit; }
.map__progress {
  display: flex; align-items: center; gap: 16px;
  margin-top: 16px; padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line-dark); border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; white-space: nowrap; max-width: 100%;
}
.map__day-label { background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.map__day-label b { font-family: var(--f-body); font-weight: 600; }
.map__place { font: italic 500 19px/1 var(--f-serif); color: var(--sea); overflow: hidden; text-overflow: ellipsis; }

.days { counter-reset: d; }
.day {
  display: grid; grid-template-columns: 92px 1fr; gap: 10px;
  padding: clamp(28px, 6vh, 56px) 0;
  border-top: 1px solid var(--line-dark);
  opacity: .38; transition: opacity .6s var(--ease);
  cursor: pointer;
}
.day:last-child { border-bottom: 1px solid var(--line-dark); }
.day.is-on { opacity: 1; }
.day__num { font: 700 clamp(30px, 3.2vw, 46px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--sea); transition: color .6s; }
.day.is-on .day__num { color: var(--sea); }
.day__where { font: italic 500 19px/1.2 var(--f-serif); color: var(--teal); margin-bottom: 8px; }
.day h3 { font: 600 clamp(22px, 2vw, 30px)/1.2 var(--f-display); letter-spacing: -.01em; margin-bottom: 10px; color: var(--ink); }
.day p:last-child { color: var(--muted); max-width: 520px; }

/* ---------- experience ---------- */
.exp { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 11vw, 160px) 0; color: #fff; background: var(--deep); }
.exp__bg {
  position: absolute; inset: -15% 0; z-index: -2;
  background: url("../img/hero-drone-1400.webp") 10% 50% / cover no-repeat;
  filter: saturate(1.1);
}
.exp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 44, 59, .78), rgba(7, 28, 39, .88)); }
.exp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-exp {
  position: relative; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 20px;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .4s, background .4s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.card-exp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(143, 211, 214, .22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card-exp:hover { border-color: rgba(143, 211, 214, .45); }
.card-exp:hover::after { opacity: 1; }
.card-exp__n { position: absolute; top: 22px; right: 24px; font: 500 12px var(--f-body); opacity: .5; }
.card-exp .ico { width: 46px; height: 46px; color: var(--aqua); margin-bottom: auto; transition: transform .6s var(--ease); }
.card-exp:hover .ico { transform: translateY(-4px) rotate(-6deg); }
.card-exp h3 { font: 500 18px/1.35 var(--f-body); }

/* ---------- boat ---------- */
.boat { background: var(--foam); color: var(--text); padding: clamp(90px, 11vw, 160px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.boat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; margin-bottom: clamp(70px, 9vw, 130px); }
.boat__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.boat__photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.boat__name { font: italic 500 clamp(28px, 3vw, 42px)/1 var(--f-serif); color: var(--teal); margin: 14px 0 26px; }
.boat__text { font-size: 17px; color: var(--muted); margin-bottom: 40px; max-width: 520px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.specs li { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line-dark); }
.specs li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.specs b { display: block; font: 600 clamp(20px, 2vw, 28px)/1.1 var(--f-display); color: var(--ink); margin-bottom: 6px; }
.specs span { font-size: 14px; color: var(--muted); }

.gallery__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.gallery__title { font: italic 500 clamp(28px, 3vw, 40px)/1 var(--f-serif); color: var(--ink); }
.gallery__nav { display: flex; gap: 10px; color: var(--ink); }
.gallery__nav .round:hover { background: var(--ink); color: #fff; }
.gallery__track {
  --w: min(62vw, 760px);
  display: flex; gap: clamp(10px, 2vw, 28px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 18px calc(50vw - var(--w) / 2) 26px;
  cursor: grab; user-select: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-glide { scroll-snap-type: none; }
.gallery__track.is-drag .shot { pointer-events: none; }
.shot {
  --dim: 0;
  position: relative; flex: none; width: var(--w); aspect-ratio: 3 / 2;
  border-radius: 20px; overflow: hidden; scroll-snap-align: center; background: var(--deep);
  cursor: pointer; transform-origin: center 60%; will-change: transform;
  box-shadow: 0 30px 60px -34px rgba(7, 28, 39, .6);
}
.shot.is-current { cursor: zoom-in; }
.shot::after { content: ""; position: absolute; inset: 0; background: #071c27; opacity: var(--dim); pointer-events: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); will-change: transform; -webkit-user-drag: none; }
.shot figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gallery__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 6px; }
.gallery__cap { font: italic 500 clamp(20px, 2vw, 26px)/1.2 var(--f-serif); color: var(--ink); min-height: 1.2em; }
.gallery__count { font-size: 14px; color: var(--muted); letter-spacing: .08em; white-space: nowrap; }
.gallery__count b { font: 600 20px var(--f-display); color: var(--ink); }
.gallery__progress { margin-top: 18px; }
.gallery__progress::before { content: ""; display: block; height: 2px; background: var(--line-dark); }
.gallery__progress span { display: block; height: 2px; margin-top: -2px; background: var(--ink); width: 7%; transition: transform .25s var(--ease); }

/* ---------- dates ---------- */
.dates {
  position: relative; overflow: hidden;
  padding: clamp(90px, 11vw, 160px) 0;
  background: radial-gradient(90% 60% at 100% 0%, rgba(47, 143, 151, .35), transparent 60%), linear-gradient(180deg, var(--deep), var(--ink));
  color: #fff;
}
.dates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tour {
  position: relative; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius); min-height: 300px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .6s var(--ease), background .4s, border-color .4s, box-shadow .6s;
}
.tour:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); border-color: rgba(143, 211, 214, .4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.tour__month { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); margin-bottom: 18px; }
.tour__range { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tour__range b { font: 700 clamp(28px, 2.8vw, 40px)/1 var(--f-display); letter-spacing: -.02em; }
.tour__range i { flex: 1; height: 1px; background: rgba(255, 255, 255, .35); position: relative; transform-origin: left; transition: transform .6s var(--ease); max-width: 70px; }
.tour__range i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-top: 1px solid rgba(255, 255, 255, .6); border-right: 1px solid rgba(255, 255, 255, .6); transform: rotate(45deg); }
.tour:hover .tour__range i { transform: scaleX(1.25); }
.tour__desc { color: rgba(255, 255, 255, .7); margin-bottom: 26px; font-size: 15px; }
.tour__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.tour__foot span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.tour__badge {
  position: absolute; top: 26px; right: 26px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 12px; border-radius: 999px;
  color: var(--ink); background: linear-gradient(120deg, var(--gold), #f4e1b4, var(--gold));
  background-size: 200% 100%; animation: shimmer 4s linear infinite;
}
.tour--feature {
  background: linear-gradient(160deg, rgba(217, 184, 120, .2), rgba(255, 255, 255, .03) 60%);
  border-color: rgba(217, 184, 120, .45);
}
.tour--feature .tour__month { color: var(--gold); }
.tour--ghost { justify-content: space-between; gap: 18px; background: transparent; border-style: dashed; color: rgba(255, 255, 255, .78); }
.tour--ghost .ico { color: var(--aqua); width: 40px; height: 40px; }
.tour--ghost:hover { transform: none; box-shadow: none; }
.tour.is-past { opacity: .4; pointer-events: none; }
.tour.is-past .tour__badge { display: none; }

/* ---------- price ---------- */
.price { background: var(--paper); color: var(--text); padding: clamp(90px, 11vw, 160px) 0; }
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -40px rgba(7, 28, 39, .35);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.plan:hover { box-shadow: 0 40px 80px -40px rgba(7, 28, 39, .5); }
.plan__top { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; margin-bottom: 30px; }
.plan__top .ico { width: 30px; height: 30px; color: var(--teal); }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.plan__price b { font: 700 clamp(46px, 5vw, 72px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.plan__price span { font-size: 15px; color: var(--muted); }
.plan__price--sm b { font-size: clamp(38px, 4vw, 54px); }
.plan__week { font: italic 500 21px var(--f-serif); color: var(--teal); margin-bottom: 28px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 34px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.plan__list svg { width: 18px; height: 18px; margin-top: 3px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { margin-top: auto; }
.plan--accent { background: linear-gradient(160deg, var(--sea), var(--ink) 70%); color: #fff; border-color: transparent; }
.plan--accent .plan__price b { color: #fff; }
.plan--accent .plan__price span, .plan--accent .plan__list li { color: rgba(255, 255, 255, .8); }
.plan--accent .plan__week { color: var(--gold); }
.plan--accent .ico, .plan--accent .plan__list svg { color: var(--aqua); stroke: var(--aqua); }
.plan__flag { position: absolute; top: -13px; right: 28px; box-shadow: 0 8px 20px -8px rgba(217, 184, 120, .8); font-size: 12px; font-weight: 600; color: var(--ink); background: var(--gold); padding: 6px 12px; border-radius: 999px; }
.plan--info { background: transparent; box-shadow: none; border-style: dashed; }
.plan__text { color: var(--muted); font-size: 15px; margin-top: 18px; }
.plan__text--muted { font-size: 14px; padding: 14px 16px; background: rgba(47, 143, 151, .08); border-radius: 12px; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.note { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line-dark); }
.note .ico { color: var(--teal); width: 30px; height: 30px; }
.note p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.note b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* ---------- azores ---------- */
.azores { position: relative; overflow: hidden; isolation: isolate; padding: clamp(100px, 12vw, 180px) 0; background: radial-gradient(80% 70% at 50% 120%, #0f4a5e, var(--ink) 70%); color: #fff; }
.azores__ocean { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.azores__title { font-size: clamp(40px, 8.5vw, 128px); margin-bottom: clamp(36px, 5vw, 64px); }
.azores__row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 60px); align-items: center; }
.azores__date b { display: block; font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--f-display); color: var(--gold); }
.azores__date span { font-size: 14px; color: rgba(255, 255, 255, .65); }
.azores__text { color: rgba(255, 255, 255, .78); max-width: 560px; }
.azores__line { display: flex; align-items: center; gap: 16px; margin-top: clamp(50px, 7vw, 90px); font: italic 500 20px var(--f-serif); color: var(--aqua); }
.azores__line svg { flex: 1; height: 60px; overflow: visible; }
.azores__line path { fill: none; stroke: rgba(143, 211, 214, .7); stroke-width: 1.5; stroke-dasharray: 6 10; animation: dash 3s linear infinite; vector-effect: non-scaling-stroke; }

/* ---------- final cta ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 13vw, 190px) 0; color: #fff; }
.cta__bg { position: absolute; inset: -18% 0; z-index: -2; background: url("../img/anchorage.webp") 50% 62% / cover no-repeat; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 28, 39, .9) 0%, rgba(7, 28, 39, .55) 55%, rgba(7, 28, 39, .35) 100%), linear-gradient(0deg, var(--ink), transparent 30%); }
.cta__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.quote { margin-top: 40px; padding-left: 26px; border-left: 2px solid var(--gold); max-width: 560px; }
.quote p { font: italic 500 clamp(22px, 2.2vw, 30px)/1.3 var(--f-serif); }
.quote footer { margin-top: 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.glass {
  background: rgba(7, 28, 39, .45);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: 26px;
}
.lead { padding: clamp(26px, 3vw, 40px); display: grid; gap: 18px; }
.lead__title { font: 600 clamp(18px, 1.6vw, 21px)/1.35 var(--f-body); }
.lead__msg { min-height: 1.4em; font-size: 14px; font-weight: 500; color: var(--aqua); margin-top: -6px; }
.lead__msg.is-error { color: #ffb4a8; }
.lead__legal { font-size: 12px; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.lead__legal--dark { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { display: grid; gap: 8px; }
.field__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.field__input {
  height: 60px; width: 100%; padding: 0 22px;
  font: 600 19px var(--f-body); letter-spacing: .02em; color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 16px;
  outline: none; transition: border-color .3s, background .3s, box-shadow .3s;
}
.field__input::placeholder { color: rgba(255, 255, 255, .35); }
.field__input:focus { border-color: var(--aqua); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 4px rgba(143, 211, 214, .18); }
.field__input.is-invalid { border-color: #ff8f7d; animation: shake .45s; }
.field--dark .field__label { color: var(--muted); }
.field--dark .field__input { color: var(--ink); background: #fff; border-color: var(--line-dark); }
.field--dark .field__input::placeholder { color: #a5b1b3; }
.field--dark .field__input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47, 143, 151, .15); background: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 70px 0 0; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.logo--footer { margin-right: 0; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__word {
  font: 700 clamp(40px, 10.6vw, 190px)/.85 var(--f-display); letter-spacing: -.02em; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(143, 211, 214, .28);
  margin-top: 50px; transform: translateY(14%); white-space: nowrap; user-select: none;
}

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; visibility: hidden; transition: visibility 0s .6s; }
.modal.is-open { visibility: visible; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 16, 23, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: 100%; max-width: 660px; max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--foam); color: var(--text);
  border-radius: 28px; padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(40px) scale(.97);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; color: var(--ink); border-color: var(--line-dark); z-index: 2; }
.modal__close:hover { background: var(--ink); color: #fff; }
.booking { display: grid; gap: 28px; }
.booking__title { font: 600 clamp(26px, 3.2vw, 38px)/1.1 var(--f-display); color: var(--ink); margin: -6px 0 22px; }
.booking__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.booking__step { display: grid; gap: 14px; }
.booking__step > .kicker { margin-bottom: 8px; }
[data-options] { transition: opacity .4s, transform .4s; }
[data-options].is-hidden { display: none; }

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip, .option { position: relative; cursor: pointer; }
.chip input, .option input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .option span {
  display: grid; gap: 4px; height: 100%;
  padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-dark);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip b { font: 600 15px var(--f-body); letter-spacing: -.01em; }
.chip small, .option small { font-size: 12px; color: var(--muted); transition: color .3s; }
.chip:hover span, .option:hover span { border-color: var(--teal); transform: translateY(-2px); }
.chip input:checked + span, .option input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span small, .option input:checked + span small { color: var(--aqua); }
.chip input:focus-visible + span, .option input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.chip.is-past { display: none; }
.chip--ocean span { background: linear-gradient(140deg, #e6f3f2, #fff); }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option span { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; }
.option svg { grid-row: span 2; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.option b { font-size: 15px; }
.chips.is-invalid span { border-color: #e7826f; animation: shake .45s; }

.success { display: none; text-align: center; padding: 20px 0 10px; }
.modal.is-success .booking { display: none; }
.modal.is-success .success { display: grid; justify-items: center; gap: 6px; }
.success p { color: var(--muted); max-width: 380px; margin-bottom: 26px; }
.success .booking__title { margin: 14px 0 6px; }
.success__icon { width: 92px; height: 92px; fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success__icon circle { stroke-dasharray: 230; stroke-dashoffset: 230; }
.success__icon path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.modal.is-success .success__icon circle { animation: drawTo0 1s var(--ease) forwards; }
.modal.is-success .success__icon path { animation: drawTo0 .6s .7s var(--ease) forwards; }
.success__boat { width: 120px; height: 40px; fill: var(--ink); margin: -10px 0 18px; }
.modal.is-success .success__boat { animation: sailAway 6s 1s ease-in-out infinite; }
.success__boat path:not(:first-child) { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center;
  background: rgba(4, 16, 23, .94); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox__img { max-width: min(92vw, 1500px); max-height: 80vh; border-radius: 14px; object-fit: contain; transform: scale(.94); transition: transform .5s var(--ease), opacity .3s; }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__img.is-swap { opacity: 0; }
.lightbox__close { position: absolute; top: 20px; right: 20px; border-color: rgba(255, 255, 255, .4); }
.lightbox__nav { position: absolute; top: 50%; margin-top: -26px; border-color: rgba(255, 255, 255, .4); background: rgba(4, 16, 23, .4); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font: italic 500 22px var(--f-serif); color: rgba(255, 255, 255, .8); }

/* ---------- reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; background: transparent; }
.js [data-reveal="clip"] img { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), border-color .4s, background .4s, box-shadow .6s; transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > .tour:hover { transform: translateY(-6px); transition-delay: 0s; }
.js .tour.is-past { opacity: .4 !important; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
[data-split].is-in .w > span { transform: none; }

/* ---------- keyframes ---------- */
@keyframes preHide { to { visibility: hidden; opacity: 0; } }
@keyframes kenburns { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drawTo0 { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wave { to { transform: translateX(-720px); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vw, 4vw) scale(1.15); } 100% { transform: translate(-6vw, 8vw) scale(.92); } }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--dx, 20px), -110vh); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { opacity: .5; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-2px) rotate(3deg); } }
@keyframes compass { to { transform: rotate(14deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes dash { to { stroke-dashoffset: -32; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes sailAway { 0%, 100% { transform: translateX(-14px) rotate(-2deg); } 50% { transform: translateX(14px) rotate(2deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .exp__grid { grid-template-columns: repeat(2, 1fr); }
  .dates__grid { grid-template-columns: repeat(2, 1fr); }
  .price__grid { grid-template-columns: 1fr 1fr; }
  .plan--info { grid-column: span 2; }
  .azores__row { grid-template-columns: 1fr 1fr; }
  .azores__row .btn { grid-column: span 2; justify-self: start; }
}

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .about__grid { grid-template-columns: 1fr; }
  .about__head .h2 { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line-light); }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 22px; }
  .boat__grid { grid-template-columns: 1fr; }
  .boat__photo { aspect-ratio: 4 / 4.4; }
  .cta__grid { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .hero__bottom { grid-template-columns: 1fr 1fr; margin-bottom: 96px; }
  .hero__fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__fact:nth-child(n + 3) { margin-top: 18px; border-top: 1px solid var(--line-light); }
  .hero__scroll { display: none; }

  /* route: sticky map on top, days scroll below */
  .route__grid { grid-template-columns: 1fr; gap: 0; }
  .route__map {
    top: var(--header-h); height: 50svh; z-index: 3;
    margin: 0 calc(var(--pad) * -1); padding: 8px var(--pad) 12px;
    background: linear-gradient(180deg, var(--paper) 88%, rgba(243, 237, 226, 0));
  }
  .map__svg { width: 100%; height: calc(100% - 70px); border-radius: 16px; }
  .map__credit { font-size: 9px; margin-top: 3px; }
  .map__progress { margin-top: 8px; font-size: 13px; padding: 6px 14px 6px 6px; }
  .map__place { font-size: 16px; }
  .day { grid-template-columns: 62px 1fr; padding: 30px 0; min-height: 34svh; align-content: start; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero__shade { background: linear-gradient(180deg, rgba(7, 28, 39, .7) 0%, rgba(7, 28, 39, .2) 30%, rgba(7, 28, 39, .25) 55%, rgba(7, 28, 39, .9) 88%, var(--ink) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__img { object-position: 50% 70%; }
  .hero__title { margin-bottom: 20px; }
  .hero__lead { margin-bottom: 28px; }
  .exp__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-exp { min-height: 190px; padding: 18px; gap: 14px; }
  .card-exp h3 { font-size: 15px; }
  .card-exp .ico { width: 38px; height: 38px; }
  .dates__grid, .price__grid { grid-template-columns: 1fr; }
  .plan--info { grid-column: auto; }
  .tour { min-height: 0; padding: 26px 22px; }
  .tour__badge { position: static; align-self: flex-start; margin-bottom: 16px; }
  .plan { padding: 28px 22px; }
  .azores__row { grid-template-columns: 1fr; }
  .azores__row .btn { grid-column: auto; width: 100%; }
  .azores__line { font-size: 16px; }
  .specs li:nth-child(even) { padding-left: 14px; }
  .gallery__track { gap: 10px; --w: 82vw; }
  .gallery__nav { display: none; }
  .footer__grid { flex-direction: column; align-items: flex-start; }

  /* modal becomes a bottom sheet */
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-width: none; border-radius: 26px 26px 0 0; max-height: 94svh; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .modal.is-open .modal__panel { transform: none; }
  .chips { grid-template-columns: 1fr 1fr; }
  .options { grid-template-columns: 1fr; }
  .booking { gap: 22px; }
  .lightbox__nav { top: auto; bottom: 70px; margin: 0; }
  .lightbox__cap { bottom: 30px; font-size: 18px; }
}

@media (max-width: 380px) {
  .hero__fact b { font-size: 18px; }
  .stat b { font-size: 32px; }
  .chip b { font-size: 13px; }
}

@media (hover: none) {
  .shot figcaption { opacity: 1; transform: none; }
}

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

/* messages inside the light booking dialog */
.booking .lead__msg { color: var(--teal); }
.booking .lead__msg.is-error { color: #b8432c; }

/* desktop: sharp full-width photos instead of the small stretched ones (phones keep the originals) */
@media (min-width: 861px) {
  .exp__bg { background-image: url("../img/boat-03-bg.webp"); background-position: 50% 45%; }
  .cta__bg { background-image: url("../img/boat-02-bg.webp"); background-position: 50% 55%; }
}
