/* Carry the photograph underneath the sticky masthead on the opening screen. */
:root { --masthead-height: 100px; }
header { margin-bottom: calc(-1 * var(--masthead-height)); }
header.over-hero {
  background: linear-gradient(to bottom, rgb(7 19 22 / 85%), rgb(7 19 22 / 67%));
  color: var(--ivory);
  border-color: rgb(246 243 236 / 22%);
}
.over-hero .brand .crest { color: #d4bc8b !important; }
.over-hero .menu { color: var(--ivory); }
.over-hero nav .btn { background: #172c30; border-color: #b9a47f; color: var(--ivory); }
.over-hero nav .btn:hover { background: #284449; }
.over-hero nav > a:not(.btn):hover { color: #ebd6ad; }

.hero { isolation: isolate; padding-top: var(--masthead-height); }
.hero-room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  z-index: -2;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(7 22 25 / 91%) 0%, rgb(7 22 25 / 75%) 26%,
    rgb(7 22 25 / 31%) 53%, transparent 76%),
    linear-gradient(0deg, rgb(7 18 22 / 40%), transparent 35%);
}
.hero::after { content: none; }
.hero-ekg { height: 52px; padding-top: 6px; }
.hero-ekg .ekg-track { opacity: .8; }
.hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(490px, 65vh, 660px);
  padding-top: 25px;
  padding-bottom: 60px;
}
.hero-copy { max-width: 570px; }
.hero h1 { margin: 16px 0 20px; }
.hero .intro { color: #e4e7e1; max-width: 430px; }
.hero .eyebrow, .hero h1 em { color: #ead2a8; }
.hero .hero-fine { color: #d3ddda; }
.hero .text-link { border-color: #b5c2bd; }
.hero-philosophy { position: absolute; right: 64px; bottom: 26px; z-index: 2; }
.hero-philosophy summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: .02em;
  color: #f6f3ec;
  background: rgb(12 29 32 / 91%);
  border: 1px solid rgb(221 202 164 / 52%);
}
.hero-philosophy summary::-webkit-details-marker { display: none; }
.hero-philosophy summary::after { content: '+'; font: 18px/1 Arial, sans-serif; color: #dfc799; }
.hero-philosophy[open] summary::after { content: '−'; }
.hero-philosophy summary:focus-visible { outline: 2px solid #dfc799; outline-offset: 4px; }
.hero-philosophy .report {
  position: absolute;
  right: 0;
  bottom: calc(100% + 20px);
  margin: 0;
  transform: none;
}
@media (max-width: 1000px) {
  :root { --masthead-height: 88px; }
  .hero-philosophy { right: 34px; }
}
@media (max-width: 760px) {
  :root { --masthead-height: 81px; }
  .over-hero nav.links.open { background: var(--night); color: var(--ivory); }
  .hero-room {
    inset: auto 0 0;
    height: clamp(280px, 52vw, 395px);
    object-position: 78% center;
    mask-image: linear-gradient(to bottom, transparent, black 26%);
  }
  .hero::before {
    background: linear-gradient(to top, rgb(5 18 21 / 32%), transparent 18%);
  }
  .hero-grid {
    display: block;
    min-height: 0;
    padding-top: 25px;
    padding-bottom: clamp(260px, 48vw, 363px);
  }
  .hero-copy { max-width: 460px; }
  .hero h1 { font-size: clamp(45px, 11.8vw, 65px); }
  .hero .intro { max-width: 400px; }
  .hero-philosophy { right: 23px; bottom: 19px; }
  .hero-philosophy .report { max-width: calc(100vw - 46px); }
}
