/*
Theme Name: Hello Elementor Child — Kunda Fabrics
Theme URI: https://kundafabrics.com
Description: Kunda Fabrics homepage design system. Everything is scoped under .kf-root.
Author: Kunda Fabrics
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ==========================================================================
   Kunda Fabrics
   The design source of truth is design/index.html. This file is that design
   retargeted onto Elementor's DOM.

   Two rules make it work without a single !important:
   1. The root class is TRIPLED (.kf-root.kf-root.kf-root). Elementor emits its own
      per-element rules at (0,3,0) from post-<id>.css, which WordPress enqueues after
      the theme stylesheet — so a doubled class ties on weight and loses on order.
      Three classes win outright, whatever the load order.
   2. Layout drives Elementor's OWN custom properties (--display, --padding-*,
      --flex-direction, --row-gap ...) rather than the plain CSS properties,
      because Elementor sets those variables per element.
   ========================================================================== */

.kf-root.kf-root.kf-root{
  --ink:#1A1310;
  --body:#2A2622;
  --muted:#5A524A;
  --maroon:#520A14;
  --maroon-lift:#6B1226;
  --bronze:#8A5A38;          /* darkened from the mockup's #9E6944 for 4.6:1 on cream */
  --gold:#C9A063;
  --cream:#F3ECE3;
  --cream-warm:#F2EAE6;
  --navy:#101828;
  --taupe:#8A7260;           /* darkened from #A98E7B for 4.5:1 on cream */
  --line:rgba(26,19,16,.14);

  --f-display:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --f-ui:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-script:"Parisienne","Snell Roundhand",cursive;

  --max:1240px;
  --gutter:clamp(20px,5vw,64px);
  --pad-inline:max(var(--gutter),calc((100% - var(--max)) / 2));
  --sec:clamp(64px,8vw,116px);
  --ease:cubic-bezier(.22,1,.36,1);

  font-family:var(--f-ui);
  color:var(--body);
  background:var(--cream);
  font-size:16px;
  line-height:1.6;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
}

/* ---- neutralise Elementor's container + widget defaults ------------------ */
.elementor-page .e-parent:has(> .kf-root){
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;
  --row-gap:0px;--column-gap:0px;--width:100%;--content-width:100%;
}
.kf-root.kf-root.kf-root,.kf-root.kf-root.kf-root .e-con{
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;
  --row-gap:0px;--column-gap:0px;
  --widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;
  --kit-widget-spacing:0px;
  --container-max-width:100%;--content-width:100%;
}
.kf-root.kf-root.kf-root{--width:100%;--display:block}
.kf-root.kf-root.kf-root .e-con.e-child{--width:auto;--min-height:0}
.kf-root.kf-root.kf-root .elementor-widget{margin-block:0}
.kf-root.kf-root.kf-root img{display:block;max-width:100%;height:auto}
.kf-root.kf-root.kf-root p{margin:0}
.kf-root.kf-root.kf-root ul{margin:0;padding:0;list-style:none}
.kf-root.kf-root.kf-root a{color:inherit;text-decoration:none}
.kf-root.kf-root.kf-root :is(h1,h2,h3){
  margin:0;font-family:var(--f-display);font-weight:500;color:var(--ink);letter-spacing:-.005em
}
.kf-root.kf-root.kf-root :focus-visible{outline:2px solid var(--maroon);outline-offset:3px;border-radius:2px}
.kf-root.kf-root.kf-root :is(.kf-footer,.kf-hero__rail) :focus-visible{outline-color:var(--gold)}

/* ---- shared type -------------------------------------------------------- */
.kf-root.kf-root.kf-root .kf-eyebrow p{
  font-size:11px;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:var(--taupe)
}
.kf-root.kf-root.kf-root .kf-lede p{
  font-size:clamp(15px,1.1vw,16.5px);line-height:1.75;color:var(--muted);max-width:52ch
}
.kf-root.kf-root.kf-root .kf-h2 .elementor-heading-title{font-size:clamp(31px,4vw,52px);line-height:1.1}

