body.rps-contact {
  background: radial-gradient(circle at 72% 12%, #10243d 0, transparent 34%), linear-gradient(145deg, var(--bg), #02050b 72%);
}

.hero {
  padding: 170px 8vw 90px;
  min-height: 58vh;
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero:after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -180px;
  top: 80px;
  border: 1px solid rgba(126, 166, 207, .12);
  box-shadow: 0 0 0 42px rgba(126, 166, 207, .018), 0 0 0 86px rgba(126, 166, 207, .012);
  pointer-events: none;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #aebdcd;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .88;
  margin: 0 0 28px;
  max-width: 900px;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.contact-grid {
  padding: 120px 8vw 150px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
  max-width: 1450px;
  margin: auto;
}

.intro-kicker {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9eafc1;
  margin-bottom: 18px;
}

.contact-grid h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -.03em;
}

.contact-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 500px;
}

.office {
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.office-label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8e9aaa;
  margin-bottom: 14px;
}

.address {
  font-size: 17px;
  line-height: 1.7;
  color: #e7ebef;
}

.address strong { font-weight: 500; }

.directions {
  display: inline-block;
  margin-top: 18px;
  color: #dce4ed;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding-bottom: 6px;
}

.form-wrap {
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  padding: 42px;
  border-radius: 4px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .16);
}

.form-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 32px;
}

.consultation-note {
  font-size: 13px;
  line-height: 1.6;
  color: #aeb8c5;
  margin: 10px 0 0;
  max-width: 560px;
}

.form-top h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0;
}

.form-top span {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8290a1;
}

.form-wrap .gform_heading,
.form-wrap .gform_required_legend,
.form-wrap .gfield_required,
.form-wrap .gform-field-label .gfield_required { display: none; }

.form-wrap .gform_wrapper { margin: 0; }

.form-wrap .gfield_label,
.form-wrap .gform-field-label:not(.gform-field-label--type-inline) {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aeb8c5 !important;
  font-weight: 400;
}

.form-wrap .gfield--type-checkbox .gform-field-label,
.form-wrap .gfield--type-consent .gform-field-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  line-height: 1.6;
  color: #7f8b9a;
}

.form-wrap .ginput_container input:not([type="checkbox"]),
.form-wrap .ginput_container textarea,
.form-wrap .ginput_container select {
  width: 100%;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
  background: transparent !important;
  color: #f4f6f8 !important;
  padding: 12px 2px !important;
  font: inherit;
  font-size: 15px;
  outline: none;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.form-wrap .ginput_container textarea {
  min-height: 145px !important;
  height: 145px !important;
  resize: vertical;
}

.form-wrap .ginput_container select {
  appearance: none;
}

.form-wrap .ginput_container option {
  background: #091426 !important;
  color: #fff !important;
}

.form-wrap .ginput_container input::placeholder,
.form-wrap .ginput_container textarea::placeholder {
  color: #757575 !important;
  opacity: 1 !important;
}

body.rps-contact .form-wrap .gform_fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 22px;
}

body.rps-contact .form-wrap .gfield {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 !important;
  padding: 0 !important;
  min-inline-size: 0;
}

body.rps-contact .form-wrap .gfield--width-half {
  grid-column: span 1;
}

body.rps-contact .form-wrap .gfield--type-select,
body.rps-contact .form-wrap .gfield--type-textarea,
body.rps-contact .form-wrap .gfield--type-checkbox {
  grid-column: 1 / -1;
}

body.rps-contact .form-wrap .gfield--type-honeypot,
body.rps-contact .form-wrap .gform_validation_container {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.rps-contact .form-wrap .gfield_label,
body.rps-contact .form-wrap .gform-field-label:not(.gform-field-label--type-inline) {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 16px !important;
}

body.rps-contact .form-wrap .ginput_container {
  margin: 0 !important;
  padding: 0 !important;
}

body.rps-contact .form-wrap .ginput_container input:not([type="checkbox"]),
body.rps-contact .form-wrap .ginput_container select {
  box-sizing: border-box !important;
  min-height: 0 !important;
  height: 41px !important;
  line-height: normal !important;
  padding: 12px 2px !important;
}

.form-wrap .gfield--type-checkbox .ginput_container input,
.form-wrap .gfield--type-consent .ginput_container input {
  width: auto;
  margin-top: 3px;
  accent-color: #cfd8e2;
}

.form-wrap .gform_footer,
.form-wrap .gform_page_footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  padding: 0;
}

.form-wrap .gfield--type-checkbox > .gfield_label,
.form-wrap .gfield--type-checkbox > .gform-field-label:not(.gform-field-label--type-inline) {
  display: none;
}

.form-wrap .gform_button,
.form-wrap button[type="submit"] {
  border: 1px solid transparent !important;
  background: #eef1f3 !important;
  color: #07101c !important;
  border-radius: 30px !important;
  padding: 15px 24px !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  width: auto;
  transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}

.form-wrap .gform_button:hover,
.form-wrap button[type="submit"]:hover {
  background: rgba(180, 205, 230, .1) !important;
  color: #f4f6f8 !important;
  border-color: #d8e3ef !important;
}

.hero {
  min-height: 60vh;
  align-items: center;
  padding-top: 155px;
  padding-bottom: 90px;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  align-items: center;
  gap: 7vw;
  max-width: 1500px;
  margin: 0 auto;
}

.hero-logo {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.hero-logo img {
  width: min(430px, 80%);
  opacity: 1;
  visibility: visible;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(100, 155, 215, .18));
  transition: transform .5s ease, filter .5s ease;
}

.hero-logo:hover img {
  transform: translateY(-6px) scale(1.025);
  filter: drop-shadow(0 0 38px rgba(120, 175, 230, .28));
}

.office-map-section {
  padding: 35px 8vw 120px;
  border-top: 1px solid var(--line);
  max-width: 1500px;
  margin: 0 auto;
}

.office-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.office-map-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.03em;
}

.office-map {
  width: 100%;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, .13);
  overflow: hidden;
  background: #d9dde2;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-address {
  padding-top: 18px;
  color: #9eabb9;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.office-map-section .directions { margin-top: 0; }

@media (max-width: 900px) {
  .hero { padding-top: 135px; }
  .hero-content { grid-template-columns: 1fr; gap: 45px; }
  .hero-logo { min-height: 250px; }
  .hero-logo img { width: min(330px, 78%); }
  .office-map-section { padding: 25px 7vw 85px; }
  .office-map-head { display: block; }
  .office-map-head h2 { font-size: 38px; }
  .office-map-section .directions { margin-top: 18px; }
  .office-map { height: 400px; }
}

@media (max-width: 900px) {
  body.rps-contact.rps-nav-compact .nav { height: 88px; padding: 0 5vw; }
  body.rps-contact.rps-nav-compact .brand img { height: 68px; }
  body.rps-contact.rps-nav-compact .links { display: none; }
  .hero { padding: 145px 7vw 75px; min-height: 52vh; }
  .hero h1 { font-size: clamp(54px, 14vw, 82px); }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; padding: 85px 7vw 100px; }
  .form-wrap { padding: 28px 22px; }
  body.rps-contact .form-wrap .gform_fields { grid-template-columns: 1fr; }
  body.rps-contact .form-wrap .gfield { grid-column: auto; }
  .form-top { display: block; }
  .form-top span { display: block; margin-top: 10px; }
  .hero:after { width: 340px; height: 340px; right: -170px; }
}
