/* ==========================================================================
   AMERICAN DREAM DIVE CHARTERS
   Production Website Stylesheet
   Theme: WordPress Assembler
   Plugin: Simple Custom CSS and JS
   ========================================================================== */


/* ==========================================================================
   1. FONT IMPORTS
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700;800&display=swap");


/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand colors */
  --ad-primary: #173b72;
  --ad-primary-dark: #10233f;
  --ad-primary-deep: #08182d;
  --ad-ocean: #1f6fb2;
  --ad-ocean-light: #3f8dca;
  --ad-turquoise: #26c6da;
  --ad-turquoise-dark: #10aabd;
  --ad-coral: #ff7f50;

  /* Neutral colors */
  --ad-white: #ffffff;
  --ad-background: #f8fbfd;
  --ad-surface: #ffffff;
  --ad-surface-blue: #eef7fb;
  --ad-surface-deep: #e5f1f7;
  --ad-border: #dce8ef;
  --ad-border-strong: #bfd2de;

  /* Text colors */
  --ad-text: #10233f;
  --ad-text-soft: #496276;
  --ad-text-muted: #6c8293;
  --ad-text-light: #dcebf5;

  /* Typography */
  --ad-font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --ad-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Container widths */
  --ad-container: 1280px;
  --ad-container-wide: 1440px;
  --ad-container-narrow: 820px;
  --ad-gutter: clamp(20px, 4vw, 56px);

  /* Spacing */
  --ad-section-space: clamp(84px, 10vw, 150px);
  --ad-section-space-small: clamp(60px, 7vw, 104px);
  --ad-card-space: clamp(24px, 3vw, 40px);

  /* Radius */
  --ad-radius-sm: 10px;
  --ad-radius-md: 18px;
  --ad-radius-lg: 28px;
  --ad-radius-xl: 40px;
  --ad-radius-pill: 999px;

  /* Shadows */
  --ad-shadow-sm:
    0 8px 24px rgba(16, 35, 63, 0.07),
    0 2px 8px rgba(16, 35, 63, 0.04);

  --ad-shadow-md:
    0 18px 55px rgba(16, 35, 63, 0.11),
    0 4px 16px rgba(16, 35, 63, 0.06);

  --ad-shadow-lg:
    0 30px 90px rgba(8, 24, 45, 0.18),
    0 10px 30px rgba(8, 24, 45, 0.08);

  /* Transitions */
  --ad-transition-fast: 160ms ease;
  --ad-transition: 260ms ease;
  --ad-transition-slow: 500ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Header */
  --ad-header-height: 88px;
}


/* ==========================================================================
   3. WORDPRESS / ASSEMBLER THEME OVERRIDES
   These rules activate only on pages containing .ad-site.
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ad-header-height) + 20px);
}

body.ad-custom-page {
  margin: 0;
  padding: 0;
  background: var(--ad-background);
  color: var(--ad-text);
  overflow-x: hidden;
}

body.ad-custom-page .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}

body.ad-custom-page .wp-block-post-title {
  display: none !important;
}

body.ad-custom-page .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ad-custom-page .wp-block-post-content > .ad-site {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.ad-custom-page .wp-site-blocks > header.wp-block-template-part,
body.ad-custom-page .wp-site-blocks > footer.wp-block-template-part {
  display: none !important;
}

body.ad-custom-page main,
body.ad-custom-page .wp-block-group,
body.ad-custom-page .wp-block-columns {
  margin-top: 0;
  margin-bottom: 0;
}


/* ==========================================================================
   4. GLOBAL RESET
   ========================================================================== */

.ad-site,
.ad-site *,
.ad-site *::before,
.ad-site *::after {
  box-sizing: border-box;
}

.ad-site {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: var(--ad-background);
  color: var(--ad-text);
  font-family: var(--ad-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ad-site img,
.ad-site picture,
.ad-site video,
.ad-site iframe,
.ad-site svg {
  display: block;
  max-width: 100%;
}

.ad-site img {
  height: auto;
}

.ad-site button,
.ad-site input,
.ad-site textarea,
.ad-site select {
  font: inherit;
}

.ad-site button {
  border: 0;
}

.ad-site a {
  color: inherit;
  text-decoration: none;
}

.ad-site ul,
.ad-site ol {
  margin: 0;
  padding: 0;
}

.ad-site figure,
.ad-site blockquote,
.ad-site h1,
.ad-site h2,
.ad-site h3,
.ad-site h4,
.ad-site h5,
.ad-site h6,
.ad-site p {
  margin-top: 0;
}

.ad-site h1,
.ad-site h2,
.ad-site h3,
.ad-site h4,
.ad-site h5,
.ad-site h6 {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ad-site h1 {
  font-size: clamp(46px, 7vw, 92px);
}

.ad-site h2 {
  font-size: clamp(38px, 5vw, 68px);
}

.ad-site h3 {
  font-size: clamp(25px, 3vw, 36px);
}

.ad-site h4 {
  font-size: clamp(19px, 2vw, 24px);
}

.ad-site p {
  margin-bottom: 1.4em;
}

.ad-site strong {
  font-weight: 600;
}

.ad-site ::selection {
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep);
}


/* ==========================================================================
   5. ACCESSIBILITY
   ========================================================================== */

.ad-site :focus-visible {
  outline: 3px solid var(--ad-turquoise);
  outline-offset: 4px;
}

.ad-site .ad-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: var(--ad-radius-sm);
  background: var(--ad-white);
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-weight: 600;
  box-shadow: var(--ad-shadow-md);
  transform: translateY(-160%);
  transition: transform var(--ad-transition);
}

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

.ad-site .ad-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* ==========================================================================
   6. LAYOUT UTILITIES
   ========================================================================== */

.ad-container {
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    var(--ad-container)
  );
  margin-inline: auto;
}

.ad-container--wide {
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    var(--ad-container-wide)
  );
  margin-inline: auto;
}

.ad-container--narrow {
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    var(--ad-container-narrow)
  );
  margin-inline: auto;
}

.ad-section {
  position: relative;
  padding-block: var(--ad-section-space);
}

.ad-section--small {
  padding-block: var(--ad-section-space-small);
}

.ad-section--white {
  background: var(--ad-white);
}

.ad-section--light {
  background: var(--ad-background);
}

.ad-section--blue {
  background: var(--ad-surface-blue);
}

.ad-section--dark {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(38, 198, 218, 0.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--ad-primary-deep) 0%,
      var(--ad-primary-dark) 54%,
      var(--ad-primary) 100%
    );
  color: var(--ad-white);
}

.ad-section--dark h2,
.ad-section--dark h3,
.ad-section--dark h4 {
  color: var(--ad-white);
}

.ad-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

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

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

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

.ad-stack {
  display: flex;
  flex-direction: column;
}

.ad-stack--center {
  align-items: center;
  text-align: center;
}

.ad-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}


/* ==========================================================================
   7. TYPOGRAPHY COMPONENTS
   ========================================================================== */

.ad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ad-ocean);
  font-family: var(--ad-font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ad-eyebrow::before {
  width: 32px;
  height: 2px;
  border-radius: var(--ad-radius-pill);
  background: var(--ad-turquoise);
  content: "";
}

.ad-eyebrow--light {
  color: var(--ad-turquoise);
}

.ad-eyebrow--light::before {
  background: var(--ad-turquoise);
}

.ad-section-title {
  max-width: 900px;
  margin-bottom: 24px;
}

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

.ad-section-copy {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--ad-text-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
}

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

.ad-section-copy--light {
  color: rgba(255, 255, 255, 0.78);
}

.ad-lead {
  color: var(--ad-text-soft);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.68;
}

.ad-kicker {
  color: var(--ad-text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ad-ocean);
  font-family: var(--ad-font-heading);
  font-weight: 600;
  transition:
    gap var(--ad-transition),
    color var(--ad-transition);
}

.ad-text-link::after {
  content: "→";
}

.ad-text-link:hover {
  gap: 14px;
  color: var(--ad-primary);
}


/* ==========================================================================
   8. BUTTONS
   ========================================================================== */

.ad-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: var(--ad-radius-pill);
  cursor: pointer;
  font-family: var(--ad-font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition:
    transform var(--ad-transition),
    box-shadow var(--ad-transition),
    background-color var(--ad-transition),
    border-color var(--ad-transition),
    color var(--ad-transition);
}

.ad-btn:hover {
  transform: translateY(-2px);
}

.ad-btn:active {
  transform: translateY(0);
}

.ad-btn--primary {
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep);
  box-shadow: 0 12px 32px rgba(38, 198, 218, 0.25);
}

.ad-btn--primary:hover {
  background: #42d4e4;
  box-shadow: 0 18px 38px rgba(38, 198, 218, 0.32);
}

.ad-btn--navy {
  background: var(--ad-primary);
  color: var(--ad-white);
  box-shadow: 0 12px 30px rgba(23, 59, 114, 0.2);
}

.ad-btn--navy:hover {
  background: var(--ad-primary-dark);
  box-shadow: 0 18px 38px rgba(16, 35, 63, 0.25);
}

.ad-btn--white {
  background: var(--ad-white);
  color: var(--ad-primary-dark);
  box-shadow: 0 12px 30px rgba(8, 24, 45, 0.16);
}

.ad-btn--white:hover {
  background: var(--ad-surface-blue);
}

.ad-btn--outline {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ad-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ad-btn--outline:hover {
  border-color: var(--ad-white);
  background: rgba(255, 255, 255, 0.14);
}

.ad-btn--outline-dark {
  border-color: var(--ad-border-strong);
  background: transparent;
  color: var(--ad-primary);
}

.ad-btn--outline-dark:hover {
  border-color: var(--ad-primary);
  background: var(--ad-surface-blue);
}

.ad-btn--large {
  min-height: 62px;
  padding: 17px 30px;
  font-size: 16px;
}

.ad-btn--small {
  min-height: 44px;
  padding: 11px 19px;
  font-size: 14px;
}

.ad-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}


/* ==========================================================================
   9. SITE HEADER AND NAVIGATION
   ========================================================================== */

.ad-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--ad-header-height);
  border-bottom: 1px solid transparent;
  background: linear-gradient(
    180deg,
    rgba(5, 18, 38, 0.62) 0%,
    rgba(5, 18, 38, 0.2) 70%,
    transparent 100%
  );
  transition:
    height var(--ad-transition),
    background-color var(--ad-transition),
    border-color var(--ad-transition),
    box-shadow var(--ad-transition),
    backdrop-filter var(--ad-transition);
}

.ad-header.is-scrolled {
  height: 76px;
  border-color: rgba(220, 235, 245, 0.14);
  background: rgba(8, 24, 45, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ad-nav {
  display: flex;
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    var(--ad-container-wide)
  );
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
}

.ad-logo {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.ad-logo img {
  width: auto;
  max-width: 220px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.ad-header.is-scrolled .ad-logo img {
  height: 48px;
}

.ad-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  margin-left: auto;
  list-style: none;
}

.ad-nav__links a:not(.ad-btn) {
  position: relative;
  padding-block: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--ad-transition);
}

.ad-nav__links a:not(.ad-btn)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: var(--ad-radius-pill);
  background: var(--ad-turquoise);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ad-transition);
}

.ad-nav__links a:not(.ad-btn):hover,
.ad-nav__links a[aria-current="page"]:not(.ad-btn) {
  color: var(--ad-white);
}

.ad-nav__links a:not(.ad-btn):hover::after,
.ad-nav__links a[aria-current="page"]:not(.ad-btn)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ad-nav__cta {
  min-height: 46px;
  padding-inline: 21px;
}

.ad-nav__toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ad-white);
  cursor: pointer;
}

.ad-nav__toggle-lines,
.ad-nav__toggle-lines::before,
.ad-nav__toggle-lines::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: var(--ad-radius-pill);
  background: currentColor;
  transition:
    transform var(--ad-transition),
    opacity var(--ad-transition);
}

.ad-nav__toggle-lines {
  position: relative;
}

.ad-nav__toggle-lines::before,
.ad-nav__toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.ad-nav__toggle-lines::before {
  top: -7px;
}

.ad-nav__toggle-lines::after {
  top: 7px;
}

.ad-header.is-menu-open .ad-nav__toggle-lines {
  background: transparent;
}

.ad-header.is-menu-open .ad-nav__toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.ad-header.is-menu-open .ad-nav__toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}


/* ==========================================================================
   10. HERO
   ========================================================================== */

.ad-hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  align-items: end;
  overflow: hidden;
  background: var(--ad-primary-deep);
  color: var(--ad-white);
  isolation: isolate;
}

.ad-hero__media,
.ad-hero__media img,
.ad-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-hero__media {
  z-index: -3;
}

