/* Homepage redesign components. Loaded only by the Homepage template. */


body.page-template-homepage .manta-home-hero__banner.container {
  width: 100% !important;
  max-width: none !important;
  height: calc(100svh - var(--manta-header-offset-desktop)) !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-homepage :where(
  .manta-home-hero,
  .manta-home-hair,
  .manta-home-proof,
  .manta-home-products,
  .manta-home-difference,
  .manta-home-reviews,
  .manta-home-feedback,
  .manta-home-awards,
  .manta-home-story,
  .manta-home-press
) {
  font-family: var(--manta-font-sans);
}

/* Override legacy Customizer hero font declarations without replacing its layout controls. */
body.home .hero-section .hero-heading {
  font-family: var(--manta-font-serif) !important;
  font-style: normal;
  font-weight: 400;
}

body.home .hero-section :is(.hero-subheading, .hero-text-block p:not(.manta-home-hero__eyebrow), .hero-panel p) {
  font-family: var(--manta-font-sans) !important;
  font-style: normal !important;
  font-weight: 300 !important;
  letter-spacing: 0.02em !important;
}

.manta-home-hero__banner {
  height: calc(100svh - var(--manta-header-offset-desktop));
  min-height: 540px;
  max-height: 800px;
  padding-bottom: 64px !important;
  position: relative;
  overflow: hidden;
  display: grid !important;
  grid-template-columns: minmax(410px, 0.84fr) minmax(520px, 1.16fr);
  isolation: isolate;
  background: var(--manta-cream);
}

.manta-home-hero__media {
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 0;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  background: #d8d5d1 url("../../images/manta-homepage-how-it-works-poster.webp") center / cover no-repeat;
}

.manta-home-hero__media--bau::before {
  position: absolute;
  z-index: 0;
  inset: -35px;
  background: linear-gradient(rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.08)), url("../../images/manta-homepage-how-it-works-poster.webp") center / cover;
  content: "";
  filter: blur(24px);
  opacity: 0.82;
  transform: scale(1.08);
}

.manta-home-hero__media--campaign {
  background: var(--manta-campaign);
}

/* Old Customizer campaign backgrounds must not sit behind the current media. */
body.page-template-homepage .manta-home-hero--campaign .manta-home-hero__banner {
  background-image: none !important;
  background-color: var(--manta-campaign);
}

.manta-home-hero__video-backdrop {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: blur(24px);
  opacity: 0.82;
  transform: scale(1.08);
}

.manta-home-hero__media .manta-home-hero__video-still {
  position: absolute;
  inset: 0;
  display: none;
}

.manta-home-hero__media .manta-home-hero__video-still img {
  object-fit: contain;
  object-position: center;
}

.manta-home-hero__media video,
.manta-home-hero__media picture,
.manta-home-hero__media picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.manta-home-hero__media video {
  position: absolute;
  z-index: 1;
  inset: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 34px rgba(35, 30, 26, 0.2));
}

.manta-home-hero__media picture img {
  object-fit: cover;
  object-position: center 22%;
}

.manta-home-hero__campaign-badge {
  --manta-new-stamp-size: 92px;
  box-sizing: border-box;
  z-index: 2;
  top: 32px;
  right: 32px;
  left: auto;
  width: var(--manta-new-stamp-size);
  padding: 8px;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: calc(var(--manta-new-stamp-size) * 6 / 17);
  line-height: 1.05;
  background: var(--manta-callout-bg, var(--manta-velvet-mocha, var(--manta-accent-deep)));
  color: #fff;
  color: contrast-color(var(--manta-callout-bg, var(--manta-velvet-mocha, var(--manta-accent-deep))));
}

.manta-home-hero__terms {
  margin: 16px 0 0;
  color: var(--manta-muted);
  font-family: var(--manta-font-sans);
  font-size: 10px;
  letter-spacing: 0.03em;
}

body.home .manta-home-hero__banner .hero-inner {
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  min-height: 0;
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  padding: clamp(52px, 7vh, 88px) clamp(48px, 7vw, 118px) clamp(92px, 12vh, 128px) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  background: var(--manta-cream);
}

body.home .manta-home-hero--campaign .manta-home-hero__banner .hero-inner {
  background: var(--manta-campaign-copy);
}

body.home .manta-home-hero__banner .hero-text-block {
  min-width: 0;
  width: 100%;
  max-width: 560px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left;
}

