/* ==========================================================================
   PragmaTech Solutions PLC — main stylesheet
   No build step needed: plain CSS with custom properties.
   ========================================================================== */

/* Self-hosted web fonts (Inter, Space Grotesk, JetBrains Mono, Noto Sans Ethiopic; SIL Open Font License).
   Only latin, latin-ext and ethiopic subsets are included. */
/* Inter · latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-395290.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter · latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter · latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-395290.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter · latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter · latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-395290.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter · latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono · latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext-ba1653.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono · latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-480c06.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono · latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext-ba1653.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono · latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-480c06.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Sans Ethiopic · ethiopic */
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-sans-ethiopic-ethiopic-f73467.woff2) format('woff2');
  unicode-range: U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7E6, U+1E7E8-1E7EB, U+1E7ED-1E7EE, U+1E7F0-1E7FE;
}
/* Noto Sans Ethiopic · ethiopic */
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-sans-ethiopic-ethiopic-f73467.woff2) format('woff2');
  unicode-range: U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7E6, U+1E7E8-1E7EB, U+1E7ED-1E7EE, U+1E7F0-1E7FE;
}
/* Space Grotesk · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext-611be2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ecea81.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext-611be2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ecea81.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Space Grotesk · latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ext-611be2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Space Grotesk · latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-latin-ecea81.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #070b14;
  --bg-2: #0a1020;
  --bg-3: #0e1629;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .14);
  --text: #e6edf7;
  --muted: #8b98ad;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --lime: #a3e635;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 100%);
  --grad-3: linear-gradient(100deg, var(--cyan), var(--violet), var(--lime));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --font: "Inter", "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--cyan); color: #04131a; padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

@keyframes loaderPulse { 50% { transform: scale(1.08); filter: drop-shadow(0 0 18px rgba(34, 211, 238, .6)); } }

/* ---------- Progress + cursor glow ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120;
  background: var(--grad-3); transform-origin: 0 50%; transform: scaleX(0);
}
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .13), rgba(34, 211, 238, .05) 40%, transparent 70%);
  opacity: 0; transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  --pad: .95rem 1.5rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  will-change: transform;
}
.btn--sm { --pad: .65rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { border-color: var(--border-2); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
  padding: 1rem 0;
}
/* The frosted background lives on a pseudo-element: backdrop-filter on .nav itself
   would become the containing block for the fixed mobile menu and squash it. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(7, 11, 20, .9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity .3s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { border-color: var(--border); padding: .55rem 0; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__text { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1; display: flex; flex-direction: column; }
.brand__text .grad { display: inline; }
.brand__text small { font-family: var(--mono); font-size: .58rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { position: relative; font-size: .93rem; color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 5rem; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -3; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.hero::before { width: 520px; height: 520px; background: #4c1d95; top: -120px; right: -120px; animation: blob 14s ease-in-out infinite alternate; }
.hero::after { width: 460px; height: 460px; background: #0e7490; bottom: -160px; left: -120px; animation: blob 18s ease-in-out infinite alternate-reverse; }
@keyframes blob { to { transform: translate(-60px, 60px) scale(1.15); } }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem; border: 1px solid var(--border-2); border-radius: 999px;
  background: var(--surface); font-size: .82rem; color: var(--muted); margin-bottom: 1.6rem;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163, 230, 53, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(163, 230, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); } }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; margin-bottom: 1.4rem; }
.hero__title em { font-style: normal; position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .14em; border-radius: 4px;
  background: var(--lime); opacity: .85; z-index: -1; transform: scaleX(0); transform-origin: left;
  animation: underline 1s .9s var(--ease) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.typed { display: inline; white-space: nowrap; }
.caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--display); font-size: 2rem; line-height: 1; }
.hero__stats span { font-size: .85rem; color: var(--muted); margin-top: .35rem; }

.hero__visual { position: relative; }
.code-card {
  position: relative; border-radius: var(--radius); background: rgba(13, 20, 36, .85);
  border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 0 1px rgba(34, 211, 238, .05), 0 0 80px -20px rgba(139, 92, 246, .45);
  backdrop-filter: blur(10px); transform-style: preserve-3d; transition: transform .2s ease-out;
}
.code-card__bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
.code-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.code-card__bar i:nth-child(2) { background: #fbbf24; }
.code-card__bar i:nth-child(3) { background: #34d399; }
.code-card__bar span { margin-left: auto; font-size: .75rem; color: var(--muted); }
.code-card__body { margin: 0; padding: 1.3rem 1.4rem 1.6rem; font-size: .84rem; line-height: 1.75; min-height: 400px; white-space: pre-wrap; color: #c9d4e5; }
.code-card__body .k { color: #c084fc; }
.code-card__body .f { color: var(--cyan); }
.code-card__body .s { color: var(--lime); }
.code-card__body .c { color: #5b6880; font-style: italic; }
.code-card__body .n { color: #fbbf24; }
.code-card__body .cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -.2em; background: var(--cyan); animation: blink 1s steps(1) infinite; }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border-radius: 12px; font-size: .8rem; font-weight: 500;
  background: rgba(14, 22, 41, .9); border: 1px solid var(--border-2); box-shadow: var(--shadow);
  backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite;
}
.chip-1 { top: -22px; right: -14px; }
.chip-2 { bottom: 70px; left: -42px; animation-delay: -2s; }
.chip-3 { bottom: -22px; right: 26px; animation-delay: -4s; color: #fde68a; }
@keyframes float { 50% { transform: translateY(-12px); } }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--lime { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot--amber { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-2); padding: 1.2rem 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 3rem; padding-right: 3rem; }
.marquee li { font-family: var(--mono); font-size: .95rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 3rem; }
.marquee li::after { content: "◆"; font-size: .55rem; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; overflow-x: clip; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section__head { max-width: 760px; margin-bottom: 3.5rem; }
.section__head > p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.kicker { color: var(--cyan); font-size: .85rem; letter-spacing: .04em; margin-bottom: 1rem; }

/* ---------- Cards (spotlight hover) ---------- */
.card {
  position: relative; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .12), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.service { padding: 1.8rem 1.6rem; transition: transform .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-6px); border-color: var(--border-2); }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, .15), rgba(139, 92, 246, .15));
  border: 1px solid rgba(139, 92, 246, .3);
}
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__icon svg { stroke: var(--lime); }
.service p { color: var(--muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-family: var(--mono); font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; background: var(--surface-2); color: #b5c2d6; border: 1px solid var(--border); }

/* ---------- AI Lab ---------- */
.section--ai { overflow: hidden; background: radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, .14), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(34, 211, 238, .1), transparent 50%), var(--bg-2); }
.ai-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(139, 92, 246, .35) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.ai-lab { position: relative; display: grid; grid-template-columns: 360px 1fr; gap: 1.5rem; align-items: stretch; }
.ai-lab__tabs { display: flex; flex-direction: column; gap: .6rem; }
.ai-tab {
  display: flex; align-items: center; gap: .9rem; text-align: left; padding: .95rem 1.1rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.ai-tab:hover { transform: translateX(4px); border-color: var(--border-2); }
.ai-tab.is-active { border-color: rgba(34, 211, 238, .55); background: linear-gradient(100deg, rgba(34, 211, 238, .1), rgba(139, 92, 246, .08)); }
.ai-tab__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); flex: none; transition: background .25s; }
.ai-tab__icon svg, .contact__info li > span svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ai-tab.is-active .ai-tab__icon { background: var(--grad); }
.ai-tab.is-active .ai-tab__icon svg { stroke: #fff; }
.ai-tab b { display: block; font-size: .95rem; font-weight: 600; }
.ai-tab small { display: block; color: var(--muted); font-size: .8rem; }

.ai-lab__console { display: flex; flex-direction: column; min-height: 470px; background: rgba(9, 14, 27, .85); border-color: var(--border-2); }
.console__bar { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.2rem; border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.console__bar .dot { margin-right: .4rem; }
.console__replay { background: none; border: 1px solid var(--border); border-radius: 8px; padding: .3rem .7rem; font-size: .75rem; color: var(--muted); }
.console__replay:hover { color: var(--cyan); border-color: var(--cyan); }
.console__body { flex: none; height: 400px; padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; overflow: hidden; }
.console__impact { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1rem 1.4rem; border-top: 1px solid var(--border); min-height: 62px; }
.impact { font-size: .8rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(163, 230, 53, .1); color: #d9f99d; border: 1px solid rgba(163, 230, 53, .3); opacity: 0; transform: translateY(6px); animation: rise .4s var(--ease) forwards; }

.msg { max-width: 85%; padding: .8rem 1rem; border-radius: 14px; font-size: .93rem; line-height: 1.55; opacity: 0; transform: translateY(8px); animation: rise .4s var(--ease) forwards; }
.msg--user { align-self: flex-end; background: linear-gradient(135deg, #312e81, #4c1d95); border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg--ai .who { display: block; font-family: var(--mono); font-size: .7rem; color: var(--cyan); margin-bottom: .2rem; }
.msg--sys { align-self: center; font-family: var(--mono); font-size: .75rem; color: var(--muted); background: none; padding: .2rem; }
.msg small { color: var(--muted); }
@keyframes rise { to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-5px); background: var(--cyan); } }

.extract { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .4rem; }
.extract td { padding: .35rem .5rem; border-bottom: 1px dashed var(--border); }
.extract td:first-child { color: var(--muted); font-family: var(--mono); font-size: .78rem; }
.extract td:last-child { text-align: right; }
.conf { font-family: var(--mono); font-size: .7rem; color: var(--lime); margin-left: .4rem; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: .8rem; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan), rgba(34, 211, 238, .25)); height: 0; transition: height .9s var(--ease); position: relative; }
.bars span.pred { background: repeating-linear-gradient(45deg, rgba(163, 230, 53, .85) 0 6px, rgba(163, 230, 53, .45) 6px 12px); }
.bars-legend { display: flex; gap: 1rem; font-size: .75rem; color: var(--muted); margin-top: .5rem; }
.bars-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; background: var(--cyan); }
.bars-legend i.p { background: var(--lime); }

