/* Visual polish scoped only to the Bellevue whole-home project page. */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) {
  --bellevue-rail: 1180px;
  --bellevue-gutter: calc(clamp(3rem, 9vw, 6rem) * 1.75);
  --bellevue-ivory: #fbfaf7;
  --bellevue-stone: #f3efe7;
  --bellevue-sage: #edf4f1;
  --bellevue-line: rgba(18, 50, 45, 0.13);
  --bellevue-shadow: 0 14px 32px rgba(15, 43, 38, 0.12);
  --bellevue-shadow-soft: 0 8px 22px rgba(15, 43, 38, 0.07);
  font-family: var(--font-body, "Inter", Arial, sans-serif);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) main :is(h1, h2, h3, h4),
body:is(.bellevue-full-home-page,.kirkland-full-home-page) main .photo-title strong,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) main .project-title {
  font-family: var(--font-heading, "DM Serif Display", Georgia, serif);
  font-weight: 400;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) main :is(p, a, button, small, .section-kicker, .source-label, .photo-badge) {
  font-family: var(--font-body, "Inter", Arial, sans-serif);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.project-hero-content, .project-jump-inner),
body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.project-section, .project-cta, .related-projects) > .container {
  width: 100%;
  max-width: 1244px;
  margin-inline: auto;
  padding-inline: var(--bellevue-gutter);
}

/* One shared page margin: the back/next bar and the footer line up with the
   same 1244px content rail and gutter the hero and every section use. */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .page-end-bar > .container {
  max-width: 1244px;
  margin-inline: auto;
  padding-inline: var(--bellevue-gutter);
}
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .footer-main,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .footer-bottom-inner {
  max-width: 1244px;
  margin-inline: auto;
  padding-left: var(--bellevue-gutter);
  padding-right: var(--bellevue-gutter);
}

/* Section nav bar under the hero: light white bar with a header-colored border. */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-jump {
  background: #ffffff !important;
  border-bottom: 1px solid #07211E !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section {
  padding: clamp(2.25rem, 3.6vw, 3.5rem) 0 !important;
  border-top: 1px solid var(--bellevue-line);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #overview,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) #primary-suite,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) #whole-home-gallery {
  background: var(--bellevue-stone) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #before,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) #skylights,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) #other-spaces {
  background: var(--bellevue-ivory) !important;
  color: var(--project-ink) !important;
}

/* Kitchen: same sage hue as --bellevue-sage but desaturated for a muted,
   subtle wash (hsl(165, 10%, 94%) vs the original 24% saturation). */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) #kitchen {
  background: hsl(165, 10%, 94%) !important;
  color: var(--project-ink) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #lower-floor-bathroom {
  background: var(--bellevue-sage) !important;
  color: var(--project-ink) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section-head {
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 1rem !important;
  max-width: none !important;
  margin: 0 0 clamp(0.7rem, 1.2vw, 1.05rem) !important;
  align-items: start;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #kitchen .project-section-head {
  margin-bottom: clamp(0.7rem, 1.2vw, 1.05rem) !important;
}