body.home .manta-home-hero .hero-text-block .manta-home-hero__eyebrow {
  margin: 0 0 18px;
  color: var(--manta-ink);
  font: 700 10px/normal var(--manta-font-sans) !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
}

body.home .manta-home-hero .hero-heading {
  max-width: 610px;
  margin: 0 0 22px !important;
  font-size: clamp(46px, 5vw, 74px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.038em !important;
  text-wrap: balance;
}

body.home .manta-home-hero .hero-heading em {
  color: var(--manta-accent-deep);
  font-style: italic;
  font-weight: 400;
}

.manta-home-hero__body {
  max-width: 500px;
  color: #504c48;
  font: 300 17px/1.58 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

body.home .manta-home-hero__body :is(p, .hero-subheading) {
  width: auto !important;
  margin: 0 !important;
  color: inherit;
  font: inherit !important;
  letter-spacing: inherit !important;
}

.manta-home-hero__actions.hero-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left !important;
}

.manta-home-hero__primary {
  border-color: var(--manta-ink);
  background: var(--manta-ink);
  color: #fff !important;
}

.manta-home-hero__secondary {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--manta-ink);
  font: 700 10px/normal var(--manta-font-sans);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.manta-home-hero__secondary span {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  padding-left: 1px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--manta-accent);
  color: #fff;
  font-size: 8px;
}

body.home .manta-home-hero .hero-text-block .manta-home-hero__assurance {
  margin: 25px 0 0;
  color: var(--manta-muted);
  font: 700 10px/normal var(--manta-font-sans) !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
}

.manta-home-hero__reviews.review-system {
  width: 130px;
  margin-top: 24px;
  display: block;
}

.manta-home-hero__reviews img {
  width: 100%;
  height: auto;
  display: block;
}

.manta-home-hero__reviews picture {
  display: block;
}

.manta-home-hero__journey {
  height: 64px;
  padding-inline: 24px;
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-top: 1px solid var(--manta-line);
  background: rgba(251, 249, 246, 0.95);
  color: var(--manta-ink);
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.manta-home-hero__journey strong {
  font: 500 22px/1.1 var(--manta-font-serif);
}

.manta-home-hero__journey span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--manta-ink);
  color: #fff;
  font-size: 17px;
  transition: transform 0.2s ease;
}

.manta-home-hero__journey:hover span,
.manta-home-hero__journey:focus-visible span {
  transform: translateY(3px);
}

.manta-home__container {
  width: min(var(--manta-page-width), calc(100% - 60px));
  margin-inline: auto;
}

