/* ============================================
   CENTURY 21 PREFERRED — SITE-WIDE STYLES
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --tan: #BDB08B;
  --tan-light: #D4C9A8;
  --tan-deep: #746650;
  --black: #16171B;
  --dark: #1F2024;
  --cream: #F5F2EC;
  --gray: #8A8A8A;
  --light: #FFFFFF;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 300;
}
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* TOP STRIP */
.top-strip {
  background: var(--black);
  padding: 8px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.6);
  border-bottom: 1px solid rgba(189, 176, 139, 0.12);
  position: relative;
  z-index: 50;
}
.top-strip a { color: rgba(245, 242, 236, 0.6); text-decoration: none; transition: color 0.2s; }
.top-strip a:hover { color: var(--tan); }
.top-strip-right { display: flex; gap: 28px; align-items: center; }

/* NAV */
nav.main {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
nav.main.solid {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(22, 23, 27, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(189, 176, 139, 0.15);
}
nav.main.scrolled {
  position: fixed;
  top: 0;
  background: rgba(22, 23, 27, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(189, 176, 139, 0.15);
}
/* Hamburger trigger */
.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin-right: 28px;
  transition: opacity 0.2s;
}
.nav-hamburger span {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--cream);
  transition: background 0.2s;
}
.nav-hamburger:hover span { background: var(--tan-light); }

/* MEGA MENU — Altman-style slide-in panel */
.mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 190;
  cursor: pointer;
}
.mega-overlay.open { opacity: 1; visibility: visible; }
.mega-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(100%, 820px);
  background: var(--black);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  overflow-y: auto;
  border-left: 1px solid rgba(189, 176, 139, 0.2);
  -webkit-overflow-scrolling: touch;
}
.mega-menu.open { transform: translateX(0); }
.mega-close {
  position: absolute;
  top: 28px; right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--cream);
  transition: color 0.2s, transform 0.2s;
}
.mega-close:hover { color: var(--tan); transform: rotate(90deg); }
.mega-close svg { width: 28px; height: 28px; fill: currentColor; }
.mega-content {
  padding: 56px 60px 50px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.mega-brand {
  margin-bottom: 50px;
}
.mega-brand img {
  height: 64px;
  width: auto;
}
.mega-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.mega-col h4 {
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(189, 176, 139, 0.2);
}
.mega-col h4:not(:first-child) { margin-top: 36px; }
.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-col ul li { margin-bottom: 0; }
.mega-col ul li a {
  display: block;
  padding: 7px 0;
  color: rgba(245, 242, 236, 0.82);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
  font-family: 'Manrope', sans-serif;
}
.mega-col ul li a:hover {
  color: var(--tan-light);
  padding-left: 6px;
}
.mega-col ul.sub {
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 6px;
  border-left: 1px solid rgba(189, 176, 139, 0.18);
}
.mega-col ul.sub li a {
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 0 4px 12px;
  color: rgba(245, 242, 236, 0.6);
}
.mega-col ul.sub li a:hover { color: var(--tan); padding-left: 16px; }
.mega-contact-block {
  margin-top: auto;
  padding-top: 36px;
  border-top: 1px solid rgba(189, 176, 139, 0.2);
}
.mega-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--tan);
  font-size: 22px;
  font-weight: 700;
}
.mega-phone .ico {
  width: 18px; height: 18px;
  background: var(--tan);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center / contain;
}
.mega-phone a { color: inherit; text-decoration: none; }
.mega-offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.mega-office {
  color: rgba(245, 242, 236, 0.78);
  font-size: 13px;
  line-height: 1.65;
}
.mega-office .loc {
  color: var(--tan);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}
.mega-cta {
  display: inline-block;
  background: var(--tan);
  color: var(--black);
  padding: 16px 40px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 800;
  transition: background 0.3s;
  border: 2px solid var(--tan);
  font-family: 'Manrope', sans-serif;
}
.mega-cta:hover { background: var(--tan-light); border-color: var(--tan-light); }

