@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");
:root {
  --ink: #171717;
  --cream: #f7f3ec;
  --white: #fffcf7;
  --teal: #00e7ab;
  --blue: #00bae1;
  --deepblue: #236987;
  --lightblue: #e8f3f7;
  --muted: #62645f;
  --line: #d9d1c5;
  --shadow: 0 18px 45px rgba(31, 26, 20, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.07);
}
.nav-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo img {
  width: 176px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}
.nav-links > a:not(.btn) {
  position: relative;
  padding: 29px 0 26px;
}
.nav-links > a.active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 11px;
  background: var(--deepblue);
  color: var(--white);
  font-weight: 700;
  border: 1px solid var(--deepblue);
  transition: 0.2s ease;
}
.btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}
.btn.light {
  background: transparent;
  color: var(--deepblue);
  border-color: var(--deepblue);
}
.btn.light:hover {
  background: var(--lightblue);
  border-color: var(--deepblue);
}
.eyebrow {
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--deepblue);
  margin-bottom: 14px;
}
h1,
h2,
h3 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1.03;
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 5.8vw, 5.35rem);
}
h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.9rem);
}
h3 {
  font-size: 1.65rem;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 680px;
}
section {
  padding: 50px 0;
}
.hero {
  padding: 52px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  max-width: 760px;
}
.hero h1 em {
  color: var(--deepblue);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.photo-wrap {
  position: relative;
}
.photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 38% 62% 54% 46% / 42% 35% 65% 58%;
  box-shadow: var(--shadow);
}
.photo-wrap:before {
  content: "";
  position: absolute;
  inset: -16px 20px 20px -16px;
  border: 3px solid var(--teal);
  border-radius: 35% 65% 55% 45%/45% 40% 60% 55%;
  z-index: -1;
}
.photo-wrap:after {
  content: "";
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  right: -14px;
  bottom: 24px;
  z-index: -1;
}
.photo-wrap--community img {
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.05);
}

.statbar {
  height: 100px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
  align-items: center;
  height: 100%;
}

.stat strong {
  display: block;
  font-family: "DM Serif Display";
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.yardi-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.yardi-badge img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  padding-top: 8px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-head p {
  font-size: 1.06rem;
  color: var(--muted);
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 27px;
  box-shadow: 0 8px 26px rgba(31, 26, 20, 0.04);
}
.card .num {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--deepblue);
  font-weight: 700;
}
.card p {
  color: var(--muted);
}
.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}
.alt {
  background: var(--white);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}
.checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}
.check {
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--cream);
  font-weight: 700;
  text-align: center;
  display: grid;
  place-items: center;
}
.quote {
  background: linear-gradient(135deg, #236987, #2e7898);
  color: var(--white);
  padding: 48px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
.quote:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  right: -70px;
  bottom: -70px;
}
.quote p {
  font-family: "DM Serif Display";
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.quote small {
  color: #ddd;
}
.cta {
  background: linear-gradient(
    115deg,
    rgba(0, 231, 171, 0.11),
    rgba(0, 186, 225, 0.12),
    rgba(35, 105, 135, 0.07)
  );
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 54px;
  text-align: center;
}

.cta p {
  max-width: 660px;
  margin: 16px auto 24px;
  color: var(--muted);
}
footer {
  padding: 38px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 28px;
}
.footer-logo {
  width: 172px;
  margin-bottom: 14px;
}
.page-hero {
  padding: 58px 0 48px;
}
.page-hero h1 {
  max-width: 940px;
}
.accordion {
  display: grid;
  gap: 13px;
}
.acc {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
  scroll-margin-top: 110px;
}
.acc-btn {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 24px 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}
.acc-btn .label {
  font-family: "DM Serif Display";
  font-size: 1.9rem;
  flex: 1;
}
.acc-btn .index {
  font-size: 0.78rem;
  color: var(--deepblue);
  font-weight: 700;
}
.acc-btn .plus {
  font-size: 1.6rem;
}
.acc-content {
  display: none;
  padding: 0 26px 26px 70px;
}
.acc.open .acc-content {
  display: block;
}
.acc.open {
  border-color: #afcedb;
}
.acc-content ul {
  columns: 2;
  padding-left: 18px;
  color: var(--muted);
}
.case {
  margin-top: 20px;
  padding: 20px;
  border-radius: 16px;
  background: var(--cream);
  border-left: 4px solid var(--teal);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cap h3 {
  font-size: 1.5rem;
}
.cap .sub {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.91rem;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.person {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  align-self: start;
}
.portrait,
.portrait-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.portrait {
  display: grid;
  place-items: center;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #f3efe8, #dbeef4);
}
.portrait--tommy {
  background: linear-gradient(135deg, #f5efe6, #e3f3f2);
}
.portrait--joel {
  background: linear-gradient(135deg, #edf8f7, #e5eef5);
}
.portrait-photo--victor {
  object-position: center top;
}
.portrait-photo--lisa {
  object-position: center top;
}
.portrait-photo--christie {
  object-position: center top;
}
.person-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.person-body p {
  color: var(--muted);
}
.more {
  margin-top: auto;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #25677f;
}
.bio-extra {
  display: none;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.person.expanded .bio-extra:not([hidden]) {
  display: block;
}

.bio-extra[hidden] {
  display: none !important;
}
.founder-block {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: center;
}
.founder-copy {
  font-size: 1.08rem;
}
.founder-copy p {
  color: var(--muted);
}
.form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: grid;
  gap: 8px;
}
.field.full {
  grid-column: 1/-1;
}
label {
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  border: 1px solid #cfc8be;
  background: var(--white);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
}
textarea {
  min-height: 145px;
  resize: vertical;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.choice {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  cursor: pointer;
  font-weight: 700;
  background: var(--cream);
  transition: 0.15s ease;
}
.choice:hover {
  border-color: var(--blue);
}
.choice.selected {
  background: #e6f7f4;
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  padding: 24px;
  border-top: 2px solid var(--ink);
}
.step span {
  font-size: 0.78rem;
  color: var(--deepblue);
  font-weight: 700;
}
@media (max-width: 700px) {
  .logo img {
    width: 150px;
  }
}
@media (max-width: 620px) {
  section {
    padding: 62px 0;
  }
  .container {
    width: min(100% - 26px, 1160px);
  }
  .nav-inner {
    height: 74px;
  }
  .cta {
    padding: 38px 20px;
  }
  .form-wrap {
    padding: 23px 17px;
  }
  .acc-content {
    padding-left: 26px;
  }
  .acc-content ul {
    columns: 1;
  }
}

.founder-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.founder-value {
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--cream);
  font-weight: 700;
  text-align: center;
  display: grid;
  place-items: center;
}

/* Services — flowing landscape statistics */

.experience-landscape {
  position: relative;
  isolation: isolate;
  height: 220px;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  margin-top: 28px;
}

.experience-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.experience-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  height: 100%;
  padding: 25px 20px 10px;
}

.experience-metric {
  min-width: 0;
  text-align: center;
  padding: 0 14px;
}

.experience-metric + .experience-metric {
  border-left: 1px solid rgba(35, 105, 135, 0.45);
}

.experience-metric strong {
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #236987;
}

.experience-metric span {
  display: block;
  margin-top: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #36596B;
}

@media (max-width: 620px) {
  .experience-landscape {
    height: auto;
    min-height: 360px;
  }

  .experience-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 12px;
  }

  .experience-metric {
    padding: 8px 0;
  }

  .experience-metric + .experience-metric {
    border-left: 0;
    border-top: 1px solid rgba(35, 105, 135, 0.3);
    padding-top: 16px;
  }

  .experience-metric strong {
    font-size: 3.3rem;
  }

  .experience-metric span {
    margin-top: 4px;
    font-size: 0.75rem;
  }
}


/* Keep collapsed team cards aligned. */
.person:not(.expanded) {
  min-height: 490px;
}


@media (max-width: 620px) {
  .founder-values {
    grid-template-columns: 1fr;
  }
}

/* Services */
.services-hero {
  padding: 66px 0 70px;
}
.services-hero-copy {
  max-width: 920px;
}
.services-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(3.7rem, 5.7vw, 5.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.services-hero-copy .lead {
  max-width: 760px;
  margin-top: 26px;
}
.proof-shapes {
  padding: 82px 0 96px;
}
.proof-shapes-head {
  max-width: 720px;
  margin-bottom: 34px;
}
.proof-shapes-head h2 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  margin-bottom: 14px;
}
.proof-shapes-head p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}
.proof-clients-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.proof-clients-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--deepblue);
  white-space: nowrap;
}
.proof-clients-line p {
  margin: 0;
  color: #53636b;
  line-height: 1.9;
}
.proof-clients-line i {
  font-style: normal;
  color: var(--blue);
  padding: 0 4px;
}

/* Home supporting panel */
.small-team-note {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 36px;
  border: 1px solid #c7dde6;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--lightblue), var(--cream));
  box-shadow: 0 12px 30px rgba(35, 105, 135, 0.07);
}
.small-team-note h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.small-team-note p {
  color: var(--muted);
  max-width: 480px;
}

/* About founder story */
.founder-background {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
}


@media (max-width: 900px) {
  .services-hero-copy h1 {
    font-size: clamp(3.3rem, 8vw, 5rem);
  }
}
@media (max-width: 760px) {
  .proof-clients-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 650px) {
  .services-hero {
    padding: 50px 0 56px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html {
  scroll-padding-top: 95px;
}

body {
  overflow-x: hidden;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--blue);
}
.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .container {
    width: min(1160px, calc(100% - 28px));
  }
  .hero-grid,
  .split,
  .founder-block,
  .cards3,
  .team-grid,
  .steps,
  .cap-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    gap: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote {
    padding: 38px 32px;
  }
  .section-head p {
    font-size: 1rem;
  }
}
@media (max-width: 820px) {
  .nav-inner {
    position: relative;
    min-height: 82px;
    padding: 14px 0;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links > a:not(.btn) {
    padding: 10px 14px;
    border-radius: 10px;
  }
  .nav-links > a.active:not(.btn) {
    background: var(--lightblue);
  }
  .nav-links > a.active:not(.btn)::after {
    display: none;
  }
  .nav-links .btn {
    width: 100%;
    margin-top: 4px;
  }
  .hero-grid,
  .split,
  .founder-block,
  .cards3,
  .team-grid,
  .steps,
  .cap-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  /* Home statistics need two columns and a content-driven height. */
  .statbar {
    height: auto;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    gap: 28px 20px;
    padding: 28px 0;
  }
  .yardi-badge img {
    width: 200px;
    max-height: 100px;
    padding-top: 0;
  }
  /* The founder portrait is narrower than its single-column container. */
  .founder-block .photo-wrap {
    margin-inline: auto;
  }
  .quote {
    padding: 28px 22px;
  }
  .cta {
    padding: 36px 20px;
  }
  .form-wrap {
    padding: 26px 18px;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .container {
    width: min(100% - 22px, 1160px);
  }
  .nav-inner {
    min-height: 72px;
  }
  .logo img {
    width: 148px;
  }
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
  .hero h1,
  .page-hero h1,
  .services-hero-copy h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
  h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .lead {
    font-size: 1rem;
  }
  .hero {
    padding: 34px 0 28px;
  }
  section {
    padding: 36px 0;
  }
  /* Reduce the gap before the closing conversation CTA. */
  main > section:has(> .container > .cta) {
    padding-top: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stat strong {
    font-size: 1.65rem;
  }
  .yardi-badge {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
  .cards3,
  .team-grid,
  .steps,
  .cap-grid,
  .footer-grid,
  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .acc-btn {
    padding: 18px 18px;
    align-items: flex-start;
  }
  .acc-btn .label {
    font-size: 1.35rem;
  }
  .acc-content {
    padding: 0 18px 18px 18px;
  }
  .btn {
    min-height: 48px;
  }
  .form-wrap {
    padding: 22px 16px;
  }
  .field input,
  .field textarea {
    font-size: 16px;
  }
  .proof-clients-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .proof-clients-label {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* HOME HERO — seamless architectural photograph */

.hero.hero--community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 76px 0 88px;
  background: var(--cream);
}

/* The photograph sits behind the hero content */
.hero--community .hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 22%;

  background-image: url("assets/housing-community.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 56%;

  /* Fade the photo into the cream page */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 12%,
    rgba(0, 0, 0, 0.85) 48%,
    black 72%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 12%,
    rgba(0, 0, 0, 0.85) 48%,
    black 72%
  );
}

/* Soften the bottom and right edges */
.hero--community::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;

  /* Fade only the bottom into the cream background */
  background: linear-gradient(to bottom, transparent 78%, var(--cream) 100%);
}

/* Text floats above the photograph */
.hero--community .hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
}

.hero--community h1 {
  max-width: 790px;
  font-size: clamp(3.4rem, 5.8vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero--community h1 em {
  color: var(--deepblue);
}

.hero--community .lead {
  max-width: 560px;
  margin-top: 28px;
  color: var(--ink);
}

.hero--community .hero-actions {
  margin-top: 28px;
}


/* About — founder portrait */

.founder-block .photo-wrap {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
}

.founder-block .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

.founder-block .photo-wrap::before,
.founder-block .photo-wrap::after {
  display: none;
}

/* Tablet */
@media (max-width: 900px) {
  .hero.hero--community {
    min-height: 570px;
    padding: 62px 0;
  }

  .hero--community .hero-photo {
    inset: 0 0 0 12%;
    background-position: 57% center;
    opacity: 0.72;
  }

  .hero--community h1 {
    max-width: 680px;
    font-size: clamp(3rem, 7vw, 4.7rem);
  }
}

/* Mobile: prioritize legibility */
@media (max-width: 620px) {
  .hero.hero--community {
    min-height: 0;
    display: block;
    padding: 44px 0 36px;
  }

  /* Remove the decorative photograph on small screens. */
  .hero--community .hero-photo,
  .hero--community::after {
    display: none;
  }

  .hero--community .hero-content {
    width: min(100% - 26px, 1160px);
  }

  .hero--community h1 {
    font-size: clamp(2.65rem, 10vw, 3.8rem);
    max-width: 100%;
  }

  .hero--community .lead {
    max-width: 100%;
    font-size: 1rem;
    margin-top: 22px;
  }

  .hero--community .hero-actions {
    gap: 10px;
  }
  .stats {
    gap: 20px;
    padding: 16px 0;
  }

  .yardi-badge img {
    width: auto;
    height: 60px;
  }
}

/* Accessibility and future content */
:where(a, button, input, textarea, .choice):focus-visible {
  outline: 3px solid var(--deepblue);
  outline-offset: 3px;
}

#team {
  scroll-margin-top: 95px;
}

/* Contact service buttons retain the original choice-card appearance. */
.choice[type="button"] {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  line-height: inherit;
}

.field-label {
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================
   THANK-YOU PAGE
   ========================================== */

.thank-you-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 56px 0 72px;
}

.thank-you-panel {
  max-width: 620px;
  width: min(100%, 620px);
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 2.5vw, 2rem);
}

.thank-you-panel .eyebrow {
  margin-bottom: 10px;
}

.thank-you-panel h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.thank-you-panel .lead {
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 1.02rem;
}

@media (max-width: 768px) {
  .thank-you-page {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .thank-you-panel {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 375px) {
  .thank-you-page {
    padding: 36px 0 48px;
  }

  .thank-you-panel h1 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .thank-you-panel .lead {
    font-size: 0.98rem;
  }
}
