/* ===============================
   THE GANGI GROUP REDESIGN
   Header + Menu + Hero
================================= */

:root {
  --color-black: #111111;
  --color-charcoal: #1b1b1b;
  --color-espresso: #211b17;
  --color-ivory: #f7f3ec;
  --color-white: #ffffff;
  --color-gold: #b89b63;
  --color-taupe: #d8d0c3;
  --color-muted: #8a867e;

  --font-heading: "Marcellus", serif;
  --font-body: "Inter", sans-serif;

  --frame-size: 18px;
  --header-height: 96px;
--transition: 0.35s ease;
--header-transition: 0.18s ease;
}


/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-charcoal);
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input {
  font-family: inherit;
}

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


/* ===============================
   Header
================================= */

.site-header {
  position: fixed;
  top: var(--frame-size);
  left: var(--frame-size);
  width: calc(100% - (var(--frame-size) * 2));
  height: var(--header-height);
  z-index: 1000;
  color: var(--color-white);
  background: transparent;
  transform: translateY(0);
  transition:
    background var(--header-transition),
    color var(--header-transition),
    box-shadow var(--header-transition),
    transform var(--transition),
    top var(--header-transition),
    left var(--header-transition),
    width var(--header-transition);
}

/* Slight scroll: white full-width header */
.site-header.is-scrolled,
.site-header.menu-open {
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-charcoal);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .header-inner,
.site-header.menu-open .header-inner {
  padding-top: 18px;
  align-items: flex-start;
}

.site-header.is-scrolled .site-logo,
.site-header.menu-open .site-logo {
  width: 96px;
}

.site-header.is-scrolled .header-right,
.site-header.menu-open .header-right {
  padding-top: 8px;
}

/* More scroll down: hide header upward */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Never hide while menu is open */
.site-header.menu-open {
  transform: translateY(0);
}

.header-inner {
  width: 100%;
  height: 100%;
  padding: 26px 42px 0 42px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 40px;
}


/* Logo */

.site-logo {
  display: inline-flex;
  align-items: flex-start;
  width: 126px;
  z-index: 2;
  line-height: 0;
}

.site-logo img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter var(--transition), opacity var(--transition);
}

.site-header.is-scrolled .site-logo img,
.site-header.menu-open .site-logo img {
  filter: invert(1);
}


/* Header Right */

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  min-width: 0;
  padding-top: 12px;
}


/* Search */

.header-search {
  width: 430px;
  height: 34px;
  display: flex;
  border: 1px solid currentColor;
  opacity: 0.86;
  flex-shrink: 0;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  outline: none;
}

.header-search input::placeholder {
  color: currentColor;
  opacity: 0.75;
}

.header-search button {
  border: 0;
  border-left: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0 14px;
  cursor: pointer;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background var(--transition), color var(--transition);
}

.header-search button:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}


/* Desktop Nav */

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.header-nav a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.header-nav a:hover::after {
  width: 100%;
}


/* Menu Button */

.menu-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.menu-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
}

.hamburger-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
}

.hamburger-lines i {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
}


/* ===============================
   Side Menu
================================= */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(17, 17, 17, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.menu-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(470px, 92vw);
  height: 100vh;
  z-index: 1200;
  background: var(--color-white);
  color: var(--color-charcoal);
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
}

.side-menu.is-active {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  top: 16px;
  left: 3px;
  width: 28px;
  height: 1px;
  background: var(--color-charcoal);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.side-menu-content {
  height: 100%;
  padding: 115px 56px 44px;
  display: flex;
  flex-direction: column;
}

.side-menu-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.side-menu-nav {
  border-top: 1px solid #ededed;
}

.side-menu-nav a {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #ededed;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: color var(--transition), padding-left var(--transition);
}

.side-menu-nav a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}

.side-menu-footer {
  margin-top: auto;
  padding-top: 40px;
}

.side-menu-footer p {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
}

.side-menu-footer span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-muted);
}


/* ===============================
   Hero Frame
================================= */

.hero-frame {
  min-height: auto;
  padding: var(--frame-size) var(--frame-size) 0;
  background: var(--color-white);
}

.hero {
  min-height: calc(100vh - var(--frame-size));
}

/* ===============================
   Reusable Section Frame
================================= */

.section-frame {
  padding: var(--frame-size);
  background: var(--color-white);
}


/* ===============================
   Hero
================================= */

.hero {
  position: relative;
  min-height: calc(100vh - (var(--frame-size) * 2));
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.34),
      rgba(0, 0, 0, 0.18) 36%,
      rgba(0, 0, 0, 0.66) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1400px, calc(100% - 48px));
  min-height: calc(100vh - (var(--frame-size) * 2));
  margin: 0 auto;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-copy {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-copy.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.55em;
  margin-bottom: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  max-width: 1300px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}

.btn {
  min-width: 210px;
  height: 48px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.btn-secondary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.72);
}


/* ===============================
   Responsive
================================= */

@media (max-width: 1500px) {
  .header-inner {
    padding: 24px 34px 0 34px;
  }

  .site-logo {
    width: 118px;
  }

  .header-right {
    gap: 26px;
    padding-top: 10px;
  }

  .header-search {
    width: 360px;
  }

  .header-nav {
    gap: 22px;
  }

  .header-nav a,
  .menu-label {
    letter-spacing: 0.22em;
  }
}

@media (max-width: 1280px) {
  .header-nav {
    display: none;
  }

  .header-search {
    width: 420px;
  }

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 0.1em;
}

@media (max-width: 860px) {
  :root {
    --frame-size: 10px;
    --header-height: 78px;
  }

  .header-inner {
    padding: 18px 20px 0 20px;
    gap: 20px;
  }

  .site-logo {
    width: 108px;
  }

  .header-right {
    padding-top: 8px;
  }

  .header-search {
    display: none;
  }

  .menu-label {
    display: none;
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    justify-content: flex-end;
    padding-bottom: 120px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.36em;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 58px);
    line-height: 1.12;
    letter-spacing: 0.06em;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.06em;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-bottom {
    width: min(100% - 32px, 1120px);
    flex-direction: column;
    gap: 8px;
    bottom: 28px;
    text-align: center;
    align-items: center;
  }

  .side-menu-content {
    padding: 100px 34px 36px;
  }
}}

/* ===============================
   Luxury Network Strip
================================= */

.luxury-network-frame {
  padding: 0 var(--frame-size) var(--frame-size);
  background: var(--color-white);
}

.luxury-network-strip {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #111;
  color: var(--color-white);
}

.luxury-network-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.luxury-network-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9);
}

.luxury-network-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.8)
    );
}

.luxury-network-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  min-height: 310px;
  margin: 0 auto;
  padding: 62px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  text-align: center;
}

.luxury-network-mark {
  font-family: Georgia, serif;
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--color-white);
  line-height: 1;
  flex-shrink: 0;
}

.luxury-network-inner p {
  max-width: 900px;
  font-size: clamp(15px, 1.35vw, 22px);
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.78);
}

.luxury-network-inner p span {
  color: var(--color-white);
}


/* Responsive */

@media (max-width: 900px) {
  .luxury-network-strip {
    min-height: 290px;
  }

  .luxury-network-inner {
    min-height: 290px;
    flex-direction: column;
    gap: 22px;
    padding: 60px 0;
  }

  .luxury-network-inner p {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 640px) {
  .luxury-network-strip {
    min-height: 260px;
  }

  .luxury-network-inner {
    width: min(100% - 36px, 1180px);
    min-height: 260px;
    padding: 52px 0;
  }

  .luxury-network-inner p {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
}


/* ===============================
   Andrew Intro Section
================================= */

.andrew-intro {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 120px 24px;
}

.andrew-intro-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 0.8fr;
  gap: 120px;
  align-items: center;
}

.andrew-intro-content {
  max-width: 620px;
}

.andrew-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.andrew-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--color-charcoal);
  margin-bottom: 38px;
}

.andrew-bio {
  max-width: 560px;
}

.andrew-bio p {
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.06em;
  color: #333333;
}

.andrew-bio p + p {
  margin-top: 26px;
}

.andrew-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 46px;
  margin-bottom: 34px;
}

.andrew-contact span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
}

.andrew-contact a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.dark-btn {
  min-width: 190px;
  height: 50px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-charcoal);
  color: var(--color-white);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: background var(--transition), color var(--transition);
}

.dark-btn:hover {
  background: var(--color-gold);
}

.andrew-intro-image {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--color-ivory);
}

.andrew-intro-image img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.96);
}


/* Responsive */

@media (max-width: 1050px) {
  .andrew-intro {
    padding: 95px 20px;
  }

  .andrew-intro-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .andrew-intro-content {
    max-width: 100%;
  }

  .andrew-intro-image {
    min-height: 560px;
  }

  .andrew-intro-image img {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .andrew-intro {
    padding: 80px 20px;
  }

  .andrew-intro h2 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .andrew-title {
    font-size: 12px;
    line-height: 1.7;
  }

  .dark-btn {
    width: 100%;
  }
}

/* ===============================
   Property Showcase Section
================================= */

.property-showcase {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 120px 24px;
  overflow: hidden;
}

.property-showcase-header {
  width: min(1320px, 100%);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.58);
}

.property-showcase-title {
  max-width: 860px;
}

.property-showcase-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 82px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-showcase-title p {
  max-width: 620px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.property-card-grid {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 340px);
  gap: 22px;
}

.property-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #000;
  color: var(--color-white);
}

.property-card-large {
  grid-row: span 2;
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease, filter 1.2s ease;
}

.property-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.72)
    );
  z-index: 1;
}

.property-card-content {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 38px;
  z-index: 2;
}

.property-card-content span {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.68);
}

