/* ──────────────────────────────────────────
   Light theme variant + extra components
   ────────────────────────────────────────── */

/* Light theme = warm bone tones for "dark" sections. Blue stays identical. */
:root[data-theme="light"] {
  --ink: #EFE9DD;
  --ink-2: #E5DED0;
  --ink-3: #D8D0BF;
  --warm-white: #131313;
  --dim: rgba(19,19,19,0.66);
  --dim-2: rgba(19,19,19,0.42);
  --line-dark: rgba(11,11,12,0.12);
  --line-darker: rgba(11,11,12,0.07);

  --paper: #FAF7F2;
  --paper-2: #FFFFFF;
  --bone: #F1ECE3;
  --bone-2: #E7E1D5;
  --silver-2: #5A5853;
}

/* Light-mode nav: hero is now warm-light, so on-dark variant uses ink text */
:root[data-theme="light"] .nav.on-dark { color: var(--warm-white); }
:root[data-theme="light"] .nav.on-dark .brand-mark { background: var(--warm-white); color: var(--ink); }
:root[data-theme="light"] .nav.on-dark .hamburger { border-color: rgba(19,19,19,0.18); }
:root[data-theme="light"] .nav.scrolled { background: rgba(239,233,221,0.78); border-bottom-color: var(--line-darker); }

/* Final-cta glow softer in light */
:root[data-theme="light"] .final-cta .glow {
  background: radial-gradient(ellipse at center, rgba(61,91,246,0.18), rgba(61,91,246,0) 60%);
}

/* Hero core slightly muted in light */
:root[data-theme="light"] .hero-center .core {
  box-shadow: 0 0 60px rgba(61,91,246,0.22), inset 0 0 50px rgba(0,0,0,0.5);
}

/* ── Theme toggle ─────────────────────────── */
.theme-toggle {
  display: inline-grid;
  grid-template-columns: 28px 28px;
  background: rgba(127,127,127,0.10);
  border: 1px solid rgba(127,127,127,0.18);
  border-radius: 999px;
  padding: 3px;
  position: relative;
  height: 34px;
  cursor: pointer;
}
.theme-toggle .pill {
  position: absolute;
  top: 3px; left: 3px;
  width: 28px; height: 26px;
  border-radius: 999px;
  background: var(--blue);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.theme-toggle.is-light .pill { transform: translateX(28px); }
.theme-toggle .ti {
  position: relative;
  z-index: 2;
  display: grid; place-items: center;
  width: 28px; height: 26px;
  color: currentColor;
  opacity: .68;
  transition: opacity .25s, color .25s;
}
.theme-toggle.is-light .ti.sun, .theme-toggle:not(.is-light) .ti.moon { opacity: 1; color: var(--warm-white); }

/* ── Founder trust band ───────────────────── */
.founder {
  background: var(--paper);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bone-2);
  box-shadow: 0 30px 80px rgba(11,11,12,0.10);
}
.founder-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.1) contrast(1.02);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.founder-photo:hover img { transform: scale(1.03); }
.founder-photo .badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(11,11,12,0.78);
  backdrop-filter: blur(6px);
  color: var(--warm-white);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex; gap: 12px; align-items: center;
  font-size: 12px;
}
.founder-photo .badge .dot { width: 8px; height: 8px; background: #38d28a; border-radius: 999px; box-shadow: 0 0 0 4px rgba(56,210,138,0.18); }
.founder-photo .badge b { font-weight: 500; font-family: var(--sans); }
.founder-photo .badge span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .7; }

.founder-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
}
.founder-meta .m {
  border-right: 1px solid var(--line-light);
  padding-right: 18px;
}
.founder-meta .m:last-child { border-right: none; padding-left: 18px; padding-right: 0; }
.founder-meta .m:not(:first-child) { padding-left: 18px; }
.founder-meta .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-2); margin-bottom: 8px; }
.founder-meta .v { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.founder-meta .v em { font-style: italic; color: var(--silver-2); }

.founder-quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 24px 0 0;
}
.founder-quote em { font-style: italic; color: var(--silver-2); }
.founder-sig {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--silver-2);
  font-size: 14px;
}
.founder-sig svg { width: 100px; height: auto; }

@media (max-width: 820px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 480px; }
}

/* ── Service: AI Agents card variant ──────── */
.svc.svc-ai {
  position: relative;
}
.svc.svc-ai .ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--warm-white);
  padding: 5px 9px;
  border-radius: 999px;
  margin-left: 10px;
}

/* ── Industries: real-image variant ───────── */
.ind-art.has-photo { background: transparent; }
.ind-art.has-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform .6s ease, filter .4s ease;
}
.ind:hover .ind-art.has-photo img { filter: grayscale(0) contrast(1.05); transform: scale(1.04); }
.ind-art.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}

/* ── Testimonials with real avatars ───────── */
.test .who .av.real {
  overflow: hidden;
  background: var(--bone-2);
}
.test .who .av.real img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ── Blog real cover image ────────────────── */
.post .cover.has-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.post:hover .cover.has-photo img { transform: scale(1.04); }
.post .cover.has-photo::after {
  content: "";
  position: absolute; left: 14px; bottom: 14px;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(11,11,12,0.7);
  backdrop-filter: blur(4px);
}

/* ── Hero — strengthened animation ────────── */
.hero-mesh {
  position: absolute; inset: -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero-mesh svg { width: 100%; height: 100%; }

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  max-width: 540px;
}
.hero-stat-strip .s { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-strip .s b {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.hero-stat-strip .s b em { font-style: italic; color: var(--dim); }
.hero-stat-strip .s span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (max-width: 540px) {
  .hero-stat-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ── FAQ ──────────────────────────────────── */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}
.faq-list {
  border-top: 1px solid var(--line-light);
}
.faq-item {
  border-bottom: 1px solid var(--line-light);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  cursor: pointer;
  transition: color .3s;
}
.faq-item:hover button { color: var(--blue); }
.faq-item .toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: background .25s, color .25s, border-color .25s, transform .35s;
}
.faq-item.open .toggle { background: var(--blue); color: var(--warm-white); border-color: var(--blue); transform: rotate(45deg); }
.faq-item .toggle::before, .faq-item .toggle::after {
  content: ""; position: absolute;
  background: currentColor;
}
.faq-item .toggle::before { width: 10px; height: 1px; }
.faq-item .toggle::after { width: 1px; height: 10px; }
.faq-item .body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.open .body { max-height: 300px; }
.faq-item .body p {
  margin: 0 0 28px;
  color: var(--silver-2);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 640px;
}

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── Social icons (footer + mobile) ───────── */
.footer .lead-brand .socials a {
  font-family: var(--sans);
}
.footer .lead-brand .socials a svg { width: 16px; height: 16px; }

/* ── Hero clients strip ───────────────────── */
.hero-clients {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-clients .stack {
  display: flex;
}
.hero-clients .stack img {
  width: 32px; height: 32px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--ink);
  margin-left: -8px;
}
.hero-clients .stack img:first-child { margin-left: 0; }
:root[data-theme="light"] .hero-clients .stack img { border-color: var(--ink); }
