/* KFF What We Do Banner — pixel match What We Do_v7A .banner */
.elementor-widget-kff_what_we_do_hero > .elementor-widget-container{
  padding:0 !important;
  margin:0 !important;
}

.kff-wwd-banner{
  --kff-teal-deep:#083935;
  --kff-gold-light:#D8C29A;
  --kff-serif:'Playfair Display', Georgia, serif;
  --kff-sans:'Alegreya Sans', 'Helvetica Neue', Arial, sans-serif;

  position:relative;
  height:100vh;
  min-height:640px;
  display:flex;
  align-items:center;
  background:var(--kff-teal-deep);
  overflow:hidden;
  isolation:isolate;
  padding:0;
  width:100%;
  box-sizing:border-box;
  font-family:var(--kff-sans);
}
.kff-wwd-banner *,
.kff-wwd-banner *::before,
.kff-wwd-banner *::after{box-sizing:border-box;}

.kff-wwd-banner .banner-media{
  position:absolute;
  inset:0;
  z-index:-2;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  filter:grayscale(8%) saturate(1.05) contrast(1.03) brightness(0.72);
}

.kff-wwd-banner::after{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(8,57,53,0.35) 0%, rgba(8,57,53,0.25) 40%, rgba(8,57,53,0.85) 100%);
}

.kff-wwd-banner .banner-content{
  position:relative;
  z-index:2;
  max-width:840px;
  padding:0 6vw;
  color:#fff;
}

.kff-wwd-banner .banner-content .eyebrow{
  display:inline-block;
  font-family:var(--kff-sans);
  text-transform:uppercase;
  letter-spacing:0.18em;
  font-size:0.72rem; /* 11.52px */
  font-weight:500;
  color:var(--kff-gold-light);
  margin:0;
  line-height:1.4;
  opacity:0;
  transform:translateY(16px);
  animation:kff-wwd-banner-fadeUp 1s ease 0.2s forwards;
}

.kff-wwd-banner .banner-content h1{
  font-family:var(--kff-serif);
  color:#fff !important;
  font-size:clamp(1.7rem,3.6vw,2.7rem);
  font-weight:400;
  line-height:1.2;
  margin:0.6rem 0 1.4rem;
  opacity:0;
  transform:translateY(28px);
  animation:kff-wwd-banner-fadeUp 1.1s ease 0.4s forwards;
}

.kff-wwd-banner .banner-content .subtitle{
  font-family:var(--kff-serif);
  font-style:italic;
  font-weight:400;
  font-size:clamp(1.02rem,1.5vw,1.28rem);
  color:var(--kff-gold-light);
  max-width:520px;
  margin:0;
  line-height:1.55;
  opacity:0;
  transform:translateY(20px);
  animation:kff-wwd-banner-fadeUp 1.1s ease 0.9s forwards;
}

.kff-wwd-banner .scroll-hint{
  position:absolute;
  bottom:2.4rem;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  color:rgba(255,255,255,0.7);
  opacity:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.5rem;
  font-family:var(--kff-sans);
  font-size:0.72rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  line-height:1.3;
  text-align:center;
  animation:kff-wwd-banner-bob 2.6s ease-in-out infinite;
  pointer-events:none;
}

@keyframes kff-wwd-banner-fadeUp{
  to{opacity:1;transform:translateY(0);}
}
@keyframes kff-wwd-banner-bob{
  0%,100%{transform:translate(-50%,0);}
  50%{transform:translate(-50%,8px);}
}

/* Elementor editor: show content without waiting for animation */
.elementor-editor-active .kff-wwd-banner .eyebrow,
.elementor-editor-active .kff-wwd-banner h1,
.elementor-editor-active .kff-wwd-banner .subtitle,
.elementor-edit-area .kff-wwd-banner .eyebrow,
.elementor-edit-area .kff-wwd-banner h1,
.elementor-edit-area .kff-wwd-banner .subtitle{
  opacity:1;
  transform:none;
  animation:none;
}

@media (prefers-reduced-motion: reduce){
  .kff-wwd-banner .eyebrow,
  .kff-wwd-banner h1,
  .kff-wwd-banner .subtitle,
  .kff-wwd-banner .scroll-hint{
    animation:none !important;
    opacity:1 !important;
  }
  .kff-wwd-banner .eyebrow,
  .kff-wwd-banner h1,
  .kff-wwd-banner .subtitle{
    transform:none !important;
  }
  .kff-wwd-banner .scroll-hint{
    transform:translateX(-50%) !important;
  }
}
