/*
 * Contact page v2.
 * Light wave hero, dark project stage, and a compact expectation section.
 */

.contact-v2-main {
  overflow: hidden;
  background: #FFFFFF;
  color: #1A1A1A;
}

.contact-v2-hero {
  min-height: 790px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 170px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 52% 34% at 6% 44%, rgba(255, 201, 163, 0.68) 0 34%, rgba(255, 201, 163, 0.28) 54%, transparent 72%),
    radial-gradient(ellipse 50% 38% at 78% 46%, rgba(201, 201, 201, 0.62) 0 31%, rgba(204, 204, 204, 0.25) 56%, transparent 74%),
    radial-gradient(ellipse 48% 31% at 50% 93%, rgba(204, 204, 204, 0.52) 0 32%, transparent 72%),
    #FFFFFF;
}

.contact-v2-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-v2-wave span {
  position: absolute;
  display: block;
  border-radius: 50%;
  transform: rotate(-8deg);
}

.contact-v2-wave span:nth-child(1) {
  width: 58vw;
  height: 170px;
  left: -14vw;
  top: 22%;
  border: 2px solid rgba(255, 155, 83, 0.22);
}

.contact-v2-wave span:nth-child(2) {
  width: 64vw;
  height: 210px;
  right: -16vw;
  top: 38%;
  border: 2px solid rgba(255, 157, 87, 0.2);
}

.contact-v2-wave span:nth-child(3) {
  width: 56vw;
  height: 140px;
  left: 22vw;
  bottom: 5%;
  border: 2px solid rgba(255, 161, 94, 0.16);
}

