/* Homepage 109: wedding-photo hero, tactile green service labels, mobile refinement.
   These scoped rules intentionally leave the service-page designs unchanged. */

/* Keep the original full-photo welcome design, with the text just below centre. */
body.home-page .home-hero-copy{
  transform:translateY(clamp(24px,4.5svh,56px));
}

/* Cheerful, unified service signposts. Deep green is the anchor; no salmon-filled boxes. */
body.home-page .home-service-card{
  display:block;
  padding-bottom:7px;
  background:transparent;
}
body.home-page .home-service-photo{
  border-radius:14px 14px 5px 5px;
}
body.home-page .home-service-pill{
  position:relative;
  left:auto;
  bottom:auto;
  transform:none;
  width:calc(100% - 26px);
  min-width:0;
  max-width:none;
  min-height:69px;
  margin:-23px auto 0;
  padding:14px 15px 14px 21px;
  justify-content:space-between;
  gap:12px;
  border:1px solid #21584e;
  border-radius:7px 7px 20px 7px;
  background:#245f54;
  color:#fff;
  box-shadow:5px 5px 0 #bfe0d6;
  text-align:left;
  white-space:normal;
  font-size:clamp(13px,1.14vw,16px);
  letter-spacing:.09em;
  line-height:1.22;
}
body.home-page .home-service-pill-title{
  flex:1;
  text-wrap:balance;
}
body.home-page .home-service-pill-spark{
  display:grid;
  width:38px;
  height:38px;
  flex:none;
  place-items:center;
  border-radius:50%;
  background:#edf4ef;
  color:#286b5e;
  font:600 22px/1 var(--copy-font);
  transition:transform .25s ease;
}
body.home-page .home-service-card:hover .home-service-pill,
body.home-page .home-service-card:focus-visible .home-service-pill{
  background:#1e5149;
  color:#fff;
  box-shadow:5px 5px 0 #91c7b9;
}
body.home-page .home-service-card:hover .home-service-pill-spark,
body.home-page .home-service-card:focus-visible .home-service-pill-spark{
  transform:rotate(35deg);
}

/* The rose wall brings green and floral pink into the existing soft-blush chapter. */
body.home-page .home-flower-image img{object-position:center 50%;}

@media(max-width:760px){
  body.home-page .home-hero-copy{transform:translateY(25px)}
  body.home-page .home-primary-services{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px 16px;
  }
  body.home-page .home-service-card{padding-bottom:7px}
  body.home-page .home-service-photo{aspect-ratio:1.12}
  body.home-page .home-service-pill{
    width:calc(100% - 17px);
    min-height:66px;
    max-width:none;
    font-size:12px;
    padding:12px 11px 12px 14px;
    gap:7px;
  }
  body.home-page .home-service-pill-spark{width:32px;height:32px;font-size:19px}
  body.home-page .home-service-card:last-child{grid-column:1/-1}
  body.home-page .home-service-card:last-child .home-service-photo{aspect-ratio:2.1}
  body.home-page .home-service-card:last-child .home-service-pill{
    width:min(365px,calc(100% - 28px));
  }
}

@media(max-width:600px){
  body.home-page .home-hero{min-height:clamp(620px,calc(100svh - 100px),790px)}
  body.home-page .home-hero-frame img{object-position:center 37%}
  body.home-page .home-hero-shade{
    background:linear-gradient(180deg,
      rgba(16,55,49,.14) 0%,
      rgba(16,55,49,.30) 38%,
      rgba(16,55,49,.73) 100%);
  }
  body.home-page .home-hero-inner{padding-top:88px;padding-bottom:65px}
  body.home-page .home-hero-copy{transform:translateY(26px)}
  body.home-page .home-hero h1 em{
    font-size:clamp(41px,10.8vw,61px);
    letter-spacing:.045em;
  }
  body.home-page .home-hero h1>span{
    font-size:clamp(28px,7vw,40px);
    line-height:1.15;
  }
  body.home-page .home-hero-actions{
    width:min(100%,302px);
    max-width:302px;
    margin-top:clamp(36px,5svh,49px);
  }
  body.home-page .home-hero-actions .home-button{
    min-height:53px;
    font-size:14px;
  }
  body.home-page .home-explore{padding-block:63px 79px}
  body.home-page .home-section-heading h2{font-size:clamp(33px,8vw,46px)}
  body.home-page .home-primary-services{grid-template-columns:1fr;gap:23px}
  body.home-page .home-service-card:last-child{grid-column:auto}
  body.home-page .home-service-photo,
  body.home-page .home-service-card:last-child .home-service-photo{aspect-ratio:1.25}
  body.home-page .home-service-pill,
  body.home-page .home-service-card:last-child .home-service-pill{
    width:calc(100% - 24px);
    min-height:64px;
    font-size:14px;
    margin-top:-20px;
    padding:12px 13px 12px 20px;
  }
  body.home-page .home-service-pill-spark{width:36px;height:36px;font-size:21px}
  body.home-page .home-flower-image{aspect-ratio:1.09}
  body.home-page .home-backdrop-actions .home-button,
  body.home-page .home-flower-actions .home-button{min-height:48px}
  body.home-page .home-flower-copy h2,
  body.home-page .home-backdrop-copy h2{overflow-wrap:normal}
  body.home-page .home-print-image{aspect-ratio:1.27}
  body.home-page .headinner nav a{min-height:36px;display:inline-flex;align-items:center}
}

@media(max-width:370px){
  body.home-page .home-hero h1 em{font-size:39px}
  body.home-page .home-hero h1>span{font-size:26px}
  body.home-page .home-service-pill{font-size:13px}
  body.home-page .home-hero-actions{max-width:276px}
}

@media(prefers-reduced-motion:reduce){
  body.home-page .home-service-pill-spark{transition:none}
}
