/* Header and first screen share a background and a single vertical composition. */
:root { --header-top-gap: 16px; --header-height: 80px; --header-tone: #fbf9f3; }
html, body { background-color: var(--header-tone); }
.has-dock-navigation body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: calc(var(--header-top-gap) + env(safe-area-inset-top, 0px));
  z-index: 69;
  background: var(--header-tone);
  pointer-events: none;
}
.has-dock-navigation .site-header {
  top: calc(var(--header-top-gap) + env(safe-area-inset-top, 0px));
  left: max(var(--frame), env(safe-area-inset-left, 0px));
  right: max(var(--frame), env(safe-area-inset-right, 0px));
  height: auto;
  min-height: var(--header-height);
  gap: 16px;
  background-color: rgb(251 249 243 / 96%);
}
.site-header .brand { flex: none; }
.site-header .header-booking { min-width: 0; white-space: normal; text-align: center; overflow-wrap: anywhere; }
.site-header.has-voice-entry .header-booking { display: none; }
.site-header.has-voice-entry .header-voice { min-width: 0; margin-left: auto; }
.has-dock-navigation .hero {
  margin-top: calc(var(--header-top-gap) + env(safe-area-inset-top, 0px));
  height: auto;
  min-height: 80svh;
  max-height: none;
  padding-top: calc(var(--header-content-height, var(--header-height)) + 48px);
  padding-bottom: 90px;
}
.hero__copy { min-width: 0; }
.hero h1, .header-voice__caption { overflow-wrap: anywhere; }
.hero .actions { align-items: center; }
.hero .actions > a { max-width: 100%; text-align: center; }
.hero .trust-strip { flex-wrap: wrap; }
@media (min-width: 701px) and (max-height: 700px) {
  .has-dock-navigation .hero { padding-top: calc(var(--header-content-height, var(--header-height)) + 30px); padding-bottom: 80px; }
}
@media (max-width: 700px) {
  :root { --header-top-gap: 10px; --header-height: 76px; }
  .has-dock-navigation .site-header { padding: 6px 12px; gap: 10px; }
  .site-header .header-booking { padding: 10px 14px; gap: 8px; justify-content: center; }
  .site-header .header-booking > span { display: none; }
  .site-header.has-voice-entry .brand { width: clamp(58px, 17vw, 91px); }
  .site-header.has-voice-entry .header-voice__trigger { min-width: 0; gap: 8px; }
  .site-header.has-voice-entry .header-voice__caption { max-width: 140px; min-width: 0; padding-right: 9px; font-size: 16px; line-height: 1.25; }
  .site-header.has-voice-entry .header-voice__scope { font-size: 16px; line-height: 1.25; }
  .site-header.has-voice-entry .header-voice__signal { width: 44px; height: 44px; }
  .site-header.has-voice-entry .header-voice { display: grid; justify-items: end; gap: 8px; }
  .site-header.has-voice-entry .header-voice__controls { position: static; padding: 0; border: 0; }
  .site-header.has-voice-entry .header-voice__status { position: static; width: auto; max-width: 230px; padding: 0; border: 0; box-shadow: none; }
  .site-header.has-voice-entry .header-voice[data-voice-state="live"] .header-voice__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .has-dock-navigation .hero {
    min-height: 0;
    height: auto;
    max-height: none;
    padding: calc(var(--header-content-height, var(--header-height)) + 40px) 24px 0;
  }
  .hero__copy { width: 100%; max-width: none; padding: 0; order: 0; }
  /* The image follows the copy, so wrapped text can never collide with it. */
  .hero .hero__photo {
    position: relative;
    inset: auto;
    order: 1;
    flex: none;
    width: calc(100% + 48px);
    height: auto;
    aspect-ratio: 1.45;
    margin: 26px -24px 0;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
  .hero .hero__photo::after { background: linear-gradient(180deg, var(--header-tone), rgb(251 249 243 / 35%) 20%, transparent 42%); }
  .hero .trust-strip { position: relative; inset: auto; order: 2; width: calc(100% + 48px); max-width: none; margin: 0 -24px; padding: 16px 24px 24px; gap: 8px; background: var(--header-tone); }
  html { scroll-padding-top: calc(var(--header-content-height, var(--header-height)) + var(--header-top-gap) + env(safe-area-inset-top, 0px) + 24px); }
}
@media (max-width: 370px) {
  .has-dock-navigation .site-header { gap: 8px; }
  .site-header.has-voice-entry .header-voice__caption { max-width: 134px; }
  .site-header.has-voice-entry .header-voice__trigger { gap: 7px; padding-inline: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
