: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: var(--white);
  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;
}

/* ============================================================
   Motion & calm aesthetic (expert refinements for "cleaner & premium")
   - Beach with waves background (aerial-beach-shore.webp drift) is active and visible
     per user request, but refined: slower (52s), lower opacity, soft filter.
   - Fully respects prefers-reduced-motion (animation disabled).
   - Frosted panels + other polish keep the experience clean and premium.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .home-page .before-buy::before,
  body:not(.home-page)::before,
  body:not(.home-page) main::after,
  .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: #c8b48c;
  overflow-x: clip;
}

.home-page main {
  position: relative;
  overflow: clip;
  isolation: isolate;
  /* Calmer transition for premium feel — fewer aggressive stops, softer presence */
  background:
    linear-gradient(
      180deg,
      rgba(4, 20, 25, 0) 0,
      rgba(4, 20, 25, 0) calc(100% - 62rem),
      rgba(2, 14, 20, 0.22) calc(100% - 44rem),
      rgba(1, 8, 13, 0.58) 100%
    ),
    url("https://premiumcaptains.pages.dev/assets/images/ocean-floor-depth.webp") center bottom / 100% auto no-repeat,
    linear-gradient(
      180deg,
      rgba(7, 31, 38, 0.22) 0,
      rgba(10, 39, 48, 0.1) 42rem,
      #153d45 50rem,
      #c8d8d4 56rem,
      #7cb0b0 68rem,
      #2c8794 88rem,
      #126170 116rem,
      #083847 168rem,
      #041e2b 232rem,
      #020b12 100%
    );
}

.home-page main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(70rem, 100%, 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("https://premiumcaptains.pages.dev/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 {
  /* Animated teal "water" field behind all content, from just below the hero/
     stat bar down to the footer (main's overflow:clip trims the bottom edge).
     Soft caustic light pools drifting over a teal wash — procedural, no video,
     GPU-light. Reduced-motion disables the drift (see the media query above). */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 600vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  animation: none;
  /* Ocean depth: bright teal surface up top, darkening to deep ocean toward the
     footer — scrolling down reads as descending underwater. main's overflow:clip
     trims the bottom at the footer. */
  background:
    radial-gradient(90rem 28rem at 50% 0%, rgba(175, 231, 225, 0.28), transparent 64%),
    linear-gradient(180deg,
      rgba(39, 130, 143, 0.18) 0%,
      rgba(18, 90, 105, 0.34) 12%,
      rgba(10, 62, 78, 0.52) 34%,
      rgba(5, 35, 50, 0.72) 68%,
      rgba(1, 12, 20, 0.88) 100%);
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6rem, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 6rem, #000 100%);
}

/* God rays — sunlight shafts filtering down through the surface water, slowly
   swaying. Concentrated near the top (the "surface") and fading with depth, so
   the dive starts lit and descends into the dark. Pure CSS, GPU-light. */
.home-page .before-buy::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150vh;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    linear-gradient(100deg, transparent 32%, rgba(190, 240, 238, 0.10) 44%, rgba(212, 248, 246, 0.17) 47%, rgba(190, 240, 238, 0.10) 50%, transparent 60%),
    linear-gradient(92deg, transparent 44%, rgba(170, 230, 230, 0.08) 53%, rgba(202, 245, 243, 0.14) 55%, transparent 66%),
    linear-gradient(110deg, transparent 38%, rgba(160, 224, 224, 0.07) 50%, transparent 64%);
  background-size: 62% 100%, 82% 100%, 72% 100%;
  background-repeat: no-repeat;
  background-position: 10% 0, 60% 0, 85% 0;
  transform-origin: top center;
  will-change: transform, opacity;
  animation: oceanRays 13s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3rem, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 3rem, #000 40%, transparent 100%);
}

@keyframes oceanRays {
  from { transform: translateX(-4%) skewX(0deg); opacity: 0.55; }
  to   { transform: translateX(4%) skewX(-3deg); opacity: 0.9; }
}

@keyframes innerWaterLightDrift {
  0% {
    background-position: center 0, 5% 0, 92% 22%, -18rem 0, 108% 0;
    opacity: 0.28;
  }

  100% {
    background-position: center 4rem, 12% 3.5rem, 84% 16%, 18rem 0, 78% 0;
    opacity: 0.42;
  }
}

.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:
    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%
    );
}

/* Inner pages get the same ocean treatment as the homepage: a depth gradient
   that descends down <main> (teal surface below the hero into deep ocean toward
   the footer), the seabed image at the bottom, and a fixed god-ray sheen. */
body:not(.home-page) main {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg,
      #2c8794 0%,
      #18707f 20%,
      #0c4c5c 46%,
      #073846 72%,
      #04212e 100%);
}

body:not(.home-page) main::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: min(86rem, 68%);
  pointer-events: none;
  background: url("https://premiumcaptains.pages.dev/assets/images/ocean-floor-depth.webp") center bottom / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 22%, rgba(0, 0, 0, 0.06) 38%, rgba(0, 0, 0, 0.28) 62%, #000 88%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, transparent 22%, rgba(0, 0, 0, 0.06) 38%, rgba(0, 0, 0, 0.28) 62%, #000 88%, #000 100%);
}

body:not(.home-page) main::after {
  content: "";
  position: absolute;
  inset: clamp(22rem, 32vw, 34rem) 0 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: screen;
  background:
    url("https://premiumcaptains.pages.dev/assets/images/underwater-depth-light-texture.webp") center top / 100% auto repeat-y,
    radial-gradient(38rem 26rem at 18% 18%, rgba(196, 255, 238, 0.13), rgba(196, 255, 238, 0) 64%),
    radial-gradient(32rem 22rem at 78% 28%, rgba(144, 232, 228, 0.12), rgba(144, 232, 228, 0) 68%),
    linear-gradient(104deg, transparent 18%, rgba(210, 255, 245, 0.075) 28%, transparent 40%),
    linear-gradient(74deg, transparent 46%, rgba(174, 244, 238, 0.06) 54%, transparent 66%);
  background-size: 100% auto, 58rem 44rem, 46rem 38rem, 42rem 100%, 55rem 100%;
  background-position: center 0, 5% 0, 92% 22%, -18rem 0, 108% 0;
  background-repeat: repeat-y, no-repeat, no-repeat, no-repeat, no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8rem, #000 calc(100% - 18rem), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8rem, #000 calc(100% - 18rem), transparent 100%);
  will-change: background-position, opacity;
  animation: innerWaterLightDrift 22s ease-in-out infinite alternate;
}

body:not(.home-page) main > section {
  position: relative;
  z-index: 1;
}

body:not(.home-page)::before {
  /* God rays drifting over the surface — matches the homepage motion. */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    linear-gradient(100deg, transparent 34%, rgba(190, 240, 238, 0.08) 45%, rgba(212, 248, 246, 0.13) 48%, transparent 60%),
    linear-gradient(94deg, transparent 46%, rgba(170, 230, 230, 0.06) 54%, rgba(202, 245, 243, 0.10) 56%, transparent 68%);
  background-size: 70% 140%, 90% 140%;
  background-repeat: no-repeat;
  background-position: 15% 0, 70% 0;
  will-change: transform, opacity;
  animation: oceanRays 13s ease-in-out 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 {
  /* Light on the teal ocean (bare headings sit on the water, not on a card). */
  color: var(--white);
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(2, 18, 24, 0.4);
}

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: rgba(255, 255, 255, 0.86);
}

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;
}