.ad-hero__media img,
.ad-hero__media video {
  object-fit: cover;
  object-position: center 45%;
}

.ad-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 18, 38, 0.82) 0%,
      rgba(5, 18, 38, 0.58) 42%,
      rgba(5, 18, 38, 0.18) 75%,
      rgba(5, 18, 38, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 18, 38, 0.3) 0%,
      transparent 35%,
      rgba(5, 18, 38, 0.7) 100%
    );
  content: "";
}

.ad-hero::after {
  position: absolute;
  z-index: -1;
  right: -18%;
  bottom: -45%;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(38, 198, 218, 0.15),
    transparent 66%
  );
  content: "";
  pointer-events: none;
}

.ad-hero__inner {
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    var(--ad-container-wide)
  );
  margin-inline: auto;
  padding-top: calc(var(--ad-header-height) + 90px);
  padding-bottom: clamp(90px, 11vh, 150px);
}

.ad-hero__content {
  max-width: 850px;
}

.ad-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ad-turquoise);
  font-family: var(--ad-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ad-hero__eyebrow::before {
  width: 38px;
  height: 2px;
  border-radius: var(--ad-radius-pill);
  background: currentColor;
  content: "";
}

.ad-hero h1 {
  max-width: 990px;
  margin-bottom: 24px;
  color: var(--ad-white);
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.ad-hero__copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.66;
}

.ad-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ad-hero__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.ad-hero__note-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ad-hero__note-item svg {
  width: 18px;
  height: 18px;
  color: var(--ad-turquoise);
}

.ad-hero__scroll {
  position: absolute;
  right: var(--ad-gutter);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.ad-hero__scroll::after {
  width: 1px;
  height: 62px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  content: "";
}


/* ==========================================================================
   11. TRUST BAR
   ========================================================================== */

.ad-trust {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--ad-border);
  background: var(--ad-white);
}

.ad-trust__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.ad-trust__item {
  position: relative;
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 24px 16px;
  text-align: center;
}

.ad-trust__item:not(:last-child)::after {
  position: absolute;
  top: 26%;
  right: 0;
  bottom: 26%;
  width: 1px;
  background: var(--ad-border);
  content: "";
}

.ad-trust__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ad-ocean);
}

.ad-trust__icon svg {
  width: 29px;
  height: 29px;
}

.ad-trust__value {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.ad-trust__label {
  color: var(--ad-text-muted);
  font-size: 12px;
  line-height: 1.4;
}


/* ==========================================================================
   12. BOOKING SECTION
   ========================================================================== */

.ad-booking {
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(38, 198, 218, 0.1),
      transparent 28%
    ),
    var(--ad-background);
}

.ad-booking__intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.ad-booking__shell {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(191, 210, 222, 0.72);
  border-radius: var(--ad-radius-xl);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-lg);
}

.ad-booking__shell::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--ad-primary),
    var(--ad-ocean),
    var(--ad-turquoise)
  );
  content: "";
}

.ad-booking__widget {
  min-height: 480px;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-background);
}

.ad-booking__widget iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
}

.ad-booking__placeholder {
  display: grid;
  min-height: 460px;
  place-items: center;
  padding: 50px 24px;
  border: 1px dashed var(--ad-border-strong);
  border-radius: var(--ad-radius-lg);
  background:
    linear-gradient(
      135deg,
      rgba(238, 247, 251, 0.9),
      rgba(255, 255, 255, 0.96)
    );
  text-align: center;
}

.ad-booking__placeholder-inner {
  max-width: 540px;
}

.ad-booking__placeholder-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--ad-white);
  color: var(--ad-ocean);
  box-shadow: var(--ad-shadow-sm);
}

.ad-booking__placeholder-icon svg {
  width: 32px;
  height: 32px;
}

.ad-booking__placeholder h3 {
  margin-bottom: 12px;
}

.ad-booking__placeholder p {
  margin-bottom: 0;
  color: var(--ad-text-soft);
}


/* ==========================================================================
   13. WELCOME / STORY SECTION
   ========================================================================== */

.ad-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.ad-story__media {
  position: relative;
  min-height: 670px;
}

.ad-story__image-main {
  width: calc(100% - 58px);
  height: 620px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  box-shadow: var(--ad-shadow-lg);
}

.ad-story__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-story__image-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 43%;
  height: 270px;
  overflow: hidden;
  border: 8px solid var(--ad-white);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-md);
}

.ad-story__image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-story__badge {
  position: absolute;
  top: 36px;
  right: 6px;
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  padding: 20px;
  border-radius: 50%;
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-shadow: var(--ad-shadow-md);
}

.ad-story__content h2 {
  margin-bottom: 26px;
}

.ad-story__content .ad-lead {
  margin-bottom: 24px;
}

.ad-story__content p:not(.ad-lead) {
  color: var(--ad-text-soft);
  font-size: 17px;
}

.ad-story__quote {
  position: relative;
  margin: 34px 0;
  padding: 24px 0 24px 28px;
  border-left: 3px solid var(--ad-turquoise);
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.45;
}


/* ==========================================================================
   14. FEATURED DIVE EXPERIENCES
   ========================================================================== */

.ad-experiences__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.ad-experiences__header-copy {
  max-width: 720px;
}

.ad-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 34px);
}

.ad-experience-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-md);
  isolation: isolate;
  transition:
    transform var(--ad-transition-slow),
    box-shadow var(--ad-transition-slow);
}

.ad-experience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ad-shadow-lg);
}

.ad-experience-card__media,
.ad-experience-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-experience-card__media {
  z-index: -3;
}

.ad-experience-card__media img {
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ad-experience-card:hover .ad-experience-card__media img {
  transform: scale(1.055);
}

.ad-experience-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 18, 38, 0.08) 0%,
      rgba(5, 18, 38, 0.25) 38%,
      rgba(5, 18, 38, 0.9) 100%
    );
  content: "";
}

.ad-experience-card::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(8, 24, 45, 0.6)
  );
  content: "";
}

.ad-experience-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(26px, 3vw, 40px);
  color: var(--ad-white);
}

.ad-experience-card__tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--ad-radius-pill);
  background: rgba(8, 24, 45, 0.28);
  color: var(--ad-turquoise);
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ad-experience-card h3 {
  margin-bottom: 14px;
  color: var(--ad-white);
  font-size: clamp(27px, 3vw, 38px);
}

.ad-experience-card p {
  max-width: 390px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.ad-experience-card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ad-white);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 600;
  transition: gap var(--ad-transition);
}

.ad-experience-card__link::after {
  color: var(--ad-turquoise);
  content: "→";
}

.ad-experience-card:hover .ad-experience-card__link {
  gap: 14px;
}


/* ==========================================================================
   15. BOAT SECTION
   ========================================================================== */

.ad-boat {
  overflow: hidden;
}

.ad-boat__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 70px;
  margin-bottom: clamp(46px, 7vw, 82px);
}

.ad-boat__intro h2 {
  max-width: 670px;
  margin-bottom: 0;
}

.ad-boat__intro-copy {
  max-width: 620px;
  margin-left: auto;
}

.ad-boat__image {
  position: relative;
  height: clamp(480px, 62vw, 790px);
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  box-shadow: var(--ad-shadow-lg);
}

.ad-boat__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-boat__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 52%,
    rgba(5, 18, 38, 0.58) 100%
  );
  content: "";
}

.ad-boat__image-caption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 50px);
  left: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  color: var(--ad-white);
}

.ad-boat__image-caption h3 {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ad-white);
}

.ad-boat-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
}

.ad-boat-feature {
  position: relative;
  padding: clamp(24px, 3vw, 36px) 22px;
  text-align: center;
}

.ad-boat-feature:not(:last-child)::after {
  position: absolute;
  top: 22%;
  right: 0;
  bottom: 22%;
  width: 1px;
  background: var(--ad-border);
  content: "";
}

.ad-boat-feature__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ad-surface-blue);
  color: var(--ad-ocean);
}

.ad-boat-feature__icon svg {
  width: 24px;
  height: 24px;
}

.ad-boat-feature h4 {
  margin-bottom: 7px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.ad-boat-feature p {
  margin-bottom: 0;
  color: var(--ad-text-muted);
  font-size: 13px;
  line-height: 1.5;
}


/* ==========================================================================
   16. FOUNDERS / JOSH AND ANNIE
   ========================================================================== */

.ad-founders__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.ad-founders__content h2 {
  margin-bottom: 26px;
}

.ad-founders__content p {
  color: var(--ad-text-soft);
  font-size: 17px;
}

.ad-founders__content .ad-lead {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-weight: 500;
}

.ad-founders__signature {
  margin-top: 28px;
  color: var(--ad-ocean);
  font-family: var(--ad-font-heading);
  font-size: 17px;
  font-weight: 600;
}

.ad-founders__media {
  position: relative;
}

.ad-founders__image {
  position: relative;
  height: 700px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  box-shadow: var(--ad-shadow-lg);
}

.ad-founders__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-founders__media::before {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(38, 198, 218, 0.19);
  content: "";
}

.ad-founders__media::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(31, 111, 178, 0.2);
  border-radius: var(--ad-radius-xl);
  content: "";
}

.ad-founders__caption {
  position: absolute;
  z-index: 2;
  right: -30px;
  bottom: 44px;
  max-width: 260px;
  padding: 22px 24px;
  border-radius: var(--ad-radius-md);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-md);
}

.ad-founders__caption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 17px;
}

.ad-founders__caption span {
  color: var(--ad-text-muted);
  font-size: 13px;
}


/* ==========================================================================
   17. REVIEWS
   ========================================================================== */

.ad-reviews {
  overflow: hidden;
}

.ad-reviews__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.ad-review-summary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-md);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
}

.ad-review-summary__score {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.ad-review-summary__stars {
  color: #f5b301;
  font-size: 16px;
  letter-spacing: 2px;
}

.ad-review-summary__label {
  color: var(--ad-text-muted);
  font-size: 12px;
}

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

.ad-review-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
  transition:
    transform var(--ad-transition),
    box-shadow var(--ad-transition);
}

.ad-review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ad-shadow-md);
}

.ad-review-card__stars {
  margin-bottom: 21px;
  color: #f5b301;
  font-size: 17px;
  letter-spacing: 3px;
}

.ad-review-card blockquote {
  flex: 1;
  margin: 0 0 30px;
  color: var(--ad-primary-dark);
  font-size: 17px;
  line-height: 1.75;
}

.ad-review-card__author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 22px;
  border-top: 1px solid var(--ad-border);
}

.ad-review-card__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ad-surface-blue);
  color: var(--ad-primary);
  font-family: var(--ad-font-heading);
  font-size: 15px;
  font-weight: 700;
}

.ad-review-card__author strong {
  display: block;
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 14px;
}

.ad-review-card__author span {
  color: var(--ad-text-muted);
  font-size: 12px;
}


/* ==========================================================================
   18. FAQ
   ========================================================================== */

.ad-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.ad-faq__intro {
  position: sticky;
  top: calc(var(--ad-header-height) + 40px);
}

.ad-faq__intro h2 {
  margin-bottom: 24px;
}

.ad-faq__intro p {
  color: var(--ad-text-soft);
  font-size: 17px;
}

.ad-faq__list {
  border-top: 1px solid var(--ad-border);
}

.ad-faq__item {
  border-bottom: 1px solid var(--ad-border);
}

.ad-faq__item summary {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 54px 24px 0;
  color: var(--ad-primary-dark);
  cursor: pointer;
  font-family: var(--ad-font-heading);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.ad-faq__item summary::-webkit-details-marker {
  display: none;
}

.ad-faq__item summary::before,
.ad-faq__item summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 20px;
  height: 2px;
  border-radius: var(--ad-radius-pill);
  background: var(--ad-ocean);
  content: "";
  transform: translateY(-50%);
  transition: transform var(--ad-transition);
}

.ad-faq__item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.ad-faq__item[open] summary::after {
  transform: translateY(-50%) rotate(0);
}

.ad-faq__item summary:hover {
  color: var(--ad-ocean);
}

.ad-faq__answer {
  max-width: 720px;
  padding: 0 52px 30px 0;
  color: var(--ad-text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.ad-faq__answer p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   19. DIRECTIONS / LOCATION
   ========================================================================== */

.ad-directions__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-lg);
}

.ad-directions__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 80px);
  color: var(--ad-white);
}

.ad-directions__content h2 {
  margin-bottom: 22px;
  color: var(--ad-white);
}

.ad-directions__content > p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.ad-directions__details {
  display: grid;
  gap: 18px;
  margin: 28px 0 34px;
}

.ad-directions__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ad-directions__detail-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(38, 198, 218, 0.13);
  color: var(--ad-turquoise);
}

.ad-directions__detail-icon svg {
  width: 20px;
  height: 20px;
}

