.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, auto) 1fr 2.5rem;
  align-items: center;
  gap: 1.5rem;
}

.site-nav {
  min-width: 0;
}

.site-nav ul {
  align-items: center;
  justify-content: flex-end;
}

.header-instagram-link {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  color: var(--teal);
  line-height: 1;
  text-decoration: none;
}

.header-instagram-link:hover {
  background: rgb(31 75 61 / 0.08);
  color: var(--copper);
}

.header-instagram-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.instagram-icon {
  width: 1.45rem;
  height: 1.45rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.instagram-icon-dot {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 52rem) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    gap: 0.65rem 0.75rem;
    padding-block: 0.75rem;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .header-instagram-link {
    grid-column: 2;
    grid-row: 2;
    width: 2.25rem;
    height: 2.25rem;
    align-self: center;
    justify-self: end;
  }
}
