/* Space Coast Co-Hosts — all responsive and reduced-motion media queries */
.nav-scrim { display: none; }

/* =========================================================
   RESPONSIVE — LARGE DESKTOP TYPE SCALE
   ========================================================= */

@media (min-width: 1440px) {
  .nav { gap: 26px; }
  .top-cta { padding: 13px 20px; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .contact-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .process-point__icon { width: 56px; height: 56px; flex-basis: 56px; }
  .purpose-card__icon,
  .reviews-slider__arrow { width: 40px; height: 40px; }
  .faq-question__icon { width: 40px; height: 40px; flex-basis: 40px; }
  .page--services .service-redesign-icon { width: 52px; height: 52px; }
  .page--contact .contact-clean-item { grid-template-columns: 48px minmax(0, 1fr) 26px; }
  .page--contact .contact-clean-item__icon { width: 48px; height: 48px; }
}

@media (min-width: 1101px) {
  .process-flow[data-process-count="7"] { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .process-flow[data-process-count="7"] .process-point { grid-column: span 2; }
  .process-flow[data-process-count="7"] .process-point:nth-child(5) { grid-column: 2 / span 2; }
  .process-flow[data-process-count="7"] .process-point:nth-child(6) { grid-column: 4 / span 2; }
  .process-flow[data-process-count="7"] .process-point:nth-child(7) { grid-column: 6 / span 2; }
}

/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {
  :root {
    --page-gutter: 22px;
  }
  .header { height: 96px; }
  .header__inner { grid-template-columns: 135px 1fr 170px; }
  .brand img { height: 82px; max-height: 82px; }
  .nav { gap: 18px; }
  .about-shell,
  .services-layout,
  .potential-layout,
  .stays-showcase { gap: 38px; }
  .about-visual { min-height: 460px; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .process-flow,
  .process-flow[data-process-columns] { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .process-point,
  .process-point.is-active { width: 100%; height: auto; min-height: 170px; aspect-ratio: auto; margin: 0; padding: 24px; border-radius: var(--radius-lg); transform: none; }
  .process-point.is-active::before { inset: 12px; border-radius: 18px; }
  .stay-search { grid-template-columns: 1fr 1fr; }
  .stay-search__fallback { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-btn { grid-column: 1 / -1; min-height: 62px; }
  .search-popover--guests { left: 0; right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-map { grid-column: 1 / -1; }
}

/* =========================================================
   RESPONSIVE — TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 900px) {
  .content { padding-top: 22px; }
  .gallery-shell { height: 350px; margin-top: 24px; }
  .about-shell,
  .services-head,
  .services-layout,
  .potential-layout,
  .revenue-cta__card,
  .stays-showcase { grid-template-columns: 1fr; }
  .about-visual { min-height: 430px; }
  .services-head { gap: 32px; }
  .services-visual { position: relative; top: auto; height: 360px; }
  .contact-strip { grid-template-columns: 1fr; }
  .stay-search { grid-template-columns: 1fr 1.25fr; }
  .date-range-popover { left: auto; right: 0; width: min(700px, calc(100vw - (var(--page-gutter) * 2))); transform: none; animation-name: datePopoverInTablet; }
  .things-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-decor__ripple--left { top: 110px; left: -34px; width: 132px; height: 132px; box-shadow: 0 0 0 14px rgba(var(--rgb-brand), .06), 0 0 0 28px rgba(var(--rgb-brand), .03); }
  .hero-decor__ripple--right { top: 126px; right: -18px; width: 108px; height: 108px; box-shadow: 0 0 0 14px rgba(var(--rgb-brand), .05); }
  .hero-decor__dune { left: -82px; bottom: 82px; width: 230px; height: 102px; }
  .hero-decor__shell--left { top: 252px; left: 5%; animation-name: heroShellLeftTablet; }
  .hero-decor__shell--right { top: 214px; right: 6%; animation-name: heroShellRightTablet; }
  .hero-decor__foam { right: 6%; bottom: 102px; width: 96px; }

  .about-section::before,
  .potential-section::before,
  .revenue-cta::before,
  .things-section::before,
  .services-section::before,
  .booking-section::before,
  .partners-section::before,
  .process-section::before,
  .stays-section::before { transform: scale(.82); }
  .partners-section::after,
  .process-section::after,
  .stays-section::after { width: 220px; height: 86px; opacity: .8; }
}

@keyframes heroShellLeftTablet {
  0%, 100% { transform: scale(.9) translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: scale(.9) translate3d(4px, -8px, 0) rotate(-4deg); }
}
@keyframes heroShellRightTablet {
  0%, 100% { transform: scale(.74) translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: scale(.74) translate3d(-4px, -7px, 0) rotate(4deg); }
}

/* =========================================================
   RESPONSIVE — SEARCH CALENDAR SWITCH
   ========================================================= */

@media (max-width: 700px) {
  .calendar-months { grid-template-columns: 1fr; }
  .calendar-month:nth-child(2) { display: none; }
  .date-range-popover { left: 0; right: auto; width: min(430px, calc(100vw - (var(--page-gutter) * 2))); }
}

/* =========================================================
   RESPONSIVE — SMALL SCREENS
   ========================================================= */

@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
    --section-space: 56px;
    --section-space-compact: 56px;
  }

  .header { height: 84px; }
  .brand img { height: 70px; max-height: 70px; }

  .content { padding-top: 20px; }
  .eyebrow { flex-wrap: wrap; gap: 5px; padding: 7px 10px; white-space: normal; }
  .heading--hero { margin-top: 16px; letter-spacing: -.7px; }
  .primary { width: 100%; max-width: 330px; margin-top: 16px; }
  .gallery-shell { height: 310px; margin-top: 22px; }
  .gallery-window { padding-inline: 14px; }
  .g1, .g2, .g3, .g4, .g5, .g6, .g7, .g8 { width: 220px; height: 270px; }

  .about-shell { gap: 34px; }
  .about-visual { min-height: 340px; }
  .about-image-main { left: 28px; }
  .about-image-float { width: 150px; height: 120px; }
  .recognition-row { grid-template-columns: 1fr; gap: 8px; }
  .recognition-item { height: 78px; padding: 8px; }

  .services-head { gap: 22px; margin-bottom: 32px; }
  .services-visual { height: 280px; }
  .service-row { grid-template-columns: 36px minmax(0, 1fr); }

  .partners-grid { grid-template-columns: 1fr; }
  .partner-card { height: 130px; }

  .potential-visual { min-height: 300px; }
  .potential-item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .contact-item { align-items: flex-start; padding: 18px; }

  .process-head { margin-bottom: 32px; text-align: left; }
  .process-flow,
  .process-flow[data-process-columns] { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .process-point,
  .process-point:first-child,
  .process-point.is-active {
    width: 100%;
    height: auto;
    min-height: 92px;
    margin: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    justify-items: start;
    border-radius: 20px;
    text-align: left;
    transform: none;
  }
  .process-point.is-active::before { display: none; }
  .process-point__title { text-align: left; }

  .revenue-cta__content { padding: 30px 24px; }
  .revenue-cta__visual { padding: 0 14px 14px; }
  .revenue-cta__image-wrap { min-height: 260px; }

  .properties-head { flex-direction: column; align-items: flex-start; }
  .stay-search { grid-template-columns: 1fr; gap: 7px; border-radius: var(--radius-lg); }
  .stay-search__fallback { grid-template-columns: 1fr; }
  .search-btn { grid-column: auto; width: 100%; min-height: 58px; border-radius: 17px; }
  .search-popover {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 10px;
    box-shadow: none;
  }
  .search-field--dropdown.is-open { padding-bottom: 10px; }
  .search-popover--guests { padding: 16px; }
  .guest-picker-row { gap: 12px; }
  .guest-picker-copy span { white-space: normal; }
  .date-range-trigger { min-height: 48px; }
  .date-range-popover {
    position: fixed;
    z-index: 120;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    overflow: auto;
    padding: 14px;
    border-radius: 22px;
    transform: none;
    animation-name: datePopoverInMobile;
  }
  .calendar-footer { position: sticky; bottom: -14px; padding-bottom: 3px; background: var(--color-white); }

  .properties-grid,
  .things-grid { grid-template-columns: 1fr; }
  .property-image { height: 210px; }

  .stays-visual { min-height: 330px; padding-left: 24px; }
  .stays-image-frame { height: 310px; border-radius: 24px 24px 56px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-map { grid-column: auto; height: 250px; }
  .footer-logo-box { width: 165px; }
  .footer-logo-box img { width: 140px; }
  .footer-bottom { align-items: center; justify-content: center; }
  .footer-accent { display: none; }

  .hero-decor__ripple--left { top: 128px; left: -52px; width: 98px; height: 98px; box-shadow: 0 0 0 10px rgba(var(--rgb-brand), .06), 0 0 0 20px rgba(var(--rgb-brand), .03); }
  .hero-decor__ripple--right { top: 146px; right: -26px; width: 82px; height: 82px; box-shadow: 0 0 0 10px rgba(var(--rgb-brand), .05); }
  .hero-decor__dune { left: -96px; bottom: 72px; width: 196px; height: 86px; }
  .hero-decor__shell { width: 86px; height: 60px; }
  .hero-decor__shell--left { top: 226px; left: 0; animation-name: heroShellLeftMobile; }
  .hero-decor__shell--right { top: 188px; right: 0; animation-name: heroShellRightMobile; }
  .hero-decor__foam { right: 2%; bottom: 92px; width: 74px; height: 28px; background-size: 18px 18px; }

  .about-section::before,
  .potential-section::before,
  .revenue-cta::before,
  .things-section::before,
  .services-section::before,
  .booking-section::before,
  .partners-section::before,
  .process-section::before,
  .stays-section::before {
    width: 108px;
    height: 108px;
    opacity: .62;
    box-shadow: 0 0 0 12px rgba(var(--rgb-brand), .035);
  }
  .partners-section::after,
  .process-section::after,
  .stays-section::after { width: 170px; height: 68px; opacity: .65; }
  .about-section::after,
  .potential-section::after,
  .revenue-cta::after,
  .things-section::after,
  .services-section::after,
  .booking-section::after { width: 88px; height: 30px; background-size: 18px 18px; opacity: .6; }
}

@keyframes heroShellLeftMobile {
  0%, 100% { transform: scale(.78) translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: scale(.78) translate3d(3px, -6px, 0) rotate(-4deg); }
}
@keyframes heroShellRightMobile {
  0%, 100% { transform: scale(.64) translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: scale(.64) translate3d(-3px, -6px, 0) rotate(4deg); }
}

@media (max-width: 360px) {
  .eyebrow { display: grid; grid-template-columns: 1fr; text-align: center; }
  .eyebrow .dot { display: none; }
  .guest-picker-row { align-items: flex-start; }
  .pet-choice { flex: 0 0 auto; }
}

/* Mobile date-picker animation cannot share the translated desktop keyframe. */
@keyframes datePopoverInTablet {
  from { opacity: 0; transform: translateY(-7px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes datePopoverInMobile {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .gallery-track { transition: none !important; }
}

@media (max-width: 1100px) {
  .about-page-intro__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-slider { --reviews-per-view: 2; }
}

@media (max-width: 900px) {
  .about-page-intro__grid { grid-template-columns: 1fr; }
  .about-page-intro__visual { position: relative; top: auto; max-width: 620px; width: 100%; }
  .about-page-intro__media { min-height: 500px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-card { min-height: 0; }
  .purpose-card__top { margin-bottom: 34px; }
  .reviews-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .about-page-intro__content .heading--section br { display: none; }
  .about-page-intro__media { min-height: 380px; }
  .about-page-intro__image--main { inset: 0 0 58px 24px; }
  .about-page-intro__image--secondary { width: 52%; height: 145px; border-width: 5px; }
  .about-page-intro__visual .recognition-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-page-intro__visual .recognition-item { height: 70px; }
  .purpose-head { margin-bottom: 30px; text-align: left; }
  .purpose-card { padding: 26px 22px; }
  .reviews-slider { --reviews-per-view: 1; }
  .review-card { min-height: 0; padding: 24px; }
  .review-modal__dialog { padding: 30px 24px; }
}

@media (max-width: 640px) {
  .faq-head { margin-bottom: 28px; text-align: left; }
  .faq-question { padding: 19px 18px; gap: 16px; }
  .faq-answer p { padding: 0 18px 20px; }
}

@media (max-width: 1100px) {
  .blog-index-head { grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr); gap: 30px; }
  .blog-featured { grid-template-columns: 1fr 1fr; }
  .blog-featured__content { padding: 36px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .blog-index-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .blog-index-head__title { max-width: 640px; }
  .blog-filter { justify-content: flex-start; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__media { min-height: 390px; }
  .article-layout { grid-template-columns: 1fr; max-width: 820px; }
  .article-share { position: static; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; }
  .article-share > span { margin: 0 4px 0 0; }
}

@media (max-width: 640px) {
  .blog-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .blog-filter__item { width: 100%; min-width: 0; padding-inline: 12px; white-space: normal; }
  .blog-featured__media { min-height: 280px; }
  .blog-featured__content { padding: 26px 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card__media { height: 230px; }
  .article-body { line-height: 1.75; }
  .article-body > h2 { margin-top: 40px; }
  .article-body blockquote { padding: 22px; }
  .article-key-takeaways { padding: 24px 22px; }
  .article-cta { align-items: flex-start; flex-direction: column; padding: 24px; }
  .article-cta .primary { width: 100%; justify-content: center; }
}

@media (max-width: 1000px) {
  .page--contact .contact-page-section { padding: 48px 0 68px; }
  .page--contact .contact-clean-layout { grid-template-columns: 1fr; }
  .page--contact .contact-clean-copy { padding: 52px 48px 44px; }
  .page--contact .contact-clean-panel { padding: 36px 48px 32px; border-top: 1px solid var(--color-border-contact); border-left: 0; }
}

@media (max-width: 620px) {
  .page--contact .contact-page-section { padding: 24px 0 50px; }
  .page--contact .contact-clean-layout { border-radius: 18px; }
  .page--contact .contact-clean-copy { padding: 38px 24px 34px; }
  .page--contact .contact-clean-title { letter-spacing: -1.2px; }
  .page--contact .contact-clean-lead { margin-top: 22px; }
  .page--contact .contact-clean-cta { width: 100%; min-width: 0; margin-top: 26px; }
  .page--contact .contact-clean-panel { padding: 30px 24px 26px; }
  .page--contact .contact-clean-panel__head { flex-direction: column; gap: 10px; }
  .page--contact .contact-clean-item { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; min-height: 92px; }
  .page--contact .contact-clean-item__icon { width: 40px; height: 40px; }
  .page--contact .contact-clean-panel__foot { gap: 8px; }
  .page--contact .contact-clean-panel__foot span::after { display: none; }
}

@media (max-width: 640px) {
  .about-page-intro,
  .blog-index-section,
  .single-blog__header {
    padding-top: 52px;
  }
  }

@media (max-width: 1050px) {
  .page--services .service-redesign-intro__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 46px; }
  .page--services .service-redesign-media { position: relative; top: auto; }
  .page--services .service-redesign-media,
  .page--services .service-redesign-media > img { min-height: 520px; }
  .page--services .service-redesign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .page--services .service-redesign-intro__grid,
  .page--services .service-redesign-process__shell { grid-template-columns: 1fr; }
  .page--services .service-redesign-intro__copy { max-width: 760px; }
  .page--services .service-redesign-media { min-height: 500px; }
  .page--services .service-redesign-media > img { min-height: 500px; }
  .page--services .service-redesign-services__head { gap: 14px; }
  .page--services .service-redesign-process__shell { gap: 38px; }
}

@media (max-width: 600px) {
  .page--services .service-redesign-intro { padding-top: 48px; }
  .page--services .service-redesign-title { letter-spacing: -1px; }
  .page--services .service-redesign-lead { margin-top: 23px; }
  .page--services .service-redesign-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .page--services .service-redesign-primary { width: 100%; }
  .page--services .service-redesign-trust { flex-direction: column; gap: 10px; }
  .page--services .service-redesign-media,
  .page--services .service-redesign-media > img { min-height: 410px; }
  .page--services .service-redesign-media { border-radius: 20px; }
  .page--services .service-redesign-media__card { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
  .page--services .service-redesign-grid { grid-template-columns: 1fr; }
  .page--services .service-redesign-card { min-height: 0; padding: 24px; }
  .page--services .service-redesign-card__top { margin-bottom: 26px; }
  .page--services .service-redesign-process__shell { padding: 30px 24px; border-radius: 20px; }
  .page--services .service-redesign-process__steps article { grid-template-columns: 34px 1fr; gap: 12px; }
  }

/* Cascade-preservation overrides after stylesheet separation */
@media (max-width: 640px) {
  .blog-featured__button { margin-top: 28px; }
}


.nav-mobile-close { display: none; }

/* =========================================================
   V6 — MOBILE OFF-CANVAS HEADER (991px AND BELOW)
   Only the header/nav breakpoint changes here; existing page
   layout breakpoints remain untouched.
   ========================================================= */
@media (max-width: 991px) {
  .header { height: 88px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .brand img { height: 76px; max-height: 76px; }
  .top-cta { display: none; }

  .menu-btn {
    position: relative; z-index: 130; display: grid; place-items: center; cursor: pointer;
    transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, transform var(--duration-fast) ease;
  }
  .menu-btn:hover { border-color: var(--color-brand-soft-border); background: var(--color-surface-soft); }
  .menu-btn i { transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease; }
  .menu-btn::before, .menu-btn::after {
    content: ""; position: absolute; width: 18px; height: 2px; border-radius: var(--radius-pill);
    background: var(--color-ink-soft); opacity: 0;
    transition: opacity var(--duration-fast) ease, transform var(--duration-medium) var(--ease-standard);
  }
  .header.menu-open .menu-btn { border-color: var(--color-brand-soft-border); background: var(--color-surface-soft); opacity: 0; pointer-events: none; }
  .header.menu-open .menu-btn i { opacity: 0; transform: scale(.7); }
  .header.menu-open .menu-btn::before { opacity: 1; transform: rotate(45deg); }
  .header.menu-open .menu-btn::after { opacity: 1; transform: rotate(-45deg); }

  .nav--desktop { display: none; }
  .nav--mobile {
    position: fixed; top: 0; right: 0; left: auto; z-index: 120;
    width: min(410px, 90vw); height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 5px;
    padding: 18px 22px 28px; overflow-y: auto; overscroll-behavior: contain;
    border-left: 1px solid rgba(var(--rgb-white), .12); background: var(--color-brand-deep);
    box-shadow: -24px 0 60px rgba(var(--rgb-shadow-deep), .18);
    transform: translate3d(105%,0,0); visibility: hidden; pointer-events: none;
    transition: transform 360ms var(--ease-emphasis), visibility 360ms step-end;
    -webkit-overflow-scrolling: touch;
    contain: layout paint;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .nav::before { display: none; content: none; }
  .header.menu-open .nav--mobile {
    transform: translate3d(0,0,0); visibility: visible; pointer-events: auto;
    transition: transform 360ms var(--ease-emphasis), visibility 0s step-start;
  }

  .nav-mobile-brand {
    display: flex; align-items: center; width: 100%; min-height: 78px;
    margin: 0 0 10px; padding: 2px 62px 15px 10px;
    border-bottom: 1px solid rgba(var(--rgb-white), .14); border-radius: 0;
  }
  .nav-mobile-brand img { display: block; width: auto; height: 64px; max-width: 170px; object-fit: contain; }
  .nav-mobile-brand::after { display: none; }
  .nav-mobile-brand:hover, .nav-mobile-brand:focus-visible { background: transparent; }

  .nav-mobile-close {
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(var(--rgb-white), .2);
    border-radius: 50%;
    background: rgba(var(--rgb-white), .08);
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
  }
  .nav-mobile-close i { display: grid; place-items: center; width: 1em; height: 1em; line-height: 1; }
  .nav-mobile-close:hover,
  .nav-mobile-close:focus-visible { background: rgba(var(--rgb-white), .16); border-color: rgba(var(--rgb-white), .34); transform: rotate(4deg); }

  /* The drawer has its own close control; avoid a duplicate floating cross over it. */

  .nav > a:not(.nav-mobile-brand):not(.nav-mobile-cta) {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    width: 100%; padding: 14px; border-radius: 12px; color: var(--color-white); font-weight: 500;
  }
  .nav > a:not(.nav-mobile-brand):not(.nav-mobile-cta)::after { display: none; }
  .nav > a:not(.nav-mobile-brand):not(.nav-mobile-cta):hover,
  .nav > a:not(.nav-mobile-brand):not(.nav-mobile-cta):focus-visible { background: rgba(var(--rgb-white), .09); color: var(--color-white); }
  .nav > a:not(.nav-mobile-brand):not(.nav-mobile-cta)[aria-current="page"] {
    background: rgba(var(--rgb-white), .09); color: var(--color-white);
  }

  .nav-link-arrow {
    display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; margin-left: auto;
    color: var(--color-white); line-height: 1; opacity: .72;
    transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
  }
  .nav > a:hover .nav-link-arrow, .nav > a:focus-visible .nav-link-arrow { opacity: 1; transform: translateX(3px); }

  .nav-mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
    margin-top: 14px; padding: 15px 17px; border-radius: 14px; background: var(--color-brand);
    color: var(--color-white); font-weight: 600;
    box-shadow: 0 12px 24px rgba(var(--rgb-brand), .18);
    transition: transform var(--duration-fast) ease, background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  }
  .nav-mobile-cta::after { display: none; }
  .nav-mobile-cta:hover, .nav-mobile-cta:focus-visible {
    background: var(--color-brand-hover); color: var(--color-white); transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(var(--rgb-brand), .22);
  }
  .nav-mobile-cta i { transition: transform var(--duration-fast) ease; }
  .nav-mobile-cta:hover i, .nav-mobile-cta:focus-visible i { transform: translateX(3px); }

  .nav-scrim {
    display: block; position: fixed; top: 0; left: 0; z-index: 90; width: 100vw; height: 100vh; height: 100dvh;
    border: 0; padding: 0; background: rgba(var(--rgb-overlay), .48); opacity: 0; visibility: hidden; pointer-events: none;
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    transition: opacity 300ms ease, visibility 300ms step-end;
  }
  .nav-scrim.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 300ms ease, visibility 0s step-start; }
  html.nav-open,
  body.nav-open { overflow: hidden; overscroll-behavior: none; }

  .nav--mobile .nav-submenu {
    display: grid;
    gap: 4px;
    padding: 2px 0 4px 14px;
  }
  .nav--mobile .nav-submenu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    color: rgba(var(--rgb-white), .82);
  }
  .nav--mobile .nav-submenu__link::after { display: none; }
  .nav--mobile .nav-submenu__link:hover,
  .nav--mobile .nav-submenu__link:focus-visible {
    background: rgba(var(--rgb-white), .08);
    color: var(--color-white);
  }
}

@media (max-width: 640px) {
  .nav--mobile { width: min(380px,92vw); padding: 16px 16px 24px; }
  .nav-mobile-brand { padding-left: 8px; }
  .nav-mobile-brand img { height: 60px; max-width: 158px; }
}


/* V6 reduced-motion safeguard */
@media (prefers-reduced-motion: reduce) and (max-width: 991px) {
  .nav--mobile,
  .nav-scrim,
  .menu-btn i,
  .menu-btn::before,
  .menu-btn::after,
  .nav-link-arrow,
  .nav-mobile-cta,
  .nav-mobile-cta i,
  .nav-mobile-close { transition: none !important; }
}

  .nav .nav-mobile-cta,
  .nav .nav-mobile-cta span,
  .nav .nav-mobile-cta i { color: var(--color-white) !important; }