/* Prose links (unclassed inline anchors in body content) need a visible
   affordance — the base <a> is intentionally unstyled for components. */
main p a:not([class]),
main li a:not([class]) {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

main p a:not([class]):hover,
main li a:not([class]):hover {
  color: var(--teal);
}

/* Visible keyboard focus indicator across all interactive elements. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Lighter ring where focus lands on dark hero / header / footer surfaces. */
.site-header a:focus-visible,
.site-header button:focus-visible,
.hero a:focus-visible,
.footer a:focus-visible {
  outline-color: var(--white);
}

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.82);
}

.contact-strip__service {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(109, 215, 213, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(0, 145, 156, 0.18), rgba(255, 255, 255, 0.04));
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.contact-strip__service svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #6dd7d5;
}

.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);
}

/* Desktop contact tooltip (popover injected by script.js) */
@media (min-width: 1221px) and (hover: hover) {
  .contact-strip__inner a[href^="mailto:"],
  .contact-strip__inner a[href^="tel:"] {
    cursor: pointer;
  }
}

.contact-pop {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  width: min(380px, calc(100% - 24px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 38, 48, 0.97);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  color: var(--white);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.contact-pop.is-open {
  opacity: 1;
  transform: translateY(0);
}

.contact-pop__title {
  margin: 0 0 10px;
  color: #ffb08e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-pop__row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.contact-pop__row:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-pop__row svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.85;
}

.contact-pop__row .contact-pop__mail-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-pop__value {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: clip;
  white-space: nowrap;
}

.contact-pop__copy {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-pop__copy svg {
  width: 15px;
  height: 15px;
  opacity: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-pop__check-icon {
  display: none;
}

.contact-pop__row.is-copied .contact-pop__copy {
  color: #7ee0c0;
  background: rgba(126, 224, 192, 0.13);
  transform: scale(1.04);
}

.contact-pop__row.is-copied .contact-pop__copy-icon {
  display: none;
}

.contact-pop__row.is-copied .contact-pop__check-icon {
  display: block;
}

.contact-pop__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.contact-pop__btn {
  flex: 1 1 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.contact-pop__btn--primary {
  border-color: transparent;
  background: var(--coral);
  color: #2a0f06;
}

.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.15;
}

.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.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.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.92);
  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("https://premiumcaptains.pages.dev/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: #ffc9b3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.1;
  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.95);
  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.9);
  font-size: 0.88rem;
}

.intro-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--foam);
  border-bottom: 1px solid rgba(16, 40, 46, 0.08);
}

.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,
body:not(.home-page) .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: var(--white);
  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: var(--white);
}

.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: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h12M13 7l5 5-5 5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h12M13 7l5 5-5 5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

.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-grid > .service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, calc((100% - 16px) / 2));
  justify-self: center;
}

body:not(.home-page) .page-related .service-grid:not(.service-grid--glass) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.home-page) .page-related .service-grid:not(.service-grid--glass) > .service-card:last-child:nth-child(odd) {
  grid-column: auto;
  width: auto;
  justify-self: stretch;
}

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

.service-card__media,
.page-panel__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 12px 28px rgba(2, 19, 27, 0.16);
}

.service-card__media {
  height: clamp(88px, 9vw, 124px);
  margin: -2px 0 8px;
  min-height: 0;
  opacity: 0.92;
}

.service-card__media--below {
  width: calc(100% - 12px);
  height: clamp(132px, 13vw, 178px);
  margin: auto 6px 0;
  object-position: center;
}

.page-panel__media {
  margin-bottom: clamp(18px, 3vw, 26px);
  opacity: 0.9;
}

body:not(.home-page) .service-grid--glass .service-card:has(.service-card__media) {
  gap: 12px;
}

body:not(.home-page) .service-card:has(.service-card__media) {
  padding: 14px;
}

body:not(.home-page) .service-card:has(.service-card__media) h3,
body:not(.home-page) .service-card:has(.service-card__media) p,
body:not(.home-page) .service-card:has(.service-card__media) .service-icon {
  margin-left: 6px;
  margin-right: 6px;
}

.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: none;
}

.service-icon--solid svg {
  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);
}

.service-card:has(> .service-icon) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 14px;
  align-content: start;
}

.service-card:has(> .service-icon) .service-icon {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  width: 38px;
  height: 38px;
  margin: -2px 0 0;
  border-radius: 10px;
}

.service-card:has(> .service-icon) .service-icon svg {
  width: 21px;
  height: 21px;
}

.service-card:has(> .service-icon) h3 {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin-bottom: 0;
}

.service-card:has(> .service-icon) p,
.service-card:has(> .service-icon) .service-card__media {
  grid-column: 1 / -1;
}

.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: var(--white);
}

.who-we-help {
  background: var(--white);
}

.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;
}

.home-page .hero__content {
  padding-bottom: clamp(7.5rem, 14vh, 10rem);
}

/* Full-bleed stat bar: anchored to the hero bottom so resizing cannot open
   a transition gap between the photo and the stats. */
.home-page .hero .proof-row {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  z-index: 2;
  margin: 0;
  margin-inline: 0;
  /* One clean uniform band: no border seams, no cell-gap lines, full bleed. */
  gap: 0;
  border: 0;
  border-radius: 0;
  background: rgba(6, 33, 43, 0.6);
  /* Pad outer cells so text lines up with the page gutter, not the screen edge. */
  padding-inline: max((100% - var(--container)) / 2, 24px);
}

/* Center each stat within its cell — balanced columns, no dead space on the
   right, and vertically centered so text isn't pinned to the bottom edge.
   Transparent cells so the row's dark wash reads as one solid strip. */
.home-page .hero .proof-row div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 26px;
  background: transparent;
}

.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 .before-buy {
  padding-bottom: 28px;
}

.home-page .vessel-section {
  padding-top: 28px;
}

.home-page .testimonials .section-heading {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-page .testimonials .section-heading::before,
.home-page .testimonials .section-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.home-page .testimonials .section-heading::before {
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(235, 248, 245, 0.96) 0%, rgba(224, 242, 239, 0.84) 45%, rgba(217, 238, 235, 0.72) 100%),
    url("https://premiumcaptains.pages.dev/assets/images/hero-yacht-collaboration-dockside.webp") right center / cover no-repeat;
  filter: saturate(0.86) contrast(0.92);
}

.home-page .testimonials .section-heading::after {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.44), transparent 34%),
    linear-gradient(180deg, rgba(246, 253, 251, 0.36), rgba(205, 232, 229, 0.3)),
    url("https://premiumcaptains.pages.dev/assets/images/about-nautical-chart-accent.webp") 80% center / cover no-repeat;
  opacity: 0.44;
  mix-blend-mode: screen;
}

.home-page .testimonials .section-heading > * {
  position: relative;
  z-index: 2;
}

/* Homepage sea-glass surfaces: one reusable custom texture for the bright
   cards/panels so they sit inside the underwater scene instead of flashing
   stark white against it. */
