:root {
  --mast-main-height: 6.75rem;
  --mast-nav-height: 2.75rem;
  --mast-height: calc(var(--mast-main-height) + 1px);
  scroll-padding-top: calc(var(--mast-height) + 12px);
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 8;
  color: var(--ink);
  background: var(--ivory);
  border-bottom: 1px solid #d8dcd2;
}
.mast-inner {
  min-height: var(--mast-main-height);
  max-width: 1740px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: clamp(14px, 2vw, 40px);
}
.mast-brand { display: inline-flex; width: fit-content; align-items: center; }
.mast-inner > .mast-brand { grid-area: brand; }
.mast-brand img { display: block; height: auto; }
.mast-inner > .mast-brand img { width: 160px; }
.mast-nav, .mast-tools, .mast-langs { display: flex; align-items: center; }
.mast-nav, .mast-langs { font: 500 var(--type-ui)/1.35 var(--sans); }
.mast-nav { font-weight: 550; }
.mast-nav {
  grid-area: nav;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 30px);
}
.mast-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mast-nav-height);
  text-align: center;
  white-space: nowrap;
}
.mast-nav > a:hover, .mast-nav > a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .38em;
}
.mast-nav > a[aria-current], .mast-langs [aria-current] { font-weight: 600; }
.mast-nav .mast-inquiry {
  padding-inline: 1.35em;
  border-radius: 2em;
  background: var(--deep);
  color: var(--ivory);
  font-weight: 600;
}
.mast-inquiry:hover, .mast-inquiry:focus-visible { background: var(--accent); }
.mast-tools { grid-area: tools; justify-self: end; gap: clamp(4px, .75vw, 12px); }
.mast-langs { gap: 2px; }
.mast-langs a, .mast-langs span {
  display: grid;
  min-width: 35px;
  min-height: 44px;
  padding-inline: 5px;
  place-items: center;
  white-space: nowrap;
}
.mast-langs [aria-current], .mast-langs a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: .35em; }
.mast-search { display: grid; place-items: center; width: 42px; height: 44px; border-radius: 50%; }
.mast-search .lens { color: var(--ink); }
.mast-search:hover, .mast-search:focus-visible { background: var(--sage-wash); }

@media (max-width: 67em) {
  :root {
    --mast-main-height: 5.5rem;
    --mast-nav-height: 3.375rem;
    --mast-height: calc(var(--mast-main-height) + var(--mast-nav-height) + 2px);
  }
  .mast-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand tools" "nav nav";
    grid-template-rows: minmax(var(--mast-main-height), auto) auto;
    gap: 0;
  }
  .mast-inner > .mast-brand img { width: 132px; }
  .mast-nav {
    justify-content: space-between;
    gap: .5rem;
    border-top: 1px solid #d8dcd2;
  }
  .mast-nav .mast-inquiry { border-radius: 0; background: transparent; color: var(--deep); font-weight: 600; padding-inline: 0; }
}
@media (max-width: 42em) {
  :root {
    --mast-main-height: 4.75rem;
    --mast-nav-height: 3rem;
    --mast-height: calc(var(--mast-main-height) + 2 * var(--mast-nav-height) + 2px);
  }
  .mast-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 .35rem;
    font-size: .875rem;
  }
  .mast-nav > a {
    padding: .125rem;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  .mast-nav > :nth-child(n+4) { border-top: 1px solid #e2e4dc; }
  .mast-inner > .mast-brand img { width: 120px; }
}

.site-map {
  padding: clamp(40px, 4.3vw, 72px) var(--gutter);
  background: var(--deep);
  color: var(--ivory);
  border-top: 4px solid #99aea2;
}
.site-map :focus-visible { outline-color: var(--ivory); }
.site-map-inner {
  max-width: calc(1740px - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 78px);
}
.map-brand-block .mast-brand img {
  width: clamp(136px, 12.7vw, 215px);
  filter: brightness(0) invert(1);
}
.map-brand-block p {
  margin-top: 12px;
  font: 400 var(--type-collection-title)/1.2 var(--serif);
  color: var(--on-deep-muted);
}
.map-nav {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(16px, 2.5vw, 48px);
}
.site-map h2 {
  margin: 0 0 .75rem;
  border-bottom: 1px solid var(--deep-line);
  padding-block: 0 .65rem;
  color: var(--on-deep-muted);
  font: 600 var(--type-meta)/1.4 var(--sans);
  letter-spacing: .025em;
}
.map-nav a {
  display: block;
  width: fit-content;
  padding-block: .25rem;
  font: 500 var(--type-body)/1.4 var(--sans);
}
.map-explore .map-top { margin-top: .5rem; font-size: var(--type-ui); color: var(--on-deep-muted); }
.map-nav a:hover, .map-nav a[aria-current] { text-decoration: underline; text-underline-offset: .25em; }
.map-contact address { font: 400 var(--type-body)/1.55 var(--sans); }
.map-contact address div:first-child { max-width: 33ch; text-wrap: pretty; }
.map-contact address div + div { margin-top: .3rem; color: var(--on-deep-muted); }
.map-contact address a {
  display: inline-block;
  margin-top: .75rem;
  overflow-wrap: anywhere;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: .26em;
}
@media (max-width: 55em) {
  .site-map-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.75rem 2rem; }
  .map-brand-block { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1.5rem; }
  .map-brand-block p { margin: 0; }
}
@media (max-width: 37.5em) {
  .site-map-inner { grid-template-columns: minmax(0, 1fr); }
  .map-nav { gap: 1.5rem; }
  .map-contact address { max-width: 36ch; }
}
