/* gen6-deck-home.css: page layer on top of css/gen6-deck.css (BUILD_20261202_mt_site_bible_visual_deslop). Places the shared deck primitives;
   never restyles them. Tokens only, no !important, no new hex.

   2026-12-02 W2: the homepage below the hero. Ground map (spec 4.5; white and paper count as one ground; dark only at 1, 5b, 12):
     1 hero (photo, W1)  2 #g6-sell white  3 #g6-buy wash  4 #g6-explorer white  5 #g6-client-stories reviews wash (F1)
     5b #g6-team navy  6 #g6-homes white  7 #g6-waterway wash  8 #g6-calculator white  9 #g6-guides tools and guides wash  10 #g6-faq white
     11 #g6-library films wash  12 #g6-talk close photo.
   Every rule is scoped to body.g6p-home. */

/* ---------- 1. Seller and buyer bands ---------- */
body.g6p-home .g6-route .g6-wrap { max-width: 1240px; }
body.g6p-home .g6-route-copy .g6-band-lede { margin-top: 16px; }
body.g6p-home .g6-route-note { margin: 20px 0 0; max-width: 58ch; font: 500 16px/1.55 var(--g6-ui); color: var(--g6-mute); }
body.g6p-home .g6-route-photo > img { aspect-ratio: 4 / 3; }
body.g6p-home .g6-route--buy .g6-route-photo > img { object-position: 50% 60%; }
/* 2026-12-02 F4 (T1 P2 11): top-aligned, so the band never opens on ~300px of empty white beside the H2. The photo's top meets
   the H2's top (the eyebrow line, 18px, plus its 14px margin sits above the H2). */
@media (min-width: 901px) {
  body.g6p-home .g6-route .g6-deck-grid { align-items: start; }
  body.g6p-home .g6-route .g6-route-photo { margin-top: 32px; }
}
@media (max-width: 900px) {
  /* phone order (spec 4.3): eyebrow, H2, photo, lede, steps, button, quiet links */
  body.g6p-home .g6-route .g6-deck-grid { display: flex; flex-direction: column; gap: 0; }
  body.g6p-home .g6-route-copy { display: contents; }
  body.g6p-home .g6-route .g6-eyebrow { order: 1; }
  body.g6p-home .g6-route .g6-band-h2 { order: 2; }
  body.g6p-home .g6-route .g6-route-photo { order: 3; margin: 24px 0 6px; }
  body.g6p-home .g6-route .g6-band-lede { order: 4; }
  body.g6p-home .g6-route ol.g6-why { order: 5; }
  body.g6p-home .g6-route .g6-route-note { order: 6; }
  body.g6p-home .g6-route .g6-deck-actions { order: 7; }
  body.g6p-home .g6-route .g6-deck-actions .g6-btn--fill { flex: 1 1 100%; }
}

