:root {
  --cream: #FAF9F5;
  --paper: #F1EFE7;
  --paper2: #EBE8DD;
  --ink: #1A1915;
  --ink-soft: #2E2C26;
  --slate: #6B675C;
  --clay: #C9633F;
  --clay-deep: #A4441F;
  --clay-soft: #F3E0D6;
  --sage: #4F5D4A;
  --gold: #B98237;
  --line: #E3DFD2;
  --line-strong: #D6D1C0;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(26,25,21,.05), 0 4px 14px rgba(26,25,21,.04);
  --shadow: 0 8px 30px rgba(26,25,21,.07), 0 2px 6px rgba(26,25,21,.04);
  --shadow-lg: 0 30px 70px rgba(26,25,21,.10);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.06; }
.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  font-family: var(--sans); cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 26px rgba(201,99,63,.28); }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,249,245,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--clay); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 19px;
  box-shadow: 0 6px 16px rgba(201,99,63,.3);
}
.site-logo { display: block; height: 40px; width: auto; object-fit: contain; }
.footer-logo { height: 36px; }
.navlinks { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.navlinks a { color: var(--ink-soft); position: relative; }
.navlinks a:hover { color: var(--clay-deep); }
.navlinks a.active { color: var(--clay-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: " ▾"; font-size: 11px; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 10px; padding-top: 14px; min-width: 260px;
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.has-drop:hover .dropdown { opacity: 1; pointer-events: all; }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px;
  font-weight: 600; color: var(--ink-soft);
}
.dropdown a:hover { background: var(--paper); color: var(--clay-deep); }

/* mobile menu */
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 8px 12px; cursor: pointer; font-size: 20px;
}
.mobile-nav {
  display: none; flex-direction: column; background: #fff;
  border-bottom: 1px solid var(--line); padding: 16px 22px;
}
.mobile-nav a { padding: 10px 0; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: 15px; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: flex; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 56px; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(800px 400px at 80% -10%, rgba(201,99,63,.09), transparent 60%);
}
.page-hero .eyebrow { margin-bottom: 14px; display: block; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin: 0 0 20px; max-width: 820px; }
.page-hero p.lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-soft); max-width: 680px; line-height: 1.65; margin: 0 0 32px; }

/* breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate); font-weight: 600; }
.breadcrumb a:hover { color: var(--clay-deep); }
.breadcrumb span { color: var(--line-strong); }

/* ---------- hero (home) ---------- */
.hero { padding: 88px 0 64px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(201,99,63,.10), transparent 60%),
    radial-gradient(700px 420px at 0% 12%, rgba(79,93,74,.07), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(79,93,74,.16); }
.hero h1 { font-size: clamp(44px, 6.2vw, 78px); margin: 24px 0 22px; }
.hero h1 em { font-style: normal; color: var(--clay); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 620px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 0; }
.micro { margin-top: 26px; font-size: 14px; color: var(--slate); font-weight: 600; }
.micro b { color: var(--clay-deep); }

