/* ============================================================
   WHATEVER TECH — Homepage v2
   Conversion-focused structure, Whatever Tech brand system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --red: #ff3054;
  --red-deep: #d81f43;
  --blue: #4f75ff;
  --yellow: #ffc549;
  --green: #87c45c;
  --cyan: #3fc8d8;
  --orange: #ff8a3c;
  --purple: #a064ff;
  --black: #0d0d10;
  --surface: #141418;
  --surface2: #1b1b21;
  --surface3: #23232b;
  --border: rgba(237,241,255,0.08);
  --text: #edf1ff;
  --text-2: rgba(237,241,255,0.58);
  --text-3: rgba(237,241,255,0.34);
  --text-4: rgba(237,241,255,0.16);
  --font: 'Work Sans', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --max: 1200px;
  --radius: 14px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* soft starry-night layer behind all dark backgrounds */
.starfield {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.starfield .star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  will-change: opacity;
  animation: starTwinkle var(--dur, 4s) ease-in-out var(--del, 0s) infinite;
}
@keyframes starTwinkle {
  0%, 100% { opacity: var(--base, 0.25); }
  50% { opacity: var(--peak, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .starfield .star { animation: none; opacity: var(--base, 0.3); }
}
a { text-decoration: none; color: inherit; }

.msi { display: inline-block; line-height: 1; vertical-align: middle; }
.msi svg { width: 1em; height: 1em; display: block; }

/* subtle noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,13,16,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--text-3); transition: color .15s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--red); color: #fff; border: none; border-radius: 999px;
  padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: background .2s, transform .15s var(--ease);
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-nav:hover { background: var(--red-deep); transform: translateY(-1px); }

/* ─── LANGUAGE TOGGLE ─── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  padding: 3px; margin-right: 4px;
}
.lang-opt {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-3); padding: 5px 11px; border-radius: 999px;
  transition: color .15s, background .15s; line-height: 1;
}
.lang-opt:hover { color: var(--text); }
.lang-opt.is-active { background: var(--red); color: #fff; }
.lang-opt.is-active:hover { color: #fff; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--red); color: #fff; border: none; border-radius: 999px;
  padding: 16px 30px; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: background .2s, transform .15s var(--ease);
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-primary i { transition: transform .25s var(--ease); }
.btn-primary:hover i { transform: translateX(3px); }

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 16px 26px; font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: var(--font); transition: border-color .2s, color .2s, transform .15s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: rgba(237,241,255,0.35); color: var(--text); transform: translateY(-2px); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -220px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255,48,84,0.16) 0%, transparent 68%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -120px; left: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(79,117,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── SOFT NEBULA GLOWS (reused across sections) ─── */
.nebula { position: relative; overflow: hidden; }
.nebula > * { position: relative; z-index: 1; }
.nebula::before, .nebula::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.nebula::before { /* base A — red, top-left */
  top: -200px; left: -160px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(255,48,84,0.08) 0%, transparent 68%);
}
.nebula::after { /* base A — blue, bottom-right */
  bottom: -150px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,117,255,0.05) 0%, transparent 70%);
}
.nebula.nebula-flip::before { left: auto; right: -160px; background: radial-gradient(circle, rgba(79,117,255,0.05) 0%, transparent 70%); }
.nebula.nebula-flip::after { right: auto; left: -150px; background: radial-gradient(circle, rgba(255,48,84,0.08) 0%, transparent 68%); }
@media (max-width: 720px) { .nebula::before, .nebula::after { width: 380px; height: 380px; } }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: 90px 0;
  width: 100%;
}
.upwork-chip {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 12px;
  padding: 11px 20px; margin-bottom: 30px;
  box-shadow: 0 12px 30px -16px rgba(0,0,0,0.55);
  transition: transform .15s var(--ease);
}
.upwork-chip:hover { transform: translateY(-2px); }
.upwork-chip img { height: 38px; width: auto; display: block; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,48,84,0.3); border-radius: 999px;
  padding: 7px 16px; font-size: 12.5px; color: rgba(255,48,84,0.9);
  background: rgba(255,48,84,0.07); margin-bottom: 28px; font-weight: 500;
  font-family: var(--mono); letter-spacing: 0.02em;
}
.hero-tag i { font-size: 14px; }

.hero-h1 {
  font-size: clamp(44px, 6.4vw, 86px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.035em;
  margin-top: 2vh;
  margin-bottom: 26px;
}
.hero-h1 em { font-style: normal; color: var(--red); }

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
  margin-top: 7vh;
  margin-bottom: 38px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-stat { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); }
.hero-stat i { font-size: 15px; color: var(--text-4); }
.hero-stat strong { color: var(--text-2); font-weight: 700; }

/* hero visual — pre-composed monday board + dashboard + certifications */
.hero-visual { position: relative; --badge-shift: 106px; }
.hero-visual-m { display: none; }
.hero-badges {
  position: absolute;
  left: -19%;
  top: 34.46%;
  width: 49.4%;
  z-index: 5;
  transform: translateY(var(--badge-shift));
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.45));
  pointer-events: none;
}
/* rebuilt hero visual — CSS pink circle + partner logo + two live dashboards */
.hero-stage {
  position: relative;
  width: 116%;
  margin-left: -8%;
  aspect-ratio: 1090 / 1503;
}
.hero-circle {
  position: absolute;
  left: -1%; bottom: 0%;
  width: 102%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(125% 120% at 50% 28%, #ff4a68 0%, #ff3054 52%, #e51d45 100%);
  box-shadow: 0 60px 130px -34px rgba(255,48,84,0.45);
  z-index: 0;
}
.hero-logo {
  position: absolute;
  left: 0%; top: 0.5%;
  z-index: 4;
  background: #fff;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.42);
}
.hero-logo img { display: block; height: clamp(22px, 2.6vw, 30px); width: auto; }
.hero-badges { pointer-events: auto; }
.hdash {
  position: absolute;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.50);
}
.hdash-plan { left: 3%; top: 7%; width: 82%; z-index: 1; }
.hdash-cash { left: 36%; top: 27%; width: 64%; z-index: 3; box-shadow: 0 44px 86px rgba(0,0,0,0.64); }
.hero-bot {
  position: absolute;
  right: -3%;
  bottom: -12%;
  width: clamp(260px, 29vw, 380px);
  z-index: 6;
}
.bot-glow {
  position: absolute;
  left: 50%; top: 48%;
  width: 94%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(79,117,255,0.20) 40%, transparent 68%);
  filter: blur(6px);
  z-index: -1;
  animation: bot-pulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
.bot-img {
  display: block; width: 100%;
  filter: saturate(1.05) contrast(1.03) drop-shadow(0 12px 18px rgba(0,0,0,0.32));
  animation: bot-float 6.5s ease-in-out infinite;
  transform-origin: 50% 92%;
}
/* Jetsons-style floating neon rings — sit at the body's bottom point */
.bot-rings {
  position: absolute;
  left: 46%; bottom: -3%;
  transform: translateX(-50%);
  width: 46%; height: 30px;
  z-index: -1;
  pointer-events: none;
}
.bot-rings i {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid rgba(96,156,255,0.95);
  box-shadow: 0 0 14px rgba(79,117,255,0.8), inset 0 0 8px rgba(150,190,255,0.6);
  animation: ring-pulse 2.4s ease-in-out infinite;
}
.bot-rings i:nth-child(1) { width: 100%; height: 16px; top: 0;  animation-delay: 0s; }
.bot-rings i:nth-child(2) { width: 68%;  height: 12px; top: 11px; animation-delay: .35s; }
.bot-rings i:nth-child(3) { width: 40%;  height: 9px;  top: 21px; animation-delay: .7s; }
@keyframes bot-float {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-16px) scale(1.014); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes bot-pulse {
  0%,100% { opacity: 0.5; transform: translate(-50%,-50%) scale(0.92); }
  50%     { opacity: 0.95; transform: translate(-50%,-50%) scale(1.08); }
}
@keyframes ring-pulse {
  0%,100% { opacity: 0.35; transform: translateX(-50%) scaleX(0.9); }
  50%     { opacity: 1; transform: translateX(-50%) scaleX(1.06); }
}
@media (prefers-reduced-motion: reduce){ .bot-img, .bot-glow, .bot-rings i { animation: none; } }

