.contact-page {
  background: var(--paper);
}

.contact-page .site-header {
  color: var(--ink);
}

.contact-page .site-header .brand img,
.contact-page .site-header.is-scrolled .brand img {
  filter: invert(1);
}

.contact-page .site-header.is-scrolled {
  color: var(--ink);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: stretch;
  min-height: min(780px, 100svh);
  padding: 128px clamp(24px, 6vw, 96px) 48px;
  color: var(--ink);
  background: var(--paper);
}

.contact-hero-copy {
  display: flex;
  align-self: center;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
  padding: 38px clamp(0px, 4vw, 68px) 52px 0;
}

.contact-hero-copy .kicker {
  margin-bottom: 28px;
}

.contact-hero h1 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.contact-hero-lede {
  max-width: 34ch;
  margin: 30px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  font-weight: 450;
  line-height: 1.55;
  text-wrap: pretty;
}

.contact-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.contact-hero-actions .text-link {
  color: var(--ink);
}

.contact-hero-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.contact-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 21, 19, 0.04), transparent 55%);
  content: "";
  pointer-events: none;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms var(--ease-out);
}

.contact-hero-media:hover img {
  transform: scale(1.025);
}

.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(44px, 8vw, 132px);
  align-items: center;
}

.contact-location-copy .display {
  max-width: 11ch;
}

.contact-location-copy .body-copy {
  max-width: 35ch;
}

.location-details {
  display: grid;
  gap: 0;
  max-width: 440px;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
}