/* ---- buttons ------------------------------------------------------------ */
.kf-root.kf-root.kf-root .kf-btn .elementor-button{
  display:inline-flex;align-items:center;gap:.7em;
  font-family:var(--f-ui);font-size:13.5px;font-weight:600;letter-spacing:.02em;line-height:1;
  padding:16px 30px;border:1px solid transparent;border-radius:2px;
  transition:background-color .28s var(--ease),color .28s var(--ease),border-color .28s var(--ease)
}
.kf-root.kf-root.kf-root .kf-btn .elementor-button-content-wrapper{display:inline-flex;align-items:center;gap:.7em}
.kf-root.kf-root.kf-root .kf-btn .kf-arrow{width:15px;height:10px;flex:none;transition:transform .28s var(--ease)}
.kf-root.kf-root.kf-root .kf-btn .elementor-button:hover .kf-arrow,
.kf-root.kf-root.kf-root .kf-btn .elementor-button:focus-visible .kf-arrow{transform:translateX(4px)}
.kf-root.kf-root.kf-root .kf-btn--solid .elementor-button{background:var(--maroon);color:#fff}
.kf-root.kf-root.kf-root .kf-btn--solid .elementor-button:hover{background:var(--maroon-lift);color:#fff}
.kf-root.kf-root.kf-root .kf-btn--ghost .elementor-button{
  background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.6)
}
.kf-root.kf-root.kf-root .kf-btn--ghost .elementor-button:hover{background:#fff;color:var(--ink);border-color:#fff}

/* ==========================================================================
   Header
   ========================================================================== */
.kf-root.kf-root.kf-root .kf-head{
  position:sticky;top:0;z-index:60;
  --display:flex;--flex-direction:row;--align-items:center;--column-gap:32px;
  --padding-top:14px;--padding-bottom:14px;
  --padding-left:var(--pad-inline);--padding-right:var(--pad-inline);
  background:rgba(243,236,227,0);
  transition:background-color .3s ease,box-shadow .3s ease
}
.admin-bar .kf-root.kf-root.kf-root .kf-head{top:32px}
/* Only paint changes on scroll — never geometry. The header is position:sticky,
   so it sits in flow: shrinking it pulls the page up, scrollY falls back under the
   threshold, it un-sticks and grows again. That feedback loop reads as shaking. */
.kf-root.kf-root.kf-root .kf-head.is-stuck{
  background:#F6F0E9;
  box-shadow:0 1px 0 var(--line),0 8px 28px -20px rgba(26,19,16,.5)
}
.kf-root.kf-root.kf-root .kf-head__logo img{height:76px;width:auto}
.kf-root.kf-root.kf-root .kf-head__nav{margin-inline:auto}
.kf-root.kf-root.kf-root .kf-head__cta{flex:none}

.kf-root.kf-root.kf-root .kf-nav ul{display:flex;gap:clamp(18px,2.4vw,38px)}
.kf-root.kf-root.kf-root .kf-nav a{
  position:relative;display:block;padding:6px 0;
  font-size:13.5px;font-weight:500;color:var(--body);transition:color .22s ease
}
.kf-root.kf-root.kf-root .kf-nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:1.5px;width:100%;
  background:var(--maroon);transform:scaleX(0);transform-origin:left;
  transition:transform .3s var(--ease)
}
.kf-root.kf-root.kf-root .kf-nav a:hover{color:var(--maroon)}
.kf-root.kf-root.kf-root .kf-nav a:hover::after,
.kf-root.kf-root.kf-root .kf-nav a[aria-current="page"]::after{transform:scaleX(1)}
.kf-root.kf-root.kf-root .kf-nav a[aria-current="page"]{color:var(--maroon)}

.kf-root.kf-root.kf-root .kf-burger{
  display:none;flex:none;width:44px;height:44px;padding:0;
  background:none;border:1px solid var(--line);border-radius:2px;cursor:pointer
}
.kf-root.kf-root.kf-root .kf-burger span{
  display:block;width:18px;height:1.5px;margin:4px auto;background:var(--ink);
  transition:transform .3s var(--ease),opacity .2s
}
.kf-root.kf-root.kf-root .kf-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.kf-root.kf-root.kf-root .kf-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.kf-root.kf-root.kf-root .kf-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}

/* the drawer covers the header, so it carries its own close button */
.kf-root.kf-root.kf-root .kf-nav__close{display:none}
.kf-root.kf-root.kf-root .kf-nav__close svg{width:20px;height:20px}

/* ==========================================================================
   Hero
   ========================================================================== */
.kf-root.kf-root.kf-root .kf-hero{
  position:relative;isolation:isolate;
  margin-top:-104px;--padding-top:104px;
  min-height:min(92vh,880px);
  --display:flex;--justify-content:center;
  background:var(--cream) url("img/kf-hero-1672.webp") right center/cover no-repeat
}
.kf-root.kf-root.kf-root .kf-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(97deg,
    rgba(243,236,227,.97) 0%,rgba(243,236,227,.93) 30%,
    rgba(243,236,227,.55) 48%,rgba(243,236,227,0) 66%)
}
.kf-root.kf-root.kf-root .kf-hero__inner{
  width:100%;
  --display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  --column-gap:40px;column-gap:40px;
  --padding-top:clamp(48px,7vw,96px);--padding-bottom:clamp(64px,8vw,104px);
  --padding-left:var(--pad-inline);--padding-right:var(--pad-inline)
}
.kf-root.kf-root.kf-root .kf-hero__copy{max-width:min(600px,100%)}
.kf-root.kf-root.kf-root .kf-hero__title .elementor-heading-title{
  font-size:clamp(46px,6.4vw,84px);line-height:1.02;letter-spacing:-.015em
}
.kf-root.kf-root.kf-root .kf-hero__title em{
  display:block;font-style:italic;font-weight:400;color:var(--bronze);letter-spacing:.002em
}
.kf-root.kf-root.kf-root .kf-hero .kf-lede{margin:26px 0 34px}
.kf-root.kf-root.kf-root .kf-hero .kf-lede p{max-width:42ch}