.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,
.home-page .service-card,
.home-page .vessel-card,
.home-page .testimonial-card {
  background:
    linear-gradient(155deg, rgba(235, 248, 245, 0.9), rgba(211, 232, 229, 0.86)),
    url("https://premiumcaptains.pages.dev/assets/images/sea-glass-panel.webp") center / cover no-repeat;
  border: 1px solid rgba(198, 230, 226, 0.72);
  box-shadow: 0 18px 46px rgba(2, 19, 27, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

/* Inner pages: same sea-glass card surface as the homepage (replaces the old
   plain white frosted panels). */
body:not(.home-page) .page-panel,
body:not(.home-page) .service-card,
body:not(.home-page) .vessel-card,
body:not(.home-page) .audience-card,
body:not(.home-page) .boat-type-card,
body:not(.home-page) .testimonial-card,
body:not(.home-page) .contact-panel,
body:not(.home-page) .testimonials .section-heading,
body:not(.home-page) .domonic-hero__copy {
  background:
    linear-gradient(155deg, rgba(235, 248, 245, 0.9), rgba(211, 232, 229, 0.86)),
    url("https://premiumcaptains.pages.dev/assets/images/sea-glass-panel.webp") center / cover no-repeat;
  border: 1px solid rgba(198, 230, 226, 0.72);
  box-shadow: 0 18px 46px rgba(2, 19, 27, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.home-page .service-icon {
  background: rgba(0, 127, 140, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.home-page .testimonial-card__author {
  border-top-color: rgba(11, 75, 86, 0.13);
}

/* Home card layout pass: stable proportions, fewer oversized panels, and
   repeatable heights so the page scans as one designed system. */
.home-page .before-buy-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.82fr);
  gap: clamp(16px, 2vw, 24px);
}

.home-page .before-buy-grid > div {
  min-height: clamp(255px, 20vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-page .before-buy-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.home-page .before-buy-feature > div {
  min-width: 0;
}

.home-page .before-buy-grid h2 {
  max-width: 14.6ch;
  font-size: clamp(2.35rem, 3vw, 3.1rem);
  line-height: 1.04;
  text-wrap: balance;
}

.home-page .before-buy-feature h2 {
  max-width: 13.8ch;
}

.home-page .before-buy-feature p:not(.eyebrow) {
  max-width: 38ch;
}

.home-page .before-buy-grid .section-heading {
  max-width: none;
  align-self: stretch;
  margin: 0;
}

.home-page .before-buy-grid .section-heading h2 {
  max-width: 10.5ch;
}

.home-page .vessel-section .section-heading,
.home-page .who-we-help .section-heading,
.home-page .testimonials .section-heading {
  padding: clamp(26px, 3vw, 38px);
}

.home-page .vessel-section .section-heading h2,
.home-page .who-we-help .section-heading h2,
.home-page .testimonials .section-heading h2 {
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.home-page .vessel-grid {
  align-items: stretch;
  gap: clamp(16px, 2vw, 22px);
}

.home-page .vessel-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.home-page .vessel-card img {
  flex: 0 0 auto;
  height: clamp(210px, 17vw, 260px);
  aspect-ratio: auto;
}

.home-page .vessel-card__body {
  flex: 1 1 auto;
  min-height: 208px;
  display: flex;
  flex-direction: column;
}

.home-page .vessel-card__body p {
  margin-top: auto;
}

.home-page .services-layout {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.34fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.home-page .services-copy {
  padding: clamp(28px, 3vw, 36px);
}

.home-page .services-copy h2 {
  max-width: 11.8ch;
  font-size: clamp(2.35rem, 4.4vw, 3.7rem);
  line-height: 1.04;
}

.home-page .service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 18px);
  align-items: stretch;
}

.home-page .service-card {
  grid-column: span 3;
  min-height: clamp(188px, 15vw, 226px);
  display: flex;
  flex-direction: column;
}

.home-page .service-card--wide {
  grid-column: 1 / -1;
  min-height: 132px;
  align-items: center;
}

.home-page .service-card p {
  margin-top: auto;
}

.home-page .audience-grid {
  gap: clamp(14px, 1.8vw, 18px);
  align-items: stretch;
}

.home-page .who-we-help .section-heading {
  display: grid;
  position: relative;
  overflow: hidden;
  max-width: none;
  padding: clamp(24px, 2.6vw, 34px);
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1fr);
  column-gap: clamp(24px, 3.5vw, 48px);
  row-gap: 10px;
  align-items: end;
}

.home-page .who-we-help .section-heading::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(66%, 880px);
  border-radius: 0 calc(var(--radius) + 2px) calc(var(--radius) + 2px) 44px;
  background:
    linear-gradient(90deg, rgba(225, 244, 241, 0.98) 0%, rgba(225, 244, 241, 0.66) 32%, rgba(225, 244, 241, 0.12) 78%),
    linear-gradient(180deg, rgba(225, 244, 241, 0.06) 0%, rgba(225, 244, 241, 0.62) 100%),
    url("https://premiumcaptains.pages.dev/assets/images/who-we-work-with-panel.png") center / cover no-repeat;
  opacity: 0.86;
  pointer-events: none;
}

.home-page .who-we-help .section-heading > * {
  position: relative;
  z-index: 1;
}

.home-page .who-we-help .section-heading .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.home-page .who-we-help .section-heading h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 17ch;
  font-size: clamp(2rem, 3.2vw, 2.95rem);
  line-height: 1.08;
  text-wrap: balance;
}

.home-page .who-we-help .section-heading p {
  grid-column: 2;
  grid-row: 2;
  max-width: 58rem;
  margin-bottom: 0.15rem;
}

.home-page .audience-card {
  min-height: clamp(210px, 16vw, 250px);
}

.home-page .testimonial-grid {
  align-items: stretch;
  gap: clamp(18px, 2vw, 24px);
}

.home-page .testimonial-card {
  min-height: clamp(292px, 25vw, 360px);
}

.home-page .testimonials {
  position: relative;
}

.home-page .testimonials::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  height: clamp(16px, 1.65vw, 24px);
  pointer-events: none;
  border-top: 1px solid rgba(188, 230, 221, 0.13);
  border-bottom: 1px solid rgba(1, 18, 25, 0.58);
  background:
    radial-gradient(120% 220% at 18% 0%, rgba(147, 218, 203, 0.12), rgba(147, 218, 203, 0) 48%),
    radial-gradient(100% 190% at 84% 100%, rgba(3, 52, 60, 0.56), rgba(3, 52, 60, 0) 56%),
    linear-gradient(90deg, rgba(2, 28, 35, 0.94), rgba(10, 76, 78, 0.84) 46%, rgba(2, 28, 35, 0.95)),
    linear-gradient(180deg, rgba(111, 182, 169, 0.12), rgba(1, 18, 25, 0.5));
  -webkit-backdrop-filter: blur(14px) saturate(1.06);
  backdrop-filter: blur(14px) saturate(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -8px 18px rgba(1, 16, 24, 0.3),
    0 10px 24px rgba(2, 23, 31, 0.2);
}

.home-page .contact-panel {
  min-height: clamp(270px, 22vw, 340px);
}

/* 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("https://premiumcaptains.pages.dev/assets/images/audience-boat-owners-card.png") 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("https://premiumcaptains.pages.dev/assets/images/audience-brokers-yards-card.png") center / cover;
}

.audience-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(9, 35, 42, 0.08), rgba(9, 35, 42, 0.86)),
    url("https://premiumcaptains.pages.dev/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 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.contact-panel::before {
  z-index: 0;
  background: url("https://premiumcaptains.pages.dev/assets/images/contact-request-panel.webp") right center / cover no-repeat;
  opacity: 0.42;
  filter: saturate(0.86) contrast(0.96);
}

.contact-panel::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(236, 250, 247, 0.98) 0%, rgba(236, 250, 247, 0.95) 42%, rgba(236, 250, 247, 0.72) 70%, rgba(236, 250, 247, 0.58) 100%),
    radial-gradient(70% 100% at 88% 20%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 58%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.4), rgba(144, 211, 203, 0.22));
}

.contact-panel > * {
  position: relative;
  z-index: 2;
}

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

.contact-panel .contact-actions {
  justify-content: flex-end;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(236, 250, 247, 0.28);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: 0 18px 42px rgba(2, 26, 34, 0.1);
}

/* Inner-page contact section sits on the beach with a soft mist fade-in */
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%
    );
}

/* Homepage: the deepest point of the dive — continue darkening into the ocean
   floor and meet the footer color exactly, so there's no bright seam. */
.home-page .contact-section {
  background:
    linear-gradient(
      180deg,
      rgba(5, 26, 34, 0.22) 0%,
      rgba(4, 22, 30, 0.66) 30%,
      rgba(3, 15, 22, 0.88) 66%,
      #09232a 100%
    ),
    url("https://premiumcaptains.pages.dev/assets/images/ocean-floor-depth.webp") center bottom / cover no-repeat,
    #09232a;
}

.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__brand-column {
  max-width: 420px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-brand__mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 150, 170, 0.24));
}

