/* ---------- shared ---------- */
section { padding: 88px 24px; max-width: 1180px; margin: 0 auto; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--deep); }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 560px; margin: 0 auto 40px; }
.eyebrow { font-family: var(--serif); font-style: italic; color: var(--lagoon); font-size: 1.1rem; margin: 0 0 .4em; }
.btn { display: inline-block; background: linear-gradient(135deg, var(--lagoon), var(--sea)); color: #fff; padding: 14px 28px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; box-shadow: 0 8px 20px rgba(15, 94, 115, .3); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: inherit; border: 2px solid currentColor; box-shadow: none; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: rgba(11, 42, 63, .55); backdrop-filter: blur(10px); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 760px) { .nav nav > a:not(.btn) { display: none; } .nav nav { gap: 12px; } }
@media (max-width: 700px) { .brand span { display: none; } }
.dd-btn, .nav .btn { white-space: nowrap; }

/* ---------- hero + morph gallery ---------- */
.hero { --stage-l: 34%; --stage-r: 0px; --stage-t: 76px; --stage-b: 0px; position: relative; max-width: none; padding: 0; height: 100svh; min-height: 560px; color: #fff; }
.morph { position: absolute; inset: 0; overflow: hidden; background: var(--deep); outline: none; }
.morph canvas, .morph .mg-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; }
.morph canvas { opacity: 0; transition: opacity .4s; }
.morph canvas.ready { opacity: 1; }
.mg-slide { position: absolute; inset: 0; transition: opacity .7s; overflow: hidden; }
.mg-slide::before { content: ""; position: absolute; inset: -60px; background: var(--src) center / cover; filter: blur(40px); }
.mg-slide::after { content: ""; position: absolute; left: var(--stage-l); right: var(--stage-r); top: var(--stage-t); bottom: var(--stage-b); background: var(--src) center / contain no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12.5%, #000 87.5%, transparent), linear-gradient(transparent, #000 6%, #000 94%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 12.5%, #000 87.5%, transparent), linear-gradient(transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
.morph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,63,.78) 0%, rgba(11,42,63,.5) calc(var(--stage-l) - 12%), transparent calc(var(--stage-l) + 4%)); pointer-events: none; z-index: 2; }
.mg-thumbs { position: absolute; right: 24px; bottom: 20px; z-index: 6; display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; max-width: calc(100% - 48px); overflow-x: auto; }
.mg-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .55; cursor: pointer; background: none; transition: opacity .2s; }
.mg-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.mg-thumbs img { width: 72px; height: 46px; object-fit: cover; max-width: none; }
@media (max-width: 640px) { .mg-thumbs { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-stage { position: absolute; left: var(--stage-l); right: var(--stage-r); top: var(--stage-t); bottom: var(--stage-b); pointer-events: none; }
.hero-copy { position: relative; z-index: 5; max-width: 36%; padding: 0 16px 0 max(24px, 4vw); height: 100%; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { font-size: clamp(1.9rem, 3.1vw, 3.1rem); color: #fff; }
.hero .eyebrow { color: var(--shell); }
.lede { font-size: 1.15rem; opacity: .92; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }

/* ---------- bubbles ---------- */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.bubbles i { position: absolute; bottom: -30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(37,179,176,.1)); animation: rise linear forwards; }
@keyframes rise { to { transform: translate(var(--dx), -110vh); opacity: 0; } }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.story-img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; overflow: hidden; }
.reel-track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.4, .1, .2, 1); }
.reel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.sig { font-family: var(--serif); font-style: italic; color: var(--sea); }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story-img { max-width: 380px; } }

