/* Layout refinements for the forest, mobile navigation and practice cards. */
.hero.identity-on-forest .hero-shade {
  background: linear-gradient(180deg, #10291d36, #0c2018a8 49%, #0c201850);
}

.hero .forest-identity .brand-name {
  font-size: clamp(2.35rem, 7vw, 4.65rem);
  line-height: 1.05;
  letter-spacing: .075em;
  text-shadow: 0 2px 18px #102118;
}

.hero .forest-identity .brand-tagline {
  text-shadow: 0 2px 12px #102118;
}

.hero .forest-identity .hero-actions .hero-booking {
  background: #fff9f1;
  border-color: #fff9f1;
  color: var(--ink);
}

.hero .forest-identity .hero-actions .hero-discover {
  background: #1b30235e;
  border-color: #fffaf1;
  color: #fffaf1;
}

.hero .forest-identity .hero-actions .button:hover {
  background: #f1e5d3;
  border-color: #f1e5d3;
  color: var(--ink);
}

/* Two equal groups keep the ribbon continuous on wide screens. */
@media (prefers-reduced-motion: no-preference) {
  .title-ribbon .ribbon-group {
    min-width: 100vw;
    justify-content: space-between;
  }
}

.header-motion-toggle[hidden] {
  display: none;
}

#approches .photo-discover {
  font-size: .875rem;
  font-weight: 600;
  background: #19261ce8;
}

@media (max-width: 900px) {
  html.enhanced-navigation {
    scroll-padding-top: calc(62px + env(safe-area-inset-top));
  }

  .enhanced-navigation .mobile-navigation-bar {
    position: sticky;
    top: 0;
    bottom: auto;
    justify-content: space-between;
    padding: calc(6px + env(safe-area-inset-top)) max(5%, env(safe-area-inset-right)) 6px max(5%, env(safe-area-inset-left));
    border: 0;
    border-bottom: 1px solid #d4d9cb;
    border-radius: 0;
    gap: 10px;
  }

  .mobile-navigation-bar button {
    justify-content: flex-start;
    min-width: 0;
    padding-inline: 7px 13px;
    border: 1px solid #bbc3b1;
    border-radius: var(--control-radius);
    font-weight: 600;
  }

  .mobile-navigation-bar .button {
    flex: 0 1 auto;
    padding: 10px 15px;
    font-size: .875rem;
  }

  .enhanced-navigation .mobile-navigation-panel:not([hidden]) {
    top: calc(68px + env(safe-area-inset-top));
    bottom: auto;
    max-height: calc(100svh - 86px - env(safe-area-inset-top));
  }

  .enhanced-navigation header.logo-on-veil .veil-banner .site-navigation {
    display: none;
  }

  .enhanced-navigation footer {
    padding-bottom: 45px;
  }

  .hero.identity-on-forest {
    min-height: 420px;
    min-height: clamp(350px, 54svh, 500px);
    background-position: center 60%;
  }

  .hero.identity-on-forest .hero-copy {
    padding-block: 48px;
  }

  .hero .forest-identity .hero-actions .button {
    font-size: .875rem;
  }
}

@media (max-width: 650px) {
  .hero .forest-identity .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero .forest-identity .hero-actions .button {
    width: min(100%, 275px);
  }

  .section p {
    font-size: 1rem;
  }

  #approches .practice p {
    font-size: 1rem;
  }
}