/* the sample listing plan, inside the seller band */
body.g6p-home .g6-plan { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--g6-hair); }
body.g6p-home .g6-plan-h { margin: 0 0 14px; font: 700 clamp(28px, 2.6vw, 40px)/1.08 var(--g6-display); letter-spacing: -.01em; color: var(--g6-navy); text-wrap: balance; }
body.g6p-home .g6-plan-h em { font-style: normal; color: var(--g6-sky); }
body.g6p-home .g6-plan-copy p { margin: 0; max-width: 46ch; font: 500 17px/1.6 var(--g6-ui); color: var(--g6-mute); }
body.g6p-home .g6-plan-deck { margin: 0; }
body.g6p-home .g6-plan-slides { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
body.g6p-home .g6-plan-slides img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--g6-hair); box-shadow: var(--g6-photo-shadow); background: var(--g6-wash); }
body.g6p-home .g6-plan-slides img:first-child { grid-row: 1 / span 2; height: 100%; }
body.g6p-home .g6-plan-deck > figcaption { margin-top: 12px; font: 500 14px/1.4 var(--g6-ui); color: var(--g6-mute); }
@media (max-width: 900px) {
  body.g6p-home .g6-plan { grid-template-columns: 1fr; gap: 22px; }
  body.g6p-home .g6-plan-slides { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.g6p-home .g6-plan-slides img:first-child { grid-column: 1 / -1; grid-row: auto; height: auto; }
}

/* ---------- 2. Areas: white ground (the beige frame in gen6-home-rebuild.css:278 is the hero owner's file; see the W2 report) ---------- */
body.g6p-home .g6-explorer, body.g6p-home .g6-explorer-frame { background: var(--g6-white); }
body.g6p-home .g6-explorer-copy .g6-band-h2 { margin: 0 0 12px; }
/* 2026-12-02 F4 (T1 P1 7, spec 4.4): the W3 plate keeps its own paper, but only INSIDE a framed map on the white band: the stage
   sits in the 1240 column the route bands use, radius 18, the deck photo shadow, and the band gets its bottom room back.
   Wrapper only: the plate, its colours and enhancements/explorer/** are untouched. Phones never load the stage (city list). */
@media (min-width: 701px) {
  body.g6p-home .g6-explorer .g6-explorer-frame { padding-bottom: clamp(56px, 7vw, 104px); } /* inside the frame, whose overflow clip would cut the shadow */
  body.g6p-home .g6-explorer .g6-explorer-copy { width: min(100% - 80px, 1240px); }
  body.g6p-home .g6-explorer .g6-explorer-stage {
    width: min(100% - 80px, 1240px); height: min(760px, 82svh); min-height: 560px; margin-inline: auto;
    border-radius: var(--g6-radius); box-shadow: var(--g6-photo-shadow); isolation: isolate;
  }
}

/* ---------- 3. Reviews (WASH, template-parts/gen6-reviews-carousel.php + css/gen6-reviews-carousel.css), then the team (flat NAVY band) ---------- */
body.g6p-home .g6-proof-team { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
body.g6p-home .g6-proof-lead { margin: 0; }
body.g6p-home .g6-proof-lead img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; border-radius: var(--g6-radius); }
body.g6p-home .g6-proof-lead figcaption { margin-top: 10px; font: 500 14px/1.4 var(--g6-ui); color: var(--g6-on-deep); }
body.g6p-home .g6-proof-team-copy .g6-band-h2 { margin: 0 0 18px; }
body.g6p-home .g6-proof-team-copy > p { margin: 0 0 12px; max-width: 62ch; font: 500 17px/1.6 var(--g6-ui); color: var(--g6-on-deep); }
@media (max-width: 760px) {
  body.g6p-home .g6-proof-team { grid-template-columns: 1fr; gap: 20px; }
  body.g6p-home .g6-proof-lead { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: end; }
  body.g6p-home .g6-proof-lead img { width: 112px; }
  body.g6p-home .g6-proof-team .g6-deck-actions .g6-btn { flex: 1 1 100%; }
}

/* ---------- 4. Homes (white) ---------- */
body.g6p-home #g6-homes .g6-homes-head .g6-band-lede { margin-top: 14px; }

/* ---------- 5. Address chapter (wash): the cards are white on the wash ground (css/gen6-home-live.css sections 1 and 9) ---------- */
body.g6p-home #g6-waterway .g6-story-head .g6-band-h2 { max-width: 22ch; }
body.g6p-home #g6-waterway .g6-story-card--value .g6p-book { background: transparent; color: var(--g6-navy); box-shadow: inset 0 0 0 1px var(--g6-navy); }

/* ---------- 6. Monthly cost (white) ---------- */
body.g6p-home #g6-calculator .g6-payment { border: 1px solid var(--g6-hair); box-shadow: none; }
body.g6p-home #g6-calculator .g6-calculator-form .g6-action { background: transparent; color: var(--g6-navy); box-shadow: inset 0 0 0 1px var(--g6-navy); }

/* ---------- 7. Tools and guides showcase (wash): one card component, two rows ---------- */
body.g6p-home .g6-showcase-head { max-width: 760px; margin: 0 0 clamp(28px, 3vw, 40px); }
body.g6p-home .g6-show-h { margin: clamp(28px, 3vw, 40px) 0 16px; font: 800 13px/1.3 var(--g6-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--g6-navy); }
body.g6p-home .g6-show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
body.g6p-home .g6-show-grid--tools { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
body.g6p-home .g6-show-card { display: grid; align-content: start; gap: 6px; height: 100%; color: var(--g6-text); text-decoration: none; }
body.g6p-home .g6-show-pic { display: block; overflow: hidden; margin-bottom: 8px; aspect-ratio: 16 / 10; border-radius: 14px; border: 1px solid var(--g6-hair); background: var(--g6-white); box-shadow: var(--g6-photo-shadow); }
body.g6p-home .g6-show-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
body.g6p-home .g6-show-grid--guides .g6-show-pic img { object-position: 50% 50%; }
body.g6p-home .g6-show-card > b { font: 700 clamp(22px, 1.8vw, 26px)/1.15 var(--g6-display); color: var(--g6-navy); }
body.g6p-home .g6-show-card > span:last-child { font: 500 15px/1.5 var(--g6-ui); color: var(--g6-mute); }
body.g6p-home .g6-show-card:hover > b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
body.g6p-home .g6-show-card:hover .g6-show-pic img { transform: scale(1.03); }
body.g6p-home .g6-show-card:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 4px; border-radius: 14px; }
@media (max-width: 1100px) { body.g6p-home .g6-show-grid--tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  /* phones: each row is one swipe row, so the chapter stays short and every card keeps a readable picture */
  body.g6p-home .g6-show-grid, body.g6p-home .g6-show-grid--tools { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 2px 20px 12px; scrollbar-width: none; }
  body.g6p-home .g6-show-grid > li { flex: 0 0 76%; scroll-snap-align: start; }
  body.g6p-home .g6-showcase .g6-deck-actions .g6-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { body.g6p-home .g6-show-pic img { transition: none; } }

/* ---------- 8. Questions (white) ---------- */
body.g6p-home #g6-faq .g6-band-lede { margin-bottom: 18px; }

/* ---------- 9. Films (wash): one lead film beside the copy, then one row; a click opens the film dialog (js/gen6-body.js) ---------- */
body.g6p-home .g6-film { margin: 0; }
body.g6p-home .g6-film > a { display: grid; gap: 6px; color: var(--g6-text); text-decoration: none; }
body.g6p-home .g6-film-pic { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--g6-radius); background: var(--g6-deep); box-shadow: var(--g6-photo-shadow); }
body.g6p-home .g6-film-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.g6p-home .g6-film-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--g6-white); box-shadow: var(--g6-photo-shadow); }
body.g6p-home .g6-film-play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--g6-navy); }
body.g6p-home .g6-film-row .g6-film-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
body.g6p-home .g6-film-row .g6-film-play::after { left: 21px; top: 16px; border-width: 10px 0 10px 16px; }
body.g6p-home .g6-film-t { margin-top: 8px; font: 700 clamp(20px, 1.6vw, 24px)/1.18 var(--g6-display); color: var(--g6-navy); }
body.g6p-home .g6-film--lead .g6-film-t { font-size: clamp(26px, 2.2vw, 32px); }
body.g6p-home .g6-film-m, body.g6p-home .g6-film > figcaption { font: 500 14px/1.4 var(--g6-ui); color: var(--g6-mute); }
body.g6p-home .g6-film > figcaption { margin-top: 4px; }
body.g6p-home .g6-film > a:hover .g6-film-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
body.g6p-home .g6-film > a:focus-visible { outline: 2px solid var(--g6-navy); outline-offset: 4px; border-radius: var(--g6-radius); }
body.g6p-home .g6-film-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin: clamp(40px, 5vw, 64px) 0 0; padding: clamp(28px, 3vw, 40px) 0 0; border-top: 1px solid var(--g6-hair); list-style: none; }
@media (max-width: 760px) {
  body.g6p-home .g6-film-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 24px 20px 12px; scrollbar-width: none; }
  body.g6p-home .g6-film-row > li { flex: 0 0 76%; scroll-snap-align: start; }
  body.g6p-home .g6-films .g6-deck-actions .g6-btn { flex: 1 1 100%; }
}

