/* Direct links sit inside the first beat of the existing hero. */
#home .hero-with-destinations {
  padding-top: clamp(102px, 15svh, 158px);
}
#home .hero-with-destinations .hero-copy {
  margin-top: clamp(12px, 2.3svh, 24px);
}
#home .hero-with-destinations h1 {
  font-size: clamp(68px, min(9.3vw, 12svh), 132px);
}
#home .hero-with-destinations .hero-copy > p {
  margin-block: 16px 18px;
}
#home .hero-with-destinations .hero-actions {
  margin-top: 12px;
}
#home .hero-with-destinations .hero-actions .button {
  min-height: 46px;
  padding-block: 10px;
}
#home .hero-with-destinations .hero-actions .button-arrow {
  line-height: 1;
}
.ex-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 1.25vw, 16px);
  width: min(100%, 590px);
}
.ex-destination {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(112px, 16svh, 150px);
  padding: 12px clamp(11px, 1.2vw, 17px);
  border: 1px solid #d3ba8790;
  border-radius: 5px;
  background: #171d17;
  text-decoration: none;
  transition: border-color 200ms ease;
}
.ex-destination-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 42%;
  transition: transform 350ms ease;
}
.ex-destination--resume .ex-destination-art {
  left: auto;
  width: 68%;
  object-position: 50% 33%;
  filter: saturate(.65);
}
.ex-destination::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #080b09 0%, #080b09bf 32%, #080b0912 79%),
    linear-gradient(95deg, #080b09bf 0%, transparent 65%);
}
.ex-destination--resume::before {
  background: linear-gradient(0deg, #080b09 0%, #080b09a0 37%, transparent 82%),
    linear-gradient(90deg, #141b15 18%, #141b1550 58%, transparent 92%);
}
.ex-destination-index {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 3px 6px;
  background: #0b100de8;
  color: #f0d8aa;
  font: 9px/1.4 var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ex-destination-title {
  margin: 6px 26px 3px 0;
  color: #fff5e3;
  font: 400 clamp(29px, 3vw, 44px)/.98 var(--serif);
  letter-spacing: -.04em;
}
.ex-destination-caption {
  color: #e4ddcf;
  font: 11px/1.4 var(--sans);
  min-height: 2.8em;
}
.ex-destination-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 27px;
  aspect-ratio: 1;
  border: 1px solid #d5bc8690;
  border-radius: 50%;
  background: #0a100be6;
  color: #eed5a4;
  font: 14px/1 var(--sans);
}
.ex-destination:focus-visible {
  outline: 2px solid #ffe1a0;
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .ex-destination:hover { border-color: #e8cd96; }
  :root:not(.motion-paused) .ex-destination:hover .ex-destination-art { transform: scale(1.04); }
}

@media (max-width: 760px) {
  #home .hero-with-destinations {
    padding-top: clamp(91px, 13svh, 126px);
  }
  #home .hero-with-destinations h1 {
    font-size: clamp(44px, 12.8vw, 85px);
  }
  #home .hero-with-destinations .hero-copy {
    max-width: 100%;
  }
  #home .hero-with-destinations .hero-copy > p {
    margin-block: 12px 16px;
  }
  #home .hero-with-destinations .hero-actions {
    flex-flow: row wrap;
    align-items: center;
    gap: 6px 14px;
  }
  .ex-destination {
    min-height: clamp(103px, 17svh, 135px);
    padding-right: 11px;
  }
  .ex-destination-index {
    display: none;
  }
  .ex-destination-title {
    margin-right: 0;
    font-size: clamp(26px, 6.7vw, 38px);
  }
  .ex-destination-caption {
    font-size: 10px;
    min-height: 4.2em;
  }
  .ex-destination-arrow {
    top: 7px;
    right: 7px;
    width: 23px;
    font-size: 13px;
  }
}
@media (max-width: 400px) {
  #home .hero-with-destinations .hero-actions {
    gap: 6px 8px;
  }
  #home .hero-with-destinations .hero-actions .button {
    gap: 6px;
    padding-inline: 10px;
    font-size: 11px;
  }
  #home .hero-with-destinations .hero-actions .button-arrow {
    font-size: 16px;
  }
  #home .hero-with-destinations .hero-work-link {
    font-size: 11px;
    min-height: 44px;
    gap: 6px;
  }
}
@media (max-width: 400px) and (max-height: 639px) {
  #home .hero-with-destinations {
    padding-top: 87px;
  }
  #home .hero-with-destinations .hero-copy > p {
    max-width: none;
    font-size: 11.5px;
  }
  #home .hero-with-destinations .hero-actions {
    margin-top: 9px;
  }
  .ex-destination {
    min-height: 98px;
    padding-block: 9px;
  }
}
@media (max-height: 480px) {
  #home .hero-with-destinations {
    padding-top: 82px;
  }
  #home .hero-with-destinations h1 {
    font-size: clamp(32px, min(10vw, 12svh), 56px);
  }
  #home .hero-with-destinations .hero-copy > p {
    margin-block: 8px;
  }
  #home .hero-with-destinations .hero-actions {
    margin-top: 6px;
  }
  .ex-destination {
    min-height: 72px;
  }
  .ex-destination-title {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ex-destination, .ex-destination-art { transition: none; }
  .ex-destination:hover .ex-destination-art { transform: none; }
}
@media (forced-colors: active) {
  .ex-destination-art, .ex-destination::before { display: none; }
  .ex-destination :is(.ex-destination-title, .ex-destination-caption, .ex-destination-index, .ex-destination-arrow) {
    color: LinkText;
  }
}

@media print {
}

.home-portfolio-entry {
  margin-bottom: clamp(24px, 4vw, 56px);
}
.home-portfolio-entry h2 {
  margin: 0 0 clamp(14px, 2vw, 24px);
  font: 400 clamp(36px, 6.1vw, 78px)/.98 var(--serif);
  letter-spacing: -.04em;
}
.home-portfolio-entry h2 em {
  font-weight: inherit;
}
.home-portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
}
.home-portfolio-collections summary {
  width: fit-content;
  min-height: 44px;
  padding: 12px 14px;
  cursor: pointer;
  font: 500 13px/1.35 var(--sans);
}
#featured-work { scroll-margin-top: 92px; }
