/* Homepage header trial: elements sit directly on the hero canvas. */
.home-header {
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-header .brand__desktop-name {
  position: relative;
  text-decoration: none;
}

.home-header .brand__desktop-name::after {
  position: absolute;
  top: calc(100% - 1px);
  left: -8px;
  width: calc(100% + 4px);
  height: 12px;
  content: "";
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop stop-color='%23b07834' stop-opacity='.15'/%3E%3Cstop offset='.28' stop-color='%23e5be7b' stop-opacity='.8'/%3E%3Cstop offset='.72' stop-color='%23d6a55e' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%23bd853c' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 11C34 16 75 7 109 5S151 6 181 2' fill='none' stroke='url(%23g)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

@media (min-width: 761px) {
  .home-header {
    padding-inline: 16px;
    gap: clamp(12px, 2vw, 28px);
  }

  .home-header .brand { transform: none; }
  .home-header .header__actions { justify-self: end; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .home-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
    padding-block: 8px;
  }

  .home-header .brand { grid-row: 1; grid-column: 1; }
  .home-header .header__actions { grid-row: 1; grid-column: 2; }
  .home-header .desktop-primary-nav { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .home-header { grid-template-columns: minmax(0, 1fr) 44px; }

  .home-header .brand {
    grid-column: 1;
    width: max-content;
    gap: 8px;
  }

  .home-header .brand .brand__mark {
    position: static;
    width: 33.6px;
    height: 33.6px;
    flex: 0 0 33.6px;
  }

  .home-header .brand .brand__desktop-name {
    position: relative;
    left: auto;
    font-size: 22.4px;
    transform: none;
  }

  .home-header .menu-button { grid-column: 2; justify-self: end; }
}
