/**
 * Landing page — Figma nodes 11:896 (desktop) / 50:1157 (mobile)
 * Dimensions from Figma MCP Inspector metadata.
 */

.hmf-page-home {
  --hmf-home-pad-x: 24px;
  --hmf-home-section-pad-y: 48px;
}

@media (min-width: 992px) {
  .hmf-page-home {
    --hmf-home-pad-x: 64px;
    --hmf-home-section-pad-y: 64px;
  }
}

.hmf-home-section {
  padding-block: var(--hmf-home-section-pad-y);
}

.hmf-page-home .hmf-container {
  padding-inline: var(--hmf-home-pad-x);
}

/* ── Hero — background: static/img/placeholders/home/Hero Section.png ─── */
.hmf-home-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  color: var(--hmf-color-cream);
  overflow: hidden;
}

@media (min-width: 992px) {
  .hmf-home-hero {
    min-height: 800px;
  }
}

.hmf-home-hero__media {
  position: absolute;
  inset: 0;
  background: url("../../img/placeholders/home/Hero%20Section.png") center right / cover no-repeat;
  background-color: var(--hmf-color-primary);
}

@media (max-width: 767.98px) {
  .hmf-home-hero__media {
    background-position: 72% center;
  }
}

.hmf-home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 16, 1, 0.72) 0%,
    rgba(0, 16, 1, 0.45) 35%,
    rgba(0, 16, 1, 0.15) 60%,
    transparent 100%
  );
}

@media (max-width: 767.98px) {
  .hmf-home-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 16, 1, 0.45) 0%,
      rgba(0, 16, 1, 0.62) 45%,
      rgba(0, 16, 1, 0.72) 100%
    );
  }
}

/* Floating nav — white bar, rounded bottom corners only */
.hmf-home-hero__chrome {
  position: relative;
  z-index: 2;
  padding: 0;
}

.hmf-home-hero__chrome .hmf-header {
  padding-block: 0;
}

.hmf-home-hero__chrome .hmf-container {
  max-width: none;
  padding-inline: var(--hmf-home-pad-x);
}

.hmf-home-hero__chrome .hmf-header__bar {
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 24px rgba(0, 16, 1, 0.08);
}

@media (max-width: 991.98px) {
  .hmf-home-hero__chrome .hmf-header__bar {
    border-radius: 0 0 32px 32px;
    min-height: var(--hmf-header-mobile-height);
    padding-inline: var(--hmf-header-mobile-padding-x);
  }
}

.hmf-home-hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0 56px;
}

@media (min-width: 992px) {
  .hmf-home-hero__content {
    padding-block: 48px 80px;
  }
}

.hmf-home-hero__content-inner {
  width: 100%;
}

.hmf-home-hero__title-block {
  width: 100%;
  max-width: 585px;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 992px) {
  .hmf-home-hero__title-block {
    margin-inline: 0;
    margin-left: clamp(24px, 12vw, 180px);
    text-align: left;
  }
}

.hmf-home-hero__title {
  font-family: var(--hmf-font-heading);
  font-weight: 600;
  font-size: clamp(2.25rem, 5.5vw, var(--hmf-text-h1));
  line-height: 1.14;
  color: var(--hmf-color-cream);
  margin: 0 0 24px;
  text-transform: none;
}

.hmf-home-hero__title-line {
  display: block;
}

.hmf-home-hero__subtitle {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, var(--hmf-text-body-lg));
  line-height: var(--hmf-text-body-lg-lh);
  color: var(--hmf-color-cream);
  margin: 0 0 32px;
}

.hmf-home-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

