/* Shared Coastal Window treatment and tablet navigation, October 20, 2026.
   Load after page styles so every public header has one owner for these rules. */
.primary-page-header .vtc-brand-logo {
  display: block;
  width: min(15.5rem, 65vw);
  max-width: 100%;
  height: auto;
  /* Match the visible lettering to the tagline despite the SVG's left inset. */
  transform: translateX(-1.35%);
}

.primary-page-header .brand-mark:has(.vtc-brand-logo) {
  line-height: 1;
}

.site-header.primary-page-header,
.homepage-coastal.hero-coastal .homepage-header {
  color: var(--charcoal);
  background: rgb(var(--hero-fade-color));
}

.site-header.primary-page-header::before,
.site-header.primary-page-header::after {
  display: none;
}

.primary-page-header:has(+ main > .support-overview:first-child) {
  --hero-fade-color: 246 241 231;
}

.coastal-page-scene {
  --coastal-top-padding: 1.1rem;
  --coastal-sky-crop: calc(2.75rem + clamp(.5rem, calc(12.5rem - 12vw), 5rem) - var(--coastal-top-padding));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--charcoal);
  background: var(--charcoal);
}

.coastal-page-scene::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: calc(0px - var(--coastal-sky-crop));
  right: 0;
  bottom: auto;
  left: 0;
  height: 530px;
  background:
    linear-gradient(180deg, #11151424 0%, #11151410 30%, #1115148c 68%, #111514f2 100%),
    var(--hero-photo-image, url("vero-beach-hero.jpg")) var(--hero-photo-position, center bottom) / var(--hero-photo-size, cover);
}

.coastal-page-scene::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(var(--hero-fade-color) / 0) 0%, rgb(var(--hero-fade-color) / .04) 32%, rgb(var(--hero-fade-color) / .18) 52%, rgb(var(--hero-fade-color) / .7) 80%, rgb(var(--hero-fade-color)) 100%);
}

.primary-page-header .coastal-page-scene .primary-page-hero {
  display: block;
  min-height: 23rem;
  margin: 0;
  padding: 0 0 6rem;
  color: var(--charcoal);
  text-align: center;
}

.primary-page-header .coastal-page-scene .hero-copy,
.coastal-page-scene .coastal-intro {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--coastal-top-padding) 1.5rem 2rem;
  color: var(--charcoal);
  background: linear-gradient(180deg, rgb(246 241 231 / var(--hero-photo-wash-start, .29)), rgb(246 241 231 / var(--hero-photo-wash-middle, .18)) var(--hero-photo-wash-stop, 65%), transparent);
}

.primary-page-header .coastal-page-scene h1 {
  max-width: 20ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.7rem, 4.4vw, 4.3rem);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

.primary-page-header .coastal-page-scene .lead {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--charcoal);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}

.coastal-page-scene .coastal-services {
  color: var(--ivory);
  padding-bottom: 6rem;
}

/* One row from iPad portrait through tablet landscape. The page's conversion
   action remains in its content and in the phone menu/dock. */
@media (min-width: 768px) and (max-width: 1099px) {
  :is(.site-header, .laptop-site-navigation) .primary-page-header .primary-site-nav,
  .site-header.primary-page-header .primary-site-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 .9rem;
  }

  :is(.site-header, .laptop-site-navigation) .primary-page-header .brand,
  .site-header.primary-page-header .brand {
    flex-shrink: 0;
    min-height: 3.6rem;
  }

  :is(.site-header, .laptop-site-navigation) .primary-page-header .nav-menu-toggle,
  .site-header.primary-page-header .nav-menu-toggle,
  :is(.site-header, .laptop-site-navigation) .primary-page-header .nav-cta,
  .site-header.primary-page-header .nav-cta {
    display: none;
  }

  :is(.site-header, .laptop-site-navigation) .primary-page-header .nav-cluster,
  .site-header.primary-page-header .nav-cluster,
  .site-header.primary-page-header .primary-site-nav.is-open .nav-cluster {
    display: flex;
    flex-direction: row;
    width: auto;
    padding: 0;
    border: 0;
  }

  :is(.site-header, .laptop-site-navigation) .primary-page-header .site-nav-links,
  .site-header.primary-page-header .site-nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    gap: clamp(.75rem, 1.5vw, 1.25rem);
  }

  :is(.site-header, .laptop-site-navigation) .primary-page-header .site-nav-links a,
  .site-header.primary-page-header .site-nav-links a {
    width: auto;
    min-height: 2.4rem;
    padding: .3rem .12rem;
    border: 0;
    white-space: nowrap;
  }

  :is(.site-header, .laptop-site-navigation) .primary-page-header .site-nav-links a[aria-current="page"]::after,
  .site-header.primary-page-header .site-nav-links a[aria-current="page"]::after {
    right: .12rem;
    bottom: 0;
    left: .12rem;
    width: auto;
  }
}

