/* Homepage-only styles (from the original mockup). Shared header, menu and footer live in site.css. */
.home .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 860px) { .home .wrap { padding: 0 20px; } }


.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--sage); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; line-height: 1.15; }
h2 { font-size: clamp(30px, 4vw, 48px); }
.lede { font-size: 17px; max-width: 640px; color: rgba(47,47,47,.85); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 17px 34px; border: 1px solid transparent; transition: all .25s ease; cursor: pointer; }
.btn-cta { background: var(--terracotta); color: var(--white); }
.btn-cta:hover { background: #b5684c; }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-ghost.light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; background: #222 url(/assets/hero-poster.jpg) center/cover; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.55) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 900px; padding: 140px 24px 90px; }
.hero .eyebrow { color: var(--cream); margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 66px); margin-bottom: 40px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-search { max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 54px; background: rgba(255,255,255,.4); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; top: -54px; left: 0; width: 1px; height: 54px; background: var(--white); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 54px; } }

section { position: relative; }
.pad { padding: 120px 0; }

/* Paths: search / value / offer */
.paths-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.paths-head h2 { margin-top: 14px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.path { position: relative; aspect-ratio: 3/4; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.path::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72) 100%); }
.path:hover img { transform: scale(1.05); }
.path > *:not(img) { position: relative; z-index: 2; }
.path .num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--sage-light); margin-bottom: 6px; }
.path h3 { font-size: 28px; margin-bottom: 10px; }
.path p { font-size: 14px; opacity: .9; margin-bottom: 20px; max-width: 300px; }
.path .more { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.path .more::after { content: "→"; transition: transform .25s; }
.path:hover .more::after { transform: translateX(6px); }

/* About */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.about-photo::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--sage); z-index: 0; }
.about-photo img { position: relative; z-index: 1; }
.about h2 { margin: 14px 0 28px; }
.about p { margin-bottom: 18px; color: rgba(47,47,47,.85); }
.dre { display: flex; gap: 28px; flex-wrap: wrap; margin: 30px 0 36px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Awards */
.awards { background: var(--white); border-top: 1px solid rgba(47,47,47,.08); padding: 50px 0; }
.awards .wrap { display: flex; align-items: center; justify-content: space-around; gap: 40px; flex-wrap: wrap; }
.awards img { height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.awards img:hover { filter: none; opacity: 1; }

/* Listings */
.listings { background: var(--cream); }
.center-head { text-align: center; margin-bottom: 56px; }
.center-head h2 { margin-top: 14px; }
.center-head .lede { margin: 18px auto 0; }
.sold-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sold { background: var(--white); }
.sold .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sold .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.sold:hover .ph img { transform: scale(1.05); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--charcoal); color: var(--white); font-size: 10px; font-weight: 600; letter-spacing: 2px; padding: 6px 12px; text-transform: uppercase; }
.sold .body { padding: 22px 22px 26px; }
.sold .price { font-family: var(--serif); font-size: 26px; }
.sold .addr { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin: 4px 0 2px; }
.sold .city { font-size: 13px; color: rgba(47,47,47,.65); }
.sold .facts { border-top: 1px solid var(--greige); margin-top: 16px; padding-top: 14px; font-size: 12px; letter-spacing: 1px; color: var(--sage); font-weight: 600; text-transform: uppercase; }
.live-listings { margin-top: 70px; background: var(--white); padding: 40px; }
.live-listings .label { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.live-listings h3 { font-size: 24px; }
.row-actions { text-align: center; margin-top: 50px; }

/* Reviews */
.reviews { background: var(--sage); color: var(--white); overflow: hidden; }
.reviews .eyebrow { color: var(--cream); }
.stars { color: var(--cream); letter-spacing: 6px; font-size: 16px; margin-bottom: 26px; }
.review-stage { position: relative; max-width: 900px; margin: 0 auto; text-align: center; min-height: 270px; }
.review { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.review.active { opacity: 1; transform: none; pointer-events: auto; }
.review blockquote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; font-weight: 400; }
.review cite { display: block; margin-top: 26px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--cream); }
.quote-mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--sage-light); opacity: .6; margin-bottom: 16px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dots button { width: 34px; height: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s; padding: 0; }
.dots button.active { background: var(--white); }

/* Communities */
.communities { background: var(--cream); }
.comm-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.comm { position: relative; overflow: hidden; color: var(--white); aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 28px; grid-column: span 2; }
.comm:nth-child(4), .comm:nth-child(5) { grid-column: span 3; aspect-ratio: 16/10; }
.comm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.comm::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65)); }
.comm:hover img { transform: scale(1.06); }
.comm div { position: relative; z-index: 2; }
.comm small { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; opacity: .85; }
.comm h3 { font-size: 30px; margin-top: 4px; }

