/* ============================================================
   KALAKRUTI ARCHITECTS — MASTER STYLESHEET
   Colors: Olive #6E7000 | Amber #FFA300 | Dark #2C2C2C
   Font:   Poppins (loaded via Google Fonts)
   Sections:
     01  CSS Variables & Reset
     02  Typography & Base
     03  Buttons
     04  Utility Classes
     05  Floating Nav Button
     06  Nav Overlay
     07  Sticky Right Sidebar
     08  Footer
     09  Portfolio Grid
     10  Portfolio Single
     11  Lightbox
     12  Insights Grid
     13  Contact & Career Forms
     14  Home — Hero Slider
     15  Home — Quote, Logos, CTA, Insights Preview
     16  Services Page
     17  About Page
     18  Contact Page
     19  Single Blog / Insights Post
     20  Responsive (consolidated)
     21  Portfolio Filter
     22  Portfolio Page Header
     23  Project Details Strip
     24  Insights Archive Header
     25  Post Navigation
     26  404 Page
============================================================ */

/* ── 01  CSS Variables & Reset ──────────────────────────── */
:root {
  --ka-olive:       #6E7000;
  --ka-olive-dark:  #4f5200;
  --ka-amber:       #FFA300;
  --ka-dark:        #2C2C2C;
  --ka-darker:      #222222;
  --ka-white:       #FFFFFF;
  --ka-light-bg:    #F5F3EF;
  --ka-text:        #636400;
  --ka-text-light:  #909400;
  --ka-border:      #E0E0E0;
  --ka-font:        'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

/* ── 02  Typography & Base ──────────────────────────────── */
body {
  font-family: var(--ka-font);
  color: var(--ka-text);
  background: var(--ka-white);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ka-font);
  font-weight: 700;
  color: var(--ka-dark);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ka-olive); }

/* ── 03  Buttons ────────────────────────────────────────── */
.ka-btn {
  display: inline-block;
  background: var(--ka-olive);
  color: var(--ka-white);
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
}
.ka-btn:hover { background: var(--ka-olive-dark); color: var(--ka-white); }

.ka-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ka-olive);
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--ka-olive);
  cursor: pointer;
  transition: all 0.3s ease;
}
.ka-btn-outline:hover {
  background: var(--ka-olive);
  color: var(--ka-white);
}

/* ── 04  Utility Classes ────────────────────────────────── */
.ka-olive { color: var(--ka-olive); }
.ka-amber { color: var(--ka-amber); }

.ka-section-label {
  display: block;
  font-size: 12px;
  font-style: italic;
  color: var(--ka-olive);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.ka-cta-italic {
  font-style: italic;
  color: var(--ka-olive);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.ka-cta-italic span {
  display: block;
  font-size: 14px;
  font-weight: 400;
}

.ka-border-left {
  border-left: 5px solid var(--ka-olive);
  padding-left: 20px;
}

.ka-vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ka-white);
  background: var(--ka-olive);
  padding: 16px 6px;
  white-space: nowrap;
}

.ka-dark-section { background: var(--ka-dark); color: var(--ka-white); }
.ka-dark-section h1,
.ka-dark-section h2,
.ka-dark-section h3 { color: var(--ka-white); }

.site-logo img { max-height: 80px; width: auto; }

/* ── 05  Floating Nav Button ────────────────────────────── */
#ka-float-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: var(--ka-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(255,163,0,0.4);
  transition: transform 0.3s ease;
}
#ka-float-btn:hover { transform: scale(1.1); }
#ka-float-btn .dots {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 4px;
}
#ka-float-btn .dot {
  width: 8px; height: 8px;
  background: var(--ka-white);
  border-radius: 50%;
}

/* ── 06  Nav Overlay ────────────────────────────────────── */
#ka-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--ka-light-bg, #F5F3EF);
  z-index: 9998;
  display: grid;
  grid-template-columns: 420px 1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}
#ka-nav-overlay.open { opacity: 1; pointer-events: all; }

/* Close button */
.ka-nav-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ka-dark);
  line-height: 1;
  z-index: 10;
  padding: 4px 8px;
  transition: color 0.3s;
}
.ka-nav-close:hover { color: var(--ka-olive); }

/* Left panel */
.ka-nav-left {
  padding: 60px 50px 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-right: 1px solid rgba(0,0,0,0.08);
}

/* Nav links — vertical list */
.ka-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}
.ka-nav-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ka-olive);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.3s, padding-left 0.3s;
}
.ka-nav-links a:hover { color: var(--ka-dark); padding-left: 8px; }