.location-detail {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.location-detail dt {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.location-detail dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.location-detail a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.location-map {
  min-height: 430px;
  margin: 0;
  padding: clamp(28px, 5vw, 64px);
  color: var(--paper);
  background:
    linear-gradient(30deg, transparent 49.5%, rgba(238, 234, 225, 0.08) 50%, transparent 50.5%),
    linear-gradient(150deg, transparent 49.5%, rgba(238, 234, 225, 0.08) 50%, transparent 50.5%),
    var(--ink-soft);
  background-size: 128px 128px;
}

.location-map-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 54px;
  border: 1px solid rgba(238, 234, 225, 0.62);
  border-radius: 50%;
}

.location-map-mark span {
  width: 12px;
  height: 12px;
  background: var(--red);
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.location-map-label {
  margin: 0 0 15px;
  color: rgba(238, 234, 225, 0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-map address {
  max-width: 18ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  font-style: normal;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.location-map .button {
  margin-top: 38px;
}

.location-map-note {
  max-width: 32ch;
  margin: 18px 0 0;
  color: rgba(238, 234, 225, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.contact-context-image figcaption {
  margin-top: 12px;
  color: var(--muted-strong);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.contact-context .section-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
}

.contact-context-intro {
  position: sticky;
  top: 120px;
}

.contact-context-intro .display {
  max-width: 10ch;
}

.contact-context-intro .body-copy {
  max-width: 31ch;
  color: rgba(238, 234, 225, 0.82);
}

.material-read-list {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.material-read-item {
  display: grid;
  grid-template-columns: minmax(105px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-light);
}

.material-read-item strong {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.material-read-item span {
  align-self: center;
  color: rgba(238, 234, 225, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.contact-principle {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.7vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.contact-context-image {
  grid-column: 1 / -1;
  width: min(100%, 900px);
  margin: 28px 0 0 auto;
}

.contact-context-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.contact-materials .section-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: 56px clamp(48px, 8vw, 140px);
  align-items: end;
}

.contact-materials-heading .display {
  max-width: 12ch;
}

.contact-materials-heading .body-copy {
  max-width: 34ch;
}

.material-category-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.material-category-list a,
.contact-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  transition: padding 180ms var(--ease-out), color 180ms ease;
}

.material-category-list a:hover,
.material-category-list a:focus-visible,
.contact-related-links a:hover,
.contact-related-links a:focus-visible {
  padding-right: 8px;
  color: var(--red);
}

.material-category-list a span,
.contact-related-links a span {
  transition: transform 180ms var(--ease-out);
}

.material-category-list a:hover span,
.material-category-list a:focus-visible span,
.contact-related-links a:hover span,
.contact-related-links a:focus-visible span {
  transform: translate(3px, -3px);
}

.contact-materials-link {
  grid-column: 2;
  justify-self: start;
  margin-top: 22px;
  color: var(--ink);
}

.contact-consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(42px, 8vw, 132px);
  align-items: start;
}

.contact-consultation-copy .display {
  max-width: 11ch;
}

.contact-consultation-copy .body-copy {
  max-width: 39ch;
  color: rgba(238, 234, 225, 0.9);
}

.consultation-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 44px 0 0;
  color: rgba(238, 234, 225, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.consultation-flow span {
  color: rgba(238, 234, 225, 0.48);
}

.project-brief {
  padding-top: 8px;
}

.project-brief-heading {
  margin: 0 0 15px;
  color: rgba(238, 234, 225, 0.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-brief ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(238, 234, 225, 0.4);
}

.project-brief li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(238, 234, 225, 0.4);
  font-size: 16px;
}

.project-brief .button {
  margin-top: 34px;
}

.contact-service .section-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: clamp(48px, 9vw, 160px);
  align-items: start;
}

.contact-service-copy .display {
  max-width: 10ch;
}

.contact-service-copy .body-copy {
  max-width: 43ch;
}

.contact-related-links {
  display: grid;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.contact-related-links a {
  min-height: 58px;
}

.contact-page .site-footer .footer-bottom {
  gap: 22px;
}

.contact-page .site-footer .footer-bottom a:first-of-type {
  margin-left: auto;
}

@media (max-width: 900px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 24px;
  }

  .contact-hero-copy {
    max-width: 700px;
    padding: 36px 0 70px;
  }

  .contact-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.3rem, 10vw, 5.5rem);
  }

  .contact-hero-media {
    min-height: 60vw;
  }

  .contact-location-grid,
  .contact-consultation-grid,
  .contact-service .section-frame {
    grid-template-columns: 1fr;
  }

  .contact-context .section-frame,
  .contact-materials .section-frame {
    grid-template-columns: 1fr;
  }

  .contact-context-intro {
    position: static;
  }

  .contact-context-intro .display,
  .contact-context-intro .body-copy,
  .contact-materials-heading .display,
  .contact-materials-heading .body-copy,
  .contact-service-copy .display,
  .contact-service-copy .body-copy {
    max-width: 38ch;
  }

  .contact-materials-link {
    grid-column: auto;
  }

  .contact-context-image {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding: 96px 24px 8px;
  }

  .contact-hero-copy {
    padding: 28px 0 56px;
  }

  .contact-hero-copy .kicker {
    margin-bottom: 20px;
  }

  .contact-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.15rem, 16vw, 4.7rem);
    line-height: 0.98;
  }

  .contact-hero-lede {
    max-width: 31ch;
    margin-top: 24px;
    font-size: 1rem;
  }

  .contact-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 21px;
    margin-top: 30px;
  }

  .contact-hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .contact-hero-actions .text-link {
    align-self: flex-start;
  }

  .contact-hero-media {
    min-height: 110vw;
  }

  .contact-hero-media img {
    object-position: 58% center;
  }

  .contact-location-grid,
  .contact-context .section-frame,
  .contact-materials .section-frame,
  .contact-consultation-grid,
  .contact-service .section-frame {
    gap: 44px;
  }

  .contact-location .section-frame,
  .contact-context .section-frame,
  .contact-materials .section-frame,
  .contact-service .section-frame {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .contact-location-copy .display,
  .contact-context-intro .display,
  .contact-materials-heading .display,
  .contact-consultation-copy .display,
  .contact-service-copy .display {
    max-width: 11ch;
  }

  .contact-location-copy .body-copy,
  .contact-context-intro .body-copy,
  .contact-materials-heading .body-copy,
  .contact-consultation-copy .body-copy,
  .contact-service-copy .body-copy {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .location-details {
    margin-top: 36px;
  }

  .location-detail {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 15px 0;
  }

  .location-detail dd {
    font-size: 14px;
  }

  .location-map iframe {
    min-height: 330px;
  }

  .material-read-item {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 17px 0;
  }

  .material-read-item span {
    font-size: 13px;
  }

  .contact-principle {
    margin-top: 6px;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 1.02;
  }

  .contact-context-image {
    margin-top: 0;
  }

  .contact-context-image img {
    aspect-ratio: 4 / 5;
  }

  .material-category-list a {
    min-height: 52px;
    font-size: 14px;
  }

  .contact-materials-link {
    margin-top: -18px;
  }

  .consultation-flow {
    margin-top: 33px;
    font-size: 10px;
  }

  .project-brief {
    padding-top: 0;
  }

  .project-brief li {
    padding: 14px 0;
    font-size: 15px;
  }

  .project-brief .button {
    width: 100%;
    justify-content: space-between;
    margin-top: 28px;
  }

  .contact-related-links a {
    min-height: 56px;
    font-size: 14px;
  }

  .contact-page .site-footer .footer-bottom a:first-of-type {
    margin-left: 0;
  }
}