.ad-directions__detail strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ad-white);
  font-family: var(--ad-font-heading);
  font-size: 14px;
}

.ad-directions__detail span,
.ad-directions__detail a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.ad-directions__detail a:hover {
  color: var(--ad-turquoise);
}

.ad-directions__map {
  min-height: 590px;
  background: var(--ad-surface-blue);
}

.ad-directions__map iframe {
  width: 100%;
  height: 100%;
  min-height: 590px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}


/* ==========================================================================
   20. FINAL CTA
   ========================================================================== */

.ad-final-cta {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  overflow: hidden;
  color: var(--ad-white);
  text-align: center;
  isolation: isolate;
}

.ad-final-cta__media,
.ad-final-cta__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-final-cta__media {
  z-index: -3;
}

.ad-final-cta__media img {
  object-fit: cover;
}

.ad-final-cta::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 24, 45, 0.54),
      rgba(8, 24, 45, 0.82)
    );
  content: "";
}

.ad-final-cta::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(38, 198, 218, 0.14),
    transparent 48%
  );
  content: "";
}

.ad-final-cta__content {
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    900px
  );
  padding-block: 100px;
}

.ad-final-cta h2 {
  margin-bottom: 22px;
  color: var(--ad-white);
  font-size: clamp(48px, 7vw, 88px);
  text-wrap: balance;
}

.ad-final-cta p {
  max-width: 670px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2vw, 22px);
}

.ad-final-cta .ad-button-row {
  justify-content: center;
}


/* ==========================================================================
   21. FOOTER
   ========================================================================== */

.ad-footer {
  background: var(--ad-primary-deep);
  color: rgba(255, 255, 255, 0.72);
}

.ad-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(36px, 6vw, 80px);
  padding-block: clamp(68px, 8vw, 105px);
}

.ad-footer__brand {
  max-width: 390px;
}

.ad-footer__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.ad-footer__logo img {
  width: auto;
  max-width: 230px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.ad-footer__brand p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

.ad-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.ad-footer__social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--ad-white);
  transition:
    background-color var(--ad-transition),
    border-color var(--ad-transition),
    transform var(--ad-transition);
}

.ad-footer__social a:hover {
  border-color: var(--ad-turquoise);
  background: rgba(38, 198, 218, 0.12);
  transform: translateY(-3px);
}

.ad-footer__social svg {
  width: 19px;
  height: 19px;
}

.ad-footer__column h3 {
  margin-bottom: 21px;
  color: var(--ad-white);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.ad-footer__links {
  display: grid;
  gap: 12px;
  list-style: none;
}

.ad-footer__links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  transition:
    color var(--ad-transition),
    transform var(--ad-transition);
}

.ad-footer__links a:hover {
  color: var(--ad-turquoise);
  transform: translateX(3px);
}

.ad-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.ad-footer__contact-item + .ad-footer__contact-item {
  margin-top: 14px;
}

.ad-footer__contact-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--ad-turquoise);
}

.ad-footer__contact-item a:hover {
  color: var(--ad-white);
}

.ad-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.ad-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ad-footer__legal a:hover {
  color: var(--ad-white);
}

.ad-footer__toura {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ad-footer__toura a {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.ad-footer__toura a:hover {
  color: var(--ad-turquoise);
}


/* ==========================================================================
   22. GENERIC CONTENT CARDS AND ICONS
   ========================================================================== */

.ad-card {
  padding: var(--ad-card-space);
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
}

.ad-icon-box {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ad-surface-blue);
  color: var(--ad-ocean);
}

.ad-icon-box svg {
  width: 27px;
  height: 27px;
}

.ad-card h3 {
  margin-bottom: 12px;
}

.ad-card p {
  margin-bottom: 0;
  color: var(--ad-text-soft);
}


/* ==========================================================================
   23. IMAGE AND MEDIA HELPERS
   ========================================================================== */

.ad-image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-image-position-top {
  object-position: center top !important;
}

.ad-image-position-center {
  object-position: center center !important;
}

.ad-image-position-bottom {
  object-position: center bottom !important;
}

.ad-image-overlay {
  position: relative;
  overflow: hidden;
}

.ad-image-overlay::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(8, 24, 45, 0.58)
  );
  content: "";
}


/* ==========================================================================
   24. FORM ELEMENTS
   ========================================================================== */

.ad-form {
  display: grid;
  gap: 20px;
}

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

.ad-field {
  display: grid;
  gap: 8px;
}

.ad-field label {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 13px;
  font-weight: 600;
}

.ad-field input,
.ad-field select,
.ad-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--ad-border-strong);
  border-radius: var(--ad-radius-sm);
  background: var(--ad-white);
  color: var(--ad-text);
  outline: none;
  transition:
    border-color var(--ad-transition),
    box-shadow var(--ad-transition);
}

.ad-field textarea {
  min-height: 150px;
  resize: vertical;
}

.ad-field input:focus,
.ad-field select:focus,
.ad-field textarea:focus {
  border-color: var(--ad-ocean);
  box-shadow: 0 0 0 4px rgba(31, 111, 178, 0.1);
}

.ad-field input::placeholder,
.ad-field textarea::placeholder {
  color: #8da1b0;
}


/* ==========================================================================
   25. RESPONSIVE — LARGE TABLET
   ========================================================================== */

@media (max-width: 1100px) {
  :root {
    --ad-header-height: 80px;
  }

  .ad-nav__links {
    gap: 19px;
  }

  .ad-nav__links a:not(.ad-btn) {
    font-size: 13px;
  }

  .ad-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-trust__item:nth-child(3)::after {
    display: none;
  }

  .ad-trust__item:nth-child(-n + 3) {
    border-bottom: 1px solid var(--ad-border);
  }

  .ad-story__grid,
  .ad-founders__grid {
    gap: 58px;
  }

  .ad-story__media {
    min-height: 590px;
  }

  .ad-story__image-main {
    height: 550px;
  }

  .ad-experience-card {
    min-height: 530px;
  }

  .ad-boat-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-boat-feature:nth-child(3)::after {
    display: none;
  }

  .ad-boat-feature:nth-child(-n + 3) {
    border-bottom: 1px solid var(--ad-border);
  }

  .ad-founders__image {
    height: 620px;
  }

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

  .ad-review-card:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .ad-footer__main {
    grid-template-columns: 1.35fr repeat(3, 0.75fr);
    gap: 42px;
  }
}


/* ==========================================================================
   26. RESPONSIVE — MOBILE NAVIGATION / TABLET
   ========================================================================== */

@media (max-width: 900px) {
  .ad-header,
  .ad-header.is-scrolled {
    height: 74px;
    background: rgba(8, 24, 45, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .ad-logo img,
  .ad-header.is-scrolled .ad-logo img {
    height: 46px;
  }

  .ad-nav__toggle {
    display: inline-flex;
  }

  .ad-nav__links {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding:
      calc(var(--ad-header-height) + 44px)
      var(--ad-gutter)
      50px;
    background:
      radial-gradient(
        circle at 80% 20%,
        rgba(38, 198, 218, 0.15),
        transparent 30%
      ),
      var(--ad-primary-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity var(--ad-transition),
      transform var(--ad-transition);
  }

  .ad-header.is-menu-open .ad-nav__links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .ad-nav__links li {
    width: 100%;
  }

  .ad-nav__links a:not(.ad-btn) {
    display: block;
    width: 100%;
    padding: 13px 0;
    color: var(--ad-white);
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 600;
  }

  .ad-nav__links a:not(.ad-btn)::after {
    display: none;
  }

  .ad-nav__links .ad-btn {
    width: 100%;
    min-height: 58px;
    margin-top: 15px;
  }

  .ad-hero {
    min-height: max(720px, 100svh);
  }

  .ad-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(5, 18, 38, 0.8),
        rgba(5, 18, 38, 0.36)
      ),
      linear-gradient(
        180deg,
        rgba(5, 18, 38, 0.28),
        rgba(5, 18, 38, 0.78)
      );
  }

  .ad-hero__content {
    max-width: 730px;
  }

  .ad-hero__scroll {
    display: none;
  }

  .ad-story__grid,
  .ad-founders__grid,
  .ad-faq__layout,
  .ad-directions__shell {
    grid-template-columns: 1fr;
  }

  .ad-story__media {
    order: 2;
  }

  .ad-story__content {
    order: 1;
  }

  .ad-experiences__header,
  .ad-reviews__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-experience-grid {
    grid-template-columns: 1fr;
  }

  .ad-experience-card {
    min-height: 560px;
  }

  .ad-boat__intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .ad-boat__intro-copy {
    margin-left: 0;
  }

  .ad-founders__media {
    width: min(100%, 700px);
    margin-inline: auto;
  }

  .ad-founders__caption {
    right: 22px;
  }

  .ad-faq__intro {
    position: static;
  }

  .ad-directions__map,
  .ad-directions__map iframe {
    min-height: 460px;
  }

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

  .ad-footer__brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}


/* ==========================================================================
   27. RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 680px) {
  :root {
    --ad-gutter: 20px;
    --ad-radius-lg: 22px;
    --ad-radius-xl: 27px;
  }

  .ad-site {
    font-size: 15px;
  }

  .ad-section {
    padding-block: 78px;
  }

  .ad-section--small {
    padding-block: 60px;
  }

  .ad-grid--2,
  .ad-grid--3,
  .ad-grid--4,
  .ad-form__row {
    grid-template-columns: 1fr;
  }

  .ad-button-row,
  .ad-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ad-button-row .ad-btn,
  .ad-hero__actions .ad-btn {
    width: 100%;
  }

  .ad-hero {
    min-height: 760px;
    align-items: end;
  }

  .ad-hero__media img {
    object-position: 62% center;
  }

  .ad-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(5, 18, 38, 0.34) 0%,
        rgba(5, 18, 38, 0.42) 36%,
        rgba(5, 18, 38, 0.9) 100%
      );
  }

  .ad-hero__inner {
    padding-top: 130px;
    padding-bottom: 72px;
  }

  .ad-hero__eyebrow {
    font-size: 11px;
  }

  .ad-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
    letter-spacing: -0.045em;
  }

  .ad-hero__copy {
    font-size: 17px;
  }

  .ad-hero__note {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .ad-trust__item {
    min-height: 112px;
    padding: 20px 10px;
  }

  .ad-trust__item:nth-child(3)::after {
    display: block;
  }

  .ad-trust__item:nth-child(2n)::after {
    display: none;
  }

  .ad-trust__item:nth-child(-n + 4) {
    border-bottom: 1px solid var(--ad-border);
  }

  .ad-trust__item:nth-child(5),
  .ad-trust__item:nth-child(6) {
    border-bottom: 0;
  }

  .ad-booking__shell {
    padding: 12px;
    border-radius: 24px;
  }

  .ad-booking__widget,
  .ad-booking__widget iframe {
    border-radius: 17px;
  }

  .ad-booking__widget iframe {
    min-height: 760px;
  }

  .ad-story__media {
    min-height: 480px;
  }

  .ad-story__image-main {
    width: calc(100% - 24px);
    height: 450px;
  }

  .ad-story__image-secondary {
    width: 46%;
    height: 190px;
    border-width: 5px;
  }

  .ad-story__badge {
    top: 20px;
    width: 100px;
    height: 100px;
    padding: 13px;
    font-size: 11px;
  }

  .ad-story__quote {
    font-size: 20px;
  }

  .ad-experience-card {
    min-height: 500px;
  }

  .ad-experience-card__content {
    padding: 26px;
  }

  .ad-boat__image {
    height: 520px;
  }

  .ad-boat__image img {
    object-position: 58% center;
  }

  .ad-boat__image-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-boat__image-caption .ad-btn {
    width: 100%;
  }

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

  .ad-boat-feature {
    border-bottom: 1px solid var(--ad-border);
  }

  .ad-boat-feature:nth-child(3)::after {
    display: block;
  }

  .ad-boat-feature:nth-child(2n)::after {
    display: none;
  }

  .ad-boat-feature:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .ad-boat-feature:nth-last-child(2):not(:last-child) {
    border-bottom: 0;
  }

  .ad-founders__image {
    height: 510px;
  }

  .ad-founders__caption {
    right: 14px;
    bottom: 18px;
    left: 14px;
    max-width: none;
  }

  .ad-founders__media::before,
  .ad-founders__media::after {
    display: none;
  }

  .ad-review-grid {
    grid-template-columns: 1fr;
  }

  .ad-review-card,
  .ad-review-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .ad-review-summary {
    width: 100%;
  }

  .ad-faq__item summary {
    min-height: 76px;
    padding-right: 44px;
    font-size: 17px;
  }

  .ad-faq__answer {
    padding-right: 36px;
  }

  .ad-directions__content {
    padding: 42px 26px;
  }

  .ad-directions__map,
  .ad-directions__map iframe {
    min-height: 390px;
  }

  .ad-final-cta {
    min-height: 600px;
  }

  .ad-final-cta h2 {
    font-size: clamp(45px, 13vw, 66px);
  }

  .ad-footer__main {
    grid-template-columns: 1fr;
  }

  .ad-footer__brand {
    grid-column: auto;
  }

  .ad-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ==========================================================================
   28. RESPONSIVE — SMALL MOBILE
   ========================================================================== */

@media (max-width: 420px) {
  :root {
    --ad-gutter: 17px;
  }

  .ad-logo img,
  .ad-header.is-scrolled .ad-logo img {
    max-width: 185px;
    height: 42px;
  }

  .ad-nav__toggle {
    width: 44px;
    height: 44px;
  }

  .ad-hero h1 {
    font-size: 42px;
  }

  .ad-hero__copy {
    font-size: 16px;
  }

  .ad-btn--large {
    min-height: 57px;
    padding-inline: 22px;
  }

  .ad-trust__value {
    font-size: 13px;
  }

  .ad-story__media {
    min-height: 425px;
  }

  .ad-story__image-main {
    height: 400px;
  }

  .ad-story__image-secondary {
    height: 165px;
  }

  .ad-story__badge {
    display: none;
  }

  .ad-experience-card {
    min-height: 475px;
  }

  .ad-boat__image {
    height: 460px;
  }

  .ad-boat-feature {
    padding: 24px 14px;
  }

  .ad-founders__image {
    height: 455px;
  }

  .ad-review-summary__score {
    font-size: 30px;
  }

  .ad-final-cta {
    min-height: 560px;
  }
}


/* ==========================================================================
   29. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ad-site *,
  .ad-site *::before,
  .ad-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ad-experience-card:hover,
  .ad-review-card:hover,
  .ad-btn:hover,
  .ad-footer__social a:hover {
    transform: none;
  }

  .ad-experience-card:hover .ad-experience-card__media img {
    transform: none;
  }
}


/* ==========================================================================
   30. PRINT
   ========================================================================== */

@media print {
  .ad-header,
  .ad-hero__scroll,
  .ad-button-row,
  .ad-final-cta,
  .ad-footer__social,
  .ad-booking {
    display: none !important;
  }

  .ad-site {
    background: var(--ad-white);
    color: #000000;
  }

  .ad-section,
  .ad-section--small {
    padding-block: 30px;
  }

  .ad-card,
  .ad-review-card,
  .ad-directions__shell {
    box-shadow: none;
  }

  .ad-directions__shell {
    display: block;
    background: var(--ad-white);
    color: #000000;
  }

  .ad-directions__content,
  .ad-directions__content h2 {
    color: #000000;
  }

  .ad-directions__map {
    display: none;
  }
}

/* ==========================================================================
   31. HOMEPAGE POLISH PATCH
   Header, logo, buttons, spacing, WordPress admin bar
   ========================================================================== */


/* ==========================================================================
   31.1 REBALANCED GLOBAL SPACING
   ========================================================================== */

:root {
  --ad-section-space: clamp(72px, 7vw, 112px);
  --ad-section-space-small: clamp(54px, 5vw, 82px);
}


/* ==========================================================================
   31.2 WORDPRESS ADMIN BAR OFFSET
   Prevents the fixed custom header from sitting beneath the WP toolbar
   ========================================================================== */

body.admin-bar .ad-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .ad-header {
    top: 46px;
  }
}