@media (min-width: 992px) {
  .hmf-home-hero__actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.hmf-home-hero__actions .hmf-btn--icon {
  text-transform: capitalize;
  letter-spacing: var(--hmf-tracking-btn);
}

.hmf-home-hero__actions .hmf-btn__label {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-btn);
  line-height: var(--hmf-text-btn-lh);
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .hmf-home-hero__actions .hmf-btn--icon {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .hmf-home-hero__actions .hmf-btn__label {
    flex: 1;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

/* Secondary CTA — outline + arrow icon */
.hmf-home-hero__btn-outline .hmf-btn__label {
  background-color: transparent;
  border: 2px solid var(--hmf-color-cream);
  color: var(--hmf-color-cream);
}

.hmf-home-hero__btn-outline:hover .hmf-btn__label {
  background-color: rgba(245, 239, 227, 0.12);
  opacity: 1;
}

/* ── About — screenshot: static/screenshots/landing-s-2.png ───── */
.hmf-home-about {
  background-color: var(--hmf-color-white);
}

@media (min-width: 992px) {
  .hmf-home-about {
    padding-block: 120px;
  }
}

.hmf-home-about__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (max-width: 991.98px) {
  .hmf-home-about__grid {
    grid-template-areas:
      "stat"
      "leading"
      "content"
      "media";
    justify-items: center;
    text-align: center;
  }

  .hmf-home-about__aside {
    display: contents;
  }

  .hmf-home-about__stat {
    grid-area: stat;
  }

  .hmf-home-about__leading {
    grid-area: leading;
  }

  .hmf-home-about__content {
    grid-area: content;
  }

  .hmf-home-about__media {
    grid-area: media;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .hmf-home-about__grid {
    grid-template-columns: minmax(0, 533px) minmax(0, 1fr);
    grid-template-areas:
      "leading aside"
      "content aside";
    gap: 24px 64px;
    align-items: start;
  }

  .hmf-home-about__leading {
    grid-area: leading;
  }

  .hmf-home-about__content {
    grid-area: content;
  }

  .hmf-home-about__aside {
    grid-area: aside;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
  }
}

.hmf-home-about__leading {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 991.98px) {
  .hmf-home-about__leading {
    justify-content: center;
  }
}

.hmf-home-about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

@media (max-width: 991.98px) {
  .hmf-home-about__content {
    align-items: center;
  }
}

.hmf-home-about__headline {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.5vw, var(--hmf-text-h2));
  line-height: 1.2;
  color: var(--hmf-color-black);
  margin: 0;
  text-transform: capitalize;
}

.hmf-home-about__accent {
  color: var(--hmf-color-primary);
}

.hmf-home-about__story {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hmf-home-about__story p {
  font-family: var(--hmf-font-body);
  font-weight: 400;
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-grey);
  margin: 0;
}

.hmf-home-about__btn.hmf-btn--icon {
  text-transform: capitalize;
  letter-spacing: var(--hmf-tracking-btn);
}

.hmf-home-about__btn .hmf-btn__label {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-btn);
  line-height: var(--hmf-text-btn-lh);
  padding-inline: 28px;
}

@media (max-width: 991.98px) {
  .hmf-home-about__btn.hmf-btn--icon {
    width: 100%;
    max-width: none;
  }

  .hmf-home-about__btn .hmf-btn__label {
    flex: 1;
    justify-content: center;
  }
}

.hmf-home-about__stat {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 992px) {
  .hmf-home-about__stat {
    align-self: flex-end;
    max-width: 285px;
  }
}

@media (max-width: 991.98px) {
  .hmf-home-about__stat {
    justify-content: center;
  }
}

.hmf-home-about__avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hmf-home-about__avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--hmf-color-white);
  object-fit: cover;
  margin-left: -12px;
}

.hmf-home-about__avatars img:first-child {
  margin-left: 0;
}

.hmf-home-about__stat-value {
  font-family: var(--hmf-font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, var(--hmf-text-h4));
  line-height: 1.2;
  color: var(--hmf-color-black);
  margin: 0;
}

.hmf-home-about__stat-label {
  font-family: var(--hmf-font-heading);
  font-weight: 400;
  font-size: var(--hmf-text-nav);
  line-height: var(--hmf-text-nav-lh);
  color: var(--hmf-color-grey);
  margin: 0;
}

.hmf-home-about__media {
  width: 100%;
  max-width: 757px;
}

@media (min-width: 992px) {
  .hmf-home-about__media {
    max-width: 560px;
  }
}

.hmf-home-about__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}


/* ── Services — screenshot: static/screenshots/landing-s-3.png ── */
.hmf-home-services {
  background-color: var(--hmf-color-cream);
  padding-block: 48px;
}

@media (min-width: 992px) {
  .hmf-home-services {
    padding-block: 80px;
  }
}

.hmf-home-services__header {
  text-align: center;
  max-width: 788px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hmf-home-services .hmf-tag--white {
  border: 1px solid rgba(0, 16, 1, 0.08);
}

.hmf-home-services__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, var(--hmf-text-h2));
  line-height: 1.2;
  color: var(--hmf-color-black);
  margin: 0;
  text-transform: capitalize;
}

.hmf-home-services__accent {
  color: var(--hmf-color-primary);
}

.hmf-home-services__subtitle {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-body-lg);
  line-height: var(--hmf-text-body-lg-lh);
  color: var(--hmf-color-grey);
  margin: 0;
  max-width: 640px;
}

