/* MALTIUM Sprint 2C-1: home discovery refinement */
.home-quick-paths {
  padding: 28px 0 54px;
  border-bottom: 1px solid var(--line);
}

.home-quick-paths__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.home-quick-paths__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.home-quick-paths__heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--stone);
  font-size: .82rem;
  line-height: 1.75;
}

.home-quick-paths__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-quick-card {
  position: relative;
  min-height: 122px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(40, 37, 30, .86), rgba(17, 15, 12, .88));
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}

.home-quick-card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -56px;
  bottom: -58px;
  border: 1px solid rgba(200, 173, 82, .1);
  border-radius: 50%;
}

.home-quick-card:hover,
.home-quick-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(52, 47, 37, .94), rgba(21, 18, 14, .94));
  outline: none;
}

.home-quick-card__symbol {
  color: var(--barley-gold);
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1;
}

.home-quick-card__copy {
  min-width: 0;
  display: block;
}

.home-quick-card__copy small {
  display: block;
  margin-bottom: 5px;
  color: var(--stone);
  font-size: .51rem;
  letter-spacing: .13em;
}

.home-quick-card__copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.1;
}

.home-quick-card__copy > span {
  display: block;
  margin-top: 6px;
  color: var(--muted-ivory);
  font-size: .65rem;
  line-height: 1.45;
}

.home-quick-card__arrow {
  position: relative;
  z-index: 1;
  align-self: end;
  color: var(--barley-gold);
  font-size: .82rem;
}

.button--surprise {
  gap: 8px;
  color: var(--warm-ivory);
  border: 1px solid rgba(200, 173, 82, .42);
  background: rgba(25, 22, 16, .56);
  backdrop-filter: blur(8px);
}

.button--surprise > span:first-child {
  color: var(--barley-gold);
  font-size: .82rem;
}

.button--surprise:hover {
  border-color: var(--barley-gold);
  background: rgba(48, 41, 28, .7);
}

.featured-card__quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.featured-card__quick-meta > span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--muted-ivory);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .018);
  font-size: .55rem;
  letter-spacing: .07em;
}

@media (max-width: 1100px) {
  .home-quick-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: clamp(680px, 92svh, 780px);
  }

  .hero__content {
    padding-bottom: 58px;
  }

  .hero__lead {
    max-width: 34rem;
  }

  .home-quick-paths {
    padding: 18px 0 44px;
  }

  .home-quick-paths__heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }

  .home-quick-paths__heading > p {
    max-width: 36rem;
  }

  /* Every visible part of the bottom bar belongs to one of the three buttons. */
  .mobile-nav {
    height: calc(76px + env(safe-area-inset-bottom));
    padding: 0 max(4px, env(safe-area-inset-right)) 0 max(4px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
  }

  .mobile-nav > button {
    position: relative;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    touch-action: manipulation;
  }

  .mobile-nav > button > * {
    pointer-events: none;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: max(590px, 100svh);
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .hero__logo-wrap {
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
  }

  .hero .eyebrow {
    margin-bottom: 6px;
    font-size: .58rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.72rem);
    line-height: 1.02;
  }

  .hero__lead {
    max-width: 29rem;
    margin-top: 10px;
    font-size: .75rem;
    line-height: 1.55;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  .hero__actions .button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 6px;
    font-size: .59rem;
    letter-spacing: .04em;
    white-space: nowrap;
  }

  .hero__actions .button--surprise {
    gap: 5px;
  }

  .hero__actions .button--surprise > span:first-child {
    font-size: .68rem;
  }

  .hero__stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 8px;
    margin-top: 14px;
  }

  .hero__stats > div {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .hero__stats dt,
  .hero__stats dd {
    text-align: center;
  }

  .hero__stats dt {
    font-size: .56rem;
    letter-spacing: .1em;
  }

  .hero__stats dd {
    margin-top: 1px;
    font-size: .63rem;
    line-height: 1.2;
  }

  .home-quick-paths {
    padding-top: 8px;
    padding-bottom: 34px;
  }

  .home-quick-paths__heading h2 {
    font-size: 1.72rem;
  }

  .home-quick-paths__heading > p {
    font-size: .72rem;
    line-height: 1.65;
  }

  .home-quick-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-quick-card {
    min-height: 106px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 12px;
  }

  .home-quick-card__symbol {
    font-size: 1.5rem;
  }

  .home-quick-card__copy small {
    font-size: .44rem;
    letter-spacing: .09em;
  }

  .home-quick-card__copy strong {
    font-size: 1.03rem;
  }

  .home-quick-card__copy > span {
    margin-top: 4px;
    font-size: .56rem;
    line-height: 1.35;
  }

  .home-quick-card__arrow {
    display: none;
  }

  .home-content .featured-card {
    min-height: 190px;
  }

  .home-content .featured-card__quick-meta {
    margin-top: 9px;
  }

  .home-content .featured-card__quick-meta > span {
    min-height: 21px;
    padding-inline: 6px;
    font-size: .48rem;
  }

  .home-content .featured-card__footer {
    margin-top: 10px;
  }
}

@media (max-width: 360px) {
  .home-quick-paths__grid {
    grid-template-columns: 1fr;
  }

  .home-quick-card {
    min-height: 88px;
  }
}