/* ===== owlet.studio — cinematic site ===== */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* Fixed brand colors */
  --electric: #0D6EFD;
  --electric-glow: #3A8BFD;
  --electric-soft: rgba(13, 110, 253, 0.18);
  --eye-color: #0D6EFD;

  /* Theme tokens — DARK by default */
  --bg: #0A0F16;
  --bg-2: #111821;
  --bg-3: #1B2430;
  --bg-4: #243140;
  --text: #E6F0FF;
  --text-strong: #FFFFFF;
  --text-muted: #6B7785;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --logo-mark: #FFFFFF;
  --grid-color: rgba(255,255,255,0.035);
  --grain-blend: overlay;
  --grain-opacity: 0.06;
  --orb-1: rgba(13,110,253,0.35);
  --orb-2: rgba(13,110,253,0.18);
  --card-bg: rgba(255,255,255,0.04);
  --card-bg-hover: rgba(255,255,255,0.08);
  --shadow-1: 0 8px 30px -8px rgba(13,110,253,0.5);
  --shadow-card: 0 40px 80px -20px rgba(0,0,0,0.6);
  --nav-bg: rgba(10,15,22,0.7);
  --hud-bg: rgba(10,15,22,0.6);
  --cursor-blend: difference;
  --cursor-color: #FFFFFF;

  /* Legacy aliases (so old usages keep working) */
  --void: var(--bg);
  --nightfall: var(--bg-2);
  --slate: var(--bg-3);
  --slate-2: var(--bg-4);
  --arctic: var(--text);
  --pure: var(--text-strong);
  --muted: var(--text-muted);

  --font-sans: 'Satoshi', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

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

[data-theme="light"] {
  --bg: #F4F5F8;
  --bg-2: #FFFFFF;
  --bg-3: #ECEFF4;
  --bg-4: #DCE2EB;
  --text: #1B2430;
  --text-strong: #0A0F16;
  --text-muted: #6B7785;
  --line: rgba(10,15,22,0.10);
  --line-2: rgba(10,15,22,0.18);
  --logo-mark: #0A0F16;
  --grid-color: rgba(10,15,22,0.04);
  --grain-blend: multiply;
  --grain-opacity: 0.04;
  --orb-1: rgba(13,110,253,0.22);
  --orb-2: rgba(13,110,253,0.12);
  --card-bg: rgba(10,15,22,0.02);
  --card-bg-hover: rgba(13,110,253,0.05);
  --shadow-1: 0 8px 30px -8px rgba(13,110,253,0.4);
  --shadow-card: 0 30px 70px -20px rgba(13,110,253,0.18);
  --nav-bg: rgba(255,255,255,0.78);
  --hud-bg: rgba(255,255,255,0.78);
  --cursor-blend: normal;
  --cursor-color: #0A0F16;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--electric); color: var(--pure); }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

body { cursor: none; }
a, button { cursor: none; }

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

/* ===== Custom cursor ===== */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor, .cursor-dot { mix-blend-mode: var(--cursor-blend); }
.cursor {
  width: 36px; height: 36px;
  border: 1px solid var(--cursor-color);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--cursor-color);
  transform: translate(-50%, -50%);
}
.cursor.is-hover { width: 70px; height: 70px; background: color-mix(in srgb, var(--cursor-color) 12%, transparent); border-color: transparent; }
.cursor.is-text { width: 4px; height: 28px; border-radius: 2px; background: var(--cursor-color); }

@media (hover: none) {
  body, a, button { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ===== Background fx layers ===== */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  transition: opacity .6s var(--ease);
}
.bg-grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}
.bg-orb {
  position: fixed;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orb-1), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-orb.b { background: radial-gradient(circle, var(--orb-2), transparent 60%); animation-duration: 28s; animation-delay: -8s; }
@keyframes drift {
  0%   { transform: translate(-30%, -20%) scale(1); }
  50%  { transform: translate(40%, 20%)  scale(1.2); }
  100% { transform: translate(-10%, 40%) scale(0.9); }
}

