/* ==========================================================================
   Puerto Vallarta Boats — design system
   Deep Pacific navy · midnight teal · luminous turquoise · silver · pearl · champagne
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic-var.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Michroma"; src: url("../fonts/michroma.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --abyss: #030b15;
  --navy: #061625;
  --navy-2: #0a2135;
  --navy-3: #0f2c44;
  --teal-deep: #0a3440;
  --teal: #12606b;
  --turq: #3fd6d0;
  --turq-soft: #8fe9e3;
  --silver: #c4cfd9;
  --mist: #94a7b7;
  --pearl: #f5f1e8;
  --pearl-2: #ece5d6;
  --champagne: #d9ba8b;
  --champagne-2: #b48e55;
  --bronze: #7f5f2d;
  --sunset: #ef9d6a;
  --ink: #0b1b2b;
  --ink-soft: #3a4b5c;
  --line: rgba(196, 207, 217, .14);
  --line-strong: rgba(196, 207, 217, .28);
  --line-ink: rgba(11, 27, 43, .12);
  --glass: rgba(9, 28, 45, .62);
  --glow: 0 0 0 1px rgba(63, 214, 208, .35), 0 10px 40px -10px rgba(63, 214, 208, .35);

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-tech: "Michroma", "Manrope", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--silver);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--turq-soft); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #fff; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { color: #fff; font-weight: 600; }
::selection { background: rgba(63, 214, 208, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: #fff; font-weight: 400; }
h1, .h1 { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em; }
h2, .h2 { font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.08; letter-spacing: -.005em; }
h3, .h3 { font-family: var(--f-sans); font-weight: 600; font-size: 1.15rem; line-height: 1.35; letter-spacing: .005em; }
h4 { font-family: var(--f-sans); font-weight: 600; font-size: 1rem; }
h1 em, h2 em, .h2 em { font-style: italic; color: var(--champagne); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--pearl); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-tech); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--champagne); margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--champagne)); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--silver); max-width: 62ch; }
.muted { color: var(--mist); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .85em 1.6em; border-radius: 999px;
  font-family: var(--f-sans); font-size: .92rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; border: 1px solid var(--b); background: transparent; color: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, border-color .35s, color .35s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(63, 214, 208, .6); box-shadow: var(--glow); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: linear-gradient(120deg, #f3e2bf, var(--champagne) 45%, #c79f62); color: var(--ink); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(217, 186, 139, .7); }
.btn--primary:hover { color: var(--ink); box-shadow: 0 14px 40px -10px rgba(217, 186, 139, .85), 0 0 0 1px rgba(255, 246, 226, .6); }
.btn--glass { background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ink { background: var(--ink); color: var(--pearl); border-color: var(--ink); }
.btn--ink:hover { color: #fff; }
.btn--small { min-height: 40px; padding: .55em 1.1em; font-size: .82rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 600; text-decoration: none; color: var(--turq-soft); display: inline-flex; gap: .45em; align-items: center; }
.text-link::after { content: "→"; transition: transform .3s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, height .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(5, 18, 31, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--pearl); flex: none; }
.brand svg { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.62rem; font-weight: 500; color: var(--pearl); letter-spacing: .01em; }
.brand__sub { font-family: var(--f-tech); font-size: .58rem; letter-spacing: .42em; color: var(--champagne); margin-top: 6px; }
.brand:hover .brand__name { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link, .nav-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font: 600 .86rem/1 var(--f-sans); letter-spacing: .04em; color: var(--silver); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-btn:hover, .nav-item:focus-within > .nav-link, .nav-item:focus-within > .nav-btn { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-link[aria-current="page"], .nav-item.is-active > .nav-link, .nav-item.is-active > .nav-btn { color: #fff; }
.nav-item.is-active > .nav-link::after, .nav-item.is-active > .nav-btn::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--turq); transform: translateX(-50%); box-shadow: 0 0 10px var(--turq); }
.nav-btn .chev { width: 10px; height: 10px; transition: transform .3s; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 270px; padding: 10px;
  list-style: none; margin: 0;
  background: rgba(7, 22, 37, .96); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover > .sub, .nav-item:focus-within > .sub, .nav-item.is-open > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover .chev, .nav-item.is-open .chev { transform: rotate(180deg); }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--silver); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.sub a small { display: block; color: var(--mist); font-size: .76rem; margin-top: 2px; }
.sub a:hover, .sub a[aria-current="page"] { background: rgba(63, 214, 208, .08); color: #fff; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); color: #fff; font: 600 .82rem var(--f-sans); letter-spacing: .08em; cursor: pointer;
  }
  .nav-toggle__bars { width: 18px; height: 12px; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
  .nav-toggle__bars::before { top: 2px; } .nav-toggle__bars::after { top: 9px; }
  .nav-open .nav-toggle__bars::before { top: 5.5px; transform: rotate(45deg); }
  .nav-open .nav-toggle__bars::after { top: 5.5px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; display: block; overflow-y: auto;
    padding: 24px var(--gutter) 48px; background: rgba(4, 14, 25, .98);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .nav-link, .nav-btn { font-family: var(--f-display); font-size: 1.7rem; font-weight: 400; letter-spacing: 0; padding: 8px 0; color: #fff; background: none !important; }
  .nav-btn .chev { display: none; }
  .nav-item.is-active > .nav-link::after, .nav-item.is-active > .nav-btn::after { display: none; }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 6px; min-width: 0; backdrop-filter: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .sub a { padding: 8px 0; }
  .sub a small { display: none; }
  .nav-cta { margin: 24px 0 0; width: 100%; }
  .no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; }
  .no-js .site-header { position: absolute; height: auto; padding: 14px 0; background: var(--abyss); }
  .no-js .site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--abyss); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease), visibility 1.6s; visibility: hidden; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide img { transform: scale(1.06); transform-origin: var(--kb-origin, 50% 50%); }
.hero__slide.is-active img { animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(var(--kb-x, 0), var(--kb-y, 0), 0); } to { transform: scale(1.04) translate3d(0, 0, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 11, 21, .55) 0%, rgba(3, 11, 21, 0) 24%),
    linear-gradient(90deg, rgba(3, 11, 21, .82) 0%, rgba(3, 11, 21, .45) 42%, rgba(3, 11, 21, 0) 70%),
    linear-gradient(0deg, rgba(3, 11, 21, .95) 0%, rgba(3, 11, 21, .2) 40%, rgba(3, 11, 21, 0) 60%);
}
.hero::after { /* fine scanline texture for depth */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
}
.hero__inner { position: relative; padding: calc(var(--header-h) + 60px) 0 clamp(120px, 15vh, 170px); width: 100%; }
.hero__content { max-width: 760px; }
.hero h1 { margin-bottom: 1.4rem; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.hero .lead { color: #dfe6ec; margin-bottom: 2rem; }
.hero__caption { display: flex; align-items: center; gap: 14px; margin-top: 2.2rem; color: var(--mist); font-size: .86rem; min-height: 1.5em; }
.hero__caption-num { font-family: var(--f-tech); font-size: .62rem; letter-spacing: .25em; color: var(--champagne); }
.hero__caption-text { transition: opacity .6s; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; }
.hero__controls .wrap { display: flex; align-items: center; gap: 18px; }
.hero__progress { display: flex; gap: 8px; flex: 1; max-width: 420px; list-style: none; margin: 0; padding: 0; }
.hero__progress li { flex: 1; }
.hero__progress button { width: 100%; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero__progress button::before, .hero__progress button::after { content: ""; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; }
.hero__progress button::before { right: 0; background: rgba(255, 255, 255, .22); }
.hero__progress button::after { width: 0; background: linear-gradient(90deg, var(--champagne), var(--turq)); }
.hero__progress button.is-active::after { width: var(--p, 0%); }
.hero__progress button.is-done::after { width: 100%; }
.hero__ctrl { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(5, 18, 31, .45); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .3s, box-shadow .3s; }
.hero__ctrl:hover { border-color: var(--turq); box-shadow: var(--glow); }
.hero__ctrl svg { width: 16px; height: 16px; }
.hero__count { font-family: var(--f-tech); font-size: .62rem; letter-spacing: .2em; color: var(--silver); min-width: 64px; }
.hero__instrument { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-46%); width: min(36vw, 440px); z-index: 1; pointer-events: none; }
@media (max-width: 900px) {
  .hero__instrument { width: 150px; top: calc(var(--header-h) + 18px); transform: none; opacity: .85; }
  .hero::before { background: linear-gradient(180deg, rgba(3, 11, 21, .65) 0%, rgba(3, 11, 21, .2) 30%, rgba(3, 11, 21, .55) 60%, rgba(3, 11, 21, .96) 100%); }
  .hero__inner { padding-top: calc(var(--header-h) + 190px); }
}
@media (max-width: 520px) { .hero__count { display: none; } .hero__progress { max-width: none; } }

/* ---------- Animated maritime instrument ---------- */
.instrument { width: 100%; height: auto; overflow: hidden; }
.instrument .rot-slow { transform-origin: 200px 200px; animation: spin 140s linear infinite; }
.instrument .rot-rev { transform-origin: 200px 200px; animation: spin 90s linear infinite reverse; }
.instrument .orbit { transform-origin: 200px 200px; animation: spin 26s linear infinite; }
.instrument .waves-a { animation: drift 9s linear infinite; }
.instrument .waves-b { animation: drift 14s linear infinite reverse; }
.instrument .waves-c { animation: drift 20s linear infinite; }
.instrument .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.2s var(--ease) .3s forwards; }
.instrument .beacon { animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.instrument .glow-disc { animation: breathe 7s ease-in-out infinite; transform-origin: 200px 200px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.6); } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: min(78svh, 760px); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--abyss); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroDrift 18s var(--ease) forwards; }
@keyframes heroDrift { from { transform: scale(1.12); } to { transform: scale(1.03); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 11, 21, .6) 0%, rgba(3, 11, 21, .15) 30%, rgba(3, 11, 21, .65) 68%, rgba(6, 22, 37, 1) 100%), linear-gradient(90deg, rgba(3, 11, 21, .7), rgba(3, 11, 21, 0) 65%); }
.page-hero__inner { padding: calc(var(--header-h) + 90px) 0 clamp(56px, 8vw, 96px); width: 100%; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { color: #dfe6ec; }
.page-hero--plain { min-height: 0; background: radial-gradient(1200px 500px at 80% -10%, rgba(63, 214, 208, .14), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(217, 186, 139, .1), transparent 60%), var(--navy); }
.page-hero--plain::before { display: none; }
.page-hero--plain .page-hero__inner { padding-bottom: 40px; }

.breadcrumbs { margin: 0 0 1.6rem; font-size: .8rem; color: var(--mist); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--silver); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Spec bar ---------- */
.specbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin-top: 2.4rem; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--line); max-width: 900px; }
.specbar div { background: rgba(6, 22, 37, .72); padding: 16px 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.specbar dt { font-family: var(--f-tech); font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); margin-bottom: 6px; }
.specbar dd { margin: 0; color: #fff; font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.specbar dl { display: contents; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--pearl { background: var(--pearl); color: var(--ink-soft); }
.section--pearl h1, .section--pearl h2, .section--pearl h3, .section--pearl h4, .section--pearl strong { color: var(--ink); }
.section--pearl a { color: var(--teal); }
.section--pearl a:hover { color: var(--ink); }
.section--pearl .eyebrow { color: var(--bronze); }
.section--pearl .eyebrow::before { background: linear-gradient(90deg, transparent, var(--champagne-2)); }
.section--pearl .lead { color: var(--ink-soft); }
.section--pearl .muted { color: #5d6c7a; }
.section--pearl .btn { color: var(--ink); border-color: var(--line-ink); }
.section--pearl .btn--primary { color: var(--ink); }
.section--pearl .btn--ink { color: var(--pearl); }
.section--pearl .text-link { color: var(--teal); }
.section--deep { background: radial-gradient(1000px 600px at 85% 0%, rgba(18, 96, 107, .35), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(217, 186, 139, .07), transparent 60%), var(--abyss); }
.section--teal { background: linear-gradient(160deg, var(--teal-deep), var(--navy) 70%); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose ul li, .prose ol li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 1.2em 1.4em; border-left: 2px solid var(--champagne); background: rgba(255, 255, 255, .03); border-radius: 0 var(--r-s) var(--r-s) 0; }
.section--pearl .prose blockquote { background: rgba(11, 27, 43, .04); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.media-frame { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.media-frame figcaption, .figure-note { font-size: .8rem; color: var(--mist); margin-top: .7rem; }
.media-stack { position: relative; }
.media-stack .media-frame:nth-child(2) { position: absolute; width: 48%; right: -6%; bottom: -12%; border: 6px solid var(--navy); }
.section--pearl .media-stack .media-frame:nth-child(2) { border-color: var(--pearl); }
@media (max-width: 900px) { .media-stack .media-frame:nth-child(2) { display: none; } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 44, 68, .55), rgba(6, 22, 37, .9)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(63, 214, 208, .35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(63, 214, 208, .12); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-family: var(--f-display); font-size: 1.75rem; font-weight: 400; line-height: 1.1; margin: 0; color: #fff; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--mist); margin: 0; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta svg { width: 14px; height: 14px; color: var(--champagne); }
.card__text { font-size: .93rem; color: var(--silver); margin: 0; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: relative; z-index: 2; }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.tier { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(3, 11, 21, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tier::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--turq)); box-shadow: 0 0 8px var(--c, var(--turq)); }
.tier--water { --c: #9fb6c8; } .tier--drinks { --c: var(--turq); } .tier--lunch { --c: #9be38f; } .tier--openbar { --c: var(--sunset); } .tier--chef { --c: var(--champagne); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .74rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--silver); background: rgba(255, 255, 255, .03); }
.section--pearl .tags li { border-color: var(--line-ink); color: var(--ink-soft); background: rgba(255, 255, 255, .6); }

.link-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; border: 1px solid var(--line); }
.link-card picture, .link-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.link-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 11, 21, 0) 30%, rgba(3, 11, 21, .92)); }
.link-card:hover img { transform: scale(1.06); }
.link-card__body { padding: 26px; }
.link-card__kicker { font-family: var(--f-tech); font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); }
.link-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; margin: .4rem 0 .3rem; }
.link-card p { margin: 0; font-size: .92rem; color: var(--silver); }
.link-card:hover { color: #fff; border-color: rgba(63, 214, 208, .4); }

.feature { padding: 28px; border-radius: var(--r-l); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--turq); background: rgba(63, 214, 208, .08); border: 1px solid rgba(63, 214, 208, .2); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; font-size: .95rem; }
.section--pearl .feature { background: #fff; border-color: var(--line-ink); box-shadow: 0 20px 40px -30px rgba(11, 27, 43, .25); }
.section--pearl .feature__icon { color: var(--teal); background: rgba(18, 96, 107, .08); border-color: rgba(18, 96, 107, .18); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stat { background: var(--navy); padding: 28px 24px; }
.stat__num { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: #fff; line-height: 1; font-weight: 300; }
.stat__label { font-size: .82rem; color: var(--mist); margin-top: 8px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: rgba(63, 214, 208, .14); box-shadow: inset 0 0 0 1px rgba(63, 214, 208, .5); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 6px; height: 4px; border-left: 1.5px solid var(--turq); border-bottom: 1.5px solid var(--turq); transform: rotate(-45deg); }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: 28px; }
.section--pearl .checklist li::before { background: rgba(18, 96, 107, .1); box-shadow: inset 0 0 0 1px rgba(18, 96, 107, .45); }
.section--pearl .checklist li::after { border-color: var(--teal); }
.xlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.xlist li { position: relative; padding-left: 26px; color: var(--mist); }
.xlist li::before { content: "—"; position: absolute; left: 0; color: var(--champagne); }

.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-m); border: 1px solid rgba(217, 186, 139, .3);
  background: linear-gradient(120deg, rgba(217, 186, 139, .08), rgba(217, 186, 139, .02)); font-size: .93rem; color: var(--silver);
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--champagne); margin-top: 3px; }
.note p { margin: 0; }
.note p + p { margin-top: .5em; }
.section--pearl .note { color: var(--ink-soft); border-color: rgba(180, 142, 85, .4); background: linear-gradient(120deg, rgba(180, 142, 85, .12), rgba(180, 142, 85, .03)); }
.section--pearl .note svg { color: var(--champagne-2); }

