/* Taylor Heritage Homes. Colors and fonts from the Luxury Brand Standards Guide.
   Aqua is the action color: buttons only. Gold is used sparingly. */
:root {
  --cobalt: #050E3D;
  --cobalt-2: #0B1A5C;
  --gold: #D6C29C;
  --aqua: #00BFB0;
  --seaglass: #BFDDDB;
  --mist: #EEF5F4;
  --white: #FFFFFF;
  --ink: #0F1630;
  --muted: #4A5170;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #050E3D; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 var(--s2); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s2); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--s3); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s2); top: var(--s2); background: var(--white); color: var(--cobalt); padding: var(--s1) var(--s2); z-index: 10; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; box-shadow: 0 0 0 6px var(--aqua); }

.kicker { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }

/* Header */
.site-header { background: var(--cobalt); color: var(--white); border-bottom: 1px solid rgba(214, 194, 156, 0.25); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 84px; flex-wrap: wrap; padding-top: var(--s2); padding-bottom: var(--s2); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.mono { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--gold); border: 1px solid var(--gold); width: 52px; height: 52px; display: grid; place-items: center; letter-spacing: 0.04em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; }
.brand-sub { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: 0.92rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-phone { color: var(--gold); }

/* Buttons */
.btn { display: inline-block; background: var(--aqua); color: var(--cobalt); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 16px 30px; border-radius: 2px; min-height: 48px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 191, 176, 0.3); }
.actions { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); }
.actions.center { justify-content: center; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link.light { color: var(--white); }

/* Hero */
.hero { background: radial-gradient(ellipse at 85% 0%, var(--cobalt-2) 0%, var(--cobalt) 60%); color: var(--white); padding: var(--s6) 0; }
.hero h1 { max-width: 16ch; }
.hero .kicker { color: var(--gold); }
.hero h1 { color: var(--white); }
.lede { font-size: 1.15rem; max-width: 62ch; color: rgba(255, 255, 255, 0.88); }

/* Proof strip */
.proof { background: var(--cobalt); color: var(--white); border-top: 1px solid rgba(214, 194, 156, 0.25); }
.proof ul { list-style: none; margin: 0; padding: var(--s4) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.proof li { display: flex; flex-direction: column; border-left: 1px solid var(--gold); padding-left: var(--s3); }
.proof .big { font-family: var(--serif); font-size: 1.55rem; color: var(--gold); }
.proof .small { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }

/* Sections */
section.method, section.paths, section.team, section.testimonials { padding: var(--s6) 0; }
.intro { font-size: 1.1rem; max-width: 62ch; color: var(--muted); }
.steps { list-style: none; counter-reset: step; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }
.steps li { counter-increment: step; border-top: 2px solid var(--gold); padding-top: var(--s3); }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-size: 1.1rem; color: var(--muted); display: block; margin-bottom: var(--s1); }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: 0.95rem; color: var(--muted); }

.quote { background: var(--seaglass); padding: var(--s6) 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; }
.quote p { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.3; color: var(--cobalt); }
.quote footer { font-size: 0.95rem; color: var(--cobalt); }