/* ---------- 10. The close (PHOTO band, the deck "ask" slide) ---------- */
body.g6p-home .g6-home-close .g6-band-media img { object-position: 50% 60%; }
body.g6p-home .g6-home-close-copy { max-width: 640px; }
body.g6p-home .g6-home-close-logo { display: block; width: 96px; height: auto; margin: 0 0 26px; filter: brightness(0) invert(1); }
body.g6p-home .g6-home-close .g6-band-h2 { max-width: 14ch; }
body.g6p-home .g6-home-close .g6-deck-link.g6-booking-phone { color: var(--g6-white); }
body.g6p-home .g6-home-close .g6-broker-line { margin: 28px 0 0; font: 500 13px/1.5 var(--g6-ui); color: var(--g6-on-deep); }
@media (max-width: 760px) { body.g6p-home .g6-home-close .g6-deck-actions .g6-btn { flex: 1 1 100%; } }

/* 2026-12-02 R2: initials tile for an agent with no headshot yet (same box as the photos in .g6ps-faces). */
.home.gen6 .g6ps-faces .g6ps-mono { display: grid; place-items: center; width: 76px; height: 92px; border-radius: 14px; border: 1px solid rgba(210,228,245,.28); background: var(--g6-deep); color: var(--g6-pale); font: 700 24px/1 var(--g6-display); letter-spacing: .02em; }
@media (max-width: 700px) { .home.gen6 .g6ps-faces .g6ps-mono { width: 64px; height: 78px; font-size: 21px; } }
