:root {
  --ink: #10282e;
  --ink-soft: #345058;
  --muted: #65777d;
  --foam: #f4faf8;
  --mist: #e7f0ee;
  --white: #ffffff;
  --teal: #007f8c;
  --teal-deep: #065d67;
  --coral: #d96e4b;
  --accent: #d96e4b;
  --brass: #b58a48;
  --navy: #123f58;
  --keep: #1f8a5b;
  --merge: #e2b93b;
  --hide: #5e7581;
  --delete: #b44434;
  --shadow: 0 22px 70px rgba(18, 63, 88, 0.14);
  --shadow-soft: 0 14px 40px rgba(16, 40, 46, 0.1);
  --radius: 8px;
  --container: min(1140px, calc(100% - 40px));
  --header-offset: 7.25rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  overflow-x: clip;
  background: transparent;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

h1,
h2 {
  text-wrap: balance;
}

/* ============================================================
   Sitewide coastal background — realistic beach video with wave crash.
   Static aerial photo is the reduced-motion fallback.
   ============================================================ */
.beach-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.beach-background__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 38%;
  filter: saturate(1.05) contrast(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .beach-background {
    display: none;
  }

  body:not(.home-page) {
    background:
      linear-gradient(
        180deg,
        rgba(7, 31, 38, 0.28) 0,
        rgba(10, 39, 48, 0.16) 24rem,
        #d8c5a0 44rem,
        #d0bc94 60rem,
        #c8b48c 78rem,
        #b8d0cc 92rem,
        #1a6b78 112rem,
        #0e4f5c 156rem,
        #0a4550 232rem,
        #0d5563 100%
      );
  }

  .home-page .before-buy::before,
  body:not(.home-page)::before,
  .intro-band::before,
  .vessel-section::before,
  .who-we-help::before,
  .reputation::before {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll {
    transition: none !important;
  }
}

/* Calm, premium base improvements */
body {
  /* Slightly tighter comfortable measure for long body text */
  --text-measure: 68ch;
}

.section p:not(.eyebrow),
.page-panel p,
.contact-panel p,
.intro-grid p,
.services-copy p,
.vessel-card__body p,
.service-card p {
  max-width: var(--text-measure);
}

.home-page {
  background: transparent;
  overflow-x: clip;
}

.home-page main {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: transparent;
}

.home-page main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(70rem, 100vw, 90rem);
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 34, 41, 0.08) 0, rgba(8, 34, 41, 0.16) 42%, rgba(115, 151, 155, 0.24) 62%, rgba(182, 206, 207, 0.62) 78%, rgba(205, 221, 219, 0.94) 92%, #c2d4d2 100%),
    linear-gradient(90deg, rgba(5, 32, 42, 0.96) 0, rgba(5, 32, 42, 0.82) 42%, rgba(5, 32, 42, 0.34) 72%, rgba(5, 32, 42, 0.08) 100%),
    url("assets/images/hero-yacht-clean-flybridge.webp") clamp(54%, 6vw + 48%, 68%) top / 100% auto no-repeat;
  transform-origin: center top;
  filter: saturate(1.03) contrast(1.02);
  /* Fade the layer's bottom edge so it dissolves into the gradient beneath
     instead of hard-cutting where the element ends (~90rem). */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 22rem), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 22rem), transparent 100%);
}

.home-page .before-buy::before {
  content: "";
  position: absolute;
  inset: 0 -8% auto;
  height: 400vh;
  z-index: 0;
  pointer-events: none;
  display: none;
  background:
    url("assets/images/aerial-beach-shore.webp") 42% 36% / cover no-repeat;
  filter: saturate(1.05) contrast(1.04);
  opacity: 1;
  will-change: transform, background-position;
  animation: beachPhotoDrift 38s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 5rem, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 5rem, #000 100%);
}

.home-page main > * {
  position: relative;
  z-index: 1;
}

@keyframes homeCurrentDrift {
  0% {
    transform: translate3d(-2.5%, 0, 0) scale(1.02);
  }

  100% {
    transform: translate3d(2.5%, 3.5%, 0) scale(1.08);
  }
}

@keyframes homeCausticSweep {
  0% {
    background-position: 0% 0%, 0% 0%, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 200% 0%, -200% 0%, 0 0, 0 0, 0 0;
  }
}

@keyframes beachPhotoDrift {
  0% {
    background-position: 41.5% 35.5%;
    transform: translate3d(-0.22%, 0, 0) scale(1.018);
  }

  100% {
    background-position: 42.8% 36.8%;
    transform: translate3d(0.22%, 0.35%, 0) scale(1.028);
  }
}

/* ============================================================
   Beach background for every non-home page (matches homepage).
   A fixed aerial photo sits behind content; heroes stay opaque,
   and frosted panels keep copy legible over the water.
   ============================================================ */
body:not(.home-page) {
  background: transparent;
}

body:not(.home-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: none;
  background:
    url("assets/images/aerial-beach-shore.webp") 42% 36% / cover no-repeat;
  filter: saturate(1.05) contrast(1.04);
  opacity: 1;
  will-change: transform, background-position;
  animation: beachPhotoDrift 38s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Drop opaque section fills so the beach shows through */
body:not(.home-page) main > section:not(.page-hero):not(.hero):not(.reviews-hero):not(.about-hero):not(.reviews-cta):not(.about-cta),
body:not(.home-page) .page-body,
body:not(.home-page) .page-related,
body:not(.home-page) .intro-band,
body:not(.home-page) .testimonials,
body:not(.home-page) .contact-section {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

body:not(.home-page) .page-related::before,
body:not(.home-page) .intro-band::before,
body:not(.home-page) .contact-section::before {
  content: none;
}

/* Shared frosted surfaces — refined for premium, calm, legible "glass" over subtle coastal texture.
   Disciplined padding, slightly softer modern radius, and elevated but restrained shadow.
   These are the primary containers that keep content clear while the background stays quiet. */
.beach-surface,
.home-page .before-buy-grid > div,
.home-page .vessel-section .section-heading,
.home-page .services-section .services-copy,
.home-page .who-we-help .section-heading,
.home-page .testimonials .section-heading,
.home-page .contact-panel,
body:not(.home-page) .page-panel,
body:not(.home-page) .contact-panel,
body:not(.home-page) .testimonials .section-heading,
body:not(.home-page) .domonic-hero__copy {
  padding: 26px 30px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.975), rgba(244, 250, 248, 0.94));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(16, 40, 46, 0.12);
}

.home-page .contact-panel,
body:not(.home-page) .contact-panel {
  padding: 38px 42px;
  border-radius: calc(var(--radius) + 2px);
}

.beach-surface h2,
.home-page .before-buy-grid > div h2,
.home-page .vessel-section .section-heading h2,
.home-page .services-section .services-copy h2,
.home-page .who-we-help .section-heading h2,
.home-page .testimonials .section-heading h2,
.home-page .contact-panel h2,
body:not(.home-page) .page-panel h2,
body:not(.home-page) .testimonials .section-heading h2,
body:not(.home-page) .contact-panel h2 {
  color: var(--ink);
}

.beach-surface p:not(.eyebrow),
.home-page .before-buy-grid > div p,
.home-page .vessel-section .section-heading p:not(.eyebrow),
.home-page .services-section .services-copy p:not(.eyebrow),
.home-page .who-we-help .section-heading p:not(.eyebrow),
.home-page .testimonials .section-heading p:not(.eyebrow),
.home-page .contact-panel p:not(.eyebrow),
body:not(.home-page) .page-panel p:not(.eyebrow),
body:not(.home-page) .testimonials .section-heading p:not(.eyebrow),
body:not(.home-page) .contact-panel p:not(.eyebrow) {
  color: var(--ink-soft);
}

