/* ==========================================================================
   SpartanLeadz — global styles
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #0a0a0b;
  --bg-3: #111113;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f5f4;
  --muted: #a3a3a8;
  --dim: #6b6b72;

  --brand: #780d0d;          /* SpartanLeadz brand red */
  --red: #e3122b;            /* bright accent of the brand red */
  --red-2: #ff3b4e;
  --red-glow: rgba(227, 18, 43, 0.45);
  --red-soft: rgba(227, 18, 43, 0.12);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}
h1 { font-size: clamp(44px, 7.4vw, 104px); }
h2 { font-size: clamp(36px, 5.2vw, 72px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.grad-text {
  background: linear-gradient(100deg, #fff 0%, #ffd5d9 30%, var(--red-2) 60%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.6; max-width: 640px; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px; --pad-x: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 var(--pad-x);
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.btn--primary { color: #fff; background: #c8102e; }
.btn--primary:hover { background: #ad0d27; }

.btn--ghost { color: var(--text); background: transparent; border-color: rgba(255, 255, 255, 0.16); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }

.btn--sm { --h: 36px; --pad-x: 14px; font-size: 14px; border-radius: 8px; }
.btn--lg { --h: 50px; --pad-x: 24px; font-size: 15.5px; }

/* ---------- Scroll progress ---------- */
.progress {
  display: none;
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 1001;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), var(--red), var(--red-2));
  box-shadow: 0 0 12px var(--red);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--gutter);
  transition: transform 0.5s var(--ease);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(10, 10, 11, 0.7);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
}
.nav.is-hidden { transform: translateY(-140%); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.logo__mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red) 0%, var(--brand) 70%, #3a0606 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 6px 20px -6px var(--red-glow);
}
.logo__mark img { width: 24px; height: 24px; }
.logo span em { font-style: normal; color: var(--red); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav__cta { display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 100px var(--gutter) 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu a.mm-link { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; transform: translateY(20px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }
.nav-open .mobile-menu { opacity: 1; pointer-events: auto; }
.nav-open .mobile-menu a.mm-link { transform: none; opacity: 1; }
.nav-open .mobile-menu a.mm-link:nth-child(2) { transition-delay: 0.05s; }
.nav-open .mobile-menu a.mm-link:nth-child(3) { transition-delay: 0.1s; }
.nav-open .mobile-menu a.mm-link:nth-child(4) { transition-delay: 0.15s; }
.nav-open .mobile-menu a.mm-link:nth-child(5) { transition-delay: 0.2s; }

/* ---------- Background FX ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
  will-change: transform;
}
.orb--1 { width: 900px; height: 620px; background: radial-gradient(ellipse, rgba(200, 16, 46, 0.75) 0%, transparent 65%); top: -300px; left: 50%; margin-left: -450px; opacity: 0.5; animation: drift1 18s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(40px, 30px) scale(1.08); } }
@keyframes drift2 { 50% { transform: translate(90px, -40px) scale(0.9); } }
@keyframes drift3 { 50% { transform: translate(-80px, 60px) scale(1.15); } }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero__fx { position: absolute; inset: 0; z-index: -1; }
.hero__inner { display: grid; gap: 30px; justify-items: center; text-align: center; }
.hero h1 { max-width: 1100px; }
.hero h1 .serif { font-size: 1.04em; }
.hero .lead { max-width: 700px; text-align: center; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  font-size: 14px;
  color: var(--muted);
}
.pill b { color: var(--text); font-weight: 600; }
.pill__tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #c8102e;
}

.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 16px; height: 16px; color: var(--red); flex: none; }

/* ---------- Logo marquee ---------- */
.logos { padding: 40px 0 20px; }
.logos__label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.logos__label b { color: var(--text); font-weight: 500; }
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); padding-right: clamp(48px, 7vw, 96px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  color: #fff;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand-logo:hover { opacity: 1; transform: translateY(-2px); }
.brand-logo img { height: 100%; width: auto; filter: brightness(0) invert(1); }
.brand-logo--tonal img { filter: grayscale(1) invert(1); }
.brand-logo--icon img { height: 30px; }
.brand-logo--wide img { height: 34px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line); position: relative; }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.045em; line-height: 1; }
.stat__num .accent { color: inherit; }
.stat__label { margin-top: 12px; font-size: 14.5px; color: var(--muted); max-width: 220px; }
.stat::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
  transition: width 1.4s var(--ease);
}
.stat.is-in::before { width: 70%; }

/* ---------- Cards / spotlight ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.06), transparent 45%);
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }

/* ---------- Fit section ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit .card { padding: clamp(28px, 4vw, 48px); }
.fit h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.fit__badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fit__badge svg { width: 18px; height: 18px; }
.fit--yes { border-color: var(--line-2) !important; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 60%); }
.fit--yes .fit__badge { background: var(--red); box-shadow: 0 0 30px -4px var(--red-glow); }
.fit--no .fit__badge { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); }
.fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.fit li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.fit li:first-child { border-top: 0; }
.fit li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.fit--yes li svg { color: var(--text); }
.fit--no li { color: var(--muted); }
.fit--no li svg { color: var(--dim); }

/* ---------- Process (sticky steps) ---------- */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.process__sticky { position: sticky; top: 130px; display: grid; gap: 24px; }
.process__steps { position: relative; display: grid; gap: 16px; padding-left: 40px; }
.process__rail { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process__rail i { position: absolute; inset: 0; transform-origin: 0 0; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.4)); }
.step { padding: 30px 32px; }
.step__dot { position: absolute; left: -40px; top: 34px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color 0.4s, box-shadow 0.4s; }
.step { overflow: visible; }
.step.is-active .step__dot { border-color: #fff; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08); }
.step__num { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--muted); }
.step ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.step li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1.5px; background: var(--dim); }