@media (max-width: 900px) {
  .mega-content { padding: 60px 30px 40px; }
  .mega-columns { grid-template-columns: 1fr; gap: 24px; }
  .mega-offices-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-brand img { height: 48px; }
}

.nav-left { display: flex; align-items: center; }
.nav-logo { height: 84px; width: auto; transition: all 0.4s ease; }
nav.main.scrolled .nav-logo, nav.main.solid .nav-logo { height: 56px; width: auto; }
.nav-fhe {
  height: 50px;
  margin-right: 4px;
  padding-right: 22px;
  border-right: 1px solid rgba(189, 176, 139, 0.35);
  transition: all 0.4s;
  filter: brightness(0) invert(1) opacity(0.95);
}
nav.main.scrolled .nav-fhe, nav.main.solid .nav-fhe { height: 38px; }
.nav-menu { list-style: none; display: flex; gap: 42px; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-menu > li.has-dropdown > a::before {
  /* small chevron indicator */
  content: '';
  position: relative;
  top: -1px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--tan);
  transition: transform 0.3s;
  order: 2;
  margin-left: 6px;
}
.nav-menu > li.has-dropdown:hover > a::before { transform: rotate(180deg); }
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--tan-light);
  transition: width 0.3s;
}
.nav-menu > li > a:hover { color: var(--tan-light); }
.nav-menu > li > a:hover::after { width: 100%; }
.nav-menu > li > a.active { color: var(--tan-light); }
.nav-menu > li > a.active::after { width: 100%; }