/* hero visual card */
.glass {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.glass-top { display: flex; align-items: center; gap: 8px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.g-dot { width: 11px; height: 11px; border-radius: 50%; background: #e0b3a2; }
.g-dot:nth-child(2){ background:#e8cf9a;} .g-dot:nth-child(3){ background:#a9c2a0;}
.g-title { margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--slate); }
.code { padding: 22px; font-family: "JetBrains Mono", monospace; font-size: 13px; line-height: 1.95; color: var(--ink-soft); }
.code .c { color: var(--slate); } .code .k { color: var(--clay-deep); } .code .s { color: var(--sage); }
.chiprow { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 0 18px 20px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 10px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
}
.chip span { display: block; font-size: 21px; margin-bottom: 5px; }

/* ---------- certifications strip ---------- */
.cert-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.cert-label {
  text-align: center; font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 18px;
}
.cert-row {
  display: flex; align-items: center; justify-content: center;
  gap: 44px; flex-wrap: wrap;
}
.cert-logo {
  height: 44px; width: auto; object-fit: contain;
  transition: transform .2s ease, opacity .2s ease;
  opacity: .85;
}
.cert-logo--badge { height: 64px; }
.cert-logo:hover { transform: scale(1.07); opacity: 1; }
@media (max-width: 620px) {
  .cert-row { gap: 24px; }
  .cert-logo { height: 34px; }
  .cert-logo--badge { height: 50px; }
}

/* ---------- logo marquee ---------- */
.marquee-section {
  padding: 32px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 22px;
}
.marquee-outer {
  position: relative; overflow: hidden;
}
/* left fade — cream */
.marquee-outer::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 140px; z-index: 2;
  background: linear-gradient(to right, var(--paper) 20%, transparent 100%);
  pointer-events: none;
}
/* right fade — blue tint */
.marquee-outer::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 180px; z-index: 2;
  background: linear-gradient(to left, rgba(30,80,180,.12) 0%, transparent 100%);
  pointer-events: none;
}
.marquee-track {
  display: flex;
  animation: marquee-left 22s linear infinite;
  cursor: grab;
  user-select: none;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track.dragging { cursor: grabbing; animation-play-state: paused; }
.marquee-set {
  display: flex; align-items: center; gap: 52px;
  padding: 0 26px; flex-shrink: 0;
}
.marquee-logo {
  height: 36px; width: auto; object-fit: contain; display: block;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s ease, transform .25s ease;
  flex-shrink: 0;
}
.marquee-logo:hover { filter: grayscale(0) opacity(1); transform: scale(1.06); }
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }
.trust-item svg { color: var(--clay); flex: 0 0 auto; }

/* ---------- section shell ---------- */
section { padding: 84px 0; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 46px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 14px 0 16px; }
.head p { color: var(--slate); font-size: 17.5px; line-height: 1.6; }

/* ---------- services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.scard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--clay); }
.scard .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--clay-soft); font-size: 23px; margin-bottom: 18px;
}
.scard h3 { font-size: 21px; margin: 0 0 9px; }
.scard p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.6; }
.scard .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--clay-deep); }
.scard .card-link:hover { gap: 10px; }

/* ---------- tech / models ---------- */
.tech-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 15px; color: var(--ink-soft);
  transition: transform .18s ease, border-color .18s ease;
}
.badge:hover { transform: translateY(-3px); border-color: var(--clay); }
.badge .glyph {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 15px; color: #fff;
}
.b-aws .glyph{ background:#E8912D;} .b-claude .glyph{ background:#C9633F;}
.b-azure .glyph{ background:#2E7DD1;} .b-google .glyph{ background:#3D8B5F;}
.b-openai .glyph{ background:#10A37F;} .b-meta .glyph{ background:#3A6CC4;}
.b-nova .glyph{ background:#7A52B3;} .b-lang .glyph{ background:#1F8E6E;}
.b-llama .glyph{ background:#B9603A;} .b-vector .glyph{ background:#4F5D4A;}

/* ---------- use cases ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ucard {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.ucard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ucard .uic { font-size: 24px; margin-bottom: 12px; }
.ucard h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.ucard p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.55; }

/* ---------- why / differentiators ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.wcard {
  display: flex; gap: 16px; padding: 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.wcard .wn {
  flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 18px;
}
.wcard h4 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 19px; }
.wcard p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.6; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; padding: 14px; }
.stat b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(38px,5vw,58px); color: var(--clay); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-weight: 600; color: var(--ink-soft); font-size: 15px; }

/* ---------- process ---------- */
.timeline { display: grid; gap: 16px; }
.tstep {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  padding: 24px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.tstep .tn {
  width: 56px; height: 56px; border-radius: 16px; background: var(--clay-soft); color: var(--clay-deep);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 24px;
}
.tstep h4 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 20px; }
.tstep p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.6; }

/* ---------- bangalore local ---------- */
.local-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.local-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.local-card h3 { font-size: 23px; margin: 0 0 14px; }
.addr-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.addr-line:last-child { border-bottom: 0; }
.addr-line svg { color: var(--clay); flex: 0 0 auto; margin-top: 2px; }
.addr-line b { display: block; font-size: 15px; }
.addr-line span { color: var(--slate); font-size: 14.5px; }
.prose p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 24px; box-shadow: var(--shadow-sm);
}
summary {
  cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 19px;
  padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 700; color: var(--clay); font-size: 26px; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--slate); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA + form ---------- */
.cta-section { padding: 90px 0; }
.cta-box {
  background: var(--ink); color: var(--cream); border-radius: 32px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg);
}
.cta-left { padding: 50px 46px; position: relative; }
.cta-left::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 10% 0%, rgba(201,99,63,.34), transparent 60%);
}
.cta-left > * { position: relative; }
.cta-left h2 { color: var(--cream); font-size: clamp(30px,3.6vw,42px); margin: 16px 0 16px; }
.cta-left p { color: #cfccc1; font-size: 16.5px; line-height: 1.7; }
.cta-contacts { display: grid; gap: 12px; margin-top: 28px; }
.cta-contacts a { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; color: var(--cream); }
.cta-contacts a svg { color: var(--clay); }
.cta-left .eyebrow { color: #e3a88e; }

.form-panel { background: var(--cream); padding: 46px 42px; }
.form-panel h3 { font-size: 25px; margin: 0 0 6px; }
.form-panel .fsub { color: var(--slate); font-size: 15px; margin: 0 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: #fff; font-family: var(--sans); font-size: 15px; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(201,99,63,.14);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--slate); margin-top: 6px; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 700; display: none; }
.form-msg.ok { display: block; color: var(--sage); }

/* ---------- case study cards ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cs-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cs-img { aspect-ratio: 16/9; background: var(--paper2); overflow: hidden; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: 24px; }
.cs-industry { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 10px; }
.cs-card h3 { font-size: 20px; margin: 0 0 10px; }
.cs-card p { margin: 0 0 16px; color: var(--slate); font-size: 14.5px; line-height: 1.6; }
.cs-results { display: flex; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
.cs-stat { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.cs-stat b { display: block; font-family: var(--serif); font-size: 22px; color: var(--clay); }

/* Blog / case-study article body */
.post-content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--slate); }
.post-content h2 { font-size: clamp(24px, 3vw, 32px); margin: 40px 0 16px; color: var(--ink); }
.post-content h3 { font-size: clamp(20px, 2.4vw, 24px); margin: 32px 0 14px; color: var(--ink); }
.post-content p { margin: 0 0 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--clay-deep); font-weight: 600; }
.post-content img { width: 100%; border-radius: 12px; margin: 24px 0; }
.post-content blockquote { border-left: 3px solid var(--clay); padding-left: 20px; margin: 24px 0; color: var(--ink-soft); font-style: italic; }
.post-content code { background: var(--paper2); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.post-content pre { background: var(--paper2); padding: 16px; border-radius: 12px; overflow-x: auto; margin: 0 0 20px; }
.post-content pre code { background: none; padding: 0; }

/* ---------- client logos ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.client-logo {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 20px; display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease;
  min-height: 90px;
}
.client-logo:hover { transform: translateY(-3px); border-color: var(--clay); }
.client-logo img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* ---------- founder ---------- */
.founder-wrap {
  display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center;
}
.founder-photo {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-name { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 10px 0 4px; letter-spacing: -.01em; }
.founder-title { color: var(--clay-deep); font-weight: 700; font-size: 15px; margin: 0 0 22px; letter-spacing: .01em; }
.founder-creds { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.founder-creds span {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
}

/* ---------- interactive team cards ---------- */
.tcard-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.tcard-grid--3 { grid-template-columns: repeat(3,1fr); }
.tcard {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  box-shadow: var(--shadow);
}
.tcard-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease;
}
.tcard:hover .tcard-photo { transform: scale(1.04); }
.tcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,25,21,.96) 0%, rgba(26,25,21,.5) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 20px;
}
.tcard-company-badge {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.tcard:hover .tcard-company-badge { opacity: 1; transform: translateY(0); }
.company-tag {
  background: rgba(201,99,63,.9); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.company-tag-role {
  color: rgba(255,255,255,.75); font-size: 12px; font-weight: 600;
}
.tcard-meta { transition: transform .3s ease; }
.tcard-name {
  color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600;
  margin: 0 0 3px; line-height: 1.2;
}
.tcard-role {
  color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; margin: 0;
}
.tcard-bio {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease, margin .3s ease;
  opacity: 0; margin-top: 0;
}
.tcard:hover .tcard-bio {
  max-height: 120px; opacity: 1; margin-top: 12px;
}
.tcard-bio p {
  color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.6; margin: 0;
}

/* touch devices — always show overlay */
@media (hover: none) {
  .tcard-bio { max-height: 120px; opacity: 1; margin-top: 12px; }
  .tcard-company-badge { opacity: 1; transform: none; }
}

/* ---------- footer cert badges ---------- */
.foot-certs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 4px;
}
.foot-cert { height: 30px; width: auto; object-fit: contain; opacity: .7; transition: opacity .2s; }
.foot-cert--badge { height: 42px; }
.foot-cert:hover { opacity: 1; }

/* ---------- footer ---------- */
footer { background: var(--paper2); border-top: 1px solid var(--line); padding: 60px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid h5 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 0 0 16px; }
.foot-links { display: grid; gap: 10px; }
.foot-links a, .foot p { color: var(--ink-soft); font-size: 14.5px; }
.foot-links a:hover { color: var(--clay-deep); }
.foot p { line-height: 1.7; margin: 0 0 8px; }
.foot-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.foot-addr svg { color: var(--clay); flex: 0 0 auto; margin-top: 3px; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--slate); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .navlinks { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .tech-wrap, .local-wrap, .cta-box, .founder-wrap { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; aspect-ratio: 1; }
  .tcard-grid { grid-template-columns: repeat(2,1fr); }
  .tcard-grid--3 { grid-template-columns: repeat(3,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-left { padding: 40px 32px; }
  .cs-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4, .cs-grid { grid-template-columns: 1fr; }
  .tcard-grid, .tcard-grid--3 { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .trust-row { justify-content: flex-start; }
  .nav-cta .btn-ghost { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 40px; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