/* ==========================================================================
   31.3 PRODUCTION BRAND LOGO
   Final square die-cut American Dream logo
   ========================================================================== */

.ad-logo {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.ad-logo img,
.ad-header.is-scrolled .ad-logo img {
  width: 78px !important;
  max-width: 78px !important;
  height: 78px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
}

.ad-header.is-scrolled .ad-logo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.ad-header.is-scrolled .ad-logo img {
  width: 64px !important;
  max-width: 64px !important;
  height: 64px !important;
}


/* Footer logo */

.ad-footer__logo {
  display: inline-block;
  width: 150px;
  height: 150px;
  margin-bottom: 24px;
  overflow: visible;
}

.ad-footer__logo img {
  width: 150px !important;
  max-width: 150px !important;
  height: 150px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
}


/* Tablet / mobile */

@media (max-width: 900px) {
  .ad-logo,
  .ad-header.is-scrolled .ad-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .ad-logo img,
  .ad-header.is-scrolled .ad-logo img {
    width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
  }

  .ad-footer__logo {
    width: 132px;
    height: 132px;
  }

  .ad-footer__logo img {
    width: 132px !important;
    max-width: 132px !important;
    height: 132px !important;
  }
}

@media (max-width: 420px) {
  .ad-logo,
  .ad-header.is-scrolled .ad-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .ad-logo img,
  .ad-header.is-scrolled .ad-logo img {
    width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
  }

  .ad-footer__logo {
    width: 120px;
    height: 120px;
  }

  .ad-footer__logo img {
    width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
  }
}


/* ==========================================================================
   31.5 BUTTON COLOR SPECIFICITY FIX
   Explicit selectors override .ad-site a { color: inherit; }
   ========================================================================== */

.ad-site .ad-btn.ad-btn--primary {
  border-color: transparent;
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep) !important;
  box-shadow: 0 12px 32px rgba(38, 198, 218, 0.25);
}

.ad-site .ad-btn.ad-btn--primary:hover {
  background: #42d4e4;
  color: var(--ad-primary-deep) !important;
  box-shadow: 0 18px 38px rgba(38, 198, 218, 0.32);
}

.ad-site .ad-btn.ad-btn--navy {
  border-color: var(--ad-primary);
  background: var(--ad-primary);
  color: var(--ad-white) !important;
  box-shadow: 0 12px 30px rgba(23, 59, 114, 0.2);
}

.ad-site .ad-btn.ad-btn--navy:hover {
  border-color: var(--ad-primary-dark);
  background: var(--ad-primary-dark);
  color: var(--ad-white) !important;
  box-shadow: 0 18px 38px rgba(16, 35, 63, 0.25);
}

.ad-site .ad-btn.ad-btn--white {
  border-color: var(--ad-white);
  background: var(--ad-white);
  color: var(--ad-primary-dark) !important;
  box-shadow: 0 12px 30px rgba(8, 24, 45, 0.16);
}

.ad-site .ad-btn.ad-btn--white:hover {
  border-color: var(--ad-surface-blue);
  background: var(--ad-surface-blue);
  color: var(--ad-primary-dark) !important;
}

.ad-site .ad-btn.ad-btn--outline {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(8, 24, 45, 0.28);
  color: var(--ad-white) !important;
}

.ad-site .ad-btn.ad-btn--outline:hover {
  border-color: var(--ad-white);
  background: rgba(255, 255, 255, 0.16);
  color: var(--ad-white) !important;
}

.ad-site .ad-btn.ad-btn--outline-dark {
  border-color: var(--ad-border-strong);
  background: var(--ad-white);
  color: var(--ad-primary) !important;
  box-shadow: var(--ad-shadow-sm);
}

.ad-site .ad-btn.ad-btn--outline-dark:hover {
  border-color: var(--ad-primary);
  background: var(--ad-primary);
  color: var(--ad-white) !important;
  box-shadow: var(--ad-shadow-md);
}

.ad-site a.ad-text-link {
  color: var(--ad-ocean) !important;
}

.ad-site a.ad-text-link:hover {
  color: var(--ad-primary) !important;
}


/* ==========================================================================
   31.6 SECTION-SPECIFIC SPACING REFINEMENTS
   ========================================================================== */

.ad-booking__intro {
  margin-bottom: clamp(30px, 3vw, 40px);
}

.ad-experiences__header,
.ad-reviews__header {
  margin-bottom: clamp(36px, 4vw, 54px);
}

.ad-boat__intro {
  margin-bottom: clamp(38px, 4.5vw, 58px);
}

.ad-story__grid,
.ad-founders__grid {
  gap: clamp(42px, 5.5vw, 82px);
}

.ad-story__quote {
  margin-block: 28px;
}

.ad-boat-features {
  margin-top: 28px;
}

.ad-founders__content .ad-button-row {
  margin-top: 26px !important;
}

/* ==========================================================================
   31.8 MOBILE SPACING REFINEMENT
   ========================================================================== */

@media (max-width: 680px) {
  .ad-section {
    padding-block: 66px;
  }

  .ad-section--small {
    padding-block: 54px;
  }

  .ad-booking__intro {
    margin-bottom: 28px;
  }

  .ad-experiences__header,
  .ad-reviews__header {
    margin-bottom: 34px;
  }

  .ad-boat__intro {
    margin-bottom: 34px;
  }

  .ad-story__grid,
  .ad-founders__grid {
    gap: 42px;
  }
}

/* ==========================================================================
   32. DIVE TRIPS PAGE
   ========================================================================== */


/* ==========================================================================
   32.1 INTERIOR PAGE HERO
   ========================================================================== */

.ad-page-hero {
  position: relative;
  display: grid;
  min-height: clamp(650px, 78svh, 850px);
  align-items: end;
  overflow: hidden;
  background: var(--ad-primary-deep);
  color: var(--ad-white);
  isolation: isolate;
}

.ad-page-hero__media,
.ad-page-hero__media img,
.ad-page-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-page-hero__media {
  z-index: -3;
}

.ad-page-hero__media img,
.ad-page-hero__media video {
  object-fit: cover;
  object-position: center 48%;
}

.ad-page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 18, 38, 0.88) 0%,
      rgba(5, 18, 38, 0.68) 43%,
      rgba(5, 18, 38, 0.22) 76%,
      rgba(5, 18, 38, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 18, 38, 0.3) 0%,
      transparent 35%,
      rgba(5, 18, 38, 0.78) 100%
    );
  content: "";
}

.ad-page-hero::after {
  position: absolute;
  z-index: -1;
  right: -220px;
  bottom: -360px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(38, 198, 218, 0.17),
    transparent 68%
  );
  content: "";
}

.ad-page-hero__inner {
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    var(--ad-container-wide)
  );
  margin-inline: auto;
  padding-top: calc(var(--ad-header-height) + 90px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.ad-page-hero__content {
  max-width: 910px;
}

.ad-page-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--ad-font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ad-page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--ad-transition);
}

.ad-page-hero__breadcrumb a:hover {
  color: var(--ad-turquoise);
}

.ad-page-hero__breadcrumb-separator {
  color: var(--ad-turquoise);
}

.ad-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--ad-turquoise);
  font-family: var(--ad-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ad-page-hero__eyebrow::before {
  width: 38px;
  height: 2px;
  border-radius: var(--ad-radius-pill);
  background: currentColor;
  content: "";
}

.ad-page-hero h1 {
  max-width: 1050px;
  margin-bottom: 25px;
  color: var(--ad-white);
  font-size: clamp(48px, 7vw, 88px);
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.ad-page-hero__copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.68;
}

.ad-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ad-page-hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 30px;
}

.ad-page-hero__fact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.ad-page-hero__fact svg {
  width: 19px;
  height: 19px;
  color: var(--ad-turquoise);
}


/* ==========================================================================
   32.2 INTERIOR ANCHOR NAVIGATION
   ========================================================================== */

.ad-anchor-nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--ad-border);
  background: var(--ad-white);
  box-shadow: 0 8px 28px rgba(16, 35, 63, 0.05);
}

.ad-anchor-nav__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 54px);
  overflow-x: auto;
  scrollbar-width: none;
}

.ad-anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.ad-anchor-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 27px 0 24px;
  color: var(--ad-text-soft);
  font-family: var(--ad-font-heading);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--ad-transition);
}

.ad-anchor-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: var(--ad-radius-pill) var(--ad-radius-pill) 0 0;
  background: var(--ad-turquoise);
  content: "";
  transform: scaleX(0);
  transition: transform var(--ad-transition);
}

.ad-anchor-nav a:hover {
  color: var(--ad-primary);
}

.ad-anchor-nav a:hover::after {
  transform: scaleX(1);
}


/* ==========================================================================
   32.3 PAGE INTRODUCTION
   ========================================================================== */

.ad-trips-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.ad-trips-intro__content h2 {
  margin-bottom: 24px;
}

.ad-trips-intro__content p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.ad-trips-intro__content .ad-lead {
  color: var(--ad-primary-dark);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
}

.ad-trips-intro__media {
  position: relative;
  min-height: 590px;
}

.ad-trips-intro__image {
  width: calc(100% - 44px);
  height: 560px;
  margin-left: auto;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  box-shadow: var(--ad-shadow-lg);
}