/* ─── TRUST BAR / CREDENTIALS ─── */
#trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 40px 0; }
.cred-strip { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cred-chip { background: #fff; border-radius: 12px; height: 62px; padding: 0 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -14px rgba(0,0,0,0.55); }
.cred-chip img { width: auto; display: block; }
.cred-chip.monday img { height: 25px; }
.cred-chip.upwork img { height: 44px; }
.cred-chip.badges img { height: 34px; }
.cred-caption { text-align: center; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--text-3); }
/* tools we work with — subtle auto-scrolling logo ribbon, sized to the caption width */
.tools-marquee { position: relative; overflow: hidden; max-width: 840px; margin: 18px auto 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tools-track { display: flex; align-items: center; gap: 46px; width: max-content; will-change: transform; }
.tools-marquee.dragging { cursor: grabbing; }
.tools-track img { height: 22px; width: auto; flex-shrink: 0; opacity: 0.45; transition: opacity .2s ease; }
.tools-track img:hover { opacity: 0.9; }
@media (prefers-reduced-motion: reduce){ .tools-track { flex-wrap: wrap; justify-content: center; } .tools-marquee { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 620px){ .cred-chip { height: 54px; padding: 0 18px; } .cred-chip.badges img { height: 28px; } .cred-caption { font-size: 11px; } }

/* flag marquee */
.flag-band { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--border); }
.flag-band-label { display: block; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin-bottom: 24px; }
.flag-marquee { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.flag-track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.flag-marquee.dragging { cursor: grabbing; }
.flag-item img, .flag-item span { user-select: none; -webkit-user-drag: none; }
.flag-item { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.flag-item img { width: 30px; height: auto; border-radius: 3px; display: block; box-shadow: 0 2px 8px -2px rgba(0,0,0,0.6), 0 0 0 1px rgba(237,241,255,0.08); }
.flag-item span { font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; letter-spacing: -0.01em; }
@keyframes flag-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .flag-track { flex-wrap: wrap; justify-content: center; cursor: default; } .flag-marquee { -webkit-mask-image: none; mask-image: none; } }

/* ─── SECTION SHELL ─── */
section { padding: clamp(70px, 9vw, 116px) 0; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,48,84,0.16); }

.section-h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 18px; }
.section-h2 em { font-style: normal; color: var(--red); }
.section-sub { font-size: clamp(15px,1.2vw,17px); color: var(--text-2); line-height: 1.72; max-width: 580px; }

.mt-48 { margin-top: 48px; }

/* ─── PROBLEM (before / after) ─── */
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.col-before { background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.col-after { background: rgba(255,48,84,0.04); border: 1px solid rgba(255,48,84,0.2); border-radius: var(--radius); padding: 30px; }
.col-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.col-label-before { color: var(--text-3); }
.col-label-after { color: var(--red); }
.pain-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }
.pain-item:last-child { margin-bottom: 0; }
.pain-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.dot-before { background: rgba(237,241,255,0.16); }
.dot-after { background: var(--red); }
.pain-text { font-size: 14.5px; line-height: 1.6; }
.text-before { color: rgba(237,241,255,0.4); }
.text-after { color: rgba(237,241,255,0.74); }
.text-after strong { color: #fff; font-weight: 600; }

/* Problem — staggered reveal (Variant A) */
@media (prefers-reduced-motion: no-preference) {
  .contrast-grid .pain-item { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
  .contrast-grid.visible .pain-item { opacity: 1; transform: none; }
  .contrast-grid .col-after { transition: box-shadow .7s ease, border-color .7s ease; }
  .contrast-grid.visible .col-after { box-shadow: 0 0 54px -18px rgba(255,48,84,0.55); border-color: rgba(255,48,84,0.38); }
}

.problem-footer { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.problem-quote { font-size: 15px; color: var(--text-3); line-height: 1.7; max-width: 520px; font-style: italic; }
.problem-quote strong { color: var(--text-2); font-weight: 600; font-style: normal; }

/* ─── SERVICES ─── */
#services { background: var(--surface); padding-bottom: clamp(48px, 6vw, 80px); }
.one-system { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 30px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.one-system::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex-shrink: 0; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 12px; }
.service-card { position: relative; overflow: hidden; background: linear-gradient(150deg, #16161c, #101015); border-radius: 16px; padding: 26px 22px; cursor: pointer; box-shadow: 0 18px 40px -28px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent, var(--red)); opacity: .4; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(0,0,0,0.9); }
.service-card.active { box-shadow: 0 0 0 1px var(--accent, var(--red)), 0 28px 56px -28px rgba(0,0,0,0.9); }
.sc-tag { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 3px 8px; border-radius: 99px; }
.sc-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border: 1px solid var(--border); }
.sc-icon i { font-size: 22px; }
.sci-red { background: rgba(255,48,84,0.12); } .sci-red i { color: var(--red); }
.sci-blue { background: rgba(79,117,255,0.12); } .sci-blue i { color: var(--blue); }
.sci-yellow { background: rgba(255,197,73,0.12); } .sci-yellow i { color: var(--yellow); }
.sci-green { background: rgba(135,196,92,0.12); } .sci-green i { color: var(--green); }
.sci-purple { background: rgba(160,100,255,0.12); } .sci-purple i { color: #a064ff; }
.sci-ai { background: linear-gradient(150deg, var(--red), var(--red-deep)); border-color: rgba(255,48,84,0.5); } .sci-ai i { color: #fff; }
.sc-ai { background: radial-gradient(130% 150% at 70% -20%, rgba(255,48,84,0.22), #16161c 60%); box-shadow: 0 0 46px -14px rgba(255,48,84,0.5); }
.sc-ai::before { opacity: 1; height: 3px; }
.sc-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -0.01em; }
.sc-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.55; }

.expand-panel { display: none; grid-column: 1 / -1; background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 40px; animation: fadeIn .2s ease; }
.expand-panel.visible { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.ep-title { font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 18px; }
.ep-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ep-item { display: flex; align-items: flex-start; gap: 9px; }
.ep-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent, var(--red)); flex-shrink: 0; margin-top: 7px; }
.ep-text { font-size: 13.5px; color: var(--text-3); line-height: 1.55; }

.verticals-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-top: clamp(44px, 5vw, 72px); margin-bottom: 16px; font-weight: 500; }
.verticals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.vertical-card { position: relative; overflow: hidden; background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: transform .28s cubic-bezier(.2,.7,.3,1), border-color .28s, background .28s, box-shadow .28s; }
.vertical-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ac) 45%, transparent); background: color-mix(in srgb, var(--ac) 7%, #121216); box-shadow: 0 24px 50px -26px rgba(0,0,0,0.9), 0 0 40px -16px var(--ac); }
.vertical-card.vactive { border-color: color-mix(in srgb, var(--ac) 45%, transparent); background: color-mix(in srgb, var(--ac) 7%, #121216); }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vc-name { font-size: 15px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 13px; transition: color .28s; flex: 1; }
.vertical-card:hover .vc-name, .vertical-card.vactive .vc-name { color: var(--text); }
.vc-name i { width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 21px; color: var(--ac); background: color-mix(in srgb, var(--ac) 13%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 28%, transparent); opacity: 1; transition: background .28s, border-color .28s, transform .28s, box-shadow .28s; }
.vertical-card:hover .vc-name i, .vertical-card.vactive .vc-name i { background: color-mix(in srgb, var(--ac) 22%, transparent); border-color: color-mix(in srgb, var(--ac) 45%, transparent); transform: scale(1.06); box-shadow: 0 0 22px -6px var(--ac); }
.vc-toggle { font-size: 19px; color: var(--text-4); transition: transform .25s, color .25s; flex-shrink: 0; }
.vertical-card:hover .vc-toggle { color: var(--ac); }
.vertical-card.vactive .vc-toggle { transform: rotate(45deg); color: var(--ac); }
.vc-detail { display: none; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border); }
.vertical-card.vactive .vc-detail { display: block; }
.vc-detail-item { font-size: 12.5px; color: var(--text-3); line-height: 1.6; margin-bottom: 6px; display: flex; gap: 8px; }
.vc-detail-item::before { content: "→"; color: var(--ac); opacity: 0.7; flex-shrink: 0; }

/* ─── WHAT WE BUILD · "a moment" framing ─── */
.moment-intro { margin-top: clamp(52px, 6vw, 88px); }
.moment-h2 { margin-bottom: clamp(16px, 1.8vw, 24px); }
.moment-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.moment-card { background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.moment-num { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--red); margin-bottom: 20px; }
.moment-title { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; color: var(--text); line-height: 1.22; letter-spacing: -0.01em; margin-bottom: 14px; }
.moment-desc { font-size: 15px; line-height: 1.65; color: var(--text-3); }

.shift-table { margin-top: 16px; background: rgba(255,48,84,0.04); border: 1px solid rgba(255,48,84,0.15); border-radius: var(--radius); padding: 8px clamp(24px, 3vw, 40px) 16px; }
.shift-head, .shift-row { display: grid; grid-template-columns: 1fr 56px 1.08fr; align-items: center; gap: 10px; }
.shift-head { padding: 20px 0 6px; }
.shift-row { padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.shift-now-label, .shift-next-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.shift-now-label { color: var(--text-3); }
.shift-next-label { color: var(--red); }
.shift-arrow-col { color: var(--red); font-size: 20px; line-height: 1; text-align: center; }
.shift-head .shift-arrow-col { color: var(--text-4); font-size: 16px; }
.shift-now { font-size: 15.5px; line-height: 1.5; color: var(--text-3); }
.shift-next { font-size: 15.5px; line-height: 1.5; color: var(--text); }
.shift-hl { color: var(--red); }
@media (max-width: 760px) {
  .moment-cards { grid-template-columns: 1fr; }
  .shift-head, .shift-row { grid-template-columns: 1fr 30px 1fr; }
  .shift-now, .shift-next { font-size: 14px; }
}

/* ─── CUSTOM CURSOR ─── */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
  .cur-dot, .cur-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; will-change: transform; }
  .cur-glow { position: fixed; top: 0; left: 0; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; pointer-events: none; z-index: 9997; background: radial-gradient(circle, var(--gc, rgba(255,48,84,0.22)), rgba(255,48,84,0) 66%); will-change: transform; opacity: 0; transition: opacity .3s; }
  .cur-dot { width: 7px; height: 7px; background: var(--red); margin: -3.5px 0 0 -3.5px; transition: opacity .25s; box-shadow: 0 0 8px rgba(255,48,84,0.8); }
  .cur-ring { width: 34px; height: 34px; border: 1.5px solid rgba(255,48,84,0.55); margin: -17px 0 0 -17px; transition: border-color .22s ease, opacity .25s; }
  .cur-ring.is-hot { border-color: transparent; }
  .cur-dot.is-hidden, .cur-ring.is-hidden { opacity: 0; }
  .cur-echo { position: fixed; top: 0; left: 0; border-radius: 50%; border: 1.5px solid var(--red); pointer-events: none; z-index: 9998; }
  .cur-frame { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; opacity: 0; transition: opacity .2s; }
  .cur-frame i { position: absolute; width: 14px; height: 14px; border: 2px solid var(--fc, var(--red)); }
  .cur-frame i:nth-child(1){ top:0; left:0; border-right:none; border-bottom:none; }
  .cur-frame i:nth-child(2){ top:0; right:0; border-left:none; border-bottom:none; }
  .cur-frame i:nth-child(3){ bottom:0; left:0; border-right:none; border-top:none; }
  .cur-frame i:nth-child(4){ bottom:0; right:0; border-left:none; border-top:none; }
  .cur-frame.no-brackets i { opacity: 0; }
  .cur-frame .scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--sc, var(--fc, var(--red))), transparent); box-shadow: 0 0 12px var(--sc, var(--fc, var(--red))); opacity: 0; }
  .cur-frame.scanning .scan-line { animation: curscan 1s ease-out forwards; }
  @keyframes curscan { 0%{ top:0; opacity:1; } 100%{ top:100%; opacity:0; } }
  /* contrast over red surfaces */
  .cur-dot.on-red { background: #0d0d10; box-shadow: 0 0 8px rgba(0,0,0,0.55); }
  .cur-ring.on-red { border-color: rgba(13,13,16,0.75); }
  .cur-frame.on-red .scan-line { background: linear-gradient(90deg, transparent, #0d0d10, transparent); box-shadow: 0 0 12px rgba(0,0,0,0.6); }
}
@media (hover: none), (pointer: coarse) { .cur-dot, .cur-ring, .cur-frame, .cur-echo, .cur-glow { display: none; } }
/* Hide the page cursor while the pointer is inside the map iframe (it has its own) */
html.map-cursor-off .cur-dot, html.map-cursor-off .cur-ring, html.map-cursor-off .cur-glow, html.map-cursor-off .cur-frame, html.map-cursor-off .cur-echo { opacity: 0 !important; }

/* ─── PROCESS ─── */
#process { background: var(--black); }
.stepper { display: flex; flex-direction: column; gap: 9px; margin-top: 48px; }
.step { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .3s; }
.step:hover { border-color: rgba(255,48,84,0.25); }
.step.active { border-color: var(--red); box-shadow: 0 0 44px -16px rgba(255,48,84,0.6); }
.step.step-ongoing:hover { border-color: rgba(79,117,255,0.4); }
.step.step-ongoing.active { border-color: var(--blue); box-shadow: 0 0 44px -16px rgba(79,117,255,0.6); }
.step-header { display: flex; align-items: center; gap: 20px; padding: 24px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(237,241,255,0.14); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--text-3); flex-shrink: 0; transition: all .2s; }
.step.active .step-num { background: var(--red); border-color: var(--red); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .step.active .step-num { animation: stepPulse 1.9s ease-in-out infinite; }
  .step.step-ongoing.active .step-num { animation: stepPulseBlue 1.9s ease-in-out infinite; }
}
@keyframes stepPulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,48,84,0.55); } 50%{ box-shadow: 0 0 0 9px rgba(255,48,84,0); } }
@keyframes stepPulseBlue { 0%,100%{ box-shadow: 0 0 0 0 rgba(79,117,255,0.55); } 50%{ box-shadow: 0 0 0 9px rgba(79,117,255,0); } }
.step.step-ongoing.active .step-num { background: var(--blue); border-color: var(--blue); }
.step-meta { flex: 1; }
.step-name { font-size: 16px; font-weight: 700; color: var(--text-2); margin-bottom: 3px; transition: color .2s; letter-spacing: -0.01em; }
.step.active .step-name { color: var(--text); }
.step-tagline { font-size: 13px; color: var(--text-3); }
.step-duration { font-family: var(--mono); font-size: 11px; color: var(--text-3); background: rgba(237,241,255,0.05); border-radius: 5px; padding: 5px 11px; flex-shrink: 0; letter-spacing: 0.03em; }
.step.active .step-duration { background: rgba(255,48,84,0.1); color: rgba(255,48,84,0.8); }
.step.step-ongoing.active .step-duration { background: rgba(79,117,255,0.1); color: rgba(79,117,255,0.85); }
.step-toggle { font-size: 21px; color: var(--text-4); flex-shrink: 0; transition: transform .2s, color .2s; }
.step.active .step-toggle { transform: rotate(45deg); color: var(--red); }
.step.step-ongoing.active .step-toggle { color: var(--blue); }
.step-detail { display: none; padding: 0 24px 24px; border-top: 1px solid rgba(237,241,255,0.05); animation: fadeIn .2s ease; }
.step.active .step-detail { display: block; padding-top: 22px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.detail-col-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-4); margin-bottom: 15px; }
.detail-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.detail-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 7px; opacity: 0.7; }
.step-ongoing .detail-dot { background: var(--blue); }
.detail-text { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.detail-outcome { margin-top: 20px; padding: 15px 19px; background: rgba(255,48,84,0.05); border: 1px solid rgba(255,48,84,0.16); border-radius: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.step-ongoing .detail-outcome { background: rgba(79,117,255,0.05); border-color: rgba(79,117,255,0.16); }
.detail-outcome strong { color: var(--text); font-weight: 600; }
.optional-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(79,117,255,0.12); color: var(--blue); border-radius: 5px; padding: 3px 8px; margin-left: 9px; vertical-align: middle; }
.process-footer { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.process-footer-text { font-size: 14.5px; color: var(--text-3); line-height: 1.65; max-width: 440px; }
.process-footer-text strong { color: var(--text-2); font-weight: 600; }

/* ─── STORY ─── */
#proof { background: var(--surface); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.story-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.story-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .5s ease; }
.story-photo:hover img { transform: scale(1.04); }
.story-photo::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); pointer-events: none; }
.story-text { font-size: clamp(15px,1.2vw,17px); color: var(--text-2); line-height: 1.72; margin-bottom: 18px; }
.story-text strong { color: var(--text); font-weight: 600; }
.story-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--border); }
.story-stat .ss-v { font-size: clamp(28px,2.6vw,40px); font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.story-stat .ss-v span { color: var(--yellow); font-size: 0.6em; margin-left: 2px; }
.story-stat .ss-k { font-size: 12px; color: var(--text-3); margin-top: 7px; letter-spacing: -0.005em; }
.us-seal { display: inline-flex; align-items: center; gap: 13px; margin-top: 26px; padding: 13px 20px 13px 16px; border-radius: 12px; background: rgba(79,117,255,0.07); border: 1px solid rgba(79,117,255,0.28); }
.us-seal > .msi { font-size: 26px; color: var(--blue); flex-shrink: 0; }
.us-seal-text { display: flex; flex-direction: column; line-height: 1.25; }
.us-seal-text strong { font-size: 14.5px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.us-seal-text span { font-size: 12.5px; color: var(--text-3); }

/* certifications */
.certs { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--border); }
.certs-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; font-weight: 500; }
.certs-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-chip {
  display: inline-flex; align-items: center; gap: 11px;
  background: rgba(237,241,255,0.02); border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 20px 12px 14px;
  font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em;
  transition: border-color .2s, background .2s, transform .15s var(--ease);
}
.cert-chip:hover { transform: translateY(-2px); border-color: rgba(237,241,255,0.16); background: rgba(237,241,255,0.04); }
.cert-chip i { font-size: 20px; flex-shrink: 0; }
.cert-monday i { color: var(--red); }
.cert-pm i { color: var(--blue); }
.cert-hs i { color: var(--yellow); }
.cert-edu i { color: var(--green); }