/* Social icons */
.ka-nav-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}
.ka-nav-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ka-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}
.ka-nav-social:hover { background: var(--ka-olive-dark); transform: scale(1.1); color: #fff; }

/* Talk to Us button */
.ka-nav-talk-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--ka-dark);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ka-dark);
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}
.ka-nav-talk-btn:hover { background: var(--ka-dark); color: #fff; }

/* Right panel — insight previews */
.ka-nav-right {
  padding: 80px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
  overflow-y: auto;
  background: #fff;
}
.ka-nav-insight-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.ka-nav-insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.4s;
}
.ka-nav-insight-card:hover img { transform: scale(1.03); }
.ka-nav-insight-card { overflow: hidden; }
.ka-nav-insight-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ka-nav-insight-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ka-olive);
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s;
}
.ka-nav-insight-card:hover .ka-nav-insight-title { color: var(--ka-dark); }

@media (max-width: 900px) {
  #ka-nav-overlay { grid-template-columns: 1fr; }
  .ka-nav-right { display: none; }
  .ka-nav-left { padding: 80px 30px 50px; justify-content: flex-start; }
}

/* ── 07  Sticky Right Sidebar ───────────────────────────── */
#ka-sticky-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ka-sticky-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ka-white);
  font-size: 16px;
  transition: width 0.3s ease;
  text-decoration: none;
}
.ka-sticky-item.contact-us {
  background: var(--ka-dark);
  width: 36px;
  height: 80px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ka-sticky-item.whatsapp   { background: #25D366; }
.ka-sticky-item.instagram  { background: #E1306C; }
.ka-sticky-item:hover      { opacity: 0.85; }

/* ── 08  Footer ─────────────────────────────────────────── */
.ka-footer {
  background: var(--ka-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.ka-footer-tagline { font-size: 13px; margin-bottom: 4px; }
.ka-footer-tagline strong { color: var(--ka-amber); }
.ka-footer-desc { font-size: 12px; max-width: 360px; line-height: 1.7; }
.ka-footer-email-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ka-amber);
  margin-bottom: 4px;
}
.ka-footer-email-val { color: var(--ka-white); font-size: 13px; }
.ka-footer-nav { list-style: none; padding: 0; margin: 0; }
.ka-footer-nav li { display: inline-block; margin: 0 12px; }
.ka-footer-nav a { color: rgba(255,255,255,0.7); font-size: 13px; transition: color 0.3s; }
.ka-footer-nav a:hover { color: var(--ka-amber); }
.ka-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.ka-footer-socials a {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  margin: 0 8px;
  transition: color 0.3s;
}
.ka-footer-socials a:hover { color: var(--ka-amber); }
#ka-footer-rotate { transition: opacity 0.3s ease; }

.ka-email-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
  margin: 24px 0;
}
.ka-email-row input {
  background: transparent;
  border: none;
  outline: none;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  flex: 1;
}
.ka-email-row input::placeholder { color: rgba(255,255,255,0.4); }
.ka-email-row button {
  background: none;
  border: none;
  color: var(--ka-amber);
  font-size: 18px;
  cursor: pointer;
}

/* ── 09  Portfolio Grid ─────────────────────────────────── */
.ka-portfolio-tagline {
  background: var(--ka-olive);
  color: #fff;
  padding: 16px 30px;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.5px;
  text-align: center;
}
.ka-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.ka-portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.ka-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.ka-portfolio-item:hover img { transform: scale(1.06); }
.ka-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.3s ease;
}
.ka-portfolio-item:hover .ka-portfolio-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.ka-portfolio-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

/* ── 10  Portfolio Single ───────────────────────────────── */
.ka-proj-hero {
  background: var(--ka-dark);
  padding: 80px 30px 50px;
  text-align: center;
  position: relative;
}
.ka-proj-hero-title {
  color: #ffffff;
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  letter-spacing: -2px;
  margin: 0;
  line-height: 1;
}
.ka-proj-hero-ghost {
  color: rgba(255,255,255,0.12);
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 800;
  letter-spacing: -2px;
  margin: -10px 0 0;
  line-height: 1;
}
.ka-proj-gallery {
  background: var(--ka-dark);
  padding: 0 30px 60px;
}
.ka-proj-gallery-grid {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ka-proj-gallery-grid img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.ka-proj-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ka-proj-gallery-row img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ── 11  Lightbox ───────────────────────────────────────── */
.ka-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.ka-lightbox.open { display: flex; }
.ka-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.ka-lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  color: #fff; font-size: 36px;
  cursor: pointer; background: none; border: none;
}
.ka-lightbox-prev,
.ka-lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 48px;
  cursor: pointer; background: none; border: none;
  padding: 0 20px;
}
.ka-lightbox-prev { left: 0; }
.ka-lightbox-next { right: 0; }

