/* Grailwood: shared moonlit header treatment on interior pages only. */
body.gw-has-inner-hero #gw-site-header.gw-site-header {
  margin-bottom: -94px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
body.gw-has-inner-hero #gw-site-header.is-compact.gw-site-header {
  background: rgba(5,30,43,.97);
  box-shadow: 0 5px 22px rgba(0,0,0,.18);
}
body.gw-has-inner-hero #gw-site-header .gw-brand-horizontal,
body.gw-has-inner-hero #gw-site-header .gw-brand-icon {
  filter: none !important;
}
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-nav-link,
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-submenu-toggle {
  color: #FFF9EE;
}
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-nav-link:hover,
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-nav-link:focus-visible,
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-nav-link.active,
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-submenu-toggle:hover {
  color: #FFE078;
  background: rgba(255,224,120,.15);
}
body.gw-has-inner-hero #gw-site-header .gw-desktop-nav .gw-submenu .dropdown-item {
  color: #18313B;
}
body.gw-has-inner-hero #gw-site-header .gw-menu-toggle {
  color: #FFF9EE;
  border-color: rgba(255,249,238,.65);
}
body.gw-has-inner-hero #gw-site-header .gw-menu-toggle:hover { background: rgba(255,224,120,.15); }
body.gw-has-inner-hero #gw-site-header .gw-play-button {
  color: #18313B;
  background: #FFE078;
  border-color: #FFE078;
}
body.gw-has-inner-hero #gw-site-header .gw-play-button:hover,
body.gw-has-inner-hero #gw-site-header .gw-play-button:focus-visible {
  color: #18313B;
  background: #FFF0BC;
  border-color: #FFF0BC;
}
body.gw-has-inner-hero #gw-site-header :is(a,button):focus-visible {
  outline: 3px solid #FFE078;
  outline-offset: 3px;
}
/* The drawer is intentionally light for readability even over the dark hero. */
body.gw-has-inner-hero #gw-site-header .gw-mobile-navigation .gw-nav-link,
body.gw-has-inner-hero #gw-site-header .gw-mobile-navigation .gw-submenu-toggle {
  color: #18313B;
}
body.gw-has-inner-hero #gw-site-header .gw-mobile-navigation .gw-play-button {
  color: #FFF;
  background: #007579;
  border-color: #007579;
}
body.gw-has-inner-hero #gw-site-header .gw-mobile-navigation :is(a,button):focus-visible {
  outline-color: #18313B;
}
.gw-interior-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: clamp(360px,43vw,510px);
  overflow: hidden;
  background: #072838;
  color: #FFF9EE;
}
.gw-interior-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 50%;
}
.gw-interior-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(3,28,41,.93) 0%,rgba(3,28,41,.76) 38%,rgba(3,28,41,.26) 100%),
              linear-gradient(0deg,rgba(3,28,41,.45) 0%,transparent 50%);
}
.gw-interior-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(165px,15vw,215px);
  padding-bottom: clamp(44px,5vw,75px);
}
.gw-interior-hero__copy { max-width: 800px; }
.gw-interior-hero__eyebrow {
  color: #FFE078;
  font-family: 'Atkinson Hyperlegible Next',system-ui,sans-serif;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.gw-interior-hero__title {
  max-width: 20ch;
  color: #FFF9EE;
  font-family: 'Bricolage Grotesque',Georgia,serif;
  font-size: clamp(2.6rem,5.3vw,4.8rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0 0 16px;
}
.gw-interior-hero__subtitle {
  max-width: 62ch;
  color: #E5F0EC;
  font-family: 'Atkinson Hyperlegible Next',system-ui,sans-serif;
  font-size: clamp(1rem,1.45vw,1.2rem);
  line-height: 1.6;
  margin: 0;
}
body.gw-has-inner-hero #main { padding-top: clamp(36px,4.5vw,64px); }
/* Avoid repeating the title already present as the H1 in the new hero. */
body.page.gw-has-inner-hero #main .content > .entry-title,
body.single #main article > .entry-header > .entry-title,
body.archive #main .page-header > .page-title,
body.search #main .page-header > .page-title,
body.error404 #main .content.error404 > .entry-title {
  display: none;
}
@media (max-width:1199.98px) {
  body.gw-has-inner-hero #gw-site-header.gw-site-header { margin-bottom: -80px; }
}
@media (max-width:767.98px) {
  .gw-interior-hero { min-height: 390px; }
  .gw-interior-hero__image { object-position: 64% center; }
  .gw-interior-hero::before { background: linear-gradient(90deg,rgba(3,28,41,.92),rgba(3,28,41,.65)); }
  .gw-interior-hero__inner { padding-top: 140px; padding-bottom: 46px; }
}
@media (max-width:575.98px) {
  body.gw-has-inner-hero #gw-site-header.gw-site-header { margin-bottom: -72px; }
  .gw-interior-hero__title { font-size: clamp(2.35rem,10vw,3.4rem); }
}
@media (prefers-reduced-motion:reduce) {
  body.gw-has-inner-hero #gw-site-header .gw-header-inner { transition: none; }
}