/* ---------- tails ---------- */
.tails { max-width: none; background: linear-gradient(var(--foam), #d5f2ef); }
.cards { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: transform .25s; }
.card:hover { transform: translateY(-6px) rotate(-.4deg); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card div { padding: 18px 22px 22px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.tag { font-size: .8rem; font-weight: 800; color: var(--sea); background: var(--foam); padding: 4px 12px; border-radius: 999px; }

/* ---------- flow ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.steps span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--shell); color: var(--deep); font-family: var(--serif); font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }
.activity { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.activity figure { margin: 0; }
.activity img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.activity figcaption { font-family: var(--serif); font-style: italic; margin-top: 8px; color: var(--sea); }
@media (max-width: 640px) { .activity { grid-template-columns: 1fr; } }

/* ---------- packages ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.tier { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; color: var(--ink); }
.tier ul { padding-left: 1.1em; flex: 1; color: var(--muted); }
.tier .btn-ghost { color: var(--sea); }
.price { font-family: var(--serif); font-size: 2rem; color: var(--deep); margin: 0; }
.price small { font-size: .9rem; color: var(--muted); }
.feat { background: linear-gradient(160deg, var(--sea), var(--deep)); color: #fff; }
.feat h3, .feat .price, .feat ul, .feat .price small { color: #fff; }
.ribbon { position: absolute; top: -14px; right: 20px; margin: 0; background: var(--gold); color: var(--deep); font-weight: 800; font-size: .8rem; padding: 4px 14px; border-radius: 999px; }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: flex; flex-direction: column; font-weight: 700; font-size: .9rem; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 14px; border: 1.5px solid #cfe3e3; border-radius: 12px; background: var(--foam); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lagoon); border-color: transparent; }
.form .wide { grid-column: 1 / -1; }
.form-msg { margin: 0; min-height: 1.4em; color: var(--sea); font-weight: 700; }
.form-msg.err { color: #b3364a; }
@media (max-width: 820px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: #cfe; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; padding: 32px 24px; text-align: center; }
.foot img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.foot p { margin: 0; }
.foot a { color: var(--shell); }
@media (max-width: 640px) {
  .brand span { white-space: nowrap; font-size: 1.05rem; }
}

/* ---------- embedded booking form ---------- */
.ghl-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.ghl-form iframe { display: block; width: 100%; height: 1175px; border: 0; border-radius: 12px; }

/* ---------- nav dropdown ---------- */
.dd { position: relative; }
.dd-btn { font: inherit; font-weight: 600; color: #fff; background: none; border: 0; cursor: pointer; padding: 8px 0; min-height: 44px; }
.dd-menu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); min-width: 170px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav nav .dd-menu a { display: block; padding: 8px 14px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 700; }
.nav nav .dd-menu a:hover, .nav nav .dd-menu a:focus-visible { background: var(--foam); color: var(--sea); outline: none; }
.card-link { display: block; margin-top: 14px; font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ---------- past adventures: a scrolling dive ---------- */
.adventures { position: relative; max-width: none; padding: 0; color: #fff; overflow: clip; background: linear-gradient(#8fe0dc 0%, #2a9db5 16%, #0f5e86 38%, #0a2f5c 62%, #06163a 82%, #030817 100%); }
.adventures::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; pointer-events: none; background: repeating-linear-gradient(100deg, rgba(255,255,255,.16) 0 40px, transparent 40px 130px); -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.adventures::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; pointer-events: none; background: radial-gradient(circle at 18% 30%, rgba(95,212,230,.22) 0 5px, transparent 7px), radial-gradient(circle at 82% 48%, rgba(143,123,255,.25) 0 4px, transparent 6px), radial-gradient(circle at 34% 70%, rgba(95,212,230,.2) 0 3px, transparent 5px), radial-gradient(circle at 66% 86%, rgba(255,255,255,.2) 0 3px, transparent 5px), radial-gradient(circle at 50% 20%, rgba(143,123,255,.2) 0 3px, transparent 5px); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .35; } to { opacity: 1; } }
.adv-head { position: relative; z-index: 2; text-align: center; padding: 100px 24px 40px; max-width: 640px; margin: 0 auto; color: var(--deep); }
.adv-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.adv-head .eyebrow { color: var(--sea); }
.dive-cue { display: inline-block; font-size: 1.8rem; animation: bob 1.6s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(10px); } }
.dive { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; padding: 0 24px 0 96px; }
.find { margin: 0; min-height: 78vh; display: flex; align-items: center; gap: 36px; opacity: 0; transform: translateY(60px); transition: opacity .9s, transform .9s; }
.find:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.find.seen { opacity: 1; transform: none; }
.porthole { flex: 0 0 min(52%, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 12px solid #c9a35a; outline: 4px solid #7d6230; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.5), inset 0 0 40px rgba(0,0,0,.6); animation: drift 6s ease-in-out infinite alternate; }
.find:nth-child(even) .porthole { animation-delay: -3s; }
@keyframes drift { from { transform: translateY(-10px) rotate(-1.5deg); } to { transform: translateY(10px) rotate(1.5deg); } }
.porthole img { width: 100%; height: 100%; object-fit: cover; }
.find figcaption { display: flex; flex-direction: column; gap: 6px; }
.find strong { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
.find-depth { font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9fe9e4; }
.gauge { position: sticky; top: 30vh; z-index: 3; height: 0; margin-left: max(20px, calc(50% - 500px)); display: flex; gap: 12px; align-items: flex-start; }
.gauge-track { width: 6px; height: 40vh; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; flex: none; }
.gauge-fill { width: 100%; height: 0; background: linear-gradient(#fff, var(--shell)); }
.gauge-read { display: flex; flex-direction: column; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.gauge-num { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0; text-transform: none; }
.adv-floor { position: relative; z-index: 2; text-align: center; padding: 40px 24px 110px; }
.adv-floor p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; max-width: 460px; margin: 0 auto 22px; }
@media (max-width: 700px) {
  .dive { padding-left: 24px; }
  .find, .find:nth-child(even) { flex-direction: column; text-align: center; justify-content: center; min-height: 70vh; }
  .porthole { flex: none; width: min(78vw, 320px); }
  .gauge { margin-left: 10px; top: 76px; }
  .gauge-track { height: 60px; }
}


/* hero: picture on top, words underneath, once the two no longer fit side by side */
@media (max-width: 900px) {
  .hero { --stage-h: min(64vw, 56svh); --stage-l: 0px; --stage-r: 0px; --stage-t: 76px; --stage-b: calc(100% - 76px - var(--stage-h)); height: auto; min-height: 100svh; }
  .hero-copy { max-width: none; padding: calc(76px + var(--stage-h) + 20px) 24px 48px; justify-content: flex-start; }
  .morph::after { background: linear-gradient(transparent calc(76px + var(--stage-h) - 30px), rgba(11,42,63,.72) calc(76px + var(--stage-h) + 60px)); }
  .mg-thumbs { display: none; }
}

/* ---------- rippling-wave buttons (every solid "book" button) ---------- */
.btn:not(.btn-ghost) { position: relative; overflow: hidden; isolation: isolate; text-shadow: 0 1px 3px rgba(11, 42, 63, .45); }
.btn:not(.btn-ghost)::before, .btn:not(.btn-ghost)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none; background-repeat: repeat-x; background-position: 0 100%; }
.btn:not(.btn-ghost)::before { height: 70%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 30' preserveAspectRatio='none'%3E%3Cpath d='M0 10 Q20 0 40 10 T80 10 V30 H0Z' fill='%23fff' fill-opacity='.22'/%3E%3C/svg%3E"); background-size: 80px 100%; animation: wave-a 2.6s linear infinite, swell 3.2s ease-in-out infinite alternate; }
.btn:not(.btn-ghost)::after { height: 48%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q30 0 60 12 T120 12 V30 H0Z' fill='%23fff' fill-opacity='.3'/%3E%3C/svg%3E"); background-size: 120px 100%; animation: wave-b 4.2s linear infinite, swell 2.4s ease-in-out infinite alternate-reverse; }
.btn:not(.btn-ghost):hover::before { animation-duration: 1.3s, 3.2s; }
.btn:not(.btn-ghost):hover::after { animation-duration: 2.1s, 2.4s; }
@keyframes wave-a { to { background-position-x: 80px; } }
@keyframes wave-b { to { background-position-x: -120px; } }
@keyframes swell { from { transform: translateY(3px); } to { transform: translateY(-3px); } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 32px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--deep); padding: 18px 28px 18px 0; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--lagoon); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- phone polish ---------- */
@media (max-width: 640px) {
  section { padding: 60px 18px; }
  .nav { padding: 10px 14px; }
  .nav .btn-sm { padding: 12px 16px; }
  .nav nav .dd-menu a { padding: 12px 14px; }
  .dd-menu { left: auto; right: -40px; transform: translate(0, 6px); }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { transform: none; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .foot { flex-direction: column; }
}
