/*
 * Homepage hero — final integrated authority.
 * The About Us intro supplies the visual language: original soft marble,
 * transparent gold brush, calm type and a natural fade to the paper canvas.
 * Core content uses normal Grid/Flex flow; only the decorative brush is layered.
 */
body.home {
  --f4u-home-hero-marble: url('../images/f4u-hero-background-native-v1.webp');
  --f4u-home-hero-paper: var(--f4u-color-paper, #fffdfb);
  --f4u-home-hero-gold: var(--f4u-color-champagne-deep, #c89549);
}

body.home .f4u-hero {
  position: relative !important;
  isolation: isolate;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(1.4rem, 2.4vw, 2.8rem) 0 clamp(3.4rem, 5.8vw, 6.25rem) !important;
  overflow: clip;
  background-color: var(--f4u-home-hero-paper) !important;
  background-image: var(--f4u-home-hero-marble) !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body.home .f4u-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(5rem, 10vw, 9rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,253,251,0), var(--f4u-home-hero-paper) 88%);
}

body.home .f4u-hero > .f4u-hero__frame {
  position: relative !important;
  width: min(94%, 110rem) !important;
  max-width: 110rem !important;
  min-height: 0 !important;
  height: auto !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

body.home .f4u-hero__item,
body.home .f4u-hero__surface {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .78fr) !important;
  grid-template-areas:
    'copy media'
    'benefits media' !important;
  align-items: center !important;
  column-gap: clamp(2rem, 5vw, 6.25rem) !important;
  row-gap: clamp(1.25rem, 2vw, 2rem) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(32rem, 37vw, 42rem) !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(1rem, 2vw, 2.25rem) clamp(.25rem, 1vw, 1rem) clamp(1.25rem, 2.5vw, 2.5rem) !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Retire the old desktop tint plate.  The approved About Us treatment is the
 * full-width source marble itself; adding a second rectangular gradient over
 * the carousel produces the visible inset seam at wide viewports. */
body.home .f4u-hero__item::before,
body.home .f4u-hero__item::after,
body.home .f4u-hero__surface::before,
body.home .f4u-hero__surface::after {
  display: none !important;
  background: none !important;
  content: none !important;
}

body.home .f4u-hero__item[hidden] { display: none !important; }

body.home .f4u-hero__copy {
  position: relative !important;
  z-index: 3;
  grid-area: copy;
  inset: auto !important;
  width: min(100%, 44rem) !important;
  max-width: 44rem !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-self: end !important;
}

body.home .f4u-hero__copy .f4u-eyebrow {
  margin: 0 0 clamp(.65rem, 1vw, 1rem) !important;
  color: var(--f4u-color-accent, #d95f79) !important;
  font: 600 clamp(.72rem, .8vw, .85rem)/1.2 var(--f4u-font-ui, sans-serif) !important;
  letter-spacing: .17em !important;
  text-transform: uppercase;
}

body.home .f4u-hero__copy h1,
body.home .f4u-hero__copy .f4u-hero__slide-title {
  max-width: 15ch;
  margin: 0 !important;
  color: var(--f4u-color-ink, #17171a) !important;
  font-family: var(--f4u-font-heading, 'Cormorant Garamond', serif) !important;
  font-size: clamp(3.7rem, 6.3vw, 7.3rem) !important;
  font-weight: 500 !important;
  line-height: .88 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}

body.home .f4u-hero__item--long-title .f4u-hero__copy h1,
body.home .f4u-hero__item--long-title .f4u-hero__copy .f4u-hero__slide-title {
  font-size: clamp(3rem, 4.6vw, 5.55rem) !important;
}

body.home .f4u-hero__copy .f4u-script {
  max-width: 19ch;
  margin: clamp(.75rem, 1.5vw, 1.35rem) 0 clamp(1rem, 1.8vw, 1.6rem) !important;
  color: var(--f4u-color-accent, #d95f79) !important;
  font-family: var(--f4u-font-script, 'F4U Malvinas Signature Custom', cursive) !important;
  font-size: clamp(2.05rem, 3.15vw, 3.65rem) !important;
  font-weight: 400 !important;
  line-height: .96 !important;
  letter-spacing: 0 !important;
}

body.home .f4u-hero__copy .f4u-lede {
  max-width: 38rem;
  margin: 0 0 clamp(1.1rem, 2vw, 1.75rem) !important;
  color: var(--f4u-color-text, #2f3640) !important;
  font-size: clamp(1.05rem, 1.25vw, 1.28rem) !important;
  line-height: 1.55 !important;
}

body.home .f4u-hero__ctas {
  display: flex !important;
  flex-wrap: wrap;
  gap: .75rem !important;
  margin: 0 !important;
}

body.home .f4u-hero__ctas .f4u-button {
  min-height: 3.1rem;
  padding-inline: clamp(1.2rem, 2.2vw, 2.15rem);
}

body.home .f4u-hero__benefits {
  position: relative !important;
  z-index: 3;
  grid-area: benefits;
  inset: auto !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: clamp(.8rem, 1.7vw, 1.65rem) !important;
  width: 100% !important;
  max-width: 42rem !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-self: start !important;
}

body.home .f4u-hero__benefit {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .55rem !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.home .f4u-hero__benefit-icon-frame {
  flex: 0 0 2.9rem !important;
  width: 2.9rem !important;
  height: 2.9rem !important;
}

body.home .f4u-hero__benefit-icon { width: 1.3rem !important; height: 1.3rem !important; }
body.home .f4u-hero__benefit-label { font-size: .88rem !important; line-height: 1.2 !important; }

body.home .f4u-media--hero {
  position: relative !important;
  z-index: 2;
  grid-area: media;
  align-self: center;
  justify-self: end;
  inset: auto !important;
  width: min(100%, 32rem) !important;
  max-width: 32rem !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  margin: 0 !important;
  padding: clamp(.3rem, .5vw, .48rem) !important;
  overflow: hidden !important;
  background: rgba(255,253,251,.88) !important;
  border: 2px solid var(--f4u-home-hero-gold) !important;
  border-radius: clamp(1.25rem, 2vw, 2rem) !important;
  box-shadow: 0 1rem 2.5rem rgba(76,52,35,.12) !important;
  transform: none !important;
}

body.home .f4u-media--hero img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: 3 / 4 !important;
  object-fit: cover !important;
  object-position: var(--f4u-hero-focus-x, 50%) var(--f4u-hero-focus-y, 35%) !important;
  border-radius: calc(clamp(1.25rem, 2vw, 2rem) - .42rem) !important;
}

body.home .f4u-hero__brush-picture {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

body.home .f4u-hero__brush-picture--primary {
  right: 1%;
  bottom: clamp(3.5rem, 5.5vw, 5.6rem);
  width: min(64%, 70rem);
  opacity: .7;
}

body.home .f4u-hero__brush-picture--secondary {
  right: 26%;
  bottom: clamp(9rem, 12vw, 12.5rem);
  width: min(46%, 50rem);
  opacity: .44;
}

body.home .f4u-hero__brush {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.home .f4u-hero__nav {
  position: relative !important;
  z-index: 6;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(.55rem, 1.3vw, 1rem) !important;
  width: min(66%, 54rem) !important;
  max-width: 54rem !important;
  height: auto !important;
  margin: clamp(.35rem, 1vw, .8rem) 0 0 !important;
  padding: 0 !important;
  transform: none !important;
}

body.home .f4u-hero__nav-track {
  display: grid !important;
  grid-template-columns: repeat(var(--f4u-hero-slide-count, 3), minmax(0, 1fr));
  flex: 1 1 auto;
  gap: 0 !important;
  width: auto !important;
}

body.home .f4u-hero__nav-track button {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  min-width: 0 !important;
  min-height: 44px !important;
  height: auto !important;
  padding: .55rem .75rem .7rem !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(47,54,64,.18) !important;
  border-radius: 0 !important;
  color: var(--f4u-color-text, #2f3640) !important;
  text-align: left;
}

body.home .f4u-hero__nav-track button[aria-pressed='true'] { border-bottom: 2px solid var(--f4u-color-accent, #d95f79) !important; }
body.home .f4u-hero__nav-track strong { color: var(--f4u-color-accent, #d95f79); font: 500 clamp(1.4rem, 2vw, 2rem)/1 var(--f4u-font-heading, serif); }
body.home .f4u-hero__nav-track span { overflow: hidden; font-size: .78rem; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }

body.home .f4u-hero__arrow {
  position: static !important;
  inset: auto !important;
  display: grid !important;
  place-items: center;
  flex: 0 0 2.75rem;
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--f4u-color-text, #2f3640) !important;
  background: transparent !important;
  border: 0 !important;
  transform: none !important;
}

/* The legacy breakpoint sheets only drew these chevrons up to 1599px.
 * Defining the glyph in this final, Homepage-only authority keeps the same
 * control legible at every review width without touching shared cards. */
body.home .f4u-hero__arrow-control {
  display: grid !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  place-items: center;
  border: 1px solid rgba(47, 43, 43, .18) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 .25rem .8rem rgba(76, 52, 35, .06);
}

body.home .f4u-hero__arrow-icon {
  display: block !important;
  width: .9rem !important;
  height: .9rem !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(135deg) !important;
  transform-origin: center;
}

body.home .f4u-hero__arrow--next .f4u-hero__arrow-icon {
  transform: rotate(-45deg) !important;
}

body.home .f4u-hero__arrow:focus-visible .f4u-hero__arrow-control {
  outline: 2px solid var(--f4u-color-accent, #d95f79);
  outline-offset: 3px;
}

@media (min-width: 1600px) {
  body.home .f4u-hero > .f4u-hero__frame {
    width: min(calc(100% - clamp(4rem, 5vw, 8rem)), 128rem) !important;
    max-width: 128rem !important;
  }
  body.home .f4u-hero__item,
  body.home .f4u-hero__surface { min-height: 41rem !important; }
  body.home .f4u-hero__copy { width: min(100%, 48rem) !important; max-width: 48rem !important; }
  body.home .f4u-hero__copy .f4u-script { font-size: clamp(2.3rem, 3vw, 3.9rem) !important; }
  body.home .f4u-hero__copy .f4u-lede { font-size: 1.27rem !important; }
  body.home .f4u-media--hero { width: min(100%, 36rem) !important; max-width: 36rem !important; }
  body.home .f4u-hero__benefit-icon-frame { flex-basis: 3.05rem !important; width: 3.05rem !important; height: 3.05rem !important; }
  body.home .f4u-hero__benefit-icon { width: 1.4rem !important; height: 1.4rem !important; }
  body.home .f4u-hero__benefit-label { font-size: .9rem !important; }
  body.home .f4u-hero__brush-picture--primary { right: 2%; width: min(64%, 72rem); }
  body.home .f4u-hero__brush-picture--secondary { right: 29%; width: min(45%, 52rem); }
  body.home .f4u-hero__nav { width: min(68%, 56rem) !important; max-width: 56rem !important; }
  body.home .f4u-hero__nav-track span { font-size: .8rem; }
}

@media (max-width: 1023px) {
  body.home .f4u-hero { padding-top: 1.5rem !important; }
  body.home .f4u-hero > .f4u-hero__frame { width: min(calc(100% - 3rem), 55rem) !important; }
  body.home .f4u-hero__item,
  body.home .f4u-hero__surface {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, .8fr) !important;
    column-gap: 2rem !important;
    min-height: 34rem !important;
    padding-inline: 0 !important;
  }
  body.home .f4u-hero__copy h1,
  body.home .f4u-hero__copy .f4u-hero__slide-title { font-size: clamp(3.2rem, 7vw, 5rem) !important; }
  body.home .f4u-hero__copy .f4u-script { font-size: clamp(1.9rem, 4vw, 2.7rem) !important; }
  body.home .f4u-media--hero { width: min(100%, 25rem) !important; }
  body.home .f4u-hero__nav { width: min(62%, 35rem) !important; }
  body.home .f4u-hero__nav-track span { display: none; }
}

@media (max-width: 899px) {
  body.home .f4u-hero {
    padding: 1rem 0 4rem !important;
    background-position: 61% top !important;
  }
  body.home .f4u-hero > .f4u-hero__frame { width: min(calc(100% - 2rem), 32rem) !important; }
  body.home .f4u-hero__item,
  body.home .f4u-hero__surface {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: 'copy' 'media' 'benefits' !important;
    row-gap: 1.25rem !important;
    min-height: 0 !important;
    padding: 1.1rem 0 1.25rem !important;
  }
  body.home .f4u-hero__copy { width: 100% !important; max-width: none !important; }
  body.home .f4u-hero__copy,
  body.home .f4u-hero__benefits { align-self: auto !important; }
  body.home .f4u-hero__copy h1,
  body.home .f4u-hero__copy .f4u-hero__slide-title,
  body.home .f4u-hero__item--long-title .f4u-hero__copy h1,
  body.home .f4u-hero__item--long-title .f4u-hero__copy .f4u-hero__slide-title { max-width: 13ch; font-size: clamp(3rem, 15vw, 4.4rem) !important; line-height: .9 !important; }
  body.home .f4u-hero__copy .f4u-script { margin-block: .7rem 1rem !important; font-size: clamp(2rem, 10vw, 2.8rem) !important; }
  body.home .f4u-hero__copy .f4u-lede { margin-bottom: 1rem !important; font-size: .96rem !important; }
  body.home .f4u-hero__ctas { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .f4u-hero__ctas .f4u-button { min-width: 0; min-height: 2.85rem; padding: .7rem .75rem; font-size: .75rem; }
  body.home .f4u-media--hero { justify-self: center; width: min(78vw, 18.5rem) !important; max-width: 18.5rem !important; }
  body.home .f4u-hero__benefits { justify-content: center !important; gap: .8rem !important; }
  body.home .f4u-hero__benefit { flex: 1 1 5.5rem; justify-content: center; }
  body.home .f4u-hero__benefit-icon-frame { flex-basis: 2.25rem !important; width: 2.25rem !important; height: 2.25rem !important; }
  body.home .f4u-hero__benefit-label { font-size: .7rem !important; }
  body.home .f4u-hero__brush-picture--primary { right: -18%; bottom: 6.2rem; width: 116%; opacity: .34; }
  body.home .f4u-hero__brush-picture--secondary { right: 18%; bottom: 18rem; width: 92%; opacity: .24; }
  body.home .f4u-hero__nav { width: 100% !important; max-width: 30rem !important; margin: .8rem auto 0 !important; transform: none !important; }
  body.home .f4u-hero__nav-track button { display: flex !important; justify-content: center; padding-inline: .3rem !important; }
  body.home .f4u-hero__nav-track strong { font-size: 1.35rem; }
  body.home .f4u-hero__arrow { flex-basis: 2.5rem; width: 2.5rem !important; height: 2.5rem !important; }
}

@media (max-width: 359px) {
  body.home .f4u-hero > .f4u-hero__frame { width: calc(100% - 1.4rem) !important; }
  body.home .f4u-hero__copy h1,
  body.home .f4u-hero__copy .f4u-hero__slide-title,
  body.home .f4u-hero__item--long-title .f4u-hero__copy h1,
  body.home .f4u-hero__item--long-title .f4u-hero__copy .f4u-hero__slide-title { font-size: 2.75rem !important; }
  body.home .f4u-hero__ctas { grid-template-columns: 1fr; }
  body.home .f4u-media--hero { width: min(82vw, 17rem) !important; }
  body.home .f4u-hero__benefit-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .f4u-hero *, body.home .f4u-hero *::before, body.home .f4u-hero *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