/* Inner-page section headings: clean typography on the beach */
body.inner-page .section-heading,
body.about-page .section-heading,
body.contact-page .section-heading {
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  max-width: 720px;
  margin-bottom: 28px;
}

body.inner-page .section-heading .eyebrow,
body.about-page .section-heading .eyebrow,
body.contact-page .section-heading .eyebrow {
  color: var(--coral);
}

body.inner-page .section-heading h2,
body.about-page .section-heading h2,
body.contact-page .section-heading h2 {
  color: var(--ink);
  line-height: 1.12;
  text-wrap: balance;
}

body.inner-page .section-heading p:not(.eyebrow),
body.about-page .section-heading p:not(.eyebrow),
body.contact-page .section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
}

body.inner-page .section-heading--center,
body.about-page .section-heading--center,
body.contact-page .section-heading--center {
  text-align: center;
  margin-inline: auto;
}

.home-page .contact-panel p:not(.eyebrow),
body:not(.home-page) .contact-panel p:not(.eyebrow) {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

body:not(.home-page) .section-heading--center {
  margin-inline: auto;
}

body:not(.home-page) .contact-section {
  padding: 56px 0 72px;
}

body:not(.home-page) .service-card,
.home-page .service-card {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(16, 40, 46, 0.1);
}

body:not(.home-page) .service-card h3,
.home-page .service-card h3 {
  color: var(--ink);
}

body:not(.home-page) .service-card p,
.home-page .service-card p {
  color: var(--ink-soft);
}

.home-page .vessel-card {
  color: var(--ink);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header .container {
  width: min(1480px, calc(100% - 56px));
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(9, 35, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 35, 42, 0.96);
  box-shadow: 0 12px 34px rgba(16, 40, 46, 0.12);
}

.site-header--solid {
  position: sticky;
  background: rgba(9, 35, 42, 0.98);
}

.contact-strip {
  background: rgba(4, 20, 25, 0.88);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.contact-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.contact-strip a {
  color: var(--white);
  font-weight: 700;
}

.contact-strip span {
  color: rgba(255, 255, 255, 0.64);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
}

.social-link__icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.social-link__icon rect,
.social-link__icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-link__icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.social-link__icon path {
  fill: currentColor;
}

.contact-strip .social-link {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-strip .social-link span {
  color: inherit;
}

.contact-strip .social-link:hover {
  color: var(--white);
  border-color: rgba(244, 117, 76, 0.65);
  background: rgba(244, 117, 76, 0.16);
}

.nav {
  position: relative;
  z-index: 2;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.brand__tagline {
  margin-top: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.25vw, 22px);
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.78rem, 0.72vw, 0.88rem);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--coral);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  padding: 11px clamp(14px, 1.05vw, 17px);
  box-shadow: 0 12px 26px rgba(0, 127, 140, 0.24);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

/* A4: emphasize the persistent contact CTA once the user starts scrolling */
.site-header.is-scrolled .nav-cta {
  box-shadow: 0 12px 30px rgba(0, 127, 140, 0.45);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-home {
  display: inline-flex;
  align-items: center;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-caret {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  padding-top: 17px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  filter: drop-shadow(0 18px 30px rgba(4, 20, 25, 0.35));
  z-index: 60;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s;
}

.nav-dropdown a {
  display: block;
  padding: 13px 18px;
  background: rgba(9, 35, 42, 0.98);
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-dropdown a:first-child {
  border-radius: 10px 10px 0 0;
  padding-top: 16px;
}

.nav-dropdown a:last-child {
  border-radius: 0 0 10px 10px;
  padding-bottom: 16px;
  border-bottom: 0;
}

.nav-links .nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(15, 52, 62, 0.98);
  color: var(--white);
}

.nav-dropdown__all {
  font-weight: 600;
  color: #7fd2dc;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 160px 0 26px;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 420px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 34, 41, 0), rgba(22, 54, 62, 0.32) 30%, rgba(88, 125, 132, 0.48) 62%, rgba(216, 232, 230, 0.84) 100%);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    url("assets/images/hero-yacht-clean-flybridge.webp")
    clamp(54%, 6vw + 48%, 68%) center / cover no-repeat;
  transform: scale(1.03);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.94), rgba(5, 32, 42, 0.78) 50%, rgba(5, 32, 42, 0.24)),
    linear-gradient(0deg, rgba(5, 32, 42, 0.7), rgba(5, 32, 42, 0.1) 48%);
}

.hero__content,
.proof-row {
  position: relative;
  z-index: 1;
}

.hero__content {
  align-self: center;
  padding-top: 36px;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb08e;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3rem, 4.7vw, 5.15rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero__copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
}

.hero__actions,
.inline-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1.1;
  touch-action: manipulation;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(217, 110, 75, 0.28);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section .button--secondary,
.contact-panel .button--secondary {
  border-color: rgba(16, 40, 46, 0.16);
  background: var(--white);
  color: var(--ink);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  align-self: end;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.proof-row div {
  padding: 20px 24px;
  background: rgba(7, 38, 48, 0.38);
}

/* B1: tighter stat-row spacing inside the narrower inner-page hero */
body:not(.home-page) .page-hero .proof-row {
  margin-top: 30px;
  align-self: start;
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  font-size: 1.36rem;
  line-height: 1.1;
}

.proof-row .star-rating {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3px;
  align-items: center;
}

.proof-row .star-rating svg {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--white);
  fill: currentColor;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28));
}

.proof-row span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.intro-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  border-bottom: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 60px;
  align-items: center;
  padding: 56px 0;
}

.intro-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.intro-grid p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Premium calmer rhythm — generous but not excessive breathing room */
  padding: 80px 0;
}

.intro-band::before,
.before-buy::before,
.vessel-section::before,
.who-we-help::before,
.reputation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      112deg,
      rgba(0, 127, 140, 0) 0,
      rgba(0, 127, 140, 0) 38px,
      rgba(0, 127, 140, 0.035) 39px,
      rgba(0, 127, 140, 0) 58px
    ),
    repeating-linear-gradient(
      68deg,
      rgba(217, 110, 75, 0) 0,
      rgba(217, 110, 75, 0) 82px,
      rgba(217, 110, 75, 0.025) 83px,
      rgba(217, 110, 75, 0) 118px
    );
  background-position: 0 0, 0 0;
  background-size: 360px 220px, 520px 280px;
  opacity: 0.16;
  animation: currentDrift 28s linear infinite;
}

.vessel-section::before,
.reputation::before {
  opacity: 0.12;
}

.intro-band > .container,
.section > .container,
.contact-section > .container {
  position: relative;
  z-index: 1;
}

.reveal-on-scroll {
  transform: translateY(22px);
  opacity: 1;
  transition: transform 700ms ease, opacity 700ms ease;
}

.reveal-on-scroll.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.vessel-card,
.service-card,
.audience-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.vessel-card:hover,
.service-card:hover,
.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 127, 140, 0.18);
  box-shadow: 0 24px 64px rgba(16, 40, 46, 0.14);
}

@keyframes currentDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 360px 220px, -520px 280px;
  }
}

.before-buy {
  background: transparent;
  border-bottom: 0;
}

.before-buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 60px;
  align-items: start;
}

.before-buy-grid h2 {
  margin-bottom: 0;
}

.before-buy-grid p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 38px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

/* A3: clearer hero -> body -> related cadence on inner pages */
body:not(.home-page) .page-body {
  padding-top: 72px;
  padding-bottom: 72px;
}

body:not(.home-page) .page-related {
  padding-top: 64px;
  padding-bottom: 80px;
}

body:not(.home-page) .section-heading {
  margin-bottom: 30px;
}

body:not(.home-page) .page-panel h2 {
  margin-bottom: 14px;
}

.vessel-section {
  background: transparent;
}

