:root {
  --navy: #0d2d6c;
  --bay: #16457d;
  --slate: #455975;
  --silver: #d8dedb;
  --pearl: #eef1ec;
  --white: #fbfaf7;
  --gold: #b69a68;
}

html { scroll-behavior: smooth; }
body { background: var(--white); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.72; }
h1, h2, h3 { font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; }
h1 { letter-spacing: -.04em; }
h2 { letter-spacing: -.028em; }
a { transition: color .2s ease; }

.topline { padding-block: 9px; background: var(--navy); font-size: 13px; letter-spacing: .12em; line-height: 1.35; }
.header { position: relative; max-width: none; padding: 14px max(5%, calc((100vw - 1190px)/2)); background: #fff; box-shadow: 0 1px 0 rgba(13,45,108,.12); z-index: 20; }
.brand { display: inline-flex; align-items: center; margin: 0; }
.brand-logo { display: block; width: 280px; height: auto; max-width: 100%; }
.nav { gap: clamp(15px, 2.1vw, 34px); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 650; }
.nav a:not(.button) { position: relative; }
.nav a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--gold); transition: right .2s ease; }
.nav a:not(.button):hover::after { right: 0; }
.button { min-height: 50px; padding: 12px 25px; border-radius: 2px; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--bay); }
.eyebrow { color: var(--navy); font-size: 13px; letter-spacing: .15em; font-weight: 750; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; margin: 0 12px 4px 0; background: var(--gold); }
.text-link { display: inline-block; margin-top: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--gold); text-decoration: none; font-size: 15px; font-weight: 650; letter-spacing: .02em; }