/* Dropdown */
.nav-menu .dropdown {
  position: absolute;
  top: 100%; left: -8px;
  margin-top: 12px;
  background: rgba(22, 23, 27, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(189, 176, 139, 0.25);
  list-style: none;
  padding: 10px 0;
  min-width: 264px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 100;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}
.nav-menu li.has-dropdown:hover > .dropdown,
.nav-menu li.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .dropdown::before {
  /* invisible bridge so hover doesn't drop when moving from parent to dropdown */
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav-menu .dropdown li a {
  display: block;
  padding: 12px 26px;
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, padding-left 0.2s, border-color 0.2s;
  white-space: nowrap;
  border-left: 2px solid transparent;
}
.nav-menu .dropdown li a:hover {
  background: rgba(189, 176, 139, 0.08);
  color: var(--tan-light);
  border-left-color: var(--tan);
  padding-left: 30px;
}
.nav-menu .dropdown li.divider {
  height: 1px;
  background: rgba(189, 176, 139, 0.18);
  margin: 8px 18px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-phone {
  color: var(--cream);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-family: 'Manrope', sans-serif;
  transition: color 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-phone::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--tan);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center / contain;
}
.nav-phone:hover { color: var(--tan); }
.nav-cta {
  background: transparent;
  border:  1px solid var(--tan);
  color: var(--tan);
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Manrope', sans-serif;
  font-weight:  600;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--tan); color: var(--black); border-color: var(--tan); } .nav-cta:hover { background: var(--tan); color: var(--black); border-color: var(--tan); }
@media (max-width: 900px) {
  .nav-phone { display: none; }
}

/* PAGE HEADER (used on inner pages instead of full hero) */
.page-header {
  height: 60vh;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  z-index: 0;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,23,27,0.5) 0%, rgba(22,23,27,0.45) 50%, rgba(22,23,27,0.85) 100%);
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 900px;
  margin-top: 80px;
}
.page-header img.crest {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
}
.page-header h1 {
  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: 0.06em;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.page-header h1 em { color: var(--tan); font-style: italic; text-transform: none; }
.page-header p {
  color: rgba(245, 242, 236, 0.88);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* SHARED BLOCKS */
section.block { padding: 120px 60px; }
.block-inner { max-width: 1380px; margin: 0 auto; }
.eyebrow {
  color: var(--tan);
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 400;
}
.section-title em { color: var(--tan); font-style: italic; }
.section-sub {
  color: rgba(245, 242, 236, 0.78);
  font-size: 18px;
  line-height: 1.7;
  max-width: 720px;
  font-weight: 300;
}
section.cream {
  background: var(--cream);
  color: var(--black);
}
section.cream .section-title { color: var(--black); }
section.cream .section-title em { color: var(--tan-deep); }
section.cream .section-sub { color: rgba(22, 23, 27, 0.7); }
section.cream .eyebrow { color: var(--tan-deep); }
section.darker { background: var(--dark); }

/* BUTTONS */
.btn-tan {
  display: inline-block;
  background: var(--tan);
  color: var(--black);
  padding: 16px 40px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.btn-tan:hover { background: var(--tan-light); }
.btn-outline-tan {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--tan);
  color: var(--tan);
  padding: 14px 36px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Manrope', sans-serif;
}
.btn-outline-tan:hover { background: var(--tan); color: var(--black); }
.btn-outline-cream {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
  padding: 16px 42px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  font-family: 'Manrope', sans-serif;
}
.btn-outline-cream:hover { background: var(--cream); color: var(--black); }
.btn-outline-deep {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--tan-deep);
  color: var(--tan-deep);
  padding: 14px 36px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Manrope', sans-serif;
}
.btn-outline-deep:hover { background: var(--tan-deep); color: var(--cream); }

/* WHY WORK WITH US (STATS) — used on multiple pages */
.stats-section {
  background: var(--black);
  padding: 110px 60px;
  text-align: center;
  border-top: 1px solid rgba(189, 176, 139, 0.12);
  border-bottom: 1px solid rgba(189, 176, 139, 0.12);
}
.stats-eyebrow {
  color: var(--tan);
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.stats-title {
  font-size: clamp(36px, 4.4vw, 56px);
  margin-bottom: 70px;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
}
.stats-title em { color: var(--tan); font-style: italic; }
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.stat {
  border-left: 1px solid rgba(189, 176, 139, 0.25);
  padding: 0 30px;
  text-align: left;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(70px, 7.5vw, 110px);
  color: var(--tan);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-num.is-rank {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.stat-num .hash {
  font-size: 0.7em;
  vertical-align: 0.08em;
  margin-right: 2px;
  color: var(--tan-light);
}
.stat-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.85);
  font-weight: 600;
}
.stat-detail {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
  font-weight: 300;
}

/* CTA BANNER */
.cta-banner {
  height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}
.cta-banner-content { position: relative; z-index: 2; padding: 0 40px; max-width: 800px; }
.cta-banner h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 24px;
  font-weight: 300;
  color: var(--cream);
}
.cta-banner h2 em { color: var(--tan); font-style: italic; }
.cta-banner p {
  color: rgba(245, 242, 236, 0.85);
  margin-bottom: 36px;
  font-size: 16px;
}

/* SOCIAL */
.social-section {
  background: var(--black);
  padding: 70px 60px 50px;
  text-align: center;
  border-top: 1px solid rgba(189, 176, 139, 0.15);
}
.social-section h3 {
  font-size: 32px;
  margin-bottom: 28px;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
}
.social-section h3 em { color: var(--tan); font-style: italic; }
.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.social-icons a {
  width: 56px; height: 56px;
  border: 1px solid var(--tan);
  border-radius: 50%;
  color: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 18px;
}
.social-icons a:hover {
  background: var(--tan);
  color: var(--black);
  transform: translateY(-4px);
}
.social-icons svg { width: 22px; height: 22px; fill: currentColor; }

/* FOOTER */
footer {
  background: var(--black);
  padding: 70px 60px 30px;
  border-top: 1px solid rgba(189, 176, 139, 0.15);
}
.footer-grid {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(189, 176, 139, 0.12);
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img.brand { width: 92px; height: 92px; margin-bottom: 22px; }
.footer-brand p {
  color: rgba(245, 242, 236, 0.6);
  font-size: 14px;
  max-width: 320px;
  margin-bottom: 18px;
}
.footer-eh-logo { width: 36px; margin-top: 8px; opacity: 0.7; }
.footer-bbb-logo { display: inline-block; margin-top: 14px; }
.footer-bbb-logo img { width: 150px; height: auto; opacity: 0.92; transition: opacity 0.2s; }
.footer-bbb-logo:hover img { opacity: 1; }
/* Email link in Contact column */
.footer-col a.footer-email-link {
  color: rgba(245, 242, 236, 0.78);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
  transition: color 0.2s;
}
.footer-col a.footer-email-link:hover { color: var(--tan); }
/* Office address blocks in Contact column */
.footer-col .footer-office {
  margin-bottom: 16px;
}
.footer-col .footer-office .office-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 5px;
}
.footer-col .footer-office a {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.55;
  color: rgba(245, 242, 236, 0.78);
  transition: color 0.2s;
}
.footer-col .footer-office a:hover { color: var(--tan); }
/* Phone number in Contact column — styled like the top nav phone */
.footer-col a.footer-phone-link {
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.footer-col a.footer-phone-link::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--tan);
  flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01A11.36 11.36 0 0 1 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/></svg>") no-repeat center / contain;
}
.footer-col a.footer-phone-link:hover { color: var(--tan); }
.footer-col h5 {
  color: var(--tan);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(245, 242, 236, 0.7);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--tan); }
