/* ============================================================
   saletracer.com — AI-native performance marketing
   Aesthetic: refined-minimal, Apple-grade, indigo→cyan AI energy
   ============================================================ */

:root {
  --blue: #4632DA;        /* brand primary indigo */
  --blue-deep: #2A1C9E;
  --cyan: #06D9FA;        /* electric accent */
  --slate: #3D4459;
  --ink: #0B0B14;         /* near-black */
  --text: #353535;
  --muted: #6B7080;
  --line: #ECEDF2;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FB;
  --bg-dark: #07060F;     /* agentic section */
  --glass: rgba(255,255,255,.16); /* shared hero-panel fill — both boxes, transparent + identical */

  --grad: linear-gradient(115deg, var(--blue) 0%, #6A4BFF 45%, var(--cyan) 100%);
  --grad-text: linear-gradient(100deg, var(--blue) 0%, #6A4BFF 50%, var(--cyan) 110%);

  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(11,11,20,.05), 0 4px 14px rgba(11,11,20,.04);
  --shadow: 0 10px 40px -12px rgba(70,50,218,.22), 0 4px 18px rgba(11,11,20,.06);
  --shadow-lg: 0 40px 90px -30px rgba(70,50,218,.40);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--cyan); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; color: var(--ink); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(6,217,250,.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer; border: none;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  will-change: transform;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(11,11,20,.5); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(70,50,218,.55); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -10px rgba(70,50,218,.7); }
.btn-ghost { background: rgba(255,255,255,.0); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  transition: all .45s var(--ease);
  padding: 18px 0;
}
.nav-inner {
  width: calc(100% - 40px); max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 22px; border-radius: 100px;
  transition: all .45s var(--ease);
}
.nav.scrolled { padding: 10px 0; }
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 6px 30px -12px rgba(11,11,20,.18); border: 1px solid rgba(255,255,255,.6);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad); position: relative;
  box-shadow: 0 6px 16px -4px rgba(70,50,218,.6);
}
.brand .mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 9px;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.9), transparent 45%);
}
.brand .mark .ping { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(6,217,250,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(6,217,250,.6)} 70%{box-shadow:0 0 0 9px rgba(6,217,250,0)} 100%{box-shadow:0 0 0 0 rgba(6,217,250,0)} }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .25s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-5px; height:2px; width:0; background:var(--grad); transition:width .3s var(--ease-out); border-radius:2px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav .btn { padding: 11px 22px; font-size: 14.5px; }
.burger { display: none; }

/* dark-hero sub-pages: white nav contents until the scrolled (frosted) state activates */
.brand img.logo { transition: filter .35s var(--ease); }
.nav-over-dark:not(.scrolled) .brand img.logo { filter: brightness(0) invert(1); }
.nav-over-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,.82); }
.nav-over-dark:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav-over-dark:not(.scrolled) .burger span { background: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 190px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero-bg .b1 { width: 540px; height: 540px; background: radial-gradient(circle, rgba(70,50,218,.45), transparent 65%); top: -120px; right: -80px; }
.hero-bg .b2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(6,217,250,.40), transparent 65%); top: 180px; right: 280px; animation: float 14s ease-in-out infinite; }
.hero-bg .b3 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(106,75,255,.30), transparent 65%); bottom: -120px; left: -60px; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }
/* hero journey map (channels → touchpoints → conversion) */
#journey { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.journey .edge { stroke: rgba(70,50,218,.2); stroke-width: 1.4; }
.journey .trail { stroke: rgba(6,217,250,.9); stroke-width: 2.5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 4px rgba(6,217,250,.6)); }
.journey .chip { fill: rgba(255,255,255,.7); stroke: rgba(70,50,218,.18); stroke-width: 1.5; }
.journey .chip.conv { fill: rgba(255,255,255,.88); stroke: rgba(6,217,250,.55); }
.journey .icon { fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.journey .icon.fill { fill: var(--blue); stroke: none; }
.journey .nlabel { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; fill: var(--slate); text-anchor: middle; opacity: .72; }
.journey .nlabel.conv { fill: var(--blue); font-weight: 700; opacity: .9; }
.journey .ilabel { font-family: var(--font-body); font-size: 11px; font-weight: 700; fill: var(--blue); text-anchor: middle; }
.journey .token { fill: var(--cyan); filter: drop-shadow(0 0 5px rgba(6,217,250,.9)); }
.journey .ping { fill: none; stroke: var(--cyan); stroke-width: 2; }
@media (max-width: 720px) { .journey .nlabel, .journey .ilabel { font-size: 9.5px; } .journey .nlabel { opacity: .5; } .journey .nlabel.conv { opacity: .8; } }

.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy {
  max-width: 600px; padding: 38px 40px 42px; border-radius: var(--radius-lg);
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-lg);
}
/* draggable hero panels (peek at the map behind) — mouse only */
@media (hover: hover) and (pointer: fine) {
  .hero-copy, .agent-card { cursor: grab; }
  .hero-copy.dragging, .agent-card.dragging { cursor: grabbing; }
}
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); margin: 22px 0 0; line-height: 1.05; }
.hero h1 .line { display: block; overflow: visible; }
/* WebKit background-clip:text clips the gradient at the line box, hiding descenders — pad the gradient span so its fill covers g/y/q/p */
.hero h1 .grad-text { display: inline-block; padding-bottom: 0.22em; margin-bottom: -0.16em; }
.hero p.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--slate); margin: 26px 0 0; max-width: 540px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-meta .m b { font-family: var(--font-display); font-size: 30px; color: var(--ink); display: block; letter-spacing: -.03em; }
.hero-meta .m span { font-size: 13.5px; color: var(--muted); }

