:root {
  --navy: #07182b;
  --navy-2: #0b223b;
  --navy-3: #06111f;
  --berry: #a50067;
  --berry-dark: #840052;
  --berry-soft: #f7e8f1;
  --gold: #c69a4a;
  --paper: #ffffff;
  --mist: #f7f7f8;
  --ink: #101725;
  --muted: #687083;
  --line: #ded8d4;
  --shadow: 0 22px 55px rgba(7, 24, 43, 0.14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 20;
  padding: 10px 14px;
  color: white;
  background: var(--berry);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 240px 1fr 170px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(22px, 6vw, 96px);
  color: white;
  background: rgba(7, 24, 43, 0.98);
}

.logo {
  display: inline-grid;
  align-items: center;
  line-height: 0.9;
  width: max-content;
}

.brand-logo {
  width: 100%;
  height: auto;
}

.brand-logo-header {
  width: 175px;
}

.brand-logo-footer {
  width: 205px;
}

.logo-main {
  font-family: var(--serif);
  font-size: 41px;
  font-weight: 700;
}

.logo-sub {
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a,
.nav-cta,
.button,
.view-link,
.service-card a {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
}

.nav-cta {
  justify-self: end;
  padding: 14px 22px;
  color: white;
  background: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 42.5% 57.5%;
  min-height: 640px;
  padding-top: 72px;
  color: white;
  background: var(--navy);
}

.hero-panel {
  display: grid;
  align-items: center;
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 43, 1) 0%, rgba(7, 24, 43, 0.96) 64%, rgba(7, 24, 43, 0.76) 100%),
    radial-gradient(circle at 72% 26%, rgba(165, 0, 103, 0.24), transparent 38%);
}

.hero-copy {
  width: min(100% - 44px, 520px);
  margin-left: clamp(22px, 7vw, 96px);
  padding: 34px 0 38px;
}

.hero h1 {
  margin: 0;
  max-width: 470px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.6vw, 74px);
  line-height: 0.98;
  font-weight: 700;
}

.gold-rule {
  display: block;
  width: 52px;
  height: 2px;
  margin: 25px 0 25px;
  background: var(--gold);
}

.hero-copy p:not(.licensed-line) {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
}

.button-primary {
  color: white;
  background: var(--berry);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--berry-dark);
}

.button-outline {
  color: white;
  background: transparent;
  border-color: var(--gold);
}