.contact-v2-hero-inner,
.contact-v2-stage,
.contact-v2-next {
  width: min(var(--rf-section-max, 1280px), calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.contact-v2-hero-inner {
  position: relative;
  z-index: 1;
}

.contact-v2-eyebrow,
.contact-v2-copy > p:first-child,
.contact-v2-next-heading > p {
  margin: 0;
  color: #C2410C;
  font: 700 10px/1.3 "DM Sans", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-v2-hero h1 {
  max-width: 1120px;
  margin: 28px 0 0;
  color: #1B1B1B;
  font-size: clamp(64px, 8.2vw, 122px);
}

.contact-v2-hero h1 em {
  color: #C2410C;
}

.contact-v2-intro {
  max-width: 690px;
  margin: 34px 0 0;
  color: #616161;
  font-size: 18px;
  line-height: 1.62;
}

.contact-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.contact-v2-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #222222;
  font: 700 11px/1 "DM Sans", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.contact-v2-actions a:first-child {
  border-color: #1D1D1D;
  background: #1D1D1D;
  color: #FFFFFF;
}

.contact-v2-actions a span {
  margin-left: 10px;
  color: #D7D7D7;
}

.contact-v2-meta {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 74px;
  overflow: hidden;
  border: 1px solid rgba(27, 27, 27, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 55px rgba(194, 81, 0, 0.08);
  backdrop-filter: blur(12px);
}

.contact-v2-meta p {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 7px;
  margin: 0;
  padding: 15px 18px;
  border-right: 1px solid rgba(27, 27, 27, 0.11);
  text-align: center;
}

.contact-v2-meta p:last-child {
  border-right: 0;
}

.contact-v2-meta span {
  color: #878787;
  font: 700 8px/1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-v2-meta strong {
  color: #2B2B2B;
  font-size: 12px;
}

.contact-v2-stage {
  width: min(1450px, calc(100% - 72px));
  min-height: 720px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.18fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(94px, 10vw, 150px);
  padding: clamp(48px, 6vw, 84px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 121, 26, 0.92) 0 14%, transparent 14.2%),
    radial-gradient(circle at 48% -2%, rgba(255, 115, 15, 0.88) 0 16%, transparent 16.2%),
    radial-gradient(circle at 96% 5%, rgba(255, 133, 45, 0.88) 0 15%, transparent 15.2%),
    linear-gradient(145deg, #181818, #111111 68%, #0B0B0B);
  box-shadow: 0 38px 90px rgba(18, 18, 18, 0.18);
  isolation: isolate;
}

.contact-v2-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.contact-v2-art span {
  position: absolute;
  display: block;
  border: 30px solid rgba(255, 151, 77, 0.14);
  transform: rotate(45deg);
}

.contact-v2-art span:nth-child(1) {
  width: 250px;
  height: 250px;
  left: 32%;
  top: 31%;
}

.contact-v2-art span:nth-child(2) {
  width: 150px;
  height: 150px;
  left: -68px;
  bottom: -78px;
}

.contact-v2-art span:nth-child(3) {
  width: 180px;
  height: 180px;
  left: 43%;
  bottom: -115px;
}

.contact-v2-art span:nth-child(4) {
  width: 110px;
  height: 110px;
  right: 32%;
  top: -74px;
}

.contact-v2-copy {
  max-width: 570px;
  color: #FFFFFF;
}

.contact-v2-copy > p:first-child {
  color: rgba(255, 255, 255, 0.65);
}

.contact-v2-copy > p:first-child span,
.contact-v2-next-heading > p span {
  margin-right: 10px;
  color: #FFAD66;
}

.contact-v2-copy h2 {
  margin: 22px 0 0;
  color: #FFFFFF;
}

.contact-v2-copy h2 em {
  color: #D7D7D7;
}

.contact-v2-copy > p:not(:first-child) {
  max-width: 530px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.62;
}

.contact-v2-availability {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  font: 700 9px/1.2 "DM Sans", sans-serif;
}

.contact-v2-availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFA96B;
  box-shadow: 0 0 0 5px rgba(255, 169, 107, 0.11);
}

.contact-v2-form {
  width: 100%;
  max-width: 760px;
  justify-self: end;
}

.contact-v2-next {
  padding: clamp(105px, 11vw, 170px) 0;
}

.contact-v2-next-heading {
  max-width: 820px;
}

.contact-v2-next-heading > p span {
  color: #C2410C;
}

.contact-v2-next-heading h2 {
  margin: 19px 0 0;
}

.contact-v2-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid rgba(27, 27, 27, 0.1);
  border-left: 1px solid rgba(27, 27, 27, 0.1);
}

.contact-v2-next-grid article {
  min-height: 245px;
  position: relative;
  padding: 30px;
  border-right: 1px solid rgba(27, 27, 27, 0.1);
  border-bottom: 1px solid rgba(27, 27, 27, 0.1);
  background: #FFFFFF;
}

.contact-v2-next-grid article:nth-child(2) {
  background: #F2F2F2;
}

.contact-v2-next-grid article:nth-child(3) {
  background: #F5F5F5;
}

.contact-v2-next-grid article > span {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #C2410C;
  font: 700 10px/1 "DM Sans", sans-serif;
}

.contact-v2-next-grid h3 {
  margin: 92px 0 12px;
  color: #1F1F1F;
  font-size: 28px;
}

.contact-v2-next-grid p {
  max-width: 280px;
  margin: 0;
  color: #6C6C6C;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .contact-v2-hero-inner,
  .contact-v2-stage,
  .contact-v2-next {
    width: min(900px, calc(100% - 48px));
  }

  .contact-v2-stage {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-v2-copy {
    max-width: 650px;
  }

  .contact-v2-form {
    max-width: 760px;
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .contact-v2-hero {
    min-height: auto;
    padding: 150px 0 72px;
  }

  .contact-v2-hero-inner,
  .contact-v2-next {
    width: calc(100% - 32px);
  }

  .contact-v2-hero h1 {
    font-size: clamp(55px, 15vw, 78px);
  }

  .contact-v2-meta,
  .contact-v2-next-grid {
    grid-template-columns: 1fr;
  }

  .contact-v2-meta p,
  .contact-v2-meta p:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(27, 27, 27, 0.11);
  }

  .contact-v2-meta p:last-child {
    border-bottom: 0;
  }

  .contact-v2-stage {
    width: calc(100% - 24px);
    padding: 54px 18px 18px;
    border-radius: 22px;
  }
}