.kf-root.kf-root.kf-root .kf-hero__rail-w{justify-self:end}
.kf-root.kf-root.kf-root .kf-hero__rail{
  text-align:right;
  font-size:clamp(13px,1.05vw,15.5px);font-weight:500;letter-spacing:.2em;
  line-height:1.9;text-transform:uppercase;
  color:#fff;text-shadow:0 1px 14px rgba(10,7,6,.55)
}
.kf-root.kf-root.kf-root .kf-hero__rail span{display:block}
.kf-root.kf-root.kf-root .kf-hero__rail::after{
  content:"";display:block;width:52px;height:1px;background:rgba(255,255,255,.8);margin:16px 0 0 auto
}

.kf-root.kf-root.kf-root .kf-scroll-w{
  position:absolute;left:var(--pad-inline);bottom:clamp(26px,4vw,44px);z-index:2
}
.kf-root.kf-root.kf-root .kf-scroll{
  display:flex;align-items:center;gap:13px;
  font-size:10.5px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--muted)
}
.kf-root.kf-root.kf-root .kf-scroll__mouse{
  width:22px;height:34px;border:1.4px solid var(--ink);border-radius:11px;position:relative;flex:none
}
.kf-root.kf-root.kf-root .kf-scroll__mouse::after{
  content:"";position:absolute;left:50%;top:7px;width:2.5px;height:6px;border-radius:2px;
  background:var(--ink);transform:translateX(-50%);animation:kf-wheel 1.9s var(--ease) infinite
}
@keyframes kf-wheel{
  0%,100%{transform:translate(-50%,0);opacity:1}
  55%{transform:translate(-50%,9px);opacity:.15}
  56%{opacity:0}
  57%{transform:translate(-50%,0);opacity:0}
}

/* ==========================================================================
   Products
   ========================================================================== */
.kf-root.kf-root.kf-root .kf-products{
  --padding-top:var(--sec);background:var(--cream-warm)
}
.kf-root.kf-root.kf-root .kf-products__head{
  text-align:center;max-width:780px;margin:0 auto clamp(38px,4.6vw,60px);
  --padding-left:var(--pad-inline);--padding-right:var(--pad-inline)
}
.kf-root.kf-root.kf-root .kf-products__head .elementor-heading-title{text-wrap:balance}
.kf-root.kf-root.kf-root .kf-products__head .kf-lede{margin-top:16px}
.kf-root.kf-root.kf-root .kf-products__head .kf-lede p{margin-inline:auto;max-width:50ch}
.kf-root.kf-root.kf-root .kf-cards{
  --display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
  --padding-left:clamp(0px,1.2vw,12px);--padding-right:clamp(0px,1.2vw,12px)
}

/* stacking stays positive: photo 0, scrim 1, copy 2, hit area 3 */
.kf-root.kf-root.kf-root .kf-card{
  position:relative;overflow:hidden;
  min-height:clamp(340px,31vw,430px);
  --display:flex;--justify-content:flex-end;
  --padding-top:clamp(24px,2.2vw,34px);--padding-bottom:clamp(24px,2.2vw,34px);
  --padding-left:clamp(24px,2.2vw,34px);--padding-right:clamp(24px,2.2vw,34px)
}
.kf-root.kf-root.kf-root .kf-card__img{position:absolute;inset:0;z-index:0}
.kf-root.kf-root.kf-root .kf-card__img img{
  width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)
}
.kf-root.kf-root.kf-root .kf-card::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top,rgba(10,7,6,.9) 0%,rgba(10,7,6,.72) 34%,
    rgba(10,7,6,.3) 62%,rgba(10,7,6,0) 86%);
  transition:opacity .45s ease
}
.kf-root.kf-root.kf-root .kf-card__body{
  position:relative;z-index:2;width:100%;text-shadow:0 1px 12px rgba(10,7,6,.45)
}
.kf-root.kf-root.kf-root .kf-card:hover .kf-card__img img,
.kf-root.kf-root.kf-root .kf-card:focus-within .kf-card__img img{transform:scale(1.055)}
.kf-root.kf-root.kf-root .kf-card:hover::after,
.kf-root.kf-root.kf-root .kf-card:focus-within::after{opacity:.88}
.kf-root.kf-root.kf-root .kf-card__tag p{
  font-size:10.5px;font-weight:600;letter-spacing:.2em;line-height:1.85;
  text-transform:uppercase;color:rgba(255,255,255,.85)
}
.kf-root.kf-root.kf-root .kf-card__name{margin:14px 0 22px}
.kf-root.kf-root.kf-root .kf-card__name .elementor-heading-title{
  font-size:clamp(27px,2.7vw,39px);line-height:1.06;color:#fff
}
.kf-root.kf-root.kf-root .kf-card .kf-btn .elementor-button{font-size:12.5px;padding:13px 24px}
/* the button is the affordance, the whole card is the target */
.kf-root.kf-root.kf-root .kf-card__link .elementor-button::before{content:"";position:absolute;inset:0;z-index:3}
/* Keep the subject in frame when the photo is cropped. The card runs from ~1.04:1
   on mid-size screens to ~2.1:1 on phones, so cover trims width at one end and
   height at the other. All three models sit right of centre with faces high, so
   the focal point is pulled right and up. */