.ad-trips-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-trips-intro__badge {
  position: absolute;
  bottom: 30px;
  left: 0;
  max-width: 240px;
  padding: 24px 26px;
  border-radius: var(--ad-radius-md);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-md);
}

.ad-trips-intro__badge strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 19px;
}

.ad-trips-intro__badge span {
  color: var(--ad-text-soft);
  font-size: 13px;
  line-height: 1.55;
}


/* ==========================================================================
   32.4 TRIP FORMAT CARDS
   ========================================================================== */

.ad-trip-formats__header {
  max-width: 850px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.ad-trip-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.ad-trip-format-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
  transition:
    transform var(--ad-transition-slow),
    box-shadow var(--ad-transition-slow);
}

.ad-trip-format-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--ad-shadow-md);
}

.ad-trip-format-card__media {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: var(--ad-primary-dark);
}

.ad-trip-format-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 56%,
    rgba(8, 24, 45, 0.34) 100%
  );
  content: "";
}

.ad-trip-format-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ad-trip-format-card:hover .ad-trip-format-card__media img {
  transform: scale(1.045);
}

.ad-trip-format-card__badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  padding: 8px 13px;
  border-radius: var(--ad-radius-pill);
  background: rgba(8, 24, 45, 0.76);
  color: var(--ad-turquoise);
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ad-trip-format-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(25px, 3vw, 35px);
}

.ad-trip-format-card h3 {
  margin-bottom: 13px;
  font-size: clamp(24px, 2.7vw, 32px);
}

.ad-trip-format-card__description {
  margin-bottom: 22px;
  color: var(--ad-text-soft);
  line-height: 1.72;
}

.ad-trip-format-card__features {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  list-style: none;
}

.ad-trip-format-card__features li {
  position: relative;
  padding-left: 25px;
  color: var(--ad-text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.ad-trip-format-card__features li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ad-turquoise);
  box-shadow: 0 0 0 4px rgba(38, 198, 218, 0.12);
  content: "";
}

.ad-trip-format-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--ad-border);
}

.ad-trip-format-card__meta {
  color: var(--ad-text-muted);
  font-family: var(--ad-font-heading);
  font-size: 12px;
  font-weight: 600;
}


/* ==========================================================================
   32.5 LIVE SCHEDULE SECTION
   ========================================================================== */

.ad-trip-schedule {
  background:
    radial-gradient(
      circle at 7% 2%,
      rgba(38, 198, 218, 0.12),
      transparent 27%
    ),
    radial-gradient(
      circle at 95% 90%,
      rgba(31, 111, 178, 0.1),
      transparent 30%
    ),
    var(--ad-background);
}

.ad-trip-schedule__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.ad-trip-schedule__intro h2 {
  margin-bottom: 0;
}

.ad-trip-schedule__copy {
  max-width: 620px;
  margin-left: auto;
}

.ad-trip-schedule__copy p {
  margin-bottom: 0;
  color: var(--ad-text-soft);
  font-size: 18px;
  line-height: 1.75;
}

.ad-trip-schedule__notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 25px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 111, 178, 0.15);
  border-radius: var(--ad-radius-md);
  background: var(--ad-surface-blue);
  color: var(--ad-text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.ad-trip-schedule__notice svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--ad-ocean);
}

.ad-trip-schedule__notice strong {
  color: var(--ad-primary-dark);
}

.ad-trip-schedule .ad-booking__shell {
  padding: clamp(14px, 2vw, 24px);
}


/* ==========================================================================
   32.6 REEF AND WRECK GUIDE
   ========================================================================== */

.ad-dive-guide__header {
  max-width: 850px;
  margin: 0 auto clamp(42px, 6vw, 68px);
  text-align: center;
}

.ad-dive-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 46px);
}

.ad-dive-guide-card {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  background: var(--ad-primary-dark);
  color: var(--ad-white);
  box-shadow: var(--ad-shadow-lg);
  isolation: isolate;
}

.ad-dive-guide-card__media,
.ad-dive-guide-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-dive-guide-card__media {
  z-index: -3;
}

.ad-dive-guide-card__media img {
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ad-dive-guide-card:hover .ad-dive-guide-card__media img {
  transform: scale(1.04);
}

.ad-dive-guide-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 18, 38, 0.12) 0%,
      rgba(5, 18, 38, 0.35) 38%,
      rgba(5, 18, 38, 0.94) 100%
    );
  content: "";
}

.ad-dive-guide-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(30px, 4vw, 52px);
}

.ad-dive-guide-card__label {
  display: inline-flex;
  margin-bottom: 17px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--ad-radius-pill);
  background: rgba(8, 24, 45, 0.38);
  color: var(--ad-turquoise);
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ad-dive-guide-card h3 {
  margin-bottom: 17px;
  color: var(--ad-white);
  font-size: clamp(32px, 4vw, 49px);
}

.ad-dive-guide-card__content > p {
  max-width: 590px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.ad-site-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ad-site-chip {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: var(--ad-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* ==========================================================================
   32.7 ALL DIVERS SECTION
   ========================================================================== */

.ad-all-divers__header {
  max-width: 850px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.ad-diver-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ad-diver-card {
  padding: clamp(25px, 3vw, 35px);
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
  transition:
    transform var(--ad-transition),
    box-shadow var(--ad-transition);
}

.ad-diver-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ad-shadow-md);
}

.ad-diver-card__icon {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ad-surface-blue);
  color: var(--ad-ocean);
}

.ad-diver-card__icon svg {
  width: 27px;
  height: 27px;
}

.ad-diver-card h3 {
  margin-bottom: 11px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.ad-diver-card p {
  margin-bottom: 0;
  color: var(--ad-text-soft);
  font-size: 14px;
  line-height: 1.7;
}


/* ==========================================================================
   32.8 WHAT TO EXPECT TIMELINE
   ========================================================================== */

.ad-trip-day__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.ad-trip-day__intro {
  position: sticky;
  top: calc(var(--ad-header-height) + 42px);
}

.ad-trip-day__intro h2 {
  margin-bottom: 22px;
}

.ad-trip-day__intro p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.ad-trip-timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.ad-trip-timeline::before {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 28px;
  width: 1px;
  background: var(--ad-border-strong);
  content: "";
}

.ad-trip-step {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 35px;
}

.ad-trip-step:last-child {
  padding-bottom: 0;
}

.ad-trip-step__number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 6px solid var(--ad-white);
  border-radius: 50%;
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--ad-shadow-sm);
}

.ad-trip-step__content {
  padding: 5px 0 25px;
  border-bottom: 1px solid var(--ad-border);
}

.ad-trip-step:last-child .ad-trip-step__content {
  border-bottom: 0;
}

.ad-trip-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.ad-trip-step p {
  margin-bottom: 0;
  color: var(--ad-text-soft);
  font-size: 15px;
  line-height: 1.7;
}


/* ==========================================================================
   32.9 INCLUDED / RENTALS
   ========================================================================== */

.ad-prep__header {
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}

.ad-prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
}

.ad-prep-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
}

.ad-prep-card--blue {
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(38, 198, 218, 0.13),
      transparent 30%
    ),
    var(--ad-surface-blue);
}

.ad-prep-card__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ad-white);
  color: var(--ad-ocean);
  box-shadow: var(--ad-shadow-sm);
}

.ad-prep-card__icon svg {
  width: 30px;
  height: 30px;
}

.ad-prep-card h3 {
  margin-bottom: 14px;
}

.ad-prep-card > p {
  color: var(--ad-text-soft);
}

.ad-check-list {
  display: grid;
  gap: 13px;
  margin-top: 25px;
  list-style: none;
}

.ad-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ad-text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.ad-check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(38, 198, 218, 0.16);
  color: var(--ad-ocean);
  content: "✓";
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 700;
}


/* ==========================================================================
   32.10 PRIVATE CHARTER FEATURE
   ========================================================================== */

.ad-private-feature {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  color: var(--ad-white);
  box-shadow: var(--ad-shadow-lg);
  isolation: isolate;
}

.ad-private-feature__media,
.ad-private-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-private-feature__media {
  z-index: -3;
}

.ad-private-feature__media img {
  object-fit: cover;
  object-position: center 52%;
}

.ad-private-feature::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 18, 38, 0.9) 0%,
      rgba(5, 18, 38, 0.72) 44%,
      rgba(5, 18, 38, 0.28) 78%,
      rgba(5, 18, 38, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(5, 18, 38, 0.65) 100%
    );
  content: "";
}

.ad-private-feature__content {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: clamp(45px, 7vw, 90px);
}

.ad-private-feature h2 {
  margin-bottom: 22px;
  color: var(--ad-white);
}

.ad-private-feature p {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.79);
  font-size: 18px;
  line-height: 1.75;
}

.ad-private-feature__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 32px;
}

.ad-private-feature__uses span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: var(--ad-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* ==========================================================================
   32.11 RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1050px) {
  .ad-trip-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-trip-format-card:last-child {
    grid-column: 1 / -1;
  }

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

  .ad-dive-guide-card {
    min-height: 650px;
  }
}

@media (max-width: 900px) {
  .ad-page-hero {
    min-height: 720px;
  }

  .ad-page-hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(5, 18, 38, 0.85),
        rgba(5, 18, 38, 0.36)
      ),
      linear-gradient(
        180deg,
        rgba(5, 18, 38, 0.25),
        rgba(5, 18, 38, 0.82)
      );
  }

  .ad-trips-intro__grid,
  .ad-trip-schedule__intro,
  .ad-trip-day__layout {
    grid-template-columns: 1fr;
  }

  .ad-trips-intro__media {
    min-height: 530px;
  }

  .ad-trips-intro__image {
    height: 500px;
  }

  .ad-trip-schedule__copy {
    margin-left: 0;
  }

  .ad-dive-guide-grid {
    grid-template-columns: 1fr;
  }

  .ad-dive-guide-card {
    min-height: 620px;
  }

  .ad-trip-day__intro {
    position: static;
  }
}


/* ==========================================================================
   32.12 RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 680px) {
  .ad-page-hero {
    min-height: 730px;
  }

  .ad-page-hero__media img {
    object-position: 58% center;
  }

  .ad-page-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(5, 18, 38, 0.3) 0%,
        rgba(5, 18, 38, 0.48) 38%,
        rgba(5, 18, 38, 0.92) 100%
      );
  }

  .ad-page-hero__inner {
    padding-top: 130px;
    padding-bottom: 68px;
  }

  .ad-page-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .ad-page-hero__copy {
    font-size: 17px;
  }

  .ad-page-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ad-page-hero__actions .ad-btn {
    width: 100%;
  }

  .ad-page-hero__facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ad-anchor-nav__inner {
    justify-content: flex-start;
    padding-inline: var(--ad-gutter);
  }

  .ad-trip-format-grid,
  .ad-diver-grid,
  .ad-prep-grid {
    grid-template-columns: 1fr;
  }

  .ad-trip-format-card:last-child {
    grid-column: auto;
  }

  .ad-trip-format-card__media {
    height: 280px;
  }

  .ad-trip-format-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-trip-format-card__footer .ad-btn {
    width: 100%;
  }

  .ad-trips-intro__media {
    min-height: 450px;
  }

  .ad-trips-intro__image {
    width: calc(100% - 18px);
    height: 430px;
  }

  .ad-trips-intro__badge {
    right: 18px;
    bottom: 16px;
    left: 0;
    max-width: none;
  }

  .ad-dive-guide-card {
    min-height: 580px;
  }

  .ad-dive-guide-card__content {
    padding: 28px;
  }

  .ad-private-feature,
  .ad-private-feature__content {
    min-height: 590px;
  }

  .ad-private-feature::before {
    background:
      linear-gradient(
        180deg,
        rgba(5, 18, 38, 0.25),
        rgba(5, 18, 38, 0.88)
      );
  }

  .ad-private-feature__content {
    justify-content: flex-end;
    padding: 32px 25px 42px;
  }

  .ad-trip-timeline::before {
    left: 24px;
  }

  .ad-trip-step {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
  }

  .ad-trip-step__number {
    width: 48px;
    height: 48px;
    border-width: 5px;
  }
}

/* ==========================================================================
   33. ABOUT PAGE
   ========================================================================== */


/* ==========================================================================
   33.1 ABOUT ORIGIN STORY
   ========================================================================== */

.ad-about-origin__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.ad-about-origin__media {
  position: relative;
  min-height: 680px;
}

.ad-about-origin__image-main {
  width: calc(100% - 52px);
  height: 635px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-lg);
}

.ad-about-origin__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-about-origin__image-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 280px;
  overflow: hidden;
  border: 8px solid var(--ad-white);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-md);
}