.footer-bottom {
  max-width: 1380px; margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(245, 242, 236, 0.4);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.footer-bottom a { color: rgba(245, 242, 236, 0.5); text-decoration: none; margin-left: 18px; }
.footer-bottom a:hover { color: var(--tan); }

/* PROCESS STEPS (Buyer/Seller pages) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 60px;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}
.process-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--tan);
  line-height: 1;
  font-style: italic;
}
.process-step h3 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
}
.process-step p {
  color: rgba(245, 242, 236, 0.72);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.8;
}
section.cream .process-step p { color: rgba(22,23,27,0.75); }
section.cream .process-num { color: var(--tan-deep); }
.process-step ul { list-style: none; padding: 0; }
.process-step ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(245, 242, 236, 0.7);
}
section.cream .process-step ul li { color: rgba(22,23,27,0.7); }
.process-step ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--tan);
}

/* FEATURE CARDS (4 columns) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.feature-card {
  background: var(--dark);
  padding: 40px 32px;
  border: 1px solid rgba(189, 176, 139, 0.15);
  transition: all 0.3s;
}
.feature-card:hover { border-color: var(--tan); transform: translateY(-4px); }
section.cream .feature-card {
  background: var(--light);
  border-color: rgba(189, 176, 139, 0.3);
}
.feature-card .num {
  color: var(--tan);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  font-style: italic;
}
section.cream .feature-card .num { color: var(--tan-deep); }
.feature-card h4 {
  font-size: 24px;
  margin-bottom: 14px;
  font-weight: 400;
}
.feature-card p {
  color: rgba(245, 242, 236, 0.7);
  font-size: 14px;
  line-height: 1.75;
}
section.cream .feature-card p { color: rgba(22,23,27,0.72); }

/* BIG IMAGE BREAK (Altman style section separator) */
.big-image-break {
  height: 480px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.big-image-break::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(22,23,27,0.25);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  nav.main, .top-strip, .stats-section, .social-section, footer { padding-left: 30px; padding-right: 30px; }
  .nav-menu { display: none; }
  section.block { padding: 80px 30px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat { border-left: none; border-top: 1px solid rgba(189, 176, 139, 0.25); padding: 30px 0 0; }
  .stat:first-child { border-top: none; padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .big-image-break { background-attachment: scroll; height: 320px; }
}
@media (max-width: 600px) {
  .top-strip { font-size: 10px; flex-direction: column; gap: 6px; }
  .feature-grid { grid-template-columns: 1fr; }
  section.block { padding: 60px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============================================================ */
/* EMBEDDED CONTACT FORM — appears in footer of every page      */
/* ============================================================ */
.embed-contact {
  background: var(--cream);
  color: var(--black);
  padding: 90px 60px;
  position: relative;
  overflow: hidden;
}
.embed-contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../logos/C21_Seal_Registered_White_1C.png');
  background-size: 880px auto;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  filter: invert(1);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.embed-contact-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: center;
}
.embed-contact-left .eyebrow {
  color: var(--tan-deep);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.embed-contact-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  line-height: 1.05;
  color: var(--black);
  font-weight: 300;
  margin: 0 0 22px 0;
}
.embed-contact-left h2 em { color: var(--tan-deep); font-style: italic; }
.embed-contact-left p {
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px 0;
}
.embed-contact-left .direct-line {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.12);
  display: flex; flex-direction: column; gap: 10px;
}
.embed-contact-left .direct-line a {
  color: var(--black);
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 10px;
  transition: color 0.2s;
}
.embed-contact-left .direct-line a:hover { color: var(--tan-deep); }
.embed-contact-left .direct-line svg {
  width: 14px; height: 14px;
  fill: var(--tan-deep);
}

.embed-form {
  background: #fff;
  padding: 38px 36px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.08);
  border-top: 3px solid var(--tan);
}
.embed-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.embed-form-field { display: flex; flex-direction: column; gap: 6px; }
.embed-form-field.full { grid-column: 1 / -1; }
.embed-form-field label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-deep);
}
.embed-form-field input,
.embed-form-field select,
.embed-form-field textarea {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fafaf6;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--black);
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.embed-form-field input:focus,
.embed-form-field select:focus,
.embed-form-field textarea:focus {
  outline: none;
  border-color: var(--tan-deep);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(189,176,139,0.18);
}
.embed-form-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}
.embed-form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23746650' d='M6 9L1.5 4.5h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  appearance: none;
}
.embed-form-submit {
  margin-top: 8px;
  padding: 16px 38px;
  background: var(--black);
  color: var(--cream);
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  width: 100%;
}
.embed-form-submit:hover {
  background: var(--tan-deep);
  transform: translateY(-2px);
}
.embed-form-fineprint {
  margin-top: 14px;
  font-size: 11px;
  color: #6a6a6a;
  line-height: 1.5;
  text-align: center;
}
.embed-success {
  display: none;
  padding: 14px 18px;
  background: #2a4a2c;
  color: #fff;
  border-left: 4px solid #5fb364;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  margin-bottom: 16px;
}
.embed-success.show { display: block; }