/* ── 12  Insights Grid ──────────────────────────────────── */
.ka-insights-wrap { padding: 60px 0; }
.ka-insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--ka-dark);
  padding-bottom: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}
.ka-insights-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--ka-dark);
  margin: 0;
}
.ka-insights-sub {
  color: var(--ka-olive);
  font-size: 14px;
  font-style: italic;
  margin: 0;
}
.ka-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.ka-insight-card { display: flex; flex-direction: column; }
.ka-insight-img-wrap { overflow: hidden; }
.ka-insight-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ka-insight-card:hover img { transform: scale(1.04); }
.ka-insight-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}
.ka-insight-tag {
  display: inline-block;
  background: var(--ka-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}
.ka-insight-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ka-dark);
  line-height: 1.3;
  margin: 0 0 10px;
}
.ka-insight-title a { color: inherit; text-decoration: none; }
.ka-insight-title a:hover { color: var(--ka-olive); }
.ka-insight-excerpt {
  font-size: 13px;
  color: var(--ka-olive);
  line-height: 1.6;
  margin: 0;
}

/* ── 13  Contact & Career Forms ─────────────────────────── */
.ka-form-wrap { max-width: 100%; }
.ka-form-group { margin-bottom: 16px; }
.ka-form-group input,
.ka-form-group textarea,
.ka-form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
  font-family: var(--ka-font);
  background: #fafafa;
  transition: border-color 0.3s;
  outline: none;
  box-sizing: border-box;
}
.ka-form-group input:focus,
.ka-form-group textarea:focus,
.ka-form-group select:focus { border-color: var(--ka-olive); }
.ka-form-group textarea { resize: vertical; min-height: 130px; }
.ka-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ka-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}
.ka-form-check input { width: auto; margin-top: 3px; }
.ka-form-submit {
  width: 100%;
  background: var(--ka-olive);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--ka-font);
}
.ka-form-submit:hover { background: var(--ka-olive-dark); }
.ka-form-msg {
  padding: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  display: none;
}
.ka-form-msg.success { background: #d4edda; color: #155724; }
.ka-form-msg.error   { background: #f8d7da; color: #721c24; }

/* ── 14  Home — Hero Slider ─────────────────────────────── */
.ka-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #1a1a1a;
}
.ka-hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77,0,0.175,1);
}
.ka-hero-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.ka-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ka-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.ka-hero-content {
  position: absolute;
  bottom: 80px;
  left: 60px;
  color: #fff;
  max-width: 520px;
}
.ka-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.ka-hero-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -1px;
}
.ka-hero-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 380px;
}
.ka-hero-nav {
  position: absolute;
  bottom: 80px;
  right: 60px;
  display: flex;
  gap: 12px;
  z-index: 10;
}
.ka-hero-nav button {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.ka-hero-nav button:hover { background: rgba(255,255,255,0.3); }
.ka-hero-counter {
  position: absolute;
  bottom: 30px;
  left: 60px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 2px;
  z-index: 10;
}
.ka-hero-counter span { color: #fff; }
.ka-hero-dots {
  position: absolute;
  bottom: 30px;
  right: 60px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.ka-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.ka-hero-dot.active { background: #fff; transform: scale(1.4); }

/* ── 15  Home — Quote, Logos, CTA, Insights Preview ─────── */
.ka-quote-section {
  padding: 80px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.ka-quote-line {
  width: 40px;
  height: 2px;
  background: var(--ka-olive);
  margin: 0 auto 30px;
}
.ka-quote-text {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ka-dark);
  letter-spacing: 0.3px;
  font-style: italic;
}

.ka-home-portfolio { padding: 0 0 60px; }
.ka-home-portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 30px 30px;
  gap: 20px;
}
.ka-home-portfolio-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--ka-olive);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}
.ka-home-portfolio-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ka-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--ka-dark);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.3s;
}
.ka-home-portfolio-link:hover { color: var(--ka-olive); border-color: var(--ka-olive); }