.footer-brand__text {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.footer-brand__name {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 2.1vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-brand__tagline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.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("https://premiumcaptains.pages.dev/assets/images/hero-yacht-clean-flybridge.webp") center / cover;
  color: var(--white);
  padding: 100px 0 86px;
}

body.inner-page .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  z-index: 2;
  height: clamp(14px, 1.7vw, 22px);
  pointer-events: none;
  border-top: 1px solid rgba(190, 232, 222, 0.14);
  border-bottom: 1px solid rgba(1, 22, 30, 0.48);
  background:
    radial-gradient(110% 180% at 22% 0%, rgba(156, 220, 204, 0.13) 0%, rgba(156, 220, 204, 0) 48%),
    radial-gradient(95% 170% at 82% 96%, rgba(8, 74, 78, 0.46) 0%, rgba(8, 74, 78, 0) 56%),
    linear-gradient(90deg, rgba(3, 37, 44, 0.9), rgba(16, 91, 91, 0.82) 46%, rgba(4, 47, 54, 0.92)),
    linear-gradient(180deg, rgba(141, 204, 190, 0.12), rgba(1, 30, 40, 0.44));
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -8px 18px rgba(1, 22, 30, 0.28),
    0 10px 26px rgba(2, 28, 36, 0.22);
}

body.inner-page .page-hero {
  overflow: visible;
}

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

.page-hero--training-webinar {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.56)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-training-webinar-helm.png") center / cover;
}

.page-hero--training-new-owners {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.56)),
    url("https://premiumcaptains.pages.dev/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("https://premiumcaptains.pages.dev/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("https://premiumcaptains.pages.dev/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("https://premiumcaptains.pages.dev/assets/images/hero-yacht-maintenance-engine-room.webp") center / cover;
}

.page-hero--engine-repair {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.58)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-engine-repair-diagnostics.png") center / cover;
}

.page-hero--boat-mechanic {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.58)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-boat-mechanic-dockside.png") center / cover;
}

.page-hero--mechanical-repairs {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.58)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-mechanical-repairs-diagnostics.png") center / cover;
}

.page-hero--vessel-fitness {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.58)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-vessel-fitness-checklist.png") center / cover;
}

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

.page-hero--service-relocation {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.88), rgba(5, 32, 42, 0.52)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-service-relocation-delivery.png") center / cover;
}

.page-hero--service-survey {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.88), rgba(5, 32, 42, 0.52)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-service-survey-trial.png") center / cover;
}

.page-hero--service-shore-refit {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.88), rgba(5, 32, 42, 0.52)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-service-shore-refit.png") center / cover;
}

.page-hero--buying {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("https://premiumcaptains.pages.dev/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("https://premiumcaptains.pages.dev/assets/images/hero-yacht-storm-preparation.webp") center / cover;
}

.page-hero--storm-management {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-storm-management-planning.png") center / cover;
}

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

.page-hero--contact {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-contact-dockside-consult.png") center / cover;
}

.page-hero--who-owners {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-who-boat-owners-helm.png") center / cover;
}

.page-hero--who-brokers-yards {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-who-brokers-yards-handoff.png") center / cover;
}

.page-hero--who-insurance {
  background:
    linear-gradient(90deg, rgba(5, 32, 42, 0.9), rgba(5, 32, 42, 0.54)),
    url("https://premiumcaptains.pages.dev/assets/images/hero-who-insurance-readiness.png") 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("https://premiumcaptains.pages.dev/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("https://premiumcaptains.pages.dev/assets/images/about-hero-dockside-plan.png") center / cover;
  color: var(--white);
  padding: 96px 0 86px;
}

body.about-page .about-hero {
  overflow: visible;
}

body.about-page .about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  z-index: 2;
  height: clamp(14px, 1.7vw, 22px);
  pointer-events: none;
  border-top: 1px solid rgba(190, 232, 222, 0.14);
  border-bottom: 1px solid rgba(1, 22, 30, 0.48);
  background:
    radial-gradient(110% 180% at 22% 0%, rgba(156, 220, 204, 0.13) 0%, rgba(156, 220, 204, 0) 48%),
    radial-gradient(95% 170% at 82% 96%, rgba(8, 74, 78, 0.46) 0%, rgba(8, 74, 78, 0) 56%),
    linear-gradient(90deg, rgba(3, 37, 44, 0.9), rgba(16, 91, 91, 0.82) 46%, rgba(4, 47, 54, 0.92)),
    linear-gradient(180deg, rgba(141, 204, 190, 0.12), rgba(1, 30, 40, 0.44));
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  backdrop-filter: blur(16px) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -8px 18px rgba(1, 22, 30, 0.28),
    0 10px 26px rgba(2, 28, 36, 0.22);
}

.about-hero__grid {
  position: relative;
  z-index: 1;
  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.about-page .about-hero + .about-intro {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 30px;
}

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);
}

/* Reworked about page flow: lighter top story, Domonic earlier, tighter cards. */
body.about-page .section {
  padding-block: clamp(48px, 6vw, 72px);
}

body.about-page .about-hero {
  min-height: auto;
  padding: clamp(72px, 8vw, 108px) 0 clamp(70px, 8vw, 100px);
}

body.about-page .about-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.38fr);
  gap: clamp(28px, 5vw, 62px);
}

body.about-page .about-hero h1 {
  max-width: 11.5em;
  font-size: clamp(3.35rem, 5.4vw, 6rem);
  line-height: 1.02;
}

body.about-page .about-hero__copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

body.about-page .about-hero__media {
  align-self: end;
  padding: 10px;
  border-radius: 14px;
  background: rgba(6, 32, 40, 0.72);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

body.about-page .about-hero__media img {
  aspect-ratio: 1.02 / 1;
  border-radius: 10px;
}

body.about-page .about-intro {
  padding-top: 42px;
}

body.about-page .about-intro__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(244, 250, 248, 0.94), rgba(213, 238, 235, 0.82)),
    rgba(244, 250, 248, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  box-shadow: 0 20px 52px rgba(16, 40, 46, 0.14);
}