.kf-root.kf-root.kf-root .kf-card--mens .kf-card__img img{object-position:78% 30%}
.kf-root.kf-root.kf-root .kf-card--womens .kf-card__img img{object-position:74% 26%}
.kf-root.kf-root.kf-root .kf-card--kids .kf-card__img img{object-position:68% 30%}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.kf-root.kf-root.kf-root .kf-why{
  position:relative;overflow:hidden;background:var(--cream);
  --padding-top:clamp(46px,5.4vw,74px);--padding-bottom:clamp(46px,5.4vw,74px);
  --padding-left:var(--pad-inline);--padding-right:var(--pad-inline)
}
.kf-root.kf-root.kf-root .kf-why__leaf{
  position:absolute;top:50%;translate:0 -50%;width:clamp(120px,13vw,190px);
  opacity:.26;pointer-events:none;color:var(--bronze)
}
.kf-root.kf-root.kf-root .kf-why__leaf--l{left:-64px}
.kf-root.kf-root.kf-root .kf-why__leaf--r{right:-64px;transform:scaleX(-1)}
@media (max-width:1240px){ .kf-root.kf-root.kf-root .kf-why__leaf{display:none} }
.kf-root.kf-root.kf-root .kf-why .kf-eyebrow{margin-bottom:34px}
.kf-root.kf-root.kf-root .kf-why .kf-eyebrow p{text-align:center}
.kf-root.kf-root.kf-root .kf-why__row{--display:grid;grid-template-columns:repeat(6,1fr);position:relative}
.kf-root.kf-root.kf-root .kf-why__item{
  --display:flex;--align-items:center;--row-gap:14px;row-gap:14px;
  text-align:center;border-left:1px solid var(--line);
  --padding-top:6px;--padding-bottom:6px;
  --padding-left:clamp(8px,1.4vw,20px);--padding-right:clamp(8px,1.4vw,20px)
}
.kf-root.kf-root.kf-root .kf-why__row > .kf-why__item:first-child{border-left:0}
.kf-root.kf-root.kf-root .kf-why__icon svg{
  width:34px;height:34px;color:var(--ink);transition:color .3s ease,transform .3s var(--ease)
}
.kf-root.kf-root.kf-root .kf-why__item:hover .kf-why__icon svg{color:var(--maroon);transform:translateY(-3px)}
.kf-root.kf-root.kf-root .kf-why__label .elementor-heading-title{
  font-family:var(--f-ui);font-size:13px;font-weight:600;line-height:1.45;color:var(--ink);
  letter-spacing:.005em
}

/* ==========================================================================
   Contact
   ========================================================================== */
