﻿/* Contact page styles. */

.inner-hero {
  display: flex;
  min-height: clamp(430px, 46vw, 700px);
  padding: clamp(150px, 15vw, 250px) 5% 70px;
  flex-direction: column;
  justify-content: flex-end;
  background: #29236f;
  color: #f8f8f8;
}


.inner-hero p {
  margin: 0 0 18px;
  color: #d4a530;
  font: 400 16px/1.5 "Roboto Flex", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-hero h1 {
  max-width: 1000px;
  margin: 0;
  font: 400 clamp(52px, 7vw, 120px)/0.95 "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.04em;
}

.projects-hero,
.news-hero,
.contact-hero {
  position: relative;
  display: block;
  height: min(939px, 48.906vw);
  min-height: 620px;
  padding: 0;
  background: #292568;
}

.projects-hero::after,
.news-hero::after,
.contact-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.5;
  background-image: url("../images/hero-pattern.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: soft-light;
}

.projects-hero .projects-hero__title,
.news-hero h1,
.contact-hero h1 {
  position: absolute;
  z-index: 1;
  left: 5%;
  bottom: 10.8%;
  max-width: none;
  margin: 0;
  color: #f8f8f8;
  font: 36px/normal "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.contact-hero > p {
  display: none;
}

.contact-hero h1 {
  width: min(760px, 58%);
  max-width: 760px;
}

.contact-hero__details {
  position: absolute;
  z-index: 1;
  right: 5%;
  bottom: 17.2%;
  display: flex;
  align-items: center;
  gap: clamp(44px, 4.2vw, 81px);
}

.contact-hero__details a {
  color: #f8f8f8;
  font: 400 18px/normal "Roboto Flex", sans-serif;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .contact-hero__details {
    bottom: 10.8%;
  }
}

.contact-locations {
  position: relative;
  display: grid;
  width: 90%;
  max-width: 1724px;
  margin: 0 auto;
  padding: 60px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: clamp(80px, 12vw, 230px);
  background: #fff;
  color: #000;
}

body.contact-page .contact-section--page {
  min-height: 460px;
  background: #fff;
}

body.contact-page .contact-section--page .contact-layout {
  min-height: 460px;
  background: #fff;
}

.contact-locations::before {
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 50%;
  width: 1px;
  height: auto;
  content: "";
  background: rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
}

.contact-location {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.contact-location h2 {
  min-height: 38px;
  margin: 0 0 clamp(28px, 2.7vw, 52px);
  font: 400 32px/38px "Bricolage Grotesque", sans-serif;
  text-transform: capitalize;
}

.contact-location--office div {
  width: min(470px, 100%);
}

.contact-location--office p {
  margin: 0;
  font: 400 16px/26px "Roboto Flex", sans-serif;
  text-transform: capitalize;
}

.contact-location--office p + p {
  margin-top: 24px;
}

.contact-location address {
  width: min(316px, 100%);
  font: normal 400 16px/26px "Roboto Flex", sans-serif;
  text-transform: capitalize;
}

.contact-map {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0px;
  background: #fff;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(520px, 48vw, 760px);
  border: 0;
}

.contact-page .contact-artwork-background {
  width: 100%;
  height: clamp(280px, 26.7vw, 455px);
  background: #f8f8f8;
}

@media (max-width: 767px) {
  .projects-page .site-header,
    .news-page .site-header,
    .contact-page .site-header {
      position: absolute;
      z-index: 50;
      inset: 0 0 auto;
      background: transparent;
      overflow: visible;
    }

  .inner-hero { min-height: 420px; padding: 140px 20px 55px; }

  .inner-hero h1 { font-size: clamp(46px, 15vw, 72px); }

  .projects-hero,
    .news-hero,
    .contact-hero {
      min-height: 330px;
      padding: 0;
    }

  .projects-hero .projects-hero__title,
    .news-hero h1,
    .contact-hero h1 { font-size: 26px; line-height: 36px; letter-spacing: -0.035em; }

  .contact-hero h1 {
      bottom: 24%;
      left: 2.5%;
      width: 95%;
      max-width: none;
      box-sizing: border-box;
    }

  .contact-hero__details {
      right: 5.5%;
      bottom: 5%;
      left: 2.5%;
      display: grid;
      grid-template-columns: max-content max-content;
      grid-template-rows: repeat(2, auto);
      align-items: flex-start;
      justify-content: space-between;
      gap: 5px 16px;
    }

  .contact-hero__details a {
      font-size: 16px;
      line-height: 18px;
    }

  .contact-hero__details a:last-child {
      grid-column: 2;
      grid-row: 1 / span 2;
      align-self: start;
    }
}

/* Regular paragraph typography — intentionally kept as individual rules. */
.inner-hero p { font-size: 16px; line-height: 26px; }
.contact-location--office p { font-size: 16px; line-height: 26px; }

@media (min-width: 576px) and (max-width: 1199px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .contact-location--office p { font-size: 14px; line-height: 20px; }
}

@media (max-width: 575px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .contact-location--office p { font-size: 14px; line-height: 24px; }
}

.contact-page .contact-location--office div {
  width: min(316px, 100%);
}

@media (min-width: 576px) and (max-width: 1199px) {
  .contact-page .contact-locations {
    width: 95%;
  }

  .contact-page .contact-hero h1 {
    font-size: 36px;
    line-height: 46px;
  }
}

@media (min-width: 1920px) {
  .contact-hero { height: 48.906vw; min-height: 0; }
  .contact-hero h1 { width: 39.583vw; max-width: none; font-size: 3.333vw; line-height: 3.854vw; }
  .contact-hero__details { gap: 4.219vw; }
  .contact-hero__details a { font-size: 0.938vw; }
  .contact-locations {
    width: 95%;
    max-width: none;
    padding: 10.677vw 0 8.021vw;
    gap: 11.979vw;
  }
  .contact-locations::before { top: 10.677vw; bottom: 8.021vw; }
  .contact-location h2 { min-height: 1.979vw; margin-bottom: 2.708vw; font-size: 1.667vw; line-height: 1.979vw; }
  .contact-location--office div { width: 24.479vw; }
  .contact-location--office p,
  .contact-location address { font-size: 0.729vw; line-height: 1.25vw; }
  .contact-location address { width: 16.458vw; }
  .contact-map iframe { height: 39.583vw; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .projects-page .site-header,
    .news-page .site-header,
    .contact-page .site-header {
      position: absolute;
      z-index: 50;
      inset: 0 0 auto;
      background: transparent;
      overflow: visible;
    }

  .contact-hero h1 {
      width: 58%;
    }

  .contact-hero__details {
    right: 2%;
    bottom: 10.8%;
    gap: 15px;
  }

  .contact-hero__details a { font-size: 14px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .contact-locations {
      width: 95%;
      padding: 25px 0 25px;
      gap: 70px;
    }

  .contact-location h2 { margin-bottom: 20px; font-size: 26px; }

  .contact-locations::before { top: 25px; bottom: 25px; }

  .contact-location--office p,
    .contact-location address { font-size: 14px; line-height: 20px; }

  .contact-map { width: 100%; padding-bottom: 0px; }

  .contact-map iframe { height: 550px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .contact-page .contact-artwork-background { height: clamp(275px, 28vw, 335px); }
}

@media (min-width: 576px) and (max-width: 991px) {
  .contact-page .contact-artwork-background { height: clamp(195px, 26vw, 260px); }
}

@media (max-width: 767px) {
  .contact-page .contact-artwork-background { height: clamp(120px, 40vw, 180px); }

  .contact-locations {
      width: 95%;
      padding: 25px 0;
      grid-template-columns: 1fr;
      gap: 20px;
    }

  .contact-location {
      align-items: flex-start;
      text-align: left;
    }

  .contact-location h2 { margin-bottom: 10px; font-size: 26px; }

  .contact-locations::before { display: none; }

  .contact-location--office {
      width: 100%;
      padding-bottom: 25px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    }

  .contact-location--office div { width: min(470px, 92%); margin: 0; }

  .contact-location--office p,
    .contact-location address { font-size: 16px; line-height: 24px; }

  .contact-location--office p + p { margin-top: 20px; }

  .contact-map { width: 100%; padding-bottom: 0px; }

  .contact-map iframe { height: 400px; }
}

/* Final regular-paragraph sizing overrides. */
.inner-hero p { font-size: 16px; line-height: 26px; }
.contact-location--office p { font-size: 16px; line-height: 26px; }

@media (min-width: 576px) and (max-width: 1199px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .contact-location--office p { font-size: 14px; line-height: 20px; }
}

@media (max-width: 575px) {
  .inner-hero p { font-size: 14px; line-height: 24px; }
  .contact-location--office p { font-size: 16px; line-height: 24px; }
}

/* Keep contact-page spacing and typography readable on 4K displays. */
@media (min-width: 2560px) {
  body.contact-page > .site-header .site-header__inner {
    width: 95%;
    max-width: none;
    margin-inline: auto;
  }
  body.contact-page > .site-header .site-header__logo { left: 2.5%; }
  body.contact-page > .site-header .site-header__actions { right: 0; }
  body.contact-page .contact-section--page { min-height: 700px; }
  body.contact-page .contact-section--page .contact-layout { min-height: 700px; }
  .contact-page .contact-artwork-background { height: clamp(455px, 26.7vw, 1025px); }
  .contact-hero { max-height: 1252px; }
  .contact-hero h1 { width: min(90%, 1300px); font-size: 80px; line-height: normal; }
  .contact-hero__details { gap: 60px; }
  .contact-hero__details a { font-size: 28px; line-height: 38px; }
  .contact-locations { width: 90%; max-width: none; padding: 60px 0; gap: 100px; }
  .contact-locations::before { top: 60px; bottom: 60px; }
  .contact-location h2 { min-height: 0; margin-bottom: 40px; font-size: 72px; line-height: 1.2; }
  .contact-location--office div { width: min(100%, 900px); }
  .contact-location--office p,
  .contact-location address { font-size: 34px; line-height: 1.6; }
  .contact-location address { width: min(100%, 700px); }
  .contact-map iframe { height: min(50vw, 1010px); }
}
