:root {
  --esteem-cta-lime: var(--esteem-color-lime, #c8ff3d);
  --esteem-cta-ink: var(--esteem-color-ink, #111);
  --esteem-cta-radius: var(--esteem-radius-button, 16px);
  --esteem-cta-arrow-size: 38px;
  --esteem-cta-duration: 300ms;
  --esteem-cta-ease: cubic-bezier(.2, .8, .2, 1);
}

/* 1. Framer container overrides to prevent min-content wrapping */
.framer-WiXf4 .framer-1c985e4 {
  width: auto;
  height: auto;
}

.esteem-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  width: auto;
  height: auto;
  flex-flow: row;
  align-items: center;
  justify-content: flex-start;
}

/* 2. Base shared styles for primary CTA variants */
:where(
  .esteem-primary-cta,
  .esteem-secondary-cta,
  .esteem-home-cta,
  a.framer-WMYoJ.framer-v-j15i3q,
  a.framer-WMYoJ.framer-v-11jj171,
  .solar-lead-submit,
  :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
) {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid var(--esteem-cta-ink);
  border-radius: var(--esteem-cta-radius);
  font-family: "Geist", "Geist Placeholder", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  transition: color var(--esteem-cta-duration) ease,
    border-color var(--esteem-cta-duration) ease,
    background-color var(--esteem-cta-duration) ease;
}

/* Specific styling for homepage and Framer CTAs (without !important, using specificity) */
.esteem-primary-cta,
.esteem-secondary-cta,
.esteem-home-cta,
a.framer-WMYoJ.framer-v-j15i3q,
a.framer-WMYoJ.framer-v-11jj171 {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  padding: 7px 7px 7px 20px;
  background: var(--esteem-cta-ink);
  color: #fff;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
}

/* Specific styling for lead form submit button */
:where(
  .solar-lead-submit,
  :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
) {
  padding: 7px 7px 7px 20px;
  background: var(--esteem-cta-ink);
  color: #fff;
}

/* First child label text color transition and layout */
.esteem-primary-cta > span:first-child,
.esteem-home-cta > span:first-child,
a.framer-WMYoJ.framer-v-j15i3q > span:first-child,
a.framer-WMYoJ.framer-v-11jj171 > span:first-child {
  position: relative;
  z-index: 1;
  color: #fff;
  transition: color var(--esteem-cta-duration) ease;
}

.esteem-secondary-cta > span:first-child,
.esteem-secondary-cta--dark > span:first-child,
.esteem-secondary-cta--dark span:first-child {
  position: relative;
  z-index: 1;
  color: var(--esteem-cta-ink) !important;
  transition: color var(--esteem-cta-duration) ease;
}

/* Prevent text wrapping on desktop/tablet */
a.framer-WMYoJ.framer-v-j15i3q > span:first-child,
a.framer-WMYoJ.framer-v-11jj171 > span:first-child,
.esteem-home-cta > span:first-child,
.esteem-primary-cta > span:first-child,
.esteem-secondary-cta > span:first-child {
  white-space: nowrap;
}

/* 3. Custom arrow box element (centered using display: grid) */
.esteem-cta-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 var(--esteem-cta-arrow-size);
  width: var(--esteem-cta-arrow-size);
  height: var(--esteem-cta-arrow-size);
  place-items: center;
  border-radius: 11px;
  background: var(--esteem-cta-lime);
  color: var(--esteem-cta-ink);
  font-size: 18px;
  line-height: 1;
  transition: transform var(--esteem-cta-duration) var(--esteem-cta-ease),
    background-color var(--esteem-cta-duration) ease;
}

.esteem-cta-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  color: var(--esteem-cta-ink);
  transition: transform var(--esteem-cta-duration) var(--esteem-cta-ease);
}