.vessel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vessel-card {
  overflow: hidden;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.vessel-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.vessel-card__body {
  padding: 24px;
}

.vessel-card__body span {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vessel-card__body p {
  margin-bottom: 0;
  color: var(--muted);
}

.services-section {
  background:
    linear-gradient(135deg, rgba(0, 127, 140, 0.09), rgba(217, 110, 75, 0.08)),
    var(--foam);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  align-items: start;
}

.services-copy {
  position: sticky;
  top: 138px;
}

.services-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 220px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: 0 18px 48px rgba(16, 40, 46, 0.08);
}

/* A1: inner-page service cards use the same frosted white surfaces as home */
body:not(.home-page) .service-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 248, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.15);
}

body:not(.home-page) .service-card::before {
  content: none;
}

.service-card--wide {
  min-height: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
}

.service-card--wide .service-icon {
  margin-bottom: 0;
}

.service-card--wide h3 {
  margin-bottom: 10px;
}

.service-card--wide p {
  grid-column: 2;
  max-width: 44ch;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(0, 127, 140, 0.12);
  color: var(--teal-deep);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Compact "liquid glass" training-path cards */
.service-grid--glass {
  gap: 14px;
}

.service-grid--glass .service-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 248, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.15);
}

.service-grid--glass .service-card::before {
  content: none;
}

.service-grid--glass .service-card > * {
  position: relative;
  z-index: 1;
}

.service-grid--glass .service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(0, 145, 156, 0.95), rgba(0, 110, 122, 0.85));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 16px rgba(0, 127, 140, 0.32);
}

.service-grid--glass .service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
}

.service-grid--glass .service-card h3 {
  margin-bottom: 0;
  color: var(--ink);
}

.service-grid--glass .service-card p {
  color: var(--ink-soft);
}

.sitemap-card {
  position: relative;
  display: flex;
  min-height: 214px;
  overflow: hidden;
  flex-direction: column;
  gap: 14px;
  border-width: 2px;
  padding: 18px;
}

.sitemap-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
}

.sitemap-card--keep {
  border-color: var(--keep);
  background: linear-gradient(180deg, rgba(31, 138, 91, 0.28), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 46px rgba(31, 138, 91, 0.18);
}

.sitemap-card--keep::before {
  background: var(--keep);
}

.sitemap-card--merge {
  border-color: var(--merge);
  background: linear-gradient(180deg, rgba(226, 185, 59, 0.42), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 46px rgba(226, 185, 59, 0.2);
}

.sitemap-card--merge::before {
  background: var(--merge);
}

.sitemap-card--hide {
  border-color: var(--hide);
  background: linear-gradient(180deg, rgba(94, 117, 129, 0.22), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 46px rgba(94, 117, 129, 0.16);
}

.sitemap-card--hide::before {
  background: var(--hide);
}

.sitemap-card--delete {
  border-color: var(--delete);
  background: linear-gradient(180deg, rgba(180, 68, 52, 0.34), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 46px rgba(180, 68, 52, 0.2);
}

.sitemap-card--delete::before {
  background: var(--delete);
}

.sitemap-card__link {
  display: block;
  flex: 1;
  color: inherit;
}

.sitemap-card__link p {
  overflow-wrap: anywhere;
}

.sitemap-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
}

.sitemap-copy {
  align-self: flex-start;
  min-height: 38px;
  min-width: 100%;
  border: 1px solid rgba(0, 127, 140, 0.22);
  border-radius: 8px;
  background: var(--teal-deep);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sitemap-copy:hover,
.sitemap-copy:focus-visible {
  background: var(--coral);
  border-color: rgba(217, 110, 75, 0.72);
  outline: none;
  transform: translateY(-1px);
}

.sitemap-copy:disabled {
  cursor: wait;
  opacity: 0.82;
}

.sitemap-copy.is-copied {
  background: #1f8a5b;
  border-color: rgba(31, 138, 91, 0.72);
}

.sitemap-copy.has-error {
  background: #9f3e2e;
  border-color: rgba(159, 62, 46, 0.7);
}

.sitemap-recommendation {
  display: grid;
  min-height: 42px;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(16, 40, 46, 0.1);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.86);
}

.sitemap-recommendation strong {
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.sitemap-recommendation span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.28;
}

.sitemap-recommendation--keep {
  border-color: rgba(31, 138, 91, 0.28);
  background: rgba(31, 138, 91, 0.12);
}

.sitemap-recommendation--merge {
  border-color: rgba(226, 185, 59, 0.44);
  background: rgba(226, 185, 59, 0.18);
}

.sitemap-recommendation--hide {
  border-color: rgba(94, 117, 129, 0.3);
  background: rgba(94, 117, 129, 0.1);
}

.sitemap-recommendation--delete {
  border-color: rgba(180, 68, 52, 0.34);
  background: rgba(180, 68, 52, 0.12);
}

.reputation {
  background: transparent;
}

.who-we-help {
  background: transparent;
}

.home-page .before-buy,
.home-page .vessel-section,
.home-page .services-section,
.home-page .who-we-help,
.home-page .testimonials,
.home-page .contact-section {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.home-page .hero {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Full-bleed stat bar: spans the whole viewport and drops onto the
   water seam so the hard line between hero photo and foam is hidden. */
.home-page .hero .proof-row {
  width: 100%;
  z-index: 2;
  margin-top: 48px;
  margin-bottom: -26px;
  margin-inline: 0;
  border-radius: 0;
  border-inline: 0;
  background: rgba(7, 38, 48, 0.46);
  /* Pad outer cells so text lines up with the page gutter, not the screen edge. */
  padding-inline: max((100% - var(--container)) / 2, 24px);
}

.home-page .before-buy .text-link,
.home-page .services-section .services-copy .text-link {
  color: var(--teal-deep);
}

.home-page .before-buy .text-link:hover,
.home-page .services-section .services-copy .text-link:hover,
.home-page .before-buy .text-link:focus-visible,
.home-page .services-section .services-copy .text-link:focus-visible {
  color: var(--teal);
}

/* Tighten vertical rhythm uniformly between all home-page sections */
.home-page .before-buy,
.home-page .vessel-section,
.home-page .services-section,
.home-page .who-we-help,
.home-page .testimonials {
  padding-top: 48px;
  padding-bottom: 48px;
}

.home-page .contact-section {
  padding-top: 56px;
  padding-bottom: 72px;
}

.home-page .testimonials .section-heading {
  display: block;
  max-width: 760px;
  margin-inline: auto;
}

/* Let the water layer (before-buy::before) extend down past this section;
   main's overflow:clip still trims the whole thing at the footer. */
.home-page .before-buy {
  overflow: visible;
}

.home-page .hero::after {
  content: none;
}

.home-page .hero__media,
.home-page .hero__overlay {
  display: none;
}

.home-page .vessel-section::before,
.home-page .who-we-help::before,
.home-page .reputation::before,
.home-page .contact-section::before {
  content: none;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.audience-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(9, 35, 42, 0.08), rgba(9, 35, 42, 0.86)),
    url("assets/images/docking-training-captain-reference.webp") center / cover;
  color: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.audience-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(9, 35, 42, 0.08), rgba(9, 35, 42, 0.86)),
    url("assets/images/hero-yacht-clean-flybridge.webp") center / cover;
}

.audience-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(9, 35, 42, 0.08), rgba(9, 35, 42, 0.86)),
    url("assets/images/yacht-systems-care.webp") center / cover;
}

.audience-card span {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.audience-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.reputation-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 620px;
}

.image-stack img {
  position: absolute;
  width: min(78%, 460px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack__primary {
  inset: 0 auto auto 0;
  aspect-ratio: 0.8 / 1;
  object-position: center;
  z-index: 2;
}

.image-stack__secondary {
  right: 0;
  bottom: 0;
  width: min(62%, 360px);
  aspect-ratio: 1 / 1.22;
  border: 8px solid var(--white);
  object-position: center;
  z-index: 1;
}

.reputation-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.quote {
  margin: 28px 0;
  border-left: 4px solid var(--coral);
  padding: 6px 0 6px 20px;
}

.quote p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 800;
}

.yacht-brands {
  background: var(--ink);
  color: var(--white);
}

.yacht-brands .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.boat-type-tool {
  max-width: 980px;
  margin: 0 auto;
}

.boat-type-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  padding: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.boat-type-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.boat-select {
  position: relative;
}

.boat-select__button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 20, 25, 0.72);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.boat-select__button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.boat-select__button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boat-select.is-open .boat-select__button {
  border-color: rgba(244, 117, 76, 0.78);
  background: rgba(4, 20, 25, 0.9);
  box-shadow: 0 0 0 4px rgba(244, 117, 76, 0.12);
}

.boat-select.is-open .boat-select__button svg {
  transform: rotate(180deg);
}

.boat-select__button:focus-visible {
  outline: 3px solid rgba(244, 117, 76, 0.42);
  outline-offset: 2px;
}

.boat-select__menu {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 6px;
  max-height: 310px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(244, 117, 76, 0.34);
  border-radius: 10px;
  background: rgba(5, 24, 30, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.boat-select__menu[hidden] {
  display: none;
}

.boat-select__menu button {
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
}

.boat-select__menu button:hover,
.boat-select__menu button:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.boat-select__menu button[aria-selected="true"] {
  color: var(--white);
  background: rgba(244, 117, 76, 0.18);
}

.boat-type-result {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(4, 20, 25, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.boat-type-result h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.boat-type-result p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.boat-type-result ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.boat-type-result li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.boat-type-result li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      115deg,
      rgba(0, 127, 140, 0) 0,
      rgba(0, 127, 140, 0) 44px,
      rgba(0, 127, 140, 0.035) 45px,
      rgba(0, 127, 140, 0) 70px
    );
  background-size: 440px 240px;
  opacity: 0.14;
  animation: currentDrift 32s linear infinite;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.contact-panel h2 {
  max-width: 740px;
}

.contact-panel p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Contact sections sit on the beach with a soft mist fade-in */
.home-page .contact-section,
body:not(.home-page) .contact-section {
  background:
    linear-gradient(
      180deg,
      rgba(200, 212, 210, 0) 0%,
      rgba(186, 204, 201, 0.42) 14%,
      rgba(231, 240, 238, 0.82) 34%,
      rgba(244, 250, 248, 0.96) 52%,
      rgba(244, 250, 248, 0.99) 100%
    );
}

.footer {
  background: #09232a;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.footer strong {
  display: block;
  color: var(--white);
}

.footer p {
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.footer-links a {
  color: var(--white);
}

.footer-links .social-link {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-links .social-link:hover {
  border-color: rgba(244, 117, 76, 0.72);
  background: rgba(244, 117, 76, 0.14);
}

.footer__copyright {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.footer__copyright p {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.88), rgba(5, 32, 42, 0.62)),
    url("assets/images/hero-yacht-clean-flybridge.webp") center / cover;
  color: var(--white);
  padding: 100px 0 86px;
}

.page-hero--training {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.56)),
    url("assets/images/hero-yacht-training-owner-coaching-domonic.webp") center / cover;
}

.page-hero--training-new-owners {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.56)),
    url("assets/images/hero-training-new-boat-owners.webp") center / cover;
}

.page-hero--training-families {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.56)),
    url("assets/images/hero-training-couples-families.webp") center / cover;
}