/* ===== Page chrome ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(to right, var(--electric), var(--electric-glow));
  z-index: 100;
  transition: width .12s linear;
  box-shadow: 0 0 18px var(--electric);
}

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, var(--nav-bg), color-mix(in srgb, var(--nav-bg) 0%, transparent));
  transition: padding .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { padding: 14px 40px; background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  color: var(--pure); text-decoration: none;
}
.nav__logo svg { width: 36px; height: auto; }
.nav__logo .dot { color: var(--electric); }
.nav__links {
  display: flex; gap: 38px;
  font-size: 14px; color: var(--arctic);
  font-weight: 500;
  white-space: nowrap;
}
.nav__links a {
  position: relative;
  color: var(--arctic); text-decoration: none;
  opacity: 0.7;
  transition: opacity .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--electric);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn--primary {
  background: var(--electric);
  color: #FFFFFF;
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover { background: var(--electric-glow); transform: translateY(-2px); }
.btn--ghost {
  background: var(--card-bg);
  color: var(--pure);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--card-bg-hover); transform: translateY(-2px); }
.btn .arrow { display: inline-flex; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Layout ===== */
main { position: relative; z-index: 2; }
section { position: relative; padding: 140px 40px; }
.container { max-width: 1320px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 1px;
  background: var(--electric);
  box-shadow: 0 0 12px var(--electric);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 160px 40px 100px;
  display: flex;
  align-items: center;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero__title {
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--pure);
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero__title .accent {
  display: inline-block;
  color: var(--electric);
  position: relative;
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--arctic);
  opacity: 0.78;
  max-width: 640px;
  margin-bottom: 44px;
  text-wrap: pretty;
}
.hero__cta {
  display: flex; gap: 14px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex; gap: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero__meta-item {
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Floating side rail on the right (replaces the big owl visual) */
.hero__rail {
  position: absolute;
  top: 0; right: 0;
  width: 240px;
  height: 100%;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) {
  .hero__rail { display: block; }
}
.hero__rail-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--electric);
  opacity: 0.65;
}
.hero__rail-corner.tl { top: 8%; left: 0; border-right: 0; border-bottom: 0; }
.hero__rail-corner.tr { top: 8%; right: 0; border-left: 0; border-bottom: 0; }
.hero__rail-corner.bl { bottom: 12%; left: 0; border-right: 0; border-top: 0; }
.hero__rail-corner.br { bottom: 12%; right: 0; border-left: 0; border-top: 0; }
.hero__chip {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pure);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--hud-bg);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.hero__chip .blink {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px var(--electric);
}
.hero__telemetry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  padding: 18px 18px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--hud-bg);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.hero__telemetry-row b {
  color: var(--text-strong);
  font-weight: 500;
  font-feature-settings: 'tnum';
}

.hero__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
.hero__visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(13,110,253,0.22), transparent 60%);
  filter: blur(40px);
}
.owl-svg {
  position: relative;
  width: 78%;
  height: auto;
  z-index: 2;
  color: var(--logo-mark);
  filter: drop-shadow(0 30px 80px rgba(13,110,253,0.4));
}
.nav__logo svg, .boot__owl, .footer__brand svg { color: var(--logo-mark); }

/* Owl mark — class-based fills from the official SVG */
.owl-mark__dark { fill: var(--logo-mark); }
.owl-mark__blue { fill: var(--electric); }
.owl-svg .eye {
  transform-origin: center;
  transition: filter .4s var(--ease);
}
.hero__rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.ring.r1 { width: 80%; height: 80%; }
.ring.r2 { width: 95%; height: 95%; animation-duration: 90s; animation-direction: reverse; border-style: dashed; opacity: 0.5; }
.ring.r3 { width: 65%; height: 65%; border-color: var(--line-2); animation-duration: 40s; }
.ring__node {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--electric);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--electric);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__hud {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--hud-bg);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.hero__hud.tl { top: 8%; left: -4%; }
.hero__hud.tr { top: 14%; right: -2%; }
.hero__hud.br { bottom: 8%; right: 4%; }
.hero__hud.bl { bottom: 16%; left: -2%; }
.hero__hud .blink {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}

/* ===== Marquee ===== */
.marquee {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee__track {
  display: inline-flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text-strong) 50%, transparent);
}
.marquee__track .filled { -webkit-text-stroke: 0; color: var(--pure); }
.marquee__track .star { color: var(--electric); -webkit-text-stroke: 0; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ===== Section header ===== */
.s-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.s-head__title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--pure);
  text-wrap: balance;
}
.s-head__title .em { color: var(--electric); }
.s-head__sub {
  font-size: 18px;
  color: var(--arctic);
  opacity: 0.65;
  line-height: 1.5;
  max-width: 480px;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.service {
  background: var(--void);
  padding: 44px 36px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: background .5s var(--ease);
  cursor: none;
  display: flex;
  flex-direction: column;
}
.service::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(13,110,253,0.18), transparent 50%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.service__icon {
  width: 56px; height: 56px;
  margin: 24px 0 28px;
  color: var(--pure);
  transition: transform .5s var(--ease), color .5s var(--ease);
  flex-shrink: 0;
}
.service:hover .service__icon { transform: translateY(-6px); color: var(--electric-glow); }
.service__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--pure);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.service__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--arctic);
  opacity: 0.65;
  position: relative;
  z-index: 2;
  flex: 1;
  transition: opacity .5s var(--ease);
}
.service:hover .service__desc { opacity: 0.45; }
.service__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .4s var(--ease);
  position: relative;
  z-index: 2;
}
.service__tags span {
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(13,110,253,0.05);
}
.service:hover .service__tags {
  max-height: 240px;
  opacity: 1;
}
.service__arrow {
  position: absolute;
  top: 36px; right: 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-bg);
  color: var(--pure);
  transition: background .35s var(--ease), transform .35s var(--ease);
  z-index: 3;
}
.service:hover .service__arrow { background: var(--electric); color: #FFFFFF; transform: rotate(-45deg); }

/* ===== Process ===== */
.process-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .4s var(--ease);
}
.process-item::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--electric);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
  box-shadow: 0 0 10px var(--electric);
}
.process-item:hover::before { transform: scaleX(1); }
.process-item:hover { padding-left: 20px; }
.process-item__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--electric);
  letter-spacing: 0.1em;
}
.process-item__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--pure);
  letter-spacing: -0.02em;
}
.process-item__desc {
  font-size: 15px;
  color: var(--arctic);
  opacity: 0.65;
  line-height: 1.5;
}
.process-item__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
}

