/* ── Splash / Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s ease, transform 1.5s ease;
}
#preloader.exit {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
}
#kaf-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}
#kaf-splash-logo img { width: 460px; max-width: 80vw; height: auto; }
#kaf-splash-line { width: 0; height: 2px; background: #45be84; margin: 28px auto 0; }
#kaf-splash-text {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.95rem, 1.9vw, 1.1rem);
  color: #ffffff;
  line-height: 2;
  margin-top: 22px;
  letter-spacing: 0.04em;
  font-weight: 300;
}
#kaf-splash-text .kaf-word { color: #3DED62; font-weight: 700; font-size: 1.15em; letter-spacing: 0.08em; }
#kaf-splash-text .kaf-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ── Who We Are Band ── */
.who-band {
  background: #0d0d0d;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.who-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(61,237,98,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.who-band-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #3DED62;
  margin-bottom: 1.1em;
}
.who-band-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 0.55em;
}
.who-band-body {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  max-width: 820px;
}
.who-band-stat-row { display: flex; gap: 48px; margin-top: 52px; flex-wrap: wrap; }
.who-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #3DED62;
  line-height: 1;
}
.who-stat-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── Fields of Practice ── */
.fields-section { background: #fff; padding: 80px 0; }
.fields-inner { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; }
.fields-text-col { flex: 1; min-width: 280px; }
.fields-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #18a84e;
  display: block;
  margin-bottom: 0.7em;
  font-weight: 700;
}
.fields-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #111;
  margin: 0 0 0.4em;
  line-height: 1.05;
}
.fields-accent { width: 48px; height: 3px; background: #3DED62; margin-bottom: 1.6em; }
.fields-body { font-family: 'Lato', sans-serif; font-size: 1.05rem; line-height: 1.9; color: #444; }
.fields-img-col { flex: 1; min-width: 280px; }
.fields-img-wrap { border-radius: 14px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.13); }
.fields-img-wrap img { width: 100%; height: auto; display: block; }

/* ── Scope of Services ── */
.services-modern {
  background: #0d0d0d;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.services-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(61,237,98,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.service-pill {
  background: #161616;
  border-radius: 10px;
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border-top: 3px solid #3DED62;
}
.service-pill-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.service-pill-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.88);
}

/* ── Founders ── */
.founders-title-wrap { text-align: center; margin-bottom: 44px; }
.founders-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #18a84e;
  display: block;
  margin-bottom: 0.7em;
  font-weight: 700;
}
.founders-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #111;
  margin: 0 0 0.35em;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.founders-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; }