/* ---------- Inbox / reply intel ---------- */
.intel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.inbox { display: grid; gap: 14px; }
.mail { padding: 20px 22px; display: grid; gap: 10px; }
.mail__top { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dim); }
.mail__avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: #fff; background: linear-gradient(145deg, #2a2a2e, #18181b); border: 1px solid var(--line-2); }
.mail__tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; }
.mail__tag--hot { background: var(--red-soft); color: var(--red-2); border: 1px solid rgba(227, 18, 43, 0.35); }
.mail__tag--ok { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid var(--line-2); }
.mail__body { font-size: 15px; color: var(--text); }
.mail__foot { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mail__foot svg { width: 14px; height: 14px; color: var(--red); }
.mail:nth-child(2) { margin-left: 30px; }
.mail:nth-child(3) { margin-left: 60px; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { padding: 30px; display: flex; flex-direction: column; gap: 22px; cursor: pointer; text-align: left; width: 100%; }
.case:hover { transform: translateY(-6px); }
.case__tag { align-self: flex-start; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.case h3 { font-size: clamp(20px, 1.8vw, 24px); }
.case__metrics { display: grid; gap: 0; margin-top: auto; border-top: 1px solid var(--line); }
.case__metric { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case__metric b { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.04em; font-weight: 600; }
.case__metric span { font-size: 13.5px; color: var(--muted); text-align: right; max-width: 60%; }

.case__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.case__link svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.case:hover .case__link svg { transform: translateX(5px); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all 0.3s; }
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.filter.is-active { color: #0a0a0a; background: #f5f5f4; border-color: #f5f5f4; }
.case.is-hidden { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); }
.modal__panel { position: relative; width: 100%; max-width: 760px; max-height: 88vh; overflow: auto; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line-2); padding: clamp(28px, 4vw, 48px); transform: translateY(30px) scale(0.98); transition: transform 0.5s var(--ease); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9); }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.modal__close svg { width: 16px; height: 16px; }
.modal h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 26px; padding-right: 40px; }
.modal h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 30px 0 10px; font-family: var(--font-body); font-weight: 600; }
.modal p, .modal li { color: var(--muted); }
.modal ul { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.modal__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal__metrics div { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.modal__metrics b { display: block; font-family: var(--font-display); font-size: 30px; letter-spacing: -0.04em; }
.modal__metrics span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq__item.is-open { border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; font-size: 17px; font-weight: 500; }
.faq__icon { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: #f5f5f4; border-color: #f5f5f4; color: #0a0a0a; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA / booking ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  border: 1px solid var(--line-2);
  padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 70px);
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(200, 16, 46, 0.16), transparent 70%), linear-gradient(180deg, #0d0b0b, #070707);
}
.cta__head { text-align: center; display: grid; gap: 20px; justify-items: center; margin-bottom: 40px; }
.cta__head .lead { text-align: center; }
.cta__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: stretch; }
.cta__side { padding: 32px; display: grid; gap: 22px; align-content: start; }
.cta__side h3 { font-size: 22px; }
.cta__side ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.cta__side li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--muted); font-size: 15px; counter-increment: s; }
.cta__side li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.cta__side li b { color: var(--text); display: block; font-weight: 600; }
.calendly-box { border-radius: var(--radius); overflow: hidden; background: #fff; min-height: 680px; border: 1px solid var(--line-2); }
.calendly-inline-widget { min-width: 280px; height: 680px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(150px, 18vw, 210px) 0 clamp(60px, 8vw, 100px); }
.page-hero .hero__fx { position: absolute; inset: 0; z-index: -1; }
.page-hero__inner { display: grid; gap: 26px; max-width: 920px; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 88px); }