/* ===== Stats ===== */
.stats {
  background: linear-gradient(180deg, var(--void) 0%, var(--nightfall) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}
.stat__num {
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--pure);
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.stat__num .unit {
  font-size: 0.4em;
  color: var(--electric);
  font-weight: 500;
  margin-left: 4px;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ===== Pillars ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .4s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(13,110,253,0.05); }
.pillar__icon {
  width: 36px; height: 36px;
  color: var(--electric);
  margin-bottom: 28px;
}
.pillar__title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--pure);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pillar__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--arctic);
  opacity: 0.7;
}

/* ===== Dashboard mock ===== */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase__copy h3 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pure);
  margin-bottom: 24px;
  font-weight: 700;
}
.showcase__copy p {
  font-size: 17px;
  color: var(--arctic);
  opacity: 0.7;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 480px;
}
.showcase__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.showcase__list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: var(--arctic);
}
.showcase__list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(13,110,253,0.16);
  color: var(--electric);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.dashboard {
  background: linear-gradient(180deg, var(--nightfall), var(--slate));
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(13,110,253,0.1);
  position: relative;
  overflow: hidden;
}
.dashboard::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(13,110,253,0.18), transparent 50%);
  pointer-events: none;
}
.db-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.db-head h4 {
  font-size: 18px; color: var(--pure); font-weight: 600;
}
.db-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--electric);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13,110,253,0.12);
}
.db-head .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric); animation: pulse 1.4s ease-in-out infinite;
}
.db-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 24px;
}
.db-kpi {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.db-kpi__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.db-kpi__val { font-size: 24px; font-weight: 700; color: var(--pure); letter-spacing: -0.02em; }
.db-kpi__delta { font-size: 11px; color: var(--electric); font-family: var(--font-mono); }

.db-chart {
  height: 140px;
  position: relative;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}
.db-chart svg { width: 100%; height: 100%; }
.db-chart .grid-l { stroke: var(--line); stroke-width: 1; }
.db-chart .area { fill: url(#chartGrad); }
.db-chart .line { stroke: var(--electric); stroke-width: 2; fill: none; filter: drop-shadow(0 0 6px rgba(13,110,253,0.6)); }

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 120px 40px 180px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Hide auto-injected section divider on the CTA — it has its own big visual */
.cta > .section-divider { display: none; }
.cta__video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.12;
  filter: saturate(0.5) contrast(0.95) brightness(0.75) blur(1.5px);
  pointer-events: none;
  animation: ctaZoom 22s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes ctaZoom {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.10); }
}
[data-theme="light"] .cta__video {
  opacity: 0.05;
  filter: saturate(0.3) contrast(1.05) brightness(1.2) blur(1.5px);
}
/* Soft veil that just rounds the edges; let the middle breathe */
.cta__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 65%, transparent) 12%, color-mix(in srgb, var(--bg) 20%, transparent) 30%, color-mix(in srgb, var(--bg) 20%, transparent) 70%, color-mix(in srgb, var(--bg) 65%, transparent) 88%, var(--bg) 100%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 0%, transparent 60%, color-mix(in srgb, var(--bg) 30%, transparent) 100%);
}
[data-theme="light"] .cta__veil {
  background:
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 25%, color-mix(in srgb, var(--bg) 40%, transparent) 50%, color-mix(in srgb, var(--bg) 70%, transparent) 75%, var(--bg) 100%);
}

.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(13,110,253,0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
}
[data-theme="light"] .cta::before { mix-blend-mode: normal; opacity: 0.35; }

.cta h2 {
  font-size: clamp(56px, 9vw, 160px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--pure);
  margin-bottom: 40px;
  text-wrap: balance;
  padding-bottom: 0.25em;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.cta h2 .em {
  display: inline-block;
  padding: 0.1em 0.08em 0.3em;
  margin-bottom: -0.2em;
  line-height: 1.15;
  overflow: visible;
}

.cta__sub, .cta__btn { position: relative; z-index: 1; }
.cta h2 .em { color: var(--electric); font-style: italic; font-weight: 300; }
.cta__sub { font-size: 19px; color: var(--arctic); opacity: 0.7; max-width: 520px; margin: 0 auto 48px; }
.cta__btn {
  display: inline-flex;
  align-items: center; gap: 16px;
  padding: 22px 36px;
  background: var(--electric);
  color: var(--pure);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease);
  box-shadow: 0 20px 60px -10px rgba(13,110,253,0.6);
}
.cta__btn:hover { transform: translateY(-4px) scale(1.03); }
.cta__btn .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pure);
  position: relative;
}
.cta__btn .pulse::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--pure);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 60px 40px 40px;
}
.footer__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer__brand { max-width: 360px; }
.footer__brand p { font-size: 14px; color: var(--arctic); opacity: 0.6; line-height: 1.5; margin-top: 20px; }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--arctic); opacity: 0.8; text-decoration: none; font-size: 15px; transition: opacity .3s var(--ease), color .3s var(--ease); }
.footer__col a:hover { color: var(--electric); opacity: 1; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1320px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer__bottom .build {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__bottom .build .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--electric); animation: pulse 1.6s ease-in-out infinite; }