.hmf-home-services__wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.hmf-home-services__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--hmf-home-pad-x));
  padding-inline: var(--hmf-home-pad-x);
}

.hmf-home-services__track::-webkit-scrollbar {
  display: none;
}

.hmf-home-services__slide {
  flex: 0 0 min(100%, 342px);
  scroll-snap-align: start;
}

@media (max-width: 767.98px) {
  .hmf-home-services__header {
    margin-bottom: 32px;
  }

  .hmf-home-services__wrap {
    gap: 20px;
    overflow: hidden;
  }

  .hmf-home-services__track {
    gap: 0;
    margin-inline: 0;
    padding-inline: 0;
    padding-block: 12px 4px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
  }

  .hmf-home-services__track::after {
    content: none;
  }

  .hmf-home-services__slide {
    flex: 0 0 100%;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    min-width: 0;
  }

  .hmf-home-services__wrap .hmf-carousel-nav {
    justify-content: flex-end;
    gap: 12px;
    margin-top: 4px;
  }

  .hmf-home-services .hmf-service-card__inner {
    padding: 16px;
    border: 1px solid rgba(0, 16, 1, 0.08);
    box-shadow: 0 4px 24px rgba(0, 16, 1, 0.06);
  }

  .hmf-home-services .hmf-service-card:hover .hmf-service-card__inner {
    transform: none;
  }

  .hmf-home-services .hmf-service-card__arrow {
    top: -6px;
    right: -2px;
    width: 56px;
    height: 56px;
  }

  .hmf-home-services .hmf-service-card__body {
    padding-top: 20px;
    gap: 12px;
  }

  .hmf-home-services .hmf-service-card__title {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .hmf-home-services .hmf-service-card__link {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (min-width: 768px) {
  .hmf-home-services__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
  }

  .hmf-home-services__slide {
    flex: unset;
  }

  .hmf-home-services__wrap .hmf-carousel-nav {
    display: none;
  }
}

@media (min-width: 992px) {
  .hmf-home-services__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Most-Loved — screenshot: static/screenshots/landing-s-4.png ─ */
.hmf-home-loved {
  background-color: var(--hmf-color-black);
  color: var(--hmf-color-cream);
  padding-block: 48px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hmf-home-loved {
    padding-block: 120px 80px;
  }
}

.hmf-home-loved__hero {
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .hmf-home-loved__hero {
    grid-template-columns: minmax(0, 788px) minmax(0, 1fr);
    align-items: start;
    gap: 48px;
    margin-bottom: 64px;
  }
}

.hmf-home-loved__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 991.98px) {
  .hmf-home-loved__intro {
    align-items: center;
    text-align: center;
  }

  .hmf-home-loved__hero-photos {
    display: none;
  }

  .hmf-home-loved__visual {
    display: none;
  }

  .hmf-home-loved__stage {
    margin-bottom: 40px;
  }

  .hmf-home-loved__items {
    text-align: center;
    gap: 56px;
    align-items: center;
  }

  .hmf-home-loved__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    gap: 0;
  }

  .hmf-home-loved__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--hmf-color-white);
    border: 1.5px solid var(--hmf-color-primary);
    position: relative;
    flex-shrink: 0;
    margin-inline: auto;
    margin-bottom: 28px;
  }

  .hmf-home-loved__item-icon::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background-color: rgba(136, 142, 106, 0.2);
    pointer-events: none;
  }

  .hmf-home-loved__item-icon img {
    position: relative;
    z-index: 1;
  }

  .hmf-home-loved__item-icon--badge {
    display: block;
    width: 80px;
    height: 80px;
    border: none;
    background: none;
    margin-inline: auto;
    margin-bottom: 28px;
  }

  .hmf-home-loved__item-icon--badge::before {
    display: none;
  }

  .hmf-home-loved__item-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
  }

  .hmf-home-loved__item-title {
    text-transform: capitalize;
    margin: 0;
  }

  .hmf-home-loved__item-text {
    margin: 0;
    max-width: 340px;
  }

  .hmf-home-loved__item-photo {
    display: block;
    width: min(100%, 292px);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    margin-inline: auto;
    margin-top: 0;
  }

  .hmf-home-loved__link {
    justify-content: center;
    margin: 0;
  }

  .hmf-home-loved__cta-bar {
    border-radius: 16px;
    padding: 32px 20px;
    gap: 20px;
    background: var(--hmf-color-primary);
    background-image: none;
    min-height: unset;
  }

  .hmf-home-loved__cta-text {
    text-transform: capitalize;
  }

  .hmf-home-loved__cta-btn--desktop {
    display: none;
  }
}