/* ---------- Inclusion tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.tiers__item { position: relative; padding: 24px 22px 22px; border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); overflow: hidden; }
.tiers__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.tiers__item h3 { font-size: 1rem; margin-bottom: .5em; display: flex; align-items: center; gap: 8px; }
.tiers__item p { font-size: .88rem; margin: 0 0 .8em; color: var(--mist); }
.tiers__item .tiers__count { font-family: var(--f-tech); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }
.section--pearl .tiers__item { background: #fff; border-color: var(--line-ink); }
.section--pearl .tiers__item p { color: var(--ink-soft); }

/* ---------- Fleet browser ---------- */
.fleet-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--silver); font: 600 .82rem var(--f-sans); letter-spacing: .03em; cursor: pointer; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.chip:hover { color: #fff; border-color: rgba(63, 214, 208, .5); }
.chip[aria-pressed="true"] { background: linear-gradient(120deg, rgba(63, 214, 208, .18), rgba(63, 214, 208, .06)); color: #fff; border-color: var(--turq); box-shadow: 0 0 0 1px rgba(63, 214, 208, .2), 0 6px 24px -10px rgba(63, 214, 208, .6); }
.fleet-sort { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--mist); }
.fleet-sort select { min-height: 40px; padding: 6px 34px 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c4cfd9' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; color: #fff; font: 600 .82rem var(--f-sans); appearance: none; -webkit-appearance: none; }
.fleet-count { font-size: .85rem; color: var(--mist); margin: 0 0 18px; }
.fleet-grid .card[hidden] { display: none; }
.no-js .fleet-tools .chips, .no-js .fleet-sort { display: none; }

/* ---------- Bay map ---------- */
.baymap { position: relative; border-radius: var(--r-l); border: 1px solid var(--line); background: radial-gradient(600px 400px at 60% 40%, rgba(18, 96, 107, .35), transparent 70%), var(--abyss); overflow: hidden; }
.baymap svg { width: 100%; height: auto; }
.baymap .land { fill: #0d2a3d; stroke: rgba(196, 207, 217, .25); stroke-width: 1.2; }
.baymap .contour { fill: none; stroke: rgba(63, 214, 208, .12); stroke-width: 1; stroke-dasharray: 3 6; }
.baymap .route { fill: none; stroke: url(#route-grad); stroke-width: 1.4; stroke-dasharray: 2 7; stroke-linecap: round; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.baymap .pin { cursor: pointer; }
.baymap .pin circle.dot { fill: var(--turq); }
.baymap .pin circle.halo { fill: rgba(63, 214, 208, .18); transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }
.baymap .pin--port circle.dot { fill: var(--champagne); }
.baymap .pin--port circle.halo { fill: rgba(217, 186, 139, .2); }
.baymap .pin text { fill: var(--silver); font: 600 11px var(--f-sans); letter-spacing: .04em; }
.baymap .pin:hover text, .baymap .pin:focus text, .baymap .pin.is-active text { fill: #fff; }
.baymap .pin:focus { outline: none; }
.baymap .pin:focus-visible circle.dot { stroke: #fff; stroke-width: 2; }
.baymap .label-sea { fill: rgba(196, 207, 217, .35); font: 400 italic 18px var(--f-display); letter-spacing: .3em; }
.baymap .label-state { fill: rgba(196, 207, 217, .3); font: 400 9px var(--f-tech); letter-spacing: .3em; }
.baymap__legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--mist); }
.baymap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.baymap__legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.baymap-info { padding: 26px; border-radius: var(--r-l); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); min-height: 220px; }
.baymap-info h3 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 400; margin-bottom: .3em; }
.baymap-info .eyebrow { margin-bottom: .8rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 28px 24px 24px; border-radius: var(--r-l); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--f-tech); font-size: .7rem; letter-spacing: .25em; color: var(--champagne); margin-bottom: 18px; }
.steps h3 { margin-bottom: .4em; }
.steps p { margin: 0; font-size: .93rem; color: var(--mist); }
.section--pearl .steps li { background: #fff; border-color: var(--line-ink); }
.section--pearl .steps p { color: var(--ink-soft); }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery a { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; grid-column: span 4; aspect-ratio: 3 / 2; background: var(--navy-3); }
.gallery a:nth-child(5n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.gallery a.is-portrait { aspect-ratio: 2 / 3; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .gallery a, .gallery a:nth-child(5n+1) { grid-column: span 6; grid-row: auto; aspect-ratio: 3 / 2; } .gallery a:first-child { grid-column: span 12; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(3, 11, 21, .94); backdrop-filter: blur(6px); }
.lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 70px 70px 90px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r-s); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(5, 18, 31, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-family: var(--f-tech); font-size: .62rem; letter-spacing: .25em; color: var(--silver); }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, var(--navy) 0%, var(--abyss) 100%); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }
.faq__intro { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .faq__intro { position: static; } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 4px; font-family: var(--f-sans); font-weight: 600; font-size: 1.04rem; color: #fff; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; margin-top: -3px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: radial-gradient(circle, transparent 55%, transparent 56%), linear-gradient(var(--turq), var(--turq)) center / 10px 1.5px no-repeat, linear-gradient(var(--turq), var(--turq)) center / 1.5px 10px no-repeat;
  transition: transform .35s var(--ease), background-size .35s, border-color .3s;
}
.faq details[open] summary::after { transform: rotate(180deg); background-size: 10px 1.5px, 10px 1.5px, 1.5px 0; border-color: var(--turq); }
.faq summary:hover { color: var(--turq-soft); }
.faq__answer { padding: 0 4px 24px; color: var(--silver); max-width: 70ch; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq details[open] .faq__answer { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-l); padding: clamp(36px, 6vw, 72px); background: radial-gradient(700px 300px at 90% 10%, rgba(63, 214, 208, .22), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(217, 186, 139, .16), transparent 60%), linear-gradient(135deg, var(--navy-3), var(--abyss)); border: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band__art { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .22; pointer-events: none; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(15, 44, 68, .5), rgba(6, 22, 37, .85)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: #fff; }
.field label .req { color: var(--champagne); margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: rgba(3, 11, 21, .55); color: #fff; font: 400 1rem var(--f-sans); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(196, 207, 217, .45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(63, 214, 208, .18); background: rgba(3, 11, 21, .8); }
.field input[type="date"] { color-scheme: dark; }
.field .hint { font-size: .78rem; color: var(--mist); }
.field .error { font-size: .8rem; color: #ffb4a2; min-height: 0; }
.field.has-error input, .field.has-error textarea { border-color: #ff8f78; box-shadow: 0 0 0 3px rgba(255, 143, 120, .15); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(63, 214, 208, .1); border: 1px solid rgba(63, 214, 208, .45); color: #dffaf7; }
.form-status.is-error { background: rgba(255, 143, 120, .1); border: 1px solid rgba(255, 143, 120, .45); color: #ffe0d8; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-actions .small { margin: 0; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.yacht-chip { display: none; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; background: rgba(63, 214, 208, .08); border: 1px solid rgba(63, 214, 208, .3); font-size: .9rem; color: #e8fbf9; }
.yacht-chip.is-visible { display: flex; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-m); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.contact-list svg { width: 22px; height: 22px; color: var(--champagne); flex: none; margin-top: 2px; }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--turq-soft); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--abyss); border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 100px) 0 36px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--turq), var(--champagne), transparent); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .92rem; color: var(--mist); max-width: 40ch; margin-top: 18px; }
.site-footer h2 { font-family: var(--f-tech); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); margin-bottom: 18px; font-weight: 400; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--silver); text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { font-size: .92rem; color: var(--silver); }
.footer-contact span { display: block; font-size: .72rem; color: var(--mist); letter-spacing: .08em; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .8rem; color: var(--mist); }
.footer-bottom p { margin: 0; }

/* ---------- Misc ---------- */
.divider-wave { display: block; width: 100%; height: 40px; color: var(--line-strong); }
.kicker-line { display: flex; align-items: center; gap: 16px; font-family: var(--f-tech); font-size: .6rem; letter-spacing: .3em; color: var(--mist); text-transform: uppercase; }
.kicker-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list a, .pill-list span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--silver); font-size: .88rem; }
.pill-list a:hover { border-color: var(--turq); color: #fff; }
.section--pearl .pill-list a, .section--pearl .pill-list span { border-color: var(--line-ink); color: var(--ink-soft); }
.table-wrap { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-family: var(--f-tech); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); font-weight: 400; background: rgba(255, 255, 255, .02); }
table.data tr:last-child td { border-bottom: 0; }
table.data a { font-weight: 600; text-decoration: none; }
.section--pearl .table-wrap { border-color: var(--line-ink); background: #fff; }
.section--pearl table.data th, .section--pearl table.data td { border-color: var(--line-ink); }
.section--pearl table.data th { color: var(--bronze); }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 60px; background: radial-gradient(800px 500px at 50% 30%, rgba(18, 96, 107, .35), transparent 70%), var(--abyss); }
.notfound .instrument-wrap { width: min(300px, 70vw); margin: 0 auto 30px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; } .js .reveal-d2 { transition-delay: .2s; } .js .reveal-d3 { transition-delay: .3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__slide.is-active img, .page-hero__media img { animation: none; transform: none; }
  .instrument .draw { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
.motion-paused .instrument *, .motion-paused .hero__slide img, .motion-paused .baymap .route, .motion-paused .baymap .halo { animation-play-state: paused !important; }

@media print {
  .site-header, .hero__controls, .hero__instrument, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section--pearl, .section, .faq { background: #fff !important; color: #000; }
  h1, h2, h3, strong { color: #000 !important; }
  .faq details { break-inside: avoid; }
  .faq details:not([open]) .faq__answer { display: block; }
}

/* ---------- Contrast refinements for light (pearl) sections ---------- */
.section--pearl .tiers__count, .section--pearl .steps li::before, .section--pearl .specbar dt { color: var(--bronze); }
.section--pearl .feature h3 { color: var(--ink); }
.section--pearl .xlist li { color: var(--ink-soft); }
.section--pearl .xlist li::before { color: var(--bronze); }

/* Decorative animations pause while off screen (class toggled by js/site.js) */
.js .instrument:not(.in-view) *, .js .baymap:not(.in-view) * { animation-play-state: paused !important; }

/* Keep hero grids from growing to the intrinsic width of their content on small screens */
.hero, .page-hero, .notfound { grid-template-columns: minmax(0, 1fr); }
.specbar { width: 100%; }
@media (max-width: 520px) { .specbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .specbar div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.page-hero__media picture { height: 100%; }
@media (max-width: 760px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(3, 11, 21, .62) 0%, rgba(3, 11, 21, .5) 35%, rgba(3, 11, 21, .82) 70%, rgba(6, 22, 37, 1) 100%); }
  .page-hero .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
}
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(3, 11, 21, .62) 0%, rgba(3, 11, 21, .5) 25%, rgba(3, 11, 21, .74) 48%, rgba(3, 11, 21, .9) 72%, rgba(3, 11, 21, .97) 100%); }
  .hero .eyebrow, .hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
  .site-nav { background: var(--abyss); }
}

/* Footer Home / Contact links (mandatory site-wide navigation) */
.site-footer .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.site-footer .footer-nav a { font-weight: 600; color: var(--pearl); }

/* Small phones (< 375px): keep the logo and the Menu button on screen together */
@media (max-width: 374px) {
  .site-header .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .site-header .brand svg { width: 38px; height: 38px; }
  .site-header .brand__name { font-size: 1.34rem; }
  .nav-toggle { padding: 0 12px; gap: 7px; }
}