.ka-logos-section {
  overflow: hidden;
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--ka-border);
  border-bottom: 1px solid var(--ka-border);
}
.ka-logos-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: kaLogoScroll 30s linear infinite;
  width: max-content;
}
.ka-logos-track:hover { animation-play-state: paused; }
.ka-logos-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.3s;
  flex-shrink: 0;
}
.ka-logos-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes kaLogoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ka-cta-blocks { display: grid; grid-template-columns: 1fr 1fr; }
.ka-cta-block {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  overflow: hidden;
  text-decoration: none;
}
.ka-cta-block-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.ka-cta-block:hover .ka-cta-block-bg { transform: scale(1.05); }
.ka-cta-block-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,0.72);
}
.ka-cta-block-content { position: relative; z-index: 2; }
.ka-cta-block-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.ka-cta-block-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.ka-cta-block-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  transition: background 0.3s, border-color 0.3s;
}
.ka-cta-block:hover .ka-cta-block-arrow {
  background: var(--ka-amber);
  border-color: var(--ka-amber);
}

.ka-home-insights { padding: 60px 30px; }
.ka-home-insights-header { margin-bottom: 40px; }
.ka-home-insights-subtitle {
  font-size: 12px;
  font-style: italic;
  color: var(--ka-olive);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.ka-home-insights-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--ka-dark);
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.ka-home-insights-link {
  font-size: 13px;
  color: var(--ka-olive);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ka-olive);
}

