/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Bricolage Grotesque', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --ink:          #0F0A1F;
  --purple:       #5D3AA9;
  --purple-mid:   #7B5CC8;
  --purple-light: #DCD3EE;
  --purple-tint:  #F1ECFA;
  --purple-deep:  #2A1559;
  --paper:        #F7F5FA;
  --cream:        #F5E6C8;
  --white:        #FFFFFF;
  --b:            rgba(15,10,31,.12);
  --bl:           rgba(247,245,250,.15);
}

/* ── NAV ── */
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; border-bottom: 0.5px solid var(--b); position: sticky; top: 0; z-index: 100; background: var(--paper); }
.nav-logo { padding: 15px 28px; border-right: 0.5px solid var(--b); display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { padding: 0 28px; display: flex; gap: 28px; align-items: center; }
.nav-links a, .nav-drop-btn { font-size: 13px; color: rgba(15,10,31,.55); transition: color .2s; }
.nav-links a:hover, .nav-drop-btn:hover { color: var(--ink); }
.nav-links a.active, .nav-drop-btn.active { color: var(--ink); font-weight: 600; }

/* Dropdown */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13px; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-arrow { font-size: 9px; transition: transform .2s; display: inline-block; }
.nav-drop:hover .nav-arrow { transform: rotate(180deg); }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--ink);
  min-width: 220px;
  z-index: 200;
  border: 0.5px solid var(--bl);
  padding: 10px 0 6px;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu li { list-style: none; }
.nav-drop-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  color: rgba(247,245,250,.65);
  transition: color .2s, background .2s;
  border-bottom: 0.5px solid var(--bl);
}
.nav-drop-menu li:last-child a { border-bottom: none; }
.nav-drop-menu a:hover { color: var(--paper); background: rgba(247,245,250,.06); }
.nav-drop-menu a.active { color: var(--paper); }
.nav-actions { display: flex; align-items: stretch; align-self: stretch; }
.nav-cta { padding: 0 28px; background: var(--ink); color: var(--paper); font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .8px; align-self: stretch; display: flex; align-items: center; gap: 6px; transition: background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--purple); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 0 20px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .22s, opacity .22s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* Mobile nav panel */
.nav-mobile-menu { display: none; position: fixed; top: 57px; left: 0; right: 0; z-index: 99; background: var(--ink); border-bottom: 0.5px solid var(--bl); flex-direction: column; }
.nav-mobile-menu.open { display: flex; }
.nmo-label { padding: 14px 24px 8px; font-size: 10px; font-family: 'Geist Mono', monospace; letter-spacing: 1px; color: rgba(247,245,250,.28); }
.nav-mobile-menu a:not(.nmo-cta) { padding: 15px 24px; font-size: 15px; color: rgba(247,245,250,.65); border-top: 0.5px solid var(--bl); transition: color .2s, background .2s, padding-left .2s; font-weight: 500; }
.nav-mobile-menu a:not(.nmo-cta):hover { color: var(--paper); background: rgba(247,245,250,.04); padding-left: 30px; }
.nav-mobile-menu a:not(.nmo-cta).active { color: var(--paper); }
.nmo-cta { display: block; margin: 12px 20px 20px; padding: 16px 24px; background: var(--purple); color: var(--paper); font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 1px; text-align: center; transition: background .2s; }
.nmo-cta:hover { background: var(--purple-mid); }

.mdot { color: var(--purple); animation: blink 2.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ── HERO ── */
.hero { display: grid; grid-template-columns: 1.6fr 1fr; border-bottom: 0.5px solid var(--b); }
.hero-main { padding: 64px 44px; border-right: 0.5px solid var(--b); }
.hero-badge { display: inline-block; font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(15,10,31,.65); padding: 5px 14px; background: var(--cream); border-radius: 4px; border: 0.5px solid rgba(15,10,31,.12); margin-bottom: 28px; letter-spacing: .5px; }
.hero-h1 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; line-height: 1.05; color: var(--ink); letter-spacing: -.04em; margin-bottom: 20px; }
.hero-h1.no-stat { font-size: clamp(36px, 4.2vw, 56px); }
.chip { display: inline-block; background: var(--purple); color: var(--paper); padding: 2px 14px; box-shadow: 0 2px 12px rgba(93,58,169,.35); }
.hero-sub { font-size: 15px; color: rgba(15,10,31,.62); line-height: 1.7; max-width: 520px; margin-bottom: 36px; }
.hero-ctas { display: flex; }
.btn-d { padding: 14px 26px; background: var(--ink); color: var(--paper); font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .8px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: background .2s; white-space: nowrap; }
.btn-d:hover { background: var(--purple); }
.btn-o { padding: 14px 26px; background: transparent; color: var(--ink); border: 0.5px solid var(--ink); border-left: none; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .8px; font-weight: 500; display: inline-flex; align-items: center; transition: background .2s; white-space: nowrap; }
.btn-o:hover { background: rgba(15,10,31,.07); }