/* ===== Portfolio ===== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.pf-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.pf-chip:hover { color: var(--text-strong); border-color: var(--electric); transform: translateY(-2px); }
.pf-chip.is-active {
  background: var(--electric);
  color: #fff;
  border-color: var(--electric);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
}
.pf-card {
  grid-column: span 2;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  cursor: none;
  position: relative;
  transition: transform .5s var(--ease), border-color .4s var(--ease), opacity .4s var(--ease);
  transform-style: preserve-3d;
  isolation: isolate;
}
.pf-card--xl { grid-column: span 4; grid-row: span 2; }
.pf-card--wide { grid-column: span 4; }
.pf-card:hover {
  border-color: var(--electric);
  transform: translateY(-4px);
}
.pf-card.is-hidden { display: none; }

.pf-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.pf-card--xl .pf-card__media { aspect-ratio: 16 / 11; }
.pf-card__media image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Image fill mode (real screenshots, signatures, etc.) */
.pf-card__media--image {
  background: var(--bg-2);
  padding: 0;
}
.pf-card__media--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
[data-theme="dark"] .pf-card__media--image {
  background: #ffffff;
}

.pf-card__media--baselinker {
  background: #050810;
  display: block;
}
.pf-card__media--baselinker .pf-fx--baselinker-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* n8n workflow screenshot — light grey canvas */
.pf-card__media--n8n {
  background: #F4F4F5 !important;
}
.pf-card__media--n8n img {
  object-position: center center;
  object-fit: contain;
  padding: 16px;
}
/* Video fill mode (project demos) */
.pf-card__media--video {
  background: #000;
}
.pf-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-card__media-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity .5s var(--ease), transform .8s var(--ease);
  opacity: 1;
}
/* When user drops an image, image-slot's :host gets a class. Fade out our placeholder fx then. */
.pf-card:has(image-slot[data-filled]) .pf-card__media-fx { opacity: 0; }