.page-hero--training-insurance {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.56)),
    url("assets/images/hero-training-insurance-signoffs.webp") center / cover;
}

.page-hero--maintenance {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.58)),
    url("assets/images/hero-yacht-maintenance-engine-room.webp") center / cover;
}

.page-hero--services {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.88), rgba(5, 32, 42, 0.52)),
    url("assets/images/hero-captain-services-flybridge.webp") center / cover;
}

.page-hero--buying {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("assets/images/hero-yacht-buying-consultation.webp") center / cover;
}

.page-hero--storm {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("assets/images/hero-yacht-storm-preparation.webp") center / cover;
}

.page-hero--collaboration {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("assets/images/hero-yacht-collaboration-dockside.webp") center / cover;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.page-hero h1 {
  margin-bottom: 20px;
  max-width: 20ch;
  font-size: clamp(2.5rem, 3.4vw, 3.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.page-body {
  background: transparent;
}

.page-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 22px;
  align-items: start;
}

.page-panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 248, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 28px;
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.15);
}

.page-panel--accent {
  background:
    linear-gradient(135deg, rgba(0, 127, 140, 0.1), rgba(217, 110, 75, 0.08)),
    var(--foam);
}

.page-panel h2 {
  font-size: clamp(1.7rem, 1.9vw, 2.2rem);
  line-height: 1.15;
}

.page-panel p:not(.eyebrow),
.page-list {
  color: var(--ink-soft);
}

.page-list {
  margin: 22px 0 0;
  padding-left: 20px;
}

.page-list li + li {
  margin-top: 10px;
}

.page-related {
  background: transparent;
}

.reviews-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(4, 24, 31, 0.96), rgba(6, 73, 82, 0.88)),
    url("assets/images/captain-consultation.webp") center / cover;
  color: var(--white);
  padding: 96px 0 86px;
}

.reviews-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 34px;
  align-items: end;
}

.reviews-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.1vw, 5.35rem);
}

.reviews-hero__copy p:not(.eyebrow) {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.reviews-score-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.reviews-score-card strong {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.reviews-score-card span:not(.review-stars) {
  color: rgba(255, 255, 255, 0.76);
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
}

.review-stars svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.review-stars path {
  fill: currentColor;
}

.reviews-proof {
  background: transparent;
}

.review-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-proof-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(244, 250, 248, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.review-proof-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 900;
}

.review-proof-grid h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.review-proof-grid p {
  color: var(--ink-soft);
}

.reviews-themes {
  background: transparent;
}

.reviews-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.review-theme-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.review-theme-card h3 {
  font-size: 1.26rem;
}

.review-theme-card p {
  color: var(--ink-soft);
}

.reviews-split {
  background: transparent;
}

.reviews-split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 24px;
  align-items: stretch;
}

.reviews-split__grid > div:first-child,
.reviews-split__panel {
  padding: 30px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: rgba(244, 250, 248, 0.82);
}

.reviews-split__grid p:not(.eyebrow) {
  max-width: 680px;
  color: var(--ink-soft);
}

.reviews-split__panel {
  background: var(--ink);
  color: var(--white);
}

.reviews-split__panel h3 {
  margin-bottom: 18px;
}

.reviews-split__panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews-split__panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 750;
}

.reviews-split__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.reviews-cta {
  background: var(--ink);
  color: var(--white);
}

.reviews-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.reviews-cta__inner p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(4, 24, 31, 0.96), rgba(5, 78, 88, 0.84)),
    url("assets/images/docking-training-captain-reference.webp") center / cover;
  color: var(--white);
  padding: 96px 0 86px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 34px;
  align-items: center;
}

.about-hero h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.1vw, 5.25rem);
}

.about-hero__copy p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.about-hero__media {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(7, 33, 41, 0.88);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
}

.about-hero__media img {
  width: 100%;
  aspect-ratio: 0.94 / 1;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
}