.hmf-home-loved__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, var(--hmf-text-h2));
  line-height: 1.15;
  margin: 0;
  text-transform: capitalize;
}

.hmf-home-loved__title-green {
  display: block;
  color: var(--hmf-color-primary);
}

.hmf-home-loved__title-cream {
  display: block;
  color: var(--hmf-color-cream);
}

.hmf-home-loved__subtitle {
  font-family: var(--hmf-font-body);
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-grey);
  margin: 0;
  max-width: 640px;
}

.hmf-home-loved__hero-photos {
  position: relative;
  width: min(100%, 320px);
  height: 280px;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .hmf-home-loved__hero-photos {
    width: 320px;
    height: 320px;
    margin-inline: 0;
    margin-left: auto;
  }
}

.hmf-home-loved__hero-photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

.hmf-home-loved__hero-photo--large {
  width: 200px;
  height: 200px;
  top: 0;
  right: 40px;
}

.hmf-home-loved__hero-photo--small {
  width: 160px;
  height: 160px;
  bottom: 0;
  right: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

@media (min-width: 992px) {
  .hmf-home-loved__hero-photo--large {
    width: 292px;
    height: 292px;
    top: -40px;
    right: 60px;
  }

  .hmf-home-loved__hero-photo--small {
    width: 226px;
    height: 226px;
    bottom: -20px;
    right: 0;
  }
}

.hmf-home-loved__stage {
  position: relative;
  display: grid;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .hmf-home-loved__stage {
    grid-template-columns: minmax(520px, 620px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    min-height: 560px;
    margin-bottom: 80px;
  }
}

.hmf-home-loved__visual {
  width: min(100%, 620px);
  height: auto;
  display: block;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .hmf-home-loved__visual {
    width: 100%;
    margin: 0;
  }
}

.hmf-home-loved__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hmf-home-loved__items {
    padding-top: 24px;
    padding-left: 0;
    gap: 120px;
  }
}

.hmf-home-loved__item {
  display: block;
}

@media (min-width: 992px) {
  .hmf-home-loved__item-icon,
  .hmf-home-loved__item-photo {
    display: none;
  }

  .hmf-home-loved__cta-btn--mobile {
    display: none;
  }
}

.hmf-home-loved__item-title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.125rem, 2.5vw, var(--hmf-text-h4));
  line-height: 1.3;
  color: var(--hmf-color-primary);
  margin: 0 0 12px;
}

.hmf-home-loved__item-text {
  font-family: var(--hmf-font-body);
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-grey);
  margin: 0 0 16px;
}

.hmf-home-loved__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-nav);
  color: var(--hmf-color-cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hmf-home-loved__link:hover {
  color: var(--hmf-color-cream);
  opacity: 0.9;
}

.hmf-home-loved__cta-bar {
  position: relative;
  background: url("../../img/placeholders/home/hero-image-12.png") center / 100% 100% no-repeat;
  color: var(--hmf-color-cream);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  overflow: hidden;
  min-height: 164px;
}

@media (min-width: 992px) {
  .hmf-home-loved__cta-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px clamp(96px, 11vw, 200px);
    text-align: left;
    gap: 32px;
    aspect-ratio: 1093 / 164;
    min-height: unset;
  }
}

.hmf-home-loved__cta-text {
  position: relative;
  z-index: 1;
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, var(--hmf-text-h3));
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

.hmf-home-loved__cta-btn.hmf-btn--icon {
  position: relative;
  z-index: 1;
  text-transform: capitalize;
  letter-spacing: var(--hmf-tracking-btn);
  flex-shrink: 0;
}

.hmf-home-loved__cta-btn .hmf-btn__label {
  background-color: var(--hmf-color-cream);
  color: var(--hmf-color-black);
}

.hmf-home-loved__cta-btn .hmf-btn__icon img {
  filter: none;
}

@media (max-width: 991.98px) {
  .hmf-home-loved__cta-btn.hmf-btn--icon {
    width: 100%;
    max-width: none;
  }

  .hmf-home-loved__cta-btn .hmf-btn__label {
    flex: 1;
    justify-content: center;
  }
}

/* ── How It Works — screenshot: static/screenshots/landing-s-5.png ─ */
.hmf-home-process {
  background-color: var(--hmf-color-cream);
  padding-block: 48px;
}

