/* Aakash Pareek Motion — graphite theme */
:root {
  --bg: #111214;
  --bg-2: #17181b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ececee;
  --text-2: #b4b6bc;
  --muted: #85878e;
  --chrome: linear-gradient(120deg, #f4f4f5 0%, #9b9ca2 38%, #e9e9eb 55%, #6d6e74 100%);
  --accent: #d9ff5b;
  --accent-ink: #15170d;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background-image: radial-gradient(1200px 700px at 80% -10%, #24262b 0%, transparent 60%), radial-gradient(900px 600px at -10% 40%, #1d1e22 0%, transparent 60%);
  background-attachment: fixed;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .faq-a a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .3s; }
p a:hover, .prose a:hover { text-decoration-color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.muted { color: var(--muted); }
.small { font-size: .875em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin: 0 0 22px; font-weight: 500; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--line-2); }
.hero-eyebrow::before { display: none; }
.hero-eyebrow { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); backdrop-filter: blur(8px); text-transform: none; letter-spacing: .02em; font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(217, 255, 91, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(217, 255, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 255, 91, 0); } }
.h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; margin: 0 0 28px; max-width: 18ch; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; font-weight: 500; line-height: 1.15; margin: 0 0 12px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2); max-width: 52ch; }
.chrome-text { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic.sm { width: 14px; height: 14px; }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn { --bh: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--bh); padding: 0 26px; border-radius: 99px; font-weight: 500; font-size: 15px; letter-spacing: -.005em; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s, transform .3s; white-space: nowrap; }
.btn-sm { --bh: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: #111; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); z-index: -1; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary .ic { transition: transform .4s var(--ease); }
.btn-primary:hover .ic { transform: translateX(4px) rotate(-45deg); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: var(--surface); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--text); }
.text-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .3s, gap .3s; }
.text-link:hover { border-color: var(--accent); gap: 14px; }

/* ---------- glass ---------- */
.glass { background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.6); }

