/* A quiet, single-row masthead above the existing animated flower photograph. */
.opening-home .compact-header {
  box-sizing: border-box;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content auto;
  align-items: center;
  justify-content: space-between;
  gap: 0 clamp(20px, 3vw, 48px);
  width: 100%;
  min-height: 104px;
  padding: 22px clamp(24px, 3.4vw, 60px);
  background: #F3F0E4;
  color: #000000;
}
/* Bring the homepage ribbon closer without shifting the header's contents. */
.opening-home.main-site .compact-header { padding-bottom: 10px; }
.opening-home .compact-header .header-brand {
  grid-column: 1;
  grid-row: 1 / 3;
  flex: 0 1 380px;
  width: min(380px, 100%);
  max-width: 34vw;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.opening-home .compact-header .header-brand a,
.opening-home .compact-header .header-brand svg {
  display: block;
  width: 100%;
  height: auto;
}
.opening-home .compact-header .masthead-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: clamp(22px, 2.8vw, 42px);
  width: auto;
  max-width: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.opening-home .compact-header .header-location {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  margin: 4px 0 0;
  /* Curly capitals draw well above the font metrics; reserve their full swash. */
  padding: 1.8em 0 0;
  font-family: "Curly Story", cursive;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .04em;
  white-space: nowrap;
}
.opening-home .compact-header .header-location-link {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
/* Include the flourishes and both sprigs in the link's click and focus area. */
.opening-home .compact-header .header-location-link::after {
  content: "";
  position: absolute;
  inset: 0 -2em -.25em;
  cursor: pointer;
}
.opening-home .compact-header .header-location-link:focus-visible {
  outline: none;
}
.opening-home .compact-header .header-location-link:focus-visible::after {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}
.opening-home .compact-header .masthead-links a {
  display: block;
  flex: none;
  width: auto;
  min-height: 0;
  padding: 12px 10px 10px;
  margin-inline: -10px;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: "Big Bird", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .1em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
}
/* The tile colors rise behind the text without changing the navigation footprint. */
.opening-home .compact-header .masthead-links a,
.opening-home .compact-header .header-mobile-panel > nav:first-child a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 11px 5px 12px 6px;
  filter: none;
  text-decoration: none;
  transition: color .18s ease, transform .12s ease;
}
.opening-home .compact-header a[href="/home/"] { --nav-paper: #DCF4A2; --nav-ink: #0055A4; }
.opening-home .compact-header a[href="/gallery/"] { --nav-paper: #ADD8E6; --nav-ink: #0055A4; }
.opening-home .compact-header a[href="/contact/"] { --nav-paper: #0055A4; --nav-ink: #DCF4A2; }
.opening-home .compact-header .masthead-links a::before,
.opening-home .compact-header .header-mobile-panel > nav:first-child a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--nav-paper);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform .24s cubic-bezier(.22, .61, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .opening-home .compact-header .masthead-links a:hover,
  .opening-home .compact-header .header-mobile-panel > nav:first-child a:hover {
    color: var(--nav-ink);
    text-decoration: none;
  }
  .opening-home .compact-header .masthead-links a:hover::before,
  .opening-home .compact-header .header-mobile-panel > nav:first-child a:hover::before {
    transform: scaleY(1);
  }
}
.opening-home .compact-header .masthead-links a:active:not(:focus-visible),
.opening-home .compact-header .header-mobile-panel > nav:first-child a:active:not(:focus-visible) {
  transform: translateY(1px) scale(.98);
}
.opening-home .compact-header .header-social {
  grid-column: 3;
  grid-row: 1;
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 2px;
  margin: 0 0 0 -12px;
  padding: 0;
}
.opening-home .compact-header .header-social a,
.opening-home .compact-header .header-mobile-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: inherit;
}
.opening-home .compact-header .header-social svg,
.opening-home .compact-header .header-mobile-social svg {
  display: block;
  width: 19px;
  height: 19px;
}
.opening-home .compact-header a:focus-visible,
.opening-home .compact-header summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.opening-home .compact-header .header-mobile-menu { display: none; }
@media (max-width: 1100px) {
  .opening-home .compact-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 86px;
    gap: 0 14px;
    padding: 18px 16px;
  }
  .opening-home.main-site .compact-header { padding-bottom: 8px; }
  .opening-home .compact-header .header-brand {
    grid-row: 1;
    flex: 0 1 260px;
    width: 260px;
    max-width: 100%;
  }
  .opening-home .compact-header > .masthead-links,
  .opening-home .compact-header > .header-social { display: none; }
  .opening-home .compact-header .header-mobile-menu {
    grid-column: 2;
    grid-row: 1;
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
    font-family: "Big Bird", Georgia, serif;
    font-weight: 400;
  }
  .opening-home .compact-header .header-location {
    grid-column: 1 / -1;
    font-size: 15px;
  }
  .opening-home .compact-header summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: .06em;
    list-style: none;
  }
  .opening-home .compact-header summary::-webkit-details-marker { display: none; }
  .opening-home .compact-header summary svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
  }
  .opening-home .compact-header .header-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 12px 22px 22px;
    border-bottom: 1px solid #000000;
    background: #F3F0E4;
  }
  .opening-home .compact-header .header-mobile-panel > nav:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .opening-home .compact-header .header-mobile-panel > nav:first-child a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    max-width: 100%;
    color: #000000;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
  }
  .opening-home .compact-header .header-mobile-social {
    display: flex;
    gap: 4px;
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-home .compact-header .masthead-links a,
  .opening-home .compact-header .masthead-links a::before,
  .opening-home .compact-header .header-mobile-panel > nav:first-child a,
  .opening-home .compact-header .header-mobile-panel > nav:first-child a::before {
    transition: none;
  }
  .opening-home .compact-header .masthead-links a:active:not(:focus-visible),
  .opening-home .compact-header .header-mobile-panel > nav:first-child a:active:not(:focus-visible) {
    transform: none;
    opacity: .8;
  }
}