/* ─── CASE STUDIES (Product / Dashboard language) ─── */
#cases .section-sub { margin-bottom: clamp(40px, 5vw, 64px); }

.case-feature {
  position: relative;
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 0;
  background: linear-gradient(150deg, #16161c, #101015);
  border-radius: 20px; overflow: hidden; margin-bottom: 22px;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.04);
}
.case-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-deep)); z-index: 2; }
.case-feature-main { padding: clamp(28px, 3.4vw, 48px); }
.case-feature-stats {
  background: rgba(0,0,0,0.35);
  border-left: 1px solid var(--border);
  padding: clamp(26px, 2.8vw, 40px);
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}

.case-clientline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.case-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 9px; padding: 9px 15px; height: 58px;
}
.case-logo img { height: 100%; width: auto; object-fit: contain; }
.case-parent { font-size: 13.5px; color: var(--text-2); line-height: 1.4; max-width: 320px; }
.case-parent strong { color: var(--text); font-weight: 600; }
.case-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

.case-h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 18px; }
.case-body { font-size: 15.5px; color: var(--text-2); line-height: 1.7; }
.case-body strong { color: var(--text); font-weight: 600; }

.case-quote {
  margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--red);
  background: rgba(255,48,84,0.05); border-radius: 0 10px 10px 0;
  font-size: 16px; font-weight: 500; color: var(--text); line-height: 1.5;
}
.case-quote cite { display: block; margin-top: 10px; font-size: 12.5px; font-style: normal; color: var(--text-3); font-weight: 400; }