.kf-root.kf-root.kf-root .kf-contact{
  position:relative;isolation:isolate;
  --padding-top:var(--sec);--padding-bottom:var(--sec);
  background:var(--cream) url("img/kf-contact-1400.webp") right center/cover no-repeat
}
.kf-root.kf-root.kf-root .kf-contact::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(95deg,var(--cream) 0%,var(--cream) 34%,
    rgba(243,236,227,.72) 50%,rgba(243,236,227,.1) 72%)
}
.kf-root.kf-root.kf-root .kf-contact__inner{
  --display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);
  gap:clamp(32px,4vw,64px);align-items:center;
  --padding-left:var(--pad-inline);--padding-right:var(--pad-inline)
}
.kf-root.kf-root.kf-root .kf-contact__copy .kf-h2 .elementor-heading-title{
  max-width:19ch;text-wrap:balance
}
.kf-root.kf-root.kf-root .kf-contact .kf-lede{margin:18px 0 38px}
.kf-root.kf-root.kf-root .kf-contact .kf-lede p{max-width:40ch}
.kf-root.kf-root.kf-root .kf-assure{--display:flex;--flex-direction:row;--column-gap:clamp(14px,2vw,26px);column-gap:clamp(14px,2vw,26px)}
.kf-root.kf-root.kf-root .kf-assure__item{
  --display:flex;--align-items:center;--row-gap:11px;row-gap:11px;text-align:center;
  border-left:1px solid var(--line);--padding-left:clamp(14px,2vw,26px)
}
.kf-root.kf-root.kf-root .kf-assure > .kf-assure__item:first-child{border-left:0;--padding-left:0px}
.kf-root.kf-root.kf-root .kf-assure__icon svg{width:29px;height:29px;color:var(--ink)}
.kf-root.kf-root.kf-root .kf-assure__label .elementor-heading-title{
  font-family:var(--f-ui);font-size:12.5px;font-weight:600;color:var(--ink)
}
.kf-root.kf-root.kf-root .kf-contact__script-w{
  position:absolute;right:clamp(16px,3.4vw,54px);top:50%;translate:0 -50%;
  z-index:-1;pointer-events:none
}
.kf-root.kf-root.kf-root .kf-contact__script{
  font-family:var(--f-script);font-size:clamp(28px,3.1vw,44px);line-height:1.18;
  color:var(--ink);text-align:center
}
.kf-root.kf-root.kf-root .kf-contact__script::after{
  content:"";display:block;width:46px;height:1px;background:var(--bronze);margin:14px auto 0
}
@media (min-width:1080px){
  /* keep the form clear of the script mark pinned to the right edge */
  .kf-root.kf-root.kf-root .kf-contact__inner{
    --padding-right:calc(var(--pad-inline) + clamp(110px,11vw,185px))
  }
}