.button-light {
  color: var(--berry);
  background: white;
  border-color: var(--berry);
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.hero-contact .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.licensed-line {
  margin: 28px 0 0;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.hero-image {
  min-height: 568px;
  overflow: hidden;
  background: #f3eee8;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 48%;
}

.about-section,
.properties-section,
.communities-section,
.contact-section {
  padding: 44px clamp(22px, 7vw, 96px);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(330px, 1fr) minmax(220px, 300px);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.about-photo {
  aspect-ratio: 1 / 0.94;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 48%;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title h2,
.about-copy h2,
.valuation-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.06;
}

.about-copy p:not(.section-kicker):not(.script-signature) {
  max-width: 590px;
  margin: 0;
  color: #3d4658;
  font-size: 14px;
}

.script-signature {
  margin: 18px 0 20px;
  color: var(--berry);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.credential-rail {
  display: grid;
  gap: 0;
}

.credential {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.credential-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--berry);
  border: 1px solid rgba(165, 0, 103, 0.36);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.credential strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.credential p {
  margin: 4px 0 0;
  color: #606879;
  font-size: 12px;
}

.services-section {
  padding: 46px clamp(22px, 7vw, 96px) 58px;
  background: linear-gradient(180deg, var(--berry-dark), var(--berry));
}

.section-title.center {
  text-align: center;
}

.services-section .section-kicker,
.track-record .section-kicker,
.testimonials-section .section-kicker {
  color: white;
}

.services-section .section-title h2 {
  color: white;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 24px auto 0;
}

.service-card {
  background: white;
  box-shadow: 0 18px 35px rgba(7, 24, 43, 0.16);
}

.service-image {
  height: 144px;
  background-position: center;
  background-size: cover;
}

.service-buy {
  background-image:
    linear-gradient(rgba(7, 24, 43, 0.06), rgba(7, 24, 43, 0.18)),
    url("assets/services/buy-kitchen.jpg");
  background-position: center 46%;
}

.service-sell {
  background-image:
    linear-gradient(rgba(7, 24, 43, 0.05), rgba(7, 24, 43, 0.18)),
    url("assets/services/sell-living-room.jpg");
  background-position: center 56%;
}

.service-relocate {
  background-image:
    linear-gradient(rgba(7, 24, 43, 0.05), rgba(7, 24, 43, 0.22)),
    url("assets/services/relocate-move.jpg");
  background-position: center 44%;
}

.service-body {
  position: relative;
  min-height: 165px;
  padding: 34px 28px 24px;
}

.service-icon {
  position: absolute;
  top: -30px;
  left: 26px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--gold);
  background: var(--navy);
  border-radius: 50%;
  font-size: 26px;
}

.service-card h3 {
  margin: 0;
  font-size: 17px;
}

.service-card p {
  margin: 9px 0 14px;
  color: #596272;
  font-size: 13px;
}

.service-card a {
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.track-record {
  padding: 38px clamp(22px, 7vw, 96px) 42px;
  color: white;
  text-align: center;
  background: var(--navy);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 18px auto 0;
}

.track-grid div {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.track-grid div:last-child {
  border-right: 0;
}

.track-grid span {
  display: block;
  color: var(--gold);
  font-size: 32px;
}

.track-grid strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 24px;
}

.track-grid p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.properties-section {
  background: white;
}

.properties-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.properties-inner .section-title h2 {
  font-size: 28px;
}

.view-link {
  align-self: end;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.listing-widget {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.listing-widget-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.listing-widget-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.listing-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.listing-filter-row button {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #ddd7d1;
  border-radius: 4px;
  color: var(--navy);
  background: white;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.listing-filter-row button:hover,
.listing-filter-row button:focus-visible,
.listing-filter-row button.is-active {
  color: white;
  border-color: var(--berry);
  background: var(--berry);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.listing-card {
  display: grid;
  grid-template-rows: 178px 1fr;
  min-height: 388px;
  overflow: hidden;
  border: 1px solid #e4e1df;
  background: white;
  box-shadow: 0 14px 36px rgba(7, 24, 43, 0.08);
}

.listing-media {
  position: relative;
  min-height: 178px;
  background: var(--navy-2);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-badge,
.listing-price {
  position: absolute;
  z-index: 1;
  color: white;
  font-weight: 900;
}

.listing-badge {
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  background: var(--berry);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-price {
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  background: rgba(7, 24, 43, 0.92);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
}

.listing-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.listing-type {
  color: var(--berry);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.12;
}

.listing-card address {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.listing-meta li {
  padding: 6px 8px;
  color: var(--navy);
  background: var(--mist);
  font-size: 12px;
  font-weight: 800;
}

.listing-card a {
  justify-self: start;
  margin-top: 2px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.listing-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid #e4e1df;
  color: var(--muted);
  background: #fbfbfb;
}

.listing-empty p {
  margin: 0;
  font-size: 13px;
}

.valuation-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 44px clamp(22px, 7vw, 96px);
  background: var(--mist);
}

.valuation-copy {
  max-width: 560px;
  justify-self: end;
}

.valuation-copy p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
}

.valuation-card {
  display: grid;
  grid-template-columns: 1fr 0.52fr 0.38fr;
  gap: 12px;
  width: min(100%, 620px);
  padding: 26px;
  background: white;
  border: 1px solid #e4e1df;
  box-shadow: var(--shadow);
}

.valuation-card-heading,
.valuation-street,
.valuation-actions,
.valuation-note {
  grid-column: 1 / -1;
}

.valuation-card-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

.valuation-card-heading p {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.valuation-card label {
  display: grid;
  gap: 7px;
}

.valuation-card label span {
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.valuation-card input {
  width: 100%;
  min-height: 43px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfbfb;
  border: 1px solid #d8d4d1;
  outline: none;
  font-size: 13px;
}

.valuation-card input:focus {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(165, 0, 103, 0.12);
}

.valuation-card input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8b929f;
  opacity: 1;
}

.valuation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.valuation-actions .button {
  min-height: 43px;
}

.valuation-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.valuation-note.is-warning {
  color: var(--berry);
  font-weight: 800;
}

.communities-section {
  background: white;
}

.communities-section .section-title,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
}

.community-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 22px auto 0;
}

.community-card {
  position: relative;
  display: grid;
  align-items: end;
  align-content: end;
  gap: 5px;
  min-height: 150px;
  padding: 18px;
  overflow: hidden;
  color: white;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.community-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(7, 24, 43, 0.05), rgba(7, 24, 43, 0.6));
}

.community-card:hover,
.community-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 24, 43, 0.2);
  outline: 0;
}

.community-card h3 {
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.community-card span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-a {
  background-image: url("assets/communities/alexandria.jpg");
  background-position: center 56%;
}

.community-b {
  background-image: url("assets/communities/springfield.jpg");
  background-position: center 48%;
}

.community-c {
  background-image: url("assets/communities/lorton.jpg");
  background-position: center 54%;
}

.community-d {
  background-image: url("assets/communities/falls-church.jpg");
  background-position: center 55%;
}

.community-e {
  background-image: url("assets/communities/fairfax.jpg");
  background-position: center 44%;
}

.testimonials-section {
  padding: 42px clamp(22px, 7vw, 96px);
  color: white;
  background: var(--navy);
  text-align: center;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 16px auto 0;
  text-align: left;
}

.testimonial-row article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.testimonial-row span {
  display: inline-flex;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
}

.testimonial-row p {
  margin: 12px 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.65;
}

.testimonial-row strong {
  margin-top: auto;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.testimonial-row p.is-collapsible {
  position: relative;
  max-height: 178px;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.testimonial-row p.is-expanded {
  max-height: 720px;
}

.testimonial-row p.is-collapsible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(transparent, #142436);
  transition: opacity 180ms ease;
}

.testimonial-row p.is-expanded::after {
  opacity: 0;
}

.read-more-btn {
  align-self: flex-start;
  margin: -2px 0 14px;
  padding: 0 0 3px;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--gold);
  background: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.read-more-btn:hover,
.read-more-btn:focus-visible {
  color: #e8c97a;
  border-bottom-color: currentColor;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(190px, 0.62fr) minmax(360px, 1.25fr);
  gap: 30px;
  align-items: center;
}

.contact-copy h2 {
  font-size: clamp(34px, 4.2vw, 48px);
}

.contact-copy p {
  margin: 16px 0 20px;
  color: #3f4653;
  font-size: 13px;
}

.contact-list {
  display: grid;
  gap: 10px;
  color: #3f4653;
  font-size: 14px;
  font-weight: 700;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-list .icon {
  width: 16px;
  height: 16px;
  color: var(--berry);
}

.brokerage-disclosure {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #3f4653;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.brokerage-disclosure strong {
  color: var(--navy);
  font-size: 13px;
}

.brokerage-disclosure a {
  color: var(--berry);
  font-weight: 800;
}

.contact-photo {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 43%;
}

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

.contact-form label,
.contact-form .full {
  min-width: 0;
}

.contact-form label {
  display: grid;
  gap: 0;
}

.contact-form label.full,
.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 39px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfcfcf;
  outline: none;
  font-size: 12px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(165, 0, 103, 0.13);
}

.contact-form button {
  width: 100%;
  border: 0;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note {
  margin: 0;
  color: #6d7280;
  font-size: 11px;
}

.form-note.is-success {
  color: #176b4d;
  font-weight: 800;
}

.form-note.is-warning {
  color: var(--berry);
  font-weight: 800;
}

.site-footer {
  color: white;
  background: var(--navy);
}

.footer-main {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(22px, 7vw, 96px);
}

.site-footer .logo-main {
  font-size: 34px;
}

.footer-main nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
}

.footer-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 72px);
  padding: 6px clamp(22px, 7vw, 96px) 22px;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logos img {
  display: block;
  width: auto;
  max-width: 230px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.footer-logos img:nth-child(1) {
  height: 44px;
  max-width: 220px;
}

.footer-logos img:nth-child(2) {
  height: 28px;
  max-width: 220px;
}

.footer-logos img:nth-child(3) {
  height: 34px;
  max-width: 160px;
}

.footer-disclosure {
  padding: 14px clamp(22px, 7vw, 96px) 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclosure address {
  font-style: normal;
}

.footer-disclosure strong {
  color: rgba(255, 255, 255, 0.92);
}

.footer-disclosure a {
  color: var(--gold);
  font-weight: 700;
}

.footer-disclosure p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.credits-page {
  background: var(--mist);
}

.credits-shell {
  width: min(100% - 44px, 860px);
  margin: 0 auto;
  padding: 60px 0;
}

.credits-shell h1 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.95;
}

.credits-shell p {
  color: var(--muted);
}

.credits-shell ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credits-shell li {
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
}

.credits-shell a {
  color: var(--berry);
  font-weight: 900;
}

.credits-back {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-lab-page {
  background: var(--mist);
}

.logo-lab {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
  padding: 44px 0 56px;
}

.logo-lab-hero {
  display: grid;
  gap: 12px;
  max-width: 720px;
  padding: 8px 0 28px;
}

.logo-lab-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1;
}

.logo-lab-hero p:not(.section-kicker) {
  margin: 0;
  color: #4a5262;
  font-size: 15px;
}

.back-link {
  width: max-content;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.logo-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.logo-option {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: white;
  border: 1px solid #e4e1df;
}

.logo-swatch {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 20px;
  background: #f7f7f8;
  border: 1px solid #ebe8e5;
}

.logo-option-dark .logo-swatch {
  background: var(--navy);
}

.logo-swatch img {
  width: min(100%, 420px);
  max-height: 160px;
  object-fit: contain;
}

.logo-badge-card .logo-swatch img {
  width: 180px;
  max-height: 180px;
}

.logo-mark-row {
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 30px;
}

.logo-mark-row img:first-child {
  width: 112px;
}

.logo-mark-row img:last-child {
  width: 260px;
}

.logo-option h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.logo-option p {
  margin: 0;
  color: #596272;
  font-size: 13px;
}

.logo-option code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--berry);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 220px auto;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 11px;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.32);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: white;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .nav-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0 4px;
  }

  .site-header.is-open .nav-cta {
    justify-self: stretch;
    justify-content: center;
    margin-bottom: 14px;
  }

  .hero,
  .about-inner,
  .valuation-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(100% - 44px, 680px);
  }

  .hero-image {
    min-height: 420px;
  }

  .credential-rail,
  .service-row,
  .track-grid,
  .listing-grid,
  .community-row,
  .testimonial-row,
  .logo-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listing-widget-header {
    grid-template-columns: 1fr;
  }

  .listing-filter-row {
    justify-content: flex-start;
  }

  .valuation-copy {
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-logos {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 82px;
    padding: 0 12px;
  }

  .logo-main {
    font-size: 34px;
  }

  .brand-logo-header {
    width: 188px;
  }

  .brand-logo-footer {
    width: 198px;
  }

  .logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-copy {
    width: min(100% - 36px, 520px);
    margin: 0 auto;
    padding: 44px 0 34px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-actions,
  .hero-actions .button,
  .hero-contact {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .licensed-line {
    letter-spacing: 3px;
    line-height: 1.6;
  }

  .hero-image {
    min-height: 380px;
  }

  .about-section,
  .properties-section,
  .communities-section,
  .contact-section,
  .valuation-section {
    padding: 34px 18px;
  }

  .credential-rail,
  .service-row,
  .track-grid,
  .listing-grid,
  .community-row,
  .testimonial-row,
  .logo-option-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .listing-card {
    grid-template-rows: 210px 1fr;
  }

  .track-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    padding: 18px 0;
  }

  .track-grid div:last-child {
    border-bottom: 0;
  }

  .testimonial-row article {
    padding: 20px;
  }

  .valuation-card {
    grid-template-columns: 1fr;
  }

  .valuation-actions .button {
    width: 100%;
  }

  .footer-main nav {
    gap: 18px;
  }

  .footer-logos {
    gap: 18px;
  }

  .footer-logos img,
  .footer-logos img:nth-child(1),
  .footer-logos img:nth-child(2),
  .footer-logos img:nth-child(3) {
    max-width: min(100%, 260px);
    height: auto;
    max-height: 54px;
  }

  .logo-mark-row {
    grid-template-columns: 1fr;
  }

  .logo-mark-row img:first-child,
  .logo-mark-row img:last-child {
    width: min(100%, 230px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