/* Centered hero variant */
.hero.hero-center {
  display: block;
  position: relative;
  overflow: hidden;
}
.hero.hero-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('dot-grid.svg');
  background-size: 20px 20px;
  opacity: .30;
  pointer-events: none;
  z-index: 0;
}
.hero.hero-center .hero-main {
  border-right: none;
  text-align: center;
  padding: 80px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.hero.hero-center .hero-h1 { font-size: clamp(38px, 4.8vw, 72px); }
.hero.hero-center .hero-sub {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}
.hero.hero-center .hero-ctas {
  justify-content: center;
}



/* Hero full-width (subpages without stat sidebar) */
.hero-full { grid-template-columns: 1fr; }
.hero-full .hero-main { border-right: none; padding: 72px 44px 64px; }
.hero-full .hero-h1 { max-width: 820px; }
.hero-full .hero-sub { max-width: 620px; }

/* ── CLIENTS ── */
.clients { padding: 18px 36px; background: var(--cream); border-bottom: 0.5px solid var(--b); display: flex; align-items: center; gap: 32px; overflow: hidden; }
.clients-lbl { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--purple-deep); letter-spacing: .8px; white-space: nowrap; flex-shrink: 0; }
.clients-mask { overflow: hidden; flex: 1; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); transform: translateZ(0); }
.clients-track { display: flex; gap: 52px; align-items: center; width: max-content; animation: marquee 36s linear infinite; will-change: transform; backface-visibility: hidden; transform: translateZ(0); }
.clients-track:hover { animation-play-state: paused; }
.clients-track img { height: 26px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter .3s; flex-shrink: 0; }
.clients-track img[alt="Outfit7"] { height: 16px; }
.clients-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
@keyframes ctaGlow { 0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .6; transform: translate(-50%, -50%) scale(1.2); } }
@keyframes sparkle { 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 33% { transform: translateY(-7px) rotate(30deg) scale(1.15); } 66% { transform: translateY(5px) rotate(-20deg) scale(.9); } }


.tb.cream { background: var(--ink); }
.tb.cream .h { color: var(--paper); }
.tb.cream .h .it { color: var(--purple-light); }
.tb.cream .sub { color: rgba(247,245,250,.62); }

/* ── TITLE BLOCKS ── */
.tb { padding: 52px 44px 40px; }
.tb.tint { background: var(--purple-tint); }
.tb.dark { background: var(--ink); }
.h { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.05; color: var(--ink); letter-spacing: -.03em; max-width: 740px; }
.h.lgt { color: var(--paper); }
.h .it { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--purple); }
.h.lgt .it { color: var(--purple-light); }
.sub { font-size: 15px; color: rgba(15,10,31,.62); line-height: 1.65; max-width: 580px; margin-top: 12px; }
.sub.lgt { color: rgba(247,245,250,.62); }

/* ── SERVICE OVERVIEW CARDS (homepage) ── */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0.5px solid var(--b); }
.svcs-2 { grid-template-columns: repeat(2, 1fr); }
.svcs-2 .svc-tags { grid-template-columns: repeat(2, auto); }
.svc { position: relative; overflow: hidden; padding: 36px 32px; border-right: 0.5px solid var(--b); display: flex; flex-direction: column; background: var(--paper); transition: background .3s ease; }
.svc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc:last-child { border-right: none; }
.svc:hover { background: var(--purple-tint); }
.svc:hover::before { transform: scaleX(1); }
.svc-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.svc-desc { font-size: 13.5px; color: rgba(15,10,31,.62); line-height: 1.65; margin-bottom: 22px; }
.svc-tags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-bottom: 24px; }
.svc:nth-child(3) .svc-tags { grid-template-columns: repeat(3, 1fr); }
.stag { padding: 7px 10px; background: var(--purple-tint); border: 0.5px solid rgba(93,58,169,.15); border-radius: 3px; font-family: 'Geist Mono', monospace; font-size: 9px; color: rgba(15,10,31,.65); letter-spacing: .3px; transition: background .3s; }
.svc:hover .stag { background: rgba(93,58,169,.12); }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0.5px solid var(--purple); font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--purple); letter-spacing: .5px; transition: background .22s, color .22s, gap .22s, border-color .22s; cursor: pointer; }
.svc-more:hover { background: var(--purple); color: var(--paper); gap: 14px; }

