/* ==========================================================================
   cgrasshomes.com — site styles
   Palette taken from Christopher's logo: brand red, logo gray, charcoal.
   ========================================================================== */

:root {
  --red: #9b1b1f;
  --red-dark: #7d1418;
  --gray: #6b6b6b;
  --charcoal: #2f3439;
  --ink: #23272b;
  --muted: #5f656b;
  --line: #e3e1dc;
  --paper: #ffffff;
  --cream: #f6f4ef;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(20, 22, 25, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 300; line-height: 1.2; color: var(--charcoal); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; display: block; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--serif); font-size: 1rem; font-weight: 700;
  padding: .85em 1.5em; border-radius: var(--radius); text-decoration: none;
  border: 2px solid var(--red); background: var(--red); color: #fff; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; flex-shrink: 0; }
.brand__name { height: 46px; width: auto; }
.brand__divider { width: 1px; height: 46px; background: var(--line); }
/* KW logo is shown at the full height of the name lockup so it is never smaller than Christopher's name. */
.brand__kw { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav button.navlink {
  font-family: var(--serif); font-size: 1rem; color: var(--charcoal); text-decoration: none;
  padding: 10px 12px; display: block; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav a:hover, .nav button.navlink:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav a.btn { margin-left: 10px; padding: .6em 1.1em; color: #fff; background: var(--red); border: 2px solid var(--red); border-radius: var(--radius); font-weight: 700; }
.nav a.btn:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 0; display: none; list-style: none; margin: 0;
}
.dropdown a { font-family: var(--sans); font-size: .95rem; padding: 7px 18px; }
.has-menu:hover > .dropdown, .has-menu:focus-within > .dropdown { display: block; }
.dropdown--towns { left: 50%; transform: translateX(-50%); width: 340px; columns: 2; padding: 14px 8px; }
.dropdown--towns li { break-inside: avoid; }
.dropdown--towns .all { column-span: all; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 6px; font-weight: 700; }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font-family: var(--serif); cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--charcoal) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,23,.78) 0%, rgba(18,20,23,.55) 45%, rgba(18,20,23,.15) 100%); }
.hero .wrap { position: relative; padding: 120px 0 130px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { font-size: 1.2rem; max-width: 34rem; color: rgba(255,255,255,.92); }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero--short .wrap { padding: 90px 0 90px; }
.photo-credit { position: absolute; right: 12px; bottom: 8px; font-size: .7rem; color: rgba(255,255,255,.7); z-index: 1; }
.photo-credit a { color: inherit; }

/* Home value bar inside hero */
.value-form { margin-top: 28px; display: flex; max-width: 560px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.value-form input { flex: 1; border: 0; padding: 16px 18px; font-size: 1rem; font-family: var(--sans); min-width: 0; color: var(--ink); }
.value-form input:focus { outline: 2px solid var(--red); outline-offset: -2px; }
.value-form button { border-radius: 0; }
.hero small { display: block; margin-top: 10px; color: rgba(255,255,255,.75); }

/* Stats strip */
.stats { background: var(--charcoal); color: #fff; }
.stats ul { list-style: none; margin: 0; padding: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: #fff; }
.stats span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* Sections */
.section { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section--tight { padding: 56px 0; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.split--rev { grid-template-columns: 1.3fr 1fr; }
.portrait { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.signature { font-family: var(--serif); font-style: italic; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 34px; border-radius: var(--radius); display: flex; flex-direction: column; }
.cards .card > .btn:last-child { margin-top: auto; align-self: flex-start; }
.card h3 { font-family: var(--sans); font-weight: 300; font-size: 1.7rem; }
.card ul { padding-left: 1.1em; color: var(--muted); }
.card li { margin-bottom: .35em; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.quote { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote .stars { color: var(--red); letter-spacing: 3px; margin-bottom: 10px; }
.quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: .98rem; line-height: 1.7; color: var(--ink); flex: 1; }
.quote cite { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--charcoal); }
.quote cite span { display: block; font-weight: 400; color: var(--muted); }

/* Town tiles */
.towns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.town {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 80px; padding: 12px 14px; text-decoration: none;
  background: var(--charcoal); color: #fff; border-radius: var(--radius); font-size: 1.2rem; font-weight: 400;
  transition: background .15s;
}
.town:hover { background: var(--red); color: #fff; }

/* Lead form block */
.lead { background: var(--red); color: #fff; }
.lead h2, .lead .eyebrow { color: #fff; }
.lead .lede { color: rgba(255,255,255,.9); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.form { background: #fff; color: var(--ink); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 4px; color: var(--charcoal); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfccc5; border-radius: var(--radius);
  font-size: 1rem; font-family: var(--sans); margin-bottom: 14px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: transparent; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; }
.form .fine { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.hidden { display: none; }

/* Town guide page */
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.breadcrumb a { color: #fff; }
.guide { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.guide h2 { margin-top: 1.6em; }
.guide h2:first-child { margin-top: 0; }
.guide ul { padding-left: 1.2em; }
.guide li { margin-bottom: .5em; }
.facts { background: var(--cream); border-radius: var(--radius); padding: 28px; position: sticky; top: 120px; }
.facts h3 { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.facts dl { margin: 0 0 22px; }
.facts dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 12px; }
.facts dd { margin: 2px 0 0; font-size: .98rem; }
.landmarks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.landmarks li { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; margin: 0 !important; }
.landmarks strong { display: block; color: var(--charcoal); }
.landmarks span { font-size: .95rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--charcoal); }
.chips a:hover { border-color: var(--red); color: var(--red); }

/* Footer */
.site-footer { background: #1d2024; color: rgba(255,255,255,.78); font-size: .92rem; }
.site-footer .wrap { padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 14px; background: #fff; padding: 12px 16px; border-radius: var(--radius); width: fit-content; margin-bottom: 18px; }
.footer-brand { max-width: 100%; }
.footer-brand img { height: 34px; width: auto; min-width: 0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .8rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1180px) {
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; padding: 10px 20px 20px; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; width: auto; transform: none; padding: 0 0 8px 12px; }
  .dropdown--towns { display: none !important; } /* on phones, Communities goes to the town list page */
  .nav { max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav a { padding: 12px 8px; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
}
@media (max-width: 860px) {
  .split, .split--rev, .lead-grid, .guide, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .quotes { grid-template-columns: 1fr; }
  .towns { grid-template-columns: repeat(2, 1fr); }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .facts { position: static; }
  .portrait { max-width: 360px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 72px; gap: 10px; }
  .footer-brand img { height: 22px; }
  .menu-toggle { padding: 6px 10px; }
  .brand { gap: 10px; }
  .brand__name { height: 26px; }
  .brand__divider, .brand__kw { height: 26px; }
    .hero .wrap { padding: 70px 0 80px; }
  .value-form { flex-direction: column; }
  .value-form button { width: 100%; }
  .landmarks, .form .row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .site-footer li { margin-bottom: 0; }
  .site-footer li a { display: inline-block; padding: 8px 0; }
  .site-footer .wrap { padding-bottom: 96px; }

}

/* Phone-only call / text / home value bar */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; grid-template-columns: 1fr 1fr 1.4fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-cta a { text-align: center; padding: 14px 6px; font-family: var(--serif); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--charcoal); border-right: 1px solid var(--line); }
.mobile-cta a:last-child { background: var(--red); color: #fff; border-right: 0; }

/* Reviews page */
.review-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { font-family: var(--sans); font-size: .95rem; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--charcoal); cursor: pointer; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review[hidden] { display: none; }
.review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.review .stars { color: var(--red); letter-spacing: 3px; }
.review__sources { display: flex; gap: 6px; }
.badge { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--cream); color: var(--muted); }
.badge--google { background: #e8f0fe; color: #1a56c4; }
.badge--zillow { background: #e6f0ff; color: #0041d9; }
.review__text { margin: 0; font-family: var(--serif); font-size: .95rem; line-height: 1.7; color: var(--ink); }
.review__text p { margin: 0 0 .8em; }
.review__text.is-long:not(.is-open) { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.review__more { background: none; border: 0; padding: 0; color: var(--red); font-weight: 700; cursor: pointer; font-family: var(--sans); margin-bottom: 8px; }
.review figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.review figcaption strong { display: block; color: var(--charcoal); }
.review figcaption span { display: block; }
@media (max-width: 560px) { .mobile-cta { display: grid; } }

/* Communities page */
.town-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.town-card { display: block; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.town-card:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--ink); }
.town-card strong { display: block; font-family: var(--sans); font-weight: 300; font-size: 1.45rem; color: var(--charcoal); margin-bottom: 6px; }
.town-card span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* About section tabs */
.subnav { background: var(--cream); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; }
.subnav a { padding: 14px 14px; text-decoration: none; color: var(--charcoal); font-family: var(--serif); font-size: .95rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

/* Check lists, cards, steps */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }
.checks--light li::before { color: #fff; }
.cards--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.card--link { text-decoration: none; color: var(--ink); transition: box-shadow .15s; }
.card--link:hover { box-shadow: var(--shadow); color: var(--ink); }
.card--link .more { color: var(--red); font-weight: 700; }
.card--accent { background: var(--charcoal); color: #fff; border-top-color: var(--red); }
.card--accent h3 { color: #fff; }
.card--accent ul { color: rgba(255,255,255,.85); }
.card h3 + ul { margin-top: 0; }
.card ul + h3 { margin-top: 1.4em; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps strong { display: block; font-size: 1.05rem; color: var(--charcoal); margin-bottom: 6px; }
.steps span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.role-grid h3 { font-size: 1.05rem; border-top: 3px solid var(--red); padding-top: 14px; }
.role-grid p { font-size: .95rem; color: var(--muted); }
.note { margin: 36px auto 0; max-width: 46rem; text-align: center; font-size: .95rem; color: var(--muted); background: var(--cream); padding: 18px 22px; border-radius: var(--radius); }

/* Story and resume */
.story__wrap { max-width: 46rem; }
.story h2 { margin-top: 1.6em; }
.resume-head { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; }
.resume-head img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.resume-head h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .2em; }
.resume-meta { color: var(--muted); font-size: .95rem; margin: 0; }
.resume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; align-items: start; }
.resume-grid .card { padding: 28px; }
.resume-grid h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.card--accent.card h3 { color: #fff; }
.resume-grid ul { padding-left: 1.1em; font-size: .95rem; }

/* Deals (recently sold / homebuyer stories) */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .resume-grid, .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps, .role-grid, .resume-grid, .cards--3 { grid-template-columns: 1fr; }
  .resume-head { flex-direction: column; align-items: flex-start; }
  .resume-head img { width: 110px; height: 110px; }
}

.section--towns { padding-bottom: 48px; }
.section--towns .town-cards { margin-top: 20px; }
.section--towns-more { padding-top: 48px; }
.section--towns-more .town-cards { margin-top: 0; }
.ext-link { font-weight: 700; }
.ext-link::after { content: " ↗"; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line, #e4e0da); }
.contact-list li:last-child { border-bottom: 1px solid var(--line, #e4e0da); }
.contact-list .k { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact-list a { font-size: 1.15rem; }
.contact-list p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
a.card { color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
a.card h3 { color: var(--charcoal); font-size: 1.4rem; }
@media (max-width: 860px) { .cards--3 { grid-template-columns: 1fr; } }
.office-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.office-list li { padding: 0; border: 0 !important; }
.office-list strong { display: block; font-size: .95rem; color: var(--charcoal); }
.contact-list .office-list a { font-size: .92rem; }
@media (max-width: 560px) { .office-list { grid-template-columns: 1fr; } }
.contact-list .office-name { display: block; font-size: 1.05rem; color: var(--charcoal); margin-bottom: 2px; }

/* My Story photos */
.story-photo { margin: 6px 0 18px; width: 44%; }
.story-photo img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.story-photo--right { float: right; margin-left: 28px; }
.story-photo--left { float: left; margin-right: 28px; }
.story h2 { clear: both; }
.story .btn-row, .story .signature { clear: both; }
@media (max-width: 560px) { .story-photo { float: none; width: 100%; margin: 8px 0 20px; } }

/* Articles */
.article__wrap { max-width: 46rem; }
.breadcrumb--dark, .breadcrumb--dark a { color: var(--muted); }
.article__dek { font-size: 1.2rem; color: var(--muted); margin: 0 0 .6em; }
.article__byline { font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; }
.article__body h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.article__body h3 { font-size: 1.25rem; margin-top: 1.4em; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body li { margin-bottom: .5em; }
.article__cta { margin-top: 48px; padding: 30px; background: var(--cream); border-top: 4px solid var(--red); border-radius: var(--radius); }
.article__cta h2 { font-size: 1.6rem; margin-top: 0; }
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 30px; border-radius: var(--radius); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card h2 { font-size: 1.45rem; }
.article-card p { color: var(--muted); flex: 1; }
.article-card__more { color: var(--red); font-weight: 700; font-size: .92rem; }
@media (max-width: 860px) { .article-list { grid-template-columns: 1fr; } }

/* Sold-home cards (Sell + Buy pages) */
.deal { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.deal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.deal__body { flex: 1; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 2px; }
.deal__sold { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.deal__price { font-size: 1.6rem; font-weight: 300; color: var(--charcoal); font-variant-numeric: tabular-nums; line-height: 1.2; }
.deal__addr { color: var(--charcoal); font-weight: 600; margin-top: 4px; }
.deal__specs { color: var(--muted); font-size: .9rem; }
.deal__side { color: var(--muted); font-size: .8rem; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.deal p { margin: 8px 0 0; font-size: .93rem; color: var(--muted); }
.deal__specs { margin-bottom: 12px; }

/* Social icons */
.social-icons { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .15s, border-color .15s; }
.social-icons a:hover, .social-icons a:focus-visible { background: var(--red); border-color: var(--red); color: #fff; text-decoration: none; }
.social-icons--footer { margin-top: 16px; }
.social-icons--footer li { margin: 0; }
.social-icons--light a { border-color: var(--line); color: var(--charcoal); background: #fff; }
.social-icons--light a:hover, .social-icons--light a:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.social-icons--lg a { width: 46px; height: 46px; }
.contact-list .social-icons { margin-top: 6px; }
.article__rule { border-bottom: 1px solid var(--line); margin: 8px 0 28px; }

/* Article series navigation */
.series-nav { margin-top: 48px; padding: 26px 30px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); background: #fff; }
.series-nav h2 { font-size: 1.4rem; margin: 0 0 4px; }
.series-nav p { color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.series-nav ol { margin: 0; padding-left: 1.3em; }
.series-nav li { margin-bottom: 6px; }
.series-nav li.is-current span { font-weight: 700; }
.series-nav li.is-current em { color: var(--muted); font-size: .9em; }