.about-hero__media figcaption {
  margin-top: 14px;
  padding: 0 2px 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.about-intro,
.about-proof {
  background: transparent;
}

body:not(.home-page) .about-intro__grid > div,
body:not(.home-page) .about-proof__grid > div:first-child,
body:not(.home-page) .reviews-split__grid > div:first-child {
  padding: 24px 28px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 248, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.15);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.about-intro__grid p:not(.eyebrow),
.about-proof__grid p:not(.eyebrow),
.about-services__panel p {
  color: var(--ink-soft);
}

.about-values {
  background: transparent;
}

.about-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-value-grid article {
  min-height: 290px;
  padding: 26px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.about-value-grid span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--accent);
  font-weight: 900;
}

.about-value-grid h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.about-value-grid p {
  color: var(--ink-soft);
}

.about-services {
  background: transparent;
}

.about-services__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}

.about-services__panel,
.about-service-list a,
.about-proof__stat,
.about-proof__grid > div:last-child {
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-services__panel {
  padding: 30px;
  background: var(--foam);
}

.about-services__panel--dark {
  background: var(--ink);
  color: var(--white);
}

.about-services__panel--dark p {
  color: rgba(255, 255, 255, 0.74);
}

.about-service-list {
  display: grid;
  gap: 12px;
}

.about-service-list a {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--white);
}

.about-service-list strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.about-service-list span {
  color: var(--ink-soft);
}

.about-proof__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.about-captain {
  background: var(--foam);
}

.about-captain__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 127, 140, 0.1), rgba(217, 110, 75, 0.08)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.about-captain__card h2 {
  margin-bottom: 12px;
}

.about-captain__card p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.about-proof__stat,
.about-proof__grid > div:last-child {
  padding: 30px;
  background: var(--foam);
}

.about-proof__stat {
  display: grid;
  gap: 14px;
  align-content: center;
}

.about-proof__stat strong {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.about-proof__stat span:not(.review-stars) {
  color: var(--ink-soft);
}

.about-cta {
  background: var(--ink);
  color: var(--white);
}

.about-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.about-cta__inner p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.about-page .about-values .section-heading,
.about-page .domonic-method .section-heading {
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.about-page .about-handoff {
  position: relative;
  padding: 48px 0 28px;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(231, 240, 238, 0.35) 0%,
      rgba(244, 250, 248, 0.72) 48%,
      rgba(231, 240, 238, 0.28) 100%
    );
}

.about-page .about-handoff__inner {
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 248, 0.96));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 56px rgba(16, 40, 46, 0.16);
}

.about-page .about-handoff__line {
  width: min(240px, 62%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 127, 140, 0.42), transparent);
}

.about-page .about-handoff .eyebrow {
  color: var(--coral);
  font-weight: 800;
}

.about-page .about-handoff h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

.about-page .about-handoff p:not(.eyebrow) {
  margin: 0;
  max-width: 52ch;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
}

.about-page .about-domonic {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
  padding-bottom: 24px;
}

.about-page .about-domonic__shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(244, 250, 248, 0.88) 14%,
      rgba(231, 240, 238, 0.52) 100%
    );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 72px rgba(16, 40, 46, 0.14);
}

.about-page .about-domonic__shell::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal) 45%, var(--coral));
}

.about-page .domonic-hero {
  padding: clamp(32px, 5vw, 52px) clamp(18px, 3vw, 34px) clamp(28px, 4vw, 44px);
}

.about-page .domonic-hero__copy {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 248, 0.94));
  box-shadow: 0 18px 46px rgba(16, 40, 46, 0.1);
}

.about-page .domonic-story {
  padding-top: 0;
  padding-bottom: 48px;
}

.about-page .domonic-story__grid,
.about-page .domonic-method {
  padding-inline: clamp(18px, 3vw, 34px);
}

.about-page .domonic-method {
  padding-bottom: clamp(36px, 5vw, 56px);
}

.about-page .about-domonic .section {
  padding-top: 0;
}

.about-page .domonic-method .section-heading {
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.domonic-hero {
  background: transparent;
  color: var(--ink);
  padding: 86px 0 76px;
}

.domonic-hero__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.domonic-photos {
  position: relative;
  min-height: 500px;
}

.domonic-photos img {
  display: block;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(16, 40, 46, 0.18);
}

.domonic-photos__portrait {
  position: absolute;
  right: 0;
  top: 0;
  width: min(72%, 420px);
  aspect-ratio: 0.75 / 1;
  object-fit: cover;
  object-position: 52% 44%;
}

.domonic-photos__child {
  position: absolute;
  left: 0;
  top: 13%;
  z-index: 1;
  width: min(52%, 330px);
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.domonic-hero h1 {
  margin-bottom: 8px;
  color: #303236;
  font-family: Inter, sans-serif;
  font-size: clamp(3.4rem, 6vw, 6rem);
  letter-spacing: 0;
}

.domonic-role {
  margin: 0 0 28px;
  color: var(--teal-deep);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* stat strip as a glass card so it reads on the water background */
.domonic-hero .proof-row {
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(150deg, rgba(0, 127, 140, 0.18), rgba(167, 232, 227, 0.12)),
    rgba(231, 240, 238, 0.46);
}

.domonic-hero .proof-row div {
  background: transparent;
}

.domonic-hero .proof-row strong {
  color: var(--ink);
}

.domonic-hero .proof-row span {
  color: var(--ink-soft);
}

.domonic-quotes {
  display: grid;
  gap: 20px;
  margin-bottom: 34px;
}

.domonic-quotes p {
  margin: 0;
  color: #093b5a;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
}

.button--ink {
  border-color: #0c4261;
  color: #0c4261;
  background: transparent;
}

.button--ink:hover,
.button--ink:focus-visible {
  background: #0c4261;
  color: var(--white);
}

.domonic-story {
  background: transparent;
}

.domonic-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.domonic-story__main {
  display: grid;
  gap: 22px;
  align-content: start;
}

.domonic-story .image-stack {
  min-height: 500px;
}

.domonic-story__grid article,
.domonic-story__panel {
  padding: 30px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.domonic-story__grid p:not(.eyebrow),
.domonic-method__grid p,
.domonic-cta p:not(.eyebrow) {
  color: var(--ink-soft);
}

.domonic-story__panel {
  background: var(--ink);
  color: var(--white);
}

.domonic-story__panel h3 {
  margin-bottom: 18px;
}

.domonic-story__panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.domonic-story__panel li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 750;
}

.domonic-story__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.domonic-method {
  background: transparent;
}

.domonic-method__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.domonic-method__grid article {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(0, 127, 140, 0.26) 0%, rgba(0, 127, 140, 0.08) 52%, rgba(167, 232, 227, 0.16) 100%),
    rgba(231, 240, 238, 0.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: 0 14px 38px rgba(16, 40, 46, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.domonic-method__grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 38%);
}

.domonic-method__grid article > * {
  position: relative;
  z-index: 1;
}

.domonic-method__grid span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--accent);
  font-weight: 900;
}

.domonic-method__grid h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.domonic-cta {
  background: var(--ink);
  color: var(--white);
}

.domonic-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.domonic-cta p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.captain-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(5, 32, 42, 0.96), rgba(6, 93, 103, 0.86)),
    url("assets/images/hero-yacht-clean-flybridge.webp") center / cover;
  color: var(--white);
  padding: 92px 0 84px;
}

.captain-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.captain-hero__copy {
  max-width: 720px;
}

.captain-hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 8vw, 7.4rem);
}

.captain-hero__copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.captain-hero__media {
  margin: 0;
}

.captain-hero__media img {
  width: 100%;
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.captain-hero__media figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.captain-profile {
  background: var(--white);
}

.captain-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 36px;
  align-items: start;
}

.captain-profile__story {
  max-width: 760px;
}

.captain-profile__story h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.captain-profile__story p:not(.eyebrow),
.captain-profile__facts span,
.captain-focus__grid p,
.captain-cta p:not(.eyebrow) {
  color: var(--ink-soft);
}