/* 4. Hover & focus background transition (sliding lime fill) */
:where(
  a.framer-WMYoJ.framer-v-j15i3q,
  a.framer-WMYoJ.framer-v-11jj171,
  .esteem-home-cta,
  .esteem-primary-cta,
  .esteem-secondary-cta,
  .solar-lead-submit,
  :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: var(--esteem-cta-lime);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--esteem-cta-duration) var(--esteem-cta-ease);
}

a.framer-WMYoJ.framer-v-11jj171::before {
  background: rgba(226, 250, 90, .62);
}

.esteem-secondary-cta::before {
  background: var(--esteem-cta-lime);
}

:where(
  a.framer-WMYoJ.framer-v-j15i3q,
  a.framer-WMYoJ.framer-v-11jj171,
  .esteem-home-cta,
  .esteem-primary-cta,
  .esteem-secondary-cta,
  .solar-lead-submit,
  :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
) > * {
  position: relative;
  z-index: 1;
}

/* Hover behaviors */
@media (hover: hover) and (pointer: fine) {
  :where(
    a.framer-WMYoJ.framer-v-j15i3q,
    a.framer-WMYoJ.framer-v-11jj171,
    .esteem-home-cta,
    .esteem-primary-cta,
    .esteem-secondary-cta,
    .solar-lead-submit,
    :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
  ):hover::before {
    transform: scaleX(1);
  }

  a.framer-WMYoJ.framer-v-j15i3q:hover,
  a.framer-WMYoJ.framer-v-11jj171:hover,
  .esteem-home-cta:hover,
  .esteem-primary-cta:hover,
  .esteem-secondary-cta:hover,
  .solar-lead-submit:hover,
  :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]:hover {
    color: var(--esteem-cta-ink);
  }

  a.framer-WMYoJ.framer-v-j15i3q:hover > span:first-child,
  a.framer-WMYoJ.framer-v-11jj171:hover > span:first-child,
  .esteem-home-cta:hover > span:first-child,
  .esteem-primary-cta:hover > span:first-child,
  .esteem-primary-cta--dark:hover > span:first-child,
  .esteem-secondary-cta:hover > span:first-child,
  .esteem-secondary-cta--dark:hover > span:first-child,
  .esteem-secondary-cta--dark:hover span:first-child,
  .solar-lead-submit:hover > span:first-child {
    color: var(--esteem-cta-ink) !important;
  }

  a.framer-WMYoJ.framer-v-j15i3q:hover .esteem-cta-arrow,
  a.framer-WMYoJ.framer-v-11jj171:hover .esteem-cta-arrow,
  .esteem-home-cta:hover .esteem-cta-arrow,
  .esteem-primary-cta:hover .esteem-cta-arrow,
  .esteem-secondary-cta:hover .esteem-cta-arrow {
    transform: translateX(2px);
  }

  a.framer-WMYoJ.framer-v-j15i3q:hover .esteem-cta-arrow,
  a.framer-WMYoJ.framer-v-11jj171:hover .esteem-cta-arrow,
  .esteem-home-cta:hover .esteem-cta-arrow,
  .esteem-primary-cta:hover .esteem-cta-arrow,
  .esteem-primary-cta--dark:hover .esteem-cta-arrow,
  .esteem-secondary-cta:hover .esteem-cta-arrow,
  .esteem-secondary-cta--dark:hover .esteem-cta-arrow,
  .solar-lead-submit:hover .esteem-cta-arrow {
    background: var(--esteem-cta-ink) !important;
    color: #fff !important;
  }

  a.framer-WMYoJ.framer-v-j15i3q:hover .esteem-cta-arrow svg,
  a.framer-WMYoJ.framer-v-11jj171:hover .esteem-cta-arrow svg,
  .esteem-home-cta:hover .esteem-cta-arrow svg,
  .esteem-primary-cta:hover .esteem-cta-arrow svg,
  .esteem-primary-cta--dark:hover .esteem-cta-arrow svg,
  .esteem-secondary-cta:hover .esteem-cta-arrow svg,
  .esteem-secondary-cta--dark:hover .esteem-cta-arrow svg,
  .solar-lead-submit:hover .esteem-cta-arrow svg {
    color: #fff !important;
    stroke: #fff !important;
  }
}