body.about-page .about-intro__heading h2 {
  max-width: 11.5em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 3.45vw, 3.85rem);
  line-height: 1.08;
}

body.about-page .about-intro__copy {
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

body.about-page .about-intro__copy p:last-child {
  margin-bottom: 0;
}

body.about-page .about-snapshot {
  padding-top: clamp(46px, 5vw, 68px);
  padding-bottom: clamp(46px, 5vw, 68px);
}

body.about-page .about-snapshot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

body.about-page .about-snapshot__grid article {
  min-height: 104px;
  display: grid;
  align-content: center;
  padding: 20px 22px;
  border: 1px solid rgba(219, 250, 244, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(14, 79, 92, 0.62), rgba(4, 33, 46, 0.58)),
    rgba(5, 45, 54, 0.48);
  -webkit-backdrop-filter: blur(14px) saturate(1.14);
  backdrop-filter: blur(14px) saturate(1.14);
  box-shadow: 0 14px 34px rgba(3, 30, 38, 0.16);
}

body.about-page .about-snapshot__grid strong,
body.about-page .about-snapshot__grid span {
  display: block;
}

body.about-page .about-snapshot__grid strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--white);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  line-height: 1.1;
}

body.about-page .about-snapshot__grid span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

body.about-page .about-snapshot__glyph {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 0;
  border: 1px solid rgba(219, 250, 244, 0.24);
  border-radius: 12px;
  background: rgba(219, 250, 244, 0.11);
  color: rgba(219, 250, 244, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 22px rgba(2, 25, 32, 0.18);
}

body.about-page .about-snapshot__glyph svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.about-page .about-domonic {
  padding-top: clamp(44px, 6vw, 72px);
}

body.about-page .about-domonic__shell {
  overflow: visible;
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(5, 32, 42, 0.94), rgba(10, 79, 89, 0.74)),
    rgba(5, 32, 42, 0.86);
  box-shadow: 0 26px 72px rgba(3, 30, 38, 0.24);
}

body.about-page .about-domonic__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(4, 28, 37, 0.82) 0%, rgba(4, 28, 37, 0.24) 44%, rgba(4, 28, 37, 0.12) 100%),
    url("https://premiumcaptains.pages.dev/assets/images/about-nautical-chart-accent.webp") 74% center / cover no-repeat;
  opacity: 0.9;
  filter: saturate(1.02) contrast(1.05);
}

body.about-page .about-domonic__shell > * {
  position: relative;
  z-index: 1;
}

body.about-page .domonic-hero {
  padding: clamp(24px, 4vw, 42px);
}

body.about-page .domonic-hero__grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
}

body.about-page .domonic-hero__copy {
  grid-column: 1;
  grid-row: 1;
}

body.about-page .domonic-photos {
  grid-column: 2;
  grid-row: 1;
}

body.about-page .domonic-photos {
  min-height: clamp(360px, 42vw, 500px);
  display: grid;
  grid-template-columns: minmax(130px, 0.46fr) minmax(260px, 0.82fr);
  gap: clamp(10px, 1.8vw, 18px);
  align-items: end;
  align-self: center;
}

body.about-page .domonic-photos img {
  border-radius: 12px;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.25);
}

body.about-page .domonic-photos__portrait {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  right: auto;
  top: auto;
  width: min(100%, 430px);
  aspect-ratio: 0.76 / 1;
  object-position: 52% 44%;
}

body.about-page .domonic-photos__child {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  left: auto;
  top: auto;
  width: min(100%, 290px);
  transform: translate(clamp(18px, 3vw, 34px), clamp(34px, 5vw, 62px));
}

body.about-page .domonic-hero__copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(226, 242, 240, 0.93));
}

body.about-page .domonic-hero__copy h2 {
  margin-bottom: 4px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.04;
}

body.about-page .domonic-quotes {
  gap: 10px;
  margin-bottom: 24px;
}

body.about-page .domonic-quotes p {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 127, 140, 0.08);
  color: var(--ink);
  font-size: clamp(1rem, 1.55vw, 1.34rem);
  font-style: normal;
}

body.about-page .domonic-hero .proof-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
}

body.about-page .domonic-story {
  padding-top: 22px;
}

body.about-page .domonic-story__grid {
  display: block;
}

body.about-page .domonic-story__main {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: stretch;
}

body.about-page .domonic-story__main > article,
body.about-page .domonic-story__panel {
  min-height: 100%;
}

body.about-page .domonic-story__grid article,
body.about-page .domonic-story__panel,
body.about-page .about-service-list a,
body.about-page .about-value-grid article,
body.about-page .domonic-method__grid article,
body.about-page .about-proof__stat,
body.about-page .about-proof__grid > div:last-child,
body.about-page .about-cta__inner {
  border-color: rgba(255, 255, 255, 0.66);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(232, 246, 244, 0.9));
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.13);
}

body.about-page .domonic-story__panel {
  background: linear-gradient(155deg, rgba(6, 45, 54, 0.92), rgba(10, 78, 89, 0.82));
}

body.about-page .about-services .section-heading,
body.about-page .about-values .section-heading,
body.about-page .domonic-method .section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

body.about-page .about-services .section-heading h2,
body.about-page .about-values .section-heading h2,
body.about-page .domonic-method .section-heading h2 {
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.06;
}

body.about-page .about-service-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.about-page .about-service-list a {
  min-height: 190px;
  align-content: start;
  padding: 24px;
}

body.about-page .about-service-list strong {
  font-size: 1.28rem;
}

body.about-page .about-value-grid article,
body.about-page .domonic-method__grid article {
  min-height: 210px;
  padding: 24px;
}

body.about-page .about-value-grid span,
body.about-page .domonic-method__grid span {
  margin-bottom: 26px;
}

body.about-page .about-proof {
  padding-top: 46px;
}

body.about-page .about-proof__grid {
  align-items: center;
}

body.about-page .about-cta {
  padding-bottom: clamp(72px, 8vw, 104px);
}

body.about-page .about-cta__inner h2 {
  color: var(--ink);
}

body.about-page .about-cta__inner p:not(.eyebrow) {
  color: var(--ink-soft);
}

.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("https://premiumcaptains.pages.dev/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__service {
    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;
  }

  .footer-brand {
    max-width: 100%;
  }

  .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-intro__panel,
  .about-snapshot__grid,
  .about-value-grid,
  .about-services__grid,
  .about-service-list,
  .about-captain__card,
  .about-proof__grid,
  .about-cta__inner,
  .domonic-hero__grid,
  .domonic-story__grid,
  .domonic-story__main,
  .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;
  }

  .home-page .services-layout {
    grid-template-columns: 1fr;
  }

  .home-page .services-copy {
    min-width: 0;
  }

  .home-page .before-buy-grid {
    grid-template-columns: 1fr;
  }

  .home-page .before-buy-feature {
    grid-template-columns: 1fr;
  }

  .home-page .before-buy-grid > div,
  .home-page .contact-panel {
    min-height: 0;
  }

  .home-page .before-buy-grid h2,
  .home-page .services-copy h2 {
    max-width: 100%;
  }

  .home-page .who-we-help .section-heading {
    display: block;
    max-width: 680px;
  }

  .home-page .who-we-help .section-heading::after {
    content: none;
  }

  .home-page .who-we-help .section-heading h2 {
    max-width: 100%;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .service-card {
    grid-column: auto;
  }

  .home-page .service-card--wide {
    grid-column: 1 / -1;
  }

  .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;
  }

  .home-page .vessel-card__body {
    min-height: 0;
  }

  .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 {
  grid-template-columns: minmax(250px, 1.3fr) minmax(150px, 0.75fr) minmax(220px, 1fr) minmax(140px, 0.7fr);
}