.captain-profile__facts {
  display: grid;
  gap: 12px;
}

.captain-profile__facts div,
.captain-focus__grid article {
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.captain-profile__facts strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.02rem;
}

.captain-profile__facts span {
  display: block;
  font-size: 0.95rem;
}

.captain-focus {
  background: var(--foam);
}

.captain-focus__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.captain-focus__grid article {
  min-height: 210px;
}

.captain-focus__grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.captain-cta {
  background:
    linear-gradient(135deg, rgba(6, 93, 103, 0.94), rgba(16, 40, 46, 0.96)),
    var(--teal-deep);
  color: var(--white);
}

.captain-cta__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.captain-cta__inner > div {
  max-width: 760px;
}

.captain-cta h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.captain-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cleanup-map-section {
  margin-bottom: 72px;
}

.cleanup-title {
  max-width: 850px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
}

.cleanup-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}

.cleanup-legend__item {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(16, 40, 46, 0.1);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0;
  transition: box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.cleanup-legend__item:hover,
.cleanup-legend__item:focus-visible,
.cleanup-legend__item.is-active {
  outline: none;
  box-shadow: 0 0 0 4px rgba(16, 40, 46, 0.12), 0 16px 28px rgba(16, 40, 46, 0.16);
  transform: translateY(-1px);
}

.cleanup-legend__item:not(.is-active) {
  opacity: 0.82;
}

.cleanup-legend__item--all {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.cleanup-legend__item--keep {
  border-color: var(--keep);
  background: var(--keep);
  color: var(--white);
}

.cleanup-legend__item--merge {
  border-color: var(--merge);
  background: var(--merge);
  color: var(--ink);
}

.cleanup-legend__item--hide {
  border-color: var(--hide);
  background: var(--hide);
  color: var(--white);
}

.cleanup-legend__item--delete {
  border-color: var(--delete);
  background: var(--delete);
  color: var(--white);
}

[data-filter-item][hidden] {
  display: none;
}

.spiderweb-map {
  position: relative;
  min-height: 800px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(16, 40, 46, 0.1);
  border-radius: var(--radius);
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(6, 93, 103, 0.18) 0 2px, transparent 2px 90px),
    linear-gradient(0deg, transparent 49.8%, rgba(6, 93, 103, 0.18) 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, rgba(6, 93, 103, 0.14) 50%, transparent 50.2%),
    linear-gradient(90deg, transparent 49.8%, rgba(6, 93, 103, 0.18) 50%, transparent 50.2%),
    linear-gradient(135deg, transparent 49.8%, rgba(6, 93, 103, 0.14) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 50%, rgba(0, 127, 140, 0.12), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(244, 250, 248, 0.92), rgba(255, 255, 255, 0.94));
  overflow: hidden;
}

.spiderweb-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 2px;
  transform-origin: center;
  translate: -50% -50%;
  background: linear-gradient(90deg, rgba(6, 93, 103, 0), rgba(6, 93, 103, 0.24), rgba(6, 93, 103, 0));
  pointer-events: none;
}

.spiderweb-line--one {
  transform: rotate(0deg);
}

.spiderweb-line--two {
  transform: rotate(45deg);
}

.spiderweb-line--three {
  transform: rotate(90deg);
}

.spiderweb-line--four {
  transform: rotate(135deg);
}

.spiderweb-core,
.cleanup-group {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(16, 40, 46, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.spiderweb-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(220px, 24vw, 270px);
  min-height: 214px;
  place-content: center;
  border: 3px solid var(--teal-deep);
  background:
    linear-gradient(135deg, rgba(6, 93, 103, 0.96), rgba(16, 40, 46, 0.96)),
    var(--teal-deep);
  color: var(--white);
  text-align: center;
  transform: translate(-50%, -50%);
}

.spiderweb-core strong {
  justify-self: center;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.spiderweb-core h3 {
  margin-bottom: 0;
  color: var(--white);
}

.spiderweb-core p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.spiderweb-node {
  position: absolute;
  width: clamp(170px, 18vw, 220px);
  min-height: 134px;
  gap: 10px;
  padding: 16px;
}

.spiderweb-node:nth-of-type(2) {
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
}

.spiderweb-node:nth-of-type(3) {
  left: 7%;
  top: 13%;
}

.spiderweb-node:nth-of-type(4) {
  right: 7%;
  top: 13%;
}

.spiderweb-node:nth-of-type(5) {
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
}

.spiderweb-node:nth-of-type(6) {
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
}

.spiderweb-node:nth-of-type(7) {
  left: 7%;
  bottom: 5%;
}

.spiderweb-node:nth-of-type(8) {
  left: 50%;
  bottom: 2.5%;
  transform: translateX(-50%);
}

.spiderweb-node:nth-of-type(9) {
  right: 7%;
  bottom: 5%;
}

body[data-sitemap-filter]:not([data-sitemap-filter="all"]) .spiderweb-map {
  display: grid;
  min-height: auto;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

body[data-sitemap-filter]:not([data-sitemap-filter="all"]) .spiderweb-core,
body[data-sitemap-filter]:not([data-sitemap-filter="all"]) .spiderweb-node {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  min-height: 150px;
  transform: none;
}

body[data-sitemap-filter]:not([data-sitemap-filter="all"]) .spiderweb-core {
  grid-column: 1 / -1;
  min-height: 170px;
}

body[data-sitemap-filter]:not([data-sitemap-filter="all"]) .spiderweb-line {
  display: none;
}

.cleanup-group--keep {
  border-color: var(--keep);
  border-width: 3px;
  background: linear-gradient(180deg, rgba(31, 138, 91, 0.28), rgba(255, 255, 255, 0.98));
}

.cleanup-group--merge {
  border-color: var(--merge);
  border-width: 3px;
  background: linear-gradient(180deg, rgba(226, 185, 59, 0.44), rgba(255, 255, 255, 0.98));
}

.cleanup-group--hide {
  border-color: var(--hide);
  border-width: 3px;
  background: linear-gradient(180deg, rgba(94, 117, 129, 0.22), rgba(255, 255, 255, 0.98));
}

.cleanup-group--delete {
  border-color: var(--delete);
  border-width: 3px;
  background: linear-gradient(180deg, rgba(180, 68, 52, 0.34), rgba(255, 255, 255, 0.98));
}

.cleanup-group__header strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.spiderweb-node .cleanup-group__header strong {
  min-height: 25px;
  margin-bottom: 8px;
  padding: 4px 9px;
  font-size: 0.68rem;
}

.cleanup-group--keep .cleanup-group__header strong {
  background: var(--keep);
}

.cleanup-group--merge .cleanup-group__header strong {
  background: var(--merge);
  color: var(--ink);
}

.cleanup-group--hide .cleanup-group__header strong {
  background: var(--hide);
}

.cleanup-group--delete .cleanup-group__header strong {
  background: var(--delete);
}

.cleanup-group__header h3 {
  margin-bottom: 6px;
}

.spiderweb-node .cleanup-group__header h3 {
  margin-bottom: 4px;
  font-size: clamp(0.94rem, 1.3vw, 1.08rem);
  line-height: 1.18;
}

.cleanup-group__header p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.spiderweb-node .cleanup-group__header p {
  font-size: 0.82rem;
  line-height: 1.35;
}

.cleanup-group__count {
  align-self: end;
  justify-self: start;
  margin: 0;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.cleanup-group__routes {
  display: grid;
  gap: 10px;
}

.cleanup-group__routes a {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.78);
}

.cleanup-group__routes a:hover,
.cleanup-group__routes a:focus-visible {
  border-color: rgba(0, 127, 140, 0.24);
  outline: none;
  box-shadow: 0 14px 32px rgba(16, 40, 46, 0.1);
}

.cleanup-group__routes span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.cleanup-group__routes small {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.sitemap-section + .sitemap-section {
  margin-top: 72px;
}

.sitemap-section {
  width: min(1500px, calc(100% - 40px));
}

.sitemap-grid--small {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1320px) {
  .sitemap-grid,
  .sitemap-grid--small {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .sitemap-grid,
  .sitemap-grid--small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1230px) {
  .nav-links {
    gap: 15px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1220px) {
  .contact-strip span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    max-height: min(72dvh, calc(100dvh - var(--header-offset)));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(16, 40, 46, 0.1);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    min-height: 48px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(16, 40, 46, 0.08);
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin: 12px;
    text-align: center;
  }

  .nav-home {
    display: block;
  }

  .nav-item,
  .nav-dropdown {
    display: contents;
    visibility: visible;
  }

  .nav-caret {
    display: none;
  }

  .nav-links .nav-dropdown a {
    background: none;
    color: var(--ink-soft);
    border-radius: 0;
    padding: 13px 18px 13px 34px;
    border-bottom: 1px solid rgba(16, 40, 46, 0.08);
    white-space: normal;
  }

  .nav-links .nav-dropdown a:hover,
  .nav-links .nav-dropdown a:focus-visible {
    background: none;
    color: var(--ink);
  }
}

@media (max-width: 980px) {
  :root {
    --header-offset: 6.75rem;
  }

  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-methods__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .before-buy-grid,
  .page-body__grid,
  .reviews-hero__grid,
  .review-proof-grid,
  .reviews-split__grid,
  .reviews-cta__inner,
  .about-hero__grid,
  .about-intro__grid,
  .about-value-grid,
  .about-services__grid,
  .about-captain__card,
  .about-proof__grid,
  .about-cta__inner,
  .domonic-hero__grid,
  .domonic-story__grid,
  .domonic-method__grid,
  .domonic-cta__inner,
  .captain-hero__grid,
  .captain-profile__grid,
  .services-layout,
  .reputation-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .services-copy {
    position: static;
  }

  .vessel-grid {
    grid-template-columns: 1fr;
  }

  .vessel-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .vessel-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .boat-type-card {
    grid-template-columns: 1fr;
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .captain-hero__media img {
    max-height: 620px;
    aspect-ratio: 1.08 / 1;
  }

  .captain-focus__grid {
    grid-template-columns: 1fr;
  }

  .captain-cta__inner {
    display: grid;
  }

  .contact-actions {
    align-items: flex-start;
  }

  .reviews-score-card {
    max-width: 420px;
  }

  .domonic-photos {
    min-height: 560px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .about-hero__media {
    max-width: 520px;
  }

  .reviews-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-page .page-hero h1 {
  max-width: min(100%, 15em);
}

.contact-page .page-hero .proof-row span a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.contact-page .page-hero .proof-row span a:hover,
.contact-page .page-hero .proof-row span a:focus-visible {
  color: var(--white);
}

.contact-methods {
  padding-top: 56px;
  padding-bottom: 24px;
}

.contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-method-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 248, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.15);
}

.contact-method-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.2;
}

.contact-method-card p:not(.eyebrow) {
  flex: 1 1 auto;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact-method-card .text-link {
  margin-top: 8px;
}

.contact-form-section {
  padding-top: 24px;
  padding-bottom: 72px;
}

.contact-form-section__inner {
  display: grid;
  gap: 28px;
}

.contact-page .contact-form-section__intro.section-heading {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  text-align: center;
}

.contact-page .contact-form-section__intro.section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-form-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 40, 46, 0.12);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form-frame__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal) 45%, var(--coral));
}

.contact-form-frame__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(9, 35, 42, 0.98), rgba(6, 93, 103, 0.94));
  color: var(--white);
}