.ad-about-origin__image-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-about-origin__year {
  position: absolute;
  top: 38px;
  right: 8px;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  padding: 18px;
  border-radius: 50%;
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep);
  text-align: center;
  box-shadow: var(--ad-shadow-md);
}

.ad-about-origin__year strong {
  display: block;
  font-family: var(--ad-font-heading);
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.ad-about-origin__year span {
  display: block;
  margin-top: 6px;
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-about-origin__content h2 {
  margin-bottom: 25px;
}

.ad-about-origin__content .ad-lead {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 500;
  line-height: 1.55;
}

.ad-about-origin__content p:not(.ad-lead) {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.ad-about-origin__pullquote {
  margin: 32px 0;
  padding: 25px 0 25px 29px;
  border-left: 3px solid var(--ad-turquoise);
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 600;
  line-height: 1.48;
}


/* ==========================================================================
   33.2 LEGACY TIMELINE
   ========================================================================== */

.ad-legacy-timeline__header {
  max-width: 860px;
  margin: 0 auto clamp(50px, 7vw, 82px);
  text-align: center;
}

.ad-legacy-timeline {
  position: relative;
  width: min(100%, 1060px);
  margin-inline: auto;
}

.ad-legacy-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--ad-turquoise),
    var(--ad-ocean),
    rgba(31, 111, 178, 0.16)
  );
  content: "";
  transform: translateX(-50%);
}

.ad-legacy-event {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  align-items: center;
  min-height: 180px;
}

.ad-legacy-event__marker {
  position: relative;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  justify-self: center;
  border: 7px solid var(--ad-surface-blue);
  border-radius: 50%;
  background: var(--ad-turquoise);
  box-shadow: var(--ad-shadow-sm);
}

.ad-legacy-event__marker::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ad-primary-dark);
  content: "";
}

.ad-legacy-event__card {
  position: relative;
  padding: 28px 31px;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
}

.ad-legacy-event:nth-child(odd) .ad-legacy-event__card {
  grid-column: 1;
  text-align: right;
}

.ad-legacy-event:nth-child(odd) .ad-legacy-event__marker {
  grid-column: 2;
}

.ad-legacy-event:nth-child(even) .ad-legacy-event__marker {
  grid-column: 2;
}

.ad-legacy-event:nth-child(even) .ad-legacy-event__card {
  grid-column: 3;
}

.ad-legacy-event__year {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ad-ocean);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ad-legacy-event h3 {
  margin-bottom: 9px;
  font-size: clamp(20px, 2.3vw, 27px);
}

.ad-legacy-event p {
  margin-bottom: 0;
  color: var(--ad-text-soft);
  font-size: 15px;
  line-height: 1.7;
}


/* ==========================================================================
   33.3 JOSH AND ANNIE FEATURE
   ========================================================================== */

.ad-owners-story {
  overflow: hidden;
}

.ad-owners-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
}

.ad-owners-story__content h2 {
  margin-bottom: 25px;
}

.ad-owners-story__content .ad-lead {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-weight: 500;
}

.ad-owners-story__content p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.ad-owners-story__names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  color: var(--ad-ocean);
  font-family: var(--ad-font-heading);
  font-size: 17px;
  font-weight: 700;
}

.ad-owners-story__names span {
  color: var(--ad-turquoise-dark);
}

.ad-owners-story__media {
  position: relative;
  min-height: 690px;
}

.ad-owners-story__image {
  position: relative;
  height: 650px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-lg);
}

.ad-owners-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-owners-story__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(8, 24, 45, 0.5) 100%
  );
  content: "";
}

.ad-owners-story__caption {
  position: absolute;
  z-index: 3;
  right: -28px;
  bottom: 34px;
  max-width: 300px;
  padding: 24px 26px;
  border-radius: var(--ad-radius-md);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-md);
}

.ad-owners-story__caption strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 17px;
}

.ad-owners-story__caption span {
  color: var(--ad-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ad-owners-story__media::before {
  position: absolute;
  top: -32px;
  right: -30px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(38, 198, 218, 0.17);
  content: "";
}


/* ==========================================================================
   33.4 FAMILY QUOTE BANNER
   ========================================================================== */

.ad-family-quote {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 124px) 0;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(38, 198, 218, 0.18),
      transparent 30%
    ),
    linear-gradient(
      140deg,
      var(--ad-primary-deep),
      var(--ad-primary-dark) 56%,
      var(--ad-primary)
    );
  color: var(--ad-white);
  text-align: center;
}

.ad-family-quote::before {
  position: absolute;
  top: -280px;
  left: -210px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.ad-family-quote__content {
  position: relative;
  z-index: 2;
  width: min(
    calc(100% - (var(--ad-gutter) * 2)),
    1000px
  );
  margin-inline: auto;
}

.ad-family-quote__mark {
  margin-bottom: 18px;
  color: var(--ad-turquoise);
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 0.65;
}

.ad-family-quote blockquote {
  margin: 0 auto 24px;
  color: var(--ad-white);
  font-family: var(--ad-font-heading);
  font-size: clamp(30px, 4.7vw, 59px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ad-family-quote p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}


/* ==========================================================================
   33.5 VALUES
   ========================================================================== */

.ad-values__header {
  max-width: 850px;
  margin: 0 auto clamp(42px, 6vw, 66px);
  text-align: center;
}

.ad-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ad-value-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 39px);
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-lg);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-sm);
  transition:
    transform var(--ad-transition),
    box-shadow var(--ad-transition);
}

.ad-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ad-shadow-md);
}

.ad-value-card::after {
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(38, 198, 218, 0.08);
  content: "";
}

.ad-value-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 50%;
  background: var(--ad-surface-blue);
  color: var(--ad-ocean);
}

.ad-value-card__icon svg {
  width: 28px;
  height: 28px;
}

.ad-value-card h3 {
  margin-bottom: 11px;
  font-size: 20px;
}

.ad-value-card p {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: var(--ad-text-soft);
  font-size: 14px;
  line-height: 1.72;
}


/* ==========================================================================
   33.6 CREW CULTURE FEATURE
   ========================================================================== */

.ad-crew-culture__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  gap: clamp(32px, 5vw, 62px);
}

.ad-crew-culture__media {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-lg);
}

.ad-crew-culture__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-crew-culture__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(8, 24, 45, 0.56) 100%
  );
  content: "";
}

.ad-crew-culture__media-caption {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 31px;
  left: 34px;
  color: var(--ad-white);
}

.ad-crew-culture__media-caption strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ad-font-heading);
  font-size: 22px;
}

.ad-crew-culture__media-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.ad-crew-culture__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 52px) 0;
}

.ad-crew-culture__content h2 {
  margin-bottom: 23px;
}

.ad-crew-culture__content > p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.ad-crew-points {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.ad-crew-point {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.ad-crew-point__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--ad-surface-blue);
  color: var(--ad-ocean);
}

.ad-crew-point__icon svg {
  width: 22px;
  height: 22px;
}

.ad-crew-point h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.ad-crew-point p {
  margin-bottom: 0;
  color: var(--ad-text-muted);
  font-size: 14px;
  line-height: 1.62;
}


/* ==========================================================================
   33.7 LEGACY BOAT FEATURE
   ========================================================================== */

.ad-about-boat {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: var(--ad-white);
  isolation: isolate;
}

.ad-about-boat__media,
.ad-about-boat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ad-about-boat__media {
  z-index: -3;
}

.ad-about-boat__media img {
  object-fit: cover;
  object-position: center 48%;
}

.ad-about-boat::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 18, 38, 0.92) 0%,
      rgba(5, 18, 38, 0.7) 47%,
      rgba(5, 18, 38, 0.2) 82%
    ),
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(5, 18, 38, 0.6) 100%
    );
  content: "";
}

.ad-about-boat__inner {
  display: flex;
  min-height: 700px;
  align-items: center;
}

.ad-about-boat__content {
  max-width: 720px;
  padding-block: 90px;
}

.ad-about-boat h2 {
  margin-bottom: 23px;
  color: var(--ad-white);
}

.ad-about-boat p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.ad-about-boat__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 34px;
}

.ad-about-boat__facts span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--ad-radius-pill);
  background: rgba(8, 24, 45, 0.28);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* ==========================================================================
   33.8 SOCIAL COMMUNITY
   ========================================================================== */

.ad-social-community__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: clamp(40px, 6vw, 66px);
}

.ad-social-community__header-copy {
  max-width: 760px;
}

.ad-social-community__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, 265px);
  gap: 20px;
}

.ad-social-community__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-sm);
}

.ad-social-community__image:first-child {
  grid-row: 1 / 3;
}

.ad-social-community__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ad-social-community__image:hover img {
  transform: scale(1.045);
}

.ad-social-community__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 58%,
    rgba(8, 24, 45, 0.38) 100%
  );
  content: "";
}


/* ==========================================================================
   33.9 RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1050px) {
  .ad-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-social-community__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 420px 260px;
  }

  .ad-social-community__image:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .ad-about-origin__grid,
  .ad-owners-story__grid,
  .ad-crew-culture__grid {
    grid-template-columns: 1fr;
  }

  .ad-about-origin__media {
    order: 2;
  }

  .ad-about-origin__content {
    order: 1;
  }

  .ad-owners-story__media {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .ad-owners-story__caption {
    right: 20px;
  }

  .ad-legacy-timeline::before {
    left: 27px;
    transform: none;
  }

  .ad-legacy-event {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding-bottom: 30px;
  }

  .ad-legacy-event__marker,
  .ad-legacy-event:nth-child(odd) .ad-legacy-event__marker,
  .ad-legacy-event:nth-child(even) .ad-legacy-event__marker {
    grid-column: 1;
    grid-row: 1;
    width: 54px;
  }

  .ad-legacy-event__card,
  .ad-legacy-event:nth-child(odd) .ad-legacy-event__card,
  .ad-legacy-event:nth-child(even) .ad-legacy-event__card {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .ad-crew-culture__media {
    min-height: 560px;
  }
}


/* ==========================================================================
   33.10 RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 680px) {
  .ad-about-origin__media {
    min-height: 480px;
  }

  .ad-about-origin__image-main {
    width: calc(100% - 20px);
    height: 455px;
  }

  .ad-about-origin__image-inset {
    width: 48%;
    height: 185px;
    border-width: 5px;
  }

  .ad-about-origin__year {
    top: 20px;
    width: 100px;
    height: 100px;
    padding: 12px;
  }

  .ad-about-origin__year strong {
    font-size: 21px;
  }

  .ad-about-origin__year span {
    font-size: 9px;
  }

  .ad-about-origin__pullquote {
    padding-left: 22px;
    font-size: 20px;
  }

  .ad-legacy-event {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 13px;
  }

  .ad-legacy-timeline::before {
    left: 22px;
  }

  .ad-legacy-event__marker,
  .ad-legacy-event:nth-child(odd) .ad-legacy-event__marker,
  .ad-legacy-event:nth-child(even) .ad-legacy-event__marker {
    width: 45px;
    height: 45px;
    border-width: 5px;
  }

  .ad-legacy-event__card {
    padding: 23px 21px;
  }

  .ad-owners-story__media {
    min-height: 530px;
  }

  .ad-owners-story__image {
    height: 510px;
  }

  .ad-owners-story__caption {
    right: 14px;
    bottom: 17px;
    left: 14px;
    max-width: none;
  }

  .ad-owners-story__media::before {
    display: none;
  }

  .ad-values-grid {
    grid-template-columns: 1fr;
  }

  .ad-family-quote blockquote {
    font-size: clamp(28px, 9vw, 42px);
  }

  .ad-crew-culture__media {
    min-height: 490px;
  }

  .ad-crew-culture__media-caption {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .ad-about-boat,
  .ad-about-boat__inner {
    min-height: 650px;
  }

  .ad-about-boat::before {
    background:
      linear-gradient(
        180deg,
        rgba(5, 18, 38, 0.26),
        rgba(5, 18, 38, 0.9)
      );
  }

  .ad-about-boat__inner {
    align-items: flex-end;
  }

  .ad-about-boat__content {
    padding-block: 70px;
  }

  .ad-social-community__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-social-community__header .ad-btn {
    width: 100%;
  }

  .ad-social-community__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 310px);
  }

  .ad-social-community__image:first-child {
    grid-column: auto;
  }
}

/* ==========================================================================
   34. GALLERY PAGE
   ========================================================================== */


/* ==========================================================================
   34.1 GALLERY INTRO
   ========================================================================== */

.ad-gallery-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.ad-gallery-intro__content h2 {
  margin-bottom: 24px;
}

.ad-gallery-intro__content .ad-lead {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-weight: 500;
}

.ad-gallery-intro__content p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.ad-gallery-intro__media {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
  min-height: 578px;
}

.ad-gallery-intro__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-md);
}

.ad-gallery-intro__image:first-child {
  grid-row: 1 / 3;
}