/* ---------- Grid helpers ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { padding: 32px; display: grid; gap: 16px; align-content: start; }
.feature__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); border: 1px solid rgba(227, 18, 43, 0.35); color: var(--red-2); }
.feature__icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* Careers */
.role { padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.role__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.role__meta span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.role p { color: var(--muted); max-width: 720px; }
.role ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.role li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.role li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 1.5px; background: var(--dim); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { font-size: 12.5px; padding: 5px 11px; border-radius: 8px; background: var(--surface-2); color: var(--text); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 90px 0 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:not(.btn):not(.logo) { color: var(--muted); transition: color 0.25s; }
.footer a:not(.btn):not(.logo):hover { color: var(--text); }
.footer__brand p { color: var(--muted); max-width: 320px; margin: 18px 0 24px; }
.footer__giant {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(13.2vw, 172px);
  letter-spacing: -0.05em;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}
.footer__giant span {
  padding: 0 0.04em 0.06em 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__giant img { height: 0.78em; width: auto; opacity: 0.13; flex: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; margin-top: 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal="scale"] { transform: scale(0.94); }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 0.055s + var(--base, 0s)); }
.split.is-in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: block; }
  .nav__inner { padding: 8px 8px 8px 18px; }
  .process, .flywheel-wrap, .intel { grid-template-columns: 1fr; }
  .process__sticky { position: static; }
  .cases, .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .fit, .cases, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat { padding: 26px 14px; }
  .stat__label { font-size: 13px; }
  .role { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal__metrics { grid-template-columns: 1fr; }
  .mail:nth-child(2), .mail:nth-child(3) { margin-left: 0; }
  .hero__ctas .btn { width: 100%; }
  .video-frame__bar span { display: none; }
  .fw-node { font-size: 12px; padding: 7px 11px; }
  .checks { flex-direction: column; align-items: center; gap: 8px; }
  .process__steps { padding-left: 32px; }
  .step { padding: 24px 22px; }
  .step__dot { left: -32px; width: 20px; height: 20px; }
  .process__rail { left: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], .split .w > span { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* Gradient text inside split (word-animated) headlines: apply per word */
.split .grad-text { background: none; color: inherit; }
.split .grad-text .w > span {
  background: linear-gradient(100deg, #ffd0d5 0%, var(--red-2) 55%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}


/* ---------- Full-TAM coverage ---------- */
.tam { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tam__copy { display: grid; gap: 22px; }
.tam__points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 14px; }
.tam__points div { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.tam__points b { font-weight: 600; font-size: 15.5px; }
.tam__points span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.tam__viz { padding: 22px; display: grid; gap: 22px; }
.tam__toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.tam__toggle button { height: 36px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: background-color 0.25s, color 0.25s; }
.tam__toggle button.is-active { background: #f5f5f4; color: #0a0a0a; }
.tam__grid { display: grid; grid-template-columns: repeat(28, 1fr); gap: 5px; padding: 6px 2px; }
.tam__grid i { aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.08); transition: background-color 0.5s ease, transform 0.5s var(--ease); transition-delay: var(--dl, 0s); }
.tam__grid i.on { background: #c8102e; }
.tam__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.tam__caption { font-size: 14px; color: var(--muted); max-width: 380px; min-height: 3em; }
.tam__legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--dim); flex: none; }
.tam__legend span { display: inline-flex; align-items: center; gap: 6px; }
.tam__legend i { width: 9px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.tam__legend i.on { background: #c8102e; }

@media (max-width: 1020px) { .tam { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .tam__points { grid-template-columns: 1fr; }
  .tam__grid { grid-template-columns: repeat(20, 1fr); gap: 4px; }
  .tam__foot { flex-direction: column; align-items: flex-start; }
  .tam__toggle button { font-size: 12.5px; }
}

/* ---------- Custom cursor (desktop only, enabled by JS) ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-case] { cursor: none; }
.cursor-dot, .cursor-ring, .cursor-glow {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor-on .cursor-dot, .cursor-on .cursor-ring, .cursor-on .cursor-glow { opacity: 1; }
.cursor-dot {
  z-index: 10002;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
}
.cursor-ring {
  z-index: 10001;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cursor-ring__inner {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.3s ease, border-color 0.3s ease;
}
.cursor-ring { transition: opacity 0.3s ease, border-color 0.3s ease; }
.cursor-hover .cursor-ring { border-color: transparent; }
.cursor-hover .cursor-ring__inner { transform: scale(1.6); background: rgba(200, 16, 46, 0.14); border-color: #c8102e; }
.cursor-hover .cursor-dot { background: #c8102e; }
.cursor-down .cursor-ring__inner { transform: scale(0.8); }
.cursor-hover.cursor-down .cursor-ring__inner { transform: scale(1.35); }
.cursor-glow {
  z-index: 10000;
  width: 640px; height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.11) 0%, rgba(200, 16, 46, 0.04) 35%, transparent 65%);
  mix-blend-mode: screen;
}
.cursor-off-frame .cursor-dot, .cursor-off-frame .cursor-ring { opacity: 0 !important; }

/* ---------- Forms / contact ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.contact__side { display: grid; gap: 20px; }
.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input, .field select { height: 46px; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field select option { background: #111; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #c8102e; background: rgba(255, 255, 255, 0.05); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e5484d; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__status { font-size: 14px; color: var(--muted); }
.form__status.is-error { color: #ff6b6f; }
.form__status.is-ok { color: #e8e8e6; }
.btn:disabled { opacity: 0.6; pointer-events: none; }

@media (max-width: 1020px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .form__row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- Proof (dashboard screenshot) ---------- */
.proof { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.proof__copy { display: grid; gap: 22px; }
.proof__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.proof__nums div { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.proof__nums b { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.proof__nums > div > span { color: var(--muted); font-size: 14.5px; }
.proof__shot { margin: 0; display: grid; gap: 14px; }
.proof__frame {
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  transform: rotate(-1.2deg);
  transition: transform 0.6s var(--ease);
}
.proof__shot:hover .proof__frame { transform: rotate(0deg) scale(1.01); }
.proof__frame img { width: 100%; height: auto; border-radius: 10px; }
.proof__shot figcaption { font-size: 12.5px; color: var(--dim); text-align: center; letter-spacing: 0.02em; }
@media (max-width: 1020px) { .proof { grid-template-columns: 1fr; } .proof__frame { transform: none; } }

/* ==========================================================================
   v2 — sleeker pass
   ========================================================================== */

/* Hero */
.hero h1 { max-width: 1060px; font-size: clamp(42px, 6.8vw, 96px); }
.hero__num { color: #e3122b; }
.hero .lead { max-width: 640px; }

/* Custom video player (poster until clicked) */
.video { width: 100%; max-width: 1040px; margin: clamp(48px, 6vw, 72px) auto 0; }
.video__poster, .video__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95);
}
.video__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s ease; filter: brightness(0.82); }
.video__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); }
.video__poster:hover img { transform: scale(1.02); filter: brightness(0.92); }
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.95);
  transition: transform 0.4s var(--ease);
}
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video__poster:hover .video__play { transform: scale(1.08); }
.video__meta { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Logo label */
.logos__label { color: var(--dim); }

/* Proof + dashboard card */
.proof__nums { grid-template-columns: repeat(3, 1fr); }
.proof__nums b { font-size: clamp(32px, 3.6vw, 48px); }
.dash {
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #121214, #0b0b0c);
  padding: 22px;
  display: grid;
  gap: 18px;
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.95);
}
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.dash__src { display: inline-flex; align-items: center; gap: 8px; }
.dash__src i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; }
.dash__range { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); }
.dash__body { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.dash__metric { padding: 28px 24px; display: grid; gap: 10px; }
.dash__metric + .dash__metric { border-left: 1px solid var(--line); }
.dash__metric span { font-size: 13.5px; color: var(--muted); }
.dash__metric b { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.dash__view { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.dash__view:hover { color: var(--text); }
.dash__view svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.dash__view:hover svg { transform: translateX(2px); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 12px; transform: scale(0.97); transition: transform 0.45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: #fff; }
.lightbox__close svg { width: 16px; height: 16px; }

/* Fit cards without badges */
.fit h3 { margin-bottom: 20px; }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Mobile: headline, proof line and button own the first screen */
@media (max-width: 1020px) {
  .proof__nums { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero .lead { font-size: 16.5px; }
  .video { margin-top: 40px; }
  .video__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .video__meta { font-size: 12px; left: 14px; bottom: 12px; }
  .proof__nums { grid-template-columns: 1fr 1fr; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__metric + .dash__metric { border-left: 0; border-top: 1px solid var(--line); }
  .dash__top { flex-direction: column; align-items: flex-start; }
}

/* Simple numbered/arrow list (Process page) */
.fw-list { display: grid; gap: 4px; margin-top: 28px; }
.fw-list div { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.fw-list strong { color: var(--text); font-weight: 600; }
.fw-list b { font-family: var(--font-display); color: var(--dim); font-size: 14px; min-width: 20px; }
