/* =============================================================
   First One — software engineering studio
   Dark, cool and precise: near-black navy, ice-white type, the logo's three tones
   (light cyan / cyan / navy) and an isometric lattice as the recurring motif.
   ============================================================= */

/* Self-hosted fonts (Inter, JetBrains Mono — SIL Open Font License). Latin and Latin Extended only.
   Served from our own server, so no visitor IP address goes to Google. */
/* Inter 400 — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-367ba6.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 400 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-bec94a.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 500 — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-367ba6.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 500 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-latin-bec94a.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 600 — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-367ba6.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 600 — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-bec94a.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 400 — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext-9326b4.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 400 — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-b87346.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 500 — latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext-9326b4.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 500 — latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-b87346.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: #03060b;
  --bg-2: #060c15;
  --bg-3: #0b1420;
  --ice: #e9f5ff;
  --ice-80: rgba(233, 245, 255, 0.8);
  --ice-60: rgba(233, 245, 255, 0.62);
  --ice-40: rgba(233, 245, 255, 0.42);
  --ice-15: rgba(233, 245, 255, 0.15);
  --ice-08: rgba(233, 245, 255, 0.08);
  --ice-04: rgba(233, 245, 255, 0.045);
  --light: #8ff6ff;
  --cyan: #19c8ff;
  --cyan-2: #0aa5e3;
  --navy: #2f6aa6;
  --navy-2: #173d6d;
  --line: rgba(143, 246, 255, 0.14);
  --grad: linear-gradient(105deg, #c4fcff 0%, #19c8ff 48%, #3b7dc2 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ice);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before { /* film grain */
  content: "";
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: #021019; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10000; padding: 10px 16px; border-radius: 10px; background: var(--light); color: #021019; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- Typography ---------- */
.display {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  font-size: clamp(2.7rem, 7vw, 6rem);
  text-wrap: balance;
}
.h2 {
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.04;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  text-wrap: balance;
}
.h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.h4 { font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; font-size: 1.15rem; }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.6; color: var(--ice-60); max-width: 60ch; text-wrap: pretty; }
.body { color: var(--ice-60); line-height: 1.65; text-wrap: pretty; }
.small { font-size: 0.875rem; }
.muted { color: var(--ice-40); }
.mono { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--light);
}
.eyebrow::before {
  content: ""; width: 9px; height: 8px; flex: none;
  background: var(--grad); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.eyebrow--plain::before { display: none; }

/* split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-split] .wi { display: inline-block; will-change: transform; }
.scrub-words .sw { opacity: 0.16; transition: none; }
.reduced .scrub-words .sw, .no-js .scrub-words .sw { opacity: 1; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
.sec-head { max-width: 780px; display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-head--split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
.sec-head--split .lead { justify-self: end; }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; gap: 22px; } .sec-head--split .lead { justify-self: start; } }
[data-reveal] { opacity: 0; transform: translateY(34px); }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- Ambient ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(25, 200, 255, 0.075), transparent 62%);
  transition: opacity 0.6s;
}
.has-cursor .cursor-glow { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.4s var(--ease), color 0.3s;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  color: #021019;
  background: linear-gradient(120deg, #b9fbff 0%, #19c8ff 52%, #1d97dc 100%);
  box-shadow: 0 0 0 1px rgba(143, 246, 255, 0.35) inset, 0 12px 40px -14px rgba(25, 200, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(196, 252, 255, 0.6) inset, 0 18px 50px -12px rgba(25, 200, 255, 0.85); }
.btn--ghost { color: var(--ice); background: var(--ice-04); border: 1px solid var(--ice-15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--ice-08); border-color: rgba(143, 246, 255, 0.4); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(2, 16, 25, 0.25); border-top-color: #021019; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--light); font-weight: 500; font-size: 0.95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: transform 0.6s var(--ease), padding 0.4s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(3, 6, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--ice-08);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__mark .pz { width: 100%; height: 100%; overflow: visible; }
.brand__word { width: 118px; height: auto; opacity: 0.95; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--ice-08); background: rgba(10, 18, 30, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__links a { padding: 8px 15px; border-radius: 999px; font-size: 0.9rem; color: var(--ice-80); transition: background 0.3s, color 0.3s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--ice-08); color: var(--ice); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { height: 42px; padding: 0 18px; font-size: 0.9rem; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ice-15); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ice); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta .btn--primary { display: none; }
  .nav__mobile {
    display: grid; gap: 2px; overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.6s var(--ease), opacity 0.4s, padding 0.4s;
  }
  .nav.is-open { background: rgba(3, 6, 11, 0.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .nav.is-open .nav__mobile { max-height: 520px; opacity: 1; padding: 18px 0 8px; }
  .nav__mobile a { padding: 13px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--ice-08); }
  .nav__mobile .btn { margin-top: 14px; justify-self: start; padding: 0 22px; border-bottom: 0; font-size: 0.95rem; }
}
@media (max-width: 420px) { .brand__word { width: 100px; } }

/* ---------- Penrose (shared) ---------- */
.pz { width: 100%; height: auto; overflow: visible; }
.pz-grid { color: rgba(143, 246, 255, 0.11); }
.pz-beam { will-change: transform; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 96px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--1 { width: 720px; height: 720px; right: -8%; top: 4%; background: radial-gradient(circle, rgba(25, 200, 255, 0.24), transparent 65%); }
.hero__glow--2 { width: 620px; height: 620px; left: -14%; bottom: -24%; background: radial-gradient(circle, rgba(47, 106, 166, 0.3), transparent 65%); }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(to bottom, transparent, var(--bg)); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px, 4vw, 72px); }
.hero__copy { display: grid; gap: 28px; position: relative; z-index: 2; }
.hero__copy .display { max-width: 11ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 10px; color: var(--ice-40); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.hero__visual { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; }
.hero__tilt { position: absolute; inset: -22%; transform-style: preserve-3d; will-change: transform; }
.hero__tilt [data-penrose] { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__tilt .pz { width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(25, 200, 255, 0.22)); }
@media (max-width: 960px) {
  .hero { padding: 120px 0 72px; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin: 0 auto; order: -1; }
  .hero__tilt { inset: -10%; }
}
@media (max-width: 560px) { .hero__visual { max-width: 340px; } }

/* ---------- Logo wall ---------- */
.logos { padding: 30px 0 clamp(70px, 9vw, 120px); }
.logos__row { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 28px; padding: 26px 0; border-top: 1px solid var(--ice-08); }
.logos__row:last-child { border-bottom: 1px solid var(--ice-08); }
.logos__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice-40); }
.logos__list { display: flex; flex-wrap: wrap; align-items: center; gap: 22px clamp(28px, 4vw, 56px); }
.logos__list img { width: auto; opacity: 0.58; transition: opacity 0.4s; }
.logos__list img:hover { opacity: 1; }
.logos__list .h-28 { height: 28px; } .logos__list .h-24 { height: 24px; } .logos__list .h-32 { height: 32px; }
.logos__list .h-36 { height: 36px; } .logos__list .h-40 { height: 40px; } .logos__list .h-20 { height: 20px; }
@media (max-width: 720px) {
  .logos__row { grid-template-columns: 1fr; gap: 18px; }
  .logos__list { gap: 18px 28px; }
  .logos__list img { transform: scale(0.88); transform-origin: left center; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(80px, 11vw, 160px) 0; }
.statement__text { font-size: clamp(1.75rem, 3.9vw, 3.35rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.14; max-width: 22ch; text-wrap: balance; }
.statement__foot { margin-top: 40px; display: flex; align-items: center; gap: 16px; color: var(--ice-40); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; }
.statement__foot::before { content: ""; width: 48px; height: 1px; background: var(--ice-15); }

/* ---------- Pillars: the triangle comes apart ---------- */
.pillars { position: relative; }
.pillars__pin { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 96px 0 40px; overflow: hidden; }
.pillars .h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.pillars__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.pillars__copy { display: grid; gap: 22px; position: relative; }
.pillars__heads { display: grid; }
.pillars__heads > * { grid-area: 1 / 1; }
.pillars__head--b { opacity: 0; }
.pillars__stage { position: relative; aspect-ratio: 1 / 0.92; }
.pillars__stage [data-penrose] { position: absolute; inset: -6% -8%; }
.pillars__stage .pz { width: 100%; height: 100%; filter: drop-shadow(0 26px 50px rgba(25, 200, 255, 0.18)); }
.swatch--light { background: linear-gradient(135deg, #c4fcff, #7aecff); }
.swatch--cyan { background: linear-gradient(135deg, #3fdcff, #00b6f0); }
.swatch--navy { background: linear-gradient(135deg, #3d80c4, #173d6d); }
.pillars__list { display: grid; gap: 10px; margin-top: 10px; }
.pillars__list li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--ice-08); background: var(--ice-04); transition: border-color 0.4s; }
.pillars__list i { grid-row: span 2; width: 12px; height: 12px; border-radius: 3px; margin-top: 5px; }
.pillars__list b { font-weight: 500; }
.pillars__list span { color: var(--ice-60); font-size: 0.88rem; line-height: 1.45; }
.pz-label { font-family: var(--mono); font-size: 30px; letter-spacing: 4px; fill: var(--light); opacity: 0; }
.reduced .pz-label, .no-js .pz-label { opacity: 0; }
.reduced .pillars__pin, .no-js .pillars__pin { min-height: 0; padding: clamp(80px, 10vw, 140px) 0; }
/* short laptop screens: the pinned column must fit in one viewport */
@media (min-width: 961px) and (max-height: 860px) {
  .pillars .h2 { font-size: clamp(2rem, 3.3vw, 2.9rem); }
  .pillars__list span { display: none; }
  .pillars__list li { padding: 10px 14px; align-items: center; }
  .pillars__list i { grid-row: auto; margin-top: 0; }
}

@media (max-width: 960px) {
  .pillars__pin { min-height: 0; padding: clamp(96px, 13vw, 140px) 0 40px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillars__head--b { display: none; }
  .pillars__stage { max-width: 520px; width: 100%; margin: 0 auto; }
}

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(233, 245, 255, 0.05), rgba(233, 245, 255, 0.015));
  border: 1px solid var(--ice-08);
  transition: border-color 0.5s, transform 0.6s var(--ease);
}
.svc::before { /* top highlight */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 246, 255, 0.45), transparent); opacity: 0.6;
}
.svc::after { /* hover glow follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(25, 200, 255, 0.12), transparent 60%);
}
.svc:hover { border-color: rgba(143, 246, 255, 0.22); }
.svc:hover::after { opacity: 1; }
.svc--w4 { grid-column: span 4; }
.svc--w3 { grid-column: span 3; }
.svc--w2 { grid-column: span 2; }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__num { font-family: var(--mono); font-size: 0.74rem; color: var(--ice-40); letter-spacing: 0.08em; }
.svc__pillar { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-40); display: inline-flex; align-items: center; gap: 7px; }
.svc__pillar i { width: 8px; height: 8px; border-radius: 2px; }
.svc h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.svc p { color: var(--ice-60); line-height: 1.6; font-size: 0.97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tags li { font-size: 0.78rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ice-08); color: var(--ice-80); background: rgba(3, 6, 11, 0.35); }
.svc__viz { position: relative; min-height: 190px; border-radius: 16px; border: 1px solid var(--ice-08); background: rgba(3, 6, 11, 0.5); overflow: hidden; }
.svc--w4 .svc__body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; flex: 1; }
.svc--w4 .svc__body > div { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 1080px) {
  .svc--w4 { grid-column: span 6; }
  .svc--w2, .svc--w3 { grid-column: span 3; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .svc--w4, .svc--w2, .svc--w3 { grid-column: auto; }
  .svc--w4 .svc__body { grid-template-columns: 1fr; }
}

/* pipeline viz (application development) */
.pipe { padding: 18px 18px 16px; font-family: var(--mono); font-size: 0.78rem; display: grid; gap: 10px; height: 100%; align-content: center; }
.pipe__bar { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--ice-08); color: var(--ice-40); }
.pipe__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ice-15); }
.pipe__bar span { margin-left: 8px; }
.pipe__row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; color: var(--ice-80); }
.pipe__row em { font-style: normal; color: var(--ice-40); }
.pipe__ok { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(25, 200, 255, 0.16); color: var(--light); font-size: 10px; }
.pipe__run { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(25, 200, 255, 0.25); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
.reduced .pipe__run { animation: none; }
.pipe__track { height: 4px; border-radius: 4px; background: var(--ice-08); overflow: hidden; margin-top: 4px; }
.pipe__track b { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--grad); }
.pipe__env { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pipe__env span { padding: 4px 9px; border-radius: 6px; border: 1px solid var(--ice-08); color: var(--ice-60); font-size: 0.72rem; }
.pipe__env span.is-live { border-color: rgba(25, 200, 255, 0.4); color: var(--light); }

/* ux viz */
.ux { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 100%; }
.ux__type { grid-column: span 2; display: flex; align-items: baseline; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ice-08); }
.ux__type b { font-size: 2.2rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.ux__type span { font-family: var(--mono); font-size: 0.7rem; color: var(--ice-40); }
.ux__sw { display: flex; gap: 6px; }
.ux__sw i { flex: 1; height: 26px; border-radius: 7px; }
.ux__btns { display: grid; gap: 6px; }
.ux__btns i { height: 12px; border-radius: 6px; background: var(--ice-08); }
.ux__btns i:first-child { background: var(--grad); width: 70%; }
.ux__a11y { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.7rem; color: var(--ice-60); padding: 8px 10px; border-radius: 8px; background: rgba(25, 200, 255, 0.08); }
.ux__a11y b { color: var(--light); font-weight: 500; }

/* automation viz */
.flow { padding: 18px; height: 100%; display: grid; align-content: center; }
.flow svg { width: 100%; height: auto; }
.flow text { font-family: var(--mono); font-size: 10px; fill: rgba(233, 245, 255, 0.6); }

/* vision viz */
.vision { position: absolute; inset: 0; background:
  radial-gradient(circle at 30% 65%, rgba(47, 106, 166, 0.5), transparent 40%),
  radial-gradient(circle at 70% 35%, rgba(25, 200, 255, 0.25), transparent 45%),
  repeating-linear-gradient(0deg, rgba(233, 245, 255, 0.025) 0 1px, transparent 1px 6px); }
.vision__box { position: absolute; border: 1.5px solid var(--light); border-radius: 4px; box-shadow: 0 0 20px rgba(25, 200, 255, 0.25); }
.vision__box span { position: absolute; left: -1.5px; top: -22px; padding: 3px 7px; border-radius: 4px 4px 4px 0; background: var(--light); color: #021019; font-family: var(--mono); font-size: 0.64rem; font-weight: 500; white-space: nowrap; }
.vision__box--2 { border-color: var(--cyan); }
.vision__box--2 span { background: var(--cyan); }
.vision__scan { position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(to bottom, transparent, rgba(143, 246, 255, 0.12), transparent); animation: scan 4.5s var(--ease) infinite; }
@keyframes scan { to { top: 100%; } }
.reduced .vision__scan { display: none; }
.vision__shape { position: absolute; border-radius: 12px; background: rgba(233, 245, 255, 0.07); }

/* security viz */
.shield { position: absolute; inset: 0; display: grid; place-items: center; }
.shield__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(143, 246, 255, 0.16); }
.shield__ring:nth-child(1) { width: 92px; height: 92px; border-color: rgba(143, 246, 255, 0.4); }
.shield__ring:nth-child(2) { width: 152px; height: 152px; }
.shield__ring:nth-child(3) { width: 216px; height: 216px; border-style: dashed; animation: spin 40s linear infinite; }
.shield__ring:nth-child(4) { width: 290px; height: 290px; border-color: rgba(143, 246, 255, 0.08); }
.reduced .shield__ring { animation: none !important; }
.shield__core { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #3d80c4, #173d6d); box-shadow: 0 0 40px rgba(25, 200, 255, 0.35); }
.shield__core svg { width: 24px; height: 24px; color: var(--light); }
.shield__chip { position: absolute; font-family: var(--mono); font-size: 0.66rem; padding: 4px 8px; border-radius: 6px; background: rgba(8, 15, 26, 0.9); border: 1px solid var(--ice-15); color: var(--ice-80); }

/* ---------- Work: stacked case studies ---------- */
.stack { display: grid; gap: 24px; }
.stack__card {
  position: sticky; top: 9vh;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch;
  padding: clamp(24px, 3.4vw, 48px); border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, #0c1726 0%, #070d17 70%);
  border: 1px solid var(--ice-08);
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.8);
  transform-origin: 50% 0;
}
.case__copy { display: flex; flex-direction: column; gap: 18px; padding: 6px 0; }
.case__client { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-40); }
.case__client b { color: var(--light); font-weight: 500; }
.case__copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.case__facts { display: grid; gap: 10px; margin-top: 4px; }
.case__facts li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; color: var(--ice-80); font-size: 0.95rem; line-height: 1.5; }
.case__facts li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); }
.case__foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.case__viz { position: relative; min-height: 380px; border-radius: 22px; overflow: hidden; border: 1px solid var(--ice-08); background: radial-gradient(120% 90% at 70% 10%, rgba(25, 200, 255, 0.12), transparent 60%), #050a12; }
.case__viz > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case__viz text { font-family: var(--mono); }
@media (max-width: 960px) {
  .stack__card { position: relative; top: 0; grid-template-columns: 1fr; }
  .case__viz { min-height: 300px; order: -1; }
}
@media (max-width: 560px) { .case__viz { min-height: 240px; } }

/* animated data pulses along svg paths */
.pulse { stroke-dasharray: 6 220; animation: pulse 3.2s linear infinite; }
.pulse--2 { animation-delay: -1.1s; } .pulse--3 { animation-delay: -2.2s; }
.pulse--rev { animation-direction: reverse; }
@keyframes pulse { from { stroke-dashoffset: 226; } to { stroke-dashoffset: 0; } }
.reduced .pulse { animation: none; stroke-dasharray: none; opacity: 0.25; }

/* isometric architecture (Atlas) */
.iso polygon { stroke: rgba(143, 246, 255, 0.45); stroke-width: 1; stroke-linejoin: round; }
.iso .iso-t { fill: rgba(143, 246, 255, 0.1); }
.iso .iso-r { fill: rgba(25, 200, 255, 0.06); }
.iso .iso-l { fill: rgba(47, 106, 166, 0.22); }
.iso--base .iso-t { fill: rgba(47, 106, 166, 0.28); stroke: rgba(143, 246, 255, 0.25); }
.iso--base .iso-l { fill: rgba(23, 61, 109, 0.75); }
.iso--base .iso-r { fill: rgba(47, 106, 166, 0.45); }
.iso--m1 .iso-t { fill: rgba(196, 252, 255, 0.16); }
.iso--m2 .iso-t { fill: rgba(25, 200, 255, 0.16); }
.iso--m3 .iso-t { fill: rgba(61, 128, 196, 0.3); }
.iso--mob polygon { stroke: rgba(196, 252, 255, 0.8); }
.iso--mob .iso-t { fill: rgba(25, 200, 255, 0.32); }
.iso-txt { fill: rgba(233, 245, 255, 0.85); font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; }
.iso-txt--dim { fill: rgba(143, 246, 255, 0.55); font-family: var(--mono); font-weight: 400; letter-spacing: 0.08em; }
.iso-link { fill: none; stroke: rgba(143, 246, 255, 0.3); stroke-width: 1; stroke-dasharray: 3 4; }
.iso-pulse { fill: none; stroke: var(--light); stroke-width: 2; stroke-linecap: round; }
.iso-pin__halo { fill: rgba(25, 200, 255, 0.15); stroke: rgba(143, 246, 255, 0.5); }
.iso-pin__dot { fill: var(--light); }
.iso-chip rect { fill: rgba(8, 15, 26, 0.92); stroke: rgba(143, 246, 255, 0.35); }
.iso-chip text { fill: var(--ice); font-family: var(--mono); }

/* integration flow (Enterprise Data Integration Platform) */
.fl-node rect { fill: rgba(8, 15, 26, 0.95); stroke: rgba(233, 245, 255, 0.18); }
.fl-core > rect { stroke: rgba(143, 246, 255, 0.5); }
.fl-rows rect { fill: rgba(3, 6, 11, 0.55); stroke: rgba(233, 245, 255, 0.1); }
.fl-strip rect { fill: rgba(8, 15, 26, 0.8); stroke: rgba(233, 245, 255, 0.1); }
.fl .fl-k { font-size: 10px; letter-spacing: 0.14em; fill: rgba(143, 246, 255, 0.75); }
.fl .fl-t { font-family: var(--font); font-size: 17px; font-weight: 500; fill: var(--ice); }
.fl text { font-family: var(--mono); font-size: 11.5px; fill: rgba(233, 245, 255, 0.75); }
.fl .fl-dir { fill: rgba(233, 245, 255, 0.4); font-size: 10px; }
.fl .fl-ok { fill: #6ee7b7; font-size: 11px; }

/* team graph */
.tm-node circle { fill: #060c15; stroke: var(--light); stroke-width: 1.5; }
.tm-node--b circle { stroke: var(--cyan); }
.team__visual .tm-h { font-size: 10px; letter-spacing: 0.16em; fill: rgba(143, 246, 255, 0.7); }
.team__mark { position: absolute; left: 50%; top: 50%; width: 15%; transform: translate(-50%, -50%); }
.team__mark .pz { filter: drop-shadow(0 8px 24px rgba(25, 200, 255, 0.45)); }

/* kanban viz (Bridge) */
.board { position: absolute; inset: 22px 0 0 22px; display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)) 60px; gap: 12px; }
.board__col { display: grid; align-content: start; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(233, 245, 255, 0.035); border: 1px solid var(--ice-08); }
.board__h { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-60); padding: 2px 2px 6px; }
.board__card { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: #0d1828; border: 1px solid var(--ice-08); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.8); }
.board__card i { display: block; height: 7px; border-radius: 4px; background: var(--ice-15); }
.board__card i:nth-child(2) { width: 62%; background: var(--ice-08); }
.board__meta { display: flex; justify-content: space-between; align-items: center; }
.board__tag { font-family: var(--mono); font-size: 0.6rem; padding: 3px 7px; border-radius: 5px; background: rgba(25, 200, 255, 0.12); color: var(--light); }
.board__tag--n { background: rgba(47, 106, 166, 0.3); color: #a9cdf5; }
.board__tag--l { background: rgba(196, 252, 255, 0.1); color: #dffdff; }
.board__av { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #3d80c4, #19c8ff); border: 2px solid #0d1828; }
.board__card--lift { transform: rotate(-2.5deg) translateY(-4px); border-color: rgba(143, 246, 255, 0.3); box-shadow: 0 24px 40px -18px rgba(25, 200, 255, 0.4); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; gap: 0; }
.process__rail { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: var(--ice-08); }
.process__fill { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--light), var(--cyan), var(--navy)); transform-origin: 50% 0; transform: scaleY(0); }
.reduced .process__fill, .no-js .process__fill { transform: none; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 12px clamp(20px, 4vw, 56px); padding: 30px 0 40px; border-bottom: 1px solid var(--ice-08); }
.step:last-child { border-bottom: 0; }
.step__dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; color: var(--light); background: var(--bg); border: 1px solid rgba(143, 246, 255, 0.3); box-shadow: 0 0 0 6px var(--bg); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em; padding-top: 10px; }
.step__body { display: grid; gap: 14px; padding-top: 12px; }
.step__body p { color: var(--ice-60); line-height: 1.65; }
.step__out { font-family: var(--mono); font-size: 0.74rem; color: var(--ice-40); letter-spacing: 0.02em; }
.step__out b { color: var(--ice-80); font-weight: 500; }
@media (max-width: 760px) {
  .step { grid-template-columns: 56px 1fr; }
  .step__body { grid-column: 2; padding-top: 0; }
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.team__visual { position: relative; aspect-ratio: 1 / 0.86; border-radius: 32px; overflow: hidden; border: 1px solid var(--ice-08); background: radial-gradient(90% 80% at 30% 20%, rgba(47, 106, 166, 0.35), transparent 60%), radial-gradient(70% 60% at 80% 90%, rgba(25, 200, 255, 0.18), transparent 60%), #060c15; }
.team__visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.team__visual text { font-family: var(--mono); font-size: 11px; fill: rgba(233, 245, 255, 0.55); }
.team__list { display: grid; gap: 4px; margin-top: 8px; }
.team__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--ice-08); }
.team__list li:last-child { border-bottom: 1px solid var(--ice-08); }
.team__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--ice-15); background: var(--ice-04); color: var(--light); }
.team__ico svg { width: 20px; height: 20px; }
.team__list h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.team__list p { color: var(--ice-60); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } .team__visual { order: 2; } }