.ad-gallery-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-gallery-intro__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(8, 24, 45, 0.25)
  );
  content: "";
}

.ad-gallery-intro__badge {
  position: absolute;
  z-index: 3;
  right: -24px;
  bottom: 34px;
  max-width: 230px;
  padding: 22px 24px;
  border-radius: var(--ad-radius-md);
  background: var(--ad-turquoise);
  color: var(--ad-primary-deep);
  box-shadow: var(--ad-shadow-md);
}

.ad-gallery-intro__badge strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--ad-font-heading);
  font-size: 17px;
  font-weight: 700;
}

.ad-gallery-intro__badge span {
  font-size: 13px;
  line-height: 1.55;
}


/* ==========================================================================
   34.2 GALLERY FILTERS
   ========================================================================== */

.ad-gallery-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.ad-gallery-section__header-copy {
  max-width: 760px;
}

.ad-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ad-gallery-filter {
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--ad-border-strong);
  border-radius: var(--ad-radius-pill);
  background: var(--ad-white);
  color: var(--ad-text-soft);
  cursor: pointer;
  font-family: var(--ad-font-heading);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color var(--ad-transition),
    background-color var(--ad-transition),
    color var(--ad-transition),
    transform var(--ad-transition);
}

.ad-gallery-filter:hover {
  border-color: var(--ad-ocean);
  color: var(--ad-ocean);
  transform: translateY(-1px);
}

.ad-gallery-filter.is-active {
  border-color: var(--ad-primary);
  background: var(--ad-primary);
  color: var(--ad-white);
}


/* ==========================================================================
   34.3 MASONRY GALLERY
   ========================================================================== */

.ad-gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 110px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ad-gallery-item {
  position: relative;
  grid-row: span 3;
  overflow: hidden;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-primary-dark);
  box-shadow: var(--ad-shadow-sm);
  cursor: zoom-in;
  isolation: isolate;
  transition:
    transform var(--ad-transition-slow),
    box-shadow var(--ad-transition-slow),
    opacity var(--ad-transition);
}

.ad-gallery-item--wide {
  grid-column: span 2;
}

.ad-gallery-item--tall {
  grid-row: span 5;
}

.ad-gallery-item--large {
  grid-column: span 2;
  grid-row: span 5;
}

.ad-gallery-item[hidden] {
  display: none !important;
}

.ad-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--ad-shadow-lg);
}

.ad-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ad-gallery-item:hover img {
  transform: scale(1.045);
}

.ad-gallery-item::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(8, 24, 45, 0.78) 100%
  );
  content: "";
  opacity: 0.72;
  transition: opacity var(--ad-transition);
}

.ad-gallery-item:hover::before {
  opacity: 1;
}

.ad-gallery-item__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  color: var(--ad-white);
}

.ad-gallery-item__content strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--ad-font-heading);
  font-size: 17px;
  font-weight: 600;
}

.ad-gallery-item__content span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.ad-gallery-item__zoom {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(8, 24, 45, 0.36);
  color: var(--ad-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ad-gallery-item__zoom svg {
  width: 19px;
  height: 19px;
}


/* ==========================================================================
   34.4 GALLERY LIGHTBOX
   ========================================================================== */

.ad-gallery-dialog {
  width: min(94vw, 1380px);
  max-width: 1380px;
  max-height: 94vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--ad-radius-lg);
  background: var(--ad-primary-deep);
  color: var(--ad-white);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.48);
}

.ad-gallery-dialog::backdrop {
  background: rgba(3, 12, 26, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ad-gallery-dialog__inner {
  position: relative;
  display: grid;
  max-height: 94vh;
  grid-template-rows: minmax(0, 1fr) auto;
}

.ad-gallery-dialog__image-wrap {
  display: grid;
  min-height: 300px;
  max-height: calc(94vh - 96px);
  place-items: center;
  overflow: hidden;
  background: #020914;
}

.ad-gallery-dialog__image {
  width: 100%;
  height: 100%;
  max-height: calc(94vh - 96px);
  object-fit: contain;
}

.ad-gallery-dialog__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 24px;
  background: var(--ad-primary-deep);
}

.ad-gallery-dialog__caption strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--ad-font-heading);
  font-size: 16px;
}

.ad-gallery-dialog__caption span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.ad-gallery-dialog__close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 24, 45, 0.78);
  color: var(--ad-white);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background-color var(--ad-transition),
    transform var(--ad-transition);
}

.ad-gallery-dialog__close:hover {
  background: var(--ad-primary);
  transform: rotate(5deg);
}


/* ==========================================================================
   34.5 PHOTO PHILOSOPHY SECTION
   ========================================================================== */

.ad-photo-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(50px, 8vw, 116px);
}

.ad-photo-story__content h2 {
  margin-bottom: 23px;
}

.ad-photo-story__content p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.78;
}

.ad-photo-story__content .ad-lead {
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-weight: 500;
}

.ad-photo-story__points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.ad-photo-story__point {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.ad-photo-story__point-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ad-white);
  color: var(--ad-ocean);
  box-shadow: var(--ad-shadow-sm);
}

.ad-photo-story__point-icon svg {
  width: 21px;
  height: 21px;
}

.ad-photo-story__point h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.ad-photo-story__point p {
  margin-bottom: 0;
  color: var(--ad-text-muted);
  font-size: 14px;
  line-height: 1.62;
}

.ad-photo-story__media {
  position: relative;
  min-height: 660px;
}

.ad-photo-story__image {
  width: calc(100% - 48px);
  height: 625px;
  margin-left: auto;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  box-shadow: var(--ad-shadow-lg);
}

.ad-photo-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-photo-story__card {
  position: absolute;
  bottom: 28px;
  left: 0;
  max-width: 270px;
  padding: 23px 25px;
  border-radius: var(--ad-radius-md);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-md);
}

.ad-photo-story__card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 17px;
}

.ad-photo-story__card span {
  color: var(--ad-text-muted);
  font-size: 13px;
  line-height: 1.55;
}


/* ==========================================================================
   34.6 SOCIAL MEDIA CTA
   ========================================================================== */

.ad-social-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--ad-radius-xl);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(38, 198, 218, 0.21),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--ad-primary-deep),
      var(--ad-primary-dark) 58%,
      var(--ad-primary)
    );
  color: var(--ad-white);
  box-shadow: var(--ad-shadow-lg);
}

.ad-social-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 50px;
  min-height: 430px;
  padding: clamp(45px, 7vw, 82px);
}

.ad-social-cta__content h2 {
  margin-bottom: 20px;
  color: var(--ad-white);
}

.ad-social-cta__content p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.72;
}

.ad-social-cta__platforms {
  display: grid;
  gap: 13px;
}

.ad-social-cta__platform {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ad-radius-md);
  background: rgba(255, 255, 255, 0.07);
  transition:
    background-color var(--ad-transition),
    border-color var(--ad-transition),
    transform var(--ad-transition);
}

.ad-social-cta__platform:hover {
  border-color: rgba(38, 198, 218, 0.6);
  background: rgba(38, 198, 218, 0.12);
  transform: translateX(4px);
}

.ad-social-cta__platform-main {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ad-social-cta__platform-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ad-turquoise);
}

.ad-social-cta__platform-icon svg {
  width: 20px;
  height: 20px;
}

.ad-social-cta__platform strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ad-white);
  font-family: var(--ad-font-heading);
  font-size: 14px;
}

.ad-social-cta__platform span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ad-social-cta__arrow {
  color: var(--ad-turquoise);
  font-size: 22px;
}


/* ==========================================================================
   34.7 RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1050px) {
  .ad-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-social-cta__inner {
    grid-template-columns: 1fr;
  }

  .ad-social-cta__platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ad-social-cta__platform {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-social-cta__arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .ad-gallery-intro__grid,
  .ad-photo-story__grid {
    grid-template-columns: 1fr;
  }

  .ad-gallery-intro__media {
    order: 2;
  }

  .ad-gallery-intro__content {
    order: 1;
  }

  .ad-gallery-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .ad-photo-story__media {
    min-height: 570px;
  }

  .ad-photo-story__image {
    height: 540px;
  }
}


/* ==========================================================================
   34.8 RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 680px) {
  .ad-gallery-intro__media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 340px 190px;
    min-height: 548px;
  }

  .ad-gallery-intro__image:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .ad-gallery-intro__badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .ad-gallery-filters {
    width: 100%;
  }

  .ad-gallery-filter {
    flex: 1 1 calc(50% - 9px);
  }

  .ad-gallery-grid {
    grid-auto-rows: 95px;
    grid-template-columns: 1fr;
  }

  .ad-gallery-item,
  .ad-gallery-item--wide,
  .ad-gallery-item--tall,
  .ad-gallery-item--large {
    grid-column: auto;
    grid-row: span 4;
  }

  .ad-gallery-item--tall,
  .ad-gallery-item--large {
    grid-row: span 5;
  }

  .ad-gallery-item__content {
    padding: 21px;
  }

  .ad-gallery-dialog {
    width: 96vw;
    max-height: 92vh;
  }

  .ad-gallery-dialog__caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-photo-story__media {
    min-height: 490px;
  }

  .ad-photo-story__image {
    width: calc(100% - 18px);
    height: 465px;
  }

  .ad-photo-story__card {
    right: 18px;
    bottom: 16px;
    max-width: none;
  }

  .ad-social-cta__inner {
    padding: 40px 24px;
  }

  .ad-social-cta__platforms {
    grid-template-columns: 1fr;
  }

  .ad-social-cta__platform {
    align-items: center;
    flex-direction: row;
  }

  .ad-social-cta__arrow {
    display: block;
  }
}

/* ==========================================================================
   35. CONTACT PAGE
   Reuses:
   - .ad-page-hero
   - .ad-anchor-nav
   - .ad-card
   - .ad-icon-box
   - .ad-directions__*
   - .ad-trip-day__*
   - .ad-trip-timeline
   - .ad-trip-step
   - .ad-faq__*
   - .ad-final-cta
   ========================================================================== */


/* ==========================================================================
   35.1 QUICK CONTACT CARDS
   ========================================================================== */

.ad-contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ad-contact-quick-card {
  position: relative;
  display: flex;
  min-height: 305px;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform var(--ad-transition),
    box-shadow var(--ad-transition),
    border-color var(--ad-transition);
}

.ad-contact-quick-card:hover {
  border-color: rgba(31, 111, 178, 0.26);
  box-shadow: var(--ad-shadow-md);
  transform: translateY(-6px);
}

.ad-contact-quick-card .ad-icon-box {
  flex: 0 0 auto;
}

.ad-contact-quick-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--ad-ocean);
  font-family: var(--ad-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ad-contact-quick-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.ad-contact-quick-card p {
  flex: 1;
  color: var(--ad-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.ad-contact-quick-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ad-ocean) !important;
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 600;
  transition:
    gap var(--ad-transition),
    color var(--ad-transition);
}

.ad-contact-quick-card__action::after {
  content: "→";
}

.ad-contact-quick-card__action:hover {
  gap: 13px;
  color: var(--ad-primary) !important;
}

.ad-contact-quick-card--featured {
  border-color: transparent;
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(38, 198, 218, 0.22),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      var(--ad-primary-deep),
      var(--ad-primary-dark)
    );
  color: var(--ad-white);
}

.ad-contact-quick-card--featured:hover {
  border-color: rgba(38, 198, 218, 0.34);
}

.ad-contact-quick-card--featured .ad-icon-box {
  background: rgba(38, 198, 218, 0.14);
  color: var(--ad-turquoise);
}

.ad-contact-quick-card--featured .ad-contact-quick-card__label {
  color: var(--ad-turquoise);
}

.ad-contact-quick-card--featured h3 {
  color: var(--ad-white);
}

.ad-contact-quick-card--featured p {
  color: rgba(255, 255, 255, 0.7);
}

.ad-contact-quick-card--featured .ad-contact-quick-card__action {
  color: var(--ad-turquoise) !important;
}

.ad-contact-quick-card--featured .ad-contact-quick-card__action:hover {
  color: var(--ad-white) !important;
}


/* ==========================================================================
   35.2 LOGISTICS PILLS
   ========================================================================== */

.ad-contact-logistics__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 31px;
}

.ad-contact-logistics__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--ad-radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ad-contact-logistics__pill svg {
  width: 16px;
  height: 16px;
  color: var(--ad-turquoise);
}


/* ==========================================================================
   35.3 PARKING CALLOUT
   ========================================================================== */

.ad-parking-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--ad-border);
  border-radius: var(--ad-radius-xl);
  background: var(--ad-white);
  box-shadow: var(--ad-shadow-lg);
}

.ad-parking-callout__media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--ad-primary-dark);
}