.founders-ornament-line { width: 60px; height: 2px; background: linear-gradient(90deg, transparent, #3DED62); }
.founders-ornament-line.right { background: linear-gradient(90deg, #3DED62, transparent); }
.founders-ornament-diamond { width: 8px; height: 8px; background: #3DED62; transform: rotate(45deg); }
.founders-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  max-width: 60%;
  margin: 0 auto;
}
.founders-photo-wrap img { width: 100%; height: auto; display: block; }
.founders-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}
.founders-cards { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.founder-card {
  flex: 1;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  border-left: 4px solid #3DED62;
}
.founder-card-name { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.founder-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3DED62;
  margin-bottom: 16px;
  font-weight: 600;
}
.founder-card p { font-family: 'Lato', sans-serif; font-size: 0.95rem; line-height: 1.8; color: #444; margin: 0; }

/* ── Collaborators ── */
.collab-section {
  background: #0d0d0d;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.collab-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(61,237,98,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.collab-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #3DED62;
  margin-bottom: 0.5em;
}
.collab-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.collab-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 36px; }
.collab-logo {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  height: 90px;
  cursor: pointer;
  position: relative;
}
.collab-logo img {
  max-height: 56px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.25s;
}
.collab-logo-xl img { max-height: 70px !important; max-width: 200px !important; }

/* ── Filter Tabs (dark bg) ── */
#filters-container.cbp-l-filters-alignCenter {
  background: rgba(255,255,255,0.05);
  padding: 0;
  margin: 0;
}
#filters-container.cbp-l-filters-alignCenter .cbp-filter-item {
  color: rgba(255,255,255,0.50);
  border-bottom: 2px solid transparent;
  padding: 18px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
  cursor: pointer;
}
#filters-container.cbp-l-filters-alignCenter .cbp-filter-item:hover { color: rgba(255,255,255,0.90); }
#filters-container.cbp-l-filters-alignCenter .cbp-filter-item-active {
  color: #3DED62 !important;
  border-bottom: 3px solid #3DED62 !important;
  background: rgba(61,237,98,0.07) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* ── Footer Social ── */
.kaf-footer-links a,
.kaf-footer-links span {
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease !important;
}
.kaf-footer-links a.link-near {
  color: #3DED62 !important;
  transform: translateX(8px) !important;
  text-shadow: 0 0 18px rgba(61,237,98,0.55);
}
.kaf-footer-socials { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.kaf-footer-soc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(6,6,6,0.22) 100%) !important;
  backdrop-filter: blur(18px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.5) !important;
  border: 1px solid rgba(61,237,98,0.22) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.07) !important;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  text-decoration: none !important;
}
.kaf-footer-soc-btn svg { fill: rgba(255,255,255,0.65) !important; width: 18px !important; height: 18px !important; }
.kaf-footer-soc-btn:hover {
  background: rgba(61,237,98,0.12) !important;
  border-color: rgba(61,237,98,0.55) !important;
  box-shadow: 0 0 18px rgba(61,237,98,0.30), 0 4px 14px rgba(0,0,0,0.28) !important;
  transform: translateY(-2px) !important;
}
.kaf-footer-soc-btn:hover svg { fill: #3DED62 !important; }
.kaf-footer-soc-btn.btn-near {
  transform: scale(1.18) translateY(-4px) !important;
  box-shadow: 0 0 24px rgba(61,237,98,0.6), 0 8px 20px rgba(0,0,0,0.3) !important;
  background: rgba(61,237,98,0.18) !important;
  border-color: #3DED62 !important;
}
.kaf-footer-soc-btn.btn-near svg { fill: #3DED62 !important; }

/* ── Project Card Redesign ── */
.cbp-item {
  border-radius: 18px !important;
  background: #fff;
  box-shadow: 0 4px 22px rgba(0,0,0,0.10);
  transition: box-shadow 0.38s ease, transform 0.38s cubic-bezier(0.22,1,0.36,1) !important;
}
.cbp-caption-defaultWrap {
  border-radius: 18px 18px 0 0 !important;
  overflow: hidden !important;
}
.cbp-item .cbp-caption { display: block !important; border-radius: 18px 18px 0 0; overflow: hidden; }
.cbp-item .box {
  padding: 20px 18px 18px !important;
  background: #fff !important;
  border-radius: 0 0 18px 18px !important;
}
.cbp-item .post-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #111 !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}
.cbp-item .meta.category {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.66rem !important;
  color: #3DED62 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}
.cbp-item.card-held {
  transform: scale(1.055) translateY(-7px) !important;
  box-shadow: 0 30px 72px rgba(61,237,98,0.38), 0 10px 32px rgba(0,0,0,0.18) !important;
  z-index: 30;
  position: relative;
}

/* ── Glassmorphic Navbar ── */
.kaf-glass-nav {
  position: fixed !important;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1260px, calc(100vw - 32px));
  z-index: 10000;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(6,6,6,0.28) 100%) !important;
  backdrop-filter: blur(32px) saturate(1.6) brightness(1.08);
  -webkit-backdrop-filter: blur(32px) saturate(1.6) brightness(1.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50px;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, top 0.4s ease !important;
  padding: 0 !important;
  min-height: 72px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.09);
}
.kaf-glass-nav.scrolled {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(6,6,6,0.78) 100%) !important;
  border-color: rgba(61,237,98,0.18);
  box-shadow: 0 10px 52px rgba(0,0,0,0.65), inset 0 1px 0 rgba(61,237,98,0.06);
  top: 8px;
}
.kaf-nav-container {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  min-height: 72px;
  padding: 0 32px !important;
}
.kaf-glass-nav .kaf-link {
  position: relative;
  color: rgba(255,255,255,0.72) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 10px 14px !important;
  transition: color 0.28s ease !important;
  white-space: nowrap;
  text-decoration: none !important;
  display: inline-block;
}
.kaf-glass-nav .kaf-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: #3DED62;
  transition: left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
}
.kaf-glass-nav .kaf-link:hover { color: #fff !important; }
.kaf-glass-nav .kaf-link:hover::after { left: 14px; right: 14px; }
.kaf-glass-nav .dropdown-menu {
  background: rgba(10,10,10,0.96) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(61,237,98,0.13) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 36px rgba(0,0,0,0.55) !important;
  padding: 8px 0 !important;
  margin-top: 6px !important;
}
.kaf-glass-nav .dropdown-item {
  color: rgba(255,255,255,0.65) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 9px 18px !important;
  transition: color 0.2s, background 0.2s !important;
}
.kaf-glass-nav .dropdown-item:hover { background: rgba(61,237,98,0.09) !important; color: #3DED62 !important; }
.kaf-glass-nav .dropdown-divider { border-color: rgba(255,255,255,0.07) !important; }

/* ── View Switcher ── */
.kaf-vsection { background: transparent; display: flex; justify-content: center; align-items: center; padding: 18px 0 14px; }
.kaf-view-switcher-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(20,20,20,0.72) 0%, rgba(10,10,10,0.88) 100%);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(61,237,98,0.15);
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
}
.kaf-vbtn {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 7px 9px;
  cursor: pointer;
  color: rgba(255,255,255,0.30);
  transition: color 0.22s, border-color 0.22s, background 0.22s, transform 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.kaf-vbtn:hover {
  color: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.05);
  transform: scale(1.08);
}
.kaf-vbtn.active {
  color: #3DED62;
  border-color: rgba(61,237,98,0.70);
  background: rgba(61,237,98,0.12);
  box-shadow: 0 0 10px rgba(61,237,98,0.20);
}