@media (min-width: 992px) {
  .hmf-home-process {
    padding-block: 80px;
  }
}

.hmf-home-process__header {
  text-align: center;
  max-width: 788px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hmf-home-process .hmf-tag--white {
  border: 1px solid rgba(0, 16, 1, 0.08);
}

.hmf-home-process__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, var(--hmf-text-h2));
  line-height: 1.2;
  color: var(--hmf-color-black);
  margin: 0;
  text-transform: capitalize;
}

.hmf-home-process__accent {
  color: var(--hmf-color-primary);
}

.hmf-home-process__subtitle {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-body-lg);
  line-height: var(--hmf-text-body-lg-lh);
  color: var(--hmf-color-grey);
  margin: 0;
  max-width: 640px;
}

.hmf-home-process__steps-wrap {
  position: relative;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .hmf-home-process__steps-wrap {
    margin-bottom: 64px;
  }
}

.hmf-home-process__connector-wrap {
  display: none;
}

.hmf-home-process__connector {
  display: none;
}

.hmf-home-process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

@media (max-width: 991.98px) {
  .hmf-home-process__header {
    margin-bottom: 40px;
  }

  .hmf-home-process__subtitle {
    font-family: var(--hmf-font-body);
    font-weight: 400;
    font-size: var(--hmf-text-body);
    line-height: 1.5;
  }

  .hmf-home-process__steps-wrap {
    margin-bottom: 40px;
  }

  .hmf-home-process__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hmf-home-process__connector-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 168px;
    padding-block: 12px;
    flex-shrink: 0;
  }

  .hmf-home-process__connector {
    display: block;
    width: 156px;
    height: auto;
    margin: 0;
    transform: rotate(90deg);
    object-fit: contain;
    flex-shrink: 0;
  }

  .hmf-home-process__step {
    max-width: 340px;
    padding-block: 0;
  }

  .hmf-home-process__icon-wrap {
    margin-bottom: 32px;
  }

  .hmf-home-process__step-title {
    text-transform: capitalize;
    margin-bottom: 16px;
  }

  .hmf-home-process__text {
    max-width: 320px;
    margin-bottom: 0;
  }

  .hmf-home-process__btn .hmf-btn__label {
    background-color: var(--hmf-color-primary);
    color: var(--hmf-color-cream);
  }
}

@media (min-width: 992px) {
  .hmf-home-process__steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 140px) minmax(0, 1fr) minmax(80px, 140px) minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }

  .hmf-home-process__connector-wrap {
    display: contents;
  }

  .hmf-home-process__connector {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 106px;
    pointer-events: none;
    align-self: start;
    transform: none;
  }
}

.hmf-home-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 359px;
  margin-inline: auto;
}

.hmf-home-process__icon-wrap {
  position: relative;
  margin-bottom: 40px;
}

.hmf-home-process__icon {
  width: 150px;
  height: 150px;
  display: block;
}

@media (max-width: 991.98px) {
  .hmf-home-process__icon {
    width: 230px;
    height: 230px;
  }
}

@media (min-width: 992px) {
  .hmf-home-process__icon {
    width: 230px;
    height: 230px;
  }
}

.hmf-home-process__number {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--hmf-color-primary);
  color: var(--hmf-color-cream);
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-h3);
  line-height: 48px;
  text-align: center;
}

.hmf-home-process__step-title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.5vw, var(--hmf-text-h3));
  line-height: 1.25;
  color: var(--hmf-color-black);
  margin: 0 0 12px;
}

.hmf-home-process__text {
  font-family: var(--hmf-font-body);
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-grey);
  margin: 0;
}

.hmf-home-process__cta {
  text-align: center;
}

.hmf-home-process__btn.hmf-btn--icon {
  text-transform: capitalize;
  letter-spacing: var(--hmf-tracking-btn);
}

.hmf-home-process__btn .hmf-btn__label {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-btn);
  line-height: var(--hmf-text-btn-lh);
  padding-inline: 28px;
}

@media (max-width: 991.98px) {
  .hmf-home-process__btn.hmf-btn--icon {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .hmf-home-process__btn .hmf-btn__label {
    flex: 1;
    justify-content: center;
  }
}

/* ── Why Us — screenshot: static/screenshots/landing-s-6.png ───── */
.hmf-home-why {
  background-color: var(--hmf-color-white);
  padding-block: 48px;
}

@media (min-width: 992px) {
  .hmf-home-why {
    padding-block: 120px;
  }
}

.hmf-home-why__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 992px) {
  .hmf-home-why__grid {
    grid-template-columns: minmax(0, 354px) 461px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
}

.hmf-home-why__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 991.98px) {
  .hmf-home-why__header {
    align-items: center;
    text-align: center;
  }
}