/* ── BUILD GRID (2×2 — subpages) ── */
.bg { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 0.5px solid var(--b); }
.bg.tint { background: var(--purple-tint); }
.bg.dark { counter-reset: build-item; background: var(--ink); border-top-color: var(--bl); position: relative; overflow: hidden; }
.bg.dark::before { content: ''; position: absolute; inset: 0; background-image: url('dot-grid.svg'); background-size: 20px 20px; opacity: .2; pointer-events: none; z-index: 0; }
.bg.dark::after { content: '✦'; position: absolute; bottom: -40px; right: -16px; font-size: 200px; color: rgba(93,58,169,.07); line-height: 1; pointer-events: none; z-index: 0; animation: sparkle 16s ease-in-out infinite; }
.bi { padding: 40px 44px; border-right: 0.5px solid var(--b); }
.bi:nth-child(2n) { border-right: none; }
.bi:nth-child(n+3) { border-top: 0.5px solid var(--b); }
.bg.tint .bi { border-color: var(--b); }
.bg.dark .bi { counter-increment: build-item; position: relative; z-index: 1; border-color: var(--bl); overflow: hidden; transition: background .25s ease; }
.bg.dark .bi:nth-child(n+3) { border-top-color: var(--bl); }
.bg.dark .bi::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--purple-mid); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.bg.dark .bi::after { content: "0" counter(build-item); position: absolute; bottom: 18px; right: 22px; font-family: 'Geist Mono', monospace; font-size: 54px; font-weight: 800; color: rgba(93,58,169,.16); line-height: 1; pointer-events: none; }
.bg.dark .bi:hover { background: rgba(93,58,169,.08); }
.bg.dark .bi:hover::before { transform: scaleX(1); }
.bnum { font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(15,10,31,.4); letter-spacing: .8px; margin-bottom: 14px; }
.btitle { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.bdesc { font-size: 13.5px; color: rgba(15,10,31,.58); line-height: 1.65; }
.bg.dark .bnum  { font-size: 16px; color: rgba(93,58,169,.35); letter-spacing: 0; transition: color .25s ease, text-shadow .25s ease; }
.bg.dark .bi:hover .bnum { color: var(--purple-mid); text-shadow: 0 0 14px rgba(123,92,200,.7); }
.bg.dark .btitle { color: var(--paper); }
.bg.dark .bdesc  { color: rgba(247,245,250,.55); }

/* ── APPROACH ACCORDION (subpages) ── */
.approach-body { padding: 0 44px 56px; }
.approach-body.tint { background: var(--purple-tint); padding-top: 0; }
.acc-item { border-top: 0.5px solid var(--b); border-left: 2px solid transparent; transition: background .25s ease, border-color .25s ease; }
.acc-item:last-child { border-bottom: 0.5px solid var(--b); }
.acc-item.open { background: rgba(93,58,169,.03); border-left-color: var(--purple); }
.acc-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; user-select: none; gap: 20px; }
.acc-qt { font-size: 15px; font-weight: 600; color: var(--ink); transition: color .25s ease; }
.acc-item.open .acc-qt { color: var(--purple); }
.acc-plus { font-family: 'Geist Mono', monospace; color: var(--purple); font-size: 22px; line-height: 1; transition: transform .3s; flex-shrink: 0; }
.acc-item.open .acc-plus { transform: rotate(45deg); }
.acc-ans { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-item.open .acc-ans { max-height: 400px; }
.acc-ai { padding-bottom: 22px; font-size: 14px; color: rgba(15,10,31,.6); line-height: 1.7; max-width: 680px; }

/* ── HOW WE BUILD AI (3-col dark) ── */
.how-grid { counter-reset: how-item; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0.5px solid var(--bl); background: var(--ink); position: relative; overflow: hidden; }
.how-grid::after { content: '✦'; position: absolute; bottom: -40px; right: -16px; font-size: 180px; color: rgba(93,58,169,.07); line-height: 1; pointer-events: none; z-index: 0; animation: sparkle 16s ease-in-out infinite; }
.how-item { counter-increment: how-item; padding: 40px 36px; border-right: 0.5px solid var(--bl); position: relative; z-index: 1; overflow: hidden; transition: background .25s ease; }
.how-item:last-child { border-right: none; }
.how-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--purple-mid); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.how-item::after { content: "0" counter(how-item); position: absolute; bottom: 18px; right: 22px; font-family: 'Geist Mono', monospace; font-size: 54px; font-weight: 800; color: rgba(93,58,169,.16); line-height: 1; pointer-events: none; }
.how-item:hover { background: rgba(93,58,169,.08); }
.how-item:hover::before { transform: scaleX(1); }
.how-num { font-size: 16px; color: rgba(93,58,169,.35); margin-bottom: 18px; transition: color .25s ease, text-shadow .25s ease; }
.how-item:hover .how-num { color: var(--purple-mid); text-shadow: 0 0 14px rgba(123,92,200,.7); }
.how-title { font-size: 19px; font-weight: 700; color: var(--paper); letter-spacing: -.02em; margin-bottom: 10px; }
.how-desc { font-size: 13.5px; color: rgba(247,245,250,.55); line-height: 1.65; }