.ad-parking-callout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-parking-callout__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(8, 24, 45, 0.62)
    );
  content: "";
}

.ad-parking-callout__media-label {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  color: var(--ad-white);
}

.ad-parking-callout__media-label strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--ad-font-heading);
  font-size: 20px;
}

.ad-parking-callout__media-label span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.ad-parking-callout__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
}

.ad-parking-callout__content h2 {
  margin-bottom: 20px;
}

.ad-parking-callout__content > p {
  color: var(--ad-text-soft);
  font-size: 17px;
  line-height: 1.76;
}

.ad-parking-callout__highlight {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 12px 0 29px;
  padding: 20px 21px;
  border: 1px solid rgba(38, 198, 218, 0.25);
  border-radius: var(--ad-radius-md);
  background: var(--ad-surface-blue);
}

.ad-parking-callout__highlight-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ad-white);
  color: var(--ad-ocean);
  box-shadow: var(--ad-shadow-sm);
}

.ad-parking-callout__highlight-icon svg {
  width: 22px;
  height: 22px;
}

.ad-parking-callout__highlight strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ad-primary-dark);
  font-family: var(--ad-font-heading);
  font-size: 15px;
}

.ad-parking-callout__highlight span {
  color: var(--ad-text-soft);
  font-size: 13px;
  line-height: 1.6;
}


/* ==========================================================================
   35.4 CONTACT SUPPORT CARDS
   ========================================================================== */

.ad-contact-support-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.ad-contact-support-card .ad-icon-box {
  flex: 0 0 auto;
}

.ad-contact-support-card h3 {
  font-size: 22px;
}

.ad-contact-support-card p {
  flex: 1;
}

.ad-contact-support-card .ad-text-link {
  margin-top: 22px;
}


/* ==========================================================================
   35.5 MOBILE CONTACT BAR
   ========================================================================== */

.ad-mobile-contact-bar {
  display: none;
}


/* ==========================================================================
   35.6 RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1050px) {
  .ad-contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ad-parking-callout {
    grid-template-columns: 1fr;
  }

  .ad-parking-callout__media {
    min-height: 430px;
  }
}


/* ==========================================================================
   35.7 RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 680px) {
  .ad-contact-page {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

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

  .ad-contact-quick-card {
    min-height: 0;
  }

  .ad-parking-callout__media {
    min-height: 360px;
  }

  .ad-parking-callout__content {
    padding: 35px 25px;
  }

  .ad-mobile-contact-bar {
    position: fixed;
    z-index: 990;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding:
      10px
      12px
      calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(220, 232, 239, 0.18);
    background: rgba(8, 24, 45, 0.96);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .ad-mobile-contact-bar .ad-btn {
    min-height: 52px;
    padding: 12px 15px;
    font-size: 13px;
  }
}

/* ==========================================================================
   36. MOBILE NAVIGATION OVERLAY
   Keeps desktop navigation completely unchanged.
   ========================================================================== */

@media (max-width: 900px) {

  :root {
    --ad-header-height: 74px;
  }

  /* Solid header while the mobile menu is open. */
  .ad-header.is-menu-open,
  .ad-header.is-menu-open.is-scrolled {
    height: 74px;
    border-color: rgba(255, 255, 255, 0.1);
    background: #08182d;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /*
   * Greater specificity than the global `.ad-site ul` reset.
   * This preserves the intended left and right menu padding.
   */
  .ad-site .ad-nav__links {
    position: absolute;
    z-index: 1001;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;

    width: 100%;
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    min-height: 0;

    justify-content: flex-start;
    gap: 4px;

    margin: 0;

    padding:
      24px
      clamp(27px, 7vw, 42px)
      calc(32px + env(safe-area-inset-bottom));

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    background:
      radial-gradient(
        circle at 82% 14%,
        rgba(38, 198, 218, 0.16),
        transparent 32%
      ),
      #08182d;
  }

  .ad-nav__links li {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateX(-14px);
    transition:
      opacity 320ms ease,
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  /*
   * Staggered entrance gives the open menu a polished,
   * deliberate feel without slowing navigation.
   */
  .ad-header.is-menu-open .ad-nav__links li {
    opacity: 1;
    transform: translateX(0);
  }

  .ad-header.is-menu-open .ad-nav__links li:nth-child(1) {
    transition-delay: 45ms;
  }

  .ad-header.is-menu-open .ad-nav__links li:nth-child(2) {
    transition-delay: 80ms;
  }

  .ad-header.is-menu-open .ad-nav__links li:nth-child(3) {
    transition-delay: 115ms;
  }

  .ad-header.is-menu-open .ad-nav__links li:nth-child(4) {
    transition-delay: 150ms;
  }

  .ad-header.is-menu-open .ad-nav__links li:nth-child(5) {
    transition-delay: 185ms;
  }

  .ad-header.is-menu-open .ad-nav__links li:nth-child(6) {
    transition-delay: 220ms;
  }

  .ad-nav__links a:not(.ad-btn) {
    position: relative;
    display: inline-flex;
    width: auto;
    padding: 11px 0 15px;
    color: rgba(255, 255, 255, 0.84);
    transition:
      color var(--ad-transition),
      transform var(--ad-transition);
  }

  .ad-nav__links a:not(.ad-btn):hover,
  .ad-nav__links a:not(.ad-btn):focus-visible,
  .ad-nav__links a[aria-current="page"]:not(.ad-btn) {
    color: var(--ad-white);
    transform: translateX(4px);
  }

  /*
   * Restore the desktop-style turquoise indicator that the earlier
   * mobile navigation rules disabled.
   */
  .ad-nav__links a:not(.ad-btn)::after {
    position: absolute;
    right: auto;
    bottom: 7px;
    left: 0;

    display: block;
    width: 48px;
    height: 3px;

    border-radius: var(--ad-radius-pill);
    background: var(--ad-turquoise);

    content: "";
    opacity: 0;

    transform: scaleX(0);
    transform-origin: left center;

    transition:
      opacity 220ms ease,
      transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ad-nav__links a:not(.ad-btn):hover::after,
  .ad-nav__links a:not(.ad-btn):focus-visible::after,
  .ad-nav__links a[aria-current="page"]:not(.ad-btn)::after {
    opacity: 1;
    transform: scaleX(1);
  }

  /*
   * Animate the active-page line each time the menu opens.
   */
  .ad-header.is-menu-open
    .ad-nav__links
    a[aria-current="page"]:not(.ad-btn)::after {
    animation: ad-mobile-nav-current 560ms
      cubic-bezier(0.22, 1, 0.36, 1)
      260ms
      both;
  }

  .ad-nav__links .ad-btn {
    flex: 0 0 auto;
    margin-top: 12px;
  }
}


/* ==========================================================================
   36.1 ACTIVE MOBILE NAVIGATION ANIMATION
   ========================================================================== */

@keyframes ad-mobile-nav-current {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

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


/* ==========================================================================
   36.2 WORDPRESS ADMIN BAR — TABLET
   32px toolbar + 74px site header
   ========================================================================== */

@media (min-width: 783px) and (max-width: 900px) {

  body.admin-bar .ad-nav__links {
    height: calc(100vh - 106px);
    height: calc(100dvh - 106px);
  }
}


/* ==========================================================================
   36.3 WORDPRESS ADMIN BAR — MOBILE
   46px toolbar + 74px site header
   ========================================================================== */

@media (max-width: 782px) {

  body.admin-bar .ad-nav__links {
    height: calc(100vh - 120px);
    height: calc(100dvh - 120px);
  }
}


/* ==========================================================================
   36.4 REDUCED MOTION
   ========================================================================== */

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {

  .ad-nav__links li {
    opacity: 1;
    transform: none;
  }

  .ad-header.is-menu-open
    .ad-nav__links
    a[aria-current="page"]:not(.ad-btn)::after {
    animation: none;
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ==========================================================================
   37. MOBILE WORDPRESS ADMIN BAR SCROLL FIX
   On screens 600px and narrower, WordPress scrolls its admin bar away.
   Move the custom header to the true viewport top once the page is scrolled.
   Public visitors are unaffected because they do not have body.admin-bar.
   ========================================================================== */

@media screen and (max-width: 600px) {

  body.admin-bar .ad-header.is-scrolled {
    top: 0;
  }

  /*
   * Once the WordPress toolbar has scrolled away, the open navigation
   * only needs to subtract the 74px American Dream header.
   */
  body.admin-bar
    .ad-header.is-scrolled
    .ad-nav__links {
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    min-height: 0;
  }
}

/* ==========================================================================
   HOMEPAGE PROMOTIONAL FILM
   ========================================================================== */

.ad-film {
  overflow: hidden;
}

.ad-film__header {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(340px, 0.75fr);
  align-items: end;
  gap: clamp(38px, 6vw, 90px);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.ad-film__heading {
  max-width: 820px;
}

.ad-film__heading h2 {
  max-width: 800px;
  margin: 0;
  color: var(--ad-white);
}

.ad-film__intro {
  max-width: 620px;
  justify-self: end;
}

.ad-film__intro p {
  margin: 0 0 30px;
  color: rgba(220, 235, 245, 0.82);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
}

.ad-film__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ad-radius-xl);
  background: #02070d;
  box-shadow: var(--ad-shadow-lg);
  isolation: isolate;
}

.ad-film__frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -80px 120px rgba(8, 24, 45, 0.12);
  pointer-events: none;
  content: "";
}

.ad-film__video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000000;
  object-fit: contain;
}

.ad-film__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  color: rgba(220, 235, 245, 0.64);
  font-size: 13px;
  line-height: 1.6;
}

.ad-film__caption strong {
  color: var(--ad-white);
  font-family: var(--ad-font-heading);
  font-size: 14px;
  font-weight: 600;
}


/* ==========================================================================
   HOMEPAGE PROMOTIONAL FILM — RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
  .ad-film__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .ad-film__intro {
    max-width: 720px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .ad-film__frame {
    border-radius: var(--ad-radius-lg);
  }

  .ad-film__caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ad-film__intro .ad-button-row {
    align-items: stretch;
  }

  .ad-film__intro .ad-button-row .ad-btn {
    width: 100%;
  }
}

/* Navigation scroll lock only applies while mobile navigation is valid. */
@media (max-width: 900px) {
  body.ad-navigation-locked {
    overflow: hidden;
  }
}

/* Defensive guarantee: desktop can never inherit a stale mobile scroll lock. */
@media (min-width: 901px) {
  body.ad-navigation-locked {
    overflow: visible;
  }

  .ad-header.is-menu-open {
    /* JS should remove this, but desktop must remain usable regardless. */
  }
}
/* Theme-specific compatibility and WP content resets. */
body.ad-custom-page { margin:0; padding:0; overflow-x:hidden; }
body.ad-custom-page .wp-block-post-content, body.ad-custom-page .entry-content { max-width:none; width:100%; margin:0; padding:0; }
body.ad-custom-page .ad-site { overflow-x:hidden; overflow-y:visible; }
body.ad-custom-page .ad-site .ad-nav__links { list-style:none; }
@supports not (height: 100svh) { .ad-hero { min-height:760px; } .ad-page-hero { min-height:650px; } }
@media (min-width:901px) { body.ad-custom-page.ad-navigation-locked { overflow-y:auto !important; } }

/* ================================================================
   v1.2 Gallery: deterministic responsive card placement.
   Avoid implicit row packing and sizing from button defaults.
   Scoped to the gallery section, leaving other pages unchanged.
   ================================================================ */
body.ad-custom-page #photo-gallery .ad-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: row dense;
  gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch;
}
body.ad-custom-page #photo-gallery .ad-gallery-item,
body.ad-custom-page #photo-gallery .ad-gallery-item--wide,
body.ad-custom-page #photo-gallery .ad-gallery-item--tall,
body.ad-custom-page #photo-gallery .ad-gallery-item--large {
  display: block;
  grid-row: auto;
  grid-column: auto;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
body.ad-custom-page #photo-gallery .ad-gallery-item--wide,
body.ad-custom-page #photo-gallery .ad-gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
body.ad-custom-page #photo-gallery .ad-gallery-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.ad-custom-page #photo-gallery .ad-gallery-item[hidden] { display: none !important; }
@media (max-width: 900px) {
  body.ad-custom-page #photo-gallery .ad-gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  body.ad-custom-page #photo-gallery .ad-gallery-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  body.ad-custom-page #photo-gallery .ad-gallery-item,
  body.ad-custom-page #photo-gallery .ad-gallery-item--wide,
  body.ad-custom-page #photo-gallery .ad-gallery-item--tall,
  body.ad-custom-page #photo-gallery .ad-gallery-item--large { grid-column: 1; aspect-ratio: 4 / 3; }
}