.manta-home__eyebrow {
  margin: 0;
  color: var(--manta-accent-deep);
  font-family: var(--manta-font-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Anchor the section intro itself so hash links land on the intended content. */
.manta-home__eyebrow[id],
.manta-home-difference[id] { scroll-margin-top: 16px; }

.manta-home__heading {
  margin: 12px 0 0;
  color: var(--manta-ink);
  font: 400 clamp(40px, 4vw, 62px)/1.02 var(--manta-font-serif);
  letter-spacing: -0.035em;
}

.manta-home__heading em {
  color: var(--manta-accent-deep);
  font-style: italic;
}

.manta-home__text-link {
  display: inline-flex;
  align-items: center;
  color: var(--manta-ink);
  font-family: var(--manta-font-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.manta-home__text-link b {
  margin-left: 8px;
  color: var(--manta-accent-deep);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.manta-home__text-link:hover b,
.manta-home__text-link:focus-visible b {
  transform: translateX(4px);
}

.manta-home__button {
  min-height: 50px;
  width: max-content;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--manta-ink);
  color: var(--manta-ink);
  font-family: var(--manta-font-sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.manta-home__button:hover,
.manta-home__button:focus-visible {
  background: var(--manta-ink);
  color: #fff;
}

.manta-home__button--light {
  border-color: #fff;
  background: #fff;
}

.manta-home__button--light:hover,
.manta-home__button--light:focus-visible {
  border-color: var(--manta-accent-soft);
  background: var(--manta-accent-soft);
  color: var(--manta-ink);
}

.manta-home-hair {
  padding-top: clamp(48px, 7vh, 80px);
  padding-bottom: clamp(42px, 6vh, 68px);
  background: var(--manta-paper);
  color: var(--manta-ink);
}

.manta-home__intro {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 40px;
}

.manta-home__intro > p {
  max-width: 440px;
  margin: 0 0 6px;
  color: var(--manta-muted);
  font: 300 14px/1.58 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

.manta-home-hair__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.manta-home-hair__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manta-home-hair__card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--manta-line);
  border-radius: 10px;
  background: #fff;
  color: var(--manta-ink);
  text-decoration: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.manta-home-hair__card:hover {
  border-color: rgba(36, 35, 33, 0.35);
  box-shadow: 0 18px 40px rgba(36, 35, 33, 0.09);
  transform: translateY(-5px);
}

.manta-home-hair__card:focus-visible {
  outline: 2px solid var(--manta-accent-deep);
  outline-offset: 4px;
}

.manta-home-hair__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  position: relative;
  container-type: inline-size;
  background: var(--manta-cream);
}

.manta-home-hair__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.45s ease;
}

.manta-home-hair__card:hover .manta-home-hair__media img {
  transform: scale(1.025);
}

.manta-home-hair__body {
  min-height: 132px;
  padding: 14px 15px 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.manta-home-hair__body strong {
  display: block;
  font: 500 clamp(19px, 1.65vw, 24px)/1.08 var(--manta-font-serif);
  letter-spacing: -0.02em;
}

.manta-home-hair__body small {
  max-width: 340px;
  margin-top: 8px;
  display: block;
  color: var(--manta-muted);
  font: 300 12px/1.42 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

.manta-home-hair__body .manta-home__text-link {
  width: 100%;
  margin-top: 9px;
  padding-top: 8px;
  justify-content: space-between;
  border-top: 1px solid var(--manta-line);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.manta-home-hair__quiz {
  margin-top: 34px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-top: 1px solid var(--manta-line);
}

.manta-home-hair__quiz p {
  margin: 0;
  color: var(--manta-muted);
  font: 300 15px/1.5 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

.manta-home__button--outline {
  background: transparent;
}

@media (max-width: 1080px) and (min-width: 768px) {
  .manta-home-hair__grid,
  .manta-home-hair__grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manta-home-hair__media {
    height: auto;
  }
}

.manta-home-proof {
  width: min(var(--manta-page-width), calc(100% - 60px));
  min-height: 88px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-block: 1px solid var(--manta-line);
  color: var(--manta-ink);
}

.manta-home-proof div {
  min-height: 44px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--manta-line);
}

.manta-home-proof div:last-child {
  border-right: 0;
}

.manta-home-proof strong {
  flex: none;
  font: 500 20px/1 var(--manta-font-serif);
}

.manta-home-proof span {
  color: var(--manta-muted);
  font-family: var(--manta-font-sans);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.manta-home-products {
  padding-top: clamp(72px, 10vh, 112px);
  padding-bottom: clamp(76px, 10vh, 118px);
}

.manta-home-products__heading {
  margin-bottom: 36px;
}

.manta-home-products__heading > div > span {
  width: 42px;
  height: 2px;
  margin-top: 20px;
  display: block;
  background: var(--manta-ink);
}

.manta-home-products .slider--products {
  margin-inline: -9px;
}

/* Flickity owns the cell transform; visual movement belongs on the inner link. */
.manta-home-products .slider--products .manta-product-card {
  padding: 0 9px 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
  transform: none;
}

.manta-home-products .slider--products .manta-product-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.manta-home-products .slider--products .manta-product-card__link {
  padding: 12px 12px 14px;
  overflow: hidden;
  border: 1px solid #dedbd7;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.manta-home-products .slider--products .manta-product-card:hover .manta-product-card__link {
  border-color: var(--manta-ink);
  box-shadow: 0 14px 32px rgba(36, 35, 33, 0.08);
}

/* Keep pagination in the carousel's flow so the controls never sit over cards
   or drift into the collection link. Short rules replace the legacy circles. */
body .manta-home-products .flickity-page-dots,
body .manta-home-awards .flickity-page-dots {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  width: min(100%, 310px) !important;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px auto 0 !important;
  padding: 0;
  transform: none;
}

body .manta-home-products .flickity-page-dots .dot,
body .manta-home-awards .flickity-page-dots .dot {
  flex: 1 1 0;
  width: auto;
  max-width: 28px;
  height: 28px;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  opacity: 1;
}

body .manta-home-products .flickity-page-dots .dot::after,
body .manta-home-awards .flickity-page-dots .dot::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 12px;
  background: var(--manta-accent-soft);
}

body .manta-home-products .flickity-page-dots .dot.is-selected::after,
body .manta-home-awards .flickity-page-dots .dot.is-selected::after {
  background: var(--manta-ink) !important;
}

body .manta-home-awards .flickity-page-dots { max-width: 270px; gap: 4px; margin-top: 10px !important; }
body .manta-home-awards .flickity-page-dots .dot::after { height: 2px; }

.manta-home-products__collection {
  width: max-content;
  margin: 52px 0 0 auto;
}

.manta-home-difference {
  min-height: min(760px, calc(100svh - 100px));
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  background: var(--manta-ink);
  color: #fff;
}

.manta-home-difference__media {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: #121212 url("../../images/manta-homepage-difference-poster.webp") center / cover no-repeat;
}

.manta-home-difference__media video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
}

.manta-home-difference__play,
.manta-home-difference__video-link {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 13px 20px;
  border: 1px solid #fff;
  background: rgba(36, 35, 33, 0.78);
  color: #fff;
  font: 700 11px/1 var(--manta-font-sans);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.manta-home-difference__play,
.manta-home-difference__video-link,
.manta-home-difference__media.is-playing .manta-home-difference__play {
  display: none;
}

.manta-home-difference__media.needs-play .manta-home-difference__play,
.manta-home-difference__media.video-error .manta-home-difference__video-link {
  display: block;
}

.manta-home-difference__copy {
  padding: clamp(58px, 8vh, 88px) clamp(42px, 6vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.manta-home-difference .manta-home__heading {
  margin: 16px 0 24px;
  color: #fff;
  font-size: clamp(38px, 4vw, 60px);
}

.manta-home-difference__copy > p:not(.manta-home__eyebrow) {
  max-width: 550px;
  margin: 0;
  color: #c9c6c2;
  font: 300 14px/1.65 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

.manta-home-benefits {
  margin: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.manta-home-benefits > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.manta-home-benefits span {
  padding-top: 4px;
  color: var(--manta-accent-soft);
  font-family: var(--manta-font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.manta-home-benefits p {
  margin: 0;
  color: #aaa7a3;
  font: 300 12px/1.45 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

.manta-home-benefits strong {
  margin-bottom: 3px;
  display: block;
  color: #fff;
  font: 500 17px/1.2 var(--manta-font-serif);
}

.manta-home-reviews {
  padding: clamp(72px, 9vh, 104px) 0 24px;
  background: var(--manta-review);
  color: var(--manta-ink);
}

.manta-home-reviews__header {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.manta-home-reviews__header .manta-home__heading {
  max-width: 760px;
}

.manta-home-reviews__track {
  width: min(var(--manta-page-width), calc(100% - 60px));
  margin-inline: auto;
  padding: 2px 0 20px;
  display: grid;
  grid-auto-columns: minmax(300px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--manta-accent-deep) transparent;
  scrollbar-width: thin;
}

.manta-home-reviews__card {
  min-height: 300px;
  padding: 30px 28px 26px;
  scroll-snap-align: start;
  border: 1px solid rgba(36, 35, 33, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.54);
}

.manta-home-reviews__card .glsr-review {
  min-height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--manta-ink);
}

.manta-home-reviews__card .glsr-review__content {
  margin-top: 20px;
  color: var(--manta-ink);
  font: 400 22px/1.2 var(--manta-font-serif);
  letter-spacing: -0.015em;
}

.manta-home-reviews__card .glsr-review__footer {
  margin-top: auto;
  padding-top: 24px;
  color: var(--manta-muted);
  font: 700 10px/1.45 var(--manta-font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manta-home-reviews__card .glsr-star-full,
.manta-home-reviews__stars {
  color: var(--manta-accent-deep);
}

.manta-home-reviews__fallback {
  max-width: 900px;
  margin: 0 auto 54px;
  padding-inline: 30px;
  text-align: center;
}

.manta-home-reviews__fallback blockquote {
  margin: 22px 0 17px;
  padding: 0;
  border: 0;
  font: 400 clamp(28px, 3vw, 42px)/1.15 var(--manta-font-serif);
  letter-spacing: -0.02em;
}

.manta-home-reviews__fallback p {
  font: 700 10px/1.4 var(--manta-font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manta-home-feedback__stats {
  width: min(880px, 100%);
  min-height: 98px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid rgba(36, 35, 33, 0.18);
}

.manta-home-feedback__stats span {
  min-height: 52px;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(36, 35, 33, 0.18);
  font-family: var(--manta-font-sans);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.manta-home-feedback__stats span:last-child {
  border-right: 0;
}

.manta-home-feedback__stats strong {
  margin-bottom: 5px;
  font: 500 23px/1.1 var(--manta-font-serif);
  letter-spacing: 0;
  text-transform: none;
}

.manta-home-reviews__note {
  max-width: 600px;
  margin: 10px auto 0;
  display: block;
  color: var(--manta-muted);
  font: 300 10px/1.4 var(--manta-font-sans);
  letter-spacing: 0.02em;
  text-align: center;
}

.manta-home-awards {
  padding-block: 48px;
  background: var(--manta-paper);
}

.manta-home-story {
  padding-block: clamp(80px, 10vh, 118px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(45px, 7vw, 104px);
  color: var(--manta-ink);
}

.manta-home-story__images {
  min-height: 620px;
  position: relative;
}

.manta-home-story__image {
  position: absolute;
  overflow: hidden;
}

.manta-home-story__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.manta-home-story__image--brush {
  width: 64%;
  height: 71%;
  top: 0;
  left: 0;
}

.manta-home-story__image--family {
  width: 60%;
  height: 62%;
  right: 0;
  bottom: 0;
  border: 13px solid var(--manta-paper);
}

.manta-home-story__copy .manta-home__heading {
  margin: 15px 0 22px;
  font-size: clamp(43px, 4.4vw, 67px);
}

.manta-home-story__charity {
  margin: 0 0 25px;
  padding: 0 0 23px;
  display: flex;
  align-items: center;
  gap: 21px;
  border-bottom: 1px solid var(--manta-line);
}

.manta-home-story__charity span {
  flex: none;
  font: 500 14px/1.2 var(--manta-font-serif);
}

.manta-home-story__charity img {
  width: min(225px, 56%);
  height: auto;
}

.manta-home-story__copy > p:not(.manta-home__eyebrow) {
  max-width: 560px;
  margin: 0 0 13px;
  color: var(--manta-muted);
  font: 300 14px/1.64 var(--manta-font-sans);
  letter-spacing: 0.02em;
}

.manta-home-story__copy .manta-home__button {
  margin-top: 14px;
}

.manta-home-press {
  padding: 38px 0 56px;
  background: var(--manta-paper);
}

.manta-home-instagram {
  padding: clamp(64px, 7vw, 104px) 0 clamp(68px, 7vw, 108px);
  background: var(--manta-cream);
  color: var(--manta-ink);
  font-family: var(--manta-font-sans);
}

.manta-home-instagram__heading {
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}

.manta-home-instagram .manta-home-instagram__eyebrow {
  margin: 0 0 14px;
  color: var(--manta-accent-deep);
  font: 700 11px/1.3 var(--manta-font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manta-home-instagram .manta-home-instagram__heading h2 {
  margin: 0;
  color: var(--manta-ink);
  font: 400 clamp(42px, 5vw, 68px)/1.02 var(--manta-font-serif);
  letter-spacing: -0.035em;
  text-transform: none;
}

.manta-home-instagram__feed {
  max-width: 1120px;
  min-height: 0;
  margin-inline: auto;
}

.manta-home-instagram__link,
.manta-home-instagram__link:visited {
  display: flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  margin: 32px auto 0;
  padding: 10px 0 8px;
  border-bottom: 1px solid currentColor;
  color: var(--manta-ink);
  font: 700 11px/1.3 var(--manta-font-sans);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.manta-home-instagram__link:hover,
.manta-home-instagram__link:focus-visible {
  color: var(--manta-accent-deep);
}

.manta-home-instagram__link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .manta-home__eyebrow[id],
  .manta-home-difference[id] { scroll-margin-top: calc(var(--manta-header-offset-compact) + 12px); }
}

@media (min-width: 1200px) {
  .manta-home__eyebrow[id],
  .manta-home-difference[id] { scroll-margin-top: calc(var(--manta-header-offset-desktop) + 12px); }
}

@media (max-width: 767px) {
  .manta-home-hero__banner {
    height: auto !important;
    min-height: max(540px, calc(100svh - 110px));
    max-height: none;
    padding-bottom: 0 !important;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .manta-home-hero__media {
    min-height: max(540px, calc(100svh - 110px));
    grid-area: 1 / 1;
  }

  .manta-home-hero__media--bau::before {
    display: none;
  }

  .manta-home-hero__video-backdrop {
    display: none;
  }

  .manta-home-hero__media .manta-home-hero__video-still img {
    object-fit: cover;
    object-position: center;
  }

  .manta-home-hero__media video {
    object-fit: cover;
    object-position: 50% 51%;
    filter: none;
  }

  .manta-home-hero__campaign-badge {
    --manta-new-stamp-size: 66px;
    top: 14px;
    right: 12px;
  }

  .manta-home-hero__banner::after {
    position: absolute;
    z-index: 0;
    inset: 0 0 58px;
    background: linear-gradient(180deg, rgba(17, 17, 16, 0.03) 20%, rgba(17, 17, 16, 0.25) 48%, rgba(17, 17, 16, 0.9) 100%);
    content: "";
    pointer-events: none;
  }

  body.home .manta-home-hero__banner .hero-inner {
    width: 100% !important;
    max-width: 100%;
    min-height: max(540px, calc(100svh - 110px));
    grid-area: 1 / 1;
    padding: 180px 22px 98px !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    background: transparent;
    color: #fff;
    backdrop-filter: none;
  }

  body.home .manta-home-hero--campaign .manta-home-hero__banner .hero-inner {
    background: transparent;
  }

  body.home .manta-home-hero__banner .hero-text-block {
    width: 100%;
    max-width: min(430px, 100%);
    justify-content: flex-end !important;
  }

  body.home .manta-home-hero .manta-home-hero__eyebrow,
  body.home .manta-home-hero .hero-heading,
  .manta-home-hero__body,
  body.home .manta-home-hero__body :is(p, .hero-subheading) {
    color: #fff !important;
  }

  body.home .manta-home-hero .hero-text-block .manta-home-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
  }

  body.home .manta-home-hero .hero-heading {
    max-width: 360px;
    margin-bottom: 13px !important;
    font-size: clamp(38px, 11vw, 48px) !important;
    line-height: 0.96 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
  }

  body.home .manta-home-hero .hero-heading em {
    color: var(--manta-accent-soft);
  }

  .manta-home-hero__body {
    max-width: 350px;
    font-size: 14px;
    line-height: 1.5;
  }

  .manta-home-hero__actions.hero-cta {
    width: 100%;
    margin-top: 18px;
    gap: 14px;
  }

  .manta-home-hero__primary {
    width: auto;
    min-height: 42px;
    border-color: #fff !important;
    background: #fff !important;
    color: var(--manta-ink) !important;
  }

  .manta-home-hero__secondary {
    border-color: #fff;
    color: #fff;
    font-size: 10px;
  }

  .manta-home-hero__terms {
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
  }

  body.home .manta-home-hero .manta-home-hero__assurance {
    display: none;
  }

  .manta-home-hero__reviews.review-system {
    width: 120px;
    margin-top: 16px;
    display: block;
  }

  .manta-home-hero__journey {
    height: 58px;
  }

  .manta-home-hero__journey strong {
    font-size: 19px;
  }

  .manta-home-hero__journey span {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .manta-home__container {
    width: calc(100% - 32px);
  }

  .manta-home__eyebrow {
    font-size: 10px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.16em !important;
  }

  .manta-home__heading {
    font-size: clamp(31px, 9.5vw, 39px);
    line-height: 0.99;
  }

  .manta-home__button {
    width: 100%;
    font-size: 10px !important;
  }

  .manta-home-hair {
    padding-block: 12px 10px;
  }

  .manta-home__intro {
    margin-bottom: 6px;
    display: block;
  }

  .manta-home-hair .manta-home__heading {
    margin-top: 6px;
    font-size: clamp(28px, 7.7vw, 32px);
  }

  .manta-home__intro > p {
    display: none;
  }

  .manta-home-hair__grid,
  .manta-home-hair__grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .manta-home-hair__card:last-child:nth-child(odd) {
    width: calc(50% - 3.5px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .manta-home-hair__media {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .manta-home-hair__body {
    box-sizing: border-box;
    min-height: 0;
    padding: 6px 8px 7px;
  }

  .manta-home-hair__body strong {
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.08;
  }

  .manta-home-hair__body small {
    display: none;
  }

  .manta-home-hair__body .manta-home__text-link {
    margin-top: 4px;
    padding-top: 4px;
    font-size: 8px !important;
    line-height: 1.25;
    letter-spacing: 0.06em;
  }

  .manta-home-hair__body .manta-home__text-link b {
    font-size: 10px;
  }

  .manta-home-hair__quiz {
    margin-top: 4px;
    padding-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    text-align: center;
  }

  .manta-home-hair__quiz p {
    font-size: 11px;
  }

  .manta-home-hair__quiz .manta-home__button {
    box-sizing: border-box;
    width: auto;
    min-height: 30px;
    padding-inline: 14px;
  }

  .manta-home-proof {
    width: 100%;
    min-height: 72px;
    padding-inline: 6px;
  }

  .manta-home-proof div {
    min-width: 0;
    padding-inline: 7px;
    gap: 7px;
  }

  .manta-home-proof strong {
    font-size: 17px;
  }

  .manta-home-proof span {
    max-width: 72px;
    font-size: 9px;
    line-height: 1.3;
  }

  .manta-home-products {
    padding-block: 70px 76px;
  }

  .manta-home-products__heading {
    margin-bottom: 27px;
  }

  .manta-home-products__heading .manta-home__heading {
    font-size: 40px;
  }

  .manta-home-products .slider--products {
    margin-right: -16px;
    margin-left: -8px;
  }

  .manta-home-products .slider--products .manta-product-card {
    padding-inline: 6px;
  }

  .manta-home-products .slider--products .manta-product-card__link {
    padding: 8px 8px 10px;
  }

  .manta-home-products__collection {
    margin-top: 44px;
  }

  .manta-home-difference {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .manta-home-difference__media {
    height: min(42svh, 340px);
    min-height: 270px;
  }

  .manta-home-difference__copy {
    padding: 54px 23px 60px;
  }

  .manta-home-difference .manta-home__heading {
    font-size: 40px;
  }

  .manta-home-difference__copy > p:not(.manta-home__eyebrow) {
    font-size: 13px;
  }

  .manta-home-benefits {
    margin: 28px 0;
  }

  .manta-home-reviews {
    padding: 58px 0 18px;
  }

  .manta-home-reviews__header {
    margin-bottom: 26px;
    display: block;
  }

  .manta-home-reviews__header .manta-home__heading {
    font-size: 40px;
  }

  .manta-home-reviews__header > .manta-home__text-link {
    margin-top: 18px;
  }

  .manta-home-reviews__track {
    width: 100%;
    padding: 2px 16px 18px;
    grid-auto-columns: min(82vw, 330px);
    scroll-padding-inline: 16px;
  }

  .manta-home-reviews__card {
    min-height: 280px;
    padding: 26px 22px 22px;
  }

  .manta-home-reviews__card .glsr-review__content {
    font-size: 20px;
  }

  .manta-home-reviews__fallback {
    margin-bottom: 38px;
    padding-inline: 20px;
  }

  .manta-home-reviews__fallback blockquote {
    font-size: 28px;
  }

  .manta-home-feedback__stats {
    min-height: 92px;
  }

  .manta-home-feedback__stats span {
    padding-inline: 6px;
    font-size: 9px;
  }

  .manta-home-feedback__stats strong {
    font-size: 18px;
  }

  .manta-home-reviews__note {
    max-width: 320px;
    font-size: 9px;
  }

  .manta-home-awards {
    padding-block: 34px;
  }

  .manta-home-story {
    width: 100%;
    padding: 74px 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .manta-home-story__images {
    width: calc(100% - 32px);
    min-height: 410px;
    margin-inline: auto;
  }

  .manta-home-story__copy {
    margin-top: 36px;
    padding: 50px 23px 60px;
    background: var(--manta-cream);
  }

  .manta-home-story__copy .manta-home__heading {
    font-size: 44px;
  }

  .manta-home-story__charity {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .manta-home-story__charity img {
    width: min(240px, 80%);
  }

  .manta-home-press {
    padding-block: 32px 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manta-home-hair__card,
  .manta-home-hair__media img,
  .manta-home__text-link b {
    transition: none;
  }

  .manta-home-hero__media video {
    display: none;
  }

  .manta-home-hero__media .manta-home-hero__video-still {
    display: block;
  }

  .manta-home-difference__media {
    background-image: url("../../images/manta-homepage-difference-poster.webp");
  }
}