/* ---- SureForms, styled by element so it survives their class churn ------- */
.kf-root.kf-root.kf-root .kf-form{
  background:#fff;border-radius:3px;
  --padding-top:clamp(22px,2.4vw,34px);--padding-bottom:clamp(22px,2.4vw,34px);
  --padding-left:clamp(22px,2.4vw,34px);--padding-right:clamp(22px,2.4vw,34px);
  box-shadow:0 30px 70px -40px rgba(26,19,16,.55),0 2px 8px -4px rgba(26,19,16,.12)
}
.kf-root.kf-root.kf-root .kf-form form{display:flex;flex-wrap:wrap;gap:13px}
.kf-root.kf-root.kf-root .kf-form :is(input,textarea,select){
  width:100%;font-family:var(--f-ui);font-size:13.5px;color:var(--body);
  padding:14px 15px;background:#FBFAF8;border:1px solid #E4DED6;border-radius:2px;
  transition:border-color .22s ease,background-color .22s ease,box-shadow .22s ease
}
.kf-root.kf-root.kf-root .kf-form textarea{min-height:108px;resize:vertical}
.kf-root.kf-root.kf-root .kf-form :is(input,textarea,select):focus{
  outline:none;background:#fff;border-color:var(--maroon);
  box-shadow:0 0 0 3px rgba(82,10,20,.09)
}
.kf-root.kf-root.kf-root .kf-form ::placeholder{color:#8C8880;opacity:1}
.kf-root.kf-root.kf-root .kf-form button{
  width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.7em;
  font-family:var(--f-ui);font-size:13.5px;font-weight:600;letter-spacing:.02em;
  padding:16px 30px;border:0;border-radius:2px;cursor:pointer;
  background:var(--maroon);color:#fff;
  transition:background-color .28s var(--ease)
}
.kf-root.kf-root.kf-root .kf-form button:hover{background:var(--maroon-lift)}
.kf-root.kf-root.kf-root .kf-form label{font-family:var(--f-ui);font-size:12.5px;color:var(--muted)}

/* ==========================================================================
   Footer
   ========================================================================== */
.kf-root.kf-root.kf-root .kf-footer{
  position:relative;overflow:hidden;background:var(--navy);color:rgba(255,255,255,.72)
}
.kf-root.kf-root.kf-root .kf-footer__wave{
  position:absolute;left:0;right:0;bottom:46px;z-index:0;pointer-events:none;user-select:none;
  -webkit-mask-image:linear-gradient(to top,#000 58%,transparent 100%);
  mask-image:linear-gradient(to top,#000 58%,transparent 100%)
}
.kf-root.kf-root.kf-root .kf-footer__wave img{
  width:100%;height:clamp(118px,15vw,215px);object-fit:cover;object-position:center bottom
}
.kf-root.kf-root.kf-root .kf-footer__top{
  position:relative;z-index:1;
  --display:grid;grid-template-columns:1.55fr .85fr 1fr 1.25fr 1.1fr;
  gap:clamp(24px,3vw,46px);
  --padding-top:clamp(52px,6vw,84px);--padding-bottom:clamp(120px,13vw,190px);
  --padding-left:var(--pad-inline);--padding-right:var(--pad-inline)
}
.kf-root.kf-root.kf-root .kf-footer__logo img{height:88px;width:auto;margin-bottom:20px}
.kf-root.kf-root.kf-root .kf-footer__about p{
  font-size:13.5px;line-height:1.75;max-width:34ch;color:rgba(255,255,255,.62)
}
.kf-root.kf-root.kf-root .kf-footer__h .elementor-heading-title{
  font-size:16px;font-family:var(--f-ui);font-weight:600;color:#fff;letter-spacing:.01em
}
.kf-root.kf-root.kf-root .kf-footer__h{margin-bottom:20px}
.kf-root.kf-root.kf-root .kf-footer__links .elementor-icon-list-item{margin-bottom:11px}
.kf-root.kf-root.kf-root .kf-footer__links .elementor-icon-list-text,
.kf-root.kf-root.kf-root .kf-footer__contact li{
  font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.66)
}
.kf-root.kf-root.kf-root .kf-footer__links a{position:relative;display:inline-block;transition:color .22s ease}
.kf-root.kf-root.kf-root :is(.kf-footer__links a,.kf-footer__contact a)::after{
  content:"";position:absolute;left:0;bottom:-2px;height:1px;width:100%;background:var(--gold);
  transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)
}
.kf-root.kf-root.kf-root :is(.kf-footer__links a,.kf-footer__contact a):hover{color:#fff}
.kf-root.kf-root.kf-root :is(.kf-footer__links a,.kf-footer__contact a):hover::after{transform:scaleX(1)}
.kf-root.kf-root.kf-root .kf-footer__contact li{display:flex;gap:12px;align-items:flex-start;margin-bottom:11px}
.kf-root.kf-root.kf-root .kf-footer__contact a{position:relative;display:inline-block;transition:color .22s ease}
.kf-root.kf-root.kf-root .kf-footer__contact svg{width:15px;height:15px;flex:none;margin-top:3px;color:var(--gold)}

.kf-root.kf-root.kf-root .kf-social{display:flex;gap:10px;margin-top:24px}
.kf-root.kf-root.kf-root .kf-social a{
  display:grid;place-items:center;width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.22);color:rgba(255,255,255,.8);
  transition:background-color .26s ease,border-color .26s ease,color .26s ease,transform .26s var(--ease)
}
.kf-root.kf-root.kf-root .kf-social svg{width:16px;height:16px}
.kf-root.kf-root.kf-root .kf-social a:hover{
  background:var(--maroon);border-color:var(--maroon);color:#fff;transform:translateY(-2px)
}

.kf-root.kf-root.kf-root .kf-news p{font-size:13px;line-height:1.7;color:rgba(255,255,255,.62);margin-bottom:16px}
.kf-root.kf-root.kf-root .kf-news .kf-form,
.kf-root.kf-root.kf-root .kf-news form{background:none;box-shadow:none;padding:0}
/* SureForms ships per-form variables tuned for a light card: the input background is
   2% of near-black and the border 25%, which simply vanishes on the navy footer.
   Override the variables rather than each property, so borders, text, placeholder
   and the focus glow all move together. */
.kf-root.kf-root.kf-root .kf-news .srfm-form-container{
  --srfm-color-input-background:rgba(255,255,255,.08);
  --srfm-color-input-background-hover:rgba(255,255,255,.13);
  --srfm-color-input-border:rgba(255,255,255,.4);
  --srfm-color-input-border-hover:rgba(201,160,99,.8);
  --srfm-color-input-border-focus-glow:rgba(201,160,99,.25);
  --srfm-color-input-text:#fff;
  --srfm-color-input-placeholder:rgba(255,255,255,.62);
  --srfm-color-input-label:rgba(255,255,255,.72);
  --srfm-color-input-description:rgba(255,255,255,.55);
  --srfm-color-input-prefix:rgba(255,255,255,.62);
  --srfm-color-scheme-primary:var(--gold);
}
.kf-root.kf-root.kf-root .kf-news :is(input,.srfm-input-common){
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.4);color:#fff;
  padding:13px 15px;border-radius:2px
}
.kf-root.kf-root.kf-root .kf-news :is(input,.srfm-input-common):hover{border-color:rgba(255,255,255,.55)}
.kf-root.kf-root.kf-root .kf-news :is(input,.srfm-input-common):focus{
  border-color:var(--gold);background:rgba(255,255,255,.13);
  box-shadow:0 0 0 3px rgba(201,160,99,.22);outline:none
}
.kf-root.kf-root.kf-root .kf-news ::placeholder,
.kf-root.kf-root.kf-root .kf-news input.srfm-input-common::placeholder{color:rgba(255,255,255,.74);opacity:1}
.kf-root.kf-root.kf-root .kf-news .srfm-block-legend,
.kf-root.kf-root.kf-root .kf-news label{color:rgba(255,255,255,.62)}

