/* Rooms-inspired photography and typography, scoped to the three information pages. */
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: clamp(540px, 44vw, 720px);
  min-height: 0;
  padding: 120px 0 48px;
  overflow: hidden;
  background: #edf5fc url('assets/leo/hero-slide-1.jpg') center 42% / cover no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero)::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 62%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(90deg, rgba(248,251,255,.98), rgba(248,251,255,.9) 34%, rgba(248,251,255,.55) 65%, transparent);
  pointer-events: none;
}
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero)::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 30px;
  z-index: 0;
  border: 0;
  background: var(--cw-wave) center bottom / 100% 30px no-repeat;
  pointer-events: none;
}
body #main :is(.aw-hero-inner, .gallery-page-hero .page-hero-inner, .contact-hero > .container) {
  position: relative;
  z-index: 1;
  display: block;
  width: min(88%, 1280px);
  max-width: none;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body #main .aw-hero-copy { width: 100%; max-width: 480px; padding: 0; }
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 {
  max-width: 520px;
  margin: 0 0 22px;
  font: 500 clamp(44px, 4.3vw, 66px)/1.08 var(--serif);
  letter-spacing: -.025em;
  color: #0b2f7a;
  text-shadow: none;
}
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 em {
  display: inline;
  white-space: normal;
  color: #c58a28;
  font-style: normal;
  font-weight: inherit;
}
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) p {
  max-width: 390px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #25467c;
  text-shadow: none;
}
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) :is(.eyebrow, .aw-eyebrow) {
  color: #b67819;
  margin-bottom: 22px;
  text-shadow: none;
}
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) :is(.eyebrow, .aw-eyebrow)::before { display: none; }
body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) :is(.eyebrow, .aw-eyebrow)::after { filter: none; }
body:has(:is(.aw-hero, .gallery-page-hero, .contact-hero)) .site-header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(240,247,255,.94), rgba(240,247,255,.62));
  box-shadow: none;
}
@media (max-width: 800px) {
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) {
    display: block;
    height: auto;
    padding: 340px 0 48px;
    background-size: auto 320px;
    background-position: center 65px;
  }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero)::before {
    inset: 65px 0 auto;
    width: 100%;
    height: 320px;
    background: linear-gradient(0deg, #edf5fc, transparent 35%);
  }
  body #main :is(.aw-hero-inner, .gallery-page-hero .page-hero-inner, .contact-hero > .container) { width: calc(100% - 40px); }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 { font-size: clamp(36px, 8vw, 48px); max-width: 520px; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) p { font-size: 14px; max-width: 480px; }
}

/* Premium pass: deep navy wash over the photo instead of the white veil; white type with gold accents. */
@media (min-width: 801px) {
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) { background-color: #0b1f55; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero)::before {
    width: 100%;
    background:
      linear-gradient(90deg, rgba(7,20,60,.92) 0%, rgba(9,28,80,.78) 32%, rgba(11,35,98,.36) 58%, rgba(11,35,98,0) 78%),
      linear-gradient(180deg, rgba(5,14,44,.55) 0%, rgba(5,14,44,0) 26%, rgba(5,14,44,0) 70%, rgba(5,14,44,.35) 100%);
  }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1 em { color: #e8bd62; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) p { color: rgba(255,255,255,.88); max-width: 430px; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) :is(.eyebrow, .aw-eyebrow) { color: #e8bd62; }
  body #main :is(.aw-hero-copy, .gallery-page-hero .page-hero-inner, .contact-hero > .container) { border-left: 0; }
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) h1::after {
    content: ''; display: block; width: 64px; height: 2px; margin-top: 20px;
    background: linear-gradient(90deg, #e8bd62, rgba(232,189,98,0));
  }

  /* Header sits over the dark photo: transparent bar, white logo and links until scrolled. */
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(5,14,44,.55), rgba(5,14,44,0)) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .header-inner { border-bottom-color: rgba(255,255,255,.16) !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) :is(.lx-brand-text, nav a, .lx-phone) { color: #fff !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) nav a.active { color: #e8bd62 !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .brand-logo-light { opacity: 1 !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .brand-logo-scrolled { opacity: 0 !important; }
  body:is(:has(.aw-hero), :has(.gallery-page-hero), :has(.contact-hero)) .site-header:not(.scrolled) .menu-toggle span { background: #fff !important; }
}
@media (min-width: 801px) {
  /* Show the top of the photo so the rooftop signboard sits below the menu, not behind it. */
  body #main :is(.aw-hero, .gallery-page-hero, .contact-hero) { background-position: center 8%; }
}