/* ---------- Security band ---------- */
.secure { position: relative; overflow: hidden; border-radius: 40px; border: 1px solid var(--ice-08); background: radial-gradient(80% 90% at 85% 0%, rgba(25, 200, 255, 0.16), transparent 55%), radial-gradient(60% 70% at 0% 100%, rgba(47, 106, 166, 0.3), transparent 60%), linear-gradient(180deg, #08111d, #050a12); padding: clamp(32px, 5.5vw, 80px); }
.secure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; position: relative; z-index: 1; }
.secure__copy { display: grid; gap: 22px; }
.secure__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.control { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: rgba(3, 6, 11, 0.5); border: 1px solid var(--ice-08); }
.control b { font-weight: 500; font-size: 0.98rem; display: flex; align-items: center; gap: 9px; }
.control b::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); flex: none; }
.control span { color: var(--ice-60); font-size: 0.87rem; line-height: 1.5; }
.secure__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ice-08); position: relative; z-index: 1; }
.stat { padding: 26px 20px 0 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--ice-08); }
.stat b { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.stat > span { color: var(--ice-60); font-size: 0.88rem; line-height: 1.5; }
.secure__lines { position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; pointer-events: none; opacity: 0.6; }
@media (max-width: 960px) {
  .secure__grid { grid-template-columns: 1fr; }
  .secure__stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ice-08); margin-top: 22px; }
}
@media (max-width: 520px) { .secure__controls { grid-template-columns: 1fr; } }