@media (max-width: 1100px) {
  .embed-contact { padding: 60px 30px; }
  .embed-contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .embed-contact-left h2 { font-size: 36px; }
  .embed-form { padding: 28px 24px; }
  .embed-form-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================ */
/* ALTMAN-STYLE HERO CONTACT — site-wide (full-size, matches index) */
/* ============================================================ */
.hero-contact {
  position: relative;
  padding: 80px 60px 65px;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../../content/About/486998637_18495428284059230_1830688064639794561_n.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(100%) brightness(0.42) contrast(1.1);
  z-index: -2;
}
.hero-contact::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,23,27,0.55) 0%, rgba(22,23,27,0.7) 100%);
  z-index: -1;
}
.hero-contact-inner {
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.hero-contact .eyebrow-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.65);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  padding-left: 16px;
}
.hero-contact .eyebrow-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px;
  background: var(--tan);
}
.hero-contact h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 40px 0;
  color: var(--cream);
  line-height: 1;
}
.hero-form {
  max-width: 880px; margin: 0 auto;
  text-align: left;
}
.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 70px;
  margin-bottom: 36px;
}
.hero-form-field { display: flex; flex-direction: column; gap: 4px; }
.hero-form-field.full { grid-column: 1 / -1; }
.hero-form-field label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
}
.hero-form-field input,
.hero-form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,242,236,0.4);
  padding: 14px 0 12px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.hero-form-field textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.55;
}
.hero-form-field input:focus,
.hero-form-field textarea:focus {
  border-bottom-color: var(--tan);
}
.hero-form-field input::placeholder,
.hero-form-field textarea::placeholder {
  color: rgba(245,242,236,0.4);
}
.hero-form-submit {
  display: block;
  margin: 0 auto;
  padding: 18px 90px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,242,236,0.7);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.hero-form-submit:hover {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}