/* ── 16  Services Page ──────────────────────────────────── */
.ka-services-page { padding: 0; }
.ka-services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 60px 0 40px;
}
.ka-services-page-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--ka-olive);
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.ka-services-intro-text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  padding-top: 8px;
}
.ka-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
  min-height: 500px;
}
.ka-service-block.reverse { direction: rtl; }
.ka-service-block.reverse > * { direction: ltr; }
.ka-service-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.ka-service-image { position: relative; overflow: hidden; }
.ka-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ka-service-block:hover .ka-service-image img { transform: scale(1.04); }
.ka-service-label {
  font-size: 11px;
  font-style: italic;
  color: var(--ka-olive);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.ka-service-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 20px;
  line-height: 1.2;
}
.ka-service-body {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}
.ka-service-cta {
  font-style: italic;
  color: var(--ka-olive);
  font-size: 16px;
  margin: 24px 0 16px;
  line-height: 1.4;
}
.ka-service-cta span { display: block; font-size: 13px; font-weight: 400; }
.ka-talk-btn {
  display: inline-block;
  border: 2px solid var(--ka-olive);
  color: var(--ka-olive);
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  width: fit-content;
}
.ka-talk-btn:hover { background: var(--ka-olive); color: #fff; }

/* ── 17  About Page ─────────────────────────────────────── */
.ka-about-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.ka-about-tab {
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.ka-about-tab:hover { color: var(--ka-olive); }
.ka-about-tab.active { color: var(--ka-olive); border-bottom-color: var(--ka-olive); }
.ka-about-panel { display: none; }
.ka-about-panel.active { display: block; }

.ka-about-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  min-height: 520px;
}
.ka-about-slider { position: relative; overflow: hidden; background: #111; }
.ka-about-slider-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.ka-about-slide { min-width: 100%; height: 100%; }
.ka-about-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ka-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ka-slider-prev { left: 10px; }
.ka-slider-next { right: 10px; }

.ka-about-text {
  padding: 50px;
  background: #fff;
  overflow-y: auto;
}
.ka-about-text p { font-size: 14px; line-height: 1.9; color: #333; margin-bottom: 18px; }
.ka-about-text strong { color: #1a1a1a; }

.ka-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 60px 0; }
.ka-mission-card { padding: 40px; border-left: 4px solid var(--ka-olive); }
.ka-mission-card h3 { font-size: 22px; color: var(--ka-olive); margin-bottom: 16px; }
.ka-mission-card p { font-size: 14px; line-height: 1.9; color: #555; }

.ka-founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.ka-founder-card { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.ka-founder-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.ka-founder-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}
.ka-founder-name { font-size: 20px; font-weight: 800; color: #1a1a1a; margin-bottom: 4px; }
.ka-founder-qual { font-size: 13px; color: var(--ka-olive); margin-bottom: 16px; }
.ka-founder-bio { font-size: 13px; line-height: 1.8; color: #555; }

.ka-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 0;
}
.ka-team-member { text-align: center; }
.ka-team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}
.ka-team-member h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.ka-team-member p { font-size: 12px; color: var(--ka-olive); }

/* ── 18  Contact Page ───────────────────────────────────── */
.ka-contact-page { max-width: 100%; }
.ka-talk-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--ka-olive);
  padding: 0;
  margin-bottom: 0;
}
.ka-talk-banner-left {
  padding: 20px 30px;
  border-left: 5px solid #1a1a1a;
}
.ka-talk-banner-left h2 {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -1px;
}
.ka-talk-banner-right { padding: 20px 30px; text-align: right; }
.ka-talk-banner-right p {
  color: #fff;
  font-size: 15px;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}
.ka-office-photo { width: 100%; max-width: 600px; display: block; margin: 0 auto; }
.ka-office-photo img { width: 100%; max-height: 340px; object-fit: cover; display: block; }

.ka-contact-info { padding: 30px 0 10px; }
.ka-contact-email-link {
  font-size: 16px;
  color: var(--ka-olive);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}
.ka-contact-socials { display: flex; gap: 12px; margin-bottom: 30px; }
.ka-contact-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.ka-contact-socials a:hover { opacity: 0.8; }
.ka-contact-socials .fb  { background: #1877F2; color: #fff; }
.ka-contact-socials .tw  { background: #1DA1F2; color: #fff; }
.ka-contact-socials .yt  { background: #FF0000; color: #fff; }

.ka-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 20px 0 60px;
  align-items: start;
}
.ka-contact-with-labels { display: flex; gap: 0; }
.ka-vert-labels {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 36px;
  flex-shrink: 0;
}

/* ── 19  Single Blog / Insights Post ───────────────────── */
.single-post .entry-header,
.ka-single-post-header {
  padding: 40px 0 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.ka-post-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ka-olive);
  margin-bottom: 16px;
}
.single-post h1.entry-title,
.ka-post-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--ka-olive);
  line-height: 1.2;
  margin-bottom: 16px;
}
.ka-post-intro { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 12px; }
.ka-post-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #eee;
  padding-top: 16px;
  flex-wrap: wrap;
}
.single-post .post-thumbnail img,
.ka-post-featured-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  margin-bottom: 40px;
}
.ka-single-layout {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.ka-post-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ka-author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}
.ka-author-name-vert {
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  transform: rotate(180deg);
}
.ka-share-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 16px;
}
.ka-share-links { display: flex; flex-direction: column; gap: 10px; }
.ka-share-links a { color: #888; font-size: 14px; transition: color 0.3s; }
.ka-share-links a:hover { color: var(--ka-olive); }

.ka-post-body h2 { font-size: 20px; font-weight: 700; color: var(--ka-olive); margin: 32px 0 12px; }
.ka-post-body h3 { font-size: 17px; font-weight: 700; color: var(--ka-olive); margin: 24px 0 10px; }
.ka-post-body p { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 18px; }
.ka-post-body ul,
.ka-post-body ol { padding-left: 24px; margin-bottom: 18px; }
.ka-post-body li { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 6px; }
.ka-post-body strong { color: var(--ka-olive); }

.ka-related-inline {
  background: var(--ka-amber);
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  margin: 32px 0;
  text-decoration: none;
}
.ka-related-inline img { width: 100px; height: 75px; object-fit: cover; flex-shrink: 0; }
.ka-related-inline-text p { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 0; line-height: 1.3; }
.ka-related-inline-text span { font-size: 11px; color: rgba(0,0,0,0.5); }

.ka-post-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.ka-post-tag {
  display: inline-block;
  background: var(--ka-olive);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  margin-right: 6px;
}
.ka-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; }
.ka-post-nav-item { font-size: 13px; }
.ka-post-nav-item .label { color: #aaa; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.ka-post-nav-item a { font-weight: 700; color: #1a1a1a; }
.ka-post-nav-item a:hover { color: var(--ka-olive); }
.ka-post-nav-item.next { text-align: right; }

.ka-also-like-title { font-size: 24px; font-weight: 800; color: var(--ka-olive); margin-bottom: 24px; }
.ka-also-like-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.ka-also-like-card img { width: 100%; height: 200px; object-fit: cover; display: block; margin-bottom: 12px; }
.ka-also-like-card .cat-tag {
  font-size: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 8px;
}
.ka-also-like-card h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.ka-also-like-card p { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }

.ka-comments-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-top: 40px;
  border-top: 2px solid #eee;
}