/* feature stat tiles */
.case-bigstat {
  background: linear-gradient(160deg, #1c1c23, #15151a);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px;
}
.case-bigstat-accent {
  border-color: rgba(255,48,84,0.4);
  box-shadow: 0 0 30px -12px rgba(255,48,84,0.5);
}
.cb-v { font-size: clamp(34px, 4vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.cb-v span { font-size: 0.5em; vertical-align: top; margin-left: 1px; }
.case-bigstat-accent .cb-v { color: var(--red); }
.cb-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }

/* ─── CASE CAROUSEL ─── */
.case-carousel { overflow: hidden; margin-top: 4px; padding: 8px 0; }
.case-track { display: flex; gap: 24px; will-change: transform; transition: transform .55s var(--ease); cursor: grab; touch-action: pan-y; }
.case-track.dragging { transition: none; cursor: grabbing; }
.case-carousel .case-feature {
  flex: 0 0 auto; margin-bottom: 0;
  opacity: 0.38; transition: opacity .45s var(--ease), transform .45s var(--ease);
  transform: scale(0.975);
}
.case-carousel .case-feature.is-active { opacity: 1; transform: scale(1); }
.case-carousel .case-feature img, .case-carousel .case-feature { user-select: none; -webkit-user-drag: none; }

.case-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.case-arrow {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--border); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.case-arrow:hover { background: var(--surface3); border-color: var(--red); transform: translateY(-1px); }
.case-dots { display: flex; gap: 10px; }
.case-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-4); border: none; padding: 0; cursor: pointer; transition: background .25s, width .25s; }
.case-dot.active { background: var(--red); width: 22px; border-radius: 4px; }

.mech-bridge { margin-top: clamp(36px, 5vw, 56px); display: flex; align-items: center; justify-content: center; gap: 13px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.mech-bridge .mb-arrow { color: var(--red); font-size: 20px; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .mech-bridge .mb-arrow { animation: bridgeBounce 1.8s ease-in-out infinite; }
}
@keyframes bridgeBounce { 0%,100%{ transform: translateY(-3px); opacity: 0.65; } 50%{ transform: translateY(4px); opacity: 1; } }
.mech-bridge strong { color: var(--text); font-weight: 600; text-transform: none; letter-spacing: -0.01em; font-family: var(--font); font-size: 16px; }

/* ─── PULL QUOTE ─── */
#pullquote { padding: clamp(48px, 6vw, 84px) 0; background: var(--black); }
#problem { padding-bottom: clamp(44px, 5.5vw, 72px); }
.pq { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.pq-mark { display: block; font-family: var(--font); font-size: clamp(90px, 12vw, 150px); line-height: 0.6; color: var(--red); opacity: 0.5; margin-bottom: 8px; }
.pq-text { font-size: clamp(28px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: var(--text); }
.pq-text em { font-style: normal; color: var(--red); }
.pq-cite { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: clamp(28px, 3.5vw, 44px); }
.pq + .pq { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--border); }
.pq-avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface2); border: 1px solid var(--border); color: var(--text-4); }
.pq-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pq-avatar img.pq-avatar-rod { transform: scale(1.06) translate(2.3%, -0.6%); }

.pq-cite-link { display: inline-flex; align-items: center; gap: 15px; transition: opacity .2s; }
.pq-cite-link:hover { opacity: 0.8; }
.pq-cite-link:hover .pq-name { color: var(--red); }
.pq-cite-text { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.pq-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.pq-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }

/* featured pull-quote with portrait */
.pq-featured { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; text-align: left; max-width: 1040px; }
.pq-portrait { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.pq-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform .5s ease; }
.pq-portrait:hover img { transform: scale(1.04); }
.pq-featured .pq-mark { margin-bottom: 0; }
.pq-featured .pq-text { font-size: clamp(26px, 3.1vw, 42px); }
.pq-featured .pq-cite { justify-content: flex-start; }
.pq-reverse { grid-template-columns: 1.15fr 0.85fr; }
.pq-reverse .pq-portrait { order: 2; }
.pq-reverse .pq-body { order: 1; }
.cur-blue { --ac: #6f8fc7; }
.cur-amber { --ac: #eaa94c; }
.pq-featured:not(.pq-reverse) .pq-cite-link:hover .pq-name { color: #6f8fc7; }

/* ─── THE MECHANISM ─── */
#mechanism { padding-top: clamp(28px, 3.5vw, 52px); }
#mechanism .section-sub { margin-bottom: clamp(40px, 5vw, 60px); }
.mech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: stretch; }
.mech-stack { display: flex; flex-direction: column; gap: 16px; }
.mech-core { display: flex; flex-direction: column; gap: 12px; }
.mech-layer {
  position: relative;
  background: linear-gradient(150deg, #16161c, #101015);
  border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px;
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}
.ml-main { display: flex; align-items: center; gap: 18px; }
.ml-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.ml-icon .msi { font-size: 24px; }
.ml-icon-red { color: var(--red); border-color: rgba(255,48,84,0.3); background: rgba(255,48,84,0.08); }
.ml-icon-blue { color: var(--blue); border-color: rgba(79,117,255,0.3); background: rgba(79,117,255,0.08); }
.ml-icon-green { color: var(--green); border-color: rgba(135,196,92,0.3); background: rgba(135,196,92,0.08); }
.ml-icon-ai { color: #fff; border-color: rgba(255,48,84,0.5); background: linear-gradient(150deg, var(--red), var(--red-deep)); }
.ml-num { position: absolute; top: 16px; right: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-4); }
.ml-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ml-desc { font-size: 13.5px; color: var(--text-2); margin-top: 4px; line-height: 1.45; }
.mech-ai {
  background: radial-gradient(130% 150% at 72% -10%, rgba(255,48,84,0.22), #16161c 62%);
  border-color: rgba(255,48,84,0.4); box-shadow: 0 0 46px -12px rgba(255,48,84,0.55);
}
.ml-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.mech-foundation { border-bottom: 3px solid var(--red); }
.mech-bedrock { margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--border); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

.mech-arg { display: flex; flex-direction: column; justify-content: center; }
.mech-arg .mech-stat { margin-top: auto; }
.mech-compare { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.mc-row { display: flex; gap: 15px; align-items: flex-start; padding: 18px 20px; border-radius: 13px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.mc-row strong { color: var(--text); font-weight: 600; }
.mc-row .ic { flex-shrink: 0; font-weight: 700; font-size: 16px; line-height: 1.5; }
.mc-bad { background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.mc-bad .ic { color: var(--text-3); }
.mc-good { background: rgba(255,48,84,0.06); border: 1px solid rgba(255,48,84,0.25); color: var(--text); }
.mc-good .ic { color: var(--red); }
.mech-quote { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.32; border-left: 3px solid var(--red); padding-left: 22px; color: var(--text); }
.mech-stat { margin-top: 30px; padding: 22px 24px; border: 1px solid rgba(255,48,84,0.25); background: rgba(255,48,84,0.05); border-radius: 14px; }
.ms-head { display: flex; align-items: center; gap: 18px; }
.ms-v { font-size: clamp(38px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.04em; color: var(--red); line-height: 1; flex-shrink: 0; }
.ms-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); line-height: 1.5; }
.ms-bar { margin-top: 18px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ms-bar span { display: block; height: 100%; width: 95%; border-radius: 99px; background: linear-gradient(90deg, var(--red-deep), var(--red)); }

/* ─── GLOBAL FOOTPRINT MAP ─── */
#footprint { background: var(--black); padding-bottom: clamp(36px, 4vw, 56px); }
.fp-map-wrap { margin-top: clamp(28px, 4vw, 48px); }
.fp-shot {
  max-width: 1100px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 36px 90px rgba(0,0,0,0.55), 0 2px 0 rgba(255,255,255,0.04) inset;
  background: #0c1322;
  transition: transform .5s ease, box-shadow .5s ease;
  transform-origin: center;
}
.fp-shot:hover { transform: scale(1.025); box-shadow: 0 44px 110px rgba(0,0,0,0.6), 0 2px 0 rgba(255,255,255,0.04) inset; }
.fp-shot img { display: block; width: 100%; height: auto; }

/* Interactive client map (embedded as isolated iframe) */
.fp-embed { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.fp-embed iframe {
  display: block; width: 100%; height: clamp(460px, 64vh, 660px);
  border: 1px solid var(--border); border-radius: 16px; background: #0A0E1A;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
@media (max-width: 720px) { .fp-embed iframe { height: 78vh; } }

/* Animated pulse markers over the baked-in number bubbles */
.fp-shot { position: relative; }
.fp-pulse {
  position: absolute; width: clamp(20px, 2.4vw, 30px); height: clamp(20px, 2.4vw, 30px);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 2; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--fp-c) 45%, transparent) 0%, transparent 68%);
  animation: fpBreathe 2.6s ease-in-out infinite;
}
.fp-pulse::before, .fp-pulse::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: clamp(18px, 2vw, 26px); height: clamp(18px, 2vw, 26px);
  border-radius: 50%; transform: translate(-50%, -50%) scale(0.35);
  border: 2px solid var(--fp-c); opacity: 0;
  animation: fpRing 2.6s cubic-bezier(0.2,0.6,0.3,1) infinite;
}
.fp-pulse::after { animation-delay: 1.3s; }
.fp-pulse--amber { --fp-c: #f5b800; }
.fp-pulse--blue  { --fp-c: #2b9cf6; }
.fp-pulse:nth-of-type(2) { animation-delay: .65s; }
.fp-pulse:nth-of-type(3) { animation-delay: 1.3s; }
.fp-pulse:nth-of-type(4) { animation-delay: .3s; }
.fp-pulse:nth-of-type(2)::before, .fp-pulse:nth-of-type(2)::after { animation-delay: .65s, 1.95s; }
.fp-pulse:nth-of-type(3)::before, .fp-pulse:nth-of-type(3)::after { animation-delay: 1.3s, 2.6s; }
.fp-pulse:nth-of-type(4)::before, .fp-pulse:nth-of-type(4)::after { animation-delay: .3s, 1.6s; }
@keyframes fpRing {
  0%   { transform: translate(-50%, -50%) scale(0.35); opacity: 0.9; }
  70%  { opacity: 0.18; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}
@keyframes fpBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.82); opacity: 0.55; }
  50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-pulse { animation: none; }
  .fp-pulse::before, .fp-pulse::after { animation: none; }
}

.fp-monday {
  display: block;
  max-width: 760px; margin: clamp(22px, 3vw, 34px) auto 0; text-align: center;
  font-size: 14.5px; color: var(--text-2); line-height: 1.55;
}
.fp-monday img { height: 20px; width: auto; flex-shrink: 0; opacity: 0.95; }
.fp-monday strong { color: var(--text); font-weight: 600; }

@media (max-width: 620px) {
  .fp-monday { flex-direction: column; text-align: center; gap: 10px; }
}

/* ─── CLIENTS LOGO WALL ─── */
#clients { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.logo-wall { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.logo-marquee { position: relative; 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); touch-action: pan-y; }
.logo-track { display: flex; gap: 18px; width: max-content; will-change: transform; cursor: grab; }
.logo-marquee.dragging .logo-track { cursor: grabbing; }
.logo-tile img, .logo-tile { user-select: none; -webkit-user-drag: none; }
.logo-tile {
  flex: 0 0 auto; width: 188px; height: 108px;
  background: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 22px 26px; box-shadow: 0 14px 30px -18px rgba(0,0,0,0.5);
}
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .logo-track { flex-wrap: wrap; justify-content: center; width: auto; cursor: default; } }
@media (max-width: 640px){ .logo-tile { width: 150px; height: 90px; padding: 16px 20px; } }

/* ─── GUARANTEE / RISK-REVERSAL ─── */
#guarantee { background: var(--surface); }
#guarantee .section-h2 { font-size: clamp(38px, 5vw, 62px); }
#guarantee .section-sub { margin-bottom: clamp(40px, 5vw, 60px); font-size: clamp(17px, 1.6vw, 21px); max-width: 60ch; }
.gtee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gtee-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #16161c, #101015);
  border-radius: 18px; padding: clamp(26px, 2.6vw, 36px);
  box-shadow: 0 20px 48px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.04);
}
.gtee-accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent, var(--red)); opacity: 0.5; }
.gtee-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; border: 1px solid var(--border); }
.gtee-icon .msi { font-size: 25px; }
.gtee-icon-red { color: var(--red); background: rgba(255,48,84,0.1); border-color: rgba(255,48,84,0.28); }
.gtee-icon-blue { color: var(--blue); background: rgba(79,117,255,0.1); border-color: rgba(79,117,255,0.28); }
.gtee-icon-green { color: var(--green); background: rgba(135,196,92,0.1); border-color: rgba(135,196,92,0.28); }
.gtee-step { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.gtee-name { font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.gtee-text { font-size: 14px; color: var(--text-2); line-height: 1.62; }
.gtee-text strong { color: var(--text); font-weight: 600; }
.gtee-seal {
  display: flex; align-items: center; gap: 24px;
  margin-top: 28px; padding: 34px 40px;
  background: rgba(255,48,84,0.05); border: 1px solid rgba(255,48,84,0.2); border-radius: 18px;
}
.gtee-seal .msi { font-size: 42px; color: var(--red); flex-shrink: 0; }
.gtee-seal p { font-size: clamp(18px, 1.7vw, 23px); color: var(--text-2); line-height: 1.5; }
.gtee-seal strong { color: var(--text); font-weight: 600; }

/* ─── COST OF INACTION ─── */
#cost .section-sub { margin-bottom: clamp(44px, 5vw, 64px); max-width: 64ch; }
.cost-mult { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 3vw, 40px); }
.cost-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #16161c, #101015);
  border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(30px, 3.4vw, 46px); text-align: center;
  box-shadow: 0 22px 54px -32px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cost-structure { border-color: rgba(255,48,84,0.4); box-shadow: 0 0 50px -14px rgba(255,48,84,0.45), inset 0 1px 0 rgba(255,255,255,0.05); }
.cost-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-deep)); }
.cost-eq { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.cost-ai { color: var(--text); }
.cost-x { color: var(--text-4); font-weight: 400; font-size: 0.8em; }
.cost-base { color: var(--text-3); }
.cost-base-good { color: var(--red); }
.cost-arrow { margin: 20px 0 6px; }
.cost-arrow .msi { font-size: 34px; color: var(--text-4); }
.cost-arrow-good .msi { color: var(--red); }
.cost-out { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.cost-out-bad { color: var(--text-3); }
.cost-out-good { color: var(--red); }
.cost-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.6; margin-top: 16px; max-width: 36ch; margin-left: auto; margin-right: auto; }
.cost-desc strong { color: var(--text); font-weight: 600; }
.cost-vs { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); text-align: center; line-height: 1.6; }
.cost-vs strong { display: block; color: var(--text); font-size: 17px; letter-spacing: -0.01em; text-transform: none; margin-top: 4px; }