.hmf-home-why__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, var(--hmf-text-h2));
  line-height: 1.2;
  color: var(--hmf-color-black);
  margin: 0;
  text-transform: capitalize;
}

.hmf-home-why__accent {
  color: var(--hmf-color-primary);
}

.hmf-home-why__btn.hmf-btn--icon {
  text-transform: capitalize;
  letter-spacing: var(--hmf-tracking-btn);
}

.hmf-home-why__btn .hmf-btn__label {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-btn);
  line-height: var(--hmf-text-btn-lh);
  padding-inline: 28px;
}

@media (max-width: 991.98px) {
  .hmf-home-why__btn.hmf-btn--icon {
    width: 100%;
    max-width: none;
  }

  .hmf-home-why__btn .hmf-btn__label {
    flex: 1;
    justify-content: center;
  }
}

.hmf-home-why__image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
}

@media (min-width: 992px) {
  .hmf-home-why__image {
    width: 461px;
    height: 636px;
  }
}

.hmf-home-why__accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 992px) {
  .hmf-home-why__accordion {
    gap: 24px;
  }
}

.hmf-home-why__item {
  background: var(--hmf-color-cream);
  border-radius: 24px;
  overflow: hidden;
  transition: background-color var(--hmf-transition-dropdown);
}

.hmf-home-why__item[open] {
  background: var(--hmf-color-primary);
}

.hmf-home-why__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  cursor: pointer;
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-nav);
  line-height: 1.4;
  color: var(--hmf-color-primary);
  transition: color var(--hmf-transition-dropdown);
}

.hmf-home-why__item[open] .hmf-home-why__summary {
  color: var(--hmf-color-cream);
  align-items: flex-start;
}

.hmf-home-why__summary::-webkit-details-marker {
  display: none;
}

.hmf-home-why__chevron-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(136, 142, 106, 0.35);
  background: var(--hmf-color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hmf-home-why__item[open] .hmf-home-why__chevron-wrap {
  border-color: rgba(245, 239, 227, 0.45);
  background: transparent;
}

.hmf-home-why__chevron {
  transition: transform var(--hmf-transition-dropdown), filter var(--hmf-transition-dropdown);
}

.hmf-home-why__item[open] .hmf-home-why__chevron {
  transform: rotate(180deg);
  filter: brightness(0) invert(1);
}

.hmf-home-why__panel {
  padding: 0 24px 24px;
  margin: 0;
  font-family: var(--hmf-font-body);
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-cream);
}

/* ── Gallery — mobile: static/screenshots/our-gallery-moibile.png; desktop: landing-s-7 ─ */
.hmf-home-gallery {
  --hmf-gallery-max-width: 1400px;
  --hmf-gallery-gap: 20px;
  --hmf-gallery-img-radius: 28px;
  background-color: var(--hmf-color-cream);
  padding: 48px 24px;
}

.hmf-home-gallery__header {
  margin: 0;
}

.hmf-home-gallery__header--mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hmf-home-gallery__header--desktop {
  display: none;
}

.hmf-home-gallery .hmf-tag--white {
  border: 1px solid rgba(0, 16, 1, 0.08);
}

.hmf-home-gallery__mobile {
  display: block;
}

.hmf-home-gallery__inner {
  display: none;
  gap: var(--hmf-gallery-gap);
  max-width: var(--hmf-gallery-max-width);
  margin-inline: auto;
}

.hmf-home-gallery__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hmf-home-gallery__track::-webkit-scrollbar {
  display: none;
}

.hmf-home-gallery__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: var(--hmf-gallery-img-radius);
  overflow: hidden;
  aspect-ratio: 422 / 346;
  min-width: 0;
}

.hmf-home-gallery__col {
  display: grid;
  gap: var(--hmf-gallery-gap);
  min-width: 0;
}

.hmf-home-gallery__col--intro {
  grid-template-rows: auto auto;
}

.hmf-home-gallery__col--pair {
  grid-template-rows: auto auto;
}

.hmf-home-gallery__col--lead {
  grid-template-rows: auto auto;
}

.hmf-home-gallery__header {
  margin: 0;
}

.hmf-home-gallery__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, var(--hmf-text-h2));
  line-height: 1.15;
  color: var(--hmf-color-black);
  margin: 0;
  text-transform: capitalize;
  max-width: 14rem;
}

