.hero-quotation {
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.hero-quotation blockquote,
.hero-quotation blockquote p {
  margin: 0;
}

.hero-quotation blockquote {
  color: var(--green);
  font: italic clamp(1.15rem, 2vw, 1.45rem)/1.45 Georgia, serif;
}

.hero-quotation figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: .9rem;
}

#project {
  display: block;
}

#project .section-content {
  margin-inline: auto;
}

@media screen {
  #project {
    padding-bottom: clamp(36px, 5.75vw, 72px);
  }

  .home-archive-views {
    padding-block: clamp(32px, 5vw, 56px) clamp(30px, 4vw, 48px);
  }
}

.home-archive-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px clamp(20px, 4vw, 56px);
  margin-bottom: 26px;
}

.home-archive-heading h2 {
  margin: 0;
}

.home-photo-gallery {
  --gallery-gap: 36px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: start;
  margin-inline: -54px;
}

.home-photo-gallery .home-photo-rail {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gallery-gap)) / 2);
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-photo-rail::-webkit-scrollbar {
  display: none;
}

.home-photo-rail .archive-photo {
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.home-photo-rail .archive-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.home-photo-rail a:focus-visible {
  outline-offset: -3px;
}

.home-gallery-arrow {
  grid-row: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-top: clamp(70px, 13vw, 236px);
  border: 1px solid var(--green);
  background: var(--white);
  color: var(--green);
  cursor: pointer;
}

.home-gallery-arrow[hidden] {
  display: none;
}

.home-gallery-arrow[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

.home-gallery-arrow:hover:not([aria-disabled="true"]) {
  color: var(--white);
  background: var(--green);
}

.home-gallery-arrow::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

#home-photo-previous {
  grid-column: 1;
}

#home-photo-previous::after {
  transform: translateX(2px) rotate(-135deg);
}

#home-photo-next {
  grid-column: 3;
}

@media (max-width: 1500px) {
  .home-photo-gallery { margin-inline: 0; }
}

@media (max-width: 680px) {
  .home-photo-gallery {
    --gallery-gap: 14px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 7px;
  }

  .home-photo-gallery .home-photo-rail { grid-auto-columns: 100%; }
  .home-gallery-arrow { width: 34px; }
}

@media print {
  .home-photo-gallery { display: block; margin: 0; }
  .home-gallery-arrow { display: none; }
  .home-photo-gallery .home-photo-rail {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .home-photo-rail .archive-photo:nth-child(n+3) { display: none; }
}

.home-banner {
  --muted: #d7e1df;
  --line: #738988;
  background: var(--green);
  color: var(--white);
}

.home-banner :focus-visible { outline-color: var(--white); }

.hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-block: clamp(28px, 4vw, 60px) clamp(38px, 5vw, 75px);
}

.hero-copy { min-width: 0; max-width: 730px; }

.hero-title-lockup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.25vw, 32px);
  font-size: clamp(1.6rem, calc(1.25rem + 3.3vw), 4.16rem);
  line-height: 1.065;
}

.hero .hero-title-lockup h1 {
  max-width: 12ch;
  font-size: inherit;
  line-height: inherit;
}

.hero .hero-intro {
  max-width: 29em;
  margin-top: 32px;
  text-wrap: balance;
}

.hero-copy .hero-quotation { margin-top: 16px; }

.hero-title-logo { width: auto; height: 2lh; }

.hero-figure {
  align-self: start;
  width: 100%;
  min-width: 0;
  max-width: 780px;
}

.home-banner .hero-figure .image-mat { background: none; padding: 0; }

.hero-figure .image-mat img {
  width: 100%;
  height: auto;
  aspect-ratio: 3026 / 1867;
  object-fit: cover;
}

.home-banner .hero-figure a, .home-banner .hero-quotation blockquote { color: inherit; }

.home-banner .button.primary {
  color: var(--green);
  background: var(--white);
  border-color: var(--white);
}

.home-banner .button.secondary {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--muted);
}

.home-banner .button.primary:hover { background: var(--muted); border-color: var(--muted); }
.home-banner .button.secondary:hover { background: rgb(255 254 250 / .1); }

@media screen and (min-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0 clamp(20px, 1.9vw, 30px);
    align-items: stretch;
  }

  .hero-copy, .hero-figure {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero-copy { gap: 12px; }
  .hero-figure { align-self: stretch; max-width: none; }

  .hero .hero-intro {
    font-size: 1.0625rem;
    line-height: 1.45;
    margin-block: 0 11px;
  }

  .hero-copy .button { padding: 9px 17px; }
  .hero-copy .hero-quotation { margin: 0; padding-top: 8px; }

  .hero-copy .hero-quotation blockquote {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.25;
  }

  .hero-copy .hero-quotation figcaption { margin-top: 4px; font-size: .825rem; }
}

@media screen and (max-width: 680px) {
  .hero { gap: 18px; }
  .hero-figure figcaption { flex-wrap: wrap; justify-content: flex-start; }
  .home-banner .hero-copy .button { padding-inline: 14px; }
}

@media print {
  .home-banner { --muted: #555; --line: #bbb; background: none; color: var(--ink); }
  .hero-title-lockup { font-size: 32pt; }
  .hero-title-logo { filter: brightness(0); }
}

/* A single map sits beneath the light sections of Home. */
.home-map-field {
  position: relative;
  isolation: isolate;
}

.home-map-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: .055;
  pointer-events: none;
}

@media screen {
  .home-map-field .home-archive-views {
    background: color-mix(in srgb, var(--paper) 55%, transparent);
  }
}

@media print, (forced-colors: active) {
  .home-map-backdrop { display: none; }
}
