/* KFF Pillars Hero — pixel match Our Pillars_v6 #pillars-hero */
.elementor-widget-kff_pillars_hero,
.elementor-widget-kff_pillars_hero > .elementor-widget-container{
  width:100%;
  max-width:none;
  padding:0 !important;
  margin:0 !important;
}

.kff-pillars-hero{
  --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:92vh;
  min-height:600px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--kff-teal-deep);
  width:100%;
  box-sizing:border-box;
  font-family:var(--kff-sans);
}
.kff-pillars-hero *,
.kff-pillars-hero *::before,
.kff-pillars-hero *::after{box-sizing:border-box;}

.kff-pillars-hero .hero-collage{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr 1.15fr;
  gap:2px;
  will-change:transform;
}

.kff-pillars-hero .collage-panel{
  position:relative;
  overflow:hidden;
  opacity:0;
  transform:scale(1.08);
  animation:kff-pillars-panelReveal 1.7s cubic-bezier(.2,.7,.3,1) forwards;
  filter:grayscale(14%) saturate(1.05) contrast(1.04) brightness(.68);
}
.kff-pillars-hero .collage-panel:nth-child(1){animation-delay:.05s;}
.kff-pillars-hero .collage-panel:nth-child(2){animation-delay:.22s;}
.kff-pillars-hero .collage-panel:nth-child(3){animation-delay:.38s;}
.kff-pillars-hero .collage-panel:nth-child(4){animation-delay:.54s;}

@keyframes kff-pillars-panelReveal{
  to{opacity:1;transform:scale(1);}
}

.kff-pillars-hero .collage-panel .fill{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.kff-pillars-hero .collage-panel .caption{
  position:absolute;
  left:16px;
  bottom:16px;
  color:rgba(255,255,255,.72);
  font-family:var(--kff-sans);
  font-size:.66rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.4;
  z-index:1;
}

.kff-pillars-hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(8,57,53,.30) 0%, rgba(8,57,53,.30) 42%, rgba(8,57,53,.90) 100%);
  z-index:1;
  pointer-events:none;
}

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

.kff-pillars-hero .breadcrumb{
  font-family:var(--kff-sans);
  font-size:.82rem;
  color:rgba(255,255,255,.72);
  margin:0 0 1.1rem;
  line-height:1.5;
  opacity:0;
  transform:translateY(16px);
  animation:kff-pillars-fadeUp 1s ease .2s forwards;
}
.kff-pillars-hero .breadcrumb span{
  color:var(--kff-gold-light);
  margin:0 .5em;
}

.kff-pillars-hero h1{
  font-family:var(--kff-serif);
  font-size:clamp(1.9rem,4vw,3rem);
  font-weight:400;
  color:#fff;
  line-height:1.18;
  margin:0 0 1.3rem;
  opacity:0;
  transform:translateY(28px);
  animation:kff-pillars-fadeUp 1.1s ease .4s forwards;
}

.kff-pillars-hero p.hero-sub{
  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;
  text-align:left;
  opacity:0;
  transform:translateY(20px);
  animation:kff-pillars-fadeUp 1.1s ease .65s forwards;
}

@keyframes kff-pillars-fadeUp{
  to{opacity:1;transform:translateY(0);}
}

/* Elementor editor: show panels and text immediately */
.elementor-editor-active .kff-pillars-hero .collage-panel,
.elementor-edit-area .kff-pillars-hero .collage-panel,
.elementor-element-edit-mode .kff-pillars-hero .collage-panel{
  opacity:1;
  transform:scale(1);
  animation:none;
}

.elementor-editor-active .kff-pillars-hero .breadcrumb,
.elementor-editor-active .kff-pillars-hero h1,
.elementor-editor-active .kff-pillars-hero p.hero-sub,
.elementor-edit-area .kff-pillars-hero .breadcrumb,
.elementor-edit-area .kff-pillars-hero h1,
.elementor-edit-area .kff-pillars-hero p.hero-sub,
.elementor-element-edit-mode .kff-pillars-hero .breadcrumb,
.elementor-element-edit-mode .kff-pillars-hero h1,
.elementor-element-edit-mode .kff-pillars-hero p.hero-sub{
  opacity:1;
  transform:translateY(0);
  animation:none;
}

@media (prefers-reduced-motion: reduce){
  .kff-pillars-hero .collage-panel,
  .kff-pillars-hero .breadcrumb,
  .kff-pillars-hero h1,
  .kff-pillars-hero p.hero-sub{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