.hmf-home-gallery__header--mobile .hmf-home-gallery__title {
  max-width: none;
}

.hmf-home-gallery__accent {
  color: var(--hmf-color-primary);
}

.hmf-home-gallery__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--hmf-gallery-img-radius);
  min-height: 0;
}

.hmf-home-gallery__figure--portrait {
  aspect-ratio: 421 / 481;
}

.hmf-home-gallery__figure--tall {
  aspect-ratio: 421 / 640;
}

.hmf-home-gallery__col--pair .hmf-home-gallery__figure {
  aspect-ratio: 422 / 346;
}

.hmf-home-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--hmf-gallery-img-radius);
  display: block;
}

.hmf-home-gallery__cta {
  width: 100%;
}

.hmf-home-gallery__btn.hmf-btn--icon {
  width: 100%;
  letter-spacing: var(--hmf-tracking-btn);
  transition:
    filter var(--hmf-transition),
    transform var(--hmf-transition);
}

.hmf-home-gallery__btn.hmf-btn--icon:hover {
  opacity: 1;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.hmf-home-gallery__btn.hmf-btn--icon:focus-visible {
  outline: 2px solid var(--hmf-color-primary);
  outline-offset: 4px;
}

.hmf-home-gallery__btn .hmf-btn__label {
  flex: 1;
  justify-content: center;
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-btn);
  line-height: var(--hmf-text-btn-lh);
  padding-inline: 28px;
  background-color: var(--hmf-color-primary);
  color: var(--hmf-color-cream);
}

.hmf-home-gallery__btn .hmf-btn__icon img {
  filter: none;
}

@media (max-width: 767.98px) {
  .hmf-home-gallery__mobile {
    overflow: hidden;
  }

  .hmf-home-gallery__mobile .hmf-carousel-nav {
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .hmf-home-gallery__cta--mobile {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .hmf-home-gallery__header--mobile,
  .hmf-home-gallery__mobile {
    display: none;
  }

  .hmf-home-gallery__header--desktop {
    display: block;
  }

  .hmf-home-gallery__inner {
    display: grid;
  }

  .hmf-home-gallery {
    --hmf-gallery-gap: 24px;
    padding: 64px 32px;
  }

  .hmf-home-gallery__title {
    max-width: none;
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  }

  .hmf-home-gallery__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .hmf-home-gallery__col--intro {
    grid-template-rows: auto 1fr;
  }

  .hmf-home-gallery__col--pair {
    grid-template-rows: 1fr 1fr;
  }

  .hmf-home-gallery__col--lead {
    grid-template-rows: 1fr auto;
  }

  .hmf-home-gallery__col--pair .hmf-home-gallery__figure,
  .hmf-home-gallery__figure--portrait,
  .hmf-home-gallery__figure--tall {
    aspect-ratio: auto;
    height: 100%;
  }
}

@media (min-width: 1200px) {
  .hmf-home-gallery {
    --hmf-gallery-gap: 32px;
    padding: 80px 40px;
  }

  .hmf-home-gallery__title {
    max-width: 430px;
    font-size: var(--hmf-text-h2);
    line-height: 1.15;
  }

  .hmf-home-gallery__inner {
    gap: var(--hmf-gallery-gap);
  }
}

/* ── FAQ — screenshot: static/screenshots/landing-s-9.png ─────── */
.hmf-home-faq {
  background-color: var(--hmf-color-cream);
  padding-block: 48px;
}

@media (min-width: 992px) {
  .hmf-home-faq {
    padding-block: 80px;
  }
}

.hmf-home-faq__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, var(--hmf-text-h2));
  line-height: 1.2;
  color: var(--hmf-color-black);
  text-align: center;
  margin: 0 0 48px;
}

@media (min-width: 992px) {
  .hmf-home-faq__title {
    margin-bottom: 64px;
  }
}

.hmf-home-faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1136px;
  margin-inline: auto;
}

.hmf-home-faq__item {
  background: var(--hmf-color-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 16, 1, 0.06);
  transition:
    background-color var(--hmf-transition-dropdown),
    box-shadow var(--hmf-transition-dropdown);
}

.hmf-home-faq__item[open] {
  background: var(--hmf-color-primary);
  box-shadow: 0 8px 32px rgba(0, 16, 1, 0.12);
}

.hmf-home-faq__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, var(--hmf-text-h4));
  line-height: 1.3;
  color: var(--hmf-color-primary);
  transition: color var(--hmf-transition-dropdown);
}