/* Focus states */
:where(
  a.framer-WMYoJ.framer-v-j15i3q,
  a.framer-WMYoJ.framer-v-11jj171,
  .esteem-home-cta,
  .esteem-primary-cta,
  .esteem-secondary-cta,
  .solar-lead-submit,
  :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
):focus-visible::before {
  transform: scaleX(1);
}

a.framer-WMYoJ.framer-v-j15i3q:focus-visible,
a.framer-WMYoJ.framer-v-11jj171:focus-visible,
.esteem-home-cta:focus-visible,
.esteem-primary-cta:focus-visible,
.esteem-secondary-cta:focus-visible,
.solar-lead-submit:focus-visible,
:is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]:focus-visible {
  color: var(--esteem-cta-ink);
  outline: 3px solid var(--esteem-cta-lime);
  outline-offset: 3px;
}

a.framer-WMYoJ.framer-v-j15i3q:focus-visible > span:first-child,
a.framer-WMYoJ.framer-v-11jj171:focus-visible > span:first-child,
.esteem-home-cta:focus-visible > span:first-child {
  color: var(--esteem-cta-ink);
}

a.framer-WMYoJ.framer-v-j15i3q:focus-visible .esteem-cta-arrow,
a.framer-WMYoJ.framer-v-11jj171:focus-visible .esteem-cta-arrow,
.esteem-home-cta:focus-visible .esteem-cta-arrow,
.esteem-primary-cta:focus-visible .esteem-cta-arrow,
.esteem-secondary-cta:focus-visible .esteem-cta-arrow {
  transform: translateX(2px);
}

/* 5. Footer quote CTA: semantic selectors with generated fallbacks */
.footer-quote .footer-quote-title,
.footer-quote .esteem-footer-cta-title {
  margin: 0;
}

.footer-quote .footer-quote-copy,
.footer-quote .esteem-footer-cta-desc {
  margin: 0;
}

.footer-quote .footer-quote-action,
.footer-quote .esteem-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  max-width: 100%;
  min-height: 52px;
  padding: 7px 7px 7px 20px;
  gap: 16px;
}

.footer-quote .footer-quote-action > span:first-child,
.footer-quote .esteem-home-cta > span:first-child {
  white-space: nowrap;
}

.footer-quote .footer-quote-action .esteem-cta-arrow,
.footer-quote .esteem-home-cta .esteem-cta-arrow {
  flex: 0 0 var(--esteem-cta-arrow-size);
  width: var(--esteem-cta-arrow-size);
  height: var(--esteem-cta-arrow-size);
}

@media (hover: hover) and (pointer: fine) {
  .footer-quote .footer-quote-action:hover::before,
  .footer-quote .esteem-home-cta:hover::before {
    transform: scaleX(1);
  }

  .footer-quote .footer-quote-action:hover > span:first-child,
  .footer-quote .esteem-home-cta:hover > span:first-child {
    color: var(--esteem-cta-ink);
  }

  .footer-quote .footer-quote-action:hover .esteem-cta-arrow,
  .footer-quote .esteem-home-cta:hover .esteem-cta-arrow {
    transform: translateX(2px);
  }
}

.footer-quote .footer-quote-action:focus-visible::before,
.footer-quote .esteem-home-cta:focus-visible::before {
  transform: scaleX(1);
}

.footer-quote .footer-quote-action:focus-visible > span:first-child,
.footer-quote .esteem-home-cta:focus-visible > span:first-child {
  color: var(--esteem-cta-ink);
}

.footer-quote .footer-quote-action:focus-visible .esteem-cta-arrow,
.footer-quote .esteem-home-cta:focus-visible .esteem-cta-arrow {
  transform: translateX(2px);
}

