:root {
  --red: #a90f1b;
  --red-dark: #7c0912;
  --ink: #171717;
  --muted: #66615c;
  --cream: #f5f0e8;
  --paper: #fffdf9;
  --line: #ded8cf;
  --green: #26725a;
  --shadow: 0 20px 55px rgba(38, 25, 19, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 1000;
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 18px; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.site-header {
  height: 86px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 clamp(22px, 4vw, 70px);
  background: rgba(255,253,249,.96);
  border-bottom: 1px solid rgba(30,20,16,.1);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand img { width: 132px; height: 57px; object-fit: contain; object-position: left center; }
.brand-rule { height: 32px; width: 1px; background: var(--line); margin: 0 18px; }
.brand-name { font-family: Georgia, serif; font-size: 15px; line-height: 1.15; max-width: 95px; letter-spacing: -.01em; }
.brand-name b { color: var(--red); }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
.desktop-nav a:hover { color: var(--red); }
.desktop-nav a[aria-current="page"] { color: var(--red); }
.nav-company { position: relative; }
.nav-company summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 650; }
.nav-company summary::-webkit-details-marker { display: none; }
.nav-company summary::after { content: "⌄"; margin-left: 6px; color: var(--red); }
.nav-company-menu { position: absolute; z-index: 110; top: calc(100% + 13px); right: 0; min-width: 170px; display: grid; gap: 2px; padding: 9px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow); }
.nav-company-menu a { padding: 9px 10px; border-radius: 8px; white-space: nowrap; }
.nav-company-menu a:hover { background: var(--cream); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 15px; }
.header-phone { color: var(--red); font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--red-dark); }
.header-cta {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 12px 21px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.header-cta:hover { background: var(--red); }
.header-cta-link { text-decoration: none; }
.menu-button, .mobile-nav { display: none; }

.hero {
  min-height: min(760px, calc(100vh - 86px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .65fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
  padding: 78px clamp(24px, 7vw, 112px);
  position: relative;
  isolation: isolate;
  background: #20150f url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=88") center/cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,10,8,.87) 0%, rgba(16,10,8,.66) 47%, rgba(16,10,8,.25) 100%), linear-gradient(0deg, rgba(125,8,18,.18), transparent 55%); }
.hero-content { color: white; max-width: 720px; }
.eyebrow { margin: 0 0 10px; color: var(--red); text-transform: uppercase; font-size: 11px; letter-spacing: .19em; font-weight: 850; }
.eyebrow.light { color: #ffd6d6; }
.hero h1 { margin: 0; font: 500 clamp(52px, 7vw, 96px)/.94 Georgia, serif; letter-spacing: -.055em; }
.hero h1 em { color: #f4b7ae; font-weight: 400; }
.hero-copy { max-width: 600px; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.84); margin: 26px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 780; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #ffe6e2; }
.button-secondary { background: var(--cream); color: var(--ink); border-color: var(--line); }
.button-ghost-light { color: white; border-color: rgba(255,255,255,.45); background: transparent; }
.button-ghost-light:hover { background: white; color: var(--red-dark); }
.button-full { width: 100%; border-radius: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--red); font-weight: 800; padding: 0; text-decoration: none; cursor: pointer; }
.light-link { color: white; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 3px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 54px; color: rgba(255,255,255,.74); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row span::before { content: "✓"; color: #f4b7ae; }

.quick-finder { background: rgba(255,253,249,.97); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.finder-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.finder-heading .eyebrow { margin-bottom: 3px; }
.finder-heading h2 { margin: 0; font: 500 27px/1.05 Georgia, serif; }
.finder-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #f7dfdc; color: var(--red); font-size: 23px; }
.quick-finder label { display: block; margin-top: 14px; }
.quick-finder label > span, .plan-dialog label > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; color: #4f4945; }
select, input, textarea { width: 100%; background: white; color: var(--ink); border: 1px solid #d9d3ca; border-radius: 12px; padding: 13px 14px; outline: none; }
select:focus, input:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(169,15,27,.12); }
.quick-finder .button { margin-top: 20px; }
.finder-note { color: var(--muted); font-size: 11px; margin: 10px 0 0; text-align: center; }
.finder-dpa { display: flex; justify-content: center; gap: 6px; margin-top: 12px; color: var(--red); font-size: 12px; font-weight: 850; text-decoration: none; }
.finder-dpa:hover { color: var(--red-dark); text-decoration: underline; }

.discover-section { padding: 100px clamp(22px, 6vw, 96px); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; max-width: 1260px; margin: 0 auto 40px; }
.section-heading h2 { margin: 0; font: 500 clamp(40px, 5vw, 64px)/1.02 Georgia, serif; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 17px; max-width: 510px; }
.filter-bar { max-width: 1260px; margin: 0 auto; display: flex; gap: 11px; align-items: center; padding: 15px; background: var(--cream); border: 1px solid var(--line); border-radius: 17px; }
.area-pills { display: flex; gap: 6px; flex: 1; }
.pill { padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: #554f4a; font-size: 13px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.pill:hover, .pill.active { color: white; background: var(--ink); }
.compact-select { min-width: 160px; }
.compact-select select { padding: 10px 36px 10px 12px; font-size: 13px; font-weight: 700; border-radius: 999px; }
.saved-button { border: 0; background: white; border-radius: 999px; padding: 10px 14px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.saved-button.active { background: var(--red); color: white; }
.saved-button b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); color: var(--ink); margin-left: 4px; font-size: 11px; }
.results-meta { max-width: 1260px; margin: 24px auto 16px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.results-meta p { margin: 0; }
.status-key { display: flex; align-items: center; gap: 8px; }
.status-key span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(38,114,90,.12); }
.home-grid { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.home-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { position: relative; height: 225px; background-size: cover; background-position: center; }
.card-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.58)); }
.area-tag { position: absolute; z-index: 1; left: 15px; top: 15px; padding: 7px 11px; background: rgba(255,255,255,.92); border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.save-home { position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); font-size: 21px; cursor: pointer; }
.save-home.saved { background: var(--red); color: white; }
.card-price { position: absolute; z-index: 1; bottom: 14px; left: 16px; color: white; font: 600 28px Georgia, serif; }
.card-body { padding: 19px 19px 20px; }
.card-kicker { margin: 0 0 5px; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 850; }
.card-body h3 { margin: 0; font: 600 23px Georgia, serif; }
.card-specs { display: flex; gap: 8px; margin: 13px 0 15px; color: #5d5651; font-size: 13px; }
.card-specs span + span::before { content: "•"; margin-right: 8px; color: #c5bdb5; }
.fit-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 17px; }
.fit-tag { background: var(--cream); border-radius: 6px; padding: 5px 8px; color: #5a504a; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.fit-tag.fha, .fit-tag.va { color: var(--green); background: #e9f3ef; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid #eee9e2; }
.card-actions a { color: var(--red); font-weight: 800; font-size: 13px; text-decoration: none; }
.card-actions small { color: var(--muted); font-size: 10px; text-align: right; }
.empty-state { max-width: 1260px; margin: 0 auto; text-align: center; padding: 72px 22px; border: 1px dashed #cfc6bc; border-radius: var(--radius); background: var(--cream); }
.empty-state > span { font-size: 40px; color: var(--red); }
.empty-state h3 { margin: 8px 0; font: 600 28px Georgia, serif; }
.empty-state p { color: var(--muted); max-width: 540px; margin: 0 auto 24px; }

.live-portal-card { max-width: 1260px; margin: 58px auto 76px; padding: clamp(28px, 5vw, 60px); border-radius: 28px; display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center; background: linear-gradient(130deg, var(--red-dark), #b71924 58%, #d24a3f); color: white; position: relative; overflow: hidden; }
.live-portal-card::before { content: ""; position: absolute; width: 360px; height: 360px; border: 80px solid rgba(255,255,255,.06); border-radius: 50%; right: -100px; top: -170px; }
.portal-copy { position: relative; z-index: 1; }
.portal-copy h3 { margin: 0 0 12px; max-width: 720px; font: 500 clamp(30px, 4vw, 48px)/1.06 Georgia, serif; }
.portal-copy > p:not(.eyebrow) { max-width: 710px; color: rgba(255,255,255,.78); }
.portal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.qr-wrap { position: relative; z-index: 1; width: 156px; flex: 0 0 auto; margin: 0; background: white; color: var(--ink); border-radius: 15px; padding: 12px; text-align: center; box-shadow: 0 15px 30px rgba(45,0,4,.25); }
.qr-wrap img { border-radius: 6px; }
.qr-wrap figcaption { margin-top: 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.new-construction-feature { max-width: 1260px; margin: 0 auto 58px; padding: clamp(32px, 5vw, 58px); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 5vw, 70px); align-items: center; border-radius: 28px; color: white; background: linear-gradient(140deg, #071f2f 0%, #0f354a 66%, #164a60 100%); position: relative; overflow: hidden; }
.new-construction-feature::before { content: ""; position: absolute; width: 420px; height: 420px; left: -230px; bottom: -290px; border: 74px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.new-construction-copy { position: relative; z-index: 1; }
.new-construction-copy .eyebrow { color: #ffb1a9; }
.new-construction-copy h3 { margin: 0 0 16px; font: 500 clamp(34px, 4.2vw, 54px)/1.04 Georgia, serif; letter-spacing: -.035em; }
.new-construction-copy > p:not(.eyebrow):not(.widget-disclosure) { color: rgba(255,255,255,.75); font-size: 15px; }
.new-home-points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.new-home-points li { display: flex; gap: 10px; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 700; }
.new-home-points li span { color: #ffb1a9; }
.widget-disclosure { margin: 22px 0 0; color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.55; }
.widget-shell { position: relative; z-index: 1; background: #001d31; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px; box-shadow: 0 26px 60px rgba(0,0,0,.26); }
.widget-shell iframe { display: block; width: 100%; height: 390px; border: 0; background: #001d31; border-radius: 8px; }

.dpa-feature { max-width: 1260px; margin: 0 auto 76px; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 82px); align-items: center; padding: clamp(34px, 6vw, 72px); border: 1px solid #e2d3c2; border-radius: 28px; background: linear-gradient(125deg, #fbf4e9 0%, #f4e4d4 60%, #efddd1 100%); position: relative; overflow: hidden; }
.dpa-feature::after { content: "$"; position: absolute; right: -24px; top: -90px; color: rgba(169,15,27,.055); font: 700 340px/1 Georgia, serif; transform: rotate(7deg); pointer-events: none; }
.dpa-copy { position: relative; z-index: 1; }
.dpa-copy h3 { max-width: 730px; margin: 0 0 16px; font: 500 clamp(34px, 4.4vw, 56px)/1.03 Georgia, serif; letter-spacing: -.035em; }
.dpa-copy > p:not(.eyebrow):not(.dpa-disclosure) { max-width: 700px; color: var(--muted); font-size: 16px; }
.dpa-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 25px; }
.dpa-disclosure { max-width: 740px; margin: 16px 0 0; color: #796f67; font-size: 10px; line-height: 1.55; }
.dpa-steps { position: relative; z-index: 1; display: grid; gap: 10px; }
.dpa-steps article { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 19px; border: 1px solid rgba(89,62,45,.12); border-radius: 16px; background: rgba(255,255,255,.8); box-shadow: 0 12px 26px rgba(77,51,35,.06); }
.dpa-steps article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #f7dfdc; color: var(--red); font: 700 16px Georgia, serif; }
.dpa-steps h4 { margin: 0 0 4px; font-size: 15px; }
.dpa-steps p { margin: 0; color: var(--muted); font-size: 12px; }

.payment-calculator { max-width: 1260px; margin: 0 auto 76px; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 22px 64px rgba(38,25,19,.08); }
.calculator-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.calculator-heading h3 { margin: 0; max-width: 720px; font: 500 clamp(34px, 4.4vw, 56px)/1.03 Georgia, serif; letter-spacing: -.035em; }
.calculator-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.calculator-layout { display: grid; grid-template-columns: 1.22fr .78fr; gap: 28px; align-items: start; }
.calculator-form { padding: 26px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); }
.calculator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calculator-fields label > span:first-child { display: block; margin-bottom: 7px; color: #4f4945; font-size: 12px; font-weight: 850; }
.calculator-fields label > small { display: block; margin: 5px 0 0 4px; color: var(--muted); font-size: 9px; }
.money-input, .suffix-input { display: grid !important; grid-template-columns: auto 1fr; align-items: center; background: white; border: 1px solid #d9d3ca; border-radius: 12px; overflow: hidden; }
.suffix-input { grid-template-columns: 1fr auto; }
.money-input:focus-within, .suffix-input:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(169,15,27,.12); }
.money-input b, .suffix-input b { padding: 0 0 0 13px; color: #736b65; font-size: 12px; }
.suffix-input b { padding: 0 13px 0 0; }
.money-input input, .suffix-input input { border: 0; border-radius: 0; box-shadow: none !important; padding-left: 7px; }
.suffix-input input { padding-left: 13px; }
.down-presets { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.down-presets > span { margin-right: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.down-presets button { border: 1px solid #d6cdc4; border-radius: 999px; background: white; padding: 7px 11px; color: var(--ink); font-size: 11px; font-weight: 850; cursor: pointer; }
.down-presets button:hover { border-color: var(--red); color: var(--red); }
.calculator-note { margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.calculator-results { position: sticky; top: 108px; padding: 30px; border-radius: 20px; background: linear-gradient(145deg, #171312, #2d2522); color: white; box-shadow: 0 20px 48px rgba(30,18,13,.18); }
.result-label { margin: 0; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; }
.payment-total { margin: 5px 0 0; font: 600 clamp(48px, 6vw, 72px)/1 Georgia, serif; letter-spacing: -.04em; }
.payment-total::after { content: " /mo"; color: #bfb7b1; font: 500 14px/1 Inter, sans-serif; letter-spacing: 0; }
.loan-summary { display: flex; justify-content: space-between; gap: 15px; margin: 14px 0 23px; padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.12); color: #c7beb8; font-size: 11px; }
.payment-breakdown { margin: 0 0 25px; }
.payment-breakdown div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.payment-breakdown dt { color: #b6ada7; font-size: 12px; }
.payment-breakdown dd { margin: 0; font-size: 12px; font-weight: 850; }
.result-disclaimer { margin: 12px 0 0; color: rgba(255,255,255,.48); font-size: 9px; text-align: center; line-height: 1.45; }

.area-guide { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-guide > * { padding: 34px 26px; }
.area-guide > * + * { border-left: 1px solid var(--line); }
.area-guide-heading { padding-left: 0; }
.area-guide-heading h3 { margin: 0; font: 500 32px/1.1 Georgia, serif; }
.area-number { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.area-guide article h4 { margin: 16px 0 8px; font: 600 23px Georgia, serif; }
.area-guide article p { min-height: 126px; margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.area-guide article button { border: 0; padding: 0; background: none; font-weight: 800; font-size: 13px; cursor: pointer; }
.area-guide article button span { color: var(--red); margin-left: 5px; }

.relocate-section { background: #161312; color: white; padding: 100px clamp(22px, 7vw, 112px); display: grid; grid-template-columns: 1fr 1.05fr .8fr; gap: clamp(34px, 5vw, 80px); align-items: center; }
.relocate-copy h2 { margin: 0; font: 500 clamp(38px, 4.5vw, 62px)/1 Georgia, serif; letter-spacing: -.035em; }
.relocate-copy > p:not(.eyebrow) { color: #bcb4ae; font-size: 16px; margin: 22px 0 28px; max-width: 570px; }
.move-steps { margin: 0; padding: 0; list-style: none; }
.move-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.move-steps li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.move-steps li > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); color: #f4b7ae; border-radius: 50%; font: 600 16px Georgia, serif; }
.move-steps h3 { margin: 0 0 5px; font-size: 16px; }
.move-steps p { margin: 0; color: #9f9893; font-size: 13px; }
.finance-card { background: #292321; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 28px; }
.finance-card h3 { margin: 0 0 10px; font: 500 26px Georgia, serif; }
.finance-card > p:not(.eyebrow) { color: #bcb4ae; font-size: 13px; }

footer { padding: 56px clamp(22px, 7vw, 112px) 28px; display: grid; grid-template-columns: 2fr .9fr .9fr 1.2fr; gap: 42px; background: var(--cream); }
.footer-brand img { width: 160px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 360px; }
footer h2 { margin: 0 0 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
footer a, footer button { display: block; margin: 8px 0; padding: 0; border: 0; background: none; color: var(--muted); text-decoration: none; text-align: left; cursor: pointer; }
footer a:hover, footer button:hover { color: var(--red); }
.legal { grid-column: 1 / -1; padding-top: 24px; margin: 0; border-top: 1px solid var(--line); color: #7a736d; font-size: 10px; }

.plan-dialog { width: min(720px, calc(100% - 28px)); max-height: min(88vh, 800px); border: 0; border-radius: 24px; padding: clamp(25px, 5vw, 46px); box-shadow: 0 30px 100px rgba(0,0,0,.35); overflow: auto; }
.plan-dialog::backdrop { background: rgba(15,10,8,.7); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); font-size: 24px; cursor: pointer; }
.dialog-intro h2 { margin: 0; font: 500 40px Georgia, serif; }
.dialog-intro > p:not(.eyebrow) { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan-dialog label { display: block; margin-top: 15px; }
.plan-dialog textarea { resize: vertical; }
.plan-dialog form .button { margin-top: 20px; }
.plan-dialog form .button:disabled { opacity: .65; cursor: wait; transform: none; }
.privacy-note { color: var(--muted); font-size: 11px; text-align: center; }
.request-result { text-align: center; }
.success-mark { display: grid; place-items: center; margin: 4px auto 14px; width: 58px; height: 58px; border-radius: 50%; background: #e2f1eb; color: var(--green); font-size: 27px; }
.request-result h3 { margin: 0; font: 600 30px Georgia, serif; }
.request-result > p { color: var(--muted); }
.request-result pre { white-space: pre-wrap; text-align: left; background: var(--cream); border: 1px solid var(--line); padding: 18px; border-radius: 14px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.result-actions { display: flex; gap: 10px; justify-content: center; margin: 18px 0; }
.request-result > .text-link { margin: 0 auto; }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: white; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 750; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.mobile-contact-bar { display: none; }

/* Agent directory and recruiting pages */
.inner-page main { background: var(--paper); }
.directory-hero { padding: clamp(70px, 9vw, 128px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 8vw, 120px); align-items: end; color: white; background: linear-gradient(125deg, #171312 0%, #322522 70%, #6d1018 150%); }
.directory-hero h1 { max-width: 880px; margin: 0; font: 500 clamp(48px, 7vw, 88px)/.98 Georgia, serif; letter-spacing: -.05em; }
.directory-hero > p { max-width: 520px; margin: 0 0 8px; color: rgba(255,255,255,.73); font-size: 18px; line-height: 1.7; }
.team-directory { padding: 88px clamp(22px, 7vw, 112px) 100px; }
.directory-heading { max-width: 1260px; margin: 0 auto 42px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
.directory-heading h2 { margin: 0; font: 500 clamp(36px, 4.6vw, 58px)/1.04 Georgia, serif; letter-spacing: -.04em; }
.directory-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.directory-tools { max-width: 1260px; margin: 0 auto 26px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.directory-tools label { width: min(520px, 100%); }
.directory-tools label > span { display: block; margin-bottom: 8px; color: #4f4945; font-size: 14px; font-weight: 800; }
.directory-tools input { min-height: 50px; background: white; }
.directory-tools p { margin: 0 0 13px; color: var(--muted); font-size: 14px; font-weight: 800; white-space: nowrap; }
.agent-card-grid { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.agent-directory-card { min-height: 138px; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 34px rgba(38,25,19,.06); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.agent-directory-card:hover { transform: translateY(-3px); border-color: rgba(169,15,27,.35); box-shadow: 0 18px 42px rgba(38,25,19,.1); }
.agent-directory-card[hidden] { display: none; }
.agent-directory-card h3 { margin: 0 0 9px; font: 600 23px/1.08 Georgia, serif; }
.agent-directory-card a { color: var(--red); font-size: 13px; font-weight: 850; letter-spacing: .035em; text-decoration: none; }
.agent-directory-card a:hover { color: var(--red-dark); text-decoration: underline; }
.agent-avatar, .agent-headshot { width: 82px; height: 94px; border-radius: 14px; }
.agent-avatar { display: grid; place-items: center; color: white; background: linear-gradient(145deg, #a90f1b, #65101a); font: 600 26px Georgia, serif; }
.agent-avatar.alt { background: linear-gradient(145deg, #263a43, #0e1d24); }
.agent-avatar.dark { background: linear-gradient(145deg, #3a302d, #171312); }
.agent-avatar.warm { background: linear-gradient(145deg, #a85b3d, #65261f); }
.agent-headshot { object-fit: cover; object-position: center; border: 1px solid #eee8e1; background: var(--cream); }
.featured-agent { border-color: rgba(169,15,27,.32); background: linear-gradient(135deg, #fff, #fff9f7); }
.directory-empty { max-width: 1260px; margin: 20px auto 0; padding: 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.directory-cta { max-width: 1260px; margin: 54px auto 0; padding: clamp(28px, 5vw, 55px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: white; background: var(--red); border-radius: 24px; }
.directory-cta h2 { max-width: 720px; margin: 0; font: 500 clamp(30px, 4vw, 48px)/1.05 Georgia, serif; }
.directory-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.recruiting-hero { min-height: 660px; padding: clamp(66px, 9vw, 120px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(48px, 8vw, 120px); align-items: center; color: white; background: linear-gradient(120deg, #13100f 0%, #241b19 65%, #4a0d13 130%); }
.recruiting-hero-copy h1 { max-width: 920px; margin: 0; font: 500 clamp(50px, 7vw, 90px)/.96 Georgia, serif; letter-spacing: -.052em; }
.recruiting-hero-copy > p:not(.eyebrow) { max-width: 780px; margin: 25px 0 30px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.7; }
.recruiting-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.recruiting-principles { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.055); }
.recruiting-principles > p { margin: 0 0 16px; color: #ffb9b1; font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.recruiting-principles ul { list-style: none; margin: 0; padding: 0; }
.recruiting-principles li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; font-weight: 700; }
.recruiting-principles li span { color: #ffb9b1; font: 600 14px Georgia, serif; }
.recruiting-details { padding: 92px clamp(22px, 7vw, 112px); }
.recruiting-section-heading { max-width: 950px; margin-bottom: 42px; }
.recruiting-section-heading h2 { margin: 0; font: 500 clamp(38px, 5.2vw, 66px)/1.02 Georgia, serif; letter-spacing: -.04em; }
.recruiting-section-heading > p:not(.eyebrow) { max-width: 780px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.recruiting-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.recruiting-value-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.recruiting-value-grid article > span { color: var(--red); font: 600 16px Georgia, serif; }
.recruiting-value-grid h3 { margin: 44px 0 8px; font: 600 26px Georgia, serif; }
.recruiting-value-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.recruiting-fit { margin-top: 64px; padding: clamp(30px, 5vw, 58px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 92px); color: white; background: #171312; border-radius: 24px; }
.recruiting-fit h2 { margin: 0; font: 500 clamp(34px, 4.2vw, 52px)/1.04 Georgia, serif; }
.recruiting-fit ul { list-style: none; margin: 0; padding: 0; }
.recruiting-fit li { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.recruiting-fit li > span { color: #ffb9b1; font-size: 18px; }
.recruiting-fit strong { font-size: 16px; }
.recruiting-fit li p { margin: 3px 0 0; color: #aaa19c; font-size: 14px; line-height: 1.55; }
.recruiting-interest { padding: 92px clamp(22px, 7vw, 112px); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(42px, 8vw, 110px); background: var(--cream); }
.interest-copy h2 { margin: 0; font: 500 clamp(38px, 5vw, 62px)/1.03 Georgia, serif; letter-spacing: -.04em; }
.interest-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.7; }
.interest-copy > a { color: var(--red); font-size: 15px; font-weight: 850; }
.interest-panel { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.interest-panel label { display: block; margin-top: 15px; }
.interest-panel label > span { display: block; margin-bottom: 7px; color: #4f4945; font-size: 14px; font-weight: 800; }
.interest-panel textarea { resize: vertical; }
.interest-panel form .button { margin-top: 20px; }
.recruit-result { text-align: center; }
.recruit-result h3 { margin: 0; font: 600 32px Georgia, serif; }
.recruit-result > p { color: var(--muted); }
.recruit-result pre { white-space: pre-wrap; text-align: left; background: var(--cream); border: 1px solid var(--line); padding: 18px; border-radius: 14px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Seller CMA request */
.cma-hero { min-height: 760px; padding: clamp(58px, 7vw, 96px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); gap: clamp(45px, 7vw, 100px); align-items: center; color: white; background: linear-gradient(125deg, #171312 0%, #2e2220 68%, #6d1018 150%); }
.cma-copy h1 { max-width: 720px; margin: 0; font: 500 clamp(50px, 6.5vw, 84px)/.97 Georgia, serif; letter-spacing: -.05em; }
.cma-copy > p:not(.eyebrow) { max-width: 680px; margin: 24px 0 28px; color: rgba(255,255,255,.73); font-size: 18px; line-height: 1.7; }
.cma-benefits { list-style: none; margin: 0; padding: 0; }
.cma-benefits li { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); }
.cma-benefits li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.cma-benefits li > span { color: #f4b7ae; font: 600 15px Georgia, serif; }
.cma-benefits strong { display: block; font-size: 16px; }
.cma-benefits p { margin: 3px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.5; }
.cma-form-panel { padding: clamp(25px, 4vw, 42px); border-radius: 24px; background: white; color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.cma-form-heading h2 { margin: 0; font: 600 clamp(32px, 4vw, 44px) Georgia, serif; }
.cma-form-heading > p:not(.eyebrow) { margin: 10px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cma-form-panel label { display: block; margin-top: 14px; }
.cma-form-panel label > span { display: block; margin-bottom: 7px; color: #4f4945; font-size: 14px; font-weight: 800; }
.cma-form-panel textarea { resize: vertical; }
.cma-form-panel form .button { margin-top: 20px; }
.cma-consent { display: grid !important; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.cma-consent input { width: 18px; min-height: 18px; margin: 3px 0 0; accent-color: var(--red); }
.cma-consent span { margin: 0 !important; font-size: 13px !important; font-weight: 650 !important; line-height: 1.5; }
.cma-website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #e9b7ba; border-radius: 10px; background: #fff0f1; color: #8b2028; font-size: 13px; font-weight: 750; }
.cma-form-panel button:disabled { opacity: .65; cursor: wait; transform: none; }
.cma-result { text-align: center; }
.cma-reference { display: inline-block; margin: 5px 0 16px; padding: 8px 12px; border-radius: 8px; background: var(--cream); color: var(--muted); font-size: 12px; font-weight: 850; }
.cma-expectations { padding: 88px clamp(22px, 7vw, 112px); background: var(--paper); }
.cma-expectations > div:first-child { max-width: 880px; }
.cma-expectations h2 { margin: 0 0 38px; font: 500 clamp(38px, 5vw, 62px)/1.03 Georgia, serif; letter-spacing: -.04em; }
.cma-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cma-step-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.cma-step-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cream); color: var(--red); font: 600 15px Georgia, serif; }
.cma-step-grid h3 { margin: 38px 0 9px; font: 600 25px Georgia, serif; }
.cma-step-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.cma-disclaimer { margin: 24px 0 0; color: var(--muted); font-size: 12px; }

/* About TJREG */
.about-hero { min-height: 700px; padding: clamp(68px, 8vw, 112px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(48px, 9vw, 140px); align-items: end; color: white; background: radial-gradient(circle at 86% 18%, rgba(169,15,27,.72), transparent 31%), linear-gradient(125deg, #161312 0%, #2d211f 63%, #610d14 145%); }
.about-hero h1 { max-width: 900px; margin: 0; font: 500 clamp(52px, 7vw, 92px)/.95 Georgia, serif; letter-spacing: -.055em; }
.about-hero h1 em { color: #f0b0a9; font-weight: 500; }
.about-hero > div > p:not(.eyebrow) { max-width: 760px; margin: 25px 0 30px; color: rgba(255,255,255,.73); font-size: 18px; line-height: 1.7; }
.about-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.about-proof { padding: 28px; border: 1px solid rgba(255,255,255,.17); border-radius: 20px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.about-proof span { display: block; color: #ffd2cc; font: 500 clamp(38px, 5vw, 58px) Georgia, serif; }
.about-proof strong { display: block; margin-top: 3px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.about-proof p { margin: 18px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.65; }
.about-story { padding: 104px clamp(22px, 7vw, 112px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); }
.about-story h2, .purpose-intro h2, .about-audiences h2 { margin: 0; font: 500 clamp(42px, 5.5vw, 68px)/1 Georgia, serif; letter-spacing: -.045em; }
.about-story-copy { max-width: 760px; }
.about-story-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.about-story-copy p:first-child { color: var(--ink); font-size: 21px; }
.about-purpose { padding: 96px clamp(22px, 7vw, 112px); color: white; background: var(--red); }
.purpose-intro { max-width: 960px; }
.purpose-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.purpose-grid article { padding: 32px; border-right: 1px solid rgba(255,255,255,.2); }
.purpose-grid article:last-child { border-right: 0; }
.purpose-grid article > span { color: #ffd2cc; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.purpose-grid h3 { margin: 32px 0 10px; font: 600 28px Georgia, serif; }
.purpose-grid p { margin: 0; color: rgba(255,255,255,.73); font-size: 15px; line-height: 1.7; }
.about-values { padding: 104px clamp(22px, 7vw, 112px); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--line); gap: 1px; }
.value-grid article { min-height: 230px; padding: 28px; background: white; }
.value-grid span { color: var(--red); font: 600 14px Georgia, serif; }
.value-grid h3 { margin: 58px 0 9px; font: 600 27px Georgia, serif; }
.value-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-audiences { padding: 96px clamp(22px, 7vw, 112px); display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 9vw, 145px); background: var(--cream); }
.audience-list { border-top: 1px solid #cfc5b9; }
.audience-list article { padding: 28px 0; border-bottom: 1px solid #cfc5b9; }
.audience-list h3 { margin: 0; font: 600 27px Georgia, serif; }
.audience-list p { margin: 9px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.audience-list a { color: var(--red); font-size: 13px; font-weight: 850; text-decoration: none; }
.about-cta { margin: clamp(28px, 5vw, 70px); padding: clamp(38px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; color: white; background: #171312; border-radius: 26px; }
.about-cta h2 { max-width: 850px; margin: 0; font: 500 clamp(38px, 5vw, 62px)/1 Georgia, serif; letter-spacing: -.04em; }
.about-cta p:not(.eyebrow) { margin: 16px 0 0; color: rgba(255,255,255,.67); font-size: 16px; }
.about-cta > div:last-child { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.lead-inbox { min-height: 70vh; padding: 72px clamp(22px, 7vw, 112px) 100px; background: var(--paper); }
.lead-inbox-heading { max-width: 1260px; margin: 0 auto 32px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.lead-inbox-heading h1 { margin: 0; font: 500 clamp(42px, 6vw, 70px)/1 Georgia, serif; letter-spacing: -.045em; }
.lead-inbox-heading p:not(.eyebrow) { max-width: 720px; margin: 15px 0 0; color: var(--muted); font-size: 15px; }
.lead-count { padding: 10px 14px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: 13px; font-weight: 850; }
.lead-load-error, .lead-list, .lead-empty { max-width: 1260px; margin-inline: auto; }
.lead-inbox-toolbar { max-width: 1260px; margin: 0 auto 18px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.lead-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.lead-filters button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 12px; font-weight: 850; cursor: pointer; }
.lead-filters button.active { border-color: var(--ink); background: var(--ink); color: white; }
.lead-notification { max-width: 1260px; margin: 0 auto 18px; padding: 13px 16px; border: 1px solid #e4c5a2; border-radius: 12px; background: #fff6e9; color: #704716; font-size: 13px; font-weight: 800; }
.lead-list { display: grid; gap: 16px; }
.lead-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 32px rgba(38,25,19,.05); }
.lead-card-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.lead-status { display: inline-block; margin-bottom: 7px; color: var(--green); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.lead-status.buyer { color: #245a9a; }
.lead-card h2 { margin: 0; font: 600 27px Georgia, serif; }
.lead-card-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.lead-card time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.lead-details { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.lead-details div { padding: 13px; background: var(--paper); }
.lead-details dt { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.lead-details dd { margin: 5px 0 0; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.lead-details a { color: var(--red); }
.lead-notes { margin-top: 18px; }
.lead-notes strong { font-size: 12px; }
.lead-notes p { margin: 5px 0 0; color: var(--muted); font-size: 14px; white-space: pre-wrap; }
.lead-empty { padding: 38px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }

/* Private agent photo review */
.review-hero { padding: clamp(68px, 8vw, 112px) clamp(22px, 7vw, 112px); display: grid; grid-template-columns: 1.25fr .65fr; gap: clamp(40px, 8vw, 120px); align-items: end; color: white; background: linear-gradient(125deg, #171312 0%, #322522 68%, #6d1018 145%); }
.review-hero h1 { max-width: 900px; margin: 0; font: 500 clamp(46px, 6.5vw, 82px)/.98 Georgia, serif; letter-spacing: -.05em; }
.review-hero-note { padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.06); }
.review-hero-note strong { display: block; color: #ffd0ca; font-size: 15px; line-height: 1.45; }
.review-hero-note p { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.6; }
.review-workspace { padding: 78px clamp(22px, 7vw, 112px) 100px; }
.review-intro { max-width: 1260px; margin: 0 auto 38px; display: grid; grid-template-columns: 1fr 380px; gap: clamp(34px, 7vw, 90px); align-items: end; }
.review-intro h2 { max-width: 820px; margin: 0; font: 500 clamp(35px, 4.5vw, 56px)/1.04 Georgia, serif; letter-spacing: -.04em; }
.review-intro > div > p:not(.eyebrow) { max-width: 900px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.approved-reference { display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid rgba(169,15,27,.24); border-radius: 18px; background: #fff9f7; }
.approved-reference img { width: 82px; height: 92px; border-radius: 13px; object-fit: cover; }
.approved-reference span { display: block; color: var(--green); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.approved-reference strong { display: block; margin: 5px 0; font: 600 21px Georgia, serif; }
.approved-reference small { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
.review-toolbar { position: sticky; z-index: 20; top: 78px; max-width: 1260px; margin: 0 auto 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.95); box-shadow: 0 14px 36px rgba(38,25,19,.08); backdrop-filter: blur(12px); }
.review-progress { min-width: 176px; }
.review-progress strong { display: block; font-size: 13px; }
.review-progress span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.review-filters { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.review-filters button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; background: white; color: var(--muted); font-size: 10px; font-weight: 850; cursor: pointer; }
.review-filters button:hover, .review-filters button.active { border-color: var(--ink); background: var(--ink); color: white; }
.review-toolbar-actions { display: flex; align-items: center; gap: 12px; }
.review-toolbar-actions .button { min-height: 42px; padding: 0 16px; white-space: nowrap; }
.text-button { padding: 6px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 800; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.photo-review-grid { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.photo-review-card { display: grid; grid-template-columns: 156px minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 308px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 12px 34px rgba(38,25,19,.06); }
.photo-review-card[hidden] { display: none; }
.candidate-photo-wrap { position: relative; min-height: 238px; background: #eee9e3; overflow: hidden; }
.candidate-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.confidence-badge { position: absolute; inset: auto 10px 10px; display: block; padding: 7px 8px; border-radius: 8px; color: white; background: rgba(23,19,18,.88); font-size: 8px; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .07em; backdrop-filter: blur(5px); }
.confidence-badge.high::before { content: "✓ "; color: #9ee0be; }
.source-preview { display: grid; place-items: center; align-content: center; gap: 9px; color: white; background: linear-gradient(145deg, #372c29, #171312); }
.candidate-initials { font: 600 48px Georgia, serif; }
.source-preview-label { color: rgba(255,255,255,.62); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.candidate-copy { min-width: 0; padding: 21px; display: flex; flex-direction: column; }
.candidate-source-type { margin: 0 0 5px; color: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.candidate-copy h3 { margin: 0; font: 600 25px/1.06 Georgia, serif; }
.candidate-dre { margin: 6px 0 0; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .03em; }
.match-note { margin: 16px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.source-links { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: auto; }
.source-link { margin-top: auto; color: var(--red); font-size: 11px; font-weight: 850; text-decoration: none; }
.source-link:hover { color: var(--red-dark); text-decoration: underline; }
.source-link.secondary { color: var(--muted); }
.review-decision { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.review-decision button { min-height: 52px; border: 0; border-right: 1px solid var(--line); background: #fff; color: #6d6560; font-size: 10px; font-weight: 900; cursor: pointer; }
.review-decision button:last-child { border-right: 0; }
.review-decision button:hover { background: var(--cream); color: var(--ink); }
.review-decision button[data-review-status="approved"].selected { background: #def2e7; color: #175e3d; }
.review-decision button[data-review-status="confirm"].selected { background: #fff0d9; color: #7b4a00; }
.review-decision button[data-review-status="rejected"].selected { background: #f4e2e2; color: #8b2028; }
.review-empty { max-width: 1260px; margin: 18px auto 0; padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.review-next-step { max-width: 1260px; margin: 50px auto 0; padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; color: white; background: var(--red); border-radius: 24px; }
.review-next-step h2 { max-width: 760px; margin: 0; font: 500 clamp(30px, 4vw, 47px)/1.05 Georgia, serif; }
.review-next-step p:not(.eyebrow) { max-width: 780px; margin: 14px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-actions { display: none; }
  .menu-button { display: grid; gap: 4px; justify-self: end; border: 0; background: transparent; padding: 8px; cursor: pointer; }
  .menu-button span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .mobile-nav { position: absolute; top: 76px; right: 20px; width: min(300px, calc(100vw - 40px)); padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a, .mobile-nav button { padding: 12px; text-decoration: none; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 700; }
  .hero { grid-template-columns: 1fr .72fr; gap: 42px; padding-inline: 5vw; }
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { flex-wrap: wrap; }
  .area-pills { flex-basis: 100%; overflow-x: auto; padding-bottom: 3px; }
  .area-guide { grid-template-columns: 1fr 1fr; }
  .area-guide > *:nth-child(3) { border-left: 0; }
  .area-guide > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .relocate-section { grid-template-columns: 1fr 1fr; }
  .finance-card { grid-column: 1 / -1; }
  .directory-hero, .directory-heading, .recruiting-hero, .recruiting-fit, .recruiting-interest, .review-hero, .review-intro, .cma-hero, .about-hero, .about-story, .about-audiences { grid-template-columns: 1fr; }
  .agent-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recruiting-value-grid { grid-template-columns: 1fr; }
  .cma-form-panel { max-width: 820px; }
  .review-toolbar { position: static; grid-template-columns: 1fr; }
  .review-filters { justify-content: flex-start; }
  .review-toolbar-actions { justify-content: flex-start; }
  .about-proof { max-width: 620px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .site-header { height: 74px; padding-inline: 18px; }
  .brand img { width: 112px; height: 48px; }
  .brand-rule { margin: 0 11px; height: 28px; }
  .brand-name { font-size: 12px; max-width: 80px; }
  .mobile-nav { top: 66px; }
  .hero { grid-template-columns: 1fr; min-height: unset; padding: 64px 20px 38px; background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(16,10,8,.88), rgba(16,10,8,.57)); }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-copy { font-size: 16px; }
  .trust-row { margin-top: 36px; }
  .quick-finder { margin-top: 8px; }
  .discover-section { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2 { font-size: 43px; }
  .filter-bar { padding: 11px; }
  .compact-select { min-width: calc(50% - 6px); flex: 1; }
  .saved-button { width: 100%; }
  .results-meta { align-items: flex-start; gap: 12px; }
  .status-key { text-align: right; }
  .home-grid { grid-template-columns: 1fr; }
  .card-image { height: 235px; }
  .live-portal-card { grid-template-columns: 1fr; }
  .qr-wrap { width: 136px; }
  .new-construction-feature { grid-template-columns: 1fr; }
  .widget-shell iframe { height: 500px; }
  .dpa-feature { grid-template-columns: 1fr; }
  .calculator-heading, .calculator-layout { grid-template-columns: 1fr; }
  .calculator-results { position: static; }
  .area-guide { grid-template-columns: 1fr; }
  .area-guide > * { padding-inline: 0; }
  .area-guide > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .area-guide article p { min-height: unset; }
  .relocate-section { grid-template-columns: 1fr; }
  .finance-card { grid-column: auto; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .result-actions { flex-direction: column; }
  .mobile-contact-bar { position: fixed; z-index: 95; inset: auto 0 0; height: 66px; display: grid; grid-template-columns: 1fr 1fr 1fr; background: white; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(30,20,16,.1); }
  .mobile-contact-bar a, .mobile-contact-bar button { display: grid; place-items: center; border: 0; background: white; color: var(--ink); text-decoration: none; font-weight: 850; cursor: pointer; }
  .mobile-contact-bar a { font-size: 12px; }
  .mobile-contact-bar button { background: var(--red); color: white; }
  .toast { bottom: 82px; }
  .widget-shell { padding: 8px; }
  .widget-shell iframe { height: 560px; }
  .payment-calculator { padding-inline: 18px; }
  .calculator-fields { grid-template-columns: 1fr; }
  .calculator-form, .calculator-results { padding: 22px 18px; }
  .directory-hero { padding-block: 64px; }
  .directory-hero h1, .recruiting-hero-copy h1 { font-size: clamp(46px, 14vw, 64px); }
  .directory-heading { gap: 18px; }
  .directory-tools { align-items: stretch; flex-direction: column; gap: 8px; }
  .directory-tools p { margin: 0; }
  .agent-card-grid { grid-template-columns: 1fr; }
  .agent-directory-card { min-height: 126px; grid-template-columns: 72px minmax(0, 1fr); padding: 18px; }
  .agent-avatar, .agent-headshot { width: 72px; height: 84px; }
  .agent-directory-card h3 { font-size: 21px; }
  .directory-cta { grid-template-columns: 1fr; }
  .directory-cta-actions { justify-content: flex-start; }
  .recruiting-hero { min-height: auto; padding-block: 64px; }
  .recruiting-details, .recruiting-interest, .team-directory { padding-block: 68px; }
  .recruiting-fit { margin-top: 44px; }
  .mobile-contact-bar .mobile-primary-link { background: var(--red); color: white; }
  .review-hero { padding-block: 62px; }
  .review-hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .review-workspace { padding-block: 64px; }
  .approved-reference { grid-template-columns: 70px 1fr; }
  .approved-reference img { width: 70px; height: 80px; }
  .review-toolbar-actions { align-items: flex-start; flex-direction: column; }
  .photo-review-grid { grid-template-columns: 1fr; }
  .photo-review-card { grid-template-columns: 122px minmax(0, 1fr); min-height: 288px; }
  .candidate-photo-wrap { min-height: 218px; }
  .candidate-copy { padding: 17px; }
  .candidate-copy h3 { font-size: 22px; }
  .match-note { font-size: 11px; }
  .review-decision button { padding: 7px; font-size: 9px; }
  .review-next-step { grid-template-columns: 1fr; }
  .cma-hero { min-height: auto; padding-block: 62px; }
  .cma-copy h1 { font-size: clamp(46px, 14vw, 64px); }
  .cma-copy > p:not(.eyebrow) { font-size: 16px; }
  .cma-form-panel { padding: 24px 18px; }
  .cma-expectations { padding-block: 68px; }
  .cma-step-grid { grid-template-columns: 1fr; }
  .lead-inbox-heading { grid-template-columns: 1fr; }
  .lead-count { justify-self: start; }
  .lead-card-heading { flex-direction: column; gap: 10px; }
  .lead-details { grid-template-columns: 1fr 1fr; }
  .purpose-grid, .value-grid { grid-template-columns: 1fr; }
  .purpose-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .purpose-grid article:last-child { border-bottom: 0; }
  .about-hero { min-height: auto; padding-block: 62px; }
  .about-hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .about-story, .about-purpose, .about-values, .about-audiences { padding-block: 68px; }
  .about-story-copy p:first-child { font-size: 19px; }
  .about-cta { margin: 18px; grid-template-columns: 1fr; }
  .about-cta > div:last-child { justify-content: flex-start; }
  .lead-inbox-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
.pond-access { padding: 12px 16px; border-left: 3px solid var(--red); background: #fff; }
.pond-controls {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0;}
.pond-controls label,.lead-card form>label {display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;}
.pond-controls input,.pond-controls select,.lead-card textarea {width:100%;min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font-size:16px;}
.pond-actions {display:flex;gap:16px;margin-top:16px;align-items:center;flex-wrap:wrap;}
.pond-actions button {min-height:44px;cursor:pointer;}.pond-actions button:disabled{opacity:.6;cursor:wait;}
.pond-due{color:var(--red-dark);font-weight:700;}.pond-rules{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:12px;}.pond-rules summary{cursor:pointer;font-weight:700;}
.lead-card p,.lead-card a,.lead-card-heading strong{overflow-wrap:anywhere;}
@media(max-width:800px){.pond-controls{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.pond-controls{grid-template-columns:1fr;}.lead-card-heading{flex-direction:column;gap:12px;}}

/* Keep the full desktop navigation comfortable before switching to the menu. */
@media (min-width: 1121px) and (max-width: 1400px) {
  .site-header { gap: 16px; padding-inline: 24px; grid-template-columns: 270px 1fr auto; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a, .nav-company summary { font-size: 13px; }
  .header-actions { gap: 10px; }
  .header-phone { font-size: 12px; }
  .header-cta { padding: 12px 16px; }
}
.mobile-nav { max-height: calc(100dvh - 100px); overflow-y: auto; }
:focus-visible { outline: 3px solid #a90f1b; outline-offset: 4px; }