.hmf-home-faq__item[open] .hmf-home-faq__summary {
  color: var(--hmf-color-cream);
  align-items: flex-start;
}

.hmf-home-faq__summary::-webkit-details-marker {
  display: none;
}

.hmf-home-faq__chevron-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(136, 142, 106, 0.35);
  background: var(--hmf-color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hmf-home-faq__item[open] .hmf-home-faq__chevron-wrap {
  border-color: rgba(245, 239, 227, 0.45);
  background: transparent;
}

.hmf-home-faq__chevron {
  transition: transform var(--hmf-transition-dropdown), filter var(--hmf-transition-dropdown);
}

.hmf-home-faq__item[open] .hmf-home-faq__chevron {
  transform: rotate(180deg);
  filter: brightness(0) invert(1);
}

.hmf-home-faq__answer {
  padding: 0 24px 24px;
  margin: 0;
  font-family: var(--hmf-font-body);
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-grey);
}

.hmf-home-faq__item[open] .hmf-home-faq__answer {
  color: var(--hmf-color-cream);
  opacity: 0.95;
}

/* ── Contact — screenshot: static/screenshots/landing-s-9.png ─── */
.hmf-home-contact {
  position: relative;
  padding-block: 64px;
  color: var(--hmf-color-cream);
  overflow: hidden;
}

@media (min-width: 992px) {
  .hmf-home-contact {
    padding-block: 100px;
  }
}

.hmf-home-contact__media {
  position: absolute;
  inset: 0;
  background: url("../../img/placeholders/home/hero-image-4.png") center / cover no-repeat;
}

.hmf-home-contact__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 16, 1, 0.72) 0%,
    rgba(0, 16, 1, 0.55) 45%,
    rgba(0, 16, 1, 0.45) 100%
  );
}

.hmf-home-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hmf-home-contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 624px);
    gap: 64px;
  }
}

.hmf-home-contact__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hmf-home-contact__title {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, var(--hmf-text-h2));
  line-height: 1.2;
  color: var(--hmf-color-cream);
  margin: 0;
  text-transform: capitalize;
}

.hmf-home-contact__desc {
  font-family: var(--hmf-font-body);
  font-size: var(--hmf-text-body);
  line-height: 1.5;
  color: var(--hmf-color-cream);
  margin: 0;
  max-width: 520px;
  opacity: 0.95;
}

.hmf-home-contact__btn.hmf-btn--icon {
  text-transform: capitalize;
  letter-spacing: var(--hmf-tracking-btn);
}

.hmf-home-contact__btn .hmf-btn__label {
  font-family: var(--hmf-font-heading);
  font-weight: 500;
  font-size: var(--hmf-text-btn);
  line-height: var(--hmf-text-btn-lh);
  padding-inline: 28px;
}

@media (max-width: 991.98px) {
  .hmf-home-contact__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 16, 1, 0.55) 0%,
      rgba(0, 16, 1, 0.72) 100%
    );
  }

  .hmf-home-contact__copy {
    align-items: center;
    text-align: center;
  }

  .hmf-home-contact__btn.hmf-btn--icon {
    width: 100%;
    max-width: none;
  }

  .hmf-home-contact__btn .hmf-btn__label {
    flex: 1;
    justify-content: center;
  }
}

.hmf-home-contact .hmf-form-card {
  width: 100%;
  max-width: 624px;
  margin-inline: auto;
  box-shadow: 0 12px 40px rgba(0, 16, 1, 0.15);
}

@media (min-width: 992px) {
  .hmf-home-contact .hmf-form-card {
    margin-inline: 0;
  }
}

/* ── Home page testimonials + contact spacing ───────────────────── */
.hmf-page-home .hmf-testimonials {
  padding-block: 48px;
}

@media (min-width: 992px) {
  .hmf-page-home .hmf-testimonials {
    padding-block: 64px;
  }
}

@media (max-width: 767.98px) {
  .hmf-page-home .hmf-testimonials__wrap {
    overflow: hidden;
  }

  .hmf-page-home .hmf-testimonials__track {
    gap: 0;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .hmf-page-home .hmf-testimonial-card {
    flex: 0 0 100%;
    max-width: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    min-width: 0;
  }

  .hmf-page-home .hmf-testimonials__nav {
    justify-content: flex-end;
  }
}

.hmf-page-home .hmf-section:last-of-type {
  padding-bottom: 80px;
}