@media (max-width: 350px) {
  .footer-quote .footer-quote-action > span:first-child,
  .footer-quote .esteem-home-cta > span:first-child {
    white-space: normal;
  }
}

/* 6. Lead Form Submit overrides */
.solar-lead-submit::after,
form.solar-lead-form button[type="submit"]::after,
form[data-framer-name="Contact Form"] button[type="submit"]::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 7px;
  display: grid;
  width: var(--esteem-cta-arrow-size);
  height: var(--esteem-cta-arrow-size);
  place-items: center;
  border-radius: 11px;
  background: var(--esteem-cta-lime);
  color: var(--esteem-cta-ink);
  font: 500 17px/1 "Geist", "Geist Placeholder", sans-serif;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform var(--esteem-cta-duration) var(--esteem-cta-ease),
    background-color var(--esteem-cta-duration) ease,
    opacity 180ms ease;
}

.solar-lead-submit,
form.solar-lead-form button[type="submit"],
form[data-framer-name="Contact Form"] button[type="submit"] {
  padding-right: 54px;
  text-align: left;
  transform: none;
}

.solar-lead-submit-label,
form.solar-lead-form button[type="submit"] p,
form[data-framer-name="Contact Form"] button[type="submit"] p {
  margin-right: auto;
}

.solar-lead-submit:hover,
.solar-lead-submit:focus-visible,
form.solar-lead-form button[type="submit"]:hover,
form.solar-lead-form button[type="submit"]:focus-visible,
form[data-framer-name="Contact Form"] button[type="submit"]:hover,
form[data-framer-name="Contact Form"] button[type="submit"]:focus-visible {
  background: var(--esteem-cta-ink);
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .solar-lead-submit:hover::after,
  form.solar-lead-form button[type="submit"]:hover::after,
  form[data-framer-name="Contact Form"] button[type="submit"]:hover::after {
    transform: translateX(3px) translateY(-50%);
  }
}

.solar-lead-submit:focus-visible::after,
form.solar-lead-form button[type="submit"]:focus-visible::after,
form[data-framer-name="Contact Form"] button[type="submit"]:focus-visible::after {
  transform: translateX(3px) translateY(-50%);
}

.solar-lead-submit.is-loading::after,
.solar-lead-submit:disabled::after,
form.solar-lead-form button[type="submit"]:disabled::after,
form[data-framer-name="Contact Form"] button[type="submit"]:disabled::after {
  opacity: 0;
}

/* 7. About page & Hero action layout styles (specifically designed to not conflict with original page designs) */
.esteem-primary-cta,
.esteem-secondary-cta {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 52px;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 7px 7px 7px 20px;
  overflow: hidden;
  border: 1px solid var(--esteem-cta-ink);
  border-radius: 16px;
  color: #fff;
  font-family: "Geist", "Geist Placeholder", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--esteem-cta-duration) ease,
    background-color var(--esteem-cta-duration) ease,
    border-color var(--esteem-cta-duration) ease;
}

.esteem-primary-cta {
  background: var(--esteem-cta-ink);
}

.esteem-secondary-cta {
  background: rgba(255, 255, 255, 0.62);
  color: var(--esteem-cta-ink);
}

.esteem-secondary-cta .esteem-cta-arrow {
  background: var(--esteem-cta-ink);
  color: #fff;
}

/* Shared final-section treatment for CTAs placed on the lime panel. */
.esteem-primary-cta--dark {
  background: var(--esteem-cta-ink);
}

.esteem-secondary-cta--dark {
  border-color: rgba(17, 17, 17, .25);
  background: rgba(255, 255, 255, .38);
}

@media (max-width: 809px) {
  .esteem-hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .esteem-primary-cta,
  .esteem-secondary-cta {
    width: 100%;
    justify-content: space-between;
  }

}