/* Per-category placeholder graphic (looks intentional, not slop) */
.pf-fx--ai {
  background:
    radial-gradient(circle at 30% 35%, rgba(13,110,253,0.55), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(58,139,253,0.40), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(13,110,253,0.30), transparent 50%),
    linear-gradient(135deg, #0a1020 0%, #0d1a32 50%, #102544 100%);
}
.pf-fx--ai::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 18% 28%, rgba(255,255,255,0.85), transparent 2.5px),
    radial-gradient(circle 1px at 32% 14%, rgba(255,255,255,0.55), transparent 2px),
    radial-gradient(circle 2px at 68% 22%, rgba(255,255,255,0.75), transparent 3px),
    radial-gradient(circle 1px at 84% 38%, rgba(255,255,255,0.5), transparent 2px),
    radial-gradient(circle 1.5px at 12% 56%, rgba(255,255,255,0.7), transparent 2.5px),
    radial-gradient(circle 1px at 42% 70%, rgba(255,255,255,0.55), transparent 2px),
    radial-gradient(circle 2px at 58% 84%, rgba(255,255,255,0.85), transparent 3px),
    radial-gradient(circle 1px at 88% 76%, rgba(255,255,255,0.5), transparent 2px),
    radial-gradient(circle 1.5px at 76% 50%, rgba(58,139,253,0.7), transparent 2.5px);
  animation: starsTwinkle 5s ease-in-out infinite;
}
.pf-fx--ai::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(13,110,253,0.2);
  background: radial-gradient(circle, rgba(13,110,253,0.04) 30%, transparent 60%);
  box-shadow: inset 0 0 40px rgba(13,110,253,0.15);
  animation: pulsate 4s ease-in-out infinite;
}
@keyframes pulsate {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}
@keyframes starsTwinkle {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.pf-fx--web {
  background:
    linear-gradient(180deg, #0a0f1a 0%, #131e2e 70%, #1a2a44 100%);
}
.pf-fx--web::before {
  content: '';
  position: absolute; left: 10%; right: 10%; top: 18%; bottom: 14%;
  background: linear-gradient(135deg, rgba(13,110,253,0.18), rgba(58,139,253,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(13,110,253,0.4), inset 0 0 40px rgba(13,110,253,0.05);
}
.pf-fx--web::after {
  content: '';
  position: absolute; left: 10%; right: 10%; top: 18%; height: 26px;
  background: linear-gradient(90deg, rgba(13,110,253,0.5), transparent 35%);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 16px 0 -22px rgba(255,255,255,0.05), 0 30px 0 -22px rgba(255,255,255,0.05);
}

.pf-fx--auto {
  background:
    linear-gradient(135deg, #0a0f16 0%, #0d1622 100%);
}
.pf-fx--auto::before {
  content: '';
  position: absolute; left: 14%; right: 14%; top: 14%; bottom: 14%;
  background:
    repeating-linear-gradient(45deg, rgba(13,110,253,0.22) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(-45deg, rgba(58,139,253,0.14) 0 1px, transparent 1px 16px);
  border-radius: 14px;
  border: 1px solid rgba(13,110,253,0.18);
  box-shadow: inset 0 0 40px rgba(13,110,253,0.1);
}
.pf-fx--auto::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24%; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(13,110,253,0.4), transparent 70%),
    var(--bg);
  box-shadow: 0 0 30px rgba(13,110,253,0.4);
}

.pf-fx--apps {
  background:
    linear-gradient(180deg, #0a0f16 0%, #131e2e 100%);
}
.pf-fx--apps::before {
  content: '';
  position: absolute; left: 6%; right: 6%; top: 18%; bottom: 18%;
  background: linear-gradient(135deg, rgba(13,110,253,0.20), rgba(13,110,253,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background-image:
    linear-gradient(135deg, rgba(13,110,253,0.20), rgba(13,110,253,0.02)),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  box-shadow: inset 0 0 40px rgba(13,110,253,0.08);
}
.pf-fx--apps::after {
  content: '';
  position: absolute;
  left: 12%; bottom: 26%;
  width: 30%; height: 6px;
  background: var(--electric);
  border-radius: 3px;
  box-shadow:
    36% 18px 0 -1px var(--electric),
    -8% 36px 0 -2px rgba(13,110,253,0.6);
  filter: drop-shadow(0 0 8px rgba(13,110,253,0.5));
  opacity: 0.85;
}

.pf-fx--video {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(13,110,253,0.4), transparent 60%),
    linear-gradient(135deg, #050810 0%, #0c1828 100%);
}
.pf-fx--video::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 84px; height: 84px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.6);
  box-shadow: 0 0 24px rgba(13,110,253,0.6);
  backdrop-filter: blur(8px);
}
.pf-fx--video::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  width: 0; height: 0;
  border-left: 22px solid rgba(255,255,255,0.95);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  filter: drop-shadow(0 0 8px rgba(13,110,253,0.5));
}

[data-theme="light"] .pf-fx--ai {
  background:
    radial-gradient(circle at 30% 35%, rgba(13,110,253,0.30), transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(58,139,253,0.20), transparent 55%),
    linear-gradient(135deg, #E6EBF4 0%, #DCE2EB 100%);
}
[data-theme="light"] .pf-fx--ai::after { filter: invert(1) brightness(0.6); }
[data-theme="light"] .pf-fx--web,
[data-theme="light"] .pf-fx--auto,
[data-theme="light"] .pf-fx--apps,
[data-theme="light"] .pf-fx--video {
  background: linear-gradient(135deg, #DCE2EB 0%, #ECEFF4 100%);
}
[data-theme="light"] .pf-fx--video::before { background: rgba(13,110,253,0.06); border-color: var(--electric); }
[data-theme="light"] .pf-fx--video::after { border-left-color: var(--electric); }

/* Audi project — sleek metallic placeholder (until we have real screenshots) */
.pf-fx--audi {
  background:
    radial-gradient(ellipse 80% 50% at 50% 70%, rgba(13,110,253,0.30), transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 30%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(180deg, #050810 0%, #0a1322 40%, #050810 100%);
}
.pf-fx--audi::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 90px);
  mix-blend-mode: screen;
}
.pf-fx--audi::after {
  content: 'A7';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(80px, 12vw, 180px);
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(180,200,230,0.6) 50%, rgba(13,110,253,0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 6px 30px rgba(13,110,253,0.3));
  opacity: 0.9;
}
[data-theme="light"] .pf-fx--audi {
  background:
    radial-gradient(ellipse 80% 50% at 50% 70%, rgba(13,110,253,0.18), transparent 60%),
    linear-gradient(180deg, #DCE2EB 0%, #ECEFF4 100%);
}
[data-theme="light"] .pf-fx--audi::after {
  background: linear-gradient(180deg, rgba(10,15,22,0.6), var(--electric));
  -webkit-background-clip: text;
  background-clip: text;
}

.pf-card__live {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric);
}
.pf-card__live .blink {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
  animation: pulse 1.4s ease-in-out infinite;
}
a.pf-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pf-card__body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.pf-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.pf-card__tag { color: var(--electric); }
.pf-card__title {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pure);
  margin: 0;
}
.pf-card__desc {
  font-size: 14px;
  color: var(--arctic);
  opacity: 0.65;
  line-height: 1.5;
}
.pf-card__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pf-card__metric-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--electric);
  font-feature-settings: 'tnum';
}
.pf-card__metric-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-card { grid-column: span 1; }
  .pf-card--xl, .pf-card--wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .pf-card, .pf-card--xl, .pf-card--wide { grid-column: span 1; }
}

/* ===== Boosters: boot draw, dividers, process reveal, cursor trail ===== */
.boot__owl .boot-blade,
.boot__owl .boot-eye,
.boot__owl .boot-beak {
  stroke: var(--electric);
  stroke-width: 3;
  fill: var(--electric);
  fill-opacity: 0;
}
.boot__owl .boot-blade.drawn { fill-opacity: 1; fill: var(--logo-mark); stroke: transparent; }
.boot__owl .boot-eye.drawn { fill-opacity: 1; fill: var(--electric); stroke: transparent; }
.boot__owl .boot-beak.drawn { fill-opacity: 1; fill: var(--logo-mark); stroke: transparent; }

/* Section divider */
.section-divider {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(900px, 80vw);
  z-index: 3;
  pointer-events: none;
}
.section-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line-2) 30%, var(--line-2) 70%, transparent 100%);
  position: relative;
  overflow: hidden;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}