.hero-success {
  display: none;
  max-width: 600px;
  margin: 0 auto 28px;
  padding: 16px 22px;
  background: rgba(95,179,100,0.18);
  border: 1px solid rgba(95,179,100,0.5);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  text-align: center;
}
.hero-success.show { display: block; }
.hero-fineprint {
  text-align: center;
  color: rgba(245,242,236,0.5);
  font-size: 11px;
  margin-top: 28px;
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .hero-contact { padding: 80px 30px; }
  .hero-form-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-form-submit { padding: 20px 60px; width: 100%; }
}
/* ============================================================ */
.hero-contact {
  position: relative;
  padding: 80px 60px 70px;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../../content/About/486998637_18495428284059230_1830688064639794561_n.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(100%) brightness(0.42) contrast(1.1);
  z-index: -2;
}
.hero-contact::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,23,27,0.6) 0%, rgba(22,23,27,0.75) 100%);
  z-index: -1;
}
.hero-contact-inner {
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.hero-contact .eyebrow-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.65);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-left: 14px;
}
.hero-contact .eyebrow-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 14px;
  background: var(--tan);
}
.hero-contact h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 40px 0;
  color: var(--cream);
  line-height: 1;
}
.hero-form {
  max-width: 880px; margin: 0 auto;
  text-align: left;
}
.hero-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 60px;
  margin-bottom: 36px;
}
.hero-form-field { display: flex; flex-direction: column; gap: 4px; }
.hero-form-field.full { grid-column: 1 / -1; }
.hero-form-field label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
}
.hero-form-field input,
.hero-form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,242,236,0.4);
  padding: 12px 0 10px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.hero-form-field textarea {
  resize: vertical;
  min-height: 60px;
  line-height: 1.55;
}
.hero-form-field input:focus,
.hero-form-field textarea:focus {
  border-bottom-color: var(--tan);
}
.hero-form-field input::placeholder,
.hero-form-field textarea::placeholder {
  color: rgba(245,242,236,0.4);
}
.hero-form-submit {
  display: block;
  margin: 0 auto;
  padding: 18px 80px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,242,236,0.7);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.hero-form-submit:hover {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}
.hero-success {
  display: none;
  max-width: 600px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  background: rgba(95,179,100,0.18);
  border: 1px solid rgba(95,179,100,0.5);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  text-align: center;
}
.hero-success.show { display: block; }
.hero-fineprint {
  text-align: center;
  color: rgba(245,242,236,0.5);
  font-size: 11px;
  margin-top: 22px;
  letter-spacing: 0.04em;
}

@media (max-width: 800px) {
  .hero-contact { padding: 50px 30px; }
  .hero-form-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-form-submit { padding: 16px 50px; width: 100%; }
}

/* ============================================================ */
/* MOBILE PASS — site-wide responsive fixes                     */
/* ============================================================ */
html, body { overflow-x: hidden; }

/* NAV — fit phone screen: shrink logo, hide secondary chrome */
@media (max-width: 900px) {
  nav.main { padding: 10px 16px; }
  .nav-logo { height: 56px !important; }
  nav.main.scrolled .nav-logo, nav.main.solid .nav-logo { height: 44px !important; }
  .nav-fhe { display: none; }
  .nav-cta { display: none; }
  .nav-right { gap: 10px; }
  .nav-hamburger { margin-right: 0; width: 38px; height: 32px; }
  .nav-hamburger span { width: 28px; }
}