@media (max-width: 650px) {
  .primary-page-header .coastal-page-scene .primary-page-hero {
    min-height: 25rem;
    padding-bottom: 5rem;
  }

  .primary-page-header .coastal-page-scene .hero-copy {
    padding-inline: 1.25rem;
  }

  .primary-page-header .coastal-page-scene h1 {
    font-size: 2.8rem;
  }

  .primary-page-header .coastal-page-scene .lead {
    font-size: 1rem;
  }

  .coastal-page-scene .coastal-intro {
    padding: var(--coastal-top-padding) 1.2rem 4.5rem;
  }
}

/* Keep navigation usable when its enhancement has not initialized. */
@media (max-width: 767px) {
  .primary-page-header .primary-site-nav:not(.has-menu-toggle) .nav-cluster {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .primary-page-header .primary-site-nav:not(.has-menu-toggle) .nav-menu-toggle {
    display: none;
  }
}

/* CJ-selected local photographs, October 28, 2026. Only image and framing vary. */
body[data-hero-photo="01"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-01-vero-beach-sunrise.webp"); --hero-photo-position: 50% 55%; --hero-photo-phone-position: 65% 50%; --hero-photo-phone-size: cover; }
body[data-hero-photo="02"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-02-vero-beach-daytime-waves.webp"); --hero-photo-position: 50% 42%; --hero-photo-phone-position: 48% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.58; --hero-photo-wash-middle: 0.5; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="04"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-04-humiston-surf-lifeguard-hut.webp"); --hero-photo-position: 50% 48%; --hero-photo-phone-position: 53% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.58; --hero-photo-wash-middle: 0.5; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="05"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-05-humiston-beach-entrance.webp"); --hero-photo-position: 50% 45%; --hero-photo-phone-position: 50% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.64; --hero-photo-wash-middle: 0.56; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="06"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-06-humiston-palm-entrance.webp"); --hero-photo-position: 50% 45%; --hero-photo-phone-position: 50% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.64; --hero-photo-wash-middle: 0.56; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="07"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-07-barber-bridge-waterfront.webp"); --hero-photo-position: 50% 30%; --hero-photo-phone-position: 51% 35%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.56; --hero-photo-wash-middle: 0.48; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="08"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-08-barber-bridge-aerial.webp"); --hero-photo-position: 50% 64%; --hero-photo-phone-position: 51% 50%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.74; --hero-photo-wash-middle: 0.68; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="09"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-09-barber-bridge-royal-palm-pointe.webp"); --hero-photo-position: 50% 48%; --hero-photo-phone-position: 53% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.68; --hero-photo-wash-middle: 0.6; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="10"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-10-barber-bridge-grass-waterfront.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 54% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.66; --hero-photo-wash-middle: 0.58; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="11"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-11-barber-bridge-wide-daylight.webp"); --hero-photo-position: 50% 38%; --hero-photo-phone-position: 50% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.56; --hero-photo-wash-middle: 0.48; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="12"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-12-alma-lee-loy-bridge.webp"); --hero-photo-position: 60% 45%; --hero-photo-phone-position: 61% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.68; --hero-photo-wash-middle: 0.6; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="13"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-13-vero-beach-duck-reeds.webp"); --hero-photo-position: 69% 100%; --hero-photo-phone-position: 74% 65%; --hero-photo-phone-size: auto 120%; --hero-photo-wash-start: 0.78; --hero-photo-wash-middle: 0.7; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="14"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-14-indian-river-evening-waterfront.webp"); --hero-photo-position: 50% 30%; --hero-photo-phone-position: 50% 0%; --hero-photo-phone-size: auto 125%; --hero-photo-wash-start: 0.88; --hero-photo-wash-middle: 0.82; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="15"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-15-grand-harbor-marina.webp"); --hero-photo-position: 50% 42%; --hero-photo-phone-position: 55% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.76; --hero-photo-wash-middle: 0.68; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="16"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-16-pelican-island-lagoon-aerial.webp"); --hero-photo-position: 50% 45%; --hero-photo-phone-position: 57% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.74; --hero-photo-wash-middle: 0.66; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="17"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-17-indian-river-lagoon-trees.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 53% 42%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.78; --hero-photo-wash-middle: 0.7; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="22"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-22-pelican-island-boardwalk.webp"); --hero-photo-position: 50% 50%; --hero-photo-phone-position: 48% 50%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.68; --hero-photo-wash-middle: 0.6; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="23"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-23-pelican-island-wide-overlook.webp"); --hero-photo-position: 50% 45%; --hero-photo-phone-position: 50% 50%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.7; --hero-photo-wash-middle: 0.62; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="24"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-24-centennial-trail-panorama.webp"); --hero-photo-position: 50% 45%; --hero-photo-phone-position: 53% 50%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.7; --hero-photo-wash-middle: 0.62; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="26"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-26-jungle-trail-leaning-palm.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 56% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.64; --hero-photo-wash-middle: 0.56; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="27"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-27-jungle-trail-tree-frame.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 54% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.78; --hero-photo-wash-middle: 0.7; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="28"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-28-jungle-trail-palms-flowers.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 60% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.68; --hero-photo-wash-middle: 0.6; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="29"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-29-jungle-trail-shaded-road.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 51% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.76; --hero-photo-wash-middle: 0.68; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="30"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-30-jungle-trail-open-canopy.webp"); --hero-photo-position: 50% 40%; --hero-photo-phone-position: 57% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.6; --hero-photo-wash-middle: 0.52; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="31"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-31-jungle-trail-palm-road.webp"); --hero-photo-position: 50% 38%; --hero-photo-phone-position: 54% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.66; --hero-photo-wash-middle: 0.58; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="34"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-34-jungle-trail-dense-canopy.webp"); --hero-photo-position: 50% 38%; --hero-photo-phone-position: 54% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.82; --hero-photo-wash-middle: 0.74; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="35"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-35-jungle-trail-dappled-canopy.webp"); --hero-photo-position: 50% 38%; --hero-photo-phone-position: 57% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.82; --hero-photo-wash-middle: 0.74; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="37"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-37-pueblo-arcade-vero-theatre.webp"); --hero-photo-position: 50% 48%; --hero-photo-phone-position: 61% 45%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.7; --hero-photo-wash-middle: 0.62; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="44"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-44-sebastian-inlet-shoreline.webp"); --hero-photo-position: 50% 42%; --hero-photo-phone-position: 54% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.6; --hero-photo-wash-middle: 0.52; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="45"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-45-sebastian-inlet-water.webp"); --hero-photo-position: 50% 42%; --hero-photo-phone-position: 50% 40%; --hero-photo-phone-size: cover; --hero-photo-wash-start: 0.72; --hero-photo-wash-middle: 0.64; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="48"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-48-14th-avenue-balconies.webp"); --hero-photo-position: 51% 48%; --hero-photo-phone-position: 51% 50%; --hero-photo-phone-size: auto 150%; --hero-photo-wash-start: 0.76; --hero-photo-wash-middle: 0.68; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="51"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-51-14th-avenue-shaded-shops.webp"); --hero-photo-position: 51% 50%; --hero-photo-phone-position: 51% 50%; --hero-photo-phone-size: auto 145%; --hero-photo-wash-start: 0.84; --hero-photo-wash-middle: 0.76; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="53"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-53-14th-avenue-intersection.webp"); --hero-photo-position: 54% 100%; --hero-photo-phone-position: 54% 62%; --hero-photo-phone-size: auto 155%; --hero-photo-wash-start: 0.76; --hero-photo-wash-middle: 0.68; --hero-photo-wash-stop: 85%; --hero-photo-size: 150% auto; }
body[data-hero-photo="55"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-55-14th-avenue-palms-civic-block.webp"); --hero-photo-position: 50% 48%; --hero-photo-phone-position: 50% 50%; --hero-photo-phone-size: auto 150%; --hero-photo-wash-start: 0.8; --hero-photo-wash-middle: 0.72; --hero-photo-wash-stop: 85%; }
body[data-hero-photo="57"] { --hero-photo-image: url("assets/hero-photos-standardized/hero-57-14th-avenue-oak-canopy.webp"); --hero-photo-position: 51% 48%; --hero-photo-phone-position: 51% 50%; --hero-photo-phone-size: auto 150%; --hero-photo-wash-start: 0.8; --hero-photo-wash-middle: 0.72; --hero-photo-wash-stop: 85%; }
@media (max-width: 767px) {
  body[data-hero-photo] .coastal-page-scene::before {
    background-position: center, var(--hero-photo-phone-position, center);
    background-size: auto, var(--hero-photo-phone-size, cover);
  }
}