.contact-form-frame__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.contact-form-frame__brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.contact-form-frame__brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-form-frame__brand-text strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.contact-form-frame__brand-text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form-frame__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-form-frame__body {
  position: relative;
  padding: clamp(14px, 2.4vw, 22px);
  background:
    linear-gradient(180deg, rgba(231, 240, 238, 0.72), rgba(244, 250, 248, 0.96));
}

.contact-form-frame__loader {
  position: absolute;
  inset: clamp(14px, 2.4vw, 22px);
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 14px;
  border-radius: 12px;
  background: rgba(244, 250, 248, 0.94);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.contact-form-frame__loader::before {
  content: "Loading captain request form";
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-form-frame__loader span {
  display: block;
  width: 56px;
  height: 4px;
  margin-inline: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-deep), var(--coral));
  animation: contactFormPulse 1.2s ease-in-out infinite alternate;
}

.contact-form-frame.is-ready .contact-form-frame__loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes contactFormPulse {
  from {
    transform: scaleX(0.72);
    opacity: 0.55;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.contact-form-embed {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 680px;
  height: 680px;
  border: 1px solid rgba(16, 40, 46, 0.08);
  border-radius: 12px;
  background: var(--foam);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 260ms ease;
}

.contact-form-frame.is-ready .contact-form-embed {
  opacity: 1;
}

.contact-form-frame__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 16px clamp(18px, 3vw, 28px);
  border-top: 1px solid var(--mist);
  background: rgba(244, 250, 248, 0.98);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.contact-form-frame__footer a {
  color: var(--teal-deep);
  font-weight: 800;
}

.contact-form-frame__footer a:hover,
.contact-form-frame__footer a:focus-visible {
  color: var(--coral);
}

@media (min-width: 1280px) {
  :root {
    --container: min(1180px, calc(100% - 48px));
  }

  .section {
    padding: 104px 0;
  }

  .hero__content {
    max-width: 620px;
  }

  .services-layout {
    gap: 64px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100% - 28px);
    --header-offset: 6.5rem;
  }

  .site-header .container {
    width: var(--container);
  }

  .contact-strip__inner {
    min-height: 40px;
    justify-content: center;
    gap: 12px;
    font-size: 0.76rem;
  }

  .contact-strip__inner a[href^="mailto:"],
  .contact-strip__inner span {
    display: none;
  }

  .contact-strip__inner a[href^="tel:"],
  .contact-strip__inner .social-link {
    white-space: nowrap;
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__tagline {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .home-page main::before {
    background-position: 58% top;
    background-size: auto 115%;
    height: clamp(52rem, 88vw, 70rem);
  }

  .home-page .before-buy::before {
    inset: 0;
    animation-duration: 48s;
  }

  .hero {
    min-height: 92svh;
    padding-top: 128px;
  }

  .page-hero {
    padding: 76px 0 58px;
  }

  .captain-hero {
    padding: 76px 0 58px;
  }

  .captain-hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.6rem);
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(5, 32, 42, 0.84), rgba(5, 32, 42, 0.24)),
      linear-gradient(90deg, rgba(5, 32, 42, 0.72), rgba(5, 32, 42, 0.12));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.16rem, 9.4vw, 3rem);
    line-height: 1.08;
  }

  .hero__copy {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .proof-row {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .reviews-theme-grid {
    grid-template-columns: 1fr;
  }

  .reviews-score-card,
  .reviews-split__grid > div:first-child,
  .reviews-split__panel,
  .reviews-cta__inner,
  .domonic-story__grid article,
  .domonic-story__panel,
  .domonic-method__grid article,
  .domonic-cta__inner,
  .about-services__panel,
  .about-service-list a,
  .about-proof__stat,
  .about-proof__grid > div:last-child,
  .about-cta__inner {
    padding: 22px;
  }

  .intro-grid {
    gap: 22px;
    padding: 42px 0;
  }

  .section {
    padding: 68px 0;
  }

  .about-page .about-handoff {
    padding-top: 32px;
    padding-bottom: 12px;
  }

  .about-page .about-domonic__shell {
    border-radius: 16px;
  }

  .about-page .domonic-hero {
    padding: 24px 16px 28px;
  }

  .domonic-hero {
    padding: 64px 0 58px;
  }

  .domonic-photos {
    min-height: 430px;
  }

  .domonic-photos__portrait {
    width: 68%;
  }

  .domonic-photos__child {
    width: 50%;
  }

  .domonic-quotes {
    gap: 14px;
  }

  .vessel-card {
    grid-template-columns: 1fr;
  }

  .vessel-card img {
    aspect-ratio: 1.25 / 1;
  }

  .contact-methods__grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    padding-top: 42px;
    padding-bottom: 18px;
  }

  .contact-form-section {
    padding-top: 18px;
    padding-bottom: 56px;
  }

  .contact-form-frame__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-frame__note {
    white-space: normal;
  }

  .contact-form-embed {
    min-height: 620px;
    height: 620px;
  }

  .service-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .service-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card--wide .service-icon {
    margin-bottom: 18px;
  }

  .service-card--wide p {
    grid-column: auto;
    max-width: none;
  }

  .boat-type-card {
    padding: 16px;
  }

  .boat-type-result {
    padding: 18px;
  }

  .sitemap-card__actions {
    grid-template-columns: 1fr;
  }

  .sitemap-copy {
    width: 100%;
  }

  .image-stack {
    min-height: 480px;
  }

  .image-stack img {
    width: 78%;
  }

  .contact-actions,
  .inline-actions,
  .hero__actions {
    align-items: stretch;
  }

  .button,
  .hero__actions a,
  .inline-actions a,
  .contact-actions a {
    width: 100%;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-links a {
    min-width: 0;
  }

  .footer-links .social-link {
    justify-content: flex-start;
    padding-inline: 8px;
  }

  .footer-links a[href^="tel:"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  :root {
    --container: calc(100% - 24px);
  }

  .section {
    padding: 56px 0;
  }

  .home-page .before-buy,
  .home-page .vessel-section,
  .home-page .services-section,
  .home-page .who-we-help,
  .home-page .testimonials {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .proof-row div {
    padding: 16px 18px;
  }

  .proof-row strong {
    font-size: 1.2rem;
  }

  .page-panel,
  .service-card,
  .vessel-card__body,
  .testimonial-card {
    padding: 20px;
  }

  .contact-form-embed {
    min-height: 560px;
    height: 560px;
    border-radius: 10px;
  }

  .contact-form-frame__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .domonic-photos {
    min-height: 360px;
  }

  .domonic-photos__portrait {
    width: 69%;
  }

  .domonic-photos__child {
    top: 16%;
    width: 51%;
  }

  .spiderweb-map {
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .spiderweb-core,
  .spiderweb-node {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    min-height: 150px;
    transform: none;
  }

  .spiderweb-line {
    display: none;
  }
}

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

  .contact-form-frame__loader span {
    animation: none;
  }

  .home-page .before-buy::before,
  body:not(.home-page)::before {
    display: block;
    animation: none;
    background-position: 42% 36%;
    transform: none;
    opacity: 1;
  }

  .reveal-on-scroll {
    transform: none;
    opacity: 1;
  }

  /* A5: drop backdrop-blur for reduced-motion / unsupported browsers,
     keeping a near-opaque surface so contrast holds */
  .beach-surface,
  .home-page .before-buy-grid > div,
  .home-page .vessel-section .section-heading,
  .home-page .services-section .services-copy,
  .home-page .who-we-help .section-heading,
  .home-page .testimonials .section-heading,
  .home-page .contact-panel,
  body:not(.home-page) .page-panel,
  body:not(.home-page) .section-heading,
  body:not(.home-page) .contact-panel,
  body:not(.home-page) .domonic-hero__grid > div:first-child,
  body:not(.home-page) .service-card,
  .service-grid--glass .service-card,
  .domonic-method__grid article {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(244, 250, 248, 0.96);
  }
}

/* Sticky mobile call/text bar: shown only on small screens, injected by script.js */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  gap: 1px;
  background: var(--mist);
  box-shadow: 0 -8px 24px rgba(16, 40, 46, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-cta-bar__btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.mobile-cta-bar__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-cta-bar__btn--call {
  background: var(--teal);
  color: var(--white);
}

.mobile-cta-bar__btn--text {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 720px) {
  .mobile-cta-bar {
    display: flex;
  }

  body.has-mobile-cta {
    padding-bottom: calc(56px + var(--safe-bottom));
  }

  .mobile-cta-bar__btn {
    min-height: 52px;
    touch-action: manipulation;
  }
}

/* Testimonials float on the beach; cards supply their own surfaces */
.testimonials {
  background: transparent;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-top: 12px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 30px 30px 28px;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.testimonial-card .review-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--brass);
}

.testimonial-card blockquote {
  margin: 0;
  flex: 1 1 auto;
}

.testimonial-card blockquote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.testimonial-card blockquote p + p {
  margin-top: 0.85em;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
  border-top: 1px solid var(--mist);
}

.testimonial-card__author strong {
  color: var(--ink);
  font-size: 1rem;
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-confirmation {
  padding-top: 24px;
  padding-bottom: 0;
}

.form-confirmation__panel {
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 127, 140, 0.12), rgba(217, 110, 75, 0.1));
  border: 1px solid rgba(0, 127, 140, 0.22);
  box-shadow: 0 12px 32px rgba(16, 40, 46, 0.1);
}

.form-confirmation__panel .eyebrow {
  margin-bottom: 6px;
}

.form-confirmation__panel p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ============================================================
   Sitewide polish — inner pages, rhythm, readability
   ============================================================ */
body.inner-page .page-hero h1,
body.about-page .about-hero h1 {
  max-width: min(100%, 16em);
}

body.inner-page .page-body,
body.inner-page .page-related,
body.inner-page .testimonials {
  padding-top: 56px;
  padding-bottom: 56px;
}

body.inner-page .page-related + .page-related {
  padding-top: 0;
  margin-top: -24px;
}

body.inner-page .page-related + .testimonials,
body.inner-page .page-body + .testimonials {
  padding-top: 40px;
}

body.inner-page .contact-section {
  padding-top: 48px;
  padding-bottom: 64px;
}

body.inner-page .page-panel {
  padding: clamp(22px, 3vw, 30px);
}

body.inner-page .service-card {
  min-height: 0;
}

body.inner-page .testimonials .section-heading {
  max-width: 760px;
}

.page-hero .hero__actions .button--primary {
  box-shadow: 0 16px 34px rgba(217, 110, 75, 0.32);
}

@media (max-width: 980px) {
  body.inner-page .page-body,
  body.inner-page .page-related,
  body.inner-page .testimonials {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (max-width: 720px) {
  body.inner-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.8vw, 2.65rem);
  }

  body.inner-page .page-body,
  body.inner-page .page-related,
  body.inner-page .testimonials,
  body.inner-page .contact-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  body.inner-page .section-heading {
    margin-bottom: 22px;
  }

  body.inner-page .section-heading h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.2rem);
  }

  body.inner-page .page-panel {
    padding: 22px 20px;
  }

  body.inner-page .service-grid {
    gap: 14px;
  }

  body.inner-page .page-hero .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.inner-page .page-hero .hero__actions .button {
    width: 100%;
    justify-content: center;
  }

  body.inner-page .proof-row {
    gap: 12px;
  }

  body.inner-page .proof-row > div {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0));
  }

  body.has-mobile-cta .footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0));
  }
}

body.inner-page .page-hero .proof-row > div strong {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
}

body.inner-page .page-hero .proof-row > div span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

body.inner-page .service-grid {
  gap: 18px;
}

body.inner-page .page-related + .page-related .section-heading {
  margin-top: 0;
}
