.contact-page{
  background:#fbfaf7;
  overflow:hidden;
}

.contact-hero{
  position:relative;
  min-height:620px;
  padding:92px 8vw 72px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) 420px;
  gap:72px;
  align-items:center;
  overflow:hidden;
}

.contact-hero-copy,
.contact-hero-card{
  min-width:0;
  position:relative;
  z-index:2;
}

.contact-hero h1{
  margin:0 0 22px;
  max-width:760px;
  font-family:var(--serif);
  font-size:clamp(54px,6.6vw,104px);
  line-height:.95;
  letter-spacing:-.055em;
  font-weight:400;
  color:var(--charcoal);
}

.contact-hero h1 span,
.contact-steps h2 span{
  color:var(--gold-deep);
}

.contact-hero-copy > p:not(.eyebrow){
  max-width:680px;
  margin:0 0 30px;
  color:#334354;
  font-size:20px;
  line-height:1.72;
  font-weight:550;
}

.contact-hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.contact-blob{
  position:absolute;
  border-radius:45% 55% 58% 42%;
  z-index:0;
}

.contact-blob.blue{
  width:560px;
  height:540px;
  right:17%;
  top:44px;
  background:rgba(111,124,134,.25);
  transform:rotate(16deg);
}

.contact-blob.olive{
  width:520px;
  height:360px;
  right:-180px;
  bottom:40px;
  background:rgba(138,148,110,.25);
}

