/* =============================================================================
   Homepage (front page only). Loaded by the home-* section blocks. Every rule
   is scoped to the front page (.sv-front on <main>, or body.home for the
   header and footer), so no other page changes. The hero and key figures are
   in hero.css, where the inlined critical CSS can paint them first.

   Brand: white leads, one Beige 2 band (the review), one red line (above the
   key figures). Red otherwise only for the Sold snipes and the quotation
   mark. Square corners, no shadows, no gradients, no hover lifts.
   ========================================================================== */

/* Layout: 96px sections (64px on phones), 32px sides, 1160px content. */
.sv-front .container,
.sv-front .container--wide { max-width: calc(1160px + 64px); padding-inline: 32px; }
.sv-front .section { padding-block: 64px; }
@media (min-width: 768px) { .sv-front .section { padding-block: 96px; } }

/* Square, flat, still. */
.sv-front *, .sv-front *::before, .sv-front *::after { border-radius: 0; box-shadow: none; text-shadow: none; }
.sv-front .btn:active { transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.home *, body.home *::before, body.home *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* No red rules or underlines on this page apart from the key-figures line. */
body.home a:hover { text-decoration-color: currentColor; }
body.home .site-nav a::after { background: currentColor; }

/* Keyboard focus: 2px outline, 3px off; white on the dark bands. */
body.home :focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; box-shadow: none; border-radius: 0; }
body.home .hero :focus-visible,
body.home .section--dark :focus-visible,
body.home .site-footer :focus-visible { outline-color: var(--color-white); }
body.home .hero__search :focus-visible { outline-color: var(--color-black); }

/* Shared pieces ----------------------------------------------------------------- */
.home-title { margin: 0 0 var(--space-7); font-size: 30px; line-height: 1.2; text-align: center; }
@media (min-width: 768px) { .home-title { font-size: 38px; } }
.home-subtitle { margin: 0 0 var(--space-3); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gray-700); }
.home-more { margin: var(--space-7) 0 0; text-align: center; font-size: var(--fs-base); }
.home-button {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: var(--space-3) var(--space-5);
  border: 1px solid var(--color-black); background: transparent; color: var(--color-black);
  font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: 1; text-decoration: none;
}
.home-button:hover { background: var(--color-black); color: var(--color-white); }

/* Recently sold ----------------------------------------------------------------- */
.home-sold__grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .home-sold__grid { grid-template-columns: 2fr 1fr; align-items: start; }
  .home-sale--lead { grid-row: span 2; }
}
.home-sale { min-width: 0; }
.home-sale__media { position: relative; display: block; margin-block-end: var(--space-4); aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-gray-100); }
.home-sale--lead .home-sale__media { aspect-ratio: 4 / 3; }
.home-sale__media img { width: 100%; height: 100%; object-fit: cover; }
.home-sale__snipe {
  position: absolute; top: 0; left: 0;
  padding: 0.45em 0.8em; background: var(--color-red); color: var(--color-white);
  font-family: var(--font-text); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase;
}
.home-sale--lead .home-sale__snipe { font-size: 15px; }
.home-sale__snipe--inline { position: static; display: inline-block; margin-block-end: var(--space-3); }
.home-sale__meta { margin: 0 0 var(--space-2); font-size: 14px; color: var(--color-gray-700); }
.home-sale__meta a { color: inherit; }
.home-sale__title { margin: 0 0 var(--space-2); font-size: 20px; line-height: 1.25; }
.home-sale--lead .home-sale__title { font-size: 28px; }
.home-sale__title a { text-decoration: none; }
.home-sale__title a:hover { text-decoration: underline; }
.home-sale__facts { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0; font-size: 15px; color: var(--color-gray-800); }
.home-sale__price { font-weight: 700; color: var(--color-black); }