/* ── 20  Responsive (consolidated) ─────────────────────── */
@media (max-width: 900px) {
  /* Portfolio */
  .ka-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  /* Insights */
  .ka-insights-grid { grid-template-columns: repeat(2, 1fr); }
  /* Services */
  .ka-service-block,
  .ka-services-intro { grid-template-columns: 1fr; }
  .ka-service-block.reverse { direction: ltr; }
  .ka-service-image { min-height: 300px; }
  .ka-service-content { padding: 40px 24px; }
  /* About */
  .ka-about-content { grid-template-columns: 1fr; }
  .ka-about-slider { min-height: 300px; }
  .ka-mission-grid,
  .ka-founders-grid { grid-template-columns: 1fr; }
  .ka-founder-card { grid-template-columns: 1fr; }
  .ka-team-grid { grid-template-columns: repeat(2, 1fr); }
  .ka-about-tab { padding: 12px 16px; font-size: 12px; }
  /* Contact */
  .ka-talk-banner,
  .ka-forms-grid { grid-template-columns: 1fr; }
  .ka-talk-banner-right { text-align: left; }
  .ka-vert-labels { display: none; }
}

@media (max-width: 768px) {
  /* Nav */
  #ka-nav-overlay nav a { font-size: 28px; }
  /* Footer */
  .ka-footer-nav li { display: block; margin: 6px 0; }
  /* Hero */
  .ka-hero-content { left: 24px; bottom: 60px; max-width: 90%; }
  .ka-hero-nav { right: 24px; bottom: 60px; }
  .ka-hero-counter { left: 24px; }
  .ka-hero-dots { right: 24px; }
  /* Quote */
  .ka-quote-section { padding: 50px 24px; }
  /* Home */
  .ka-cta-blocks { grid-template-columns: 1fr; }
  .ka-cta-block { min-height: 220px; padding: 32px 24px; }
  .ka-home-portfolio-header { padding: 0 24px 24px; flex-direction: column; align-items: flex-start; }
  .ka-home-insights { padding: 40px 24px; }
  /* Forms */
  .ka-form-row { grid-template-columns: 1fr; }
  /* Single post */
  .ka-single-layout { grid-template-columns: 1fr; }
  .ka-post-sidebar { flex-direction: row; position: static; }
  .ka-post-nav { grid-template-columns: 1fr; }
  .ka-also-like-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* Portfolio */
  .ka-portfolio-grid { grid-template-columns: 1fr; }
  /* Insights */
  .ka-insights-grid { grid-template-columns: 1fr; }
}

/* ── 21  Portfolio Filter ───────────────────────────────── */
.ka-filter-wrap {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 30px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.ka-filter-btn {
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--ka-font);
  margin-bottom: -1px;
}
.ka-filter-btn:hover { color: var(--ka-olive); }
.ka-filter-btn.active { color: var(--ka-olive); border-bottom-color: var(--ka-olive); }

/* ── 22  Portfolio Page Header ──────────────────────────── */
.ka-portfolio-page-header {
  padding: 60px 30px 30px;
  border-bottom: 2px solid var(--ka-dark);
  margin-bottom: 0;
}
.ka-portfolio-page-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: var(--ka-olive);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

/* ── 23  Project Details Strip (single portfolio) ───────── */
.ka-proj-details {
  background: var(--ka-darker);
  padding: 20px 30px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.ka-proj-detail { text-align: center; }
.ka-proj-detail-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.ka-proj-detail-val {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

/* ── 24  Insights Archive Page Header ───────────────────── */
.ka-archive-header {
  padding: 60px 30px 40px;
  border-bottom: 2px solid var(--ka-dark);
  margin-bottom: 60px;
}
.ka-archive-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  color: var(--ka-dark);
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.ka-archive-sub {
  font-size: 14px;
  color: var(--ka-olive);
  font-style: italic;
}

/* ── 25  Post Navigation ────────────────────────────────── */
.ka-posts-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}
.ka-posts-nav .page-numbers {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  font-size: 13px;
  color: var(--ka-dark);
  text-decoration: none;
  transition: all 0.3s;
}
.ka-posts-nav .page-numbers.current,
.ka-posts-nav .page-numbers:hover {
  background: var(--ka-olive);
  border-color: var(--ka-olive);
  color: #fff;
}

/* ── 26  404 Page ───────────────────────────────────────── */
.ka-404-wrap {
  text-align: center;
  padding: 120px 30px;
}
.ka-404-num {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  color: var(--ka-olive);
  line-height: 1;
  margin: 0;
}
.ka-404-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ka-dark);
  margin: 0 0 16px;
}
.ka-404-text {
  font-size: 15px;
  color: #666;
  margin: 0 0 32px;
}
