/* Responsive brand header built from independent, functional pieces. */
.site-header {
  min-height: 112px;
  height: auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  padding: .45rem clamp(1.25rem, 4vw, 4rem);
  overflow: visible;
}

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.header-goose {
  width: 108px;
  height: 110px;
  object-fit: contain;
  flex: 0 0 auto;
}

.header-wordmark {
  display: block;
  margin-left: .8rem;
  line-height: 0;
}

.header-wordmark-art {
  display: block;
  width: clamp(225px, 19vw, 265px);
  height: auto;
}

.header-name {
  position: relative;
  font: 400 clamp(3.2rem, 5.2vw, 5.1rem)/.65 "Italianno", cursive;
  letter-spacing: -.025em;
}

.header-heart {
  position: absolute;
  top: -.42em;
  right: .08em;
  color: var(--rose);
  font-family: var(--display);
  font-size: .48em;
  transform: rotate(-7deg);
}

.header-rentals {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .78rem;
  font: 600 .86rem/1 var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
}

.header-rentals::before,
.header-rentals::after {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
}

.header-wordmark::after { content: none; }

.header-divider {
  width: 1px;
  height: 64px;
  background: var(--gold);
}

.header-tagline {
  justify-self: center;
  margin: 0;
  font: italic 600 clamp(1.05rem, 1.65vw, 1.45rem)/1.05 var(--display);
  text-align: center;
  white-space: nowrap;
}

.header-tagline-art {
  display: block;
  width: clamp(190px, 17vw, 230px);
  height: auto;
}

.tagline-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: .28rem;
  color: var(--rose);
  font-size: 1.45em;
  line-height: .75;
}

.tagline-heart::before,
.tagline-heart::after {
  content: "";
  width: 3rem;
  height: .65rem;
  border-top: 2px solid var(--rose);
  border-radius: 50%;
}

.site-header .menu-toggle {
  display: block;
  min-height: 48px;
  padding: .65rem 1.05rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.site-header nav {
  display: none;
  position: absolute;
  z-index: 5;
  top: 100%;
  right: clamp(1.25rem, 4vw, 4rem);
  left: auto;
  min-width: 250px;
  padding: 1.25rem;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(38, 57, 47, .16);
}

.site-header nav.open {
  display: flex;
}

.hero {
  min-height: auto;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 96px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem 1rem;
    padding: .2rem 1rem .3rem;
  }

  .header-brand {
    align-self: end;
  }

  .header-goose {
    width: 82px;
    height: 86px;
  }

  .header-wordmark {
    margin-left: .45rem;
  }

  .header-wordmark-art {
    width: clamp(178px, 50vw, 205px);
    height: auto;
  }

  .header-name {
    font-size: clamp(2.7rem, 12vw, 3.35rem);
  }

  .header-rentals {
    gap: .3rem;
    margin-top: .82rem;
    color: #1d352a;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .2em;
  }

  .header-rentals::before,
  .header-rentals::after {
    width: 1.35rem;
  }

  .header-divider {
    display: none;
  }

  .header-tagline {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    margin-top: -1.05rem;
    margin-bottom: -.6rem;
    font-size: .98rem;
    white-space: normal;
  }

  .header-tagline-art {
    width: min(58vw, 225px);
    height: auto;
  }

  .tagline-heart {
    display: inline-flex;
    margin: 0 0 0 .4rem;
    font-size: 1.2em;
    vertical-align: middle;
  }

  .tagline-heart::before,
  .tagline-heart::after {
    width: 1.35rem;
    height: .45rem;
  }

  .site-header .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-height: 44px;
    padding: .55rem .8rem;
  }

  .site-header nav {
    right: .75rem;
    left: .75rem;
  }
}

@media (max-width: 390px) {
  .site-header {
    min-height: 88px;
    gap: .2rem .5rem;
    padding: .05rem .65rem .12rem;
  }

  .header-goose {
    width: 64px;
    height: 66px;
  }

  .header-wordmark {
    margin-left: .3rem;
  }

  .header-wordmark-art {
    width: 202px;
  }

  .header-tagline-art {
    width: 220px;
  }

  .header-tagline {
    margin-top: -1.65rem;
    margin-bottom: -.82rem;
  }

  .header-name {
    font-size: 2.5rem;
  }
}