.paths { background: var(--mist); }
.cards { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.card { background: var(--white); padding: var(--s4); border-top: 3px solid var(--cobalt); }
.card p { color: var(--muted); margin: 0; }

.people { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.team-grid.has-photo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; margin-top: var(--s4); }
.team-photo { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.team-grid.has-photo .people { grid-template-columns: 1fr; margin-top: 0; }
.person img { aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: var(--s3); }
.role { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.quotes { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.quotes blockquote { margin: 0; border-left: 2px solid var(--gold); padding-left: var(--s3); }
.quotes footer { font-size: 0.9rem; color: var(--muted); }

.closing { background: var(--cobalt); color: var(--white); padding: var(--s6) 0; text-align: center; }
.closing h2 { color: var(--gold); }
.closing p { max-width: 62ch; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.88); }

/* Footer */
.site-footer { background: #050E3D; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; padding: var(--s5) 0 var(--s4); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s4); }
.footer-name { font-family: var(--serif); font-size: 1.15rem; color: var(--white); }
.footer-tag { color: var(--gold); }
.licenses { list-style: none; margin: 0; padding: 0; }
.licenses li { margin-bottom: 6px; }
.footer-legal { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eho-line { display: flex; gap: 12px; align-items: flex-start; }
.eho { width: 32px; height: 32px; flex: none; color: var(--white); }

/* Phone */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .wrap { padding: 0 var(--s2); }
  .hero { padding: var(--s5) 0; }
  section.method, section.paths, section.team, section.testimonials, .quote, .closing { padding: var(--s5) 0; }
  .proof ul, .steps, .cards, .people, .quotes, .footer-grid, .team-grid.has-photo { grid-template-columns: 1fr; }
  .nav { gap: var(--s2); }
  .btn { width: 100%; text-align: center; }
  .actions { flex-direction: column; align-items: stretch; text-align: center; }
  .text-link { align-self: center; }
}

/* Inner pages */
.hero-page { padding: var(--s5) 0; }
.hero-page h1 { max-width: 20ch; }
.steps-4 { grid-template-columns: repeat(4, 1fr); row-gap: var(--s4); }
.card .text-link { display: inline-block; margin-top: var(--s2); color: var(--cobalt); }

.feature { padding: var(--s6) 0; background: var(--mist); }
.feature-body { max-width: 65ch; }
.feature-body p { font-size: 1.08rem; }
.needs-ok { display: inline-block; background: #FFF4D6; color: #6B4E00; border: 1px solid #E5C77A; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; margin-bottom: var(--s3); }
.fine { font-size: 0.85rem; color: var(--muted); }

.form-section { padding: var(--s6) 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s5); align-items: start; }
.lead-form { background: var(--white); border: 1px solid #D9E3E2; border-top: 3px solid var(--cobalt); padding: var(--s4); display: grid; gap: var(--s3); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #A9B4C8; border-radius: 2px; min-height: 48px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--cobalt); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.lead-form .btn { border: 0; cursor: pointer; width: 100%; }
.lead-form .fine a { color: var(--cobalt); }
.hp { position: absolute; left: -9999px; }

.prose { padding: var(--s5) 0 var(--s6); }
.prose .wrap > * { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s4); }
.prose ul { padding-left: 1.2em; }

@media (max-width: 900px) {
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: var(--s4); }
}
@media (max-width: 680px) {
  .steps-4 { grid-template-columns: 1fr; }
  .lead-form { padding: var(--s3); }
  .feature, .form-section { padding: var(--s5) 0; }
}

[id] { scroll-margin-top: 24px; }
.req { color: #9A3412; }
.lead-form .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Story, FAQ */
.story { padding: var(--s6) 0; }
.story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s5); align-items: start; margin-top: var(--s3); }
.story-body p { font-size: 1.05rem; max-width: 65ch; }
.pull-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.pull-quotes li { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; color: var(--cobalt); border-left: 2px solid var(--gold); padding-left: var(--s3); }
.paths .intro { margin-bottom: 0; }
.faq { padding: var(--s6) 0; background: var(--mist); }
.qas { margin-top: var(--s4); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.qa h3 { font-size: 1.15rem; }
.qa p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .story-grid, .qas { grid-template-columns: 1fr; }
}
.field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #A9B4C8; border-radius: 2px; width: 100%; resize: vertical; }
.field textarea:focus { border-color: var(--cobalt); }
.footer-legal a { color: rgba(255, 255, 255, 0.85); }
.towns { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (max-width: 680px) { .towns { grid-template-columns: 1fr; } }

/* Listing page */
.proof ul.stats-6 { grid-template-columns: repeat(6, 1fr); }
.proof ul.stats-6 .big { font-size: 1.3rem; }
.figure { padding: var(--s6) 0 var(--s5); }
.figure figure { margin: var(--s4) 0 0; }
.figure figcaption { font-size: 0.9rem; color: var(--muted); margin-top: var(--s2); }
@media (max-width: 900px) { .proof ul.stats-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .proof ul.stats-6 { grid-template-columns: 1fr 1fr; } .figure { padding: var(--s5) 0; } }
.broker-logo { height: 40px; width: auto; margin-bottom: 10px; }
.gallery { padding: var(--s6) 0; }
.photos { list-style: none; margin: var(--s4) 0 var(--s2); padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.photos li:first-child { grid-column: 1 / -1; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 1400 / 787; object-fit: cover; }
.photos figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 680px) { .photos { grid-template-columns: 1fr; } .gallery { padding: var(--s5) 0; } }

.brand-logo { height: 56px; width: auto; display: block; }
.brand:has(.brand-logo) { gap: 16px; }
.brand:has(.brand-logo) .brand-sub { border-left: 1px solid rgba(214,194,156,.4); padding-left: 16px; }
@media (max-width: 680px) { .brand-logo { height: 44px; } }
@media (max-width: 680px) { .nav { row-gap: 0; column-gap: 18px; } .header-row { padding-bottom: 6px; } }

/* ---- Luxury refresh (Jennifer's notes, 2026-11-05) ---- */
/* Seaglass banner with the full-color logo. */
.site-header { background: var(--seaglass); color: var(--cobalt); border-bottom: 1px solid rgba(5, 14, 61, 0.12); }
.site-header .nav a { color: var(--cobalt); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { border-bottom-color: var(--cobalt); }
.site-header .nav-phone { color: var(--cobalt); font-weight: 600; }
.site-header .brand-sub { color: var(--cobalt); opacity: 0.8; }
.brand:has(.brand-logo) .brand-sub { border-left-color: rgba(5, 14, 61, 0.3); }
.site-header .mono { color: var(--cobalt); border-color: var(--cobalt); }
.site-header .brand-name { color: var(--cobalt); }

/* Champagne buttons. */
.btn { background: var(--gold); color: var(--cobalt); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.88rem; border-radius: 0; }
.btn:hover { box-shadow: 0 10px 28px rgba(214, 194, 156, 0.35); }

/* Full-screen video hero. */
.hero-has-video { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; padding: var(--s6) 0; background: var(--cobalt); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 14, 61, 0.45) 0%, rgba(5, 14, 61, 0.62) 100%); }
.hero-has-video .hero-inner { position: relative; z-index: 1; text-align: center; margin: 0 auto; }
.hero-has-video h1 { max-width: 18ch; margin-left: auto; margin-right: auto; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-has-video .lede { margin-left: auto; margin-right: auto; }
.hero-has-video .actions { justify-content: center; }
.video-note { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.proof .kicker { color: var(--gold); text-align: center; padding-top: var(--s4); margin: 0; }
.stats-note { font-size: 0.78rem; color: rgba(255,255,255,.65); text-align: center; padding-bottom: var(--s3); margin: 0; }
.proof ul.stats-4 { grid-template-columns: repeat(4, 1fr); }
.calc { padding: var(--s6) 0; }
.calc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s5); margin-top: var(--s4); align-items: start; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.calc-result { background: var(--cobalt); color: var(--white); padding: var(--s4); }
.calc-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0; }
.calc-total { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); margin: var(--s1) 0 var(--s3); }
.calc-breakdown { list-style: none; padding: 0; margin: 0 0 var(--s3); }
.calc-breakdown li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.calc-result .fine { color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .proof ul.stats-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .calc-form { grid-template-columns: 1fr; } }
/* Muted seaglass banner (Jennifer, 2026-11-05). */
.site-header { background: #D6E3E1; }
.hero-tag2 { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: rgba(255,255,255,.9); margin-top: var(--s1); }
.btn-outline { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-outline:hover { background: rgba(214,194,156,.12); }
.home-intro { padding: var(--s6) 0 var(--s5); text-align: center; }
.home-intro h2 { max-width: 28ch; margin: 0 auto var(--s3); }
.home-intro p { max-width: 70ch; margin: 0 auto; font-size: 1.08rem; color: var(--muted); }
@media (max-width: 680px) { .hero-has-video .btn { width: 100%; } }
.partner-logo { height: 40px; width: auto; margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(5,14,61,.3); }
@media (max-width: 680px) { .partner-logo { height: 30px; margin-left: 10px; padding-left: 10px; } }
@media (max-width: 680px) { .brand { flex-wrap: wrap; row-gap: 8px; } .brand .partner-logo { margin-left: 0; padding-left: 0; border-left: 0; flex-basis: auto; } .brand-text { flex: 1 1 0; } }
.callout { background: var(--cobalt); color: var(--white); padding: var(--s6) 0; text-align: center; background-image: radial-gradient(ellipse at 50% 0%, var(--cobalt-2) 0%, var(--cobalt) 70%); }
.callout h2 { color: var(--white); max-width: 26ch; margin: 0 auto var(--s2); }
.callout p { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.25rem; }

/* ---- Color cadence, matched to Jennifer's Lofty site (2026-11-05) ----
   After the dark hero, sections alternate ivory and seaglass with navy text.
   Navy is kept for the hero, photo overlays, the payment card and the footer. */
:root { --ivory: #FBF9F4; --sea: #D6E3E1; }
main > section:not(.hero):nth-of-type(odd) { background: var(--ivory); color: var(--ink); }
main > section:not(.hero):nth-of-type(even) { background: var(--sea); color: var(--ink); }
main > section:not(.hero) h2, main > section:not(.hero) h3 { color: var(--cobalt); }
main > section:not(.hero) .kicker { color: #6E6450; }
main > section:not(.hero) .text-link.light { color: var(--cobalt); }
main > section:not(.hero) .card, main > section:not(.hero) .lead-form { background: var(--white); }
/* Stats strips: navy numbers between thin gold lines. */
.proof { border-top: 1px solid rgba(214,194,156,.7); border-bottom: 1px solid rgba(214,194,156,.7); }
.proof .big { color: var(--cobalt); }
.proof .small, .stats-note { color: var(--muted); }
.proof li { border-left-color: var(--gold); }
/* Former navy bands now read navy-on-light. */
.closing p, .callout p { color: var(--muted); }
.callout p { font-family: var(--serif); font-style: italic; }
.closing h2, .callout h2 { color: var(--cobalt); }
.quote p, .quote footer { color: var(--cobalt); }
/* The payment result stays a navy card. */
.calc-result h2, .calc-result h3 { color: var(--white); }

/* ---- Fonts matched to the Lofty site (2026-11-05): Playfair Display throughout ---- */
:root { --sans: "Playfair Display", Georgia, "Times New Roman", serif; }
body { font-family: var(--serif); font-size: 18px; }
h1 { font-weight: 700; } h2, h3 { font-weight: 700; }
.nav a, .site-header .nav a { font-family: var(--serif); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; font-size: 0.92rem; }
.btn { font-family: var(--serif); font-weight: 500; letter-spacing: 0.04em; }
.kicker, .brand-sub, .role, .calc-label { font-family: var(--serif); font-weight: 600; }
.field input, .field select, .field textarea, .field label { font-family: var(--serif); }
.lede, .home-intro p, .card p, .steps p { font-weight: 500; }
/* Seaglass, not gray: Jennifer's #BFDDDB lightened with white, hue kept (2026-11-05). */
:root { --sea: #D5E9E8; }
.site-header { background: var(--sea); }
/* Header color chosen by Jennifer (2026-11-05). */
.site-header { background: #DFEEED; }
/* White is pure white (Jennifer, 2026-11-05). */
:root { --ivory: #FFFFFF; }
/* Seaglass sections match the Lofty neighborhoods band (Jennifer, 2026-11-05). */
:root { --sea: #BFDDDB; }
.site-header { background: #DFEEED; }
main > section:not(.hero) .kicker { color: #4A5170; }

/* Photo tiles and recruiting band (Lofty-style). */
.tiles { padding: var(--s6) 0; }
.tiles h2 { text-align: center; margin-bottom: var(--s4); }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.tile a { position: relative; display: block; overflow: hidden; border-radius: 6px; text-decoration: none; box-shadow: 0 10px 30px rgba(5,14,61,.18); }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.tiles-wide .tile img { aspect-ratio: 3 / 4; }
.tile a:hover img { transform: scale(1.04); }
.tile a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,61,0) 30%, rgba(5,14,61,.78) 100%); }
.tile-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 4px; }
.tile-eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; padding-top: 10px; border-top: 1px solid rgba(214,194,156,.8); width: fit-content; }
.tile-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.tile-tag { font-family: var(--serif); font-style: italic; font-size: .95rem; opacity: .92; }
.tiles-note { text-align: center; margin-top: var(--s2); }
.recruit { position: relative; background-size: cover; background-position: center 6%; padding: var(--s6) 0; color: #fff; text-align: center; }
.recruit-shade { position: absolute; inset: 0; background: rgba(5,14,61,.72); }
.recruit .wrap { position: relative; z-index: 1; }
.recruit h2 { color: #fff; }
.recruit p { max-width: 75ch; margin: 0 auto var(--s2); color: rgba(255,255,255,.9); }
@media (max-width: 900px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .tile-grid { grid-template-columns: 1fr; } .tiles-wide .tile img { aspect-ratio: 16 / 10; } }

/* Reviews band over a photo, cards scroll sideways (Lofty "Our Raving Reviews"). */
.reviews { position: relative; background-size: cover; background-position: center; padding: var(--s6) 0; text-align: center; }
.reviews-shade { position: absolute; inset: 0; background: rgba(5,14,61,.62); }
.reviews .wrap { position: relative; z-index: 1; }
.reviews .kicker { color: var(--gold); }
.reviews h2 { color: #fff; margin-bottom: var(--s4); }
.review-rail { display: flex; align-items: center; gap: var(--s2); }
.review-track { list-style: none; margin: 0; padding: 4px 4px var(--s2); display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; flex: 1; }
.review { flex: 0 0 calc((100% - 2 * var(--s3)) / 3); scroll-snap-align: start; background: #fff; color: var(--ink); padding: var(--s4) var(--s3); text-align: left; display: flex; flex-direction: column; }
.review blockquote { margin: 0; display: flex; flex-direction: column; flex: 1; }
.review p { font-style: italic; line-height: 1.6; flex: 1; }
.review footer { margin-top: var(--s2); display: flex; flex-direction: column; font-size: .95rem; }
.review footer span { color: var(--muted); font-size: .85rem; }
.stars { display: flex; gap: 3px; margin-bottom: var(--s2); }
.stars svg { width: 18px; height: 18px; fill: var(--gold); }
.rail-btn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(5,14,61,.4); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.rail-btn:hover, .rail-btn:focus-visible { background: var(--gold); color: var(--cobalt); }
@media (max-width: 900px) { .review { flex-basis: calc((100% - var(--s3)) / 2); } }
@media (max-width: 680px) { .review { flex-basis: 86%; } .rail-btn { display: none; } }

/* Blog cards, blog list and one post. */
.post-grid { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); text-align: left; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 6px 24px rgba(5,14,61,.08); }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.post-text { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3); flex: 1; }
.post-date { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-title { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.post-excerpt { color: var(--muted); line-height: 1.6; flex: 1; }
.post-card a:hover .post-title, .post-card a:focus-visible .post-title { text-decoration: underline; }
.blog-home h2, .blog-home .kicker { text-align: center; }
.wrap.narrow { max-width: 760px; }
.post-head { background: var(--sea); padding: var(--s5) 0 var(--s4); }
.post-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 var(--s2); }
.post-head .kicker a { color: inherit; }
.post-by { color: var(--muted); margin: 0; }
.post-photo { width: 100%; height: auto; display: block; margin: var(--s4) 0; }
.post-body { line-height: 1.75; font-size: 1.08rem; }
.post-body h2 { font-size: 1.5rem; margin: var(--s4) 0 var(--s2); }
.post-body h3 { font-size: 1.15rem; margin: var(--s3) 0 var(--s1); }
.post-faq { border-top: 1px solid rgba(5, 14, 61, 0.15); margin-top: var(--s3); }
.post-links a { text-decoration: underline; }
.post .actions { margin: var(--s4) 0 var(--s5); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

/* Social buttons in the footer. */
.social { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--gold); border-radius: 999px; color: #fff; text-decoration: none; font-size: .9rem; }
.social a:hover, .social a:focus-visible { background: var(--gold); color: var(--cobalt); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Photo bands keep their own photo and white type; the white/seaglass cadence skips them. */
main > section:not(.hero).recruit, main > section:not(.hero).reviews { background-color: var(--cobalt); background-size: cover; color: #fff; }
main > section:not(.hero).recruit { background-position: center 6%; }
main > section:not(.hero).reviews { background-position: center; }
main > section:not(.hero).recruit h2, main > section:not(.hero).reviews h2 { color: #fff; }
main > section:not(.hero).recruit .kicker, main > section:not(.hero).reviews .kicker { color: var(--gold); }
main > section:not(.hero).reviews .review h3 { color: var(--cobalt); }
/* One or two posts sit centered instead of hugging the left. */
.post-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

/* Four neighborhood tiles sit in one row on a laptop, two by two on a tablet. */
.tiles-wide .tile-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .tiles-wide .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .tiles-wide .tile-grid { grid-template-columns: 1fr; } }

/* Disclaimer band above the footer, seaglass like Lofty's. */
.disclaimer { background: var(--sea); color: var(--ink); padding: var(--s4) 0; font-size: 0.82rem; line-height: 1.6; }
.disclaimer p { max-width: 110ch; margin: 0 0 var(--s2); color: var(--ink); }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer .mls-notice { margin-bottom: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid rgba(5,14,61,.15); }
.disclaimer .mls-notice img { display: block; margin-bottom: var(--s2); height: 28px; width: auto; }
.disclaimer a { color: var(--ink); text-decoration: underline; }
/* Closing block with a photo beside the words. */
.closing-split { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: var(--s5); align-items: center; max-width: 980px; margin: 0 auto; }
.closing-split img { width: 100%; height: auto; display: block; box-shadow: 0 10px 30px rgba(5,14,61,.15); }
.closing-split .closing-words { text-align: left; }
.closing-split .closing-words p { margin-left: 0; }
.closing-split .actions.center { justify-content: flex-start; }
@media (max-width: 760px) {
  .closing-split { grid-template-columns: 1fr; gap: var(--s4); }
  .closing-split img { max-width: 280px; margin: 0 auto; }
  .closing-split .closing-words { text-align: center; }
  .closing-split .closing-words p { margin-left: auto; }
  .closing-split .actions.center { justify-content: center; }
}
/* Page hero with a picture to the right. */
.hero-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s5); align-items: center; }
.hero-split img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } .hero-split img { max-width: 460px; } }
/* Feature section with a portrait beside the words. */
.feature-split { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: var(--s5); align-items: center; }
.feature-split img { width: 100%; height: auto; display: block; border-radius: 4px; }
@media (max-width: 760px) { .feature-split { grid-template-columns: 1fr; } .feature-split img { max-width: 260px; order: -1; } }
.form-logo { display: block; width: 100%; max-width: 200px; height: auto; margin-top: var(--s4); }
.form-photo { display: block; width: 100%; max-width: 420px; height: auto; margin-top: var(--s4); border-radius: 8px; }
.crm-form { background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(5,14,61,.08); min-height: 900px; }
.crm-form iframe { min-height: 900px; }
/* Closing block with a photo on each side. */
.closing-duo { display: grid; grid-template-columns: minmax(160px, 240px) 1fr minmax(160px, 240px); gap: var(--s4); align-items: center; }
.closing-duo img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 10px 30px rgba(5,14,61,.15); }
@media (max-width: 860px) {
  .closing-duo { grid-template-columns: 1fr 1fr; }
  .closing-duo .closing-words { grid-column: 1 / -1; order: 3; }
  .closing-duo img { max-width: 220px; justify-self: center; }
}
/* Framed MLS home search. */
.idx-card { background: #fff; border-radius: 10px; box-shadow: 0 14px 40px rgba(5,14,61,.12); border-top: 4px solid var(--gold); overflow: hidden; }
.idx-card iframe { display: block; width: 100%; height: 1100px; border: 0; }
.idx-note { text-align: center; margin-top: var(--s3); }
@media (max-width: 760px) { .idx-card iframe { height: 900px; } }