/* ── INTEGRATIONS WALL ── */
.int-wall { padding: 0 44px 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.int-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; background: var(--white); border: 0.5px solid var(--b); font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; transition: background .18s, border-color .18s, box-shadow .18s, transform .15s; cursor: default; }
.int-ico { width: 32px; height: 32px; background: var(--paper); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.int-pill img { width: 20px; height: 20px; object-fit: contain; display: block; }
.int-pill:hover { background: var(--purple-tint); border-color: rgba(93,58,169,.22); box-shadow: 0 2px 10px rgba(93,58,169,.08); transform: translateY(-1px); }
.int-callout { margin: 0 44px 60px; padding: 24px 28px; background: var(--paper); border: 0.5px solid var(--b); border-left: 3px solid var(--purple-mid); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.int-callout p { font-size: 15px; color: var(--ink); line-height: 1.5; max-width: 520px; margin: 0; }
@media (max-width: 768px) { .int-wall { padding: 0 24px 20px; } .int-callout { margin: 0 24px 44px; flex-direction: column; align-items: flex-start; } }

.approach-wrap { background: var(--paper); border-top: 0.5px solid var(--b); border-bottom: 0.5px solid var(--b); }

/* ── FF CALLOUT ── */
.ff-callout { padding: 28px 44px; background: var(--cream); border-top: 0.5px solid var(--b); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.ff-callout p { font-size: 15px; color: var(--ink); line-height: 1.5; max-width: 560px; }
.ff-callout.dark { background: var(--ink); border-top-color: var(--bl); border-left: 3px solid var(--purple-mid); }
.ff-callout.dark p { color: rgba(247,245,250,.72); }
.ff-callout.dark .btn-d { background: var(--paper); color: var(--ink); }
.ff-callout.dark .btn-d:hover { background: var(--purple-light); }

/* ── PROCESS ── */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0.5px solid var(--bl); background: var(--ink); }
.pi { padding: 32px 28px; border-right: 0.5px solid var(--bl); overflow: hidden; transition: background .25s ease; }
.pi:last-child { border-right: none; }
.pi::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--purple-mid); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pi:hover { background: rgba(93,58,169,.1); }
.pi:hover::before { transform: scaleX(1); }
.pi-n { font-size: 36px; font-weight: 800; color: var(--purple-mid); letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; }
.pi-t { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; color: var(--paper); }
.pi-d { font-size: 13px; color: rgba(247,245,250,.55); line-height: 1.65; }

/* ── RESULTS ── */
.res { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0.5px solid var(--b); background: var(--white); overflow: hidden; }
.ri { position: relative; padding: 52px 36px; border-right: 0.5px solid var(--b); background: var(--white); overflow: hidden; }
.ri:last-child { border-right: none; }
.ri::after { content: '✦'; position: absolute; top: 18px; right: 20px; font-size: 22px; color: rgba(93,58,169,.18); pointer-events: none; animation: sparkle 10s ease-in-out infinite; }
.ri:nth-child(2)::after { animation-delay: -3.5s; }
.ri:nth-child(3)::after { animation-delay: -7s; }
.rv { font-size: clamp(52px, 5.5vw, 74px); font-weight: 800; color: var(--ink); letter-spacing: -.05em; line-height: .9; }
.rv .a { color: var(--purple); }
.rl { font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(15,10,31,.45); letter-spacing: .8px; margin-top: 18px; line-height: 1.6; }
.tb.wht { background: var(--white); }

/* ── CTA ── */
.cta { background: linear-gradient(150deg, var(--purple-deep) 0%, var(--purple) 55%, #6845B5 100%); color: var(--paper); padding: 92px 44px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 240%; background: radial-gradient(ellipse at center, rgba(245,230,200,.13) 0%, transparent 60%); pointer-events: none; animation: ctaGlow 7s ease-in-out infinite; }
.cs { position: absolute; color: var(--cream); line-height: 1; pointer-events: none; user-select: none; }
.cs-1 { top: 11%; left: 6%;   font-size: 22px; opacity: .38; animation: sparkle 7s   ease-in-out infinite; }
.cs-2 { top: 20%; right: 8%;  font-size: 12px; opacity: .22; animation: sparkle 5s   ease-in-out infinite; animation-delay: -1.5s; }
.cs-3 { bottom: 16%; left: 10%; font-size: 10px; opacity: .2;  animation: sparkle 8s   ease-in-out infinite; animation-delay: -3s; }
.cs-4 { bottom: 12%; right: 6%;  font-size: 26px; opacity: .3;  animation: sparkle 6.5s ease-in-out infinite; animation-delay: -2s; }
.cs-5 { top: 50%; left: 3%;   font-size: 8px;  opacity: .18; animation: sparkle 9s   ease-in-out infinite; animation-delay: -4s; }
.cs-6 { top: 38%; right: 3%;  font-size: 16px; opacity: .25; animation: sparkle 7.5s ease-in-out infinite; animation-delay: -1s; }
.cs-7 { top: -8%;    left: -1%;  font-size: 120px; opacity: .07; animation: sparkle 13s ease-in-out infinite; animation-delay: -3s; }
.cs-8 { bottom: -10%; right: -2%; font-size: 150px; opacity: .06; animation: sparkle 15s ease-in-out infinite; animation-delay: -6s; }
.cta-ey { font-family: 'Geist Mono', monospace; font-size: 10px; color: var(--purple-light); letter-spacing: 1.2px; margin-bottom: 24px; position: relative; z-index: 1; }
.cta-h { font-size: clamp(36px, 4.8vw, 58px); font-weight: 800; line-height: 1.0; letter-spacing: -.04em; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-h .it { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--cream); }
.cta-sub { font-size: 15px; color: rgba(247,245,250,.68); line-height: 1.7; max-width: 460px; margin: 0 auto 40px; position: relative; z-index: 1; }
.cta-btns { display: inline-flex; position: relative; z-index: 1; }
.cbp { padding: 16px 32px; background: var(--paper); color: var(--ink); font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .8px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, color .2s; }
.cbp:hover { background: var(--ink); color: var(--paper); }
.cbs { padding: 16px 32px; background: transparent; color: var(--paper); border: 0.5px solid rgba(247,245,250,.35); border-left: none; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .8px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: background .2s; }
.cbs:hover { background: rgba(247,245,250,.1); }

/* ── FOOTER ── */
.footer { display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--ink); color: var(--paper); border-top: 0.5px solid var(--bl); }
.fc { padding: 36px 32px; border-right: 0.5px solid var(--bl); }
.fc:last-child { border-right: none; }
.fc-logo img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.fc-meta { font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(247,245,250,.38); letter-spacing: .5px; margin-top: 14px; line-height: 1.7; }
.fc-hd { font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(247,245,250,.55); letter-spacing: .8px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 0.5px solid rgba(247,245,250,.1); }
.fc-links { display: flex; flex-direction: column; gap: 10px; }
.fc-links a { font-size: 13px; color: rgba(247,245,250,.65); transition: color .2s, padding-left .2s; }
.fc-links a:hover { color: var(--paper); padding-left: 6px; }
.fc-sep { display: block; width: 100%; border-top: 1px solid rgba(247,245,250,.15); margin: 8px 0; }
.fc-bot { grid-column: 1 / -1; padding: 14px 32px; border-top: 0.5px solid var(--bl); display: flex; justify-content: space-between; align-items: center; font-family: 'Geist Mono', monospace; font-size: 10px; color: rgba(247,245,250,.3); letter-spacing: .5px; }

/* ── DOT GRID ── */
/* Process section — subtle dots via pseudo-element */
.tb.cream { position: relative; }
.tb.cream::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('dot-grid.svg');
  background-size: 20px 20px;
  background-repeat: repeat;
  opacity: 0.25;
  pointer-events: none;
}
.tb.cream > * { position: relative; z-index: 1; }
.proc { position: relative; }
.proc::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('dot-grid.svg');
  background-size: 20px 20px;
  background-repeat: repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.pi { position: relative; z-index: 1; }
/* Results title — dots at reduced opacity via pseudo-element */
.tb.dark {
  position: relative;
}
.tb.dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('dot-grid.svg');
  background-size: 20px 20px;
  background-repeat: repeat;
  opacity: 0.3;
  pointer-events: none;
}
.tb.dark > * { position: relative; z-index: 1; }