/* Hero text: tighter spacing and full-width wrapping. */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-hero-summary {
  max-width: none !important;
  margin-top: 0.5rem !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-eyebrow {
  margin-bottom: 0.4rem !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section-num {
  width: 40px !important;
  height: 40px !important;
  border-color: rgba(14, 110, 107, 0.3) !important;
  background: rgba(255, 255, 255, 0.58);
}

/* Section heading synced to the reference display style ("One vision"). */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* Section lede synced to the reference lede: 1.15rem, 1.7 line height. */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section-head p:last-child {
  max-width: none;
  margin-top: 0.4rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter {
  margin-top: clamp(1.25rem, 2.4vw, 1.9rem) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter:first-of-type {
  margin-top: 0 !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter-head {
  gap: 1rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom-color: var(--bellevue-line) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter-head h3 {
  font-size: clamp(1.4rem, 2.25vw, 1.9rem);
  line-height: 1.15;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter-head p {
  color: #416a64 !important;
  font-size: 0.92rem;
  line-height: 1.55;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.scope-layout, .scope-grid, .photo-grid, .planning-grid, .reveal-lead, .detail-feature, .kitchen-flow) {
  gap: clamp(0.75rem, 1.35vw, 1rem) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .scope-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #overview .scope-plan {
  padding: 0.45rem !important;
  border: 1px solid var(--bellevue-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: var(--bellevue-shadow-soft) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #overview .scope-plan .photo-media {
  border-radius: 3px;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #overview .scope-card {
  padding: clamp(1rem, 1.8vw, 1.35rem) !important;
  border: 1px solid var(--bellevue-line) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 6px 18px rgba(15, 43, 38, 0.05) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #overview .scope-card h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.15rem, 1.65vw, 1.4rem);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #overview .scope-card p {
  margin-top: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section .project-photo.gallery-item:not(.luxe-slide),
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .luxe-slideshow--carousel .luxe-slide .project-photo-block,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-media {
  border: 1px solid rgba(18, 50, 45, 0.1) !important;
  border-radius: 6px !important;
  box-shadow: var(--bellevue-shadow) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section .photo-media {
  background: #e8e5de;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .photo-grid:not(.project-reference-grid) .project-photo .photo-media,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .whole-home-summary-grid .project-photo .photo-media {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .photo-grid:not(.project-reference-grid) .project-photo .photo-media img,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .whole-home-summary-grid .project-photo .photo-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-ba-grid--portrait .project-photo .photo-media,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-reference-grid .project-photo .photo-media {
  aspect-ratio: 3 / 4 !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-reference-grid .project-photo--contain .photo-media img {
  object-fit: contain !important;
  background: #fff;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-lead, .detail-feature) {
  gap: clamp(0.75rem, 1.35vw, 1rem) !important;
  align-items: stretch;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-lead, .detail-feature) .photo-media {
  height: clamp(290px, 30vw, 420px) !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-lead, .detail-feature) .photo-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-copy, .detail-copy, .detail-feature-copy) {
  padding: clamp(1rem, 2.2vw, 1.75rem) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-copy, .detail-copy, .detail-feature-copy) p {
  color: #416a64 !important;
  line-height: 1.65;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-item {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  height: clamp(290px, 28vw, 390px);
  gap: clamp(0.75rem, 1.35vw, 1rem);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-copy {
  padding: clamp(1rem, 2.2vw, 1.75rem) !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-copy h4 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.18;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-copy p {
  color: #365f59 !important;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.62;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .luxe-slideshow--carousel,
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .luxe-slideshow--carousel.luxe-slideshow--before {
  --bs-img-h: clamp(320px, 42vw, 520px);
  --bs-img-w: calc(var(--bs-img-h) * 1.4);
  --bs-media-w: var(--bs-img-w);
  --bs-gap: clamp(0.75rem, 1.25vw, 1rem);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-cta {
  padding: clamp(3.25rem, 5vw, 4.5rem) 0 !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-cta h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .related-projects {
  padding: clamp(2.75rem, 4.5vw, 4rem) 0 !important;
}

@media (max-width: 1050px) {
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .scope-layout {
    grid-template-columns: 1fr;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .scope-plan {
    position: static;
    max-width: 680px;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-item,
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-item:nth-child(even) {
    grid-template-columns: 1fr !important;
    height: auto;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-media {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-media img {
    height: 100% !important;
    aspect-ratio: auto;
  }
}

@media (max-width: 780px) {
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) {
    --bellevue-gutter: 25.392px;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section {
    padding: 1.9rem 0 !important;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section-head {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 0.85rem !important;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-section-num {
    width: 34px !important;
    height: 34px !important;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.photo-grid, .planning-grid, .reveal-lead, .detail-feature, .project-reference-grid) {
    grid-template-columns: 1fr;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-lead, .detail-feature) .photo-media {
    height: clamp(235px, 64vw, 350px) !important;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(.reveal-copy, .detail-copy, .detail-feature-copy),
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) :is(#kitchen, #lower-floor-bathroom, #primary-bathroom) .kitchen-flow-copy {
    padding: 1rem 0.25rem !important;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .luxe-slideshow--carousel,
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .luxe-slideshow--carousel.luxe-slideshow--before {
    --bs-img-h: auto;
    --bs-img-w: min(84vw, 520px);
    --bs-media-w: var(--bs-img-w);
    --bs-gap: 0.65rem;
  }
}

@media (max-width: 520px) {
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .scope-grid,
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .project-ba-grid {
    grid-template-columns: 1fr !important;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter-head {
    display: block;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .chapter-head p {
    margin-top: 0.4rem;
  }
}

/* Primary Suite · Plan & Scope: scope copy left, combined floor plans right */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.5rem, 1vw, 0.9rem);
  background: #fff;
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 16px;
  padding: clamp(0.65rem, 1.2vw, 1rem);
  box-shadow: 0 14px 34px rgba(28, 28, 28, 0.07);
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-pair .project-photo {
  margin: 0;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-pair .photo-media {
  height: auto !important;
  background: #fff;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-pair .photo-media img {
  width: 100%;
  height: clamp(240px, 30vw, 420px) !important;
  object-fit: contain !important;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-copy {
  order: -1;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

@media (max-width: 900px) {
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-row {
    grid-template-columns: 1fr;
  }

  body:is(.bellevue-full-home-page,.kirkland-full-home-page) .suite-plan-pair .photo-media img {
    height: clamp(200px, 42vw, 300px) !important;
  }
}

/* Lower-Floor Bathroom timeline: taller 4:3 photo frames. Rows size to the
   photo (never the old short/wide clamp), both columns stretch to the same
   height, and photos fill the taller frame from the center. */
body:is(.bellevue-full-home-page,.kirkland-full-home-page) #lower-floor-bathroom .kitchen-flow-item {
  height: auto !important;
  min-height: 380px;
  align-items: stretch;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #lower-floor-bathroom .kitchen-flow-media {
  height: auto;
  min-height: 380px;
  aspect-ratio: 4 / 3;
}

body:is(.bellevue-full-home-page,.kirkland-full-home-page) #lower-floor-bathroom .kitchen-flow-media img {
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 900px) {
  body:is(.bellevue-full-home-page,.kirkland-full-home-page) #lower-floor-bathroom .kitchen-flow-item {
    min-height: 0;
  }
}