/* Home value */
.value { color: var(--white); background: url(/assets/bg-1.jpg) center/cover; }
.value::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,25,25,.78) 0%, rgba(25,25,25,.45) 60%, rgba(25,25,25,.2) 100%); }
.value .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.value .eyebrow { color: var(--sage-light); }
.value h2 { margin: 14px 0 24px; }
.value ul { list-style: none; margin: 30px 0 0; display: grid; gap: 14px; }
.value li { display: flex; gap: 14px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.value li::before { content: ""; width: 26px; height: 1px; background: var(--terracotta); }
.value-card { background: var(--white); color: var(--charcoal); padding: 34px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }

/* Guaranteed offer */
.offer { background: var(--greige); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.offer-img { background: url(/assets/bg-2.jpg) center/cover; min-height: 480px; }
.offer-copy { background: var(--cream); padding: 80px 70px; display: flex; flex-direction: column; justify-content: center; }
.offer-copy h2 { margin: 14px 0 22px; }
.offer-copy p { margin-bottom: 30px; color: rgba(47,47,47,.85); }

/* Contact / newsletter */
.contact { color: var(--white); background: url(/assets/bg-contact.jpg) center/cover; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(30,30,30,.62); }
.contact .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact .eyebrow { color: var(--sage-light); }
.contact h2 { margin: 14px 0 20px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.people h4 { font-size: 18px; margin-bottom: 6px; }
.people a { display: block; font-size: 14px; opacity: .9; }
.people a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
form.lead { background: rgba(245,239,230,.97); color: var(--charcoal); padding: 40px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
form.lead h3 { grid-column: 1/-1; font-size: 24px; margin-bottom: 4px; }
form.lead .full { grid-column: 1/-1; }
form.lead input, form.lead select, form.lead textarea { width: 100%; font: inherit; font-size: 14px; color: var(--charcoal); background: var(--white); border: 1px solid var(--greige); padding: 14px 16px; border-radius: 0; outline: none; transition: border-color .2s; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { border-color: var(--sage); }
form.lead textarea { resize: vertical; min-height: 96px; }
form.lead .consent { grid-column: 1/-1; font-size: 11px; line-height: 1.5; color: rgba(47,47,47,.7); display: flex; gap: 10px; align-items: flex-start; }
form.lead .consent input { width: auto; margin-top: 3px; }
form.lead .btn { grid-column: 1/-1; }

/* Responsive */
@media (max-width: 1080px) {
  .sold-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pad { padding: 84px 0; }
  .paths-head, .about-grid, .value .wrap, .contact .wrap, .offer-grid { grid-template-columns: 1fr; gap: 44px; }
  .paths { grid-template-columns: 1fr; }
  .path { aspect-ratio: 4/3; }
  .about-photo::before { inset: 16px -12px -16px 12px; }
  .comm-grid { grid-template-columns: 1fr 1fr; }
  .comm, .comm:nth-child(4), .comm:nth-child(5) { grid-column: span 1; aspect-ratio: 4/5; }
  .comm:nth-child(5) { grid-column: 1/-1; aspect-ratio: 16/10; }
  .offer-copy { padding: 56px 24px; }
  .offer-img { min-height: 300px; }
  .live-listings { padding: 24px 16px; }
  .review-stage { min-height: 340px; }
}
@media (max-width: 560px) {
  .sold-grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  form.lead { grid-template-columns: 1fr; padding: 26px 20px; }
  .hero-actions .btn { width: 100%; }
  .review-stage { min-height: 400px; }
}

/* Our listings (one combined list from the portfolio + RealScout feeds) */
.pf-grid.home-pf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.home .pf-card .tag { left: auto; top: 0; right: 0; }
.home .pf-card .cg-h4 { font-size: 18px; }
.home .pf-cta { margin-top: 14px; padding: 12px 22px; font-size: 11px; }
@media (max-width: 1080px) { .pf-grid.home-pf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pf-grid.home-pf { grid-template-columns: 1fr; } }

/* Awards: continuous scrolling strip, like the live site */
.awards { background: var(--cream); padding: 25px 0; overflow: hidden; border-top: 0; }
.awards .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.awards .marquee-track { display: flex; width: max-content; animation: awards-scroll 120s linear infinite; }
.awards .marquee:hover .marquee-track { animation-play-state: paused; }
.awards .marquee-group { display: flex; align-items: center; gap: 110px; padding-right: 110px; }
.awards img { height: 105px; width: auto; max-width: none; object-fit: contain; filter: none; opacity: 1; }
@keyframes awards-scroll { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .awards img { height: 72px; } .awards .marquee-group { gap: 60px; padding-right: 60px; } }
@media (prefers-reduced-motion: reduce) { .awards .marquee-track { animation: none; } }