/* ── ANIMATIONS ── */
.fu { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .svcs { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(2) { border-right: 0.5px solid var(--b); }
  .svc:nth-child(3) { grid-column: 1 / -1; border-right: none; }
  .svc:nth-child(3) .svc-tags { grid-template-columns: repeat(3, auto); }

  .proc { grid-template-columns: repeat(2, 1fr); }
  .pi:nth-child(2) { border-right: none; }
  .pi:nth-child(3), .pi:nth-child(4) { border-top: 0.5px solid var(--bl); }
  .pi:nth-child(4) { border-right: none; }

  .res { grid-template-columns: repeat(3, 1fr); }

  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-item:nth-child(2) { border-right: none; }
  .how-item:nth-child(3) { border-top: 0.5px solid var(--bl); border-right: none; }

}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-actions { grid-column: 3; border-left: 0.5px solid var(--b); }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-main { border-right: none; padding: 52px 24px 44px; }
  .hero-full .hero-main { padding: 56px 24px 48px; }
  .hero.hero-center .hero-main { padding: 72px 24px 64px; max-width: 100%; }
  .hero.hero-center .hero-h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero.hero-center .hero-ctas { width: 100%; }
  .hero-h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-d,
  .hero-ctas .btn-o { justify-content: center; }
  .btn-o { border-left: 0.5px solid var(--ink); border-top: none; }

  /* Clients */
  .clients { gap: 16px; padding: 16px 24px; }
  .clients-lbl { display: none; }

  /* Section title blocks */
  .tb { padding: 40px 24px 32px; }
  .approach-body { padding: 0 24px 44px; }
  .ff-callout { flex-direction: column; align-items: flex-start; padding: 28px 24px; }

  /* Service cards */
  .svcs { grid-template-columns: 1fr; }
  .svcs-2 { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 0.5px solid var(--b); }
  .svc:last-child { border-bottom: none; }
  .svc:nth-child(2) { border-right: none; border-bottom: 0.5px solid var(--b); }
  .svc:nth-child(3) { grid-column: 1; }
  .svcs-2 .svc:last-child { border-bottom: none; }

  /* Build grid */
  .bg { grid-template-columns: 1fr; }
  .bi { border-right: none; padding: 28px 24px; }
  .bi:nth-child(n+3) { border-top: none; }
  .bi:not(:first-child) { border-top: 0.5px solid var(--b); }
  .bg.dark .bi:not(:first-child) { border-top-color: var(--bl); }
  .bg.dark .bi::after { font-size: 38px; }

  /* How-grid */
  .how-grid { grid-template-columns: 1fr; }
  .how-item { border-right: none; padding: 28px 24px; }
  .how-item:not(:first-child) { border-top: 0.5px solid var(--bl); }
  .how-item::after { font-size: 38px; }

  /* Results */
  .res { grid-template-columns: 1fr; }
  .ri { border-right: none; border-bottom: 0.5px solid var(--b); padding: 36px 24px; }
  .ri:last-child { border-bottom: none; }

  /* CTA section */
  .cta { padding: 64px 24px; }
  .cta-btns { flex-direction: column; width: 100%; max-width: 320px; }
  .cbs { border-left: none; border-top: 0.5px solid rgba(247,245,250,.35); justify-content: center; }
  .cbp { justify-content: center; }

  /* Footer */
  .hd { display: none; }
  .footer { grid-template-columns: 1fr; }
  .fc { border-right: none; border-bottom: 0.5px solid var(--bl); }
  .fc:last-child { border-bottom: none; }
  .fc-bot { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 540px) {
  .proc { grid-template-columns: 1fr; }
  .pi { border-right: none; border-bottom: 0.5px solid var(--bl); }
  .pi:last-child { border-bottom: none; }
  .pi:nth-child(3), .pi:nth-child(4) { border-top: none; }
}