/* Extremely narrow viewport font wrapping fallback */
@media (max-width: 350px) {
  a.framer-WMYoJ.framer-v-j15i3q > span:first-child,
  a.framer-WMYoJ.framer-v-11jj171 > span:first-child,
  .esteem-home-cta > span:first-child {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(
    a.framer-WMYoJ.framer-v-j15i3q,
    a.framer-WMYoJ.framer-v-11jj171,
    .esteem-home-cta,
    .esteem-primary-cta,
    .esteem-secondary-cta,
    .solar-lead-submit,
    :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
  ),
  :where(
    a.framer-WMYoJ.framer-v-j15i3q,
    a.framer-WMYoJ.framer-v-11jj171,
    .esteem-home-cta,
    .esteem-primary-cta,
    .esteem-secondary-cta,
    .solar-lead-submit,
    :is(form.solar-lead-form, form[data-framer-name="Contact Form"]) button[type="submit"]
  )::before,
  .esteem-cta-arrow {
    transition: none !important;
  }
}

/* Keep only the homepage hero in its final, sharp visual state. */
#hero [style*="filter"],
#hero [style*="backdrop-filter"],
#hero [data-framer-appear-id],
#hero .hero-media,
#hero img,
#hero [data-framer-background-image-wrapper="true"] {
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

#hero .hero-noise,
#hero .esteem-hero-noise,
#hero .hero-noise *,
#hero .esteem-hero-noise * {
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

#hero .hero-noise > div,
#hero .esteem-hero-noise > div {
  opacity: .04 !important;
}

@media (max-width: 809px) {
  #hero,
  #hero.framer-WiXf4,
  #hero.framer-WiXf4.framer-72rtr7 {
    width: 100% !important;
    min-width: 0 !important;
  }

  #hero .esteem-hero-content,
  #hero .hero-content,
  #hero .esteem-hero-text,
  #hero .hero-copy,
  #hero .esteem-hero-title,
  #hero .hero-title,
  #hero .esteem-hero-description,
  #hero .hero-description {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #hero .hero-content,
  #hero .esteem-hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  #hero .hero-title,
  #hero .esteem-hero-title h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 38px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  #hero .hero-title > span,
  #hero .esteem-hero-title h1 > span {
    display: inline !important;
  }

  .framer-WiXf4.framer-72rtr7 {
    width: 100% !important;
  }

  .home-hero .hero-title,
  .esteem-hero-title h1 {
    width: min(100%, 343px) !important;
    max-width: 343px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero .hero-actions,
  .esteem-hero-actions {
    width: 100% !important;
    max-width: 343px !important;
  }

  #hero .hero-actions,
  #hero .esteem-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #hero .esteem-primary-cta,
  #hero .esteem-secondary-cta {
    width: 100%;
    justify-content: space-between;
  }
}

/* Keep the existing Framer testimonial ring and card geometry; only add motion. */
.testimonials-carousel.esteem-testimonial-autoplay,
[data-framer-name="Testimonials Carousel"].esteem-testimonial-autoplay {
  overflow: hidden;
}

.testimonials-carousel.esteem-testimonial-autoplay .is-testimonial-animating,
[data-framer-name="Testimonials Carousel"].esteem-testimonial-autoplay .is-testimonial-animating {
  transition: transform 900ms cubic-bezier(.22, .61, .36, 1) !important;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-carousel.esteem-testimonial-autoplay .is-testimonial-animating,
  [data-framer-name="Testimonials Carousel"].esteem-testimonial-autoplay .is-testimonial-animating {
    transition: none !important;
  }
}

/* ============================================================
   SEMANTIC HOMEPAGE HERO
   Replaces the Framer hero subtree while retaining the approved composition.
   ============================================================ */
.esteem-hero,
.home-hero {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--esteem-color-ink, #111);
  background: var(--esteem-color-paper, #fff);
}

.esteem-hero__background,
.esteem-hero__background img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.esteem-hero__background {
  z-index: -2;
}

.esteem-hero__background img {
  object-fit: cover;
  object-position: right top;
}

.esteem-hero__content,
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
  padding-top: 160px;
}