.section-divider.is-in .section-divider__line { transform: scaleX(1); }
.section-divider__line::after {
  content: '';
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  filter: blur(1px);
  animation: dividerSwipe 3s ease-in-out 1.2s infinite;
}
@keyframes dividerSwipe {
  0%   { left: -30%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
.section-divider__chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--electric);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .6s var(--ease) .3s, transform .6s var(--ease) .3s;
}
.section-divider.is-in .section-divider__chip { opacity: 1; transform: translateY(0); }

/* Need section to be positioned for the absolute divider */
main > section { position: relative; }

/* Process: dim/bright cycle */
.process-item {
  filter: brightness(1);
  opacity: 1;
  transition: filter .5s var(--ease), opacity .5s var(--ease), transform .6s var(--ease);
}
.process-item.is-dim {
  opacity: 0.32;
  filter: brightness(0.7);
  transform: translateX(-20px);
}
.process-item.is-on {
  opacity: 1;
  filter: brightness(1);
  transform: translateX(0);
}

/* Cursor trail */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--electric);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
  box-shadow: 0 0 8px var(--electric);
  will-change: transform;
}
[data-theme="light"] .cursor-trail { mix-blend-mode: multiply; }

/* Service: keep transform-style for nested 3D */
.service {
  transform-style: preserve-3d;
}
.service .service__icon,
.service .service__title {
  transition: transform .35s var(--ease);
  transform-style: preserve-3d;
}
.reveal { opacity: 1; transform: none; }
.split-char { display: inline-block; }

/* ===== Theme & language toggles ===== */
.theme-toggle {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--card-bg);
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--card-bg-hover); border-color: var(--electric); }
.theme-toggle__icon {
  position: absolute;
  width: 18px; height: 18px;
  transition: transform .5s var(--ease), opacity .35s var(--ease);
}
.theme-toggle__icon--moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle__icon--sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme-toggle__icon--moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="light"] .theme-toggle__icon--sun { opacity: 1; transform: rotate(0) scale(1); }

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-family: var(--font-mono);
}
.lang-switch__current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 14px;
  background: var(--card-bg);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-strong);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: none;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.lang-switch__current:hover { background: var(--card-bg-hover); border-color: var(--electric); }
.lang-switch[aria-expanded="true"] .lang-switch__current { border-color: var(--electric); }
.lang-switch__current .lang-code { font-weight: 500; }
.lang-switch__current .lang-caret {
  font-size: 9px;
  opacity: 0.6;
  transition: transform .25s var(--ease);
}
.lang-switch.is-open .lang-switch__current .lang-caret { transform: rotate(180deg); }