.hero { position: relative; display: block; max-width: none; min-height: 670px; padding: 0 5%; overflow: hidden; color: #fff; background: var(--navy); }
.hero figure { position: absolute; inset: 0; margin: 0; min-height: 0; z-index: 0; }
.hero img:not(.byline-avatar) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,23,56,.91) 0%, rgba(7,23,56,.70) 35%, rgba(7,23,56,.20) 77%, rgba(7,23,56,.05) 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 1190px; min-height: 670px; margin: auto; padding: 105px 0 65px; }
.hero .eyebrow { color: #efe3c9; }
.hero h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(4rem, 6.4vw, 6.7rem); line-height: 1.03; text-shadow: 0 2px 16px rgba(0,0,0,.12); }
.hero h1 em { color: #e7d9bd; }
.hero-copy>p:not(.eyebrow) { max-width: 530px; color: #f1eee8; font-size: 18px; line-height: 1.7; }
.hero .actions { margin-top: 34px; gap: 24px; }
.hero .actions .button { color: var(--navy); background: #f8f5ee; border-color: #f8f5ee; }
.hero .actions .button:hover { background: #e9ddc6; }
.hero .actions>a:not(.button) { color: white; text-decoration-color: var(--gold); text-underline-offset: 7px; font-size: 14px; }
.hero .byline { margin-top: 55px; color: white; }
.hero .byline small { color: #eee9e0; font-size: 13px; }
.hero .byline-avatar { position: static; display: block; width: 54px; height: 54px; flex: none; object-fit: cover; object-position: center 18%; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; background: white; }
.hero .photo-caption { position: absolute; z-index: 2; left: auto; right: 5%; bottom: 22px; display: flex; align-items: center; gap: 14px; padding: 11px 14px; color: #fff; background: rgba(8,28,63,.68); backdrop-filter: blur(8px); border-left: 2px solid var(--gold); font-size: 13px; letter-spacing: .06em; }
.photo-caption small { font-size: 13px; color: #ddd8d0; letter-spacing: .02em; text-transform: none; }

.strip { border-bottom: 1px solid var(--silver); border-top: 0; padding-block: 24px; color: var(--bay); font-size: 14px; font-weight: 650; letter-spacing: .07em; flex-wrap: wrap; justify-content: space-around; row-gap: 8px; }
.strip span { white-space: nowrap; }
.section { padding-block: clamp(72px, 7vw, 118px); }
.split { gap: clamp(45px, 8vw, 120px); }
.section-head { margin-bottom: 42px; padding-bottom: 22px; border-bottom: 1px solid var(--silver); }
.section-head h2 { font-size: clamp(2.6rem, 4vw, 4rem); }
.photo-portrait { position: relative; display: block; width: 100%; min-height: 0; aspect-ratio: 4/4.8; padding: 0; border: 0; outline: 0; background: linear-gradient(145deg, #eef2f3 0%, #e0e8eb 65%, #d5e0e5 100%); overflow: visible; }
.photo-portrait::before { content: ""; position: absolute; inset: 20px -17px -20px 17px; z-index: 0; border: 1px solid var(--gold); }
.photo-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; background: transparent; }

.cards { gap: 42px 25px; }
.card { padding-bottom: 22px; border-color: var(--silver); transition: transform .25s ease; }
.card:hover { transform: translateY(-4px); }
.card h3 { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; font-size: 1.65rem; }
.card h3 span { color: var(--gold); }
.card p { line-height: 1.55; }
.tile, .card:nth-child(3n+2) .tile, .card:nth-child(3n) .tile { position: relative; display: block; min-height: 0; aspect-ratio: 1.36; margin-bottom: 19px; padding: 0; background: #d9e0df; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(0deg, rgba(7,24,55,.48), transparent); pointer-events: none; }
.tile img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.card:hover .tile img { transform: scale(1.055); filter: saturate(1.08); }
.tile span { position: absolute; z-index: 2; right: 15px; bottom: 5px; color: #fff; opacity: .88; font-size: 2.6rem; line-height: 1; }
.image-note { margin: 22px 0 0; color: #68778c; font-size: 13px; letter-spacing: .02em; }

.listing-band { color: white; background: linear-gradient(115deg, #0b2557, #123c78); }
.listing-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; padding-top: 64px; padding-bottom: 64px; }
.listing-inner>div { max-width: 720px; }
.listing-band .eyebrow { color: #e6d5b6; margin-bottom: 18px; }
.listing-band h2 { margin-bottom: 14px; font-size: clamp(2.3rem, 3.5vw, 3.7rem); }
.listing-band p:not(.eyebrow) { max-width: 600px; margin: 0; color: #e4eaf1; }
.listing-band .button { flex: none; background: #f7f4ec; border-color: #f7f4ec; color: var(--navy); }
.listing-band .button:hover { background: #e8dac0; }

.sold-properties .section-head { display: block; }
.sold-properties .section-head h2 { margin: 0 0 10px; }
.sold-properties .section-head p:last-child { margin: 0; color: var(--slate); }
.sold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sold-card { min-width: 0; }
.sold-card>a { display: flex; flex-direction: column; min-height: 300px; height: 100%; border: 1px solid var(--silver); color: var(--navy); background: #fff; text-decoration: none; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sold-card>a:hover, .sold-card>a:focus-visible { border-color: var(--gold); box-shadow: 0 14px 32px rgba(13,45,108,.1); transform: translateY(-3px); }
.sold-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--pearl); }
.sold-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,45,98,.04), rgba(16,45,98,.09)); pointer-events: none; }
.sold-card-photo { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(.98); }
.sold-card--tangle-pines .sold-card-photo { object-position: center top; }
.sold-card-banner { position: absolute; z-index: 1; top: 0; left: 0; right: 0; padding: 11px 16px; border-bottom: 2px solid var(--gold); color: #fff; background: rgba(16,45,98,.94); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.sold-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.sold-card-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.sold-card-number { color: var(--gold); font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: 1.9rem; line-height: 1; }
.sold-badge { padding: 5px 9px; border: 1px solid var(--silver); background: var(--pearl); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.sold-card h3 { margin: 37px 0 6px; font-size: clamp(1.6rem, 2vw, 2.05rem); line-height: 1.2; }
.sold-card h3 sup { margin-left: 2px; font-size: .55em; }
.sold-card p { margin: 0 0 25px; color: var(--slate); font-size: 15px; }
.sold-card-link { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--silver); font-size: 13px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.sold-card-link span { margin-left: .5em; color: var(--gold); font-size: 18px; }
.sold-image-footnote { margin: 16px 0 0; color: var(--slate); font-size: 12px; line-height: 1.5; }

.pearl { background: #eef1ec; }
.navy { background: #102d62; }
.feature-photo { height: 540px; object-fit: cover; }
.credit { margin: 12px 0 0; font-size: 13px; }
.cta { padding-block: 88px; background: #eeeae0; }
.cta h2 { font-size: clamp(2.6rem, 4vw, 4rem); }
.footer { max-width: none; padding: 70px max(5%, calc((100vw - 1190px)/2)) 95px; background: #fff; border-top: 1px solid var(--silver); }
.footer-grid { gap: 55px; }
.footer .brand-logo { width: 290px; }
.footer a { width: fit-content; }
.footer small { font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 15px 35px; flex-wrap: wrap; margin-top: 45px; padding-top: 18px; border-top: 1px solid var(--silver); }
.footer-bottom small { max-width: none; margin: 0; padding: 0; border: 0; }
.site-credit { margin: 0; color: var(--slate); font-size: 13px; }
.footer .site-credit a { display: inline; margin: 0; font-size: inherit; font-weight: 650; }
.footer-separator { margin: 0 .35em; color: var(--gold); }

.page-head { padding-top: 70px; padding-bottom: 55px; border-color: var(--gold); }
.page-head h1 { font-size: clamp(3.2rem, 5vw, 5.1rem); }
.page-head>p:last-child { color: var(--slate); }
.crumb { font-size: 14px; }
.area-banner { position: relative; max-width: 1320px; margin: 30px auto 0; }
.area-banner img { display: block; width: 100%; max-height: 510px; aspect-ratio: 2.2; object-fit: cover; }
.area-banner figcaption { margin-top: 9px; color: #647189; font-size: 13px; }
.area-banner figcaption a { color: var(--navy); }
.betsy-intro { align-items: start; }
.betsy-intro h2 { font-size: clamp(2.6rem, 4vw, 3.8rem); }
.betsy-intro p:not(.eyebrow) { color: var(--slate); font-size: 16px; line-height: 1.82; }
.team-section { background: #f5f7f6; border-top: 1px solid rgba(13,45,108,.16); }
.team-section .section { padding-block: clamp(66px, 6vw, 92px); }
.team-heading { margin-bottom: 38px; text-align: center; }
.team-heading h2 { margin: 0; font-size: clamp(2.3rem, 3.8vw, 3.35rem); }
.team-heading::after { content: ""; display: block; width: 64px; height: 1px; margin: 22px auto 0; background: var(--gold); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; max-width: 820px; margin-inline: auto; }
.team-member { min-width: 0; background: #fff; border: 1px solid var(--silver); }
.team-member img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.team-member-copy { padding: 25px 27px 29px; }
.team-member h3 { margin: 0 0 4px; font-size: 1.7rem; }
.team-role { margin: 0 0 14px; color: var(--bay); font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.team-member-copy p:last-child { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.65; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.approach-grid>div { padding-top: 25px; border-top: 1px solid var(--gold); }
.approach-grid span { color: var(--navy); font-size: 13px; letter-spacing: .1em; font-weight: 750; }
.approach-grid h3 { margin-top: 16px; margin-bottom: 15px; font-size: 1.7rem; }
.approach-grid p { max-width: 310px; margin-bottom: 0; color: var(--slate); font-size: 14px; }

@media (max-width: 1100px) {
  .brand-logo { width: 240px; }
}

@media (max-width: 1230px) {
  .header { padding-inline: 5%; }
  .menu { display: block; padding: 9px 15px; color: var(--navy); background: transparent; border: 1px solid var(--silver); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 21; padding: 18px 5% 28px; background: #fff; border-bottom: 1px solid var(--silver); box-shadow: 0 18px 24px rgba(10,35,75,.10); }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .nav.open>a:not(.button) { display: block; padding: 7px 0; }
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5.5rem); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; max-width: 390px; gap: 28px; }
  .team-section .section { padding-block: 60px; }
}

@media (max-width: 900px) {
  .sold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .topline { font-size: 13px; letter-spacing: .03em; }
  .header { padding: 10px 6%; }
  .brand-logo { width: 186px; }
  .hero { min-height: 670px; padding: 0 6%; }
  .hero::after { background: linear-gradient(90deg, rgba(7,23,56,.89), rgba(7,23,56,.55)), linear-gradient(0deg, rgba(7,23,56,.35), transparent 50%); }
  .hero img:not(.byline-avatar) { object-position: 62% center; }
  .hero-copy { min-height: 670px; padding: 85px 0 80px; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 4.5rem); }
  .hero-copy>p:not(.eyebrow) { font-size: 16px; }
  .hero .byline { margin-top: 36px; }
  .hero .photo-caption { display: none; }
  .strip { gap: 14px 12px; font-size: 13px; letter-spacing: .03em; }
  .strip span { width: calc(50% - 6px); white-space: normal; line-height: 1.4; text-align: center; }
  .section { padding-block: 65px; }
  .cards { grid-template-columns: 1fr; gap: 35px; }
  .tile, .card:nth-child(3n+2) .tile, .card:nth-child(3n) .tile { aspect-ratio: 1.48; }
  .listing-inner { display: block; padding-block: 60px; }
  .listing-inner .button { margin-top: 27px; }
  .sold-grid { grid-template-columns: 1fr; }
  .sold-card>a { min-height: 250px; }
  .sold-card h3 { margin-top: 28px; }
  .photo-portrait { max-width: 460px; margin: 0 auto; }
  .feature-photo { height: 370px; }
  .approach-grid { grid-template-columns: 1fr; gap: 30px; }
  .area-banner img { aspect-ratio: 1.35; }
  .footer { padding: 60px 6% 105px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .card, .tile img, .sold-card>a { transition: none; }
}

.footer-contact a { overflow-wrap: anywhere; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form .form-actions .button { margin-top: 0; }

@media (max-width: 650px) {
  .form-actions .button { width: 100%; }
}
