/* ===================================================================
   The Anchor Point Group — Coastal-luxury design system
   Fraunces (display) + Mulish (body) · navy / slate / brass-gold
   =================================================================== */

:root {
  --navy:      #122844;
  --navy-2:    #0d1f36;
  --navy-3:    #1b3457;
  --slate:     #5b6f96;
  --slate-2:   #44567c;
  --slate-tint:#8595b4;
  --logo:      #4c6084;
  --gold:      #b6924f;
  --gold-2:    #c9a763;
  --sand:      #f3ede2;
  --cream:     #faf7f1;
  --ink:       #1f2834;
  --body:      #45505f;
  --muted:     #79828f;
  --line:      #e6dfd2;
  --line-2:    #d8cfbe;
  --white:     #ffffff;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --wrap-narrow: 880px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(18,40,68,.08);
  --shadow: 0 14px 40px -18px rgba(18,40,68,.32);
  --shadow-lg: 0 30px 70px -28px rgba(18,40,68,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--slate-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 800;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1rem;
}
.eyebrow::before { content:""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-2); }
.eyebrow.no-line { gap: 0; }
.eyebrow.no-line::before { display: none; }

/* Embedded IDX / RealScout map */
.idx-map { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.idx-map iframe { display: block; width: 100%; height: 2000px; border: 0; }
@media (max-width: 640px){ .idx-map iframe { height: 1600px; } }

.lead { font-size: 1.18rem; color: var(--ink); line-height: 1.65; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.sand { background: var(--sand); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: #d6deec; }
.section.tight { padding-top: clamp(40px,5vw,64px); padding-bottom: clamp(40px,5vw,64px); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section.navy h2, .section.navy h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 34px; border-radius: var(--radius);
  transition: all .25s var(--ease); cursor: pointer; border: 1.5px solid transparent;
  line-height: 1;
}
.btn .ar { transition: transform .25s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a07e3e; color: #fff; box-shadow: 0 12px 26px -12px rgba(182,146,79,.7); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 12px 22px; font-size: .74rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-2); color: #c2cde0; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 18px; }
.topbar a { color: #c2cde0; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; align-items: center; gap: 26px; }
.topbar-links .sep { opacity: .3; }
.topbar-phone { font-weight: 800; letter-spacing: .03em; color: #fff; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; justify-content: center; font-size: .72rem; }
.topbar-social a:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; transition: box-shadow .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(18,40,68,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--navy); }
.brand:hover { color: var(--navy); }
/* Horizontal logo lockup: anchor left, wordmark right (matches brand mark) */
.lockup { display: flex; align-items: center; gap: 13px; color: var(--logo); }
.lockup--light { color: #fff; }
.lockup-anchor { width: 52px; height: auto; flex: 0 0 auto; display: block; }
.lockup-words { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.lk-the { font-family: 'Pinyon Script', cursive; font-size: 1.6rem; line-height: .5; color: currentColor; margin: 0 0 1px 8px; }
.lk-anchor { font-family: 'Cinzel', serif; font-weight: 600; font-size: 1.5rem; letter-spacing: .05em; -webkit-text-stroke: 1.25px currentColor; -webkit-text-fill-color: transparent; }
.lk-sub { font-family: 'Cinzel', serif; font-weight: 600; font-size: .66rem; letter-spacing: .2em; -webkit-text-stroke: .6px currentColor; -webkit-text-fill-color: transparent; margin-top: 5px; }

/* nav */
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); padding: 32px 16px;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.open > a,
.primary-nav > ul > li > a.is-active { color: var(--gold); }
.primary-nav > ul > li > a.is-active { position: relative; }
.primary-nav > ul > li > a.is-active::after { content:""; position:absolute; left:16px; right:16px; bottom:24px; height:2px; background: var(--gold); }
.primary-nav .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.primary-nav li.open .caret { transform: rotate(225deg) translateY(-2px); }
.nav-cta { color: #fff !important; background: var(--gold); border-radius: var(--radius); padding: 13px 22px !important; margin-left: 10px; }
.nav-cta:hover { background: #a07e3e; }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: var(--shadow); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 30px; opacity: 0; visibility: hidden; transition: all .26s var(--ease); z-index: 210;
}
.primary-nav li.has-mega:hover .mega,
.primary-nav li.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-single { min-width: 280px; }
.mega-wide { width: min(880px, 90vw); display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.mega-col h5 { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-col ul li { margin-bottom: 2px; }
.mega-col a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: var(--radius); font-size: .92rem; font-weight: 600; color: var(--ink); }
.mega-col a:hover { background: var(--sand); color: var(--gold); padding-left: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content:""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,31,54,.55) 0%, rgba(13,31,54,.35) 40%, rgba(13,31,54,.75) 100%); }
.hero-inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 60px 28px; text-align: center; }
.hero .eyebrow { color: var(--gold-2); justify-content: center; }
.hero h1 { color: #fff; max-width: 22ch; margin: 0 auto .5rem; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-sub { font-size: 1.2rem; color: #e7ecf4; max-width: 60ch; margin: 0 auto 2.2rem; font-weight: 300; }
.hero-logo { width: 180px; margin: 0 auto 1.6rem; }
.hero-logo img { width: 100%; filter: brightness(0) invert(1); }

/* ---------- MLS search placeholder ---------- */
.searchbar {
  background: rgba(255,255,255,.97); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 12px; max-width: 940px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px;
}
.searchbar .field { display: flex; flex-direction: column; text-align: left; padding: 6px 14px; border-right: 1px solid var(--line); }
.searchbar .field:last-of-type { border-right: none; }
.searchbar label { font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.searchbar select, .searchbar input { border: none; background: none; font-family: var(--font-body); font-size: .95rem; color: var(--ink); font-weight: 600; outline: none; width: 100%; }
.searchbar .btn { white-space: nowrap; }
.search-note { text-align: center; font-size: .8rem; color: #e7ecf4; margin-top: 14px; opacity: .85; }
.hero-search { display: flex; justify-content: center; margin-top: 6px; }
.hero-search realscout-simple-search { max-width: 100%; }

/* generic embed placeholder block */
.embed-slot {
  border: 2px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--cream);
  padding: 56px 30px; text-align: center; color: var(--muted);
}
.embed-slot .ico { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--slate); }
.embed-slot h3 { color: var(--ink); margin-bottom: .5rem; }
.embed-slot code { background: #fff; border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; font-size: .82rem; color: var(--slate-2); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; background: var(--navy); color: #fff; padding: 64px 0 56px; isolation: isolate; overflow: hidden; }
.page-banner.has-img::after { content:""; position: absolute; inset:0; z-index:-1; background: linear-gradient(90deg, rgba(13,31,54,.92), rgba(13,31,54,.62)); }
.page-banner-bg { position: absolute; inset: 0; z-index: -2; }
.page-banner-bg img { width:100%; height:100%; object-fit: cover; }
.page-banner h1 { color: #fff; }
.page-banner .eyebrow { color: var(--gold-2); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #aab8d0; margin-top: 14px; }
.breadcrumb a { color: #aab8d0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* property card */
.prop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prop-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop-media img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.06); }
.prop-tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 3px; }
.prop-tag.gold { background: var(--gold); }
.prop-price { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(13,31,54,.92), transparent); color: #fff; padding: 30px 18px 14px; }
.prop-price .loc { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #cdd7e8; }
.prop-price .amt { font-family: var(--font-display); font-size: 1.5rem; }
.prop-body { padding: 16px 18px; display: flex; justify-content: space-between; font-size: .86rem; color: var(--body); border-top: 1px solid var(--line); }
.prop-body span b { color: var(--ink); display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* area card */
.area-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.area-card::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13,31,54,.85) 0%, rgba(13,31,54,.15) 55%, rgba(13,31,54,.35) 100%); transition: background .3s; }
.area-card:hover img { transform: scale(1.07); }
.area-card-body { padding: 26px 24px; width: 100%; }
.area-card .ex { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); font-weight: 800; }
.area-card h3 { color: #fff; font-size: 1.7rem; margin: 4px 0 0; }
.area-card .go { font-size: .8rem; letter-spacing: .08em; color: #dfe6f1; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); display: inline-flex; gap: 6px; }
.area-card:hover .go { opacity: 1; transform: translateY(0); }

/* feature / icon cards */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .ficon { width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature .ficon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature p { font-size: .96rem; margin: 0; }

/* lifestyle / link card */
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(0deg, rgba(13,31,54,.9), rgba(13,31,54,.12) 70%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { padding: 30px 28px; }
.tile h3 { color: #fff; font-size: 1.55rem; }
.tile p { color: #d7deea; font-size: .92rem; margin: .4rem 0 0; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3rem); color: var(--gold); line-height: 1; }
.stat span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.section.navy .stat span { color: #9fb0cc; }

/* ---------- Split / media-text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,72px); align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-media.framed { position: relative; }
.split-media.framed::before { content:""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }

/* Paired team photos (Joe & Jarrett together) */
.team-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-duo figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.team-duo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 20%; display: block; }
.team-duo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; background: linear-gradient(0deg, rgba(13,31,54,.85), transparent); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-align: center; }
.team-duo figcaption span { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-top: 2px; }
.team-duo--frame { position: relative; }
.team-duo--frame::before { content:""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }

/* checklist */
.checklist { display: grid; gap: 14px; margin: 1.5rem 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; }
.checklist .ck { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .7rem; margin-top: 3px; }
.checklist b { color: var(--ink); }

/* prose */
.prose h2 { margin: 2.2rem 0 1rem; }
.prose h3 { margin: 1.8rem 0 .7rem; color: var(--navy); }
.prose p { margin-bottom: 1.2rem; }
.prose ul.bullets { margin: 0 0 1.4rem; display: grid; gap: 8px; }
.prose ul.bullets li { position: relative; padding-left: 26px; }
.prose ul.bullets li::before { content:""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 1.6rem 0; font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); font-style: italic; line-height: 1.4; }

/* ---------- Agent bio ---------- */
.agent-hero { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.agent-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy), var(--slate)); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.agent-photo img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; }
.agent-card-media { position: relative; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy), var(--slate)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.agent-card-media img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; }
.agent-card-media .agent-initials { font-size: 3.4rem; }
.agent-initials { font-family: var(--font-display); font-size: 5rem; color: rgba(255,255,255,.85); }
.agent-meta { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.agent-meta .row { display: flex; justify-content: space-between; padding: 13px 18px; font-size: .92rem; border-bottom: 1px solid var(--line); }
.agent-meta .row:last-child { border-bottom: none; }
.agent-meta .row b { color: var(--ink); }
.agent-role { color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; height: 100%; position: relative; }
.quote-card .mark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--gold); opacity: .35; }
.quote-card p { font-size: 1rem; color: var(--body); }
.quote-card .who { margin-top: 18px; font-weight: 800; color: var(--ink); font-size: .9rem; letter-spacing: .04em; }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-feature { text-align: center; max-width: 820px; margin: 0 auto; }
.testimonial-feature p { font-family: var(--font-display); font-size: clamp(1.3rem,2.4vw,1.9rem); font-style: italic; color: #fff; line-height: 1.45; }
.testimonial-feature .who { color: var(--gold-2); margin-top: 22px; font-style: normal; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; font-weight: 800; }

/* ---------- Lead form (no modal, ever) ---------- */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow); }
.lead-form.on-navy { box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field-group input, .field-group select, .field-group textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182,146,79,.15); background: #fff;
}
.field-group textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 6px 0 18px; line-height: 1.5; }
.consent input { margin-top: 3px; flex: 0 0 auto; }
.form-note { font-size: .76rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display:none; background: #eef6ee; border: 1px solid #cfe6cf; color: #2c6b34; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: .92rem; }

/* ---------- CTA band ---------- */
/* CTA sits on a light band with a navy box, to break up stacked navy sections */
.cta-band { background: #fff; text-align: center; padding: clamp(48px,7vw,92px) 0; }
.cta-band > .wrap { position: relative; isolation: isolate; overflow: hidden; background: var(--navy);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(44px,6vw,78px) clamp(26px,5vw,60px); }
.cta-band > .wrap::before { content:""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(circle at 20% 20%, rgba(91,111,150,.4), transparent 45%),
  radial-gradient(circle at 85% 80%, rgba(182,146,79,.22), transparent 45%); }
.cta-band h2 { color: #fff; max-width: 20ch; margin: 0 auto 1rem; }
.cta-band p { color: #cdd7e8; max-width: 56ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #9cadc6; font-size: .92rem; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; max-width: 32ch; }
.footer-col h5 { color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #9cadc6; font-size: .92rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 16px; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #9cadc6; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #76859e; }
.footer-bottom a { color: #76859e; }
.footer-bottom a:hover { color: #fff; }
.footer-disclaimer { font-size: .74rem; color: #5f6f88; line-height: 1.6; padding-bottom: 26px; max-width: 100%; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 260; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); transition: all .3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(13,31,54,.5); z-index: 190; opacity: 0; transition: opacity .3s; }
.nav-overlay.show { opacity: 1; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.pill { display:inline-block; background: var(--sand); color: var(--slate-2); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .agent-hero { grid-template-columns: 300px 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: 0; right: -100%; width: min(380px, 88vw); height: 100vh;
    background: #fff; flex-direction: column; padding: 90px 24px 40px; overflow-y: auto;
    transition: right .35s var(--ease); z-index: 200; box-shadow: -10px 0 40px -10px rgba(0,0,0,.3);
  }
  .primary-nav.open { right: 0; }
  .nav-overlay { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav > ul > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-cta { margin: 16px 0 0; justify-content: center; }
  .mega { position: static; transform: none; box-shadow: none; border: none; border-top: none; padding: 0 0 8px 14px; opacity: 1; visibility: visible; width: auto !important; display: none; }
  .mega-wide { grid-template-columns: 1fr; gap: 14px; }
  .primary-nav li.open .mega { display: block; }
  .primary-nav li.has-mega .caret { pointer-events: none; }
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .field { border-right: none; border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .agent-hero { grid-template-columns: 1fr; }
  .agent-photo { max-width: 320px; }
  .cols-4 { grid-template-columns: repeat(2,1fr); }
  .cols-3 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar-links { gap: 14px; }
  .topbar .topbar-left { display: none; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lockup-anchor { width: 40px; }
  .lk-the { font-size: 1.3rem; }
  .lk-anchor { font-size: 1.32rem; }
  .lk-sub { font-size: .58rem; }
  .hero { min-height: 80vh; }
}