/* ---------- cursor, grain, curtain ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 1000; display: none; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor-ring { width: 74px; height: 74px; background: rgba(255,255,255,.06); border-color: transparent; backdrop-filter: blur(2px); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }
.grain { position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,4%); } 40% { transform: translate(3%,-6%); } 60% { transform: translate(-4%,2%); } 80% { transform: translate(6%,5%); } }
.curtain { position: fixed; inset: 0; z-index: 998; background: #0c0d0f; display: grid; place-items: center; pointer-events: none; }
.curtain-logo { font-size: 42px; font-weight: 600; letter-spacing: -.04em; }
.curtain-logo em { color: var(--accent); font-style: normal; }
.no-js .curtain, .is-loaded .curtain { display: none; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: transform .5s var(--ease), padding .4s, background .4s; }
.site-header.is-scrolled { padding: 10px 0; background: rgba(17,18,20,.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 600; font-size: 15px; letter-spacing: -.03em; color: #111; background: var(--chrome); box-shadow: inset 0 1px 0 #fff, 0 6px 20px -6px rgba(0,0,0,.6); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.logo-text small { color: var(--muted); font-size: 11.5px; font-weight: 400; letter-spacing: .04em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav > ul > li > a, .drop-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; font-size: 14.5px; color: var(--text-2); transition: color .3s, background .3s; }
.main-nav > ul > li > a:hover, .drop-toggle:hover, .has-drop:focus-within .drop-toggle { color: var(--text); background: var(--surface-2); }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; width: 380px; padding: 10px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: all .35s var(--ease); background: rgba(24,25,28,.92); }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop ul { flex-direction: column; gap: 2px; }
.drop a { display: block; padding: 12px 14px; border-radius: 12px; transition: background .25s; }
.drop a:hover { background: var(--surface-2); }
.drop strong { display: block; font-weight: 500; font-size: 14.5px; }
.drop span { display: block; color: var(--muted); font-size: 13px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(14,15,17,.97); backdrop-filter: blur(20px); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); overflow-y: auto; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 12px 0; font-size: clamp(22px, 6vw, 32px); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
@media (max-width: 1020px) { .main-nav { display: none; } .menu-toggle { display: inline-block; } }
@media (max-width: 520px) { .header-cta .btn { display: none; } .logo-text small { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-canvas.small { opacity: .75; }
.hero-grid-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 0%, transparent 75%); opacity: .45; }
.hero-inner { position: relative; z-index: 2; }
.hero-title { margin: 28px 0 28px; font-weight: 500; }
.h1-kicker { display: block; font-size: clamp(15px, 1.3vw, 18px); color: var(--text-2); letter-spacing: 0; font-weight: 400; margin-bottom: 18px; }
.display { display: block; font-size: clamp(52px, 10vw, 150px); line-height: .92; letter-spacing: -.055em; }
.display .line { display: block; }
.display em { color: transparent; background: var(--chrome); -webkit-background-clip: text; background-clip: text; padding-right: .05em; }
.display em .w > span { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 300% 100%; }
.hero-lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-2); max-width: 56ch; margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas.center { justify-content: center; }
.hero-stats { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 820px; border-top: 1px solid var(--line); }
.hero-stats li { padding: 20px 20px 0 0; }
.hero-stats strong { display: block; font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.hero-stats span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; } }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); z-index: 2; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; border-radius: 3px; background: var(--text); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(255,255,255,.015); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.03em; color: var(--text-2); white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- scrub text ---------- */
.scrub-text { font-size: clamp(28px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; margin: 0; max-width: 24ch; }
.scrub-text .sw { opacity: .14; transition: opacity .2s; }

/* ---------- section head + cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head > p { max-width: 38ch; margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.tilt-card { position: relative; padding: 32px 28px 28px; min-height: 290px; display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s; will-change: transform; }
.tilt-card:hover { border-color: var(--line-2); }
.tilt-card h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; margin: auto 0 10px; transform: translateZ(40px); line-height: 1.15; }
.tilt-card p { color: var(--muted); margin: 0 0 22px; transform: translateZ(24px); }
.card-num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; transform: translateZ(30px); }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); transform: translateZ(30px); transition: color .3s, gap .3s; }
.tilt-card:hover .card-link { color: var(--accent); gap: 14px; }
.card-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.1), transparent 40%); opacity: 0; transition: opacity .4s; }
.tilt-card:hover .card-glare { opacity: 1; }

/* ---------- AI split ---------- */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
@media (max-width: 820px) { .split-cols { grid-template-columns: 1fr; } }
.split-cols .col { padding: clamp(24px, 3vw, 40px); }
.split-cols h3 { margin: 0 0 24px; }
.tag { display: inline-flex; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.tag-on { background: var(--accent); color: var(--accent-ink); }
.tag-off { background: var(--text); color: #111; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line); position: relative; color: var(--text-2); }
.tick-list li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 14px; height: 8px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

/* ---------- process (horizontal pin) ---------- */
.process { position: relative; padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.process-head { margin-bottom: 40px; }
.process-track { display: flex; gap: 18px; padding: 0 var(--gutter); width: max-content; }
.process-card { width: min(420px, 78vw); min-height: 340px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; flex: none; }
.process-num { font-size: clamp(64px, 8vw, 110px); line-height: 1; letter-spacing: -.06em; font-weight: 500; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.process-card h3 { font-size: 28px; font-weight: 500; letter-spacing: -.025em; margin: 24px 0 8px; }
.process-card p { color: var(--muted); margin: 0; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) { .process-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .process-card { scroll-snap-align: start; } }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } .partner-card { position: relative; top: 0; } }
.partner-card { padding: clamp(28px, 4vw, 48px); position: sticky; top: 110px; }
.partner-3d { position: relative; width: 150px; height: 150px; margin-bottom: 36px; transform-style: preserve-3d; perspective: 600px; }
.partner-3d .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); animation: spin3d 9s linear infinite; }
.partner-3d .r2 { animation-duration: 12s; animation-direction: reverse; border-color: rgba(217,255,91,.5); inset: 12px; }
.partner-3d .r3 { animation-duration: 15s; inset: 26px; }
.partner-3d span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 600; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes spin3d { from { transform: rotateX(65deg) rotateZ(0); } to { transform: rotateX(65deg) rotateZ(360deg); } }
.cert-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cert-list li, .industries span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--text-2); }
.quotes { display: flex; flex-direction: column; gap: 18px; }
.quote { margin: 0; padding: clamp(26px, 3.5vw, 44px); }
.quote blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.quote figcaption { display: flex; flex-direction: column; font-size: 14px; }
.quote figcaption span { color: var(--muted); }
.industries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #1b1c20; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: grayscale(.35) contrast(1.05); }
.post-card:hover .post-thumb img, .post-card:hover .thumb-art { transform: scale(1.06); }
.thumb-art { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.thumb-art.a0 { background: radial-gradient(circle at 30% 30%, #5b5d63, transparent 45%), radial-gradient(circle at 75% 70%, rgba(217,255,91,.35), transparent 40%), #1c1d21; }
.thumb-art.a1 { background: conic-gradient(from 200deg at 60% 40%, #2a2b30, #6a6c72, #2a2b30, #15161a); }
.thumb-art.a2 { background: radial-gradient(circle at 50% 120%, #8a8c92, transparent 55%), linear-gradient(135deg, #18191c, #2d2e33); }
.thumb-art.a3 { background: repeating-linear-gradient(115deg, #1e1f23 0 18px, #26272c 18px 36px), radial-gradient(circle at 70% 30%, rgba(217,255,91,.25), transparent 40%); background-blend-mode: screen; }
.post-body { padding: 22px 24px 26px; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.post-meta .cat { color: var(--accent); }
.post-card h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; margin: 0; }
.post-card h3 a:hover { color: var(--accent); }
.cat-pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.cat-pills a { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; color: var(--text-2); transition: all .3s; }
.cat-pills a:hover, .cat-pills a.active, .cat-pills .current-cat a { background: var(--text); color: #111; border-color: var(--text); }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span, .nav-links a, .nav-links span { min-width: 46px; height: 46px; padding: 0 16px; display: inline-grid; place-items: center; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; }
.pagination .current, .nav-links .current { background: var(--text); color: #111; }
.empty-state { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.015em; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .5s var(--ease), background .3s; }
.faq-item summary i::before, .faq-item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] summary i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { color: var(--text-2); padding: 0 60px 26px 0; }
.faq-a p { margin: 0; }

/* ---------- CTA + form ---------- */
.cta-section { overflow: hidden; }
.cta-orb { position: absolute; width: 900px; height: 900px; right: -300px; top: -100px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.12), rgba(255,255,255,.02) 40%, transparent 65%); filter: blur(10px); pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; position: relative; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-lines li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.contact-lines span { color: var(--muted); font-size: 14px; }
.lead-form { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field input, .field select, .field textarea { width: 100%; padding: 24px 16px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, background .3s; appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text-2); background: rgba(0,0,0,.4); }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select:focus + label, .field select:valid + label { top: 7px; font-size: 11.5px; letter-spacing: .04em; }
.field.select::after { content: ''; position: absolute; right: 18px; top: 24px; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field select option { background: #1b1c20; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.form-error { background: rgba(255, 90, 90, .1); border: 1px solid rgba(255,90,90,.35); color: #ffb4b4; padding: 12px 14px; border-radius: 12px; font-size: 14px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: clamp(150px, 18vw, 220px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero.center { text-align: center; min-height: 80svh; display: flex; align-items: center; }
.page-hero.center .hero-lead { margin-inline: auto; }
.page-title { font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.045em; font-weight: 500; margin: 26px 0 26px; max-width: 17ch; text-wrap: balance; }
.center .page-title { margin-inline: auto; }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 90px); padding-top: clamp(60px, 8vw, 110px); align-items: start; }
@media (max-width: 960px) { .content-layout { grid-template-columns: 1fr; } .sticky-cta { position: static !important; } }
.prose-block + .prose-block { margin-top: clamp(60px, 8vw, 100px); }
.prose { color: var(--text-2); font-size: clamp(16.5px, 1.15vw, 18.5px); line-height: 1.75; }
.prose p { margin: 0 0 1.2em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose h2 { color: var(--text); font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; line-height: 1.15; font-weight: 500; margin: 2em 0 .6em; }
.prose h3 { color: var(--text); font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.02em; font-weight: 500; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.5em; line-height: 1.3; color: var(--text); }
.prose blockquote p { margin: 0; }
.prose img, .prose figure { border-radius: var(--radius-sm); margin: 2em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: #0c0d0f; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; overflow-x: auto; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 500; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.sticky-cta { position: sticky; top: 110px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.sticky-cta .eyebrow { margin: 0; font-size: 11px; }
.sticky-cta .eyebrow::before { display: none; }
.sticky-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.sticky-cta p { margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
@media (max-width: 960px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }
.check-item { padding: 26px; transition: transform .5s var(--ease), border-color .3s; }
.check-item:hover { transform: translateY(-4px); border-color: var(--line-2); }
.check-num { font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.check-item h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; margin: 14px 0 8px; }
.check-item p { color: var(--muted); margin: 0; font-size: 15px; }
.step-line { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .step-line { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .step-line { grid-template-columns: 1fr; } }
.step-line li { counter-increment: s; border-top: 1px solid var(--line-2); padding-top: 22px; position: relative; }
.step-line li::before { content: counter(s, decimal-leading-zero); position: absolute; top: -12px; left: 0; background: var(--bg); padding-right: 12px; font-size: 13px; color: var(--accent); }
.step-line h3 { font-weight: 500; font-size: 21px; margin: 6px 0 8px; letter-spacing: -.015em; }
.step-line p { color: var(--muted); margin: 0; font-size: 15px; }

/* thanks */
.big-check { width: 84px; height: 84px; margin: 0 auto 10px; }
.big-check circle { stroke: var(--line-2); stroke-width: 1.5; }
.big-check path { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .9s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- single post ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
.single-hero .page-title { font-size: clamp(36px, 5vw, 68px); max-width: 22ch; }
.author-line { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.author-line .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--chrome); color: #111; font-weight: 600; font-size: 14px; overflow: hidden; }
.author-line .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-line span { display: flex; flex-direction: column; line-height: 1.3; }
.author-line small { color: var(--muted); }
.single-featured { margin-bottom: 60px; }
.single-featured img { width: 100%; border-radius: var(--radius); aspect-ratio: 21 / 9; object-fit: cover; }
.single-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 80px); justify-content: center; padding-bottom: 60px; }
@media (max-width: 1020px) { .single-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.toc { position: sticky; top: 110px; align-self: start; padding: 22px; font-size: 14px; }
.toc .eyebrow::before { display: none; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list a { display: block; padding: 7px 0 7px 12px; color: var(--muted); border-left: 1px solid var(--line); transition: all .3s; }
.toc-list a.active, .toc-list a:hover { color: var(--text); border-color: var(--accent); }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; margin: 20px 0 100px; flex-wrap: wrap; }
.post-cta p { margin: 0; }
.post-cta .eyebrow { margin-bottom: 8px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 0; }
.post-tags a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; color: var(--text-2); text-decoration: none; }
.related { padding-bottom: 100px; }
.wp-block-image img { height: auto; }
.alignwide { margin-inline: -60px; } .alignfull { margin-inline: calc(50% - 50vw); }
@media (max-width: 1020px) { .alignwide { margin-inline: 0; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(60px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.footer-big { font-size: clamp(48px, 10.5vw, 170px); line-height: .95; letter-spacing: -.06em; font-weight: 500; background: linear-gradient(180deg, #e9e9eb, #3a3b40); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid > div:first-child p { max-width: 36ch; margin: 22px 0; }
.foot-h { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; margin: 10px 0 18px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { padding: 6px 0; font-size: 15px; }
.foot-links a { color: var(--text-2); transition: color .3s; }
.foot-links a:hover { color: var(--accent); }
.partner-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; }
.partner-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 99px; background: var(--text); color: #111; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); transition: transform .4s var(--ease); }
.wa-float .ic { width: 24px; height: 24px; color: #1fa855; }
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0 16px; } }

/* ---------- reveal defaults (JS sets initial state) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scrub-text .sw { opacity: 1; }
  .grain { display: none; }
}

/* ================= v1.1: logo, mega menu, portrait, services ================= */

/* signature logo: cropped white-on-black WebP; the SVG filter turns black transparent */
.logo-sig { display: inline-block; width: 132px; flex: none; line-height: 0; }
.logo-sig img { width: 100%; height: auto; filter: url(#ap-lum); }
.site-footer .logo-sig { width: 180px; }
.logo .logo-text small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-left: 1px solid var(--line-2); padding-left: 12px; line-height: 1.3; }
@media (max-width: 1180px) { .logo .logo-text { display: none; } }

/* mega menu */
.drop.mega { width: min(980px, calc(100vw - 48px)); padding: 18px; left: 50%; }
.has-mega { position: static; }
.main-nav { position: relative; }
.has-mega .drop.mega { left: 50%; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mega-h { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 14px 8px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: block; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; padding: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.mega-foot a { color: var(--accent); }

/* mobile menu groups */
.mobile-menu .mm-top li a { font-size: clamp(24px, 7vw, 34px); }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: clamp(22px, 6vw, 30px); letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after { content: '+'; color: var(--muted); font-weight: 300; transition: transform .3s; }
.mm-group[open] summary::after { transform: rotate(45deg); }
.mm-group ul { padding: 0 0 12px 4px; }
.mm-group li a { font-size: 17px; padding: 9px 0; border: 0; color: var(--text-2); }
.mobile-menu-foot { display: grid; gap: 10px; margin-top: 28px; }

/* hero with portrait */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero { flex-direction: column; justify-content: center; }
.hero > .wrap:not(.hero-inner) { position: relative; z-index: 2; }
.hero .display { font-size: clamp(50px, 8.2vw, 132px); }
.hero-portrait { position: relative; margin: 0; perspective: 1200px; justify-self: end; width: 100%; max-width: 440px; }
.portrait-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #9a9b9f; transform-style: preserve-3d; transition: transform .6s var(--ease); box-shadow: 0 60px 120px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12) inset; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(.15) contrast(1.04); }
.portrait-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(17,18,20,.85) 100%); pointer-events: none; }
.portrait-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 45%, transparent 60%); transform: translateX(-120%); animation: shine 6s 1.5s var(--ease) infinite; mix-blend-mode: overlay; z-index: 1; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; font-size: 13.5px; background: rgba(24,25,28,.72); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.float-chip strong { font-weight: 600; }
.chip-1 { left: -34px; top: 16%; }
.chip-2 { right: -22px; top: 48%; animation-delay: -2s; }
.chip-3 { left: -16px; bottom: 12%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.hero-stats { margin-top: 56px; max-width: none; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 340px; margin-top: 12px; }
  .chip-1 { left: auto; right: -12px; top: 10%; }
  .chip-2 { right: -12px; }
  .chip-3 { left: 12px; }
}

/* service cards with link lists */
.bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento .svc-card { grid-column: span 2; min-height: 0; }
.bento .svc-card:nth-child(1), .bento .svc-card:nth-child(2) { grid-column: span 3; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento .svc-card, .bento .svc-card:nth-child(1), .bento .svc-card:nth-child(2) { grid-column: span 1; } .bento .industry-card { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .industry-card { grid-column: span 1; } }
.svc-card h3 { margin: 26px 0 10px; }
.svc-card > p { margin-bottom: 20px; }
.svc-links { list-style: none; margin: auto 0 0; padding: 0; transform: translateZ(26px); }
.svc-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; transition: color .3s, padding .3s; }
.svc-links a .ic { opacity: .4; transition: transform .4s var(--ease), opacity .3s; }
.svc-links a:hover { color: var(--text); padding-left: 6px; }
.svc-links a:hover .ic { opacity: 1; transform: translateX(4px); color: var(--accent); }

/* about */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { position: relative; max-width: 420px; }
.about-frame { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 3 / 4; background: #9a9b9f; position: relative; z-index: 1; }
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.08); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.about-photo:hover .about-frame img { filter: grayscale(0); transform: scale(1.03); }
.about-ring { position: absolute; inset: -18px; border: 1px solid var(--line-2); border-radius: 999px 999px 40px 40px; z-index: 0; }
.about-ring::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); top: 30%; right: -6px; box-shadow: 0 0 24px var(--accent); }
.about-copy .hero-ctas { align-items: center; gap: 22px; margin-top: 12px; }

/* landing aside with photo */
.aside-me { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.aside-me img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: #9a9b9f; }
.aside-me span { display: flex; flex-direction: column; line-height: 1.3; font-size: 14px; }
.aside-me small { color: var(--muted); font-size: 12px; }
.author-line .avatar img { object-position: 50% 15%; }
.field select optgroup { background: #1b1c20; color: var(--muted); }

/* ================= Google Partner badge ================= */
.partner-badge { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); transition: transform .4s var(--ease); }
.partner-badge img { width: 64px; height: auto; border-radius: 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); transition: transform .5s var(--ease), box-shadow .4s; }
.partner-badge span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.partner-badge small { color: var(--muted); font-size: 12px; }
.partner-badge:hover img { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 16px 36px -10px rgba(0,0,0,.8), 0 0 0 2px var(--accent); }
.partner-badge:hover span { color: var(--accent); }
a.hero-eyebrow { color: var(--text-2); transition: border-color .3s, color .3s; }
a.hero-eyebrow:hover { border-color: var(--accent); color: var(--text); }
/* hero chip version */
.float-chip.chip-badge { padding: 6px 16px 6px 6px; gap: 10px; }
.float-chip.chip-badge img { width: 40px; border-radius: 99px; box-shadow: none; }
.float-chip.chip-badge span { flex-direction: row; gap: 4px; font-size: 13.5px; }
/* proof card: badge floats in the 3D rings */
.partner-3d { width: 190px; height: 190px; display: grid; place-items: center; }
.partner-3d .badge-orb { position: relative; z-index: 2; animation: floaty 6s ease-in-out infinite; }
.partner-3d .badge-orb img { width: 112px; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.15); }
.badge-foot { margin-top: 6px; }
.badge-foot img { width: 58px; }
.badge-aside { padding: 10px 0 4px; }
.badge-aside img { width: 48px; }
.badge-aside span { font-size: 13px; color: var(--text-2); }
.contact-lines .contact-badge { border-top: 1px solid var(--line); padding: 16px 0; }
.contact-badge img { width: 56px; }
.badge-post { margin-bottom: 14px; }
.badge-post img { width: 56px; }

/* ================= related services ================= */
.related-svc { padding-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
@media (max-width: 960px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 54px; transition: transform .5s var(--ease), border-color .3s; }
.related-card strong { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.related-card span:not(.muted) { color: var(--muted); font-size: 14.5px; }
.related-card .ic { position: absolute; left: 24px; bottom: 22px; transition: transform .4s var(--ease), color .3s; }
.related-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.related-card:hover .ic { transform: translateX(6px); color: var(--accent); }
.page-title .h1-kicker { font-size: clamp(15px, 1.3vw, 18px); letter-spacing: 0; line-height: 1.4; color: var(--text-2); font-weight: 400; margin-bottom: 18px; }

/* ================= v1.3: skyline, case studies, areas ================= */
.skyline-wrap { position: relative; height: clamp(280px, 34vw, 500px); margin: calc(clamp(60px, 9vw, 120px) * -1) 0 40px; pointer-events: auto; }
.skyline-wrap::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.skyline { width: 100%; height: 100%; display: block; }
.site-footer { padding-top: clamp(60px, 9vw, 120px); }

.drop.wide { width: 560px; }
.drop.wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; transform: translateZ(20px); }
.area-chips a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 12.5px; color: var(--text-2); transition: border-color .3s, color .3s; }
.area-chips a:hover { border-color: var(--accent); color: var(--text); }

.sample-flag { display: inline-block; margin: 0 0 22px; padding: 7px 12px; border-radius: 8px; font-size: 13px; color: #1b1d10; background: var(--accent); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1400px; }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; overflow: hidden; min-height: 360px; transition: transform .5s var(--ease), border-color .3s; }
.case-card[hidden] { display: none; }
.case-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.case-art { position: absolute; inset: 0 0 auto 0; height: 46%; opacity: .55; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.case-card > *:not(.case-art) { position: relative; }
.case-card .case-art.a0 { background: radial-gradient(circle at 30% 40%, #5b5d63, transparent 50%), radial-gradient(circle at 80% 20%, rgba(217,255,91,.3), transparent 40%); }
.case-card .case-art.a1 { background: conic-gradient(from 200deg at 60% 40%, #2a2b30, #6a6c72, #2a2b30); }
.case-card .case-art.a2 { background: radial-gradient(circle at 50% 120%, #8a8c92, transparent 60%); }
.case-card .case-art.a3 { background: repeating-linear-gradient(115deg, #1e1f23 0 18px, #2a2b30 18px 36px); }
.case-card .case-art.has-img { opacity: .5; background-size: cover; background-position: center; filter: grayscale(.6); }
.case-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); }
.case-meta .cat { color: var(--accent); }
.case-metric { margin-top: 40px; display: flex; flex-direction: column; }
.case-metric strong { font-size: clamp(48px, 5vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-metric span { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.case-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; margin: 6px 0 0; }
.case-card p { color: var(--muted); margin: 0; font-size: 15px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.case-tags span { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--text-2); }
.cases-empty { text-align: center; padding: 40px 0 0; }
.cases-empty p { color: var(--text-2); max-width: 46ch; margin: 0 auto 24px; }

.case-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.case-facts div { display: flex; flex-direction: column; }
.case-facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 4px 0 0; font-size: 15px; }
.case-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(50px, 7vw, 90px); }
@media (max-width: 900px) { .case-metrics { grid-template-columns: 1fr 1fr; } }
.metric { padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.metric strong { font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.05em; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric span { font-size: 15px; margin-top: 8px; }
.metric small { color: var(--muted); font-size: 13px; }
.case-body { padding-bottom: 60px; }
.case-quote { margin: 2.4em 0 0; }
.case-quote figcaption { color: var(--muted); font-size: 14px; }
.case-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.case-services a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14px; text-decoration: none; color: var(--text-2); }
.case-services a:hover { border-color: var(--accent); color: var(--text); }

/* ================= v1.3.4: tap targets + mobile quick-contact bar ================= */
.foot-links li { padding: 0; }
.foot-links a { display: inline-block; padding: 9px 0; }
.crumbs a { padding: 6px 2px; }
.m-bar { display: none; }
@media (max-width: 700px) {
  .wa-float { display: none; }
  body { padding-bottom: 72px; }
  .m-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 85; padding: 8px; border-radius: 18px; background: rgba(24,25,28,.88); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); transition: transform .4s var(--ease); }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 12px; font-size: 14.5px; font-weight: 500; background: var(--surface-2); color: var(--text); }
  .m-bar a .ic { width: 18px; height: 18px; }
  .m-bar a.js-wa .ic { color: #25d366; }
  .m-bar .m-bar-cta { background: var(--accent); color: var(--accent-ink); }
  .menu-open .m-bar { transform: translateY(140%); }
}

/* merged from the live-site fixes (29 Oct): stop sideways scroll on phones */
html { overflow-x: clip; }
.prose-col { min-width: 0; }
/* bigger tap targets for area pills; slightly larger floating labels */
.area-chips a { padding: 9px 13px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select:focus + label, .field select:valid + label { font-size: 12.5px; }

/* ================= v1.4: floating pill header ================= */
.site-header.ap-pill { position: fixed; top: 16px; left: 0; right: 0; padding: 0; z-index: 100; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; transition: top .45s var(--ease); }
.site-header.ap-pill.is-scrolled { top: 10px; padding: 0; background: none; border: 0; backdrop-filter: none; }
.site-header.ap-pill.is-hidden { transform: none; }
body.admin-bar .site-header.ap-pill { top: 48px; }
body.admin-bar .site-header.ap-pill.is-scrolled { top: 42px; }
@media (max-width: 782px) { body.admin-bar .site-header.ap-pill, body.admin-bar .site-header.ap-pill.is-scrolled { top: 56px; } }

.pill-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.pill {
  --sx: 50%; --sy: 50%;
  position: relative; pointer-events: auto; display: flex; align-items: center; gap: 14px;
  height: 66px; padding: 0 8px 0 24px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(30,31,35,.78), rgba(18,19,22,.78));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.07);
  transition: height .45s var(--ease), box-shadow .45s var(--ease), background .45s;
}
/* lit edge that follows the cursor */
.pill::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(220px circle at var(--sx) var(--sy), rgba(217,255,91,.55), rgba(217,255,91,0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; }
.pill:hover::before { opacity: 1; }
.pill-spot { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden;
  background: radial-gradient(320px circle at var(--sx) var(--sy), rgba(255,255,255,.06), transparent 60%); opacity: 0; transition: opacity .35s; }
.pill:hover .pill-spot { opacity: 1; }
.is-scrolled .pill { height: 56px; background: linear-gradient(180deg, rgba(26,27,31,.9), rgba(16,17,20,.9)); box-shadow: 0 14px 40px -10px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }

.pill .logo { flex: none; }
.pill .logo-sig { width: 118px; transition: width .45s var(--ease); }
.is-scrolled .pill .logo-sig { width: 104px; }

/* nav + gliding highlight */
.pill .main-nav { position: static; margin: 0 auto; }
.pill .main-nav > ul { position: static; display: flex; align-items: center; gap: 2px; }
.pill .main-nav > ul > li { position: relative; z-index: 1; }
.pill .main-nav > ul > li.has-mega { position: static; }
.pill .nav-item { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px; border-radius: 999px; font-size: 14.5px; color: var(--text-2); background: none; transition: color .3s; }
.pill .nav-item:hover, .pill .nav-item.is-current, .pill .has-drop.open > .nav-item, .pill .has-drop:hover > .nav-item { color: var(--text); background: none; }
.pill .nav-item .ic { transition: transform .35s var(--ease); }
.pill .has-drop:hover > .nav-item .ic, .pill .has-drop.open > .nav-item .ic { transform: rotate(180deg); }
.nav-glider { position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; width: 0; border-radius: 999px; pointer-events: none;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); opacity: 0;
  transform: translate(var(--gx, 0), -50%); transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-glider::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* dropdowns hang below the pill */
.pill .drop { top: calc(100% + 14px); }
.pill .has-mega .drop.mega { left: 50%; top: calc(100% + 12px); }

/* live availability */
.avail { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; color: var(--text-2); white-space: nowrap;
  background: rgba(46,204,113,.08); border: 1px solid rgba(46,204,113,.22); transition: background .3s, border-color .3s, color .3s; }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: availPulse 2s infinite; flex: none; }
.avail.is-away { background: rgba(255,184,77,.07); border-color: rgba(255,184,77,.22); }
.avail.is-away .avail-dot { background: #ffb84d; animation: none; box-shadow: 0 0 6px rgba(255,184,77,.6); }
@keyframes availPulse { 70% { box-shadow: 0 0 0 7px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

/* glowing CTA: rotating conic border around a lime core */
.btn-glow { position: relative; display: inline-flex; height: 48px; padding: 1.5px; border-radius: 999px; overflow: hidden; isolation: isolate; flex: none; transition: height .45s var(--ease); }
.btn-glow::before { content: ''; position: absolute; inset: -60%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 55%, rgba(217,255,91,.15) 65%, #ffffff 75%, var(--accent) 82%, transparent 92%); animation: glowSpin 3.6s linear infinite; }
.btn-glow-in { display: inline-flex; align-items: center; gap: 9px; height: 100%; padding: 0 20px; border-radius: inherit; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); transition: background .3s; }
.btn-glow .ic { transition: transform .4s var(--ease); }
.btn-glow:hover .btn-glow-in { background: #e6ff8a; }
.btn-glow:hover .ic { transform: translateX(3px) rotate(-45deg); }
.is-scrolled .btn-glow { height: 42px; }
@keyframes glowSpin { to { transform: rotate(360deg); } }

/* reading progress along the bottom edge */
.pill-progress { position: absolute; left: 34px; right: 34px; bottom: -1px; height: 2px; border-radius: 2px; overflow: hidden; pointer-events: none; }
.pill-progress i { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }

.pill .header-cta { gap: 8px; }
.pill .menu-toggle { width: 46px; height: 46px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.pill .menu-toggle span { left: 14px; right: 14px; }
.pill .menu-toggle span:first-child { top: 18px; } .pill .menu-toggle span:last-child { top: 26px; }

@media (max-width: 1240px) { .avail-text { display: none; } .avail { padding: 0 11px; } }
@media (max-width: 1100px) { .pill .nav-item { padding: 0 11px; font-size: 14px; } }
@media (max-width: 1020px) {
  .avail { display: none; }
  .pill { height: 60px; padding: 0 7px 0 20px; }
}
@media (max-width: 520px) {
  .site-header.ap-pill { top: 10px; }
  .pill-wrap { padding: 0 10px; }
  .pill { height: 56px; padding: 0 6px 0 16px; }
  .pill .logo-sig { width: 98px; }
  .btn-glow { height: 42px; }
  .btn-glow-in { padding: 0 14px; font-size: 13.5px; }
  .btn-glow .ic { display: none; }
}
@media (prefers-reduced-motion: reduce) { .btn-glow::before { animation: none; } .nav-glider { transition: none; } }
@media (max-width: 700px) { .pill .btn-glow { display: none; } }
.pill .main-nav { z-index: 1; }
.pill .header-cta { margin-left: auto; }