.esteem-hero__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(100%, 700px);
  padding: 0;
  text-align: center;
}

.esteem-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 3px 14px 3px 3px;
  border-radius: 70px;
  background: var(--esteem-color-ink, #111);
  color: var(--esteem-color-paper, #fff);
  font: 500 14px/1.2 var(--esteem-font-ui, sans-serif);
  letter-spacing: -.02em;
}

.esteem-hero__badge-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 30px;
  background: var(--esteem-color-lime-soft, #e2fa5a);
  color: var(--esteem-color-ink, #111);
}

.esteem-hero__badge-caption { white-space: nowrap; }

.esteem-hero__copy,
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.esteem-hero__copy h1,
.hero-copy .hero-title {
  max-width: 100%;
  margin: 0;
  color: var(--esteem-color-ink, #111);
  font: 500 64px/1.1 var(--esteem-font-heading, sans-serif);
  letter-spacing: -.02em;
  text-align: center;
}

.esteem-hero__copy p,
.hero-copy .hero-description {
  width: 100%;
  max-width: 500px;
  margin: 0;
  color: var(--esteem-color-ink, #111);
  font: 400 15px/1.4 var(--esteem-font-body, sans-serif);
  letter-spacing: -.01em;
  text-align: center;
}

.esteem-hero__actions,
.hero-actions {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: max-content;
  margin-top: 34px;
}

.esteem-hero__actions .esteem-primary-cta,
.esteem-hero__actions .esteem-secondary-cta,
.hero-actions .esteem-primary-cta,
.hero-actions .esteem-secondary-cta {
  flex: 0 0 auto;
}

.esteem-hero__roofing,
.hero-media {
  display: block;
  width: 100%;
  margin: 0;
  aspect-ratio: 2.7801;
  overflow: hidden;
}

.esteem-hero__roofing img,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.esteem-hero__noise,
.hero-noise {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, .04);
}

.esteem-hero:not(.is-visible) .esteem-hero__main,
.esteem-hero:not(.is-visible) .esteem-hero__roofing,
.home-hero:not(.is-visible) .hero-media {
  opacity: 0;
  transform: translateY(20px);
}

.esteem-hero__main,
.esteem-hero__roofing,
.hero-media {
  transition: opacity 400ms cubic-bezier(.44, 0, .56, 1) 120ms,
    transform 400ms cubic-bezier(.44, 0, .56, 1) 120ms;
}

@media (max-width: 1199.98px) and (min-width: 810px) {
  .esteem-hero__copy h1, .hero-copy .hero-title { font-size: 56px; }
  .esteem-hero__copy p, .hero-copy .hero-description { font-size: 15px; }
  .esteem-hero__badge { font-size: 11px; }
}

@media (max-width: 809.98px) {
  .esteem-hero__content, .hero-content { gap: 60px; }
  .esteem-hero__main { width: 100%; max-width: 700px; padding: 0 16px; }
  .esteem-hero__copy h1, .hero-copy .hero-title {
    width: min(100%, 343px);
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -.04em;
  }
  .esteem-hero__copy p, .hero-copy .hero-description { max-width: 343px; font-size: 14px; }
  .esteem-hero__actions, .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 343px);
  }
  .esteem-hero__actions .esteem-primary-cta,
  .esteem-hero__actions .esteem-secondary-cta,
  .hero-actions .esteem-primary-cta,
  .hero-actions .esteem-secondary-cta {
    width: 100%;
    justify-content: space-between;
  }
  .esteem-hero__badge { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .esteem-hero__main,
  .esteem-hero__roofing,
  .esteem-hero:not(.is-visible) .esteem-hero__main,
  .esteem-hero:not(.is-visible) .esteem-hero__roofing {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