.cost-close {
  margin-top: clamp(36px, 4vw, 56px); padding: clamp(30px, 3.4vw, 46px);
  background: radial-gradient(120% 160% at 100% 0%, rgba(255,48,84,0.14), var(--surface) 60%);
  border: 1px solid rgba(255,48,84,0.22); border-radius: 20px;
  display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
}
.cost-close-main { flex: 1; min-width: 280px; }
.cost-once { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.cost-once span { color: var(--red); }
.cost-close-main p { font-size: clamp(15px, 1.4vw, 17px); color: var(--text-2); line-height: 1.6; max-width: 52ch; }
.cost-cta { font-size: 16px; padding: 18px 32px; white-space: nowrap; flex-shrink: 0; }

/* ─── DATA ARCHITECTURE GUIDE ─── */
#guide { background: var(--black); }
.guide-band {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 4vw, 64px);
  align-items: center;
  background: linear-gradient(135deg, var(--red) 0%, #d31f43 100%);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 4.5vw, 64px);
  position: relative; overflow: hidden;
}
.guide-band::before {
  content: ""; position: absolute; right: -8%; top: -40%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  pointer-events: none;
}
.eyebrow-on-red { color: rgba(0,0,0,0.55) !important; white-space: nowrap; }
.eyebrow-on-red::before { background: rgba(0,0,0,0.55) !important; }
.guide-h2 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; color: #fff; margin: 14px 0 16px; }
.guide-text { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.68; color: rgba(255,255,255,0.92); max-width: 52ch; margin-bottom: 22px; }
.guide-points { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.guide-point { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: #fff; }
.guide-point .msi { font-size: 19px; color: #fff; opacity: 0.92; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-on-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: #161618; color: #fff; font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 999px; transition: transform .15s var(--ease), background .15s var(--ease);
}
.btn-on-red .msi { font-size: 18px; }
.btn-on-red:hover { transform: translateY(-2px); background: #000; }
.btn-on-red-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; font-size: 15px;
  padding: 15px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4);
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.btn-on-red-ghost .msi { font-size: 18px; }
.btn-on-red-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.2); }

/* guide cover mock */
.guide-cover { display: block; justify-self: center; width: 100%; max-width: 320px; perspective: 1200px; }
.gc-inner {
  position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #1d1d22 0%, #0e0e11 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 70px -24px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.2);
  padding: 30px 28px; display: flex; flex-direction: column;
  transform: rotate(-3deg); transition: transform .4s var(--ease);
}
.guide-cover:hover .gc-inner { transform: rotate(-1deg) translateY(-6px); }
.gc-top { display: flex; align-items: center; gap: 10px; }
.gc-mark { width: 26px; height: 26px; }
.gc-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.gc-title { margin-top: auto; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; color: #fff; }
.gc-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gc-foot-label { font-size: 11.5px; color: rgba(255,255,255,0.55); max-width: 60%; line-height: 1.35; }
.gc-badge { font-size: 11px; font-weight: 700; color: var(--red); background: rgba(255,48,84,0.16); border: 1px solid rgba(255,48,84,0.4); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.gc-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,48,84,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,48,84,0.06) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
@media (max-width: 860px){
  .guide-band { grid-template-columns: 1fr; gap: 36px; }
  .guide-cover { order: -1; max-width: 260px; }
}

/* ─── GUIDE DOWNLOAD POPUP ─── */
.guide-pop-overlay {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(6,6,9,0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.guide-pop-overlay.is-open { opacity: 1; visibility: visible; }
.guide-pop {
  position: relative; display: grid; grid-template-columns: 0.82fr 1fr;
  width: 100%; max-width: 660px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 120px -24px rgba(0,0,0,0.8);
  transform: translateY(24px) scale(0.97); opacity: 0;
  transition: transform .42s var(--ease), opacity .42s var(--ease);
}
.guide-pop-overlay.is-open .guide-pop { transform: translateY(0) scale(1); opacity: 1; }
.guide-pop-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,0.05);
  color: var(--text-2); transition: background .15s, color .15s, border-color .15s;
}
.guide-pop-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* mini cover */
.guide-pop-cover { padding: 28px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 30% 10%, rgba(255,48,84,0.12), transparent 60%); }
.gpc-inner {
  position: relative; width: 100%; max-width: 200px; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #1d1d22 0%, #0e0e11 100%);
  border: 1px solid rgba(255,255,255,0.1); padding: 18px;
  display: flex; flex-direction: column; box-shadow: 0 24px 60px -18px rgba(0,0,0,0.7);
  transform: rotate(-3deg);
}
.gpc-top { display: flex; align-items: center; gap: 8px; }
.gpc-mark { width: 20px; height: 20px; }
.gpc-kicker { font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.gpc-title { margin-top: auto; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; color: #fff; }
.gpc-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 9.5px; color: rgba(255,255,255,0.55); line-height: 1.35; }
.gpc-grid-lines { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,48,84,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,48,84,0.06) 1px, transparent 1px);
  background-size: 22px 22px; }