/* the phone field's country selector has to match the other inputs */
.kf-root.kf-root.kf-root .srfm-phone-block .iti{width:100%}
.kf-root.kf-root.kf-root .srfm-country-list{color:var(--body)}

/* ==========================================================================
   SureForms integration
   Markup: .srfm-form-container > form.srfm-form, submit is
   button.wp-block-button__link inside .srfm-submit-container. The form title is an
   <h2.srfm-form-title> that show_title="0" does not actually suppress.
   ========================================================================== */
.kf-root.kf-root.kf-root .srfm-form-title{display:none}
.kf-root.kf-root.kf-root .srfm-form-container{
  background:none;padding:0;border:0;box-shadow:none;max-width:none
}
.kf-root.kf-root.kf-root .srfm-form{display:flex;flex-wrap:wrap;gap:13px}
.kf-root.kf-root.kf-root .srfm-block,
.kf-root.kf-root.kf-root .srfm-block-wrap{margin:0}
.kf-root.kf-root.kf-root .kf-news .srfm-form{gap:11px}

/* WP's block-button default has to be overridden explicitly */
.kf-root.kf-root.kf-root .srfm-submit-container{width:100%;margin:0}
.kf-root.kf-root.kf-root .srfm-submit-container .wp-block-button{width:100%}
.kf-root.kf-root.kf-root .srfm-submit-container .wp-block-button__link{
  width:100%;display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--f-ui);font-size:13.5px;font-weight:600;letter-spacing:.02em;
  padding:16px 30px;border:0;border-radius:2px;cursor:pointer;
  background:var(--maroon);color:#fff;
  transition:background-color .28s var(--ease)
}
.kf-root.kf-root.kf-root .srfm-submit-container .wp-block-button__link:hover{background:var(--maroon-lift)}
.kf-root.kf-root.kf-root .srfm-submit-wrap{display:inline-flex;align-items:center;gap:.6em}

/* ---- footer bar --------------------------------------------------------- */
.kf-root.kf-root.kf-root .kf-footer__bar-w{position:relative;z-index:1}
.kf-root.kf-root.kf-root .kf-footer__bar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px;
  padding:17px var(--pad-inline);
  border-top:1px solid rgba(255,255,255,.12);
  background:rgba(16,24,40,.72);
  font-size:12.5px;color:rgba(255,255,255,.58)
}
.kf-root.kf-root.kf-root .kf-footer__legal{display:flex;flex-wrap:wrap;gap:10px 22px}
.kf-root.kf-root.kf-root .kf-footer__made{display:flex;align-items:center;gap:9px}
.kf-root.kf-root.kf-root .kf-footer__made svg{width:17px;height:17px;color:var(--gold)}

/* ==========================================================================
   Motion — one orchestrated hero entrance, nothing else
   ========================================================================== */