.contact-page .page-hero .proof-row div {
  min-width: 0;
  padding-inline: 18px;
}

.contact-page .page-hero .proof-row span {
  font-size: 0.82rem;
}

.contact-page .page-hero .proof-row span a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.contact-page .page-hero .proof-row span a:hover,
.contact-page .page-hero .proof-row span a:focus-visible {
  color: var(--white);
}

@media (max-width: 980px) {
  .contact-page .page-hero .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .contact-page .page-hero .proof-row {
    grid-template-columns: 1fr;
  }

  .contact-page .page-hero .proof-row span a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.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: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  text-shadow: 0 1px 12px rgba(2, 18, 24, 0.34);
}

.contact-request-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(244, 250, 248, 0.97), rgba(219, 238, 235, 0.9));
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 24px 68px rgba(2, 19, 27, 0.22);
}

.contact-request-panel__copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.contact-request-panel__copy h3 {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.1vw, 3.65rem);
  line-height: 1.02;
}

.contact-request-panel__copy p:not(.eyebrow),
.contact-request-list {
  color: var(--ink-soft);
}

.contact-request-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-request-list li {
  position: relative;
  padding-left: 26px;
}

.contact-request-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
}

.contact-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.contact-request-panel__visual {
  position: relative;
  min-height: clamp(300px, 32vw, 500px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 42px rgba(2, 19, 27, 0.18);
}

.contact-request-panel__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 93, 103, 0.2), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(4, 28, 36, 0.28));
  pointer-events: none;
}

.contact-request-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(0.98);
}

.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);
  max-width: 960px;
  margin-inline: auto;
}

.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(10px, 1.6vw, 16px);
  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.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  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: clamp(820px, 96vh, 1080px);
  height: clamp(820px, 96vh, 1080px);
  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: 1;
}

.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: 6rem;
  }

  .site-header .container {
    width: var(--container);
  }

  .contact-strip__inner {
    min-height: 34px;
    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;
  }

  .contact-strip__inner a[href^="tel:"] {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding-inline: 10px;
  }

  .contact-strip__inner .social-link {
    width: 34px;
    height: 34px;
    justify-content: center;
    padding: 0;
  }

  .nav {
    min-height: 62px;
  }

  .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 main {
    background-size: auto, auto 42rem, auto;
    background-position: 0 0, center bottom, 0 0;
  }

  .home-page .before-buy::before {
    inset: 0;
    height: 720vh;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
    padding-top: calc(var(--header-offset) + 30px);
    padding-bottom: 0;
  }

  .home-page .hero {
    min-height: 100svh;
  }

  .home-page .hero__content {
    align-self: start;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: clamp(11rem, 25svh, 14rem);
  }

  .page-hero {
    padding: 76px 0 58px;
  }

  .about-hero {
    padding: 68px 0 58px;
  }

  .about-hero h1 {
    font-size: clamp(2.15rem, 9.4vw, 2.95rem);
    line-height: 1.04;
  }

  .about-hero__copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-hero__media {
    display: none;
  }

  .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(2rem, 8.3vw, 2.68rem);
    line-height: 1.05;
  }

  .hero__copy {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .proof-row {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .home-page .hero .proof-row {
    bottom: calc(52px + var(--safe-bottom));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    padding-inline: 0;
    background: rgba(6, 33, 43, 0.68);
  }

  .home-page .hero .proof-row div {
    min-height: 86px;
    padding: 12px 10px;
  }

  .home-page .hero .proof-row strong {
    font-size: clamp(1.05rem, 5vw, 1.24rem);
  }

  .home-page .hero .proof-row span {
    font-size: 0.82rem;
  }

  .home-page .hero .proof-row .star-rating svg {
    width: 15px;
    height: 15px;
  }

  .home-page .service-grid {
    grid-template-columns: 1fr;
  }

  .home-page .service-card,
  .home-page .service-card--wide {
    grid-column: auto;
    min-height: 0;
  }

  .home-page .vessel-card {
    display: flex;
  }

  .home-page .vessel-card img {
    height: auto;
    aspect-ratio: 1.25 / 1;
  }

  .home-page .testimonial-card {
    min-height: 0;
  }

  .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;
  }

  body.about-page .about-intro__panel {
    padding: 24px;
  }

  body.about-page .about-intro__heading h2,
  body.about-page .about-services .section-heading h2,
  body.about-page .about-values .section-heading h2,
  body.about-page .domonic-method .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 3rem);
  }

  body.about-page .about-snapshot__grid article,
  body.about-page .about-service-list a,
  body.about-page .about-value-grid article,
  body.about-page .domonic-method__grid article {
    min-height: 0;
  }

  body.about-page .domonic-hero .proof-row {
    grid-template-columns: 1fr;
  }

  body.about-page .domonic-hero__copy,
  body.about-page .domonic-photos {
    grid-column: auto;
    grid-row: auto;
  }

  .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: 820px;
    height: 820px;
  }

  .service-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  body:not(.home-page) .service-grid > .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .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;
  }

  .contact-panel .contact-actions {
    width: 100%;
    justify-content: stretch;
    border-radius: 18px;
  }

  .button,
  .hero__actions a,
  .inline-actions a,
  .contact-actions a {
    width: 100%;
  }

  .footer__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-brand__mark {
    width: 48px;
    height: 48px;
  }

  .footer-brand__name {
    font-size: clamp(1.2rem, 7vw, 1.58rem);
  }

  .footer-brand__tagline {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .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,
  body:not(.home-page) main::after {
    animation: none;
    background-position: 42% 36%;
    transform: none;
  }

  body:not(.home-page) main::after {
    background-position: center 0, 5% 0, 92% 22%, -18rem 0, 108% 0;
    opacity: 0.22;
  }

  .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(74px + var(--safe-bottom));
  }

  body.has-mobile-cta main {
    padding-bottom: calc(42px + 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: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--mist);
}