/* ── List View Cards ── */
.kaf-lcard {
  display: flex;
  flex-direction: row;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.09);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none !important;
  color: inherit;
}
.kaf-lcard:hover { box-shadow: 0 10px 36px rgba(61,237,98,0.20); transform: translateY(-3px); }
.kaf-lcard-img { width: 300px; min-width: 300px; align-self: stretch; overflow: hidden; flex-shrink: 0; position: relative; }
.kaf-lcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.kaf-lcard:hover .kaf-lcard-img img { transform: scale(1.06); }
.kaf-lcard-body { flex: 1; padding: 22px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.kaf-lcard-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3DED62;
  background: rgba(61,237,98,0.08);
  border: 1px solid rgba(61,237,98,0.25);
  border-radius: 30px;
  padding: 3px 12px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.kaf-lcard-name { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; font-weight: 700; color: #111; letter-spacing: 0.05em; text-transform: uppercase; margin: 0; }
.kaf-lcard-loc { font-family: 'Lato', sans-serif; font-size: 0.78rem; color: #888; letter-spacing: 0.04em; margin: 0; }
.kaf-lcard-desc { font-family: 'Lato', sans-serif; font-size: 0.85rem; color: #555; line-height: 1.7; margin: 4px 0 10px; }
.kaf-lcard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  border: 1.5px solid #111;
  border-radius: 30px;
  padding: 6px 16px;
  align-self: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.kaf-lcard-btn:hover { background: #3DED62; border-color: #3DED62; color: #000; text-decoration: none; }
.kaf-lcard-btn svg { width: 10px; height: 10px; fill: currentColor; }
.kaf-lcard-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  flex-shrink: 0;
  border-left: 1px solid rgba(0,0,0,0.06);
  min-width: 148px;
  align-self: stretch;
}
