/* This photo treatment is loaded only on the homepage. */
.care-card .care-photo .service-image {
  object-position: 50% 15%;
}

.cta-band {
  background-image: linear-gradient(rgba(247,244,238,.5),rgba(247,244,238,.58)),
    url('/assets/home-natural-cta.webp');
}

/* The reference composition keeps the title in the sky and the care below. */
#main .hero--mockup {
  --hero-paper: #f3eadf;
  --hero-accent: var(--gold);
  position: relative;
  display: block;
  min-height: 0;
  margin: 0;
  background: #d9e4e9;
  isolation: isolate;
}
#main .hero--mockup > .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% top;
  opacity: 1;
  translate: none;
}
#main .hero--mockup > .hero-wash {
  display: block;
  z-index: 1;
  translate: none;
  background: linear-gradient(180deg,
    rgba(243,234,223,.08) 0%,
    rgba(243,234,223,0) 45%,
    rgba(243,234,223,0) 65%,
    rgba(243,234,223,.52) 79%,
    rgba(243,234,223,.94) 92%,
    var(--hero-paper) 100%);
}
#main .hero--mockup > .wrap {
  position: relative;
  z-index: 2;
  translate: none;
}
#main .hero--mockup .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  min-height: clamp(880px, 61vw, 1120px);
  padding: 38px 0 34px;
  text-align: center;
}
#main .hero--mockup h1 {
  max-width: 900px;
  margin: 0 0 23px;
  color: #20211f;
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(3rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.015em;
}
#main .hero--mockup h1 em {
  display: inline-block;
  padding-top: 5px;
  color: inherit;
  font-size: 1.04em;
  font-weight: 400;
  line-height: 1.03;
}
#main .hero--mockup .hero-subtitle {
  max-width: none;
  margin: 0;
  color: #20211f;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .32em;
  text-transform: uppercase;
}
#main .hero--mockup .hero-subtitle::after {
  content: '';
  display: block;
  width: 68px;
  height: 1px;
  margin: 21px auto 0;
  background: var(--hero-accent);
}
#main .hero--mockup .hero-content > .hero-description {
  width: 100%;
  max-width: 510px;
  margin: auto 0 0;
  color: #292b28;
  font-size: 19px;
  line-height: 1.55;
}
#main .hero--mockup .hero-description-mobile { display: none; }
#main .hero--mockup .actions {
  display: flex;
  justify-content: center;
  width: auto;
  margin-top: 24px;
  gap: 12px;
}
#main .hero-features {
  background: #f3eadf;
  padding: 27px 0 39px;
  color: #292b28;
}
.hero-features-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 960px;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 5px 22px;
  text-align: center;
  border-right: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
}
.hero-feature:last-child { border-right: 0; }
.hero-feature .icon {
  flex: 0 0 auto;
  width: 42px;
  height: 44px;
  color: var(--gold);
  stroke-width: 1.15;
}
.hero-feature .service-symbol path { fill: none; stroke: currentColor; }
.hero-feature > span {
  max-width: 190px;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .13em;
  text-transform: uppercase;
}
@media (min-width: 761px) {
  #main .hero--mockup { background: var(--ivory); }
  #main .hero--mockup > .hero-photo {
    inset: 0 0 0 auto;
    width: 70%;
    object-position: 50% center;
  }
  #main .hero--mockup > .hero-wash {
    background: linear-gradient(90deg,
      var(--ivory) 0%,
      var(--ivory) 28%,
      rgba(247,244,238,.98) 32%,
      rgba(247,244,238,.8) 35%,
      rgba(247,244,238,.2) 46%,
      rgba(247,244,238,0) 58%);
  }
  #main .hero--mockup .hero-content {
    align-items: flex-start;
    justify-content: center;
    max-width: min(660px, 58vw);
    min-height: clamp(590px, 46vw, 690px);
    padding: 64px 0;
    text-align: left;
  }
  #main .hero--mockup h1 {
    margin-bottom: 24px;
    font-size: clamp(2.15rem, 4.1vw, 3.6rem);
    line-height: 1.08;
  }
  #main .hero--mockup h1 .hero-mobile-break { display: none; }
  #main .hero--mockup .hero-subtitle::after { margin-left: 0; }
  #main .hero--mockup .hero-content > .hero-description {
    max-width: 440px;
    margin: 28px 0 0;
    font-size: 17px;
    line-height: 1.75;
  }
  #main .hero--mockup .actions { justify-content: flex-start; margin-top: 28px; }
  .home-intro-strips { display: flex; flex-direction: column; }
  .home-intro-strips > .hero-features { order: 1; }
  #main .hero-features {
    padding: 16px 0;
    background: #fff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .hero-features-list.wrap { max-width: 1240px; }
  .hero-feature {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 4px 14px;
    text-align: left;
    border-right-color: var(--line);
  }
  .hero-feature .icon {
    width: 24px;
    height: 26px;
    color: var(--green);
    stroke-width: 1.5;
  }
  .hero-feature > span {
    max-width: none;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
  }
  .hero-feature br { display: none; }
}
@media (max-width: 760px) {
  #main .hero--mockup .hero-description-desktop { display: none; }
  #main .hero--mockup .hero-description-mobile { display: inline; }
  #main .hero--mockup > .hero-photo {
    top: 3%;
    height: 92%;
    object-position: 52% top;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%);
    mask-image: linear-gradient(180deg, transparent, #000 8%);
  }
  #main .hero--mockup > .wrap { width: calc(100% - 40px); }
  #main .hero--mockup .hero-content {
    min-height: clamp(690px, 181vw, 980px);
    padding: 38px 0 30px;
  }
  #main .hero--mockup h1 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 8.4vw, 3.2rem);
    line-height: 1.02;
  }
  #main .hero--mockup .hero-subtitle {
    font-size: clamp(11px, 2.8vw, 15px);
    letter-spacing: .29em;
  }
  #main .hero--mockup .hero-subtitle::after { width: 48px; margin-top: 17px; }
  #main .hero--mockup .hero-content > .hero-description {
    max-width: 365px;
    font-size: 16px;
    line-height: 1.55;
  }
  #main .hero--mockup .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }
  #main .hero--mockup .actions .button {
    min-width: 0;
    padding-inline: 8px;
    gap: 6px;
    font-size: clamp(12px, 3.14vw, 13px);
  }
  #main .hero-features { padding: 22px 0 32px; }
  .hero-features-list.wrap { width: calc(100% - 22px); }
  .hero-feature { gap: 12px; padding: 4px 7px; }
  .hero-feature .icon { width: 32px; height: 35px; }
  .hero-feature > span {
    font-size: clamp(10px, 2.55vw, 12px);
    line-height: 1.6;
    letter-spacing: .065em;
  }
}
@media (max-width: 540px) {
  /* Keep the actions above the fold even while the mobile browser bar is open. */
  #main .hero--mockup .hero-content {
    min-height: min(760px, calc(100svh - 84px));
    padding: 24px 0;
  }
  #main .hero--mockup h1 {
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }
  #main .hero--mockup .hero-subtitle::after { margin-top: 14px; }
  #main .hero--mockup .actions { margin-top: 18px; }
}
