:root {
  --site-header-height: 106px;
}
html {
  scroll-padding-top: calc(var(--site-header-height) + 16px);
}
body {
  padding-top: var(--site-header-height);
}
body > .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  width: 100%;
  height: var(--site-header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 0 4.3%;
  background: var(--cream);
  border-bottom: 1px solid #1d392e24;
  box-shadow: 0 3px 16px #142b2208;
}
.site-header .brand {
  grid-column: 1;
  white-space: nowrap;
}
.site-header #navigation {
  grid-column: 2;
  justify-self: center;
  white-space: nowrap;
}
.header-contact-links {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  white-space: nowrap;
}
.header-contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.header-blog {
  position: relative;
}
.header-blog::after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.header-blog:hover::after,
.header-blog[aria-current=page]::after {
  transform: scaleX(1);
}
.header-phone {
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.header-phone span {
  color: var(--muted);
}
.site-header .utility {
  grid-column: 4;
  display: flex;
  margin: 0;
  gap: 20px;
  white-space: nowrap;
}
.site-header .menu-button {
  display: none;
}
.scroll-progress {
  z-index: 70;
}
@media (min-width: 701px) {
  .hero-carousel,
  .story-opening {
    height: calc(100svh - var(--site-header-height));
  }
}
@media (min-width: 1051px) and (max-width: 1250px) {
  body > .site-header { gap: 18px; padding: 0 3%; }
  .site-header .wordmark { font-size: 20px; letter-spacing: 2.3px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand img { width: 43px; height: 43px; }
  .site-header #navigation { gap: 22px; }
  .header-contact-links, .site-header .utility { gap: 17px; }
}
@media (max-width: 1050px) {
  :root { --site-header-height: 114px; }
  body > .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: 76px 38px;
    gap: 0 18px;
    padding: 0 4%;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .utility { grid-column: 2; grid-row: 1; }
  .site-header .menu-button {
    grid-column: 3;
    grid-row: 1;
    display: block;
    min-height: 44px;
  }
  .header-contact-links {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 38px;
    justify-content: space-between;
    border-top: 1px solid #1d392e18;
    font-size: 10px;
  }
  .header-contact-links a { min-height: 38px; }
  .header-blog::after { bottom: 5px; }
  .site-header #navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 22px 4%;
    background: var(--cream);
    border-bottom: 1px solid #1d392e24;
    box-shadow: 0 12px 20px #142b2210;
    white-space: normal;
    max-height: calc(100svh - var(--site-header-height));
    overflow-y: auto;
  }
  .site-header #navigation.open { display: flex; flex-wrap: wrap; gap: 18px 28px; }
  .site-header .mobile-search { display: block; }
}
@media (max-width: 700px) {
  :root { --site-header-height: 110px; }
  body > .site-header { grid-template-rows: 72px 38px; gap: 0 12px; }
  .site-header .wordmark { font-size: 16px; letter-spacing: 1.5px; }
  .site-header .wordmark small { letter-spacing: 1.6px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 32px; height: 32px; }
}
@media (max-width: 380px) {
  body > .site-header { gap: 0 10px; }
  .site-header .wordmark { font-size: 15px; letter-spacing: 1.2px; }
  .site-header .brand img { width: 30px; height: 30px; }
}
