/* ---------- Base / reset (scoped) ---------- */
body { margin: 0; background: #000; }
.im-page, .im-page *, .im-page *::before, .im-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.im-page {
  --im-bg: #000;
  --im-card: #141418;
  --im-text: #ffffff;
  --im-dim: #a6adbb;
  --im-accent: #8b5cf6;
  --im-purple: #8b5cf6;
  --im-purple-bright: #a855f7;
  --im-purple-deep: #6d28d9;
  --im-purple-glow: rgba(139,92,246,.55);
  --im-section-pad: clamp(56px, 8vw, 110px);
  --im-side-pad: clamp(18px, 4vw, 48px);
  background: var(--im-bg);
  color: var(--im-text);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
.im-page img { max-width: 100%; height: auto; display: block; }
.im-page a { color: var(--im-text); text-decoration: none; }
.im-page a:hover { color: #cfcde8; }
.im-wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--im-side-pad); padding-right: var(--im-side-pad); }
.im-section { padding-top: var(--im-section-pad); padding-bottom: var(--im-section-pad); }
.im-eyebrow { font-size: clamp(12px,1.2vw,14px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #b8b8b8; }
.im-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.im-reveal.im-in { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.im-header { position: sticky; top: 0; z-index: 100; background: rgba(0,0,0,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.im-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.im-logo img { height: 34px; width: auto; }

/* ---------- Hero ---------- */
.im-hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.im-hero::before { content: ""; position: absolute; left: 50%; top: -120px; transform: translateX(-50%); width: min(1500px, 130vw); height: 520px; background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(109,40,217,.55), rgba(76,29,149,.22) 45%, transparent 72%); pointer-events: none; }
.im-hero .im-wrap { position: relative; z-index: 1; }
.im-burger { display: inline-flex; flex-direction: column; gap: 8px; padding: 10px 6px; background: none; border: 0; cursor: pointer; }
.im-burger span { display: block; width: 34px; height: 2px; background: #fff; border-radius: 2px; }
.im-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.im-hero-copy { display: flex; flex-direction: column; gap: clamp(16px, 2.5vw, 24px); max-width: 820px; }
.im-hero-title { font-family: 'Hanken Grotesk', sans-serif; font-weight: 300; font-size: clamp(30px, 5.2vw, 58px); line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.im-hero-title .im-line { white-space: nowrap; }
.im-hero-title em, .im-serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
.im-hero-lede { font-family: 'Inter', 'Instrument Sans', sans-serif; font-weight: 600; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; color: #fff; max-width: 620px; }
.im-hero-list { list-style: disc; padding-left: 26px; display: flex; flex-direction: column; gap: 10px; font-family: 'Inter', sans-serif; font-size: clamp(14px, 1.7vw, 16px); line-height: 1.45; color: #e8e6f2; }
.im-hero-list strong { color: #fff; }
.im-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--im-purple-deep); color: #fff !important; border-radius: 8px; padding: 15px 30px; font-weight: 600; font-size: 15px; letter-spacing: .01em; width: fit-content; transition: background .25s ease, transform .15s ease; }
.im-btn:hover { background: var(--im-purple); }
.im-btn:active { transform: scale(.985); }
.im-btn svg { width: 18px; height: 18px; flex: none; }

/* hero case-study carousel */
.im-hero-car { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.im-hero-car-stage { position: relative; width: 100%; }
.im-hero-car-stage img { width: 100%; height: auto; display: block; opacity: 0; transition: opacity .45s ease; }
.im-hero-car-stage img.im-on { opacity: 1; }
.im-hero-car-stage img:not(:first-of-type) { position: absolute; inset: 0; }
.im-car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #4b3fd4; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .2s ease; }
.im-car-arrow:hover { transform: translateY(-50%) scale(1.1); }
.im-car-arrow svg { width: 15px; height: 15px; }
.im-car-prev { left: -8px; } .im-car-next { right: -8px; }
.im-hero-pill { display: flex; align-items: baseline; justify-content: center; gap: 12px; background: #fff; border-radius: 999px; padding: 15px 44px; min-width: min(340px, 85%); font-family: 'Inter', sans-serif; }
.im-hero-pill b { color: #6d3bdc; font-weight: 700; font-size: clamp(19px, 2vw, 23px); }
.im-hero-pill span { color: #3a3a44; font-weight: 600; font-size: clamp(14px, 1.5vw, 17px); }

/* ---------- Header + hero (vanilla final) ---------- */
@keyframes v2Fade{from{opacity:0}to{opacity:1}}
@keyframes v2Up{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:translateY(0)}}
@keyframes v2Glow{0%,100%{box-shadow:0 0 26px rgba(140,120,255,.55),0 0 70px rgba(120,90,255,.3)}50%{box-shadow:0 0 40px rgba(150,130,255,.85),0 0 100px rgba(120,90,255,.5)}}
@keyframes v2CardIn{from{opacity:0;transform:translateY(70px) rotateX(12deg)}to{opacity:1;transform:translateY(0) rotateX(0)}}
@keyframes v2Marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.v2hero{background:#050505;overflow:hidden;display:flex;flex-direction:column;position:relative;animation:v2Fade .9s ease both;padding-bottom:clamp(44px,6vh,72px)}
.glow-img{position:absolute;top:0;left:0;right:0;height:62%;pointer-events:none;background-image:url('/images/img-9d66635eb3.png');background-size:100% 100%;filter:blur(28px) saturate(1.15);opacity:.9;transform:scale(1.06)}
.glow-radial{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 52% 40% at 50% 34%,rgba(139,92,246,.27),transparent 70%)}
.glow-corner{position:absolute;top:-120px;left:-80px;width:480px;height:380px;pointer-events:none;background:radial-gradient(ellipse at 30% 20%,rgba(139,92,246,.16),transparent 65%)}


.v2hero-copy{position:relative;z-index:4;text-align:center;padding:clamp(36px,7vh,76px) 20px 0;flex-shrink:0}
.v2hero-copy h1{font-family:'Archivo',sans-serif;text-transform:uppercase;margin:0 auto;max-width:24ch;font-size:clamp(34px,5.4vw,78px);font-weight:800;line-height:1;letter-spacing:-.02em;animation:v2Up .9s cubic-bezier(.22,1,.36,1) .15s both;text-wrap:balance}
.v2hero-copy p{font-family:'DM Sans',sans-serif;margin:clamp(16px,2.6vh,30px) auto 0;max-width:60ch;font-size:clamp(14px,1.15vw,18px);line-height:1.6;color:#C9C7D4;font-weight:500;animation:v2Up .9s cubic-bezier(.22,1,.36,1) .3s both;text-wrap:pretty}
.v2cta-row{animation:v2Up .9s cubic-bezier(.22,1,.36,1) .45s both;margin-top:clamp(22px,4vh,44px)}
.v2cta{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(180deg,#fff,#DAD3FF);color:#1B1440!important;font-weight:700;font-size:clamp(12.5px,.85vw,14px);padding:11px 24px;border-radius:999px;animation:v2Glow 3s ease-in-out infinite;transition:transform .3s ease}
.v2cta:hover{transform:translateY(-2px) scale(1.02)}
@media(max-width:768px){
  .im-ticker-section{display:none}
  .v2hero-copy{padding:24px 12px 0}
  .v2hero-copy h1{font-size:clamp(24px,6.8vw,34px)}
  .v2hero-copy h1 span{white-space:nowrap}
  .v2hero-copy p{font-size:15px;margin-top:14px}
  .v2cta-row{margin-top:22px}
}

.v2cards{position:relative;z-index:3;flex:none;height:clamp(340px,44vh,460px);margin-top:clamp(26px,4.5vh,52px);perspective:1400px;perspective-origin:50% 40%}
.v2track{display:flex;gap:clamp(12px,1.4vw,20px);width:max-content;padding:0 clamp(4px,1vw,12px);height:100%;transform-style:preserve-3d;animation:v2Marquee 35s linear infinite}
.v2track:hover{animation-play-state:paused}
.v2card{flex:none;width:auto;height:100%;border-radius:18px;overflow:hidden;position:relative;box-shadow:0 30px 60px rgba(0,0,0,.55);transform:translateY(12px);rotate:y -9deg;translate:0 0 0;animation:v2CardIn .8s cubic-bezier(.22,1,.36,1) both;transition:translate .45s cubic-bezier(.22,1,.36,1),rotate .45s ease,box-shadow .45s ease}
.v2card:hover{translate:0 -14px 70px;rotate:y 0deg;box-shadow:0 50px 100px rgba(0,0,0,.7);z-index:2}
.v2card img{display:block;height:100%;width:auto}
.v2card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,0) 35%,rgba(0,0,0,.25) 85%)}
@media(max-width:768px){
  /* Flatten the 3D tilt on touch (no hover to bring a card upright) */
  .v2card{height:300px;rotate:none}
  .v2cards{perspective:none}
  /* Collapse the dead space under the marquee and tighten hero-to-section gap */
  .v2cards{height:300px;margin-top:20px}
  .v2hero{padding-bottom:16px}
  .im-wwd.im-section{padding-top:clamp(28px,7vw,44px)}
}

/* ---------- Logo ticker ---------- */
.im-ticker-section { background: #fff; padding: clamp(22px, 3vw, 34px) 0; overflow: hidden; }
.im-ticker { display: flex; width: max-content; animation: im-ticker 26s linear infinite; }
.im-ticker:hover { animation-play-state: paused; }
.im-ticker-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); padding-right: clamp(40px, 6vw, 88px); }
.im-ticker-track img { height: 24px; width: auto; filter: brightness(0); opacity: .85; }
@keyframes im-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- What We Do ---------- */
.im-wwd { --wwd-card: #161616; --wwd-card-border: #2a2a2a; --wwd-dim: #b8b8b8; --wwd-faint: #8a8a8a; }
.im-wwd-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; margin-top: clamp(20px, 3vw, 36px); }
.im-wwd-italic { display: block; font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; }
.im-wwd-sub { font-size: clamp(15px, 1.7vw, 18px); line-height: 1.45; margin-top: clamp(20px, 3vw, 36px); text-wrap: pretty; max-width: 760px; }
.im-wwd-gridwrap { background: #000; border: 1px solid #1f1f1f; border-radius: 16px; padding: clamp(10px, 1.2vw, 14px); margin-top: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 14px); }
.im-wwd-row-top, .im-wwd-row-bottom { display: grid; gap: clamp(10px, 1.2vw, 14px); }
.im-wwd-row-top { grid-template-columns: repeat(3, 1fr); }
.im-wwd-row-bottom { grid-template-columns: repeat(4, 1fr); }
.im-wwd-card { background: var(--wwd-card); border: 1px solid var(--wwd-card-border); border-radius: 12px; padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease, border-color .3s ease; }
.im-wwd-card.im-in { opacity: 1; transform: translateY(0); }
.im-wwd-card:hover { border-color: #4a4a4a; }
.im-wwd-icon { width: 32px; height: 32px; color: #fff; }
.im-wwd-icon svg { width: 100%; height: 100%; display: block; }
.im-wwd-card h3 { font-family: 'Archivo', sans-serif; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; letter-spacing: -.01em; }
.im-wwd-desc { font-size: clamp(14px, 1.3vw, 15.5px); line-height: 1.55; color: var(--wwd-dim); }
.im-wwd-partners { display: flex; align-items: center; gap: 12px; font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wwd-faint); margin-top: 4px; white-space: nowrap; }
.im-wwd-partners::after { content: ""; flex: 1; height: 1px; background: #333; }
.im-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.im-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 8px; background: #1f1f1f; border: 1px solid #333; border-radius: 6px; color: #d8d8d8; font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.im-badge svg { width: 15px; height: 15px; display: block; }
.im-wwd-spacer { flex: 1 1 auto; min-height: 8px; }
.im-wwd-cta { display: block; width: 100%; background: #fff; color: #0a0a0a !important; border-radius: 4px; padding: 14px 12px; font-family: 'Archivo', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; cursor: pointer; transition: background .25s ease, transform .15s ease; }
.im-wwd-cta:hover { background: #d9d9d9; }
.im-wwd-cta:active { transform: scale(.985); }

/* ---------- Growth partner (social carousel + copy) ---------- */
.im-gp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.im-social-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); align-items: end; }
.im-phone-case { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.im-phone-case.im-off { display: none; }
.im-phone { width: 100%; border: 6px solid #16161c; background: #16161c; border-radius: clamp(18px, 2.4vw, 30px); box-shadow: 0 0 0 1.5px rgba(255,255,255,.16), 0 18px 40px rgba(0,0,0,.5); overflow: hidden; position: relative; }
.im-phone::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38%; height: 14px; background: #16161c; border-radius: 0 0 10px 10px; z-index: 2; }
.im-phone img { width: 100%; display: block; }
.im-phone-meta { text-align: center; }
.im-phone-stat { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: clamp(16px, 1.8vw, 20px); color: #fff; }
.im-phone-stat svg { width: 17px; height: 17px; color: #8b7bf0; }
.im-phone-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9a97b8; font-weight: 600; margin-top: 6px; }
.im-gp-copy { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); max-width: 820px; }
.im-gp-title { font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: clamp(28px, 4.5vw, 52px); line-height: 1.15; letter-spacing: -.02em; }
.im-gp-text { font-family: 'Inter', sans-serif; font-size: clamp(15px, 1.8vw, 17px); line-height: 1.6; color: #e8e6f2; }

/* ---------- How it works ---------- */
.im-gh-hero { background: var(--im-card); border-radius: 24px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); }
.im-gh-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--im-accent); }
.im-gh-title { margin-top: 20px; font-weight: 500; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.02em; }
.im-gh-lede { margin-top: 24px; max-width: 52ch; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; color: var(--im-dim); }
.im-gh-steps { position: relative; padding: clamp(28px, 4vw, 44px) 0 24px clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
#im-gh-connectors { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.im-gh-num { font-size: clamp(40px, 5vw, 56px); font-weight: 700; color: var(--im-accent); line-height: 1; }
.im-gh-days { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--im-accent); }
.im-gh-h { margin-top: 4px; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.01em; width: fit-content; }
.im-gh-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.im-gh-p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--im-dim); }
.im-gh-tracks { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.im-gh-card { background: var(--im-card); border-radius: 16px; padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.im-gh-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.im-gh-tracklabel { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.im-gh-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.im-gh-card p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--im-dim); }
.im-gh-23 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.im-promise { background: #050507; border: 1px solid rgba(130,120,235,.45); box-shadow: 0 -28px 90px rgba(110,95,235,.6), 0 -6px 24px rgba(130,120,235,.35), 0 0 60px rgba(110,95,235,.2) inset; border-radius: 24px; padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 80px); text-align: center; margin-top: clamp(24px, 4vw, 48px); }
.im-promise-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.im-promise h2 { margin-top: 18px; font-size: clamp(24px, 3.4vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.im-promise p { margin: 18px auto 0; max-width: 72ch; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.7; color: rgba(255,255,255,.85); }

/* ---------- Trusted stats (glow cards) ---------- */
.im-ts { font-family: 'DM Sans', sans-serif; container-type: inline-size; }
.im-ts-heading { font-family: 'Instrument Sans', sans-serif; font-size: clamp(34px, 4.6vw, 58px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; max-width: 720px; margin: 28px 0 64px; text-wrap: pretty; }
.im-ts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.im-ts-card { --x: 50%; --y: 50%; --o: 0; position: relative; overflow: hidden; border-radius: 12px; padding: 32px 28px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; border: 1px solid rgba(255,255,255,.07); transform: translateY(calc(var(--o) * -5px)); box-shadow: 0 calc(var(--o) * 18px) calc(var(--o) * 44px) rgba(0,0,0,.5); transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s cubic-bezier(.22,1,.36,1); }
.im-ts-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px circle at var(--x) var(--y), rgba(var(--glow), calc(.4 * var(--o))), transparent 70%); }
.im-ts-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 12px; background: radial-gradient(360px circle at var(--x) var(--y), rgba(255,255,255, calc(.06 * var(--o))), transparent 65%); border: 1px solid rgba(var(--glow), calc(.7 * var(--o))); }
.im-ts-card > * { position: relative; z-index: 1; }
.im-ts-title { font-size: 22px; font-weight: 600; line-height: 1.25; max-width: 170px; }
.im-ts-logo { font-size: 26px; font-weight: 700; line-height: 1.05; white-space: pre-line; }
.im-ts-statrow { display: flex; align-items: center; gap: 10px; }
.im-ts-stat { font-size: clamp(24px, 2.6cqw, 44px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.im-ts-label { color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .08em; font-weight: 500; margin-top: 12px; text-transform: uppercase; }
.im-ts-c1 { background: #130503; --glow: 255, 90, 70; }
.im-ts-c2 { background: #090816; --glow: 120, 110, 255; }
.im-ts-c3 { background: #090f18; --glow: 90, 150, 255; }
.im-ts-c4 { background: #0e0e0e; --glow: 235, 235, 235; }
.im-ts-c5 { background: #130508; --glow: 255, 130, 60; }
@container (max-width: 860px) {
  .im-ts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .im-ts-card { min-height: 130px; padding: 24px 20px; justify-content: center; }
  .im-ts-card:first-child { grid-column: 1 / -1; }
  .im-ts-title, .im-ts-logo { display: none; }
  .im-ts-stat { font-size: 36px; }
}

/* ---------- Growth funnel (medium/mobile only, as original) ---------- */
.im-gmf { --gmf-line: rgba(167,163,240,.55); container-type: inline-size; display: none; }
@media (max-width: 1024px) { .im-gmf { display: block; } }
.im-gmf-title { text-align: center; font-size: clamp(24px, 5.5cqw, 48px); font-weight: 800; line-height: 1.25; margin-bottom: 64px; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.im-gmf.im-animate .im-gmf-title { opacity: 1; transform: translateY(0); }
.im-gmf-grid { --gmf-cols: 1fr minmax(200px, 620px) 1fr; display: grid; grid-template-columns: var(--gmf-cols); align-items: start; column-gap: 8px; }
.im-gmf-colhead { font-size: clamp(11px, 1.6cqw, 19px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.45; margin-bottom: 40px; justify-self: center; width: max-content; max-width: 46cqw; opacity: 0; transform: translateY(16px); transition: opacity .6s ease .25s, transform .6s cubic-bezier(.22,1,.36,1) .25s; }
.im-gmf.im-animate .im-gmf-colhead { opacity: 1; transform: translateY(0); }
.im-gmf-row { display: grid; grid-column: 1 / -1; grid-template-columns: var(--gmf-cols); align-items: center; position: relative; height: clamp(52px, 11cqw, 84px); }
.im-gmf-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gmf-line); transform: scaleX(0); transform-origin: 50% 50%; transition: transform .8s cubic-bezier(.22,1,.36,1); transition-delay: calc(.35s + var(--i) * .18s); }
.im-gmf.im-animate .im-gmf-row::before { transform: scaleX(1); }
.im-gmf-seg { grid-column: 2; justify-self: center; width: calc(100% - var(--i) * 9%); height: clamp(38px, 8cqw, 62px); display: flex; align-items: center; justify-content: center; clip-path: polygon(0 0, 100% 0, 90% 78%, 72% 96%, 50% 100%, 28% 96%, 10% 78%); background: var(--seg-bg); color: var(--seg-color); font-size: clamp(10px, 2.6cqw, 24px); font-weight: 600; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; opacity: 0; transform: translateY(-34px) scale(.85); transition: opacity .55s ease, transform .65s cubic-bezier(.34,1.4,.5,1); transition-delay: calc(.45s + var(--i) * .18s); position: relative; z-index: 1; }
.im-gmf.im-animate .im-gmf-seg { opacity: 1; transform: translateY(0) scale(1); animation: im-gmf-breathe 4s ease-in-out calc(1.8s + var(--i) * .18s) infinite; }
@keyframes im-gmf-breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }
.im-gmf-mark { justify-self: center; width: clamp(18px, 3.6cqw, 34px); height: clamp(18px, 3.6cqw, 34px); opacity: 0; transform: scale(.2) rotate(-30deg); transition: opacity .4s ease, transform .5s cubic-bezier(.34,1.8,.5,1); transition-delay: calc(.75s + var(--i) * .18s); }
.im-gmf-mark--left { grid-column: 1; } .im-gmf-mark--right { grid-column: 3; }
.im-gmf.im-animate .im-gmf-mark { opacity: 1; transform: scale(1) rotate(0); }
.im-gmf-mark svg { width: 100%; height: 100%; display: block; }
.im-gmf-mark .im-gmf-check-path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .45s ease-out; transition-delay: calc(.9s + var(--i) * .18s); }
.im-gmf.im-animate .im-gmf-mark .im-gmf-check-path { stroke-dashoffset: 0; }
@container (max-width: 560px) {
  .im-gmf-grid { --gmf-cols: 44px minmax(0, 1fr) 44px; }
  .im-gmf-seg { width: calc(100% - var(--i) * 7%); letter-spacing: .05em; }
  .im-gmf-colhead { font-size: 10px; letter-spacing: .04em; margin-bottom: 24px; }
}

/* ---------- Team ---------- */
.im-team-head { text-align: center; max-width: 720px; margin: 0 auto; }
.im-team-head h2 { font-family: 'Instrument Sans', sans-serif; font-size: clamp(34px, 4.6vw, 58px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.im-team-head p { margin-top: 16px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; color: var(--im-dim); }
.im-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.im-member { background: #fff; border-radius: 14px; padding: clamp(28px, 3.2vw, 48px) 24px clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.im-member img { width: clamp(130px, 14vw, 180px); height: clamp(130px, 14vw, 180px); border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.im-member h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: #17171c; }
.im-member .im-role { color: #55555f; font-size: 15px; }
.im-socials { display: flex; gap: 16px; margin-top: 14px; }
.im-socials a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; transition: opacity .2s ease; }
.im-socials a:hover { opacity: .55; }
.im-socials svg { width: 18px; height: 18px; fill: #17171c; }

/* ---------- Tech partners ---------- */
.im-tech-heading { font-family: 'Instrument Sans', sans-serif; font-size: clamp(34px, 4.6vw, 58px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; max-width: 1000px; margin: clamp(20px, 3vw, 34px) auto 0; text-align: center; text-wrap: balance; }
.im-tech-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(40px, 5vw, 72px); max-width: 1180px; margin-left: auto; margin-right: auto; }
.im-tpcard { --x: 50%; --y: 50%; --glow: 0; position: relative; border-radius: 14px; background: linear-gradient(165deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 38%, rgba(255,255,255,0) 55%), linear-gradient(180deg,#181818,#0a0a0a); border: 1px solid rgba(255,255,255,0.07); min-height: clamp(78px, 9vw, 104px); display: flex; align-items: center; justify-content: center; padding: 10px 14px; cursor: pointer; transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .35s ease; will-change: transform; }
.im-tpcard::before { content: ""; position: absolute; inset: 0; border-radius: 14px; padding: 1px; background: radial-gradient(220px circle at var(--x) var(--y), rgba(150,110,255,0.9), rgba(90,140,255,0.25) 40%, transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: var(--glow); transition: opacity .25s; }
.im-tpcard::after { content: ""; position: absolute; inset: 0; border-radius: 14px; background: radial-gradient(200px circle at var(--x) var(--y), rgba(130,90,255,0.16), transparent 60%); opacity: var(--glow); transition: opacity .25s; }
.im-tpcard.im-hot { transform: translateY(-4px) scale(1.015); border-color: rgba(220,205,255,0.85); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 0 30px rgba(200,180,255,0.12), 0 0 22px 4px rgba(250,247,255,0.85), 0 0 55px 14px rgba(190,165,255,0.55), 0 0 130px 45px rgba(135,105,255,0.35); }
.im-tpcard img { position: relative; max-width: 80%; max-height: clamp(38px, 6vw, 58px); width: auto; height: auto; object-fit: contain; }

/* ---------- Testimonials ---------- */
.im-rev-head { max-width: 880px; margin: 0 auto; text-align: center; }
.im-rev-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 18px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #cfcde8; }
.im-rev-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--im-purple); }
.im-rev-head h2 { font-family: 'Instrument Sans', sans-serif; font-size: clamp(34px, 4.6vw, 58px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin-top: 24px; }
.im-rev-head > p { margin-top: 18px; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.6; color: #fff; }
.im-rating { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; background: #101016; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 26px; text-align: left; }
.im-rating b { font-size: 26px; font-weight: 700; }
.im-rating-right { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.im-rating-right span { color: #fff; font-size: 12px; }
.im-stars { display: flex; gap: 3px; }
.im-stars svg { width: 15px; height: 15px; fill: #fbbf24; }
.im-rev-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(28px, 3.5vw, 44px); }
.im-chip { background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 18px; color: #d6d4e6; font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.im-chip:hover { border-color: rgba(255,255,255,.4); }
.im-chip.im-on { background: var(--im-purple); border-color: var(--im-purple); color: #fff; }
.im-rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(28px, 3.5vw, 44px); }
.im-rev-card { position: relative; background: rgba(22,18,34,.55); border: 1px solid rgba(168,140,255,.16); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 13px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
.im-rev-card::after { content: "\201D"; position: absolute; top: 4px; right: 16px; font-family: Georgia, serif; font-size: 60px; line-height: 1; color: rgba(168,140,255,.22); }
.im-rev-top { display: flex; align-items: center; gap: 10px; padding-right: 26px; }
.im-rev-ava { width: 38px; height: 38px; border-radius: 50%; background: rgba(139,92,246,.22); color: #c9b8ff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.im-rev-who { min-width: 0; }
.im-rev-who b { display: block; font-size: 14px; font-weight: 600; color: #ffffff; }
.im-rev-who span { display: block; font-size: 12px; color: #b4b1c7; margin-top: 2px; }
.im-rev-g { margin-left: auto; width: 26px; height: 26px; border-radius: 6px; background: #fff; border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; flex: none; }
.im-rev-g svg { width: 15px; height: 15px; }
.im-rev-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.im-verified { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 600; color: #d6d4e6; }
.im-verified svg { width: 11px; height: 11px; fill: #34d17f; }
.im-rev-text { font-size: 13.5px; line-height: 1.65; color: #c9c7d4; border-bottom: 1px solid rgba(255,255,255,.09); padding-bottom: 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.im-rev-card.im-open .im-rev-text { -webkit-line-clamp: unset; }
.im-rev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.im-rev-foot a { font-size: 13px; font-weight: 600; color: #ffffff; }
.im-rev-tag { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); border-radius: 999px; padding: 5px 12px; font-size: 11px; color: #c9c7d4; white-space: nowrap; }
.im-rev-date { font-size: 11px; color: #8f8ca0; }
.im-rev-more { margin: 40px auto 0; display: block; background: var(--im-purple); color: #fff; border: 0; border-radius: 999px; padding: 15px 34px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s ease; }
.im-rev-more:hover { background: #8c36da; }

/* ---------- Pre-footer CTA (stage light) ---------- */
.im-stage { position: relative; margin-top: clamp(48px, 7vw, 96px); background: #000; overflow: hidden; text-align: center; padding: clamp(90px, 14vh, 160px) 20px clamp(70px, 10vh, 120px); }
.im-stage-beam { position: absolute; top: clamp(60px, 10vh, 110px); left: 50%; transform: translateX(-50%); width: min(1150px, 72vw); height: 4px; border-radius: 999px; background: linear-gradient(90deg, transparent, #a89bff 12%, #cfc6ff 50%, #a89bff 88%, transparent); filter: blur(1px); opacity: 0; }
.im-stage-light { position: absolute; top: clamp(60px, 10vh, 110px); left: 50%; transform: translateX(-50%); width: min(1700px, 118vw); height: 560px; pointer-events: none; background: linear-gradient(180deg, rgba(103,80,240,.5) 0%, rgba(80,60,200,.26) 22%, rgba(58,44,150,.12) 45%, rgba(40,30,110,.05) 65%, transparent 82%); clip-path: polygon(16% 0%, 84% 0%, 104% 100%, -4% 100%); filter: blur(22px); opacity: 0; }
.im-stage.im-lit .im-stage-beam { animation: imBeamOn 1.2s ease .1s forwards; }
.im-stage.im-lit .im-stage-light { animation: imLightOn 1.6s ease .3s forwards; }
@keyframes imBeamOn { 0% { opacity: 0; } 40% { opacity: .4; } 55% { opacity: .15; } 100% { opacity: 1; } }
@keyframes imLightOn { 0% { opacity: 0; } 45% { opacity: .3; } 60% { opacity: .18; } 100% { opacity: 1; } }
.im-stage-icons { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3.4vw, 48px); margin-bottom: clamp(44px, 6vw, 72px); }
.im-stage-icons span { display: flex; align-items: center; justify-content: center; background: rgba(148,136,255,.07); border: 1px solid rgba(170,158,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 14px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); width: clamp(44px, 5vw, 64px); height: clamp(50px, 5.6vw, 72px); opacity: 0; transform: translateY(26px); transition: background .3s ease; }
.im-stage.im-lit .im-stage-icons span { animation: imIconUp .9s cubic-bezier(.22,1,.36,1) forwards, imFloat 5s ease-in-out 1.4s infinite; }
.im-stage-icons span:nth-child(1) { animation-delay: .5s, 1.4s; }
.im-stage-icons span:nth-child(2) { width: clamp(56px, 6.4vw, 88px); height: clamp(62px, 7vw, 96px); border-radius: 18px; animation-delay: .62s, 2.1s; }
.im-stage-icons span:nth-child(3) { width: clamp(70px, 8vw, 110px); height: clamp(76px, 8.6vw, 118px); border-radius: 22px; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); animation-delay: .74s, 1.7s; }
.im-stage-icons span:nth-child(4) { width: clamp(56px, 6.4vw, 88px); height: clamp(62px, 7vw, 96px); border-radius: 18px; animation-delay: .86s, 2.5s; }
.im-stage-icons span:nth-child(5) { animation-delay: .98s, 1.9s; }
.im-stage-icons span:hover { background: rgba(160,148,255,.2); }
.im-stage-icons svg { width: 44%; height: 44%; fill: rgba(150,142,235,.75); }
@keyframes imIconUp { to { opacity: 1; transform: translateY(0); } }
@keyframes imFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.im-stage h2 { position: relative; font-weight: 500; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -.01em; line-height: 1.15; color: #fff; opacity: 0; transform: translateY(22px); }
.im-stage p { position: relative; margin: 16px auto 30px; max-width: 62ch; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.6; color: #c9c6e2; opacity: 0; transform: translateY(22px); }
.im-stage .im-btn { position: relative; opacity: 0; transform: translateY(22px); }
.im-stage.im-lit h2 { animation: imIconUp .9s cubic-bezier(.22,1,.36,1) .7s forwards; }
.im-stage.im-lit p { animation: imIconUp .9s cubic-bezier(.22,1,.36,1) .85s forwards; }
.im-stage.im-lit .im-btn { animation: imIconUp .9s cubic-bezier(.22,1,.36,1) 1s forwards; }


/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .im-wwd-row-top, .im-wwd-row-bottom { grid-template-columns: repeat(2, 1fr); }
  .im-gp-grid { grid-template-columns: 1fr; }
  .im-gp-grid .im-social-cases { order: 2; }
  .im-team-grid { grid-template-columns: repeat(3, 1fr); }
  .im-rev-grid { grid-template-columns: repeat(2, 1fr); }
  .im-tech-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .im-ts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .im-ts-card { min-height: 130px; padding: 24px 20px; justify-content: center; }
  .im-ts-card:first-child { grid-column: 1 / -1; }
  .im-ts-title, .im-ts-logo { display: none; }
  .im-ts-stat { font-size: 36px; }
  .im-team-grid { grid-template-columns: 1fr; gap: 40px; }
  .im-rev-grid { grid-template-columns: repeat(2, 1fr); }
  .im-foot-cols { grid-template-columns: 1fr; }
  .im-tech-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .im-tpcard { min-height: 56px; padding: 8px 10px; border-radius: 10px; }
  .im-tpcard::before, .im-tpcard::after { border-radius: 10px; }
  .im-tpcard img { max-height: 30px; max-width: 86%; }
}
@media (max-width: 640px) {
  .im-wwd-row-top, .im-wwd-row-bottom { grid-template-columns: 1fr; }
  .im-rev-grid:not(.im-show-all) .im-rev-card:nth-child(n+4) { display: none !important; }
  .im-social-cases { gap: 10px; }
  .im-rev-grid { grid-template-columns: 1fr; }
  .im-tech-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 560px) {
  .im-ts-stat { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .im-page *, .im-page *::before { transition-duration: .01s !important; transition-delay: 0s !important; animation: none !important; }
}