.contact-dots{
  position:absolute;
  width:190px;
  height:132px;
  right:12%;
  top:135px;
  background-image:radial-gradient(#c9a54d 2px,transparent 2px);
  background-size:22px 22px;
  opacity:.55;
}

.contact-line{
  position:absolute;
  right:-10%;
  top:350px;
  width:62%;
  height:2px;
  background:linear-gradient(90deg,transparent,#c9a54d,transparent);
  transform:rotate(-10deg);
  opacity:.55;
}

.contact-hero-card{
  justify-self:center;
  width:min(100%,320px);
  aspect-ratio:9 / 18.5;
  min-height:0;
  padding:48px 18px 36px;
  border:11px solid #17191b;
  border-radius:44px;
  background:#f8f3ea;
  box-shadow:0 34px 85px rgba(18,34,51,.2);
}

.contact-hero-card::before{
  content:"";position:absolute;top:12px;left:50%;transform:translateX(-50%);
  width:86px;height:22px;border-radius:999px;background:#17191b;
}
.contact-hero-card::after{
  content:"";position:absolute;bottom:12px;left:50%;transform:translateX(-50%);
  width:100px;height:4px;border-radius:999px;background:#17191b;
}

.contact-card-top{
  display:flex;
  align-items:center;
  gap:13px;
  padding-bottom:18px;
  border-bottom:1px solid #eadfce;
}

.contact-card-top > span{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  font-family:var(--serif);
  font-size:28px;
  line-height:1;
}

.contact-card-top span span{
  color:var(--gold-deep);
}

.contact-card-top strong{
  color:#172433;
  font-size:18px;
  font-weight:800;
}

.contact-msg,
.contact-mini-card{
  max-width:86%;
  margin:20px 0;
  padding:16px 18px;
  border-radius:16px;
  background:#fff;
  color:#162433;
  box-shadow:0 10px 28px rgba(18,34,51,.08);
  font-weight:650;
  line-height:1.5;
}

.contact-msg.right{
  margin-left:auto;
  background:#dfe8ce;
}

.contact-mini-card{
  max-width:94%;
  border-radius:18px;
  border:1px solid rgba(217,200,154,.35);
}

.contact-mini-card strong{
  display:block;
  margin-bottom:6px;
  font-family:var(--serif);
  font-size:24px;
  font-weight:400;
  color:var(--ink);
}

.contact-mini-card p{
  margin:0;
  color:#4c5b67;
  font-size:14px;
}

.contact-content{
  width:min(1420px,calc(100% - 12vw));
  margin:0 auto 78px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) .85fr;
  gap:30px;
  align-items:start;
}

.contact-form,
.contact-info-card,
.contact-social-card,
.contact-steps{
  background:#fff;
  border:1px solid rgba(28,31,32,.12);
  border-radius:28px;
  box-shadow:0 20px 56px rgba(18,34,51,.08);
}

.contact-form{
  padding:46px;
}

.contact-form h2,
.contact-info-card h2,
.contact-steps h2{
  margin:0 0 28px;
  font-family:var(--serif);
  font-weight:400;
  color:var(--ink);
  line-height:1.05;
  letter-spacing:-.035em;
}

.contact-form h2{
  font-size:44px;
}

.contact-form label{
  display:block;
  margin:0 0 18px;
  color:#18293b;
  font-weight:800;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  margin-top:8px;
  padding:15px 16px;
  border:1px solid rgba(28,31,32,.16);
  border-radius:14px;
  background:#fbfaf7;
  color:#152332;
  font:inherit;
  outline:none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:#c9a54d;
  box-shadow:0 0 0 4px rgba(217,200,154,.22);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.contact-form button{
  min-height:58px;
  border:0;
}

.form-note{
  margin:14px 0 0;
  color:#64717e;
  font-size:14px;
}

.form-status{
  margin:14px 0 0;
  font-size:15px;
  font-weight:700;
}

.form-status.ok{color:#3d6b4f}
.form-status.err{color:#8d3b32}

.contact-form button:disabled{
  opacity:.7;
  cursor:wait;
}

.hp{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.contact-side{
  display:grid;
  gap:24px;
}

.contact-info-card,
.contact-social-card{
  padding:36px;
}

.contact-info-card h2{
  font-size:38px;
}

.contact-info-list{
  display:grid;
  gap:22px;
}

.contact-info-list > div{
  display:grid;
  grid-template-columns:62px 1fr;
  gap:18px;
  align-items:start;
}

.contact-info-list span{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f3efe3;
  color:#8a946e;
  box-shadow:0 0 0 7px rgba(217,200,154,.13);
}

.contact-info-list svg{
  width:32px;
  height:32px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.contact-info-list p{
  margin:0;
  color:#4b5b68;
  line-height:1.55;
}

.contact-info-list strong{
  color:#172433;
}

.contact-social-card{
  background:linear-gradient(135deg,#08283d,#061f32);
  color:#fff;
  overflow:hidden;
  position:relative;
}

.contact-social-card::after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-70px;
  width:240px;
  height:160px;
  border-top:2px solid rgba(217,200,154,.55);
  border-radius:50%;
  transform:rotate(-12deg);
}

.contact-social-card h3{
  position:relative;
  z-index:1;
  margin:0 0 18px;
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
}

.contact-social-card a{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.14);
  color:#f7f6f2;
  font-weight:750;
}

.contact-steps{
  width:min(1420px,calc(100% - 12vw));
  margin:0 auto 90px;
  padding:48px;
  background:linear-gradient(135deg,#fff,#f7f6f2);
  position:relative;
  overflow:hidden;
}

.contact-steps::before{
  content:"";
  position:absolute;
  left:-120px;
  bottom:-110px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:rgba(138,148,110,.13);
}

.contact-steps h2{
  position:relative;
  z-index:1;
  font-size:44px;
  text-align:center;
}

.contact-steps .eyebrow{
  position:relative;
  z-index:1;
  text-align:center;
}

.contact-step-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.contact-step-grid article{
  box-shadow:none;
  text-align:left;
  min-height:220px;
}

.contact-step-grid b{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  margin-bottom:18px;
}

.contact-step-grid h3{
  font-size:28px;
}

@media(max-width:1050px){
  .contact-hero,
  .contact-content{
    grid-template-columns:1fr;
  }
  .contact-hero-card{
    width:min(100%,320px);
  }
  .contact-content,
  .contact-steps{
    width:calc(100% - 48px);
  }
}

@media(max-width:720px){
  .contact-hero{
    padding:64px 24px 50px;
    gap:42px;
  }
  .contact-hero h1{
    font-size:clamp(36px,12vw,54px);
  }
  .contact-hero-copy > p:not(.eyebrow){
    font-size:17px;
  }
  .contact-hero-card{
    width:min(100%,300px);
  }
  .contact-content,
  .contact-steps{
    width:calc(100% - 32px);
  }
  .contact-form,
  .contact-info-card,
  .contact-social-card,
  .contact-steps{
    padding:28px;
    border-radius:22px;
  }
  .form-grid,
  .contact-step-grid{
    grid-template-columns:1fr;
  }
  .contact-info-list > div{
    grid-template-columns:54px 1fr;
  }
  .contact-info-list span{
    width:50px;
    height:50px;
  }
}

#contact-form{scroll-margin-top:110px;}

/* Align the form with the complete stack of information and social cards. */
@media(min-width:1051px){
 .contact-content{align-items:stretch;}
 .contact-side{align-self:stretch;grid-template-rows:minmax(min-content,1fr) auto;}
}