.vision { position: relative; height: 170px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #0f1a2e, #0a1222); margin-top: .5rem; border: 1px solid var(--border); }
.vision__belt { position: absolute; left: 0; right: 0; bottom: 26px; height: 8px; background: repeating-linear-gradient(90deg, #334155 0 14px, #1e293b 14px 28px); animation: belt 1s linear infinite; }
@keyframes belt { to { background-position: 28px 0; } }
.vision__item { position: absolute; bottom: 34px; width: 46px; height: 78px; border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, #f8fafc, #cbd5e1); }
.vision__item::before { content: ""; position: absolute; top: -10px; left: 13px; width: 20px; height: 12px; border-radius: 4px 4px 0 0; background: #38bdf8; }
.vision__item.bad::after { content: ""; position: absolute; top: 30px; left: 10px; width: 18px; height: 8px; border-radius: 50%; background: #94a3b8; transform: rotate(-20deg); }
.vision__box { position: absolute; inset: -8px; border: 2px solid var(--lime); border-radius: 8px; }
.vision__box b { position: absolute; top: -20px; left: -2px; font-family: var(--mono); font-size: .62rem; font-weight: 600; background: var(--lime); color: #1a2e05; padding: 1px 5px; border-radius: 3px; white-space: nowrap; }
.vision__item.bad .vision__box { border-color: #f87171; }
.vision__item.bad .vision__box b { background: #f87171; color: #2a0a0a; }
.vision__scan { position: absolute; top: 0; bottom: 0; width: 2px; left: 50%; background: var(--cyan); box-shadow: 0 0 18px 4px rgba(34, 211, 238, .5); }

.ai-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.ai-points li { padding: 1.3rem 1.4rem; border-left: 2px solid; border-image: var(--grad) 1; background: var(--surface); }
.ai-points b { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: .25rem; }
.ai-points span { color: var(--muted); font-size: .92rem; }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; padding: .35rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.filter { border: 0; background: none; padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; color: var(--muted); transition: background .25s, color .25s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--grad); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
.work {
  grid-column: span 4; display: flex; flex-direction: column; cursor: pointer; text-align: left; padding: 0;
  transition: transform .45s var(--ease), opacity .45s, border-color .3s;
}
.work.is-featured { grid-column: span 6; }
.work.is-hidden { display: none; }
.work.is-entering { animation: workIn .5s var(--ease); }
@keyframes workIn { from { opacity: 0; transform: scale(.96) translateY(12px); } }
.work:hover { border-color: var(--border-2); transform: translateY(-6px); }
.work__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work:hover .work__media img { transform: scale(1.06); }
.work__media::after {
  content: "View case study →"; position: absolute; inset: auto 1rem 1rem auto;
  font-size: .8rem; font-weight: 600; padding: .5rem .85rem; border-radius: 999px; background: rgba(7, 11, 20, .85); border: 1px solid var(--border-2);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.work:hover .work__media::after, .work:focus-visible .work__media::after { opacity: 1; transform: none; }
.work__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.work__meta { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .72rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .06em; }
.work__meta span:last-child { color: var(--muted); }
.work h3 { margin: 0; font-size: 1.25rem; }
.work p { color: var(--muted); font-size: .92rem; margin: 0 0 .4rem; }
.work .tags { margin-top: auto; }

/* ---------- Results list (case studies) ---------- */
.modal__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin-bottom: 1.5rem; }
.modal__results li { padding: 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.modal__results strong { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.modal__results span { font-size: .82rem; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: step; }
.timeline__line { position: absolute; top: 27px; left: 28px; right: calc((100% - 6rem) / 5 - 28px); height: 2px; background: var(--border); z-index: 0; }
.timeline__line span { position: absolute; inset: 0; background: var(--grad-3); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.3rem;
  background: var(--bg-3); border: 1px solid var(--border-2); font-weight: 600; color: var(--cyan);
  transition: background .4s, color .4s, box-shadow .4s;
}
.step.is-lit .step__num { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 30px -4px rgba(139, 92, 246, .7); }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.about__copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
.values { display: grid; gap: 1rem; margin-top: 2rem; }
.values li { display: flex; gap: 1.2rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.values li:hover { border-color: rgba(34, 211, 238, .4); transform: translateX(6px); }
.values .mono { font-size: 1.1rem; font-weight: 600; }
.values b { font-family: var(--display); }
.values p { margin: 0; color: var(--muted); font-size: .92rem; }

.orbit { position: relative; width: min(100% - 5rem, 480px); aspect-ratio: 1; margin-inline: auto; }
.orbit__core {
  position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 70%);
}
.orbit__core img { width: 60%; height: auto; filter: drop-shadow(0 0 25px rgba(34, 211, 238, .55)); animation: loaderPulse 4s ease-in-out infinite; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); animation: spin var(--dur, 40s) linear infinite; }
.ring-1 { inset: 24%; --dur: 26s; }
.ring-2 { inset: 11%; --dur: 40s; animation-direction: reverse; border-style: solid; border-color: rgba(34, 211, 238, .15); }
.ring-3 { inset: 0; --dur: 60s; }
.orbit__ring span {
  position: absolute; padding: .35rem .7rem; border-radius: 999px; font-family: var(--mono); font-size: .75rem; white-space: nowrap;
  background: var(--bg-3); border: 1px solid var(--border-2);
  animation: counterSpin var(--dur, 40s) linear infinite;
}
.ring-2 span { animation-direction: reverse; color: var(--cyan); }
.ring-1 span { color: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counterSpin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.counters li { padding: 1.8rem 1.5rem; text-align: center; }
.counters strong { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: .4rem; }
.counters li:nth-child(odd) strong { color: var(--cyan); }
.counters li:nth-child(even) strong { color: #a78bfa; }
.counters span { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.section--contact { background: radial-gradient(ellipse at 100% 0%, rgba(34, 211, 238, .1), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(139, 92, 246, .14), transparent 55%), var(--bg-2); }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact__copy > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
.contact__info { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__info li > span { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.contact__info b { font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact__info p { margin: 0; font-weight: 500; }
.contact__info a:hover { color: var(--cyan); }

.contact__form { padding: 2rem; display: grid; gap: 1rem; background: rgba(9, 14, 27, .75); }
.chips { border: 0; padding: 0; margin: 0 0 .4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-size: .9rem; color: var(--muted); margin-bottom: .7rem; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--border-2); font-size: .85rem; transition: all .2s; }
.chips label:hover span { border-color: var(--cyan); }
.chips input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.35rem 1rem .55rem; border-radius: var(--radius-sm); border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: .95rem; resize: vertical;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 1rem; top: 1rem; color: var(--muted); font-size: .95rem; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); background: rgba(34, 211, 238, .03); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: .4rem; font-size: .72rem; color: var(--cyan); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #f87171; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; text-align: center; }
.form-status.is-ok { color: var(--lime); }
.form-status.is-err { color: #fca5a5; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 3rem; }
.footer__brand p { color: var(--muted); margin-top: 1rem; }
.footer__cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer__cols div { display: flex; flex-direction: column; gap: .55rem; }
.footer__cols b { font-family: var(--display); margin-bottom: .3rem; }
.footer__cols a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer__cols a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); padding-top: 1.5rem; border-top: 1px solid var(--border); }
.to-top:hover { color: var(--cyan); }


/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq .section__head { position: sticky; top: 110px; margin: 0; }
.link { color: var(--cyan); border-bottom: 1px solid rgba(34, 211, 238, .4); white-space: nowrap; }
.link:hover { border-color: var(--cyan); }
.faq__list { display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(34, 211, 238, .4); background: linear-gradient(100deg, rgba(34, 211, 238, .06), rgba(139, 92, 246, .05)); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; font-family: var(--font); font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border-2); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--cyan); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq__answer p { margin: 0; }

/* ---------- Footer contact ---------- */
.footer__contact { font-style: normal; display: grid; gap: .3rem; margin-top: 1rem; font-size: .93rem; }
.footer__contact a { color: var(--text); }
.footer__contact a:hover { color: var(--cyan); }
.footer__contact span { color: var(--muted); }
address { font-style: normal; }

/* ---------- Case-study pages ---------- */
.case-hero { position: relative; padding: 9rem 0 3rem; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 85% 0%, rgba(139, 92, 246, .2), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(34, 211, 238, .12), transparent 50%); }
.case-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 900px; }
.case-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; margin-bottom: 2.4rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .8rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--text); }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.case-facts div { padding: 1rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); }
.case-facts dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); margin-bottom: .3rem; }
.case-facts dd { margin: 0; font-size: .93rem; }
.case-media { margin-top: 1rem; }
.case-media img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 100px -30px rgba(139, 92, 246, .5); }
.case-body { padding-top: 4.5rem; }
.case-grid { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; }
.case-article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.4rem; }
.case-article h2:first-child { margin-top: 0; }
.case-article p { color: #c3cddc; font-size: 1.05rem; }
.checklist { display: grid; gap: .7rem; }
.checklist li { position: relative; padding: .8rem 1rem .8rem 2.9rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.checklist li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 18px; height: 18px; border-radius: 6px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.case-aside { position: sticky; top: 100px; }
.case-card { padding: 1.6rem; display: grid; gap: 1rem; }
.case-card .modal__results { margin: 0; grid-template-columns: 1fr 1fr; }
.h3 { font-size: 1.1rem; margin: 0; }
.cta-band { text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, .2), transparent 60%); }
.cta-band__inner { max-width: 720px; }
.cta-band p { color: var(--muted); font-size: 1.08rem; margin-bottom: 2rem; }
.cta-band .hero__cta { justify-content: center; margin: 0; }

/* ---------- Hero entrance (no opacity: keeps LCP fast) ---------- */
.hero-in { animation: heroIn .9s var(--ease) both; }
.hero__copy > .hero-in:nth-child(2) { animation-delay: .06s; }
.hero__copy > .hero-in:nth-child(3) { animation-delay: .12s; }
.hero__copy > .hero-in:nth-child(4) { animation-delay: .18s; }
.hero__copy > .hero-in:nth-child(5) { animation-delay: .24s; }
@keyframes heroIn { from { transform: translateY(18px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__visual { max-width: 560px; }
  .ai-lab { grid-template-columns: 1fr; }
  .ai-lab__tabs { flex-direction: row; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
  .ai-tab { flex: 0 0 260px; scroll-snap-align: start; }
  .ai-tab:hover { transform: none; }
  .work, .work.is-featured { grid-column: span 6; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__line { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .timeline__line span { transform-origin: top; transform: scaleY(0); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.4rem; padding-bottom: 2rem; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: .8rem; }
  .about, .contact, .faq, .case-grid { grid-template-columns: 1fr; gap: 3rem; }
  .faq .section__head, .case-aside { position: static; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .about__visual { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .counters { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(7, 11, 20, .97); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__links a:not(.btn) { font-family: var(--display); font-size: 1.8rem; color: var(--text); }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .ai-points { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .work, .work.is-featured { grid-column: span 12; }
  .chip-2 { left: -8px; }
  .chip-1 { right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding-top: 7rem; }
  .hero__stats { gap: 1rem; flex-wrap: nowrap; justify-content: space-between; }
  .hero__stats strong { font-size: 1.6rem; }
  .hero__stats span { font-size: .78rem; }
  .eyebrow { font-size: .74rem; }
  .code-card__body { font-size: .72rem; min-height: 290px; padding: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr; }
  .case-hero { padding-top: 7.5rem; }
  .contact__form { padding: 1.4rem; }
  .counters { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .counters li { padding: 1.3rem .8rem; }
  .msg { max-width: 95%; }
  .console__body { height: 440px; padding: 1rem; }
  .float-chip { font-size: .72rem; }
  .chip-3 { display: none; }
  .brand__text { font-size: 1.15rem; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in { opacity: 1; transform: none; animation: none; }
  .marquee__track { animation: none; }
}