/* EU regulation cards */
.regs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reg { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: 22px; border: 1px solid var(--ice-08); background: var(--ice-04); }
.reg__k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); }
.reg h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.reg p { color: var(--ice-60); font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 1080px) { .regs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .regs { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__copy { display: grid; gap: 24px; position: sticky; top: 120px; }
.contact__direct { display: grid; gap: 0; margin-top: 10px; }
.contact__direct a, .contact__direct div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ice-08); }
.contact__direct > :last-child { border-bottom: 1px solid var(--ice-08); }
.contact__direct span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-40); padding-top: 3px; }
.contact__direct a b { font-weight: 500; transition: color 0.3s; }
.contact__direct a:hover b { color: var(--light); }
.contact__direct div b { font-weight: 400; color: var(--ice-80); }
.next { display: grid; gap: 12px; counter-reset: next; }
.next li { counter-increment: next; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--ice-60); font-size: 0.95rem; line-height: 1.55; }
.next li::before { content: "0" counter(next); font-family: var(--mono); font-size: 0.74rem; color: var(--light); padding-top: 3px; }
.next li b { color: var(--ice); font-weight: 500; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__copy { position: static; } }

.form-card { position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: 30px; background: linear-gradient(180deg, rgba(233, 245, 255, 0.06), rgba(233, 245, 255, 0.02)); border: 1px solid var(--ice-08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.85rem; color: var(--ice-80); font-weight: 500; padding: 0; }
.field label .opt { color: var(--ice-40); font-weight: 400; }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  font: inherit; font-size: 0.98rem; color: var(--ice);
  background: rgba(3, 6, 11, 0.55); border: 1px solid var(--ice-15);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
textarea.input { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input::placeholder { color: var(--ice-40); }
.input:hover { border-color: rgba(233, 245, 255, 0.25); }
.input:focus { outline: none; border-color: var(--cyan); background: rgba(3, 6, 11, 0.8); box-shadow: 0 0 0 4px rgba(25, 200, 255, 0.15); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ice-15); background: rgba(3, 6, 11, 0.4); font-size: 0.88rem; color: var(--ice-80); transition: all 0.3s var(--ease); }
.chip span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; border: 1px solid var(--ice-40); transition: all 0.3s; }
.chip input:checked + span { border-color: rgba(143, 246, 255, 0.55); background: rgba(25, 200, 255, 0.12); color: var(--ice); }
.chip input:checked + span::before { background: var(--light); border-color: var(--light); box-shadow: 0 0 10px var(--cyan); }
.chip input:focus-visible + span { outline: 2px solid var(--light); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--ice-40); max-width: 40ch; line-height: 1.5; }
.form-note a { color: var(--ice-80); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ice-40); }
.form-msg:empty { display: none; }
.form-msg { padding: 14px 16px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; }
.form-msg.is-success { background: rgba(25, 200, 255, 0.1); border: 1px solid rgba(143, 246, 255, 0.35); color: var(--ice); }
.form-msg.is-error { background: rgba(255, 92, 92, 0.08); border: 1px solid rgba(255, 120, 120, 0.35); color: #ffd6d6; }
.form-msg h4 { font-size: 0.98rem; font-weight: 500; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 200px) 0; isolation: isolate; }
.cta__glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(25, 200, 255, 0.2), transparent); filter: blur(30px); z-index: -1; }
.cta .container { display: grid; justify-items: center; gap: 26px; }
.cta .display { max-width: 14ch; }
.cta [data-penrose] { width: 84px; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 80px 0 36px; border-top: 1px solid var(--ice-08); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { color: var(--ice-60); font-size: 0.92rem; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-40); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--ice-80); font-size: 0.92rem; font-style: normal; line-height: 1.6; transition: color 0.3s; }
.footer ul a:hover { color: var(--light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--ice-08); color: var(--ice-40); font-size: 0.82rem; }
.footer__consent { color: var(--ice-60); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ice-15); font-size: inherit; }
.footer__consent:hover { color: var(--ice); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: clamp(150px, 18vw, 220px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero .container { display: grid; gap: 24px; }
.page-hero__mark { position: absolute; right: -6%; top: 54%; width: min(560px, 55vw); transform: translateY(-50%); opacity: 0.55; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 25%, transparent 72%); mask-image: radial-gradient(circle at 60% 40%, #000 25%, transparent 72%); }
.page-hero__mark .pz { filter: drop-shadow(0 30px 60px rgba(25, 200, 255, 0.18)); }
.page-hero .display { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14ch; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 0.74rem; color: var(--ice-40); letter-spacing: 0.06em; }
.crumbs a:hover { color: var(--ice); }
.crumbs span[aria-hidden] { color: var(--ice-15); }
@media (max-width: 760px) { .page-hero__mark { right: -30%; opacity: 0.25; } }

/* security page */
.sec-block { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 5.5vw, 76px) 0; border-top: 1px solid var(--ice-08); }
.sec-block__head { display: grid; gap: 16px; align-content: start; position: sticky; top: 110px; }
.sec-block__num { font-family: var(--mono); font-size: 0.78rem; color: var(--light); }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; border: 1px solid var(--ice-08); background: linear-gradient(180deg, rgba(233, 245, 255, 0.045), rgba(233, 245, 255, 0.015)); }
.card h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 18px; height: 18px; color: var(--light); flex: none; }
.card p { color: var(--ice-60); font-size: 0.94rem; line-height: 1.6; }
.card--wide { grid-column: span 2; }
.kv { display: grid; gap: 0; }
.kv > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--ice-08); }
.kv > div:last-child { border-bottom: 1px solid var(--ice-08); }
.kv dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice-40); padding-top: 3px; }
.kv dd { color: var(--ice-80); line-height: 1.6; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(143, 246, 255, 0.2); background: rgba(25, 200, 255, 0.06); font-size: 0.9rem; }
.badges li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--light); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 960px) {
  .sec-block { grid-template-columns: 1fr; }
  .sec-block__head { position: static; }
}
@media (max-width: 620px) {
  .cards-2 { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .kv > div { grid-template-columns: 1fr; gap: 6px; }
}

/* legal page */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.legal-toc { position: sticky; top: 110px; }
.legal-toc__title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-40); margin-bottom: 14px; }
.legal-toc__list { display: grid; gap: 2px; border-left: 1px solid var(--ice-08); }
.legal-toc__list a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ice-60); font-size: 0.88rem; line-height: 1.4; transition: color 0.3s, border-color 0.3s; }
.legal-toc__list a:hover { color: var(--ice); }
.legal-toc__list a.is-active { color: var(--ice); border-left-color: var(--cyan); }
.legal-doc { max-width: 760px; display: grid; gap: 0; }
.legal-doc__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-bottom: 28px; font-family: var(--mono); font-size: 0.76rem; color: var(--ice-40); }
.legal-sec { padding: 40px 0; border-top: 1px solid var(--ice-08); scroll-margin-top: 100px; }
.legal-sec h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 18px; display: flex; gap: 14px; align-items: baseline; }
.legal-sec h2 small { font-family: var(--mono); font-size: 0.78rem; color: var(--light); font-weight: 400; letter-spacing: 0; }
.legal-sec h3 { font-size: 1.05rem; font-weight: 500; margin: 22px 0 10px; }
.legal-sec p, .legal-sec li { color: var(--ice-60); line-height: 1.75; font-size: 0.97rem; }
.legal-sec p + p { margin-top: 12px; }
.legal-sec ol, .legal-sec ul { display: grid; gap: 10px; margin: 12px 0; padding-left: 22px; }
.legal-sec ol { list-style: decimal; }
.legal-sec ul { list-style: disc; }
.legal-sec ol ol { list-style: lower-alpha; margin: 8px 0 0; }
.legal-sec li::marker { color: var(--ice-40); font-family: var(--mono); font-size: 0.85em; }
.legal-sec a { color: var(--light); text-decoration: underline; text-underline-offset: 3px; }
.legal-sec strong { color: var(--ice-80); font-weight: 500; }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: sticky; top: 64px; z-index: 5; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(3, 6, 11, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ice-08); }
  .legal-toc__title { display: none; }
  .legal-toc__list { display: flex; gap: 6px; overflow-x: auto; border-left: 0; scrollbar-width: none; }
  .legal-toc__list::-webkit-scrollbar { display: none; }
  .legal-toc__list a { white-space: nowrap; padding: 7px 12px; margin: 0; border: 1px solid var(--ice-08); border-radius: 999px; font-size: 0.8rem; }
  .legal-toc__list a.is-active { border-color: rgba(143, 246, 255, 0.5); background: rgba(25, 200, 255, 0.1); }
}

/* 404 */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.lost .container { display: grid; justify-items: center; gap: 24px; }
.lost [data-penrose] { width: min(320px, 70vw); }
.lost .pz-b { transform: translate(1.2px, -0.7px) rotate(4deg); }

/* ---------- Consent banner (analytics, only when a GA4 ID is configured) ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; max-width: 560px; margin-left: auto;
  display: grid; gap: 16px; padding: 20px; border-radius: 20px;
  background: rgba(8, 15, 26, 0.94); border: 1px solid var(--ice-15);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.consent[hidden] { display: none; }
.consent__text { font-size: 0.9rem; color: var(--ice-60); line-height: 1.55; }
.consent__text b { display: block; color: var(--ice); font-weight: 500; margin-bottom: 4px; }
.consent__text a { color: var(--light); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent__actions .btn { height: 42px; }

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #000; }
  body::before, .nav, .progress, .cursor-glow, .footer, .cta, .consent, .page-hero__mark, .legal-toc { display: none !important; }
  .legal { display: block; }
  .legal-sec p, .legal-sec li, .legal-sec h2 small { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