.testimonial-card__avatar {
  display: block;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(145deg, #0a8f9a, #064957);
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(2, 19, 27, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.testimonial-card__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

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

.testimonial-card__meta > span {
  font-size: 0.85rem;
  color: var(--muted);
}

.home-page .testimonial-card {
  background:
    linear-gradient(155deg, rgba(235, 248, 245, 0.9), rgba(211, 232, 229, 0.86)),
    url("https://premiumcaptains.pages.dev/assets/images/sea-glass-panel.webp") center / cover no-repeat;
  border-color: rgba(198, 230, 226, 0.72);
  box-shadow: 0 18px 46px rgba(2, 19, 27, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.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-hero + .page-body {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 30px;
}

body.inner-page main > section:not(.page-hero):not(.about-hero):not(.hero) {
  position: relative;
}

body.inner-page main > section:not(.page-hero):not(.about-hero):not(.hero)::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  z-index: 2;
  height: clamp(8px, 0.85vw, 12px);
  pointer-events: none;
  border-top: 1px solid rgba(190, 232, 222, 0.1);
  background:
    radial-gradient(80% 180% at 18% 0%, rgba(160, 226, 210, 0.1) 0%, rgba(160, 226, 210, 0) 58%),
    linear-gradient(90deg, rgba(2, 31, 39, 0.88), rgba(13, 82, 84, 0.78) 48%, rgba(3, 38, 46, 0.9));
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
  backdrop-filter: blur(12px) saturate(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -8px 20px rgba(2, 24, 32, 0.2);
}

body.inner-page main > .page-hero + section:not(.page-hero):not(.about-hero):not(.hero)::before,
body.about-page main > .about-hero + section:not(.page-hero):not(.about-hero):not(.hero)::before,
body.inner-page main > section:not(.page-hero):not(.about-hero):not(.hero) + section:not(.page-hero):not(.about-hero):not(.hero)::before {
  content: "";
  position: absolute;
  inset: -3px 0 auto;
  z-index: 2;
  height: clamp(8px, 0.85vw, 12px);
  pointer-events: none;
  border-bottom: 1px solid rgba(1, 22, 30, 0.42);
  background:
    radial-gradient(80% 180% at 82% 0%, rgba(160, 226, 210, 0.1) 0%, rgba(160, 226, 210, 0) 58%),
    linear-gradient(90deg, rgba(2, 31, 39, 0.88), rgba(13, 82, 84, 0.78) 48%, rgba(3, 38, 46, 0.9));
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
  backdrop-filter: blur(12px) saturate(1.02);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 8px 20px rgba(2, 24, 32, 0.2);
}

body.inner-page main > section:not(.page-hero):not(.about-hero):not(.hero) > .container {
  position: relative;
  z-index: 3;
}

body.contact-page main > section.page-related::before {
  top: clamp(118px, 13vw, 162px);
  bottom: auto;
}

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

body.inner-page .page-related.support-paths {
  margin-top: 0;
  padding-top: clamp(74px, 8vw, 104px);
}

body.inner-page main > section.page-related.support-paths::before {
  content: none;
}

body.inner-page .support-paths .section-heading {
  max-width: 920px;
  margin-bottom: clamp(28px, 4vw, 42px);
}

body.inner-page .support-paths .section-heading h2 {
  max-width: 13.5em;
}

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.9);
}

body.inner-page .service-grid {
  gap: 18px;
}

body.inner-page .page-related + .page-related .section-heading {
  margin-top: 0;
}

/* Final glyph-card layout override: keep every service glyph inline with its title. */
body .service-card:has(> .service-icon) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 14px;
  align-content: start;
}

body .service-card:has(> .service-icon) .service-icon {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  width: 38px;
  height: 38px;
  margin: -2px 0 0;
  border-radius: 10px;
}

body .service-card:has(> .service-icon) .service-icon svg {
  width: 21px;
  height: 21px;
}

.home-page .service-card:has(> .service-icon) .service-icon {
  color: var(--teal-deep);
}

.home-page .service-card:has(> .service-icon) .service-icon svg {
  fill: currentColor;
}

body .service-card:has(> .service-icon) h3 {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin-bottom: 0;
}

body .service-card:has(> .service-icon) p,
body .service-card:has(> .service-icon) .service-card__media {
  grid-column: 1 / -1;
}

.training-paths .service-grid--glass .service-card {
  --training-card-bg: none;
  --training-card-position: center;
  min-height: clamp(212px, 17vw, 258px);
  padding: clamp(22px, 2.1vw, 30px);
  background: linear-gradient(150deg, rgba(238, 250, 248, 0.94), rgba(206, 232, 229, 0.82));
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
}

body:not(.home-page) .training-paths .service-grid--glass .service-card:has(.service-card__media) {
  padding: clamp(22px, 2.1vw, 30px);
}

.training-paths .service-grid--glass .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--training-card-bg) var(--training-card-position) / cover no-repeat;
  opacity: 0.72;
  filter: saturate(0.92) contrast(0.96);
  pointer-events: none;
}

.training-paths .service-grid--glass .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(238, 250, 248, 0.93) 0%, rgba(238, 250, 248, 0.78) 42%, rgba(238, 250, 248, 0.26) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(6, 93, 103, 0.08));
  pointer-events: none;
}

.training-paths .service-card__media {
  display: none;
}

.training-paths .service-grid--glass .service-card > :not(.service-card__media) {
  position: relative;
  z-index: 2;
}

.training-paths .service-grid--glass .service-card:has(.service-card__media) h3,
.training-paths .service-grid--glass .service-card:has(.service-card__media) p,
.training-paths .service-grid--glass .service-card:has(.service-card__media) .service-icon {
  margin-left: 0;
  margin-right: 0;
}

.training-paths .service-grid--glass .service-icon {
  z-index: 3;
}

.training-paths .service-grid--glass .service-card:nth-child(1) {
  --training-card-bg: url("https://premiumcaptains.pages.dev/assets/images/training-card-new-boat-owners.webp");
}

.training-paths .service-grid--glass .service-card:nth-child(2) {
  --training-card-bg: url("https://premiumcaptains.pages.dev/assets/images/training-card-families.webp");
  --training-card-position: center 58%;
}

.training-paths .service-grid--glass .service-card:nth-child(3) {
  --training-card-bg: url("https://premiumcaptains.pages.dev/assets/images/service-card-insurance-signoff.webp");
  --training-card-position: center 45%;
}

.training-paths .service-grid--glass .service-card:nth-child(4) {
  --training-card-bg: url("https://premiumcaptains.pages.dev/assets/images/training-webinar-card-panel.webp");
}

.training-paths .service-grid--glass .service-card:nth-child(2) .service-card__media {
  object-position: center 58%;
}

.training-paths .service-grid--glass .service-card:nth-child(3) .service-card__media {
  object-position: center 45%;
}

@media (max-width: 860px) {
  .contact-request-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-request-panel__copy h3 {
    max-width: 12ch;
  }

  .contact-request-panel__visual {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .contact-request-actions {
    display: grid;
  }

  .contact-request-panel__copy h3 {
    font-size: clamp(2rem, 13vw, 3.1rem);
  }
}

/* Domonic profile composition pass: make the copy card and photo stack feel intentional. */
body.about-page .about-domonic__shell {
  border: 1px solid rgba(197, 235, 231, 0.55);
}

body.about-page .about-domonic__shell::before {
  background:
    radial-gradient(circle at 68% 38%, rgba(126, 224, 192, 0.16), transparent 31%),
    linear-gradient(90deg, rgba(4, 28, 37, 0.84) 0%, rgba(4, 28, 37, 0.34) 42%, rgba(4, 28, 37, 0.16) 100%),
    url("https://premiumcaptains.pages.dev/assets/images/about-nautical-chart-accent.webp") 76% center / cover no-repeat;
  opacity: 0.86;
}

body.about-page .domonic-hero__grid {
  grid-template-columns: minmax(300px, 0.62fr) minmax(420px, 1fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

body.about-page .domonic-hero__copy {
  align-self: center;
  min-height: auto;
  padding: clamp(22px, 2.2vw, 28px);
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(228, 244, 241, 0.94)),
    url("https://premiumcaptains.pages.dev/assets/images/sea-glass-panel.webp") center / cover no-repeat;
}

body.about-page .domonic-hero__copy h2 {
  max-width: 6.8ch;
  font-size: clamp(3rem, 5.1vw, 4.65rem);
  line-height: 0.99;
}

body.about-page .domonic-role {
  margin-bottom: clamp(18px, 2vw, 24px);
}

body.about-page .domonic-quotes {
  gap: 7px;
  margin-bottom: 18px;
}

body.about-page .domonic-quotes p {
  position: relative;
  padding: 8px 11px 8px 31px;
  border: 1px solid rgba(6, 93, 103, 0.08);
  border-radius: 9px;
  background: rgba(0, 127, 140, 0.07);
  font-size: clamp(0.92rem, 1.06vw, 1rem);
  font-style: italic;
  line-height: 1.15;
}

body.about-page .domonic-quotes p::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 1.05em;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-deep);
}

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

