.hero-render {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero::before {
  background: linear-gradient(95deg, rgb(11 23 61 / .93), rgb(11 23 61 / .68) 39%, rgb(11 23 61 / .16) 74%, transparent);
}

.hero::after {
  height: 22%;
  background: linear-gradient(0deg, rgb(11 23 61 / .67), transparent);
}

.hero-content {
  padding-top: clamp(85px, 11vh, 145px);
}

.hero h1 {
  font-size: clamp(3.35rem, 7.2vw, 6.25rem);
}

.hero-render-caption {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 18px;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: .8rem;
  text-shadow: 0 1px 4px var(--brand-dark);
}

.project-figure {
  margin: 0;
}

.project-image {
  border: 1px solid var(--line);
  border-radius: 4px;
}

.image-window {
  display: block;
  overflow: hidden;
  background: #fff;
}

.image-window img {
  display: block;
  width: 100%;
  height: auto;
}

.image-window--location {
  aspect-ratio: 1100 / 715;
}

.image-window--location img {
  transform: translateY(-50.1%);
}

.image-window--site {
  aspect-ratio: 1100 / 715;
}

.project-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .875rem;
}

.project-figure figcaption a,
.content-link {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.type-card .image-window--unit {
  aspect-ratio: 1100 / 665;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.image-window--unit img {
  transform: translateY(-48.5%);
}

.project-image:focus-visible,
.type-card:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.interior {
  background: var(--panel);
}

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

.interior-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.interior-photo {
  aspect-ratio: 16 / 9;
}

.interior-photo--84a img {
  transform: translateY(-22.05%);
}

.interior-photo--84b img {
  transform: translateY(-53.18%);
}

.interior-photo--107b img {
  width: 136.6%;
  transform: translate(-26.8%, -92.35%);
}

.interior-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
}

.interior-card strong {
  color: var(--brand);
  font: 500 1.45rem var(--serif);
}

.interior-card a,
.interior-note {
  font-size: .875rem;
}

.interior-note {
  color: var(--muted);
}

.interior-note a {
  display: inline-block;
  margin-inline-start: .4rem;
}

@media (max-width: 560px) {
  :root {
    --site-header-height: 99px;
    --fixedbar-height: 74px;
  }

  .header {
    background: var(--paper);
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 51px 47px;
    column-gap: 6px;
    width: 100%;
    padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
  }

  .header .brand {
    gap: 7px;
    font-size: .9375rem;
  }

  .header .brand-mark {
    flex: none;
    width: 27px;
    height: 27px;
  }

  .header .brand small,
  .header .nav-call {
    display: none;
  }

  .header .menu {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    place-items: center;
    padding: 4px 9px;
  }

  .header .nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    align-self: start;
  }

  .header .nav a[href^="#"]:not(.nav-wide) {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding-inline: 3px;
    border-radius: 5px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: clamp(.875rem, 4.1vw, 1rem);
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    touch-action: manipulation;
  }

  .header .nav a:focus-visible,
  .header .menu:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-render {
    inset: auto 0 0;
    height: 58%;
    object-position: 52% bottom;
  }

  .hero::before {
    background: linear-gradient(180deg, var(--brand-dark) 36%, rgb(11 23 61 / .76) 52%, transparent 76%);
  }

  .hero-content {
    padding: 56px 0 230px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
  }

  .hero-actions .btn {
    padding: 11px 15px;
    font-size: .875rem;
  }

  .hero-render-caption {
    right: 16px;
    left: 16px;
    font-size: .75rem;
    text-align: right;
  }

  .interior-grid {
    grid-template-columns: 1fr;
  }
}
