/* Full-bleed, text-over-image homepage hero only.
   Preserves the existing page copy and functional consultation link. */
.page[data-page="home"] > .hero {
  position:relative; isolation:isolate; display:flex; align-items:center;
  width:100%; min-height:clamp(690px,80svh,870px);
  padding:clamp(180px,19vh,220px) 0 clamp(76px,10vh,120px)!important;
  overflow:hidden; background:#F3EFE7!important;
  border-bottom:1px solid rgba(20,38,43,.07);
}
.page[data-page="home"] > .hero::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:2;
  background:
    linear-gradient(90deg,
      rgba(247,244,238,.965) 0%,
      rgba(247,244,238,.93) 24%,
      rgba(247,244,238,.77) 43%,
      rgba(247,244,238,.35) 62%,
      rgba(247,244,238,.06) 83%),
    linear-gradient(0deg,rgba(247,244,238,.15),rgba(247,244,238,0) 26%);
}
.page[data-page="home"] > .hero::after {
  content:""; position:absolute; z-index:2;pointer-events:none;
  height:72px;left:0;right:0;bottom:0;
  background:linear-gradient(0deg,rgba(246,241,234,.14),transparent);
}
.page[data-page="home"] > .hero > .wrap {
  width:100%;max-width:var(--wrap,1240px);position:static;
  z-index:auto;
}
.page[data-page="home"] > .hero .hero__grid {
  display:block!important;position:static!important;
  grid-template-columns:none!important;
}
.page[data-page="home"] > .hero .hero__copy {
  position:relative;z-index:4;max-width:min(100%,665px);
  margin:0;padding:22px 0;
}
.page[data-page="home"] > .hero .hero__copy .eyebrow {
  color:#496C62;max-width:450px;
}
.page[data-page="home"] > .hero .hero__copy .eyebrow::after {
  background:rgba(47,93,99,.32);
}
.page[data-page="home"] > .hero .hero__copy h1 {
  max-width:16.5ch;font-size:clamp(3.05rem,4.5vw,4.4rem)!important;
  line-height:1.025;color:#172F35;letter-spacing:-.035em;
  text-shadow:0 1px 13px rgba(248,246,241,.2);
}
.page[data-page="home"] > .hero .hero__copy h1 em {color:#356961;}
.page[data-page="home"] > .hero .hero__copy .lead {
  max-width:50ch;margin-top:25px;
  color:#24464A;font-size:clamp(1.13rem,1.65vw,1.42rem)!important;
  line-height:1.55;
}
.page[data-page="home"] > .hero .hero__copy .btn-row {margin-top:27px;}
.page[data-page="home"] > .hero .hero__copy .btn {
  box-shadow:0 8px 28px rgba(17,50,54,.19),0 0 0 1px rgba(255,255,255,.20);
}
.page[data-page="home"] > .hero .hero__scene {
  position:absolute!important;inset:0!important;
  display:block!important;width:100%!important;height:100%!important;
  padding:0!important;margin:0!important;z-index:0!important;
  isolation:auto!important;justify-content:initial!important;align-items:initial!important;
}
.page[data-page="home"] > .hero .hero__scene::before,
.page[data-page="home"] > .hero .hero__scene::after {content:none!important;display:none!important;}
.page[data-page="home"] > .hero .hero__scene-frame {
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:none!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  transform:none!important;box-shadow:none!important;background:transparent!important;
}
.page[data-page="home"] > .hero .hero__scene-frame img {
  display:block;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:cover!important;object-position:center 49%!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  transform:none!important;filter:saturate(.95) brightness(1.025) contrast(1.02)!important;
}
@media(max-width:1000px){
  .page[data-page="home"] > .hero{min-height:700px;padding:clamp(155px,16vh,186px) 0 82px!important;}
  .page[data-page="home"] > .hero::before{
    background:linear-gradient(90deg,rgba(248,245,240,.975) 0%,rgba(248,245,240,.94) 34%,rgba(248,245,240,.69) 67%,rgba(248,245,240,.18) 100%);
  }
  .page[data-page="home"] > .hero .hero__copy {max-width:min(100%,610px);}
  .page[data-page="home"] > .hero .hero__copy h1{font-size:clamp(3rem,5.2vw,4rem)!important;}
}
@media(max-width:700px){
  .page[data-page="home"] > .hero {
    min-height:clamp(730px,94svh,890px);
    padding:clamp(136px,16vh,162px) 0 125px!important;
    align-items:flex-start!important;
  }
  .page[data-page="home"] > .hero::before{
    background:linear-gradient(180deg,
      rgba(248,245,239,.99) 0%,
      rgba(248,245,239,.97) 30%,
      rgba(248,245,239,.84) 53%,
      rgba(248,245,239,.36) 77%,
      rgba(248,245,239,.07) 100%);
  }
  .page[data-page="home"] > .hero .hero__copy{max-width:100%;padding:12px 0;}
  .page[data-page="home"] > .hero .hero__copy h1 {
    font-size:clamp(2.55rem,10vw,3.25rem)!important;
    max-width:14.8ch;line-height:1.03!important;
  }
  .page[data-page="home"] > .hero .hero__copy .lead{
    font-size:clamp(1.05rem,4.1vw,1.22rem)!important;
    max-width:33ch;line-height:1.52;
    margin-top:19px;
  }
  .page[data-page="home"] > .hero .hero__copy .btn-row {margin-top:23px;}
  .page[data-page="home"] > .hero .hero__copy .btn{
    max-width:100%;min-height:50px;white-space:normal;text-align:center;
  }
  .page[data-page="home"] > .hero .hero__scene-frame img {
    object-position:56% center!important;
  }
}
@media(max-width:400px){
  .page[data-page="home"] > .hero{
    min-height:740px;
    padding-top:138px!important;
  }
  .page[data-page="home"] > .hero .hero__copy h1{
    font-size:clamp(2.35rem,9.7vw,2.68rem)!important;
  }
}

/* Refinement: more of the office's blush and sage tones remain visible.
   The local, softly feathered ivory glow protects headline legibility
   without turning the entire image pale or adding a hard-edged card. */
.page[data-page="home"] > .hero::before {
  background:linear-gradient(90deg,
    rgba(248,245,239,.50) 0%,
    rgba(248,245,239,.30) 30%,
    rgba(248,245,239,.12) 55%,
    rgba(248,245,239,.02) 80%,
    rgba(248,245,239,0) 100%)!important;
}
.page[data-page="home"] > .hero .hero__copy::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;
  inset:-32px -72px -34px -42px;
  background:radial-gradient(ellipse at 38% 47%,
    rgba(252,250,246,.94) 0%,
    rgba(252,250,246,.89) 32%,
    rgba(252,250,246,.71) 57%,
    rgba(252,250,246,.36) 76%,
    rgba(252,250,246,0) 100%);
  filter:blur(10px);
}
.page[data-page="home"] > .hero .hero__scene-frame img{
  filter:saturate(1.10) contrast(1.06) brightness(1.015)!important;
}
.page[data-page="home"] > .hero .hero__copy .lead .hero-lead-break {
  display:block;
}
@media(max-width:1000px) {
  .page[data-page="home"] > .hero::before {
    background:linear-gradient(90deg,
      rgba(248,245,239,.49) 0%,
      rgba(248,245,239,.31) 46%,
      rgba(248,245,239,.10) 78%,
      rgba(248,245,239,.02) 100%)!important;
  }
  .page[data-page="home"] > .hero .hero__copy::before{
    background:radial-gradient(ellipse at 36% 46%,
      rgba(252,250,246,.95) 0%,
      rgba(252,250,246,.88) 34%,
      rgba(252,250,246,.64) 60%,
      rgba(252,250,246,.23) 80%,
      rgba(252,250,246,0) 100%);
  }
}
@media(max-width:700px) {
  .page[data-page="home"] > .hero::before{
    background:linear-gradient(180deg,
      rgba(248,245,239,.55) 0%,
      rgba(248,245,239,.43) 38%,
      rgba(248,245,239,.18) 72%,
      rgba(248,245,239,.02) 100%)!important;
  }
  .page[data-page="home"] > .hero .hero__copy::before {
    inset:-17px -25px -27px -19px;
    background:radial-gradient(ellipse at 41% 41%,
      rgba(252,250,246,.96) 0%,
      rgba(252,250,246,.86) 46%,
      rgba(252,250,246,.54) 74%,
      rgba(252,250,246,0) 100%);
    filter:blur(7px);
  }
  .page[data-page="home"] > .hero .hero__copy .lead .hero-lead-break{
    display:none;
  }
}