/* hero visual card (agent monitor) */
.hero-visual { position: relative; }
.agent-card {
  background: var(--glass); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.agent-card .dot-row { display: flex; gap: 7px; margin-bottom: 16px; }
.agent-card .dot-row button { width: 12px; height: 12px; border-radius: 50%; border: none; padding: 0; background: var(--line); cursor: pointer; transition: transform .15s var(--ease-out), filter .15s; -webkit-tap-highlight-color: transparent; }
.agent-card .dot-row button:nth-child(1){ background:#ff5f57 } .agent-card .dot-row button:nth-child(2){ background:#febc2e } .agent-card .dot-row button:nth-child(3){ background:#28c840 }
.agent-card .dot-row button:hover { transform: scale(1.28); filter: brightness(.9); }
/* window controls: minimize / zoom / close states */
.agent-card { transition: transform .4s var(--ease-expo), opacity .35s var(--ease-expo); transform-origin: right center; }
.agent-card .agent-log { overflow: hidden; max-height: 520px; transition: max-height .45s var(--ease-expo), opacity .3s, margin .3s; }
.agent-card.is-min .agent-log { max-height: 0; opacity: 0; margin-top: 0; }
.agent-card.is-max { transform: scale(1.28); z-index: 6; box-shadow: 0 50px 120px -28px rgba(70,50,218,.5); }
.agent-card.is-closed { opacity: 0; transform: scale(.82); pointer-events: none; }
.reopen-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.92); display: none; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 100px; border: 1px solid rgba(255,255,255,.7); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow); font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .35s, transform .35s var(--ease-expo); }
.agent-card.is-closed ~ .reopen-card { display: inline-flex; opacity: 1; transform: translate(-50%,-50%) scale(1); }
.agent-log { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
.agent-log .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); opacity: 0; transform: translateY(6px); }
.agent-log .row.on { opacity: 1; transform: none; transition: all .5s var(--ease-out); }
.agent-log .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; color: #fff; white-space: nowrap; }
.agent-log .ok { margin-left: auto; color: #16a34a; font-weight: 600; }
.t-research{background:#4632DA}.t-ppc{background:#0EA5E9}.t-seo{background:#8B5CF6}.t-social{background:#06B6D4}.t-creative{background:#EC4899}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 58px); margin: 16px 0 0; }
.section-head p { font-size: 18.5px; color: var(--muted); margin-top: 18px; line-height: 1.55; }
.pad { padding: 110px 0; }

/* ---------- Marquee trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg-soft); }
.trust .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.trust span { font-size: 14px; color: var(--muted); font-weight: 500; }
.trust .pill { font-family: var(--font-display); font-weight: 600; color: var(--slate); font-size: 15px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 100px; background: #fff; }

/* ---------- Agentic (dark) ---------- */
.agentic { background: var(--bg-dark); color: #fff; overflow: hidden; }
.agentic::before { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 50% at 80% 0%, rgba(70,50,218,.32), transparent 60%),
  radial-gradient(50% 50% at 10% 90%, rgba(6,217,250,.18), transparent 60%); }
.agentic .wrap { position: relative; z-index: 1; }
.agentic h2 { color: #fff; }
.agentic .section-head p { color: rgba(255,255,255,.62); }
.agentic .eyebrow { color: var(--cyan); }
.agentic .eyebrow::before { box-shadow: 0 0 0 4px rgba(6,217,250,.22); }

.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 56px; }
.loop .step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.loop .step .n { font-family: var(--font-display); font-size: 13px; color: var(--cyan); letter-spacing: .1em; }
.loop .step h4 { font-family: var(--font-display); font-size: 21px; margin: 12px 0 8px; color:#fff; }
.loop .step p { font-size: 14.5px; color: rgba(255,255,255,.6); line-height: 1.5; }
.loop .step::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.25); font-size: 18px; z-index: 2; }
.loop .step:last-child::after { content: "↺"; color: var(--cyan); right: -14px; }

.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent-tile {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 26px;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; position: relative; overflow: hidden;
}
.agent-tile::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .5s var(--ease-out); }
.agent-tile:hover { transform: translateY(-6px); border-color: rgba(6,217,250,.4); box-shadow: 0 30px 60px -30px rgba(6,217,250,.4); }
.agent-tile:hover::before { transform: scaleX(1); }
.agent-tile .ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(6,217,250,.12); border: 1px solid rgba(6,217,250,.25); display: grid; place-items: center; margin-bottom: 18px; }
.agent-tile .ic svg { width: 22px; height: 22px; stroke: var(--cyan); }
.agent-tile h4 { font-family: var(--font-display); font-size: 19px; color: #fff; margin-bottom: 7px; display:flex; align-items:center; gap:9px; }
.agent-tile .live { font-size: 10px; font-weight: 700; letter-spacing:.08em; color: #34d399; display:inline-flex; align-items:center; gap:5px; }
.agent-tile .live::before { content:""; width:6px;height:6px;border-radius:50%;background:#34d399; box-shadow:0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; }
.agent-tile p { font-size: 14.5px; color: rgba(255,255,255,.62); line-height: 1.5; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: #fff;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s; position: relative; overflow: hidden;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc .ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(180deg, rgba(70,50,218,.10), rgba(6,217,250,.10)); display: grid; place-items: center; margin-bottom: 20px; transition: transform .4s var(--ease-out); }
.svc:hover .ic { transform: scale(1.08) rotate(-4deg); }
.svc .ic svg { width: 24px; height: 24px; stroke: var(--blue); }
.svc h3 { font-size: 21px; margin-bottom: 9px; }
.svc p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.svc .ai { margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.svc .ai svg { width: 14px; height: 14px; stroke: var(--blue); }

/* ---------- Stats ---------- */
.stats { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 60px 40px; box-shadow: var(--shadow-lg); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stats .s b { font-family: var(--font-display); font-size: clamp(40px, 5vw, 62px); display: block; letter-spacing: -.04em; line-height: 1; }
.stats .s span { font-size: 14.5px; opacity: .85; margin-top: 10px; display: block; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.member { text-align: center; }
.member .av { width: 100%; aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: #fff; margin-bottom: 16px; position: relative; overflow: hidden; transition: transform .4s var(--ease-out); }
.member:hover .av { transform: translateY(-5px); }
.member .av span { position: relative; z-index: 1; }
.member .av::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 50%); }
.member h4 { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.member p { font-size: 13.5px; color: var(--muted); }
.av-1{background:linear-gradient(140deg,#4632DA,#6A4BFF)} .av-2{background:linear-gradient(140deg,#6A4BFF,#06D9FA)} .av-3{background:linear-gradient(140deg,#0EA5E9,#4632DA)} .av-4{background:linear-gradient(140deg,#3D4459,#4632DA)}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; position: relative; }
.quote .mark { font-family: var(--font-display); font-size: 70px; line-height: .6; color: var(--blue); opacity: .18; }
.quote p { font-size: 18px; color: var(--ink); line-height: 1.55; margin: 8px 0 22px; font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 13px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; }
.quote .who b { display: block; font-size: 15px; color: var(--ink); }
.quote .who span { font-size: 13px; color: var(--muted); }

/* ---------- CTA / Contact ---------- */
.cta { text-align: center; }
.cta-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 80px 40px; position: relative; overflow: hidden; }
.cta-card::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 50% 120%, rgba(70,50,218,.55), transparent 60%), radial-gradient(40% 60% at 80% -10%, rgba(6,217,250,.30), transparent 60%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(34px, 5vw, 64px); }
.cta-card p { color: rgba(255,255,255,.7); font-size: 19px; margin: 18px auto 34px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { background: var(--bg-dark); color: rgba(255,255,255,.6); padding: 70px 0 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-brand { max-width: 320px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 18px; opacity: .95; }
.foot-brand p { font-size: 14.5px; line-height: 1.6; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot-col a { display: block; font-size: 14.5px; margin-bottom: 11px; transition: color .25s; }
.foot-col a:hover { color: var(--cyan); }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 13.5px; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal animation (progressive enhancement: only hides when JS confirmed) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}.reveal.d5{transition-delay:.4s}.reveal.d6{transition-delay:.48s}

/* hero load stagger */
.js .hero .anim { opacity: 0; transform: translateY(26px); animation: rise .95s var(--ease-out) forwards; }
.hero .a1{animation-delay:.1s}.hero .a2{animation-delay:.22s}.hero .a3{animation-delay:.34s}.hero .a4{animation-delay:.46s}.hero .a5{animation-delay:.58s}
.hero-visual.anim{ animation-delay:.4s }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .loop, .agent-grid, .svc-grid, .stats-grid, .team-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .loop .step::after { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .hero { padding: 150px 0 60px; }
  .pad { padding: 76px 0; }
  .agent-grid, .svc-grid, .stats-grid, .team-grid, .quotes, .loop { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .reveal, .js .reveal, .reveal.in, .js .reveal.in { opacity: 1 !important; transform: none !important; }
  .hero .anim, .js .hero .anim { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   SUPERCHARGE v2 — shared sub-page system + homepage details
   ============================================================ */

:root {
  --z-nav: 100; --z-progress: 101; --z-drawer: 200; --z-toast: 300;
  --ease-expo: cubic-bezier(.16,1,.3,1);
  --maxw-prose: 68ch;
}

/* scroll progress bar */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: var(--z-progress);
  background: var(--grad); box-shadow: 0 0 12px rgba(6,217,250,.6); transition: width .1s linear; }

/* ---- mobile nav drawer ---- */
.burger { width: 40px; height: 40px; border-radius: 50%; border: none; background: transparent; cursor: pointer; place-items: center; gap: 3px; padding: 0; transition: background .25s; -webkit-tap-highlight-color: transparent; }
.burger:hover, .burger:active { background: rgba(70,50,218,.08); }
.burger span { display: block; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .35s var(--ease-expo), opacity .2s, background .3s; }
.burger.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); background: rgba(7,6,15,.6); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-expo); overflow: hidden; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(88vw, 400px); background: var(--bg); padding: 18px 26px 30px; transform: translateX(100%); transition: transform .5s var(--ease-expo); display: flex; flex-direction: column; box-shadow: -24px 0 70px -24px rgba(11,11,20,.28); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 52px; margin-bottom: 16px; }
.drawer-head .logo { height: 23px; width: auto; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, transform .35s var(--ease-expo); -webkit-tap-highlight-color: transparent; }
.drawer-close:hover { background: var(--line); transform: rotate(90deg); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { font-family: var(--font-display); font-size: 27px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line); transition: color .2s, padding-left .3s var(--ease-expo); }
.drawer-links a:hover { color: var(--blue); padding-left: 7px; }
.drawer-cta { margin-top: 26px; justify-content: center; color: #fff; font-size: 16px; padding: 16px 26px; }
.drawer-foot { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 8px; }
.drawer-foot a { font-size: 15px; color: var(--muted); transition: color .2s; }
.drawer-foot a:hover { color: var(--blue); }

/* ---- social-proof channel bars ---- */
.proof { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 46px; }
.proof-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.proof-head h3 { font-size: clamp(24px,3vw,34px); }
.proof-head p { color: var(--muted); font-size: 15px; max-width: 40ch; }
.bars { display: grid; gap: 20px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 52px; align-items: center; gap: 16px; }
.bar-row .lbl { font-weight: 600; font-size: 14.5px; color: var(--slate); }
.bar-track { height: 10px; border-radius: 100px; background: #e7e9f0; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 100px; background: var(--grad); transition: width 1.3s var(--ease-expo); }
.bar-row .pct { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

/* ---- process timeline (real ordered sequence — numbers earn their place) ---- */
.process { display: grid; gap: 0; }
.proc-step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.proc-step:last-child { border-bottom: 1px solid var(--line); }
.proc-step .num { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #fff; background: var(--ink); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.proc-step:hover .num { background: var(--blue); }
.proc-step h4 { font-family: var(--font-display); font-size: 21px; margin-bottom: 6px; }
.proc-step p { color: var(--muted); font-size: 15.5px; max-width: 60ch; }

/* ============ SUB-PAGE SYSTEM ============ */
.subhero { position: relative; padding: 170px 0 70px; overflow: hidden; }
.subhero.dark { background: var(--bg-dark); color: #fff; }
.subhero.dark::before { content:""; position:absolute; inset:0; background:
  radial-gradient(55% 60% at 85% 0%, rgba(70,50,218,.35), transparent 60%),
  radial-gradient(45% 50% at 5% 100%, rgba(6,217,250,.16), transparent 60%); }
.subhero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--muted); transition: color .2s; } .crumb a:hover { color: var(--blue); }
.crumb .sep { opacity: .5; }
.subhero.dark .crumb, .subhero.dark .crumb a { color: rgba(255,255,255,.55); }
.subhero h1 { font-size: clamp(40px, 6vw, 80px); max-width: 16ch; line-height: 1.08; padding-bottom: 0.22em; margin-bottom: -0.16em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.subhero.dark h1 { background: linear-gradient(100deg, #7d6cff 0%, #06d9fa 100%); -webkit-background-clip: text; background-clip: text; }
.subhero .tagline { font-size: clamp(18px,1.8vw,23px); color: var(--slate); margin-top: 22px; max-width: 56ch; line-height: 1.5; }
.subhero.dark .tagline { color: rgba(255,255,255,.7); }
.subhero .kpis { display: flex; gap: 38px; margin-top: 40px; flex-wrap: wrap; }
.subhero .kpis .k b { font-family: var(--font-display); font-size: 28px; display: block; letter-spacing: -.03em; }
.subhero .kpis .k span { font-size: 13px; color: var(--muted); }
.subhero.dark .kpis .k span { color: rgba(255,255,255,.55); }

/* prose / content blocks */
.lede { font-family: var(--font-display); font-size: clamp(22px,2.6vw,32px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); max-width: 24ch; }
.prose { max-width: var(--maxw-prose); }
.prose p { font-size: 17.5px; line-height: 1.7; color: var(--text); margin-bottom: 20px; text-wrap: pretty; }
.prose p strong { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 56px; align-items: start; }
.split.tight { gap: 40px; }

/* principle cards (best practices) */
.principles { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.principle { background: #fff; padding: 28px; transition: background .3s; }
.principle:hover { background: var(--bg-soft); }
.principle .pn { font-family: var(--font-display); font-size: 13px; color: var(--blue); font-weight: 700; }
.principle h4 { font-family: var(--font-display); font-size: 18px; margin: 8px 0 8px; color: var(--ink); }
.principle p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* strong points pill list */
.points { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.point { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .3s var(--ease-expo); }
.point:hover { border-color: var(--blue); transform: translateY(-3px); }
.point .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-top: 2px; }
.point .ck svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.point b { font-size: 14.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.point span { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* service cross-links */
.cross { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.cross-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .35s var(--ease-expo), box-shadow .35s, border-color .35s; }
.cross-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cross-card h4 { font-family: var(--font-display); font-size: 19px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.cross-card h4 svg { width: 18px; height: 18px; stroke: var(--blue); transition: transform .3s var(--ease-expo); }
.cross-card:hover h4 svg { transform: translateX(4px); }
.cross-card p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* contact info grid */
.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, rgba(70,50,218,.1), rgba(6,217,250,.1)); display: grid; place-items: center; margin-bottom: 16px; }
.info-card .ic svg { width: 22px; height: 22px; stroke: var(--blue); }
.info-card h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.info-card a, .info-card p { font-size: 15px; color: var(--slate); line-height: 1.5; }
.info-card a:hover { color: var(--blue); }

/* form */
.cform { display: grid; gap: 16px; }
.cform .field label { font-size: 13px; font-weight: 600; color: var(--slate); display: block; margin-bottom: 7px; }
.cform input, .cform textarea { width: 100%; font: inherit; font-size: 15.5px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(70,50,218,.12); }
.cform textarea { min-height: 130px; resize: vertical; }

/* generic two-up feature row */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .points, .cross, .info-grid { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .points, .cross, .info-grid, .row2, .bar-row { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 90px 1fr 46px; }
  .proof { padding: 30px 22px; }
  .proc-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .subhero { padding: 140px 0 50px; }
}

/* ============================================================
   SUPERCHARGE v3 — real imagery (logo, photos, client marquee)
   ============================================================ */

/* brand logo image in nav */
.brand img.logo { height: 26px; width: auto; display: block; }
footer .foot-brand img { height: 30px; width: auto; }

/* client logo marquee */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; background: #fff; overflow: hidden; }
.logos .label { text-align: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll-x 38s linear infinite; }
.logos:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 26px; width: auto; opacity: .42; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.marquee-track img:hover { opacity: .9; filter: grayscale(0); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* team member photos */
.member .photo { width: 100%; aspect-ratio: 4/3.1; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; position: relative; background: var(--bg-soft); transition: transform .4s var(--ease-out); }
.member:hover .photo { transform: translateY(-5px); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.member:hover .photo img { transform: scale(1.05); }
.member .photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -40px 50px -30px rgba(70,50,218,.25); opacity: 0; transition: opacity .4s; }
.member:hover .photo::after { opacity: 1; }

/* testimonial photo avatar */
.quote .who img.avphoto { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* lifestyle image frame */
.imgframe { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.imgframe img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgframe.glow::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); border-radius: var(--radius-lg); pointer-events:none; }
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-split.rev > .imgframe { order: -1; }

@media (max-width: 980px) {
  .media-split { grid-template-columns: 1fr; gap: 32px; }
  .media-split.rev > .imgframe { order: 0; }
}

/* taste pass — relocated hero fact strip (out of hero stack) */
.factstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.factstrip .wrap { display: flex; gap: 52px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.factstrip .m b { font-family: var(--font-display); font-size: 25px; color: var(--ink); display: block; letter-spacing: -.03em; }
.factstrip .m span { font-size: 13px; color: var(--muted); }

/* mobile nav declutter + button sizing (CTA lives in hero + menu) */
@media (max-width: 720px) {
  .nav-cta { gap: 6px; }
  .nav-cta .btn-grad { padding: 9px 16px; font-size: 13px; }
  .nav-cta .btn-grad .arr { display: none; }
  .nav-inner { padding: 7px 8px 7px 16px; }
  .brand img.logo { height: 32px; }
  .btn { padding: 12px 20px; font-size: 14.5px; }
  .hero-actions .btn { padding: 13px 22px; }
  .hero h1 { font-size: clamp(40px, 13vw, 60px); }
  .hero-copy { padding: 26px 22px 30px; }
}