/* body */
.guide-pop-body { padding: 38px 38px 34px 8px; display: flex; flex-direction: column; justify-content: center; }
.guide-pop-eyebrow { margin-bottom: 14px; }
.guide-pop-h { font-size: clamp(23px, 2.4vw, 29px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; color: var(--text); }
.guide-pop-h em { color: var(--red); font-style: normal; }
.guide-pop-text { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.guide-pop-cta { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.guide-pop-dismiss { font-size: 13.5px; font-weight: 600; color: var(--text-2); background: none; border: none;
  padding: 4px 2px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  transition: color .15s; }
.guide-pop-dismiss:hover { color: var(--text); }

@media (max-width: 620px){
  .guide-pop { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 400px; padding: 26px 28px 30px; }
  .guide-pop-body { display: contents; }
  .guide-pop-eyebrow { order: 1; display: inline-flex; margin-bottom: 4px; font-size: 10px; letter-spacing: 0.14em; white-space: nowrap; }
  .guide-pop-h { order: 2; }
  .guide-pop-cover { order: 3; padding: 18px 0 6px; background: none; text-align: left; }
  .gpc-inner { transform: rotate(-2deg); max-width: 184px; aspect-ratio: 1 / 1.1; }
  .guide-pop-text { order: 4; margin-top: 14px; }
  .guide-pop-cta { order: 5; align-items: center; margin-top: 22px; }
}

/* ─── REVIEWS CAROUSEL ─── */
.reviews-block { margin-top: clamp(60px, 8vw, 100px); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-title { font-size: clamp(24px,2.6vw,36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.reviews-summary { text-align: right; }
.rs-stars { color: var(--yellow); font-size: 16px; letter-spacing: 2px; margin-bottom: 5px; }
.rs-text { font-size: 13px; color: var(--text-3); }
.rs-text strong { color: var(--text); font-weight: 700; }
.reviews-viewport { overflow: hidden; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reviews-viewport.dragging { cursor: grabbing; }
.reviews-track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.review-card { width: 360px; flex-shrink: 0; background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review-card:hover { border-color: rgba(237,241,255,0.14); }
.rc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rc-stars { color: var(--yellow); font-size: 13px; letter-spacing: 2px; }
.rc-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); border: 1px solid var(--border); border-radius: 5px; padding: 4px 8px; }
.rc-quote { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: 22px; flex: 1; }
.rc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.rc-tag { font-size: 11px; font-weight: 500; color: var(--text-3); background: rgba(237,241,255,0.04); border-radius: 6px; padding: 5px 10px; }
.rc-meta { display: flex; align-items: center; gap: 11px; padding-top: 18px; border-top: 1px solid var(--border); }
.rc-flag { width: 26px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(237,241,255,0.1); flex-shrink: 0; }
.rc-who { flex: 1; min-width: 0; }
.rc-project { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-loc { font-size: 12px; color: var(--text-3); }
.reviews-controls { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.rev-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s, transform .15s var(--ease); }
.rev-arrow:hover { border-color: rgba(237,241,255,0.32); color: var(--text); transform: translateY(-1px); }
.rev-arrow i { font-size: 18px; }
.reviews-hint { font-family: var(--mono); font-size: 11.5px; color: var(--text-4); letter-spacing: 0.02em; margin-left: 6px; }

/* ─── TRUST REVIEWS MARQUEE (above credentials) ─── */
.trust-reviews-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.tr-stars { color: var(--yellow); font-size: 15px; letter-spacing: 2px; }
.tr-label { font-size: 13px; color: var(--text-3); }
.tr-label strong { color: var(--text); font-weight: 700; }
.trust-reviews { overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); margin-bottom: 44px; }
.trust-reviews-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.trust-reviews.dragging { cursor: grabbing; }
.tr-card { user-select: none; }
@keyframes tr-scroll { to { transform: translateX(-50%); } }
.tr-card { width: 340px; flex-shrink: 0; background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.tr-card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.tr-card-stars { color: var(--yellow); font-size: 12px; letter-spacing: 1.5px; }
.tr-card-q { font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tr-card-meta { display: flex; align-items: center; gap: 9px; }
.tr-card-flag { width: 22px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(237,241,255,0.1); flex-shrink: 0; }
.tr-card-loc { font-size: 12px; font-weight: 600; color: var(--text-3); }
@media (prefers-reduced-motion: reduce){ .trust-reviews-track { flex-wrap: wrap; justify-content: center; cursor: default; } .trust-reviews { -webkit-mask-image: none; mask-image: none; } }

/* ─── PRICING ─── */
#pricing { background: var(--black); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 52px; }
.pricing-card { background: rgba(237,241,255,0.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: border-color .2s, transform .15s var(--ease); position: relative; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(237,241,255,0.16); }
.pricing-card.featured { border-color: var(--red); background: rgba(255,48,84,0.04); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.pc-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.pc-price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin-bottom: 5px; line-height: 1; }
.pc-price-quote { font-size: 30px; }
.pc-price span { font-size: 14px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.pc-head { display: flex; flex-direction: column; }
.pc-rate { min-height: 92px; }
.pc-head .pc-tagline { margin-top: 0; margin-bottom: 22px; }
.pc-alt { font-size: 12.5px; color: var(--text-3); margin-bottom: 22px; }
.pc-alt-2 { margin-top: 8px; margin-bottom: 0; }
.pc-price-quote + .pc-alt { margin-bottom: 0; }
.pc-tagline { font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; line-height: 1.5; }
.pc-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 22px; }
.pc-feature { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; font-size: 13.5px; color: var(--text-3); line-height: 1.5; }
.pc-feature i { font-size: 15px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.pc-cta { width: 100%; margin-top: auto; background: transparent; border: 1px solid rgba(237,241,255,0.16); border-radius: 999px; padding: 14px; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; font-family: var(--font); transition: border-color .2s, color .2s; }
.pc-cta:hover { border-color: rgba(237,241,255,0.32); color: var(--text); }
.pricing-card.featured .pc-cta { background: var(--red); border-color: var(--red); color: #fff; }
.pricing-card.featured .pc-cta:hover { background: var(--red-deep); }
.pricing-note { margin-top: 22px; font-size: 12.5px; color: var(--text-4); }
.pf-close { max-width: 760px; margin: clamp(40px,5vw,60px) auto 0; text-align: center; font-size: 17px; line-height: 1.72; color: var(--text-2); }
.pf-cta-wrap { display: flex; justify-content: center; margin-top: clamp(28px,3vw,40px); }
.pf-cta-wrap + .pricing-note { text-align: center; max-width: 940px; margin-left: auto; margin-right: auto; margin-top: clamp(28px,3vw,38px); }

/* ─── FAQ ─── */
#faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; align-items: start; }
.faq-item { position: relative; overflow: hidden; background: linear-gradient(150deg, #16161c, #101015); border: 1px solid var(--border); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; box-shadow: 0 16px 38px -30px rgba(0,0,0,0.8); }
.faq-item::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--red); opacity: 0; transition: opacity .25s; }
.faq-item:hover { border-color: rgba(255,48,84,0.25); transform: translateY(-2px); }
.faq-item.fopen { border-color: rgba(255,48,84,0.32); box-shadow: 0 24px 54px -28px rgba(0,0,0,0.9), 0 0 40px -20px rgba(255,48,84,0.4); }
.faq-item.fopen::before { opacity: 1; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; min-height: 86px; box-sizing: border-box; font-size: 16px; font-weight: 600; color: var(--text-2); line-height: 1.4; transition: color .2s; }
.faq-item.fopen .faq-q { color: var(--text); }
.faq-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); font-size: 18px; color: var(--text-3); flex-shrink: 0; transition: transform .25s ease, color .2s, background .2s, border-color .2s; }
.faq-item.fopen .faq-icon { transform: rotate(45deg); color: #fff; background: var(--red); border-color: var(--red); }
.faq-a-wrap { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.fopen .faq-a-wrap { max-height: 320px; }
.faq-a { font-size: 14.5px; color: var(--text-3); line-height: 1.72; padding: 0 26px 24px; }

.faq-foot { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding: 24px 30px; background: rgba(255,48,84,0.04); border: 1px solid rgba(255,48,84,0.16); border-radius: 16px; }
.faq-foot span { font-size: 16px; color: var(--text-2); }
.faq-foot-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--red); white-space: nowrap; }
.faq-foot-cta .msi { font-size: 18px; transition: transform .2s; }
.faq-foot-cta:hover .msi { transform: translateX(4px); }

.faq-grid:not(.show-all) .faq-item:nth-child(n+7) { display: none; }
.faq-more { display: inline-flex; align-items: center; gap: 9px; margin: 24px auto 0; padding: 13px 26px; background: rgba(237,241,255,0.03); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.faq-more:hover { border-color: rgba(255,48,84,0.35); background: rgba(255,48,84,0.05); }
.faq-more .msi { font-size: 19px; color: var(--red); transition: transform .25s ease; }
.faq-more.open .msi { transform: rotate(180deg); }
.faq-more-wrap { display: flex; justify-content: center; }

#cta-final.cta-flash { animation: ctaFlash 1.15s ease; }
@keyframes ctaFlash {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255,48,84,0); }
  25% { box-shadow: inset 0 0 0 2px rgba(255,48,84,0.65), inset 0 0 150px rgba(255,48,84,0.22); }
  60% { box-shadow: inset 0 0 0 1px rgba(255,48,84,0.25), inset 0 0 90px rgba(255,48,84,0.08); }
}

/* ─── CTA FINAL ─── */
#cta-final { background: var(--black); padding: clamp(90px,11vw,140px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 640px; height: 420px; background: radial-gradient(ellipse, rgba(255,48,84,0.12) 0%, transparent 70%); pointer-events: none; }
.cta-h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin-bottom: 20px; }
.cta-h2 em { font-style: normal; color: var(--red); }
.cta-sub { font-size: clamp(15px,1.3vw,17px); color: var(--text-2); max-width: 500px; margin: 0 auto 38px; line-height: 1.7; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.cta-reassurance { font-family: var(--mono); font-size: 12.5px; color: var(--text-4); letter-spacing: 0.02em; }

/* ─── FOOTER ─── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-logo img { height: 24px; width: auto; }
.footer-tagline { font-size: 12.5px; color: var(--text-4); margin-top: 10px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 13.5px; color: var(--text-3); transition: color .15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-family: var(--mono); font-size: 11.5px; color: var(--text-4); }

/* ─── SCROLL ANIMATIONS (fail-safe: visible by default) ─── */
.fade-up { opacity: 1; transform: none; }
html.anim .fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.anim .fade-up.visible { opacity: 1; transform: none; }
@media print { html.anim .fade-up { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { html.anim .fade-up { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .lang-toggle { margin-right: 8px; }
}
@media (max-width: 560px) {
  nav { padding: 8px 14px; height: auto; flex-wrap: wrap; row-gap: 8px; column-gap: 8px; }
  .nav-logo { order: 1; }
  .btn-nav { order: 2; padding: 10px 14px; font-size: 12.5px; white-space: nowrap; }
  .lang-toggle { order: 3; flex-basis: 100%; display: flex; justify-content: center; margin-right: 0; padding: 0; }
  .lang-opt { padding: 4px 10px; font-size: 11.5px; }
  .nav-logo img { height: 22px; }
  .hero-inner { padding-top: 104px; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .hero-stage { width: 100%; margin-left: 0; }
  .hero-badges { left: 0%; width: 42.57%; }
  .hero-bot { right: 0; bottom: -4%; width: clamp(190px, 38vw, 260px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gtee-grid { grid-template-columns: 1fr; }
  .ep-items { grid-template-columns: 1fr 1fr; }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .story-copy { display: contents; }
  .story-copy > * { width: 100%; }
  .story-photo { max-width: 560px; width: 100%; order: 2; margin: 2px 0; }
  .story-copy .eyebrow { order: 1; width: auto; align-self: flex-start; margin-bottom: 0; }
  .story-copy .section-h2 { order: 3; }
  .story-copy .story-text { order: 4; margin-bottom: 0; }
  .story-copy .us-seal { order: 5; margin-top: 0; }
  .story-copy .story-stats { order: 6; margin-top: 2px; padding-top: 28px; }
  .case-feature { grid-template-columns: 1fr; }
  .gtee-grid { grid-template-columns: 1fr; }
  .mech-grid { grid-template-columns: 1fr; gap: 40px; }
  .cost-mult { grid-template-columns: 1fr; }
  .cost-vs { padding: 6px 0; }
  .case-feature-stats { border-left: none; border-top: 1px solid var(--border); flex-direction: row; justify-content: space-between; gap: 18px; }
  .case-bigstat { flex: 1; }
  .case-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .proof-shots { grid-template-columns: 1fr; }
  .proof-shot.b { display: none; }
}
/* Tablet — center the "How we build it" header + the "Build the asset" card to match their CTAs */
@media (min-width: 621px) and (max-width: 980px) {
  #pricing .eyebrow { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
  #pricing .section-h2, #pricing .section-sub { text-align: center; }
  #pricing .section-sub { margin-left: auto; margin-right: auto; }
  .cost-close { flex-direction: column; align-items: center; text-align: center; }
  .cost-close-main { min-width: 0; width: 100%; }
  .cost-close-main p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 620px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-row:last-child .trust-item:last-child { border-bottom: none; }
  .contrast-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .ep-items { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .case-feature-stats { flex-direction: column; }
  .case-bigstat { display: flex; align-items: baseline; gap: 14px; }
  .case-bigstat .cb-k { margin-top: 0; }
  .case-metrics { gap: 12px; }
  .review-card { width: 300px; padding: 24px; }
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .faq-grid { grid-template-columns: 1fr; }
  .pq-featured { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .pq-featured .pq-portrait { max-width: 360px; margin: 0 auto; }
  .pq-featured .pq-cite { justify-content: center; }
  .step-header { gap: 14px; padding: 18px; flex-wrap: wrap; }
  .step-duration { order: 3; }

  /* fix overflowing CTA button */
  .cost-cta { white-space: normal; flex: 1 1 100%; width: 100%; justify-content: center; text-align: center; font-size: 14.5px; padding: 16px 20px; }
  .cost-close-main { min-width: 0; }
}

/* clean, deterministic hero visual for tablet + phone — logo · dashboards · badges · bot.
   Overrides the absolute desktop composite across the whole single-column range. */
@media (max-width: 980px) {
  .hero-visual { display: none !important; }
  .hero-visual-m { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.4vw, 30px); width: 100%; max-width: 460px; margin: 6px auto 0; }
  .hvm-logo { background: #fff; border-radius: 12px; padding: 11px 18px; box-shadow: 0 16px 36px rgba(0,0,0,0.42); white-space: nowrap; }
  .hvm-logo img { display: block; height: 26px; width: auto; }
  .hvm-dashes { display: grid; gap: 14px; width: 100%; }
  .hvm-dashes img { display: block; width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 22px 46px rgba(0,0,0,0.5); }
  .hvm-badges { display: block; width: 96%; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.45)); }
  .hvm-bot { position: relative; width: clamp(200px, 30vw, 240px); margin-top: calc(clamp(30px, 7vw, 72px) + 3vh); }
  .hvm-bot .bot-img { width: 100%; }
}
