/* VHN Services — site styles
   Rebuilt from the Wix site. Desktop sizes scale with viewport width (vw),
   matching the original. Breakpoints: tablet <= 1000px, mobile <= 750px. */

:root {
  --navy: #0d445b;
  --teal: #82a6ab;
  --slate: #7f9aac;
  --mint: #a9d4cb;
  --yellow: #f3ce49;
  --cream: #f2efe9;
  --ink: #171408;
  --muted: #605e59;
  --texture: url("../images/texture.jpg");
  --pad: 2.72vw;
  --font-body: Arial, Helvetica, sans-serif;
  --font-roboto: "Roboto", Arial, sans-serif;
  --font-serif: "Times New Roman", Times, serif;
  --font-display: "Rozha One", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.textured {
  background-color: var(--navy);
  background-image: var(--texture);
  background-size: cover;
  background-position: center;
}

/* Fade-in on scroll (only when JS is running) */
.js .reveal { opacity: 0; transition: opacity 1.2s ease; }
.js .reveal.is-visible { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 167px;
  height: 45px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 16px;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.btn:hover { box-shadow: 0 0 15px 3px rgba(214, 211, 203, 0.6); }
.btn--lg { font-size: 22px; }
.btn--lg:hover { box-shadow: 0 0 15px 3px rgba(243, 206, 73, 0.6); }
.btn--grey {
  background: #d4d5d7;
  color: var(--ink);
  font-family: var(--font-body);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
  min-height: 6.25vw;
  display: flex;
  align-items: center;
}
.site-header__logo {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0.1vw;
}
.site-header__logo img { width: 12.36vw; height: auto; aspect-ratio: 178 / 97; object-fit: cover; }
.site-header__logo .logo-mobile { display: none; }

.site-nav {
  margin-left: calc(55.25vw - 121px);
  margin-right: 152px;
  flex: 1;
}
.site-nav ul { display: flex; flex-wrap: wrap; column-gap: 30px; row-gap: 8px; }
.site-nav a {
  display: flex;
  align-items: center;
  height: 42px;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--yellow); }

.login {
  position: absolute;
  right: calc(var(--pad) + 1px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 6px 7px 6px 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
}
.login svg { width: 26px; height: 26px; fill: #fff; }
.login span { width: 55px; text-align: center; }

.menu-toggle { display: none; color: #fff; font-size: 14px; line-height: 1.4; }

/* Mobile / tablet menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 783px;
  max-height: 100vh;
  background: var(--yellow);
  padding-top: 81px;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0 35px;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: #000;
}
.mobile-menu a:hover,
.mobile-menu a.is-active { color: var(--muted); }
.mobile-menu__close {
  position: absolute;
  top: 15px;
  right: 35px;
  width: 49px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__close svg { width: 17px; height: 17px; stroke: #000; stroke-width: 1.2; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  background: var(--ink);
  overflow: hidden;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  top: 61.67vh;
  height: calc(38.33vh - 5.5vw);
  display: flex;
  align-items: center;
}
.hero__title {
  margin-left: var(--pad);
  width: 63vw;
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 5vw;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__divider {
  position: absolute;
  left: 67vw;
  top: 0;
  bottom: 0;
  border-left: 2px dotted #fff;
}
.hero__aside { position: absolute; left: 70.82vw; width: 26.2vw; }
.hero__aside p {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 1.953vw;
  line-height: 1.3;
  margin-bottom: 1.875vw;
}

/* ---------- Home: intro + cards ---------- */
.intro__top {
  position: relative;
  padding: 5.5vw var(--pad);
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.intro__title {
  max-width: 78.3vw;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 6.09375vw;
  line-height: 1;
  letter-spacing: -0.02em;
}
.intro__sub {
  max-width: 51.5vw;
  margin-top: 0.7vw;
  font-family: var(--font-roboto);
  font-weight: 100;
  font-size: 2.656vw;
  line-height: 1.1;
}
.intro__top .btn { margin-top: 2.15vw; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; }
.card { padding: var(--pad); }
.card:nth-child(1) { background: var(--navy); }
.card:nth-child(2) { background: var(--teal); padding-left: 6.25vw; }
.card:nth-child(3) { background: var(--slate); }
.card svg { width: 6.25vw; height: 6.25vw; }
.card h3 {
  margin-top: 3.26vw;
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: 1.40625vw;
  line-height: 1.185;
}
.card__rule { width: 20.8vw; margin-top: 1.1vw; border-top: 2px dotted #fff; }
.card p { width: 20.8vw; margin-top: 1.74vw; font-size: 16px; line-height: 1.3; }

/* ---------- Contact form section (home + about) ---------- */
.contact {
  position: relative;
  min-height: 83vw;
  background: var(--yellow);
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Wix cropped this around a focal point at 23% / 44% */
  object-position: 0% 44%;
}
.contact__card {
  position: relative;
  width: 470px;
  margin: 11.4vw auto 0;
  padding: 61px 45px 82px;
  background: var(--cream);
  border-radius: 4px;
  color: var(--navy);
}
.contact__title {
  min-height: 59px;
  margin-bottom: 23px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.125vw;
  line-height: 1;
  text-align: center;
}
.contact__intro { max-width: 374px; font-size: 16px; line-height: 24px; margin-bottom: 17px; }
.contact__intro strong { font-style: italic; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; line-height: 19.6px; margin-bottom: 8px; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  font: 16px/1.25 var(--font-body);
  color: var(--navy);
}
.field textarea { height: 92px; resize: none; }
.field input:focus,
.field textarea:focus { outline: 1px solid var(--navy); }
.field--phone { position: relative; }
.field--phone input { padding-left: 52px; }
.field__country {
  position: absolute;
  left: 12px;
  bottom: 6px;
  display: flex;
  align-items: center;
  color: var(--navy);
  pointer-events: none;
}
.field__country svg:first-child { width: 24px; height: 24px; }
.field__country svg:last-child { width: 16px; height: 16px; }

.contact__submit {
  display: block;
  width: 100%;
  height: 41px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
}
.contact__status { margin-top: 12px; font-size: 14px; line-height: 19.6px; }
.contact__status:empty { display: none; }

/* About-page variant of the form card */
.contact--about { display: flex; align-items: center; justify-content: center; }
.contact--about .contact__bg { object-position: 0% 46%; }
.contact--about .contact__card { margin: 15px auto 0; color: #000; padding-bottom: 80px; }
.contact--about .contact__title { font-family: var(--font-serif); color: var(--ink); }
.contact--about .field input,
.contact--about .field textarea { color: #000; }

/* ---------- Footer ---------- */
.site-footer { padding: 2.71vw var(--pad) 3.47vw; color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr; }
.site-footer__logo { width: 31.6vw; height: auto; aspect-ratio: 455 / 211; margin-left: -1.67vw; object-fit: cover; }
.site-footer nav { padding-top: 1.65vw; }
.site-footer nav a {
  display: block;
  width: 272px;
  max-width: 100%;
  padding: 5px 0;
  font-size: 16px;
  line-height: 20.8px;
  transition: color 0.2s;
}
.site-footer nav a:hover,
.site-footer nav a.is-active { color: var(--muted); }
.site-footer__rule { margin-top: max(5.5vw, 77px); border-top: 2px dotted #000; }
.site-footer__copy { padding-top: 1.74vw; font-size: 14px; line-height: 16px; }

/* ---------- About page ---------- */
.about-hero { height: 34.8vw; background: #fff; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

.mission {
  display: flex;
  min-height: 468px;
  padding: 73px var(--pad) 82px;
  background: var(--cream);
}
.mission__lead { width: 56vw; color: #000; font-family: var(--font-serif); }
.mission__eyebrow { font-size: 1.40625vw; line-height: 22px; }
.mission__headline { max-width: 46.8vw; margin-top: 11px; font-size: 3.125vw; line-height: 1; font-weight: 400; }
.mission__lead .btn { margin-top: 48px; }
.mission__body { width: 33.9vw; font-size: 16px; line-height: 24px; }
.mission__body p { margin-bottom: 24px; }
.mission__body p:last-child { margin-bottom: 0; }

.fade-band { height: 15.6vw; background: linear-gradient(0deg, var(--navy) 25.9252%, var(--cream) 100%); }

.leadership { padding: 35px var(--pad) var(--pad); background: var(--navy); color: #fff; }
.leadership h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 3.125vw;
  line-height: 1;
  text-align: center;
}
.leadership__grid { display: flex; justify-content: center; gap: 3.9vw; margin-top: 70px; }
.leader {
  position: relative;
  width: 30.76vw;
  min-height: 44.17vw;
  padding: 13.75vw 1.9vw 3vw 3.2vw;
  background: rgba(130, 166, 171, 0.39);
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.47vw;
  font-size: 14px;
  line-height: 19.6px;
}
.leader__head { position: absolute; top: 1.8vw; left: 1.88vw; right: 0; display: flex; align-items: center; }
.leader__photo { width: 9.5vw; height: 9.5vw; object-fit: cover; flex: none; }
.leader__id { margin-left: 0.6vw; }
.leader__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.40625vw; line-height: 1.4; }
.leader__role { font-weight: 700; margin-top: 13px; }
.leader > p { margin-bottom: 19.6px; }
.leader > p:last-child { margin-bottom: 0; }

/* =====================================================================
   Tablet: 751px – 1000px
   ===================================================================== */
@media (max-width: 1000px) {
  :root { --pad: 22px; }

  .site-header { min-height: 72px; height: 72px; }
  .site-header__logo { left: 4.6vw; margin-top: -11px; }
  .site-header__logo img { width: 11.9vw; }
  .site-nav { display: none; }
  .login { right: calc(4.6vw + 67px); padding-left: 7px; }
  .menu-toggle {
    display: block;
    position: absolute;
    right: 4.75vw;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero { height: 81.5vh; min-height: 560px; }
  .hero__content {
    position: absolute;
    inset: 0;
    height: auto;
    display: block;
  }
  .hero__title { position: absolute; left: 4.5vw; top: 165px; margin: 0; width: 65vw; font-size: 7.8vw; }
  .hero__divider { left: 4.6vw; top: auto; bottom: 37px; height: 199px; }
  .hero__aside { left: 8.5vw; bottom: 85px; width: 56vw; }
  .hero__aside p { font-size: 2.6vw; margin-bottom: 32px; }
  .btn { font-family: var(--font-body); }
  .btn--lg { font-size: 18px; }

  .intro__top { padding: 43px var(--pad) 43px; }
  .intro__title { max-width: 56.5vw; font-size: 6.1vw; }
  .intro__sub { max-width: 37.2vw; margin-top: 11px; font-size: 4.16vw; }
  .intro__top .btn { margin-top: 29px; }

  .card { padding: 22px; }
  .card:nth-child(2) { padding-left: 32px; }
  .card svg { width: 58px; height: 58px; }
  .card h3 { margin-top: 31px; font-size: 2.35vw; line-height: 1.1; }
  .card__rule { width: 100%; max-width: 201px; margin-top: 10px; }
  .card p { width: 100%; max-width: 201px; margin-top: 19px; font-size: 15px; }

  .contact { min-height: 1013px; }
  .contact__card { margin-top: 118px; }
  .contact__title { font-size: 4.16vw; }
  .contact--about .contact__card { margin-top: 0; }

  .site-footer { padding: 37px 4.5vw 58px; }
  .site-footer__top { display: block; }
  .site-footer__logo { width: 60.75vw; margin-left: -3.1vw; }
  .site-footer nav { padding-top: 61px; }
  .site-footer nav a { font-size: 14px; line-height: 18.2px; padding: 6px 0; }
  .site-footer__rule { margin-top: 37px; }
  .site-footer__copy { padding-top: 16px; }

  .about-hero { height: 39.1vw; }
  .mission { display: block; padding: 68px var(--pad) 86px; min-height: 0; }
  .mission__lead { width: auto; display: flex; flex-direction: column; align-items: flex-start; padding-left: 11px; }
  .mission__headline { order: 1; max-width: 62.5vw; margin-top: 0; font-size: 4.16vw; }
  .mission__eyebrow { order: 2; margin-top: 10px; font-size: 2.35vw; line-height: 1.4; }
  .mission__lead .btn { order: 3; margin: 34px 0 0 -11px; font-size: 14px; }
  .mission__body { width: 555px; max-width: 100%; margin-top: 72px; font-size: 15px; line-height: 22.5px; }
  .mission__body p { margin-bottom: 22.5px; }
  .fade-band { height: 125px; }
  .leadership { padding: 36px 0 22px; }
  .leadership h2 { font-size: 4.16vw; }
  .leadership__grid { gap: 26px; }
  .leader { width: 48.4vw; min-height: 425px; padding: 150px 16px 24px 50px; border-radius: 6px; }
  .leader__head { top: 14px; left: 14px; }
  .leader__photo { width: 119px; height: 119px; }
  .leader__id { margin-left: 8px; }
  .leader__name { font-size: 2.35vw; }
}

/* =====================================================================
   Mobile: <= 750px
   ===================================================================== */
@media (max-width: 750px) {
  :root { --pad: 20px; }

  .site-header { min-height: 68px; height: 68px; }
  .site-header__logo { left: 2.1vw; margin-top: 0; }
  .site-header__logo .logo-desktop { display: none; }
  .site-header__logo .logo-mobile { display: block; width: 22.6vw; aspect-ratio: 88 / 59; }
  /* Log In / Menu sit mid-header on the original mobile layout */
  .login { right: auto; left: calc(58.7vw - 114px); }
  .menu-toggle { right: auto; left: 58.7vw; }

  .hero { height: 521px; min-height: 0; }
  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 var(--pad) 26px;
  }
  .hero__title { position: static; width: 72.6vw; font-size: 8.46vw; font-weight: 700; }
  .hero__divider { display: none; }
  .hero__aside { position: static; width: 100%; margin-top: 10px; }
  .hero__aside p { width: 81vw; font-size: 4.6vw; margin-bottom: 6px; }
  .hero__aside .btn { margin: 0 auto; display: flex; }
  .btn--lg { font-size: 18px; }

  .intro__top { padding: 40px var(--pad); }
  .intro__title { max-width: none; font-size: 7.95vw; }
  .intro__sub { max-width: 68.5vw; margin-top: 16px; font-size: 5.13vw; }
  .intro__top .btn { margin-top: 21px; }

  .cards { display: block; }
  .card,
  .card:nth-child(2) { padding: 20px 20px 44px; }
  .card svg { width: 14.36vw; height: 14.36vw; }
  .card h3 { margin-top: 31px; font-size: 4.6vw; }
  .card__rule { max-width: none; width: 74.4vw; }
  .card p { max-width: none; width: 69.2vw; margin-top: 17px; }

  .contact { min-height: 0; padding: 42px 0 118px; }
  .contact__bg { object-position: 13% 44%; }
  .contact--about .contact__bg { object-position: 13% 46%; }
  .contact__card { width: auto; margin: 0 20px; padding: 35px 35px 62px; }
  .contact__title { min-height: 0; margin-bottom: 22px; font-size: 7.7vw; }
  .contact--about { display: block; padding: 71px 0 0; }
  .contact--about .contact__card { margin: 0 27px 0 31px; padding: 50px 26px 82px; }
  .contact--about .contact__title { padding-top: 0; margin-bottom: 39px; }

  .site-footer { padding: 20px 20px 42px; }
  .site-footer__logo { width: 60vw; margin: 0 auto; }
  .site-footer nav { padding: 39px 0 0 8.5vw; }
  .site-footer nav a { padding: 6px 0; }
  .site-footer__rule { margin-top: 61px; }
  .site-footer__copy { padding-top: 19px; }

  .about-hero { height: 66vw; }
  .mission { padding: 38px 20px 66px; }
  .mission__lead { padding-left: 13px; }
  .mission__headline { max-width: none; font-size: 30px; }
  .mission__eyebrow { margin: 11px 0 0 -5px; font-size: 18px; }
  .mission__lead .btn { margin: 40px 0 0 -9px; }
  .mission__body { width: auto; margin-top: 57px; font-size: 17.5px; line-height: 26.2px; }
  .mission__body p { margin-bottom: 26px; }
  .mission__body p:first-child { max-width: 230px; }
  .fade-band { height: 80px; }
  .leadership { padding: 20px 20px 20px; }
  .leadership h2 { font-size: 30px; }
  .leadership__grid { display: block; margin-top: 40px; }
  .leader { width: auto; min-height: 621px; padding: 263px 40px 24px 34px; margin-bottom: 21px; }
  .leader:last-child { margin-bottom: 0; }
  .leader__head { display: block; top: 19px; left: 27px; }
  .leader__photo { width: 131px; height: 131px; }
  .leader__id { margin: 11px 0 0 7px; }
  .leader__name { font-size: 18px; }
  .leader__role { margin-top: 4px; }
}

/* =====================================================================
   Properties page
   ===================================================================== */
/* Photo banner with a title over it. The fixed site header covers the top
   6.25vw, so the title is centered in the space below it. */
.page-hero {
  position: relative;
  height: 34.8vw;
  padding: 6.25vw var(--pad) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__title {
  position: relative;
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 5vw;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

.listing { padding: 73px var(--pad) 5.5vw; background: var(--cream); text-align: center; }
.listing__title { font-family: var(--font-serif); font-weight: 400; font-size: 3.125vw; line-height: 1; color: #000; }
.listing__intro { max-width: 46.8vw; margin: 24px auto 0; font-size: 16px; line-height: 24px; }

.homes { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1vw; margin-top: 4vw; }
.home-card {
  display: block;
  width: 25.2vw;
  background: #fff;
  border: 1px solid #ccc;
  text-align: center;
}
.js .home-card.reveal { transition: opacity 1.2s ease, box-shadow 0.2s; }
.home-card:hover,
.home-card:focus-visible { box-shadow: 0 0 15px 3px rgba(13, 68, 91, 0.25); }
.home-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.home-card__title { display: block; padding: 12px 10px 0; font-size: 16px; font-weight: 700; line-height: 25px; color: var(--navy); }
.home-card__place { font-size: 14px; }
.home-card__summary { display: block; padding: 4px 16px 16px; font-size: 14px; line-height: 19.6px; color: var(--ink); }

/* The box itself does not scroll; the inner __scroll wrapper does. Phone
   browsers do not reliably touch-scroll a <dialog> element directly. */
.home-dialog {
  width: 900px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
}
.home-dialog[open] { display: flex; flex-direction: column; }
.home-dialog__scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* Stops the page behind from scrolling while a pop-up is open */
html.dialog-open, html.dialog-open body { overflow: hidden; }
.home-dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
/* Stays in the top-right corner while the pop-up scrolls */
.home-dialog__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  font-size: 28px;
  line-height: 1;
  color: var(--navy);
}
.home-dialog__body { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.home-dialog__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Remaining photos, three across at their natural shapes */
.home-dialog__gallery { columns: 3; column-gap: 12px; margin-top: 32px; }
.home-dialog__gallery img { width: 100%; height: auto; margin-bottom: 12px; break-inside: avoid; }
.home-dialog__title { font-family: var(--font-serif); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--navy); }
.home-dialog__place { margin: 8px 0 24px; font-weight: 700; color: var(--navy); }
.home-dialog__body p + p { margin-top: 24px; }
.home-dialog__body .home-dialog__place + p { margin-top: 0; }

.refer { padding: 6.9vw var(--pad); background: var(--teal); color: #fff; text-align: center; }
.refer h2 { font-family: var(--font-roboto); font-weight: 700; font-size: 2.43vw; line-height: 1.2; }
.refer p { margin-top: 1.4vw; font-family: var(--font-roboto); font-weight: 400; font-size: 1.67vw; line-height: 1.3; }
.refer .btn { margin-top: 1.9vw; }

@media (max-width: 1000px) {
  .page-hero { height: 39.1vw; padding-top: 72px; }
  .page-hero__title { font-size: 7.8vw; }
  .listing { padding: 68px var(--pad) 60px; }
  .listing__title { font-size: 4.16vw; }
  .listing__intro { max-width: 555px; font-size: 15px; line-height: 22.5px; }
  .homes { gap: 16px; margin-top: 40px; }
  .home-card { width: calc(50% - 8px); }
  .home-dialog__body { grid-template-columns: 260px 1fr; gap: 20px; }
  .refer { padding: 70px var(--pad); }
  .refer h2 { font-size: 4.16vw; }
  .refer p { margin-top: 14px; font-size: 2.6vw; }
  .refer .btn { margin-top: 24px; }
}

@media (max-width: 750px) {
  .page-hero { height: 66vw; padding-top: 68px; }
  .page-hero__title { font-size: 8.46vw; font-weight: 700; }
  .listing { padding: 38px 20px 50px; }
  .listing__title { font-size: 30px; }
  .listing__intro { font-size: 17.5px; line-height: 26.2px; }
  .homes { margin-top: 32px; }
  .home-card { width: 100%; }
  .home-dialog { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
  .home-dialog__scroll { padding: 48px 24px 24px; }
  .home-dialog__body { grid-template-columns: 1fr; gap: 20px; }
  .home-dialog__gallery { columns: 2; margin-top: 24px; }
  .home-dialog__title { font-size: 28px; }
  .refer { padding: 56px 20px; }
  .refer h2 { font-size: 7.7vw; }
  .refer p { font-size: 4.6vw; }
}

/* =====================================================================
   Referral page
   ===================================================================== */
.page-hero--dim img { filter: brightness(0.6); }

.referral-form {
  width: 470px;
  max-width: 100%;
  margin: 48px auto 0;
  text-align: left;
  color: var(--navy);
}
.choices { margin: 0 0 20px; padding: 0; border: 0; font-size: 14px; line-height: 19.6px; }
.choices legend { padding: 0; margin-bottom: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; margin-right: 28px; cursor: pointer; }
.choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }

.signature { margin-bottom: 20px; font-size: 14px; line-height: 19.6px; }
.signature__label { display: block; margin-bottom: 8px; }
.signature__pad {
  display: block;
  width: 100%;
  height: 160px;
  background: #fff;
  border-radius: 4px;
  cursor: crosshair;
  touch-action: none;
}
.signature__hint { display: inline-block; margin-top: 6px; color: var(--muted); }
.signature__clear { float: right; margin-top: 6px; color: var(--navy); text-decoration: underline; font-size: 14px; }
.contact__submit:disabled { opacity: 0.6; cursor: default; }

@media (max-width: 750px) {
  .referral-form { margin-top: 32px; }
}