.property-card-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card-content p {
  max-width: 420px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.property-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.9);
}


/* Responsive */

@media (max-width: 980px) {
  .property-showcase {
    padding: 90px 20px;
  }

  .property-showcase-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .property-card-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .property-card,
  .property-card-large {
    min-height: 430px;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .property-showcase-title h2 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .property-card {
    min-height: 360px;
  }

  .property-card-content {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }
}

/* ===============================
   Testimonials Section
================================= */

/* Remove the bottom white frame after Property Showcase */
.property-showcase-frame {
  padding-bottom: 0;
}

/* Custom frame: no top gap, but keeps left/right/bottom frame */
.testimonials-frame {
  padding: 0 var(--frame-size) var(--frame-size);
  background: var(--color-white);
}

.testimonials-section {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.64),
      rgba(0, 0, 0, 0.64)
    ),
    url("../assets/images/testimonials-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.34),
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.34)
    );
  pointer-events: none;
}

.testimonials-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  min-height: 540px;
  margin: 0 auto;
  padding: 82px 0;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 34px 36px;
}

.testimonial-content {
  grid-column: 2;
  grid-row: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial-content.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.testimonial-content .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-quote-mark {
  height: 58px;
  margin-top: 28px;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.testimonial-text {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.82);
}

.testimonial-author {
  margin-top: 34px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.78);
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.testimonial-arrow:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.testimonial-prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.testimonial-next {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.testimonial-cta {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  margin-top: 0;
}


/* Responsive */

@media (max-width: 900px) {
  .testimonials-section {
    min-height: 600px;
    background-attachment: scroll;
  }

  .testimonials-inner {
    min-height: 600px;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    justify-content: center;
    align-content: center;
    gap: 24px 18px;
    padding: 72px 0;
  }

  .testimonial-content {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .testimonial-prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .testimonial-next {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .testimonial-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .testimonials-inner {
    width: min(100% - 36px, 1320px);
    padding: 64px 0;
  }

  .testimonial-quote-mark {
    height: 46px;
    font-size: 78px;
  }

  .testimonial-text {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .testimonial-author {
    font-size: 9px;
    line-height: 1.7;
    letter-spacing: 0.18em;
  }

  .testimonial-arrow {
    width: 44px;
    height: 44px;
  }

  .testimonial-cta {
    width: 100%;
  }
}

/* Google Reviews logo inside existing testimonial section */

.testimonial-google-cta {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.testimonial-google-logo {
  width: 154px;
  height: auto;
  display: block;
}

.testimonial-google-cta .testimonial-cta {
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
  margin-top: 0;
}

@media (max-width: 900px) {
  .testimonial-google-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    margin-top: 4px;
  }

  .testimonial-google-logo {
    width: 142px;
  }
}

@media (max-width: 640px) {
  .testimonial-google-cta {
    width: 100%;
  }

  .testimonial-google-logo {
    width: 132px;
  }

  .testimonial-google-cta .testimonial-cta {
    width: auto;
    min-width: 230px;
  }
}

@media (max-width: 430px) {
  .testimonial-google-cta .testimonial-cta {
    width: auto;
    min-width: 210px;
    max-width: 270px;
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* ===============================
   Final Testimonial Height Lock
   Stops section jumping between reviews
================================= */

.testimonials-section {
  height: 700px;
  min-height: 700px;
}

.testimonials-inner {
  height: 700px;
  min-height: 700px;
  padding-top: 70px;
  padding-bottom: 70px;
  align-content: center;
}

.testimonial-content {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-text {
  max-width: 820px;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Tablet */

@media (max-width: 900px) {
  .testimonials-section {
    height: 780px;
    min-height: 780px;
  }

  .testimonials-inner {
    height: 780px;
    min-height: 780px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .testimonial-content {
    min-height: 440px;
  }

  .testimonial-text {
    min-height: 280px;
  }
}


/* Mobile */

@media (max-width: 640px) {
  .testimonials-section {
    height: 880px;
    min-height: 880px;
  }

  .testimonials-inner {
    height: 880px;
    min-height: 880px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .testimonial-content {
    min-height: 540px;
  }

  .testimonial-text {
    min-height: 390px;
  }
}


/* Small mobile */

@media (max-width: 430px) {
  .testimonials-section {
    height: 960px;
    min-height: 960px;
  }

  .testimonials-inner {
    height: 960px;
    min-height: 960px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .testimonial-content {
    min-height: 620px;
  }

  .testimonial-text {
    min-height: 460px;
  }
}




/* ===============================
   Sold Gallery Section
================================= */

.sold-gallery-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 110px 24px 95px;
  overflow: hidden;
}

.sold-gallery-header {
  width: min(1180px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.sold-gallery-section .section-kicker {
  color: var(--color-muted);
}

.sold-gallery-header h2 {
  max-width: 960px;
  margin: 24px auto 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.sold-gallery-header p {
  max-width: 660px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.sold-slider {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.sold-slider-main {
  position: relative;
  height: min(72vh, 720px);
  min-height: 620px;
  max-height: 720px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.sold-slider-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  transition: opacity 0.45s ease, transform 1s ease;
}

.sold-slider-main.is-changing img {
  opacity: 0;
  transform: scale(1.015);
}

.sold-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.42)
    );
  pointer-events: none;
}

.sold-slider-caption {
  position: absolute;
  left: 42px;
  bottom: 42px;
  z-index: 2;
  color: var(--color-white);
}

.sold-slider-caption span {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.72);
}

.sold-slider-caption h3 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.4vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sold-slider-controls {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.sold-slider-controls button {
  border: 0;
  background: transparent;
  color: var(--color-charcoal);
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  opacity: 0.72;
  transition: opacity var(--transition), color var(--transition);
}

.sold-slider-controls button:hover {
  opacity: 1;
  color: var(--color-gold);
}

#soldPrevBtn {
  justify-self: start;
}

#soldNextBtn {
  justify-self: end;
}

.sold-slider-count {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-muted);
}

.sold-gallery-actions {
  width: min(1320px, 100%);
  margin: 46px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

/* Make the light button dark only inside the white sold gallery section */
.sold-gallery-section .light-btn {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.sold-gallery-section .light-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.sold-gallery-section .outline-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-charcoal);
  position: relative;
}

.sold-gallery-section .outline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform var(--transition);
}

.sold-gallery-section .outline-link:hover::after {
  transform: scaleX(1);
}


/* Responsive */

@media (max-width: 900px) {
  .sold-gallery-section {
    padding: 90px 20px 80px;
  }

  .sold-slider-main {
    height: 58vh;
    min-height: 500px;
    max-height: 580px;
  }

  .sold-gallery-actions {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .sold-gallery-header h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .sold-slider-main {
    height: 54vh;
    min-height: 390px;
    max-height: 460px;
  }

  .sold-slider-caption {
    left: 24px;
    bottom: 28px;
  }

  .sold-slider-controls {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  #soldPrevBtn,
  #soldNextBtn {
    justify-self: center;
  }

  .sold-gallery-section .light-btn {
    width: 100%;
  }
}


/* ===============================
   Sales Statistics Section
================================= */

.sales-stats-frame {
  padding-top: 0;
}

.sales-stats-section {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.68),
      rgba(0, 0, 0, 0.68)
    ),
    url("../assets/images/sales-stats-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}

.sales-stats-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.56),
      rgba(0, 0, 0, 0.30),
      rgba(0, 0, 0, 0.56)
    );
  pointer-events: none;
}

.sales-stats-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: 540px;
  margin: 0 auto;
  padding: 90px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sales-stats-heading {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}

.sales-stats-heading .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.sales-stats-heading h2 {
  margin-top: 22px;
  max-width: 900px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.1vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-stats-heading p {
  max-width: 680px;
  margin: 26px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.74);
}


/* Stats Panel */

.sales-stats-panel,
.sales-stats-panel-three {
  width: min(920px, 100%);
  min-height: 150px;
  padding: 36px 44px;
  background: rgba(15, 15, 15, 0.58);
  backdrop-filter: blur(2px);
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
}

.sales-stat-item {
  text-align: center;
  padding: 0 28px;
}

.sales-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--color-white);
  white-space: nowrap;
}

.sales-stat-item p {
  margin-top: 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.sales-stat-divider {
  width: 1px;
  height: 86px;
  background: rgba(255, 255, 255, 0.22);
}


/* Responsive */

@media (max-width: 1050px) {
  .sales-stats-section {
    background-attachment: scroll;
  }
}

@media (max-width: 900px) {
  .sales-stats-section {
    min-height: auto;
  }

  .sales-stats-inner {
    width: min(100% - 40px, 1180px);
    min-height: auto;
    padding: 82px 0;
  }

  .sales-stats-panel,
  .sales-stats-panel-three {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 30px;
  }

  .sales-stat-divider {
    display: none;
  }

  .sales-stat-item {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .sales-stats-inner {
    width: min(100% - 36px, 1180px);
    padding: 76px 0;
  }

  .sales-stats-heading {
    margin-bottom: 38px;
  }

  .sales-stats-heading h2 {
    font-size: clamp(34px, 10vw, 52px);
    letter-spacing: 0.06em;
  }

  .sales-stats-heading p {
    font-size: 12.5px;
    letter-spacing: 0.04em;
  }

  .sales-stats-panel,
  .sales-stats-panel-three {
    padding: 38px 24px;
    gap: 30px;
  }

  .sales-stat-number {
    font-size: clamp(36px, 12vw, 54px);
  }

  .sales-stat-item p {
    margin-top: 14px;
    font-size: 9.5px;
  }
}

@media (max-width: 430px) {
  .sales-stats-inner {
    width: min(100% - 30px, 1180px);
    padding: 68px 0;
  }

  .sales-stats-heading h2 {
    font-size: clamp(32px, 10.5vw, 46px);
  }

  .sales-stats-panel,
  .sales-stats-panel-three {
    padding: 34px 20px;
  }

  .sales-stat-number {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: 0.06em;
  }
}




/* ===============================
   Recognition Section
================================= */

.recognition-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 110px 24px 120px;
}

.recognition-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.recognition-header {
  max-width: 860px;
  margin: 0 auto 74px;
  text-align: center;
}

.recognition-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.recognition-header p:last-child {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}


/* Awards */

.recognition-awards {
  text-align: center;
}

.recognition-row-title {
  margin-bottom: 44px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.award-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 38px;
}

.award-badges img {
  max-width: 116px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition), opacity var(--transition);
}

.award-badges img:hover {
  transform: translateY(-4px);
}


/* Brand strip */

.recognition-brand-strip {
  width: min(1080px, 100%);
  margin: 82px auto 0;
}

.brand-strip-line {
  width: 100%;
  height: 1px;
  background: #e8e2d8;
}

.brand-logos {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.1fr;
  align-items: center;
  gap: 58px;
}

.brand-logo-item {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logos img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.94;
  transition: transform var(--transition), opacity var(--transition);
}

.brand-logos img:hover {
  opacity: 1;
}


/* Individual logo sizing/alignment */

.kw-valley-logo {
  height: 58px;

  /*
    Makes the KW Valley logo feel closer to the black/gray style
    of the AG and KW Luxury logos.
  */
  filter: grayscale(1) saturate(0) contrast(1.12) brightness(0.72);
  transform: translateY(2px);
}

.ag-recognition-logo {
  height: 92px;
  transform: translateY(1px);
}

.kw-luxury-logo {
  height: 66px;
  transform: translateY(4px);
}

.kw-valley-logo:hover {
  transform: translateY(-1px);
}

.ag-recognition-logo:hover {
  transform: translateY(-2px);
}

.kw-luxury-logo:hover {
  transform: translateY(1px);
}


/* Responsive */

@media (max-width: 900px) {
  .recognition-section {
    padding: 90px 20px 95px;
  }

  .recognition-row-title {
    font-size: 13px;
  }

  .award-badges {
    gap: 26px;
  }

  .award-badges img {
    max-width: 96px;
  }

  .brand-logos {
    width: min(720px, 100%);
    grid-template-columns: 1.1fr 0.7fr 1.1fr;
    gap: 38px;
    padding: 38px 0;
  }

  .brand-logo-item {
    min-height: 84px;
  }

  .kw-valley-logo {
    height: 46px;
  }

  .ag-recognition-logo {
    height: 76px;
  }

  .kw-luxury-logo {
    height: 54px;
  }
}

@media (max-width: 640px) {
  .recognition-header {
    margin-bottom: 56px;
  }

  .recognition-header h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .recognition-row-title {
    margin-bottom: 30px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .award-badges {
    gap: 18px;
  }

  .award-badges img {
    max-width: 80px;
  }

  .brand-logos {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 0;
  }

  .brand-logo-item {
    min-height: auto;
  }

  .kw-valley-logo {
    height: 42px;
  }

  .ag-recognition-logo {
    height: 76px;
  }

  .kw-luxury-logo {
    height: 48px;
  }
}


/* ===============================
   Fixed Background Contact CTA
================================= */

.contact-cta-fixed {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/images/contact-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.contact-cta-panel {
  width: min(760px, 100%);
  min-height: 300px;
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.contact-cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.contact-cta-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 3.7vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-cta-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.white-btn {
  margin-top: 38px;
  min-width: 190px;
  height: 50px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: background var(--transition), color var(--transition);
}

.white-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
}


/* Responsive */

@media (max-width: 900px) {
  .contact-cta-fixed {
    min-height: 560px;
    background-attachment: scroll;
  }

  .contact-cta-panel {
    width: min(680px, 100%);
    padding: 48px 42px 46px;
  }

  .contact-cta-panel h2 {
    font-size: clamp(34px, 7vw, 54px);
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .contact-cta-fixed {
    min-height: 520px;
    padding: 70px 20px;
  }

  .contact-cta-panel {
    padding: 42px 26px 40px;
  }

  .contact-cta-panel h2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .white-btn {
    width: 100%;
  }
}

/* ===============================
   Footer
================================= */

.site-footer {
  background: #101010;
  color: var(--color-white);
  padding: 82px 24px 34px;
}

.footer-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.65fr 1fr 0.85fr;
  gap: clamp(46px, 4vw, 74px);
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
  width: 132px;
  margin-bottom: 34px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.62);
}

.footer-heading {
  margin-bottom: 24px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.48);
}

.footer-nav nav,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition), transform var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}


/* Social Icons */

.footer-social-icons {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  gap: 14px;
  align-items: center;
  justify-content: start;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.footer-social-icon:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.footer-social-icon span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
}

.footer-social-icon[aria-label="LinkedIn"] span {
  font-size: 12px;
  font-weight: 700;
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-social-icon[aria-label="YouTube"] svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.footer-social-icon .youtube-play {
  fill: #101010;
}

.footer-social-icon:hover .youtube-play {
  fill: var(--color-white);
}

.footer-social-icon[aria-label="TikTok"] span {
  font-size: 17px;
  font-weight: 700;
}


/* Bottom */

.footer-bottom {
  width: min(1320px, 100%);
  margin: 72px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.42);
}


/* Responsive */

@media (max-width: 1150px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }

  .footer-social-icons {
    grid-template-columns: repeat(3, 40px);
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 68px 20px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-logo {
    width: 118px;
  }

  .footer-social-icons {
    grid-template-columns: repeat(3, 38px);
    gap: 12px;
  }

  .footer-social-icon {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 54px;
  }
}

/* ===============================
   RESPONSIVENESS OVERRIDE PASS
   Paste at very bottom of style.css
================================= */


/* Prevent accidental horizontal scroll */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


/* ===============================
   Large Laptop / Small Desktop
================================= */

@media (max-width: 1350px) {
  .header-inner {
    padding-left: 34px;
    padding-right: 34px;
    gap: 28px;
  }

  .header-search {
    width: 360px;
  }

  .header-nav {
    gap: 22px;
  }

  .header-nav a,
  .menu-label {
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .property-showcase-header,
  .property-card-grid,
  .sold-slider,
  .sold-gallery-actions,
  .recognition-inner,
  .contact-cta-panel,
  .footer-inner,
  .footer-bottom {
    width: min(1180px, 100%);
  }
}


/* ===============================
   Tablet Landscape
================================= */

@media (max-width: 1100px) {
  :root {
    --header-height: 86px;
  }

  .header-nav {
    display: none;
  }

  .header-search {
    width: 380px;
  }

  .site-logo {
    width: 112px;
  }

  .hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    max-width: 620px;
  }

  .andrew-intro-inner {
    gap: 70px;
  }

  .andrew-intro h2 {
    font-size: clamp(40px, 5vw, 62px);
  }

  .property-showcase-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .property-showcase-title h2 {
    font-size: clamp(40px, 6vw, 68px);
  }

  .property-card-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .property-card,
  .property-card-large {
    min-height: 460px;
    grid-row: auto;
  }

  .sold-gallery-header h2,
  .recognition-header h2 {
    font-size: clamp(40px, 6vw, 66px);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }
}


/* ===============================
   Tablet Portrait
================================= */

@media (max-width: 900px) {
  :root {
    --frame-size: 12px;
    --header-height: 78px;
  }

  .site-header {
    top: var(--frame-size);
    left: var(--frame-size);
    width: calc(100% - (var(--frame-size) * 2));
  }

  .site-header.is-scrolled,
  .site-header.menu-open {
    top: 0;
    left: 0;
    width: 100%;
  }

  .header-inner {
    padding: 18px 22px 0;
    align-items: flex-start;
  }

  .site-logo {
    width: 104px;
  }

  .site-header.is-scrolled .site-logo,
  .site-header.menu-open .site-logo {
    width: 86px;
  }

  .header-right {
    gap: 18px;
    padding-top: 8px;
  }

  .header-search {
    display: none;
  }

  .menu-label {
    display: inline-block;
  }

  .hero {
    min-height: calc(100vh - var(--frame-size));
  }

  .hero-content {
    width: min(100% - 36px, 900px);
    min-height: calc(100vh - var(--frame-size));
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 96px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.36em;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(36px, 8vw, 60px);
    line-height: 1.08;
    letter-spacing: 0.07em;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 0.06em;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-bottom {
    bottom: 26px;
    width: min(100% - 36px, 900px);
  }

  .luxury-network-inner {
    flex-direction: column;
    gap: 22px;
    padding: 58px 0;
  }

  .luxury-network-inner p {
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .andrew-intro {
    padding: 90px 24px;
  }

  .andrew-intro-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .andrew-intro-content {
    max-width: 720px;
    margin: 0 auto;
  }

  .andrew-intro-image {
    width: min(620px, 100%);
    margin: 0 auto;
    min-height: 620px;
  }

  .andrew-intro-image img {
    min-height: 620px;
  }

  .property-showcase {
    padding: 90px 24px;
  }

  .property-showcase-title h2 {
    font-size: clamp(36px, 8vw, 58px);
  }

  .property-showcase-title p {
    font-size: 14px;
  }

  .testimonials-section {
    background-attachment: scroll;
  }

  .testimonials-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 72px 0;
  }

  .testimonial-content {
    order: 1;
  }

  .testimonial-prev {
    order: 2;
    justify-self: center;
  }

  .testimonial-next {
    order: 3;
    justify-self: center;
  }

  .sold-gallery-section {
    padding: 88px 24px;
  }

  .sold-slider-main {
    height: 58vh;
    min-height: 500px;
    max-height: 580px;
  }

  .recognition-section {
    padding: 88px 24px 96px;
  }

  .award-badges {
    gap: 24px;
  }

  .award-badges img {
    max-width: 92px;
  }

  .brand-logos {
    width: min(680px, 100%);
    gap: 34px;
  }

  .contact-cta-fixed {
    min-height: 560px;
    background-attachment: scroll;
  }

  .contact-cta-panel {
    width: min(680px, 100%);
    padding: 48px 42px 46px;
  }

  .contact-cta-panel h2 {
    white-space: normal;
  }
}


/* ===============================
   Mobile
================================= */

@media (max-width: 640px) {
  :root {
    --frame-size: 9px;
    --header-height: 72px;
  }

  .header-inner {
    padding: 16px 16px 0;
  }

  .site-logo {
    width: 92px;
  }

  .site-header.is-scrolled .site-logo,
  .site-header.menu-open .site-logo {
    width: 78px;
  }

  .menu-label {
    display: none;
  }

  .hamburger-lines {
    width: 22px;
    gap: 5px;
  }

  .hamburger-lines i {
    width: 22px;
  }

  .side-menu {
    width: 92vw;
  }

  .side-menu-content {
    padding: 92px 30px 34px;
  }

  .side-menu-nav a {
    min-height: 54px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-content {
    width: min(100% - 30px, 680px);
    padding-top: 105px;
    padding-bottom: 116px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.12;
    letter-spacing: 0.055em;
  }

  .hero-subtitle {
    max-width: 330px;
    margin-top: 20px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    height: 46px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.22em;
  }

  .luxury-network-strip {
    min-height: 260px;
  }

  .luxury-network-inner {
    width: min(100% - 34px, 680px);
    min-height: 260px;
    padding: 48px 0;
  }

  .luxury-network-mark {
    font-size: 44px;
  }

  .luxury-network-inner p {
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.11em;
  }

  .andrew-intro {
    padding: 76px 20px;
  }

  .andrew-intro h2 {
    font-size: clamp(38px, 13vw, 52px);
    letter-spacing: 0.14em;
  }

  .andrew-title {
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: 0.24em;
  }

  .andrew-bio p {
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }

  .andrew-contact {
    margin-top: 36px;
  }

  .dark-btn {
    width: 100%;
  }

  .andrew-intro-image {
    min-height: 520px;
  }

  .andrew-intro-image img {
    min-height: 520px;
  }

  .property-showcase {
    padding: 74px 20px;
  }

  .property-showcase-title h2 {
    font-size: clamp(34px, 11vw, 50px);
    letter-spacing: 0.05em;
  }

  .property-card,
  .property-card-large {
    min-height: 350px;
  }

  .property-card-content {
    left: 24px;
    right: 24px;
    bottom: 26px;
  }

  .property-card-content h3 {
    font-size: clamp(26px, 8vw, 38px);
  }

  .testimonials-inner {
    width: min(100% - 34px, 680px);
    padding: 64px 0;
  }

  .testimonial-quote-mark {
    height: 46px;
    font-size: 78px;
  }

  .testimonial-text {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .testimonial-author {
    font-size: 9px;
    line-height: 1.7;
    letter-spacing: 0.18em;
  }

  .testimonials-section .white-btn {
    width: 100%;
  }

  .sold-gallery-section {
    padding: 72px 20px 78px;
  }

  .sold-gallery-header h2 {
    font-size: clamp(34px, 11vw, 50px);
    letter-spacing: 0.055em;
  }

  .sold-gallery-header p {
    font-size: 13px;
  }

  .sold-slider-main {
    height: 54vh;
    min-height: 380px;
    max-height: 460px;
  }

  .sold-slider-caption {
    left: 24px;
    bottom: 26px;
  }

  .sold-slider-caption h3 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .sold-slider-controls {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  #soldPrevBtn,
  #soldNextBtn {
    justify-self: center;
  }

  .sold-gallery-section .light-btn {
    width: 100%;
  }

  .recognition-section {
    padding: 74px 20px 84px;
  }

  .recognition-header h2 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .recognition-header p:last-child {
    font-size: 13px;
  }

  .recognition-row-title {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .award-badges {
    gap: 16px;
  }

  .award-badges img {
    max-width: 72px;
  }

  .brand-logos {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .kw-valley-logo {
    height: 38px;
  }

  .ag-recognition-logo {
    height: 74px;
  }

  .kw-luxury-logo {
    height: 46px;
  }

  .contact-cta-fixed {
    min-height: 520px;
    padding: 64px 18px;
  }

  .contact-cta-panel {
    padding: 40px 24px 38px;
  }

  .contact-cta-panel h2 {
    font-size: clamp(34px, 11vw, 50px);
    letter-spacing: 0.1em;
  }

  .contact-cta-panel p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .white-btn {
    width: 100%;
  }

  .site-footer {
    padding: 62px 20px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-logo {
    width: 112px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    margin-top: 50px;
  }
}


/* ===============================
   Testimonial Arrows Mobile Fix
   Paste at very bottom of style.css
================================= */

@media (max-width: 900px) {
  .testimonials-inner {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: 18px;
    row-gap: 26px;
  }

  .testimonial-content {
    grid-column: 1 / -1;
    grid-row: 1;
    order: 0;
  }

  .testimonial-prev,
  .testimonial-next {
    grid-row: 2;
    order: 0;
    justify-self: center;
  }

  .testimonial-prev {
    grid-column: 1;
  }

  .testimonial-next {
    grid-column: 2;
  }

  .testimonial-arrow {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 640px) {
  .testimonials-inner {
    row-gap: 24px;
  }

  .testimonial-arrow {
    width: 44px;
    height: 44px;
  }
}


/* ===============================
   430px Mobile Polish Fixes
   Paste at very bottom of style.css
================================= */

@media (max-width: 430px) {

  /* 1. Testimonial button less wide */
  .testimonial-cta {
    width: auto;
    min-width: 210px;
    max-width: 260px;
    padding-left: 34px;
    padding-right: 34px;
    justify-self: center;
  }

  .testimonials-section .white-btn {
    width: auto;
  }


  /* 2. Sold gallery buttons fix */
  .sold-gallery-actions {
    gap: 26px;
  }

  .sold-gallery-section .light-btn {
    width: auto;
    min-width: 190px;
    max-width: 240px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-charcoal);
    color: var(--color-white);
    border: 1px solid var(--color-charcoal);
    text-align: center;
  }

  .sold-gallery-section .outline-link {
    display: inline-block;
    text-align: center;
  }


  /* 3. Award badges: clean 3 + 2 layout */
  .award-badges {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    gap: 18px 20px;
  }

  .award-badges img {
    max-width: 78px;
  }


  /* 4. Keep Work With Us CTA heading on one line */
  .contact-cta-panel {
    padding: 40px 22px 38px;
  }

  .contact-cta-panel h2 {
    white-space: nowrap;
    font-size: clamp(28px, 8.4vw, 38px);
    letter-spacing: 0.08em;
  }

  .contact-cta-panel p {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-cta-panel .white-btn {
    width: auto;
    min-width: 210px;
    max-width: 260px;
  }
}




/* ===============================
   Contact Page
================================= */

.contact-page-main {
  background: var(--color-white);
}


/* ===============================
   Contact Hero
================================= */

.contact-hero-frame {
  padding-bottom: var(--frame-size);
}

.contact-hero {
  position: relative;
  min-height: 100vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.72)
    ),
    url("../assets/images/contact-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.74)
    );
  z-index: 1;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1360px, calc(100% - 96px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 155px 0 90px;
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(460px, 0.85fr);
  gap: clamp(95px, 8vw, 160px);
  align-items: center;
}


/* Contact Form */

.contact-form-wrap h1 {
  margin-top: 20px;
  margin-bottom: 46px;
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-form {
  width: min(600px, 100%);
}

.hidden-field {
  display: none;
}

.form-row {
  margin-bottom: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 20px;
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 54px;
}

.contact-form textarea {
  min-height: 132px;
  padding-top: 20px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a8a8a;
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.form-consent {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.68);
}

.form-consent input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  padding: 0;
}

.contact-submit-btn {
  margin-top: 28px;
}

.form-status {
  min-height: 20px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.form-status.success {
  color: #ffffff;
}

.form-status.error {
  color: #f0b8b8;
}


/* Contact Details */

.contact-details-wrap {
  max-width: 560px;
  justify-self: center;
  text-align: center;
}

.contact-mini-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details-wrap h2 {
  max-width: 520px;
  margin: 44px auto 44px;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.contact-detail-list a,
.contact-detail-list span {
  font-size: 13px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
}


/* Contact Social Icons */

.contact-social-icons {
  margin-top: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.contact-social-icon:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
  transform: translateY(-3px);
}

.contact-social-icon span {
  font-size: 15px;
  font-weight: 700;
  text-transform: lowercase;
}

.contact-social-icon[aria-label="LinkedIn"] span {
  font-size: 12px;
}

.contact-social-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.contact-social-icon[aria-label="YouTube"] svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.contact-social-icon .youtube-play {
  fill: #101010;
}

.contact-social-icon:hover .youtube-play {
  fill: var(--color-white);
}


/* ===============================
   Schedule Section
================================= */

.schedule-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 120px 24px;
}

.schedule-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.schedule-header {
  max-width: 860px;
  margin: 0 auto 70px;
  text-align: center;
}

.schedule-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.schedule-header p {
  max-width: 650px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.schedule-card {
  background: #f3f1ed;
  padding: 38px 34px 34px;
}

.schedule-card-header {
  text-align: center;
  margin-bottom: 30px;
}

.schedule-card-header span {
  display: block;
  margin-bottom: 20px;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--color-gold);
}

.schedule-card-header h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-card-header p {
  max-width: 430px;
  margin: 18px auto 0;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #666;
}

.calendly-inline-widget {
  background: var(--color-white);
}


/* ===============================
   Buyer Seller Guide Fixed CTA
================================= */

.buyer-seller-guide-fixed {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/images/contact-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.buyer-seller-guide-panel {
  width: min(760px, 100%);
  min-height: 300px;
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.buyer-seller-guide-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.buyer-seller-guide-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.buyer-seller-guide-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.buyer-seller-guide-panel .white-btn {
  margin-top: 38px;
}


/* Responsive */

@media (max-width: 900px) {
  .buyer-seller-guide-fixed {
    min-height: 560px;
    background-attachment: scroll;
  }

  .buyer-seller-guide-panel {
    width: min(680px, 100%);
    padding: 48px 42px 46px;
  }
}

@media (max-width: 640px) {
  .buyer-seller-guide-fixed {
    min-height: 520px;
    padding: 70px 20px;
  }

  .buyer-seller-guide-panel {
    padding: 42px 26px 40px;
  }

  .buyer-seller-guide-panel h2 {
    font-size: clamp(32px, 9vw, 46px);
    letter-spacing: 0.08em;
  }

  .buyer-seller-guide-panel p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .buyer-seller-guide-panel .white-btn {
    width: auto;
    min-width: 210px;
  }
}


/* ===============================
   Contact Page Responsive
================================= */

@media (max-width: 1200px) {
  .contact-hero-inner {
    width: min(1240px, calc(100% - 72px));
    grid-template-columns: minmax(500px, 1fr) minmax(420px, 0.85fr);
    gap: 80px;
  }

  .contact-form-wrap h1 {
    font-size: clamp(46px, 4.5vw, 74px);
  }
}

@media (max-width: 1050px) {
  .contact-hero-inner {
    width: min(100% - 48px, 900px);
    grid-template-columns: 1fr;
    gap: 70px;
    padding-top: 140px;
  }

  .contact-form {
    margin: 0 auto;
  }

  .contact-form-wrap,
  .contact-details-wrap {
    text-align: center;
  }

  .contact-details-wrap {
    margin: 0 auto;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero-inner {
    width: min(100% - 34px, 1180px);
    padding: 120px 0 72px;
  }

  .contact-form-wrap h1 {
    font-size: clamp(38px, 11vw, 52px);
    letter-spacing: 0.09em;
    white-space: normal;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .contact-submit-btn {
    width: auto;
    min-width: 190px;
  }

  .contact-details-wrap h2 {
    font-size: 24px;
    letter-spacing: 0.14em;
  }

  .contact-detail-list a,
  .contact-detail-list span {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .contact-social-icons {
    gap: 14px;
  }

  .contact-social-icon {
    width: 40px;
    height: 40px;
  }

  .schedule-section {
    padding: 80px 20px;
  }

  .schedule-header h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .schedule-card {
    padding: 32px 20px 24px;
  }

  .schedule-card-header h3 {
    font-size: 28px;
  }

  .calendly-inline-widget {
    min-width: 100% !important;
    height: 680px !important;
  }

  .buyer-seller-guide {
    padding: 76px 20px;
  }

  .buyer-seller-guide h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .buyer-seller-guide .white-btn {
    width: auto;
    min-width: 210px;
  }
}

@media (max-width: 430px) {
  .contact-hero-inner {
    width: min(100% - 28px, 1180px);
    padding-top: 112px;
  }

  .contact-form-wrap h1 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: 0.08em;
  }

  .contact-form-wrap h1,
  .contact-form-wrap .section-kicker {
    text-align: center;
  }

  .contact-form input,
  .contact-form select {
    height: 50px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .form-consent {
    font-size: 10px;
    line-height: 1.6;
  }

  .contact-details-wrap h2 {
    font-size: 22px;
  }

  .schedule-header p,
  .buyer-seller-guide p {
    font-size: 13px;
  }
}

/* ===============================
   Mobile Contact Consent Fix
================================= */

@media (max-width: 640px) {
  .form-consent {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 340px;
    margin: 16px auto 0;
    text-align: left;
  }

  .form-consent input {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 4px;
  }

  .form-consent span {
    flex: 1;
    max-width: 290px;
  }
}


/* ===============================
   New Construction Page
================================= */

.new-construction-page-main {
  background: var(--color-white);
}


/* ===============================
   Hero
================================= */

.nc-hero-frame {
  padding-bottom: var(--frame-size);
}

.nc-hero {
  position: relative;
  min-height: 86vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.52),
      rgba(0, 0, 0, 0.52)
    ),
    url("../assets/images/new-construction/new-construction-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.nc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.58)
    );
}

.nc-hero-content {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 48px));
  min-height: 86vh;
  margin: 0 auto;
  padding: 150px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.nc-hero-content h1 {
  width: max-content;
  max-width: 100%;
  margin: 24px auto 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nc-hero-content > p {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.nc-hero-actions {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ===============================
   Intro
================================= */

.nc-intro-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 110px 24px;
}

.nc-intro-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 90px;
  align-items: center;
}

.nc-intro-content h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nc-intro-content p {
  max-width: 620px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.nc-intro-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nc-intro-image {
  min-height: 620px;
  overflow: hidden;
  background: #eee;
}

.nc-intro-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* ===============================
   Galleries
================================= */

.nc-gallery-section {
  background: #101010;
  color: var(--color-white);
  padding: 105px 24px;
}

.nc-gallery-light {
  background: var(--color-white);
  color: var(--color-charcoal);
}

.nc-gallery-header {
  width: min(920px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.nc-gallery-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nc-gallery-header p {
  max-width: 650px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.nc-gallery-light .nc-gallery-header p {
  color: #666;
}

.nc-gallery {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nc-gallery-main {
  position: relative;
  height: min(70vh, 700px);
  min-height: 560px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.nc-gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.62),
      rgba(0, 0, 0, 0.18) 35%,
      rgba(0, 0, 0, 0) 62%
    );
}

.nc-gallery-main img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.35s ease, transform 0.9s ease;
}

.nc-gallery-main.is-changing img {
  opacity: 0;
  transform: scale(1.015);
}

.nc-gallery-caption {
  position: absolute;
  left: 42px;
  bottom: 38px;
  z-index: 2;
  max-width: 760px;
  color: var(--color-white);
}

.nc-gallery-caption span {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.72);
}

.nc-gallery-caption h3 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.4vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* Gallery arrows */

.nc-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.28);
  color: var(--color-white);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.nc-gallery-arrow:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

.nc-gallery-prev {
  left: 24px;
}

.nc-gallery-next {
  right: 24px;
}


/* One-line thumbnail preview */

.nc-gallery-thumbs {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-behavior: smooth;
}

.nc-gallery-thumbs::-webkit-scrollbar {
  height: 5px;
}

.nc-gallery-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.nc-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
}

.nc-gallery-light .nc-gallery-thumbs::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
}

.nc-gallery-light .nc-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.28);
}

.nc-gallery-thumbs button {
  flex: 0 0 150px;
  height: 88px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #111;
  overflow: hidden;
  opacity: 0.58;
  transition: opacity var(--transition), transform var(--transition);
}

.nc-gallery-thumbs button.is-active,
.nc-gallery-thumbs button:hover {
  opacity: 1;
}

.nc-gallery-thumbs button:hover {
  transform: translateY(-2px);
}

.nc-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ===============================
   Responsive
================================= */

@media (max-width: 1050px) {
  .nc-intro-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .nc-intro-image {
    min-height: 540px;
  }

  .nc-intro-image img {
    min-height: 540px;
  }
}

@media (max-width: 640px) {
  .nc-hero-content {
    width: min(100% - 34px, 1060px);
    padding: 120px 0 78px;
  }

  .nc-hero-content h1 {
    width: auto;
    max-width: 100%;
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: 0.07em;
    white-space: normal;
  }

  .nc-hero-content > p {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .nc-hero-actions {
    width: 100%;
  }

  .nc-intro-section {
    padding: 76px 20px;
  }

  .nc-intro-content h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .nc-intro-content p {
    font-size: 13px;
  }

  .nc-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nc-intro-actions .dark-btn {
    width: 100%;
  }

  .nc-intro-actions .outline-link {
    align-self: center;
  }

  .nc-intro-image,
  .nc-intro-image img {
    min-height: 420px;
  }

  .nc-gallery-section {
    padding: 74px 20px;
  }

  .nc-gallery-header h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .nc-gallery-header p {
    font-size: 13px;
  }

  .nc-gallery-main {
    height: 54vh;
    min-height: 380px;
    max-height: 460px;
  }

  .nc-gallery-caption {
    left: 24px;
    bottom: 26px;
  }

  .nc-gallery-caption h3 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .nc-gallery-thumbs {
    gap: 8px;
  }

  .nc-gallery-thumbs button {
    flex-basis: 118px;
    height: 72px;
  }

  .nc-gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .nc-gallery-prev {
    left: 14px;
  }

  .nc-gallery-next {
    right: 14px;
  }
}



/* ===============================
   Marketing Page
================================= */

.marketing-page-main {
  background: var(--color-white);
}


/* ===============================
   Marketing Hero
================================= */

.marketing-hero-frame {
  padding-bottom: var(--frame-size);
}

.marketing-hero {
  position: relative;
  min-height: 86vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.56),
      rgba(0, 0, 0, 0.56)
    ),
    url("../assets/images/marketing/marketing-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.marketing-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.62)
    );
}

.marketing-hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  min-height: 86vh;
  margin: 0 auto;
  padding: 150px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.marketing-hero-content h1 {
  max-width: 1040px;
  margin: 24px auto 0;
  font-family: var(--font-heading);
  font-size: clamp(46px, 5.4vw, 88px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.marketing-hero-content > p {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.marketing-hero-actions {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ===============================
   Intro
================================= */

.marketing-intro-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 110px 24px;
}

.marketing-intro-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 90px;
  align-items: center;
}

.marketing-intro-content h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketing-intro-content p {
  max-width: 620px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.marketing-intro-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.marketing-intro-image {
  min-height: 620px;
  overflow: hidden;
  background: #eee;
}

.marketing-intro-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* ===============================
   Featured Film
================================= */

.featured-film-section {
  background: #101010;
  color: var(--color-white);
  padding: 105px 24px;
}

.featured-film-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.featured-film-copy {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}

.featured-film-copy .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.featured-film-copy h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.featured-film-copy p {
  max-width: 650px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.featured-film-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.featured-film-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===============================
   Marketing Services
================================= */

.marketing-services-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 115px 24px;
}

.marketing-services-header {
  width: min(920px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.marketing-services-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.marketing-services-header p {
  max-width: 650px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.marketing-services-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.marketing-service-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #111;
  color: var(--color-white);
  isolation: isolate;
}

.marketing-service-card.large-card {
  grid-column: span 2;
  min-height: 470px;
}

.marketing-service-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.marketing-service-card:hover img {
  transform: scale(1.055);
}

.marketing-service-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.58) 36%,
      rgba(0, 0, 0, 0.18) 72%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.marketing-service-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: calc(100% - 56px);
}

.marketing-service-content span {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.66);
}

.marketing-service-content h3 {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.05vw, 36px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.marketing-service-card.large-card .marketing-service-content h3 {
  max-width: 660px;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: 0.06em;
}

.marketing-service-content p {
  max-width: 92%;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.035em;
  color: rgba(255, 255, 255, 0.74);
}

.marketing-video-link-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.marketing-video-link-card .marketing-service-overlay {
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.84) 0%,
      rgba(0, 0, 0, 0.56) 40%,
      rgba(0, 0, 0, 0.14) 76%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.marketing-play-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition:
    background var(--transition),
    transform var(--transition);
}

.marketing-play-button span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #101010;
}

.marketing-video-link-card:hover .marketing-play-button {
  background: var(--color-white);
  transform: translate(-50%, -50%) scale(1.08);
}


/* ===============================
   Luxury Exposure Strip
================================= */

.marketing-exposure-strip {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.62),
      rgba(0, 0, 0, 0.62)
    ),
    url("../assets/images/marketing/luxury-exposure-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.marketing-exposure-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.48),
      rgba(0, 0, 0, 0.8)
    );
}

.marketing-exposure-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: 310px;
  margin: 0 auto;
  padding: 62px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  text-align: center;
}

.marketing-exposure-mark {
  font-family: Georgia, serif;
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--color-white);
  line-height: 1;
  flex-shrink: 0;
}

.marketing-exposure-inner p {
  max-width: 900px;
  font-size: clamp(15px, 1.35vw, 22px);
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.78);
}

.marketing-exposure-inner p span {
  color: var(--color-white);
}


/* ===============================
   Marketing CTA
================================= */

.marketing-cta-fixed {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/images/marketing/marketing-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.marketing-cta-panel {
  width: min(760px, 100%);
  min-height: 300px;
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.marketing-cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.marketing-cta-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marketing-cta-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.marketing-cta-panel .white-btn {
  margin-top: 38px;
}


/* ===============================
   Marketing Responsive
================================= */

@media (max-width: 1180px) {
  .marketing-services-grid {
    width: min(100%, 960px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-service-card.large-card {
    grid-column: span 2;
  }

  .marketing-service-content h3 {
    font-size: clamp(28px, 3vw, 40px);
  }
}

@media (max-width: 1050px) {
  .marketing-intro-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .marketing-intro-image {
    min-height: 540px;
  }

  .marketing-intro-image img {
    min-height: 540px;
  }

  .marketing-exposure-inner {
    flex-direction: column;
    gap: 22px;
  }

  .marketing-cta-fixed {
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .marketing-services-grid {
    grid-template-columns: 1fr;
  }

  .marketing-service-card.large-card {
    grid-column: auto;
  }

  .marketing-service-card,
  .marketing-service-card.large-card {
    min-height: 390px;
  }

  .marketing-service-card.large-card .marketing-service-content h3 {
    font-size: clamp(34px, 9vw, 48px);
  }
}

@media (max-width: 640px) {
  .marketing-hero-content {
    width: min(100% - 34px, 1120px);
    padding: 120px 0 78px;
  }

  .marketing-hero-content h1 {
    font-size: clamp(34px, 10vw, 50px);
    letter-spacing: 0.07em;
  }

  .marketing-hero-content > p {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .marketing-hero-actions {
    width: 100%;
  }

  .marketing-intro-section {
    padding: 76px 20px;
  }

  .marketing-intro-content h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .marketing-intro-content p {
    font-size: 13px;
  }

  .marketing-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .marketing-intro-actions .dark-btn {
    width: 100%;
  }

  .marketing-intro-actions .outline-link {
    align-self: center;
  }

  .marketing-intro-image,
  .marketing-intro-image img {
    min-height: 420px;
  }

  .featured-film-section {
    padding: 74px 20px;
  }

  .featured-film-copy h2,
  .marketing-services-header h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .featured-film-copy p,
  .marketing-services-header p {
    font-size: 13px;
  }

  .marketing-services-section {
    padding: 76px 20px;
  }

  .marketing-services-grid {
    gap: 16px;
  }

  .marketing-service-card,
  .marketing-service-card.large-card {
    min-height: 370px;
  }

  .marketing-service-content {
    left: 24px;
    right: 24px;
    bottom: 26px;
    max-width: calc(100% - 48px);
  }

  .marketing-service-content h3 {
    font-size: clamp(29px, 8vw, 40px);
    line-height: 1.08;
    letter-spacing: 0.04em;
  }

  .marketing-service-content p {
    font-size: 12px;
    line-height: 1.7;
  }

  .marketing-play-button {
    width: 62px;
    height: 62px;
  }

  .marketing-play-button span {
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 17px;
  }

  .marketing-exposure-inner {
    width: min(100% - 34px, 1180px);
    min-height: 280px;
    padding: 52px 0;
  }

  .marketing-exposure-inner p {
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.11em;
  }

  .marketing-exposure-mark {
    font-size: 44px;
  }

  .marketing-cta-fixed {
    min-height: 560px;
    padding: 70px 20px;
  }

  .marketing-cta-panel {
    padding: 42px 26px 40px;
  }

  .marketing-cta-panel h2 {
    font-size: clamp(32px, 9vw, 46px);
    letter-spacing: 0.08em;
  }

  .marketing-cta-panel p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .marketing-cta-panel .white-btn {
    width: auto;
    min-width: 210px;
  }
}

@media (max-width: 430px) {
  .marketing-service-card,
  .marketing-service-card.large-card {
    min-height: 350px;
  }

  .marketing-service-content {
    left: 22px;
    right: 22px;
    bottom: 24px;
    max-width: calc(100% - 44px);
  }

  .marketing-service-content h3,
  .marketing-service-card.large-card .marketing-service-content h3 {
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.08;
    letter-spacing: 0.035em;
  }

  .marketing-service-content p {
    max-width: 100%;
    font-size: 11.5px;
  }
}



/* ===============================
   Listings Page
================================= */

.listings-page-main {
  background: var(--color-white);
}


/* ===============================
   Listings Hero
================================= */

.listings-hero-frame {
  padding-bottom: var(--frame-size);
}

.listings-hero {
  position: relative;
  min-height: 92vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.48),
      rgba(0, 0, 0, 0.54)
    ),
    url("../assets/images/listings/listings-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.listings-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.68)
    );
}

.listings-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 64px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 150px 0 90px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.listings-hero-copy h1 {
  max-width: 760px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 98px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listings-hero-copy > p {
  max-width: 620px;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}


/* Search panel */

.listings-search-panel {
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-charcoal);
  padding: 42px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.listings-search-header {
  margin-bottom: 30px;
}

.listings-search-header span {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
}

.listings-search-header h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listings-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

.listings-search-grid label {
  display: block;
}

.listings-search-grid label span {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #666;
}

.listings-search-grid input,
.listings-search-grid select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  outline: none;
}

.listings-search-grid input:focus,
.listings-search-grid select:focus {
  border-color: var(--color-charcoal);
}

.listings-search-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.listings-search-note {
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #777;
}


/* ===============================
   Quick Links
================================= */

.listings-quick-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 95px 24px;
}

.listings-quick-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  border-left: 1px solid rgba(0, 0, 0, 0.14);
}

.listings-quick-card {
  min-height: 285px;
  padding: 44px 38px;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--color-charcoal);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.listings-quick-card:hover {
  background: #101010;
  color: var(--color-white);
  transform: translateY(-4px);
}

.listings-quick-card span {
  display: block;
  margin-bottom: 40px;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--color-gold);
}

.listings-quick-card h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listings-quick-card p {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #666;
}

.listings-quick-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}


/* ===============================
   IDX Listings Section
================================= */

.idx-listings-section {
  background: #101010;
  color: var(--color-white);
  padding: 105px 24px;
}

.idx-listings-header {
  width: min(920px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.idx-listings-header .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.idx-listings-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.idx-listings-header p {
  max-width: 660px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.idx-placeholder {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 48px;
}

.idx-placeholder-top {
  max-width: 680px;
  margin-bottom: 38px;
}

.idx-placeholder-top span {
  display: block;
  margin-bottom: 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
}

.idx-placeholder-top h3 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idx-placeholder-top p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #666;
}

.idx-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.idx-placeholder-card {
  background: #f4f1ec;
}

.idx-placeholder-image {
  height: 230px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.16),
      rgba(0, 0, 0, 0.16)
    ),
    url("../assets/images/listings/listing-placeholder.jpg");
  background-size: cover;
  background-position: center;
}

.idx-placeholder-info {
  padding: 26px 24px 28px;
}

.idx-placeholder-info span {
  display: block;
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.idx-placeholder-info h4 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.idx-placeholder-info p {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #666;
}

.idx-placeholder-info strong {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--color-charcoal);
}


/* ===============================
   Listings CTA
================================= */

.listings-cta-fixed {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/images/listings/listings-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.listings-cta-panel {
  width: min(760px, 100%);
  min-height: 300px;
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.listings-cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.listings-cta-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listings-cta-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.listings-cta-panel .white-btn {
  margin-top: 38px;
}


.listings-page-main {
  background: var(--color-white);
}

.listings-hero-frame {
  padding-bottom: var(--frame-size);
}

.listings-hero {
  position: relative;
  min-height: 92vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.48),
      rgba(0, 0, 0, 0.54)
    ),
    url("../assets/images/listings/listings-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.listings-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.68)
    );
}

.listings-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 64px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 150px 0 90px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.listings-hero-copy h1 {
  max-width: 760px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 98px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listings-hero-copy > p {
  max-width: 620px;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.listings-search-panel {
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-charcoal);
  padding: 42px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.listings-search-header {
  margin-bottom: 30px;
}

.listings-search-header span {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
}

.listings-search-header h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listings-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

.listings-search-grid label {
  display: block;
}

.listings-search-grid label span {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #666;
}

.listings-search-grid input,
.listings-search-grid select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  outline: none;
}

.listings-search-grid input:focus,
.listings-search-grid select:focus {
  border-color: var(--color-charcoal);
}

.listings-search-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.listings-logo-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 96px 24px 92px;
}

.listings-logo-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.listings-logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px 46px;
  flex-wrap: wrap;
}

.listings-logo-item {
  width: 150px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.listings-logo-item img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.listings-logo-wide {
  width: 230px;
}

.listings-logo-wide img {
  max-height: 76px;
}

.idx-listings-section {
  background: #101010;
  color: var(--color-white);
  padding: 105px 24px;
}

.idx-listings-header {
  width: min(920px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.idx-listings-header .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.idx-listings-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.idx-listings-header p {
  max-width: 660px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.idx-embed-shell {
  width: min(1180px, 100%);
  min-height: 480px;
  margin: 0 auto;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 0.94)
    );
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.idx-embed-panel {
  width: min(640px, 100%);
  text-align: center;
}

.idx-embed-panel span {
  display: block;
  margin-bottom: 18px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
}

.idx-embed-panel h3 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idx-embed-panel p {
  max-width: 520px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #666;
}

.listings-cta-fixed {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/images/listings/listings-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.listings-cta-panel {
  width: min(760px, 100%);
  min-height: 300px;
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.listings-cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.listings-cta-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listings-cta-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.listings-cta-panel .white-btn {
  margin-top: 38px;
}

@media (max-width: 1050px) {
  .listings-hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .listings-hero-copy {
    text-align: center;
  }

  .listings-hero-copy h1,
  .listings-hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .listings-logo-grid {
    gap: 28px 34px;
  }

  .listings-logo-item {
    width: 138px;
  }

  .listings-logo-wide {
    width: 210px;
  }
}

@media (max-width: 640px) {
  .listings-hero-inner {
    width: min(100% - 34px, 1280px);
    padding: 120px 0 78px;
  }

  .listings-hero-copy h1 {
    font-size: clamp(36px, 11vw, 54px);
    letter-spacing: 0.07em;
  }

  .listings-hero-copy > p {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .listings-search-panel {
    padding: 32px 22px;
  }

  .listings-search-header h2 {
    font-size: 32px;
  }

  .listings-search-grid {
    grid-template-columns: 1fr;
  }

  .listings-search-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .listings-search-actions .dark-btn {
    width: 100%;
  }

  .listings-search-actions .outline-link {
    align-self: center;
  }

  .listings-logo-section {
    padding: 72px 20px 68px;
  }

  .listings-logo-grid {
    gap: 22px 24px;
  }

  .listings-logo-item {
    width: 130px;
    height: 58px;
  }

  .listings-logo-item img {
    max-height: 54px;
  }

  .listings-logo-wide {
    width: 210px;
  }

  .idx-listings-section {
    padding: 74px 20px;
  }

  .idx-listings-header h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .idx-listings-header p {
    font-size: 13px;
  }

  .idx-embed-shell {
    min-height: 360px;
    padding: 34px 22px;
  }

  .listings-cta-fixed {
    min-height: 560px;
    background-attachment: scroll;
    padding: 70px 20px;
  }

  .listings-cta-panel {
    padding: 42px 26px 40px;
  }

  .listings-cta-panel h2 {
    font-size: clamp(32px, 9vw, 46px);
    letter-spacing: 0.08em;
  }

  .listings-cta-panel p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .listings-cta-panel .white-btn {
    width: auto;
    min-width: 210px;
  }
}


/* ===============================
   Our Team Page
================================= */

.team-page-main {
  background: var(--color-white);
}


/* Hero */

.team-hero-frame {
  padding-bottom: var(--frame-size);
}

.team-hero {
  position: relative;
  min-height: 86vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.54),
      rgba(0, 0, 0, 0.58)
    ),
    url("../assets/images/team/team-hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.team-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.06),
      rgba(0, 0, 0, 0.68)
    );
}

.team-hero-content {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 48px));
  min-height: 86vh;
  margin: 0 auto;
  padding: 150px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.team-hero-content h1 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-hero-content > p {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.team-hero-actions {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* Leader Section */

.team-leader-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 112px 24px;
}

.team-leader-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 0.85fr;
  gap: 90px;
  align-items: center;
}

.team-leader-content h2 {
  max-width: 720px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-leader-content p {
  max-width: 650px;
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.team-leader-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.team-leader-image {
  min-height: 640px;
  background: #f1f1f1;
  overflow: hidden;
}

.team-leader-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Team Grid */

.team-grid-section {
  background: #101010;
  color: var(--color-white);
  padding: 110px 24px;
}

.team-grid-header {
  width: min(920px, 100%);
  margin: 0 auto 62px;
  text-align: center;
}

.team-grid-header .section-eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.team-grid-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.team-grid-header p {
  max-width: 670px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.team-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: #fff;
  color: var(--color-charcoal);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.team-card-image {
  aspect-ratio: 3 / 4;
  background: #e9e9e9;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.9s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.045);
}

.team-card-content {
  min-height: 150px;
  padding: 24px 22px 26px;
  text-align: center;
}

.team-card-content h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card-content p {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.team-card-content span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}


/* Reviews */

.team-reviews-section {
  position: relative;
  min-height: 520px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.58),
      rgba(0, 0, 0, 0.58)
    ),
    url("../assets/images/team/team-reviews-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-reviews-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.36),
      rgba(0, 0, 0, 0.72)
    );
}

.team-reviews-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 48px));
  padding: 80px 0;
  text-align: center;
}

.team-reviews-content .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.team-reviews-content h2 {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-review-mark {
  margin-top: 28px;
  font-family: Georgia, serif;
  font-size: 82px;
  line-height: 0.8;
  color: var(--color-white);
}

.team-review-text {
  max-width: 760px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}

.team-reviews-content span {
  display: block;
  margin-top: 26px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.72);
}

.team-reviews-content .white-btn {
  margin-top: 36px;
}


/* Recognition */

.team-recognition-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 110px 24px;
}

.team-recognition-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.team-recognition-header {
  max-width: 860px;
  margin: 0 auto 58px;
  text-align: center;
}

.team-recognition-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.team-recognition-header p {
  max-width: 650px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.team-awards-block {
  text-align: center;
}

.team-awards-block > p {
  margin-bottom: 38px;
  font-size: 13px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-charcoal);
}

.team-awards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.team-awards-row img {
  width: 92px;
  height: auto;
  display: block;
}

.team-brand-row {
  margin-top: 72px;
  padding-top: 42px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 58px;
  flex-wrap: wrap;
}

.team-brand-row img {
  max-width: 210px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.team-brand-row img:nth-child(2) {
  max-width: 118px;
  max-height: 92px;
}


/* CTA */

.team-cta-fixed {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.38),
      rgba(0, 0, 0, 0.38)
    ),
    url("../assets/images/team/team-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.team-cta-panel {
  width: min(760px, 100%);
  min-height: 300px;
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.72);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.team-cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.team-cta-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-cta-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.team-cta-panel .white-btn {
  margin-top: 38px;
}

.bio-inline-link {
  color: inherit;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color var(--transition), border-color var(--transition);
}

.bio-inline-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}


/* Responsive */

@media (max-width: 1050px) {
  .team-leader-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .team-leader-image {
    min-height: 560px;
  }

  .team-leader-image img {
    min-height: 560px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-reviews-section,
  .team-cta-fixed {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .team-hero-content {
    width: min(100% - 34px, 1060px);
    padding: 120px 0 78px;
  }

  .team-hero-content h1 {
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: 0.09em;
  }

  .team-hero-content > p {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .team-hero-actions {
    width: 100%;
  }

  .team-leader-section,
  .team-grid-section,
  .team-recognition-section {
    padding: 76px 20px;
  }

  .team-leader-content h2,
  .team-grid-header h2,
  .team-recognition-header h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .team-leader-content p,
  .team-grid-header p,
  .team-recognition-header p {
    font-size: 13px;
  }

  .team-leader-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .team-leader-actions .dark-btn {
    width: 100%;
  }

  .team-leader-actions .outline-link {
    align-self: center;
  }

  .team-leader-image,
  .team-leader-image img {
    min-height: 430px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-card-content h3 {
    font-size: 28px;
  }

  .team-reviews-section {
    min-height: 560px;
  }

  .team-reviews-content {
    width: min(100% - 34px, 860px);
    padding: 70px 0;
  }

  .team-reviews-content h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .team-review-text {
    font-size: 13px;
    line-height: 1.85;
  }

  .team-reviews-content .white-btn {
    width: auto;
    min-width: 210px;
  }

  .team-awards-row {
    gap: 24px;
  }

  .team-awards-row img {
    width: 78px;
  }

  .team-brand-row {
    gap: 34px;
  }

  .team-brand-row img {
    max-width: 190px;
  }

  .team-brand-row img:nth-child(2) {
    max-width: 118px;
  }

  .team-cta-fixed {
    min-height: 560px;
    padding: 70px 20px;
  }

  .team-cta-panel {
    padding: 42px 26px 40px;
  }

  .team-cta-panel h2 {
    font-size: clamp(32px, 9vw, 46px);
    letter-spacing: 0.08em;
  }

  .team-cta-panel p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .team-cta-panel .white-btn {
    width: auto;
    min-width: 210px;
  }
}



/* ===============================
   Calculators Page
================================= */

.calculators-page-main {
  background: var(--color-white);
}


/* Hero */

.calculators-hero-frame {
  padding-bottom: var(--frame-size);
}

.calculators-hero {
  position: relative;
  min-height: 88vh;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.68),
      rgba(0, 0, 0, 0.68)
    ),
    url("../assets/images/calculators/CarnegieTitle.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

.calculators-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.22);
}

.calculators-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.06),
      rgba(0, 0, 0, 0.72)
    );
}

.calculators-hero-content {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 48px));
  min-height: 88vh;
  margin: 0 auto;
  padding: 150px 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.calculators-hero-logo {
  width: min(720px, 100%);
  margin-bottom: 42px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.calculators-hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.calculators-hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.calculators-hero-content h1 {
  max-width: 940px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.6vw, 86px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.calculators-hero-content > p {
  max-width: 720px;
  margin: 30px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.78);
}

.calculators-hero-actions {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* Calculator Tools */

.calculator-tools-section {
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 112px 24px;
}

.calculator-tools-header {
  width: min(900px, 100%);
  margin: 0 auto 62px;
  text-align: center;
}

.calculator-tools-header h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.8vw, 76px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.calculator-tools-header p {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #666;
}

.calculator-card-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  border-left: 1px solid rgba(0, 0, 0, 0.14);
}

.calculator-card {
  min-height: 310px;
  padding: 42px 34px 38px;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--color-charcoal);
  background: var(--color-white);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.calculator-card:hover {
  background: #101010;
  color: var(--color-white);
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.calculator-card span {
  display: block;
  margin-bottom: 34px;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--color-gold);
}

.calculator-card h3 {
  max-width: 360px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calculator-card p {
  max-width: 360px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #666;
}

.calculator-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.calculator-card strong {
  display: inline-block;
  margin-top: 32px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-charcoal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
}

.calculator-card:hover strong {
  color: var(--color-white);
}


/* CTA */

.calculators-cta-section {
  position: relative;
  min-height: 600px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.42),
      rgba(0, 0, 0, 0.42)
    ),
    url("../assets/images/calculators/calculators-cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
}

.calculators-cta-panel {
  width: min(760px, 100%);
  padding: 58px 72px 54px;
  background: rgba(13, 13, 13, 0.76);
  color: var(--color-white);
  text-align: center;
  backdrop-filter: blur(2px);
}

.calculators-cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.calculators-cta-panel h2 {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calculators-cta-panel p {
  max-width: 540px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
}

.calculators-cta-panel .white-btn {
  margin-top: 38px;
}


/* Responsive */

@media (max-width: 1050px) {
  .calculator-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculators-cta-section {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .calculators-hero-content {
    width: min(100% - 34px, 980px);
    padding: 124px 0 78px;
  }

  .calculators-hero-logo {
    width: min(100%, 420px);
    margin-bottom: 34px;
  }

  .calculators-hero-content h1 {
    font-size: clamp(34px, 10vw, 50px);
    letter-spacing: 0.07em;
  }

  .calculators-hero-content > p {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .calculators-hero-actions {
    width: 100%;
  }

  .calculator-tools-section {
    padding: 76px 20px;
  }

  .calculator-tools-header h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .calculator-tools-header p {
    font-size: 13px;
  }

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

  .calculator-card {
    min-height: 260px;
    padding: 38px 28px 36px;
  }

  .calculator-card h3 {
    font-size: 30px;
  }

  .calculators-cta-section {
    min-height: 540px;
    padding: 70px 20px;
  }

  .calculators-cta-panel {
    padding: 42px 26px 40px;
  }

  .calculators-cta-panel h2 {
    font-size: clamp(32px, 9vw, 46px);
    letter-spacing: 0.08em;
  }

  .calculators-cta-panel p {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .calculators-cta-panel .white-btn {
    width: auto;
    min-width: 210px;
  }
}



/* ===============================
   Global Responsive Final Pass
================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

img,
video,
iframe {
  max-width: 100%;
}


/* Prevent oversized headings from breaking mobile */

@media (max-width: 768px) {
  h1,
  h2 {
    word-break: normal;
    overflow-wrap: normal;
  }

  .section-frame {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 430px) {
  .section-frame {
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* Header / Navigation */

@media (max-width: 1180px) {
  .header-search {
    width: 300px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .desktop-nav a {
    font-size: 10px;
    letter-spacing: 0.22em;
  }
}

@media (max-width: 980px) {
  .header-search,
  .desktop-nav {
    display: none;
  }

  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-logo {
    width: 100px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-logo {
    width: 92px;
  }
}


/* Buttons */

@media (max-width: 640px) {
  .btn,
  .dark-btn,
  .white-btn {
    min-width: 190px;
    max-width: 100%;
    height: 52px;
    padding-left: 26px;
    padding-right: 26px;
    font-size: 10px;
  }

  .outline-link {
    font-size: 10px;
    letter-spacing: 0.22em;
  }
}

@media (max-width: 430px) {
  .btn,
  .dark-btn,
  .white-btn {
    width: auto;
    min-width: 180px;
  }
}


/* Fixed background fallback on tablets/mobile */

@media (max-width: 1050px) {
  .contact-cta-fixed,
  .listings-cta-fixed,
  .marketing-cta-fixed,
  .team-reviews-section,
  .team-cta-fixed,
  .calculators-cta-section,
  .testimonials-fixed,
  .work-with-us-fixed {
    background-attachment: scroll !important;
  }
}


/* Shared section spacing */

@media (max-width: 768px) {
  .team-leader-section,
  .team-grid-section,
  .team-recognition-section,
  .calculator-tools-section,
  .marketing-services-section,
  .new-construction-gallery-section,
  .listings-logo-section,
  .recognition-section {
    padding-top: 74px;
    padding-bottom: 74px;
  }
}

@media (max-width: 430px) {
  .team-leader-section,
  .team-grid-section,
  .team-recognition-section,
  .calculator-tools-section,
  .marketing-services-section,
  .new-construction-gallery-section,
  .listings-logo-section,
  .recognition-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }
}


/* Large hero sections */

@media (max-width: 768px) {
  .hero,
  .listings-hero,
  .team-hero,
  .marketing-hero,
  .new-construction-hero,
  .contact-hero,
  .calculators-hero {
    min-height: 760px;
  }
}

@media (max-width: 430px) {
  .hero,
  .listings-hero,
  .team-hero,
  .marketing-hero,
  .new-construction-hero,
  .contact-hero,
  .calculators-hero {
    min-height: 700px;
  }
}


/* Main hero typography */

@media (max-width: 768px) {
  .hero h1,
  .listings-hero-copy h1,
  .team-hero-content h1,
  .marketing-hero-content h1,
  .new-construction-hero-content h1,
  .contact-hero-title,
  .calculators-hero-content h1 {
    font-size: clamp(42px, 12vw, 72px);
    letter-spacing: 0.08em;
    line-height: 1.04;
  }
}

@media (max-width: 430px) {
  .hero h1,
  .listings-hero-copy h1,
  .team-hero-content h1,
  .marketing-hero-content h1,
  .new-construction-hero-content h1,
  .contact-hero-title,
  .calculators-hero-content h1 {
    font-size: clamp(36px, 12vw, 54px);
    letter-spacing: 0.07em;
  }
}


/* Text readability */

@media (max-width: 640px) {
  p {
    line-height: 1.8;
  }

  .section-kicker,
  .section-eyebrow {
    font-size: 10px;
    letter-spacing: 0.24em;
  }
}


/* Footer */

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 46px;
  }

  .footer-social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 62px 22px 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: left;
  }

  .footer-logo {
    width: 112px;
  }

  .footer-brand p {
    max-width: 320px;
  }

  .footer-social-icons {
    max-width: 260px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    margin-top: 46px;
  }
}


/* IDX / external embeds */

@media (max-width: 768px) {
  .idx-widget-embed,
  .idx-live-embed-shell {
    width: 100%;
    overflow-x: auto;
  }

  .idx-widget-embed iframe,
  .idx-live-embed-shell iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}