.lang-flag {
  display: inline-block;
  width: 20px; height: 14px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1) inset;
}
.lang-flag[data-flag="pl"] { background: linear-gradient(180deg, #ffffff 50%, #DC143C 50%); }
.lang-flag[data-flag="en"] {
  background: #012169;
  background-image:
    /* white diagonals */
    linear-gradient(to top right, transparent calc(50% - 1.2px), #ffffff calc(50% - 1.2px), #ffffff calc(50% + 1.2px), transparent calc(50% + 1.2px)),
    linear-gradient(to top left,  transparent calc(50% - 1.2px), #ffffff calc(50% - 1.2px), #ffffff calc(50% + 1.2px), transparent calc(50% + 1.2px)),
    /* red diagonals (thinner, offset slightly) */
    linear-gradient(to top right, transparent calc(50% - 0.5px), #C8102E calc(50% - 0.5px), #C8102E calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to top left,  transparent calc(50% - 0.5px), #C8102E calc(50% - 0.5px), #C8102E calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    /* white cross */
    linear-gradient(to right, transparent calc(50% - 2.5px), #ffffff calc(50% - 2.5px), #ffffff calc(50% + 2.5px), transparent calc(50% + 2.5px)),
    linear-gradient(to bottom, transparent calc(50% - 2.5px), #ffffff calc(50% - 2.5px), #ffffff calc(50% + 2.5px), transparent calc(50% + 2.5px)),
    /* red cross */
    linear-gradient(to right, transparent calc(50% - 1px), #C8102E calc(50% - 1px), #C8102E calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent calc(50% - 1px), #C8102E calc(50% - 1px), #C8102E calc(50% + 1px), transparent calc(50% + 1px));
}
.lang-flag[data-flag="en"]::before { content: none; }
.lang-flag[data-flag="de"] {
  background: linear-gradient(180deg, #000000 0%, #000000 33%, #DD0000 33%, #DD0000 66%, #FFCE00 66%);
}
.lang-flag[data-flag="es"] {
  background: linear-gradient(180deg, #AA151B 0%, #AA151B 25%, #F1BF00 25%, #F1BF00 75%, #AA151B 75%);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.5);
  z-index: 100;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.lang-switch__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: none;
  transition: background .2s var(--ease), color .2s var(--ease);
  width: 100%;
}
.lang-switch__opt > span:nth-child(2) { flex: 1; font-family: var(--font-sans); }
.lang-switch__opt .lang-code-sm {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.lang-switch__opt:hover { background: var(--card-bg-hover); color: var(--text-strong); }
.lang-switch__opt.is-active { background: color-mix(in srgb, var(--electric) 14%, transparent); color: var(--electric); }
.lang-switch__opt.is-active .lang-code-sm { color: var(--electric); }

/* ===== Hero video background ===== */
.bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: calc(0.50 * var(--scroll-fade, 1));
  filter: saturate(0.75) contrast(1.1);
  will-change: opacity, transform;
}
[data-theme="light"] .bg-video {
  opacity: calc(0.10 * var(--scroll-fade, 1));
  filter: saturate(0.3) contrast(1.05) brightness(1.2);
}
.bg-video-veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 90% at 60% 50%, transparent 0%, color-mix(in srgb, var(--bg) 40%, transparent) 65%, var(--bg) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent) 0%, transparent 25%, transparent 55%, var(--bg) 95%),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 75%, transparent) 0%, color-mix(in srgb, var(--bg) 20%, transparent) 35%, transparent 60%);
}
[data-theme="light"] .bg-video-veil {
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%, transparent 0%, var(--bg) 90%),
    linear-gradient(180deg, transparent 0%, transparent 55%, var(--bg) 92%);
}

/* ===== Cursor spotlight bg ===== */
.bg-spotlight {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(13, 110, 253, 0.10),
    transparent 60%
  );
  mix-blend-mode: screen;
  transition: opacity .4s var(--ease);
}
[data-theme="light"] .bg-spotlight {
  background: radial-gradient(
    600px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(13, 110, 253, 0.06),
    transparent 60%
  );
  mix-blend-mode: multiply;
}

/* ===== Subtle owl pattern background ===== */
.bg-pattern {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  color: var(--logo-mark);
  mask-image: radial-gradient(ellipse at 50% 50%, black 0%, transparent 70%);
  transform: scale(1.1);
  animation: bgPatternDrift 40s linear infinite;
}
@keyframes bgPatternDrift {
  0%   { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-220px, -220px) scale(1.1); }
}

/* ===== Animated accent text ===== */
.accent, .s-head__title .em {
  background-image: linear-gradient(90deg, var(--electric) 0%, var(--electric-glow) 50%, var(--electric) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 6s linear infinite;
  display: inline-block;
  padding: 0.1em 0.04em 0.22em;
  line-height: 1.12;
}
/* CTA em — keep solid color so descenders (?, j, g) render cleanly without bg-clip issues */
.cta h2 .em {
  color: var(--electric);
  font-style: italic;
  font-weight: 300;
  background: none;
  -webkit-text-fill-color: var(--electric);
  display: inline-block;
  line-height: 1.18;
  padding: 0 0.04em 0.1em;
}
@keyframes gradientShift {
  0%   { background-position: 0% 0; }
  100% { background-position: -200% 0; }
}

/* Marquee faster on hover */
.marquee.is-fast .marquee__track { animation-duration: 14s; }
.marquee__track { will-change: transform; transition: animation-duration .3s var(--ease); }

/* ===== Magnetic transform variable helper ===== */
.btn--primary, .cta__btn, .theme-toggle {
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  will-change: transform;
}
.boot {
  position: fixed; inset: 0;
  background: var(--void);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 32px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.boot.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__owl { width: 80px; opacity: 0; animation: bootFade 1.2s var(--ease-out) forwards; }
@keyframes bootFade {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}
.boot__bar {
  width: 220px; height: 1px;
  background: var(--line-2);
  position: relative; overflow: hidden;
}
.boot__bar::after {
  content: ''; position: absolute; inset: 0;
  background: var(--electric);
  transform-origin: left;
  animation: bootLoad 1.4s var(--ease-out) forwards;
  box-shadow: 0 0 10px var(--electric);
}
@keyframes bootLoad {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
.boot__txt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .s-head { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:nth-last-child(-n+1) { border-bottom: 0; }
  .showcase { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
  .process-item { grid-template-columns: 70px 1fr 1fr; gap: 24px; }
  .process-item__tag { grid-column: 1 / -1; text-align: left; }
  .nav__links { gap: 24px; }
  .nav { padding: 18px 28px; }
  .nav.scrolled { padding: 12px 28px; }
}
@media (max-width: 860px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav__links { display: none; }
  .nav__cta { gap: 8px; }
  .nav__cta .btn--primary { padding: 12px 16px; font-size: 13px; }
  .nav__logo span { font-size: 17px; }
  .nav__logo svg { width: 30px; }

  section { padding: 80px 20px; }
  .hero { padding: 120px 20px 60px; min-height: auto; }
  .hero__title { font-size: clamp(40px, 9vw, 64px); line-height: 1; }
  .hero__sub { font-size: 16px; max-width: 100%; margin-bottom: 32px; }
  .hero__cta { gap: 10px; margin-bottom: 40px; }
  .hero__cta .btn { padding: 13px 18px; font-size: 13px; flex: 1; min-width: 0; justify-content: center; }
  .hero__meta { font-size: 10px; gap: 18px; }
  .hero__rail { display: none; }

  .marquee { padding: 24px 0; }
  .marquee__track { gap: 32px; font-size: clamp(28px, 7vw, 48px); }

  .s-head { margin-bottom: 48px; }
  .s-head__title { font-size: clamp(34px, 7.5vw, 56px) !important; }
  .s-head__sub { font-size: 16px; }

  .services-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .service { min-height: auto; padding: 32px 26px; }
  .service__title { font-size: 23px; }
  .service__desc { font-size: 14px; }
  .service__arrow { top: 26px; right: 26px; width: 32px; height: 32px; }
  /* On mobile, always show tags (no hover) */
  .service__tags { max-height: 200px; opacity: 1; margin-top: 18px; }
  .service:hover .service__desc { opacity: 0.65; }

  .process-item {
    grid-template-columns: 50px 1fr;
    gap: 16px 18px;
    padding: 28px 0;
  }
  .process-item__num { font-size: 12px; }
  .process-item__title { font-size: 22px; grid-column: 2; }
  .process-item__desc { grid-column: 2; font-size: 14px; }
  .process-item__tag { grid-column: 2; text-align: left; font-size: 10px; margin-top: 4px; }
  .process-item:hover { padding-left: 8px; }

  .stats { padding: 60px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .stat__num { font-size: clamp(44px, 12vw, 80px); }
  .stat__label { font-size: 10px; letter-spacing: 0.14em; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 28px 24px; }

  .showcase { gap: 40px; }
  .showcase__copy h3 { font-size: clamp(30px, 7vw, 44px); }
  .showcase__copy p { font-size: 16px; }
  .dashboard { padding: 22px; }
  .db-kpis { gap: 8px; }
  .db-kpi { padding: 12px 10px; }
  .db-kpi__val { font-size: 20px; }

  .portfolio-filters { gap: 6px; }
  .pf-chip { padding: 8px 14px; font-size: 10px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 18px; }
  .pf-card, .pf-card--xl, .pf-card--wide { grid-column: span 1; grid-row: auto; }
  .pf-card__body { padding: 22px 22px 26px; }
  .pf-card__title { font-size: 20px; }
  .pf-card__desc { font-size: 14px; }
  .pf-card__metric-num { font-size: 22px; }

  .cta { padding: 90px 20px 110px; }
  .cta h2 { font-size: clamp(46px, 13vw, 92px); line-height: 1.05; }
  .cta__sub { font-size: 16px; margin-bottom: 36px; }
  .cta__btn { padding: 18px 26px; font-size: 14px; }

  .footer { padding: 50px 20px 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 10px; padding-top: 24px; text-align: left; }

  .theme-toggle { width: 38px; height: 38px; }
  .theme-toggle__icon { width: 16px; height: 16px; }
  .lang-switch { height: 38px; }
  .lang-switch__current { padding: 0 10px; font-size: 11px; gap: 6px; }
  .lang-flag { width: 16px; height: 11px; }
  .lang-switch__menu { right: -10px; min-width: 170px; }

  /* Reduce ambient backgrounds on mobile to keep things snappy */
  .bg-pattern { display: none; }
  .bg-orb { width: 480px; height: 480px; filter: blur(50px); }

  /* Disable custom cursor on touch */
  body, a, button, .btn, .pf-chip, .theme-toggle, .lang-switch__current,
  .service, .process-item, .pf-card { cursor: auto !important; }
  .cursor, .cursor-dot, .cursor-trail { display: none !important; }

  /* Section dividers smaller */
  .section-divider { width: 90%; gap: 12px; }
  .section-divider__chip { font-size: 9px; padding: 5px 10px; }
}
@media (max-width: 480px) {
  section { padding: 64px 18px; }
  .hero { padding: 110px 18px 50px; }
  .hero__title { font-size: clamp(36px, 10vw, 54px); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; flex: none; }
  .hero__meta { flex-direction: column; gap: 10px; align-items: flex-start; }
  .s-head__title { font-size: clamp(28px, 8.5vw, 44px) !important; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 40px 18px 24px; }
}
@media (hover: none), (pointer: coarse) {
  body, a, button, .btn, .pf-chip, .theme-toggle, .lang-switch__current,
  .service, .process-item, .pf-card { cursor: auto !important; }
  .cursor, .cursor-dot, .cursor-trail { display: none !important; }
  /* Force always-visible tags on services since there's no hover */
  .service__tags { max-height: 200px; opacity: 1; margin-top: 18px; }
}