body.about-page .domonic-hero .proof-row {
  min-height: 0;
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
}

body.about-page .domonic-hero .proof-row div {
  padding: 0 12px;
}

body.about-page .domonic-hero .proof-row strong {
  font-size: clamp(1.03rem, 1.45vw, 1.28rem);
  line-height: 1.02;
}

body.about-page .domonic-hero .proof-row span {
  margin-top: 6px;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  line-height: 1.32;
}

body.about-page .domonic-photos {
  min-height: clamp(420px, 47vw, 590px);
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(310px, 0.78fr);
  grid-template-rows: minmax(120px, 0.4fr) minmax(240px, 1fr);
  gap: clamp(12px, 1.8vw, 20px);
  align-items: end;
  justify-items: end;
}

body.about-page .domonic-photos img {
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

body.about-page .domonic-photos__portrait {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: min(100%, 380px);
  transform: translateX(-2%);
}

body.about-page .domonic-photos__child {
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: center;
  justify-self: start;
  width: min(44%, 260px);
  transform: translate(16%, 6%);
}

@media (max-width: 980px) {
  body.about-page .domonic-hero__grid {
    grid-template-columns: 1fr;
  }

  body.about-page .domonic-hero__copy,
  body.about-page .domonic-photos {
    grid-column: auto;
    grid-row: auto;
  }

  body.about-page .domonic-photos {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  body.about-page .about-snapshot__grid {
    grid-template-columns: 1fr;
  }

  body.about-page .domonic-photos {
    width: 100%;
    max-width: 100%;
    min-height: 390px;
    grid-template-columns: minmax(96px, 0.44fr) minmax(0, 0.76fr);
    overflow: hidden;
  }

  body.about-page .domonic-photos__portrait {
    width: min(100%, 250px);
    transform: none;
  }

  body.about-page .domonic-photos__child {
    width: min(50%, 160px);
    transform: translate(4%, 8%);
  }

  body.about-page .domonic-hero__copy,
  body.about-page .domonic-photos {
    max-width: 100%;
  }
}

/* About story band: image-backed depth layer and stronger four-point layout. */
body.about-page .domonic-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(58px, 7vw, 96px);
  background:
    linear-gradient(180deg, rgba(3, 29, 39, 0.1), rgba(3, 29, 39, 0.3)),
    transparent;
}

body.about-page .domonic-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 22%, rgba(126, 224, 192, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(4, 31, 42, 0.88), rgba(4, 72, 83, 0.56) 50%, rgba(4, 31, 42, 0.9)),
    url("https://premiumcaptains.pages.dev/assets/images/about-nautical-chart-accent.webp") center 48% / cover no-repeat;
  opacity: 0.78;
  filter: saturate(1.04) contrast(1.05);
}

body.about-page .domonic-story::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 42%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 127, 140, 0.26)),
    url("https://premiumcaptains.pages.dev/assets/images/underwater-depth-light-texture.webp") center / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

body.about-page .domonic-story .container {
  position: relative;
  z-index: 1;
}

body.about-page .domonic-story__main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  gap: clamp(18px, 2.8vw, 28px);
  align-items: stretch;
}

body.about-page .domonic-story__main > article,
body.about-page .domonic-story__panel {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
}

body.about-page .domonic-story__main > article {
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(225, 242, 240, 0.93)),
    url("https://premiumcaptains.pages.dev/assets/images/sea-glass-panel.webp") center / cover no-repeat;
}

body.about-page .domonic-story__main > article h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 5.2vw, 5.15rem);
  line-height: 1.02;
}

body.about-page .domonic-story__main > article p:not(.eyebrow) {
  max-width: 66ch;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
}

body.about-page .domonic-story__panel {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: clamp(18px, 2.2vw, 26px);
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(150deg, rgba(6, 75, 86, 0.86), rgba(3, 37, 49, 0.8)),
    rgba(4, 58, 68, 0.74);
  box-shadow: 0 22px 56px rgba(2, 19, 27, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.about-page .domonic-story__panel h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.12;
}

body.about-page .domonic-story__panel ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 12px;
  align-self: start;
  height: auto;
}

body.about-page .domonic-story__panel li {
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(126, 224, 192, 0.06)),
    rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.18;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body.about-page .domonic-story__panel li > span:last-child {
  align-self: center;
}

body.about-page .domonic-story__panel .domonic-fit-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.26), transparent 46%),
    linear-gradient(145deg, rgba(217, 110, 75, 0.98), rgba(0, 145, 156, 0.78));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 145, 156, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body.about-page .domonic-story__panel .domonic-fit-glyph svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.about-page .domonic-story__panel li::before {
  content: none;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(217, 110, 75, 0.98), rgba(217, 110, 75, 0.72));
  box-shadow: 0 8px 18px rgba(217, 110, 75, 0.18);
}

body.about-page .domonic-story__panel li::after {
  content: none;
  position: absolute;
  left: 26px;
  top: 26px;
  width: 12px;
  height: 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  body.about-page .domonic-story__main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.about-page .domonic-story__panel ul {
    grid-template-columns: 1fr;
  }

  body.about-page .domonic-story__panel li {
    min-height: 92px;
  }
}

/* About hero media: match the standard frosted card system. */
body.about-page .about-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

body.about-page .about-hero__media {
  align-self: end;
  width: 100%;
  padding: 14px;
  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)),
    url("https://premiumcaptains.pages.dev/assets/images/sea-glass-panel.webp") center / cover no-repeat;
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 42px rgba(16, 40, 46, 0.18);
}

body.about-page .about-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 54%;
  opacity: 0.94;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 12px 28px rgba(2, 19, 27, 0.16);
}

body.about-page .about-hero__media figcaption {
  margin-top: 14px;
  padding: 0 4px 2px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 980px) {
  body.about-page .about-hero__grid {
    grid-template-columns: 1fr;
  }

  body.about-page .about-hero__media {
    max-width: 520px;
    justify-self: start;
  }
}

/* Contact page: keep the liquid divider on the visible water/background seam. */
body.contact-page.inner-page main > section.contact-form-section:not(.page-hero):not(.about-hero):not(.hero) + section.page-related:not(.page-hero):not(.about-hero):not(.hero)::before {
  content: none;
}


/* WordPress inline-fallback click-safety overrides. */
.premium-captains-static .button,
.premium-captains-static .text-link,
.premium-captains-static .service-card,
.premium-captains-static .audience-card {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