/* INNER PAGE HEADER — tighter on mobile so heroes don't dominate */
@media (max-width: 700px) {
  .page-header { min-height: 380px; height: 52vh; }
  .page-header-content { padding: 0 24px; margin-top: 70px; }
  .page-header h1 { font-size: clamp(34px, 9vw, 48px); letter-spacing: 0.04em; }
  .page-header p { font-size: 15px; }
  .page-header img.crest { width: 56px; height: 56px; margin-bottom: 16px; }
}

/* SECTION TITLES — scale down on phones */
@media (max-width: 700px) {
  .section-title { font-size: clamp(30px, 8vw, 44px) !important; line-height: 1.1; }
  .section-sub { font-size: 15px !important; }
  .eyebrow { font-size: 11px; letter-spacing: 0.28em; }
}

/* SHARED BLOCKS — get padding small enough on phones */
@media (max-width: 700px) {
  section.block { padding: 60px 20px; }
  .block-inner { padding: 0; }
}

/* HERO (homepage main hero) */
@media (max-width: 700px) {
  .hero, section.hero, .hero-section { padding-left: 20px !important; padding-right: 20px !important; }
  .hero h1, section.hero h1 { font-size: clamp(36px, 9vw, 56px) !important; line-height: 1.05; }
  .hero p, section.hero p { font-size: 15px !important; }
  .hero-actions, .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions a, .hero-cta-row a { width: 100%; text-align: center; padding-left: 0 !important; padding-right: 0 !important; }
}

/* FOOTER — denser, single column on phones */
@media (max-width: 700px) {
  footer { padding-left: 24px !important; padding-right: 24px !important; }
  .footer-bottom { padding: 24px 0; flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom > div:last-child a { margin: 0 8px; }
  .footer-col h5 { margin-bottom: 14px; }
  .footer-col a { font-size: 14px; margin-bottom: 10px; }
}

/* SOCIAL SECTION + STATS */
@media (max-width: 700px) {
  .social-section { padding: 50px 20px !important; }
  .social-section h3 { font-size: 32px !important; }
  .stats-section { padding: 50px 20px !important; }
}

/* HERO CONTACT FORM — already responsive, but tighten further */
@media (max-width: 600px) {
  .hero-contact { padding: 50px 20px !important; }
  .hero-contact h2 { font-size: clamp(28px, 8vw, 40px) !important; }
  .hero-form-grid { gap: 18px !important; }
}

/* GENERIC GRIDS — collapse anything still in 2+ columns on phones */
@media (max-width: 700px) {
  .feature-grid,
  .process-grid,
  .stats-grid,
  .pillar-grid,
  .geo-tri-grid,
  .geo-cases-grid,
  .geo-how-grid,
  .gbi-pillars-grid,
  .gbi-how-grid,
  .gbi-elig-inner,
  .gbi-intro-inner,
  .geo-intro-inner {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

/* TYPOGRAPHY — keep large display headers from breaking layout */
@media (max-width: 700px) {
  h1 { word-break: break-word; hyphens: auto; }
  h2 { word-break: break-word; }
}

/* IMAGES — never let an image push the page wider than the screen */
img { max-width: 100%; height: auto; }

/* BIG IMAGE BREAK — already does this at 1100px, just enforce */
@media (max-width: 700px) {
  .big-image-break { height: 240px !important; background-attachment: scroll !important; }
}

/* MOSAIC GALLERY (events/charities) — fewer columns on phones */
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 130px !important; gap: 8px !important; }
  .mosaic .tile.t-2x2,
  .mosaic .tile.t-2x1,
  .mosaic .tile.t-1x2,
  .mosaic .tile.t-3x1 { grid-column: span 2 !important; grid-row: span 1 !important; }
}

/* PADDING NORMALIZATION — kill any 60px horizontal padding on phones */
@media (max-width: 700px) {
  section[style*="padding: 130px 60px"],
  section[style*="padding: 120px 60px"],
  section[style*="padding: 110px 60px"],
  section[style*="padding: 100px 60px"],
  section[style*="padding: 90px 60px"],
  section[style*="padding: 80px 60px"] {
    padding-left: 22px !important;
    padding-right: 22px !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}
