/* ============================================================================
 *  home.css — landing page for lot3320.info (Realty Resource Connection)
 *  Page-specific styles only. Palette / type / shared primitives live in site.css.
 *  All classes namespaced .home-* to avoid clobbering the shared design system.
 * ========================================================================== */

/* ================================================================= HERO ===== */
.home-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* fallback gradient so a broken CDN still reads as a warm, intentional scene */
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(47,84,70,.18), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
}
.home-hero__bg { position: absolute; inset: 0; z-index: 0; }
.home-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92);
}
/* warm paper-toned overlay so the display type stays legible over any photo */
.home-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(96deg, rgba(244,239,230,.96) 0%, rgba(244,239,230,.86) 38%,
                    rgba(244,239,230,.42) 68%, rgba(33,30,25,.18) 100%),
    linear-gradient(0deg, rgba(33,30,25,.12), transparent 40%);
}
.home-hero__inner { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.home-hero__copy { max-width: 660px; }
.home-hero__title {
  font-size: clamp(38px, 6.2vw, 70px);
  font-weight: 500;
  margin: 18px 0 0;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.home-hero__lead { margin: 22px 0 0; max-width: 540px; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-hero__assure {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.home-hero__assure li {
  position: relative; padding-left: 22px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: .2px;
}
.home-hero__assure li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--pine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/10px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ====================================================== SECTION HEADINGS ===== */
.home-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
}
.home-sec-head__title { font-size: clamp(28px, 3.6vw, 40px); margin-top: 10px; }
.home-sec-head__link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 14px; font-weight: 600; color: var(--pine); letter-spacing: .2px;
  padding-bottom: 4px; transition: gap .2s, color .2s;
}
.home-sec-head__link:hover { gap: 12px; color: var(--pine-700); }

/* ==================================================== FEATURED LISTINGS ===== */
.home-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.home-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s;
}
.home-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.home-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(135deg, var(--pine-300), var(--pine)); }
.home-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.home-card:hover .home-card__media img { transform: scale(1.05); }
.home-card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,253,248,.94); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.home-card__tag--new { background: var(--pine); color: #fff; }
.home-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.home-card__price {
  font-family: var(--display); font-weight: 600; font-size: 27px;
  color: var(--ink); letter-spacing: -0.3px; line-height: 1;
}
.home-card__specs {
  display: flex; align-items: center; gap: 9px; margin-top: 8px;
  font-size: 13.5px; color: var(--ink-soft);
}
.home-card__specs b { font-weight: 700; color: var(--ink); }
.home-card__specs i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.home-card__addr { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.home-card__city { font-size: 13.5px; color: var(--muted); }
.home-card__courtesy {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); letter-spacing: .2px;
}

/* ===================================================== WHY WORK W/ STEVE ===== */
.home-why { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.home-why__head { max-width: 640px; margin: 0 auto 50px; }
.home-why__title { font-size: clamp(28px, 3.6vw, 42px); margin-top: 12px; }
.home-why__lead { margin: 16px auto 0; }
.home-why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.home-feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.home-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-feature__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 13px;
  color: var(--pine);
  background: rgba(47,84,70,.08);
  border: 1px solid rgba(47,84,70,.16);
  margin-bottom: 18px;
}
.home-feature h3 {
  font-family: var(--display); font-weight: 500; font-size: 20px;
  color: var(--ink); margin-bottom: 8px; line-height: 1.15;
}
.home-feature p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ========================================================= AREAS WE SERVE ===== */
.home-areas__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.home-areas__title { font-size: clamp(24px, 3vw, 34px); }
.home-areas__chips { display: flex; flex-wrap: wrap; gap: 11px; }
.home-areas__chips a {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: .2px;
  transition: transform .15s, border-color .2s, color .2s, background .2s;
}
.home-areas__chips a:hover {
  transform: translateY(-2px);
  border-color: var(--pine); color: var(--pine); background: var(--card);
}

/* ============================================================= MEET STEVE ===== */
.home-meet { background: var(--paper-2); }
.home-meet__inner {
  display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
}
.home-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: cover;
  object-position: 48% 26%;
  background: var(--paper-2);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--card);
}
.home-meet__title { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 16px; }
.home-meet__copy .lead { max-width: 620px; }
.home-meet__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 14.5px; font-weight: 600; color: var(--pine); letter-spacing: .2px;
  transition: gap .2s, color .2s;
}
.home-meet__link:hover { gap: 12px; color: var(--pine-700); }

/* =========================================================== TESTIMONIALS ===== */
.home-quotes__head { max-width: 560px; margin: 0 auto 46px; }
.home-quotes__title { font-size: clamp(28px, 3.6vw, 42px); margin-top: 12px; }
.home-quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-quote {
  position: relative; margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.home-quote__mark {
  font-family: var(--display); font-weight: 600; font-size: 64px; line-height: .6;
  color: var(--brass-soft); height: 30px; margin-bottom: 6px;
}
.home-quote blockquote {
  margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--ink);
  font-family: var(--display); font-weight: 400; flex: 1;
}
.home-quote figcaption {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
}
.home-quote figcaption b { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: .2px; }
.home-quote figcaption span { font-size: 12.5px; color: var(--muted); }

/* ============================================================ CLOSING CTA ===== */
.home-cta {
  position: relative; overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(110% 140% at 85% 0%, rgba(179,137,78,.30), transparent 55%),
    linear-gradient(135deg, var(--pine), var(--pine-700));
  color: var(--paper);
}
.home-cta__inner { max-width: 720px; text-align: center; margin: 0 auto; }
.home-cta__eyebrow { color: var(--brass-soft); }
.home-cta__title {
  font-size: clamp(32px, 4.6vw, 52px); font-weight: 500;
  color: #fff; margin: 14px 0 0; letter-spacing: -0.3px;
}
.home-cta__lead {
  font-size: 18px; line-height: 1.6; color: rgba(244,239,230,.86);
  max-width: 540px; margin: 18px auto 0;
}
.home-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.home-cta__ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.home-cta__ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ================================================================ RESPONSIVE ===== */
@media (max-width: 980px) {
  .home-cards { grid-template-columns: repeat(2, 1fr); }
  .home-why__grid { grid-template-columns: repeat(2, 1fr); }
  .home-quotes__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .home-hero { min-height: 78vh; }
  .home-hero__veil {
    background:
      linear-gradient(180deg, rgba(244,239,230,.92) 0%, rgba(244,239,230,.80) 55%, rgba(244,239,230,.55) 100%);
  }
  .home-meet__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
  .home-meet__link { justify-content: center; }
}
@media (max-width: 620px) {
  .home-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .home-why__grid { grid-template-columns: 1fr; }
  .home-sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .home-avatar { width: 148px; height: 148px; }
  .home-avatar span { font-size: 52px; }
}