/* Neighborhood map: the shared module, with a centered heading here only. */
.sv-front .area-map .section__head { max-width: none; margin-inline: auto; margin-block-end: var(--space-4); text-align: center; }
.sv-front .area-map .section__head h2 { font-size: 30px; line-height: 1.2; }
@media (min-width: 768px) { .sv-front .area-map .section__head h2 { font-size: 38px; } }
.sv-front .area-map .section__lede { max-width: 620px; margin: 0 auto var(--space-7); text-align: center; font-size: var(--fs-base); }
.sv-front .area-map__all { margin: var(--space-7) 0 0; text-align: center; font-size: var(--fs-base); }
.sv-front .area-map__all a { color: var(--color-white); text-decoration: underline; text-decoration-color: currentColor; }
.sv-front .area-map :focus-visible { outline-color: var(--color-white); }
/* No "→" after link text on this page; the count stays. */
.sv-front .area-map__hub-list a::after { content: none; }

/* Client review: the page's one Beige 2 band. ------------------------------------ */
.sv-front .home-review { background: var(--color-beige-2); }
.home-review__inner { max-width: calc(820px + 64px); text-align: center; }
.home-review__mark { display: block; height: 0.55em; font-family: var(--font-headline); font-size: 96px; line-height: 1; color: var(--color-red); }
.home-review__item { margin: 0; }
.home-review__quote { margin: 0; padding: 0; border: 0; font-family: var(--font-headline); font-size: 24px; line-height: 1.4; color: var(--color-black); }
@media (min-width: 768px) { .home-review__quote { font-size: 30px; } }
.home-review__quote p { margin: 0; }
.home-review__quote p + p { margin-block-start: var(--space-4); }
.home-review__who { margin-block-start: var(--space-5); font-size: 15px; color: var(--color-gray-800); }
.home-review__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-6); margin: var(--space-7) 0 0; }
.home-review__actions .btn { background: transparent; }
.home-review__actions .btn:hover { background: var(--color-black); }

/* About Shane -------------------------------------------------------------------- */
.home-about__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .home-about__grid { grid-template-columns: minmax(0, 380px) 1fr; gap: 64px; } }
.home-about__grid--single { grid-template-columns: 1fr; }
.home-about__photo { max-width: 380px; }
.home-about__photo img { width: 100%; height: auto; display: block; }
.home-about__text { text-align: start; max-width: 62ch; }
.home-about__text h2 { margin: 0 0 var(--space-5); font-size: 30px; line-height: 1.2; }
@media (min-width: 768px) { .home-about__text h2 { font-size: 38px; } }
.home-about__text p { margin: 0 0 var(--space-5); color: var(--color-gray-800); }
.home-about__text p:last-child { margin-block-end: 0; }

/* From the blog ------------------------------------------------------------------ */
.sv-front .home-posts { padding-block-start: 0; }
.home-posts .container::before { content: ""; display: block; height: 1px; margin-block-end: 64px; background: var(--color-gray-300); }
@media (min-width: 768px) { .home-posts .container::before { margin-block-end: 96px; } }
.home-posts__grid { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .home-posts__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.home-post__title { margin: 0 0 var(--space-3); font-size: 23px; line-height: 1.3; }
.home-post__title a { text-decoration: none; }
.home-post__title a:hover { text-decoration: underline; }
.home-post__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--color-gray-800); }

/* FAQ ---------------------------------------------------------------------------- */
.sv-front .faqs--section > h2, .sv-front .faqs--section h2:first-child { text-align: center; }

/* Seller call to action: the dark band, centered. -------------------------------- */
.sv-front .section--dark .cta-band { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sv-front .section--dark .cta-band h2 { font-size: 30px; line-height: 1.2; }
@media (min-width: 768px) { .sv-front .section--dark .cta-band h2 { font-size: 38px; } }
.sv-front .section--dark .section__lede { margin-inline: auto; color: var(--color-gray-300); }
.sv-front .section--dark .cta-band__actions { justify-content: center; }
.sv-front .section--dark .btn--inverse:hover { --btn-bg: var(--color-gray-200); }