@media (prefers-reduced-motion:no-preference){
  .kf-root.kf-root.kf-root .kf-hero__copy > .elementor-element,
  .kf-root.kf-root.kf-root .kf-hero__rail-w,
  .kf-root.kf-root.kf-root .kf-scroll-w{
    opacity:0;transform:translateY(14px);animation:kf-rise .85s var(--ease) forwards
  }
  .kf-root.kf-root.kf-root .kf-hero__copy > .elementor-element:nth-child(1){animation-delay:.08s}
  .kf-root.kf-root.kf-root .kf-hero__copy > .elementor-element:nth-child(2){animation-delay:.17s}
  .kf-root.kf-root.kf-root .kf-hero__copy > .elementor-element:nth-child(3){animation-delay:.28s}
  .kf-root.kf-root.kf-root .kf-hero__copy > .elementor-element:nth-child(4){animation-delay:.38s}
  .kf-root.kf-root.kf-root .kf-hero__rail-w{animation-delay:.5s}
  .kf-root.kf-root.kf-root .kf-scroll-w{animation-delay:.62s}
}
@keyframes kf-rise{to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .kf-root.kf-root.kf-root *,
  .kf-root.kf-root.kf-root *::before,
  .kf-root.kf-root.kf-root *::after{
    animation-duration:.001ms !important;animation-iteration-count:1 !important;
    transition-duration:.001ms !important
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1240px){ .kf-root.kf-root.kf-root .kf-why__leaf{display:none} }

@media (max-width:1100px){
  .kf-root.kf-root.kf-root .kf-footer__top{grid-template-columns:1.4fr 1fr 1fr;row-gap:44px}
  .kf-root.kf-root.kf-root .kf-why__row{grid-template-columns:repeat(3,1fr);row-gap:32px}
  .kf-root.kf-root.kf-root .kf-why__row > .kf-why__item:nth-child(3n+1){border-left:0}
  .kf-root.kf-root.kf-root .kf-hero__rail-w{display:none}
}
@media (max-width:900px){
  .kf-root.kf-root.kf-root .kf-nav,
  .kf-root.kf-root.kf-root .kf-head__cta{display:none}
  .kf-root.kf-root.kf-root .kf-burger{display:block;margin-left:auto}
  .kf-root.kf-root.kf-root .kf-head__nav{margin-inline:0;margin-left:auto}
  .kf-root.kf-root.kf-root .kf-head__logo img{height:60px}

  .kf-root.kf-root.kf-root .kf-nav.is-open{
    display:block;position:fixed;inset:0 0 0 auto;width:min(310px,84vw);z-index:70;
    padding:84px 30px calc(30px + env(safe-area-inset-bottom,0px));
    background:#F6F0E9;overflow-y:auto;
    box-shadow:-20px 0 60px -30px rgba(26,19,16,.6)
  }
  .kf-root.kf-root.kf-root .kf-nav.is-open ul{flex-direction:column;gap:4px}
  .kf-root.kf-root.kf-root .kf-nav.is-open a{padding:13px 0;font-size:15px;border-bottom:1px solid var(--line)}
  .kf-root.kf-root.kf-root .kf-nav.is-open a::after{display:none}
  .kf-root.kf-root.kf-root .kf-nav.is-open .kf-nav__close{
    display:grid;place-items:center;position:absolute;top:20px;right:22px;
    width:44px;height:44px;padding:0;color:var(--ink);
    background:none;border:1px solid var(--line);border-radius:2px;cursor:pointer;
    transition:background-color .22s ease,color .22s ease
  }
  .kf-root.kf-root.kf-root .kf-nav.is-open .kf-nav__close:hover{
    background:var(--maroon);color:#fff;border-color:var(--maroon)
  }
  /* below the header's stacking context (z-index:60) — the drawer lives inside it */
  .kf-scrim{position:fixed;inset:0;z-index:55;background:rgba(26,19,16,.45);border:0;cursor:pointer}

  .kf-root.kf-root.kf-root .kf-cards{grid-template-columns:1fr 1fr}
  .kf-root.kf-root.kf-root .kf-contact__inner{grid-template-columns:1fr}
  .kf-root.kf-root.kf-root .kf-contact__script-w{display:none}
  .kf-root.kf-root.kf-root .kf-contact::before{
    background:linear-gradient(to bottom,var(--cream) 0%,rgba(243,236,227,.93) 62%,rgba(243,236,227,.86) 100%)
  }
}
@media (max-width:760px){
  .kf-root.kf-root.kf-root .kf-hero{background-image:url("img/kf-hero-760.webp");min-height:auto}
  .kf-root.kf-root.kf-root .kf-hero::before{
    background:linear-gradient(to bottom,rgba(243,236,227,.95) 0%,rgba(243,236,227,.9) 55%,rgba(243,236,227,.72) 100%)
  }
  .kf-root.kf-root.kf-root .kf-hero__inner{grid-template-columns:1fr;--padding-bottom:104px}
  .kf-root.kf-root.kf-root .kf-contact{background-image:url("img/kf-contact-800.webp")}
  .kf-root.kf-root.kf-root .kf-footer__wave{bottom:78px}
}
@media (max-width:620px){
  .kf-root.kf-root.kf-root .kf-cards{grid-template-columns:1fr}
  .kf-root.kf-root.kf-root .kf-card{min-height:290px}
  .kf-root.kf-root.kf-root .kf-why__row{grid-template-columns:repeat(2,1fr)}
  .kf-root.kf-root.kf-root .kf-why__row > .kf-why__item:nth-child(3n+1){border-left:1px solid var(--line)}
  .kf-root.kf-root.kf-root .kf-why__row > .kf-why__item:nth-child(odd){border-left:0}
  .kf-root.kf-root.kf-root .kf-assure{--display:grid;grid-template-columns:repeat(3,1fr);--column-gap:0px;column-gap:0}
  .kf-root.kf-root.kf-root .kf-assure__item{--padding-left:clamp(8px,2.5vw,16px)}
  .kf-root.kf-root.kf-root .kf-footer__top{grid-template-columns:1fr;row-gap:38px}
  .kf-root.kf-root.kf-root .kf-form__grid{grid-template-columns:1fr}
  .kf-root.kf-root.kf-root .kf-footer__bar{justify-content:flex-start}
}
