/* =====================================================================
   ASSI Technologies — Stylesheet
   ---------------------------------------------------------------------
   01. Design tokens            11. Services (features + index)
   02. Reset & base             12. Internships & courses
   03. Typography               13. Forms
   04. Layout utilities         14. Project support
   05. Buttons & links          15. Brandevo
   06. Global chrome            16. Our team
       (scroll progress)         17. Why ASSI
   07. Header & navigation      18. Process timeline
   08. Mobile menu              19. Contact
   09. Hero                     20. Footer
   10. About                    21. Reveal system
                                22. Responsive
                                23. Reduced motion
   ===================================================================== */

/* ---------- 01. Design tokens ---------- */
:root {
  /* Brand palette — sampled from the ASSI Technologies logo */
  --c-ink: #02060c;
  --c-bg: #050d18;            /* logo background navy-black */
  --c-bg-2: #071321;
  --c-surface: #0a1828;
  --c-navy: #0b2340;
  --c-blue-deep: #0a5fb0;
  --c-blue: #0c7bca;          /* logo mid blue */
  --c-cyan: #1ea7f0;          /* logo top cyan */
  --c-cyan-bright: #4cc4ff;
  --c-white: #f4f8fc;
  --c-text: #c3d0df;
  --c-muted: #8597ad;
  --c-faint: #5d6f86;
  --c-line: rgba(150, 195, 245, 0.12);
  --c-line-strong: rgba(150, 195, 245, 0.22);
  --c-glass: rgba(14, 32, 54, 0.42);
  --c-error: #ff8a80;
  --c-success: #5fd4ff;

  /* Light (Brandevo) surface */
  --c-paper: #eef3f8;
  --c-paper-2: #e1e9f2;
  --c-paper-ink: #08182b;
  --c-paper-text: #33475e;

  /* Gradients */
  --g-metal: linear-gradient(100deg, #ffffff 0%, #d6e2ef 38%, #8fb6dc 72%, #4cc4ff 100%);
  --g-blue: linear-gradient(180deg, #1484d8 0%, #0a5aa8 100%);
  --g-line: linear-gradient(90deg, transparent, var(--c-cyan) 50%, transparent);

  /* Typography */
  --f-display: "Space Grotesk", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-xl: clamp(1.4rem, 1.2rem + 0.9vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  --fs-display: clamp(2.35rem, 1.5rem + 3.4vw, 4.6rem);
  --fs-hero: clamp(2.7rem, 1.3rem + 5.4vw, 6.3rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-pad: clamp(5rem, 3rem + 7vw, 9.5rem);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --header-h: 84px;
  --header-h-compact: 68px;
  --radius-sm: 3px;
  --radius: 6px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.2s;
  --dur: 0.45s;
  --dur-slow: 0.9s;
  --dur-reveal: 1.1s;

  --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --shadow-blue: 0 14px 40px -14px rgba(30, 167, 240, 0.45);
}

/* ---------- 02. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-compact);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }

::selection { background: rgba(30, 167, 240, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-cyan-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  background: var(--c-white);
  color: var(--c-ink);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- 03. Typography ---------- */
.display {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--c-white);
  text-wrap: balance;
}

h3 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--c-white);
  opacity: 0.86;
}

p + p { margin-top: var(--sp-4); }

.text-metal {
  background: var(--g-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* After word-splitting, each word carries its own copy of the gradient */
.text-metal.is-split { background: none; color: inherit; }
.text-metal .w__i {
  background: var(--g-metal);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan-bright);
  margin-bottom: var(--sp-5);
}
.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-muted);
}
.eyebrow__num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-line-strong);
}
.eyebrow__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-cyan-bright);
  box-shadow: 0 0 0 0 rgba(76, 196, 255, 0.6);
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 196, 255, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(76, 196, 255, 0); }
}

/* Word-mask reveal produced by JS splitting */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.w__i {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.is-visible .w__i,
.is-visible.w__i { transform: none; }

/* ---------- 04. Layout utilities ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section-head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: var(--sp-7) var(--sp-8);
  align-items: end;
}
.section-head__aside { color: var(--c-muted); max-width: 46ch; }
.section-head__aside .btn { margin-top: var(--sp-6); }

.divider {
  position: relative;
  width: min(100% - (var(--gutter) * 2), var(--container));
  height: 1px;
  margin-inline: auto;
  background: var(--c-line);
  overflow: hidden;
  transform-origin: left;
}
.divider span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: var(--g-line);
  transform: translateX(-110%);
}
.divider.is-visible span { animation: glint 3.2s var(--ease-in-out) 0.4s infinite; }
@keyframes glint {
  0% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(440%); }
}

.note {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  padding-left: var(--sp-4);
  border-left: 1px solid var(--c-cyan);
}

/* ---------- 05. Buttons & links ---------- */
.btn {
  --btn-h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: var(--btn-h);
  padding: 0 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { --btn-h: 44px; padding: 0 1.15rem; font-size: 0.875rem; }

.btn--primary {
  color: #fff;
  background: var(--g-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(76, 196, 255, 0.35);
}
/* sweeping sheen */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(76, 196, 255, 0.6), var(--shadow-blue);
}
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--c-cyan); background: rgba(30, 167, 240, 0.08); }

.btn--line {
  color: var(--c-white);
  border: 1px solid var(--c-line-strong);
  background: transparent;
}
.btn--line:hover { border-color: var(--c-cyan); color: #fff; background: rgba(30, 167, 240, 0.06); }

.btn--dark {
  color: #fff;
  background: var(--c-bg);
  box-shadow: 0 20px 40px -20px rgba(5, 13, 24, 0.6);
}
.btn--dark:hover { background: var(--c-navy); }

.link-arrow,
.link-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-cyan-bright);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
  padding-bottom: 2px;
}
.link-arrow:hover,
.link-ext:hover { background-size: 100% 1px; color: #fff; }
.link-arrow .icon,
.link-ext .icon { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-ext:hover .icon { transform: translate(2px, -2px); }

/* ---------- 06. Global chrome ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan-bright));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}


/* ---------- 07. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
    -webkit-backdrop-filter var(--dur), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 13, 24, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--header-h);
  transition: height var(--dur) var(--ease-out);
}
.is-scrolled .nav { height: var(--header-h-compact); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}
.brand__mark {
  width: auto;
  height: 42px;
  transition: height var(--dur) var(--ease-out);
}
.is-scrolled .brand__mark { height: 36px; }
.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--c-white);
}
.brand__word strong {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.brand__word span {
  margin-top: 4px;
  font-family: var(--f-display);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.2rem + 0.6vw, 1rem);
  margin-left: auto;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(244, 248, 252, 0.68);
  transition: color var(--dur-fast);
}
.nav__link:hover,
.nav__link.is-active { color: #fff; }
.nav__indicator {
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: var(--ind-w, 0);
  background: linear-gradient(90deg, transparent, var(--c-cyan-bright), transparent);
  transform: translateX(var(--ind-x, 0));
  opacity: var(--ind-o, 0);
  transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.nav__indicator::after {
  content: "";
  position: absolute;
  left: 50%; top: -2px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--c-cyan-bright);
  box-shadow: 0 0 8px var(--c-cyan);
}

.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  margin-left: auto;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.nav__toggle-bar {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--c-white);
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.nav__toggle-bar:nth-of-type(2) { top: 18px; }
.nav__toggle-bar:nth-of-type(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 08. Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  padding-top: calc(var(--header-h) + 1rem);
  background: rgba(3, 9, 17, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out);
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__label {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}
.mobile-menu__links li {
  border-bottom: 1px solid var(--c-line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms + 180ms);
}
.mobile-menu.is-open .mobile-menu__links li { opacity: 1; transform: none; }
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-white);
}
.mobile-menu__links a span {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-cyan-bright);
  letter-spacing: 0.1em;
}
.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible { color: var(--c-cyan-bright); }
.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5) var(--sp-6);
  padding-block: var(--sp-7);
}

/* ---------- 09. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 2rem) 7rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 70% 45%, rgba(12, 123, 202, 0.18), transparent 70%),
    var(--c-ink);
}
.hero__canvas,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__video { object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__canvas { opacity: 0; transition: opacity 1.6s var(--ease-out); }
.hero.is-ready .hero__canvas { opacity: 1; }
.hero__video.is-playing ~ .hero__canvas { opacity: 0; }

/* scanning light band */
.hero__scan {
  position: absolute;
  inset: -10% auto -10% 0;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(76, 196, 255, 0.07) 45%, rgba(170, 225, 255, 0.1) 50%, rgba(76, 196, 255, 0.07) 55%, transparent);
  transform: translateX(-120%) skewX(-12deg);
  mix-blend-mode: screen;
  animation: scan 11s var(--ease-in-out) 2.6s infinite;
}
@keyframes scan {
  0% { transform: translateX(-120%) skewX(-12deg); }
  45%, 100% { transform: translateX(560%) skewX(-12deg); }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 12, 0.9) 0%, rgba(2, 6, 12, 0.66) 34%, rgba(2, 6, 12, 0.12) 64%, rgba(2, 6, 12, 0) 100%),
    linear-gradient(0deg, var(--c-bg) 0%, rgba(5, 13, 24, 0) 26%),
    linear-gradient(180deg, rgba(2, 6, 12, 0.7) 0%, rgba(2, 6, 12, 0) 22%);
}
.hero__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.07;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
  pointer-events: none;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(0, 0); }
}

/* cinematic letterbox that opens on load */
.hero__letterbox {
  position: absolute;
  left: 0; right: 0;
  height: 11vh;
  z-index: 3;
  background: #000;
  pointer-events: none;
  transition: transform 1.6s var(--ease-in-out) 0.5s;
}
.hero__letterbox--top { top: 0; transform-origin: top; }
.hero__letterbox--bottom { bottom: 0; transform-origin: bottom; }
.hero.is-ready .hero__letterbox { transform: scaleY(0); }

.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { color: var(--c-text); }
.hero__title {
  max-width: 13ch;
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--c-white);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #ffffff 0%, var(--c-cyan-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title em.is-split { background: none; color: inherit; }
.hero__title em .w__i {
  background: linear-gradient(90deg, #ffffff 0%, var(--c-cyan-bright) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .w__i { transition-duration: 1.3s; transition-delay: calc(var(--i, 0) * 85ms + 1.05s); }
.hero.is-ready .hero__title .w__i { transform: none; }

.hero__lead {
  max-width: 54ch;
  margin-top: var(--sp-6);
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: rgba(244, 248, 252, 0.78);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

[data-hero-seq] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
}
[data-hero-seq="1"] { transition-delay: 0.85s; }
[data-hero-seq="3"] { transition-delay: 1.7s; }
[data-hero-seq="4"] { transition-delay: 1.95s; }
[data-hero-seq="5"] { transition-delay: 2.4s; }
.hero.is-ready [data-hero-seq] { opacity: 1; transform: none; }
.no-js [data-hero-seq] { opacity: 1; transform: none; }

.hero__hud {
  position: absolute;
  left: 0; right: 0;
  bottom: 2.25rem;
  margin-inline: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-faint);
  pointer-events: none;
}
.hero__hud-item { display: inline-flex; align-items: center; gap: 1.25rem; }
.hero__hud-item + .hero__hud-item::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--c-line-strong);
}
.hero__hud-time {
  margin-left: auto;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}
.hero__hud-time::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--c-cyan);
  vertical-align: 1px;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-left: -1.5rem;
  width: 3rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--dur-fast);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-track {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--c-line-strong);
  overflow: hidden;
}
.hero__scroll-track span {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 16px;
  background: linear-gradient(180deg, transparent, var(--c-cyan-bright));
  animation: scrollcue 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-16px); }
  100% { transform: translateY(46px); }
}

/* ---------- 10. About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-8) clamp(3rem, 2rem + 4vw, 7rem);
  align-items: center;
}
.about__title { margin-bottom: var(--sp-6); }
.about__copy > p:not(.eyebrow) { max-width: 58ch; }
.about__copy > p:not(.lead):not(.eyebrow) { color: var(--c-muted); margin-top: var(--sp-5); }

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin-top: var(--sp-6);
  font-family: var(--f-display);
  font-size: var(--fs-md);
  color: var(--c-white);
}
.audience li + li::before {
  content: "/";
  margin-inline: 0.85rem;
  color: var(--c-cyan);
  opacity: 0.7;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--sp-7);
  border-top: 1px solid var(--c-line);
}
.facts__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
  padding: var(--sp-5) var(--sp-4) 0 0;
}
.facts__item + .facts__item { padding-left: var(--sp-5); border-left: 1px solid var(--c-line); }
.facts dt { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.4; }
.facts dd {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
}
.facts dd span::before { content: "0"; }

.about__visual { position: relative; }
.about__caption {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-faint);
  text-align: center;
}
.nexus { width: 100%; max-width: 540px; margin-inline: auto; overflow: visible; }
.nexus__ring { stroke: var(--c-line-strong); stroke-width: 1; transform-box: view-box; transform-origin: 260px 260px; }
.nexus__ring--a { stroke-dasharray: 2 10; animation: spin 80s linear infinite; }
.nexus__ring--b { stroke: var(--c-line); animation: spin 60s linear infinite reverse; stroke-dasharray: 60 14 4 14; }
.nexus__ring--c { stroke: rgba(30, 167, 240, 0.28); stroke-dasharray: 1 6; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nexus__links path {
  stroke-width: 1.5;
  opacity: 0.55;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2s var(--ease-out);
}
.nexus__links path:nth-child(2) { transition-delay: 0.15s; }
.nexus__links path:nth-child(3) { transition-delay: 0.3s; }
.nexus__links path:nth-child(4) { transition-delay: 0.45s; }
.is-visible .nexus__links path { stroke-dashoffset: 0; }
.nexus__flow path {
  stroke: var(--c-cyan-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 10 400;
  stroke-dashoffset: 410;
  opacity: 0;
  animation: flow 3.4s linear infinite;
}
.nexus__flow path:nth-child(2) { animation-delay: 0.85s; }
.nexus__flow path:nth-child(3) { animation-delay: 1.7s; }
.nexus__flow path:nth-child(4) { animation-delay: 2.55s; }
.is-visible .nexus__flow path { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: 0; } }

.nexus__glow { transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
.nexus__node circle { fill: var(--c-bg-2); stroke: var(--c-cyan); stroke-width: 1.5; }
.nexus__node text {
  fill: var(--c-text);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-anchor: middle;
}
.nexus__node::after { content: none; }
.nexus__nodes .nexus__node circle { animation: nodePulse 3.4s ease-in-out infinite; }
.nexus__nodes .nexus__node:nth-child(2) circle { animation-delay: 0.85s; }
.nexus__nodes .nexus__node:nth-child(3) circle { animation-delay: 1.7s; }
.nexus__nodes .nexus__node:nth-child(4) circle { animation-delay: 2.55s; }
@keyframes nodePulse {
  0%, 70%, 100% { fill: var(--c-bg-2); }
  85% { fill: rgba(30, 167, 240, 0.45); }
}

/* ---------- 11. Services ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: var(--sp-7) clamp(3rem, 2rem + 4vw, 6.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
}
.feature + .feature { border-top: 1px solid var(--c-line); }
.feature--reverse .feature__copy { order: 2; }
.feature__num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 3rem + 5vw, 8rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(76, 196, 255, 0.45);
  margin-bottom: var(--sp-5);
}
.feature__title { font-size: var(--fs-2xl); margin-bottom: var(--sp-5); }
.feature__copy > p { color: var(--c-muted); max-width: 52ch; }
.ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: var(--sp-6) 0 var(--sp-7);
  font-size: var(--fs-sm);
  color: var(--c-text);
}
.ticks li { position: relative; padding-left: 1.5rem; line-height: 1.45; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 1px;
  background: var(--c-cyan-bright);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 9px; top: calc(0.55em - 2px);
  width: 5px; height: 5px;
  border: 1px solid var(--c-cyan-bright);
  border-radius: 50%;
}

.feature__visual {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 60% 40%, rgba(12, 123, 202, 0.16), transparent 70%),
    linear-gradient(var(--c-line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--c-bg-2);
  background-blend-mode: normal;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.feature__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5, 13, 24, 0.85));
  pointer-events: none;
}
/* pause decorative animation until in view */
[data-reveal]:not(.is-visible) .art-browser *,
[data-reveal]:not(.is-visible) .art-arch *,
[data-reveal]:not(.is-visible) .art-ai *,
[data-reveal]:not(.is-visible) .art-tag { animation-play-state: paused; }

/* Feature 01 art — a browser composing its layout */
.art-browser {
  position: absolute;
  inset: 13% 11% 13% 11%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  background: rgba(5, 13, 24, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.art-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
}
.art-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-line-strong); }
.art-browser__bar span {
  flex: 1;
  height: 8px;
  margin-left: 10px;
  border-radius: 4px;
  background: rgba(150, 195, 245, 0.08);
}
.art-browser__body {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 8%;
  padding: 7%;
}
.ab { transform-origin: left; animation: build 7s var(--ease-out) infinite; }
.ab--nav { height: 8px; width: 100%; background: linear-gradient(90deg, rgba(76, 196, 255, 0.6) 0 14%, transparent 14% 60%, rgba(150, 195, 245, 0.18) 60%); }
.ab--hero { display: grid; gap: 8px; align-content: center; animation-delay: 0.3s; }
.ab--hero span { display: block; height: 10px; border-radius: 2px; background: rgba(244, 248, 252, 0.7); }
.ab--hero span:nth-child(1) { width: 70%; height: 14px; }
.ab--hero span:nth-child(2) { width: 52%; background: rgba(150, 195, 245, 0.25); }
.ab--hero span:nth-child(3) { width: 26%; height: 16px; margin-top: 6px; background: var(--g-blue); }
.ab--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; animation-delay: 0.65s; }
.ab--grid span { aspect-ratio: 1.5; border: 1px solid var(--c-line-strong); border-radius: 2px; background: rgba(30, 167, 240, 0.05); }
.ab--row { height: 6px; width: 60%; background: rgba(150, 195, 245, 0.14); animation-delay: 0.95s; }
@keyframes build {
  0% { opacity: 0; transform: scaleX(0.4); }
  10%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
.art-browser__cursor {
  position: absolute;
  width: 14px; height: 14px;
  left: 0; top: 0;
  border: 1.5px solid var(--c-cyan-bright);
  border-radius: 50%;
  animation: cursorPath 7s var(--ease-in-out) infinite;
}
@keyframes cursorPath {
  0%, 12% { transform: translate(260%, 600%); opacity: 0; }
  20% { transform: translate(200%, 520%); opacity: 1; }
  38% { transform: translate(140%, 380%); }
  42% { transform: translate(140%, 380%) scale(0.7); background: rgba(76, 196, 255, 0.4); }
  46% { transform: translate(140%, 380%) scale(1); background: transparent; }
  70% { transform: translate(1100%, 620%); }
  86% { transform: translate(1100%, 620%); opacity: 1; }
  100% { transform: translate(1300%, 800%); opacity: 0; }
}
.art-tag {
  position: absolute;
  z-index: 2;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: rgba(5, 13, 24, 0.9);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--c-cyan-bright);
  animation: floaty 6s ease-in-out infinite;
}
.art-tag--a { top: 7%; right: 6%; }
.art-tag--b { bottom: 7%; left: 5%; color: var(--c-muted); animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Feature 02 art — architecture diagram + code */
.art-arch { position: absolute; inset: 6% 4% 6% 5%; z-index: 1; display: flex; align-items: center; }
.art-arch__svg { width: 76%; height: auto; overflow: visible; }
.arch-links path { stroke: var(--c-line-strong); stroke-width: 1.5; }
.arch-pulse path {
  stroke: var(--c-cyan-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 300;
  stroke-dashoffset: 308;
  animation: flow 2.8s linear infinite;
}
.arch-pulse path:nth-child(2) { animation-delay: 0.7s; }
.arch-pulse path:nth-child(3) { animation-delay: 1.4s; }
.arch-pulse path:nth-child(4) { animation-delay: 2.1s; }
.arch-box rect { fill: rgba(5, 13, 24, 0.92); stroke: var(--c-line-strong); stroke-width: 1; }
.arch-box text {
  fill: var(--c-text);
  font-family: var(--f-mono);
  font-size: 13px;
  text-anchor: middle;
}
.arch-box--core rect { stroke: var(--c-cyan); fill: rgba(12, 123, 202, 0.18); }
.arch-box--core text { fill: #fff; }
.art-code {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -52px;
  width: 31%;
  padding: 12px 14px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-sm);
  background: rgba(3, 9, 17, 0.94);
  box-shadow: var(--shadow-soft);
  animation: floaty 7s ease-in-out infinite;
}
.art-code span {
  display: block;
  height: 5px;
  width: var(--w);
  margin-left: calc(var(--x, 0) * 12px);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-cyan) 0 22%, rgba(150, 195, 245, 0.3) 22%);
  transform-origin: left;
  animation: type 5s steps(12) infinite;
}
.art-code span:nth-child(2) { animation-delay: 0.3s; }
.art-code span:nth-child(3) { animation-delay: 0.6s; }
.art-code span:nth-child(4) { animation-delay: 0.9s; }
.art-code span:nth-child(5) { animation-delay: 1.2s; }
.art-code span:nth-child(6) { animation-delay: 1.5s; }
@keyframes type {
  0% { transform: scaleX(0); }
  25%, 90% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* Feature 03 art — neural network driving a robotic arm */
.art-ai { position: absolute; inset: 9% 6%; z-index: 1; display: flex; align-items: center; }
.art-ai__svg { width: 100%; height: auto; overflow: visible; }
.nn-links path { fill: none; stroke: var(--c-line-strong); stroke-width: 1; }
.nn-pulse path {
  fill: none;
  stroke: var(--c-cyan-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 400;
  stroke-dashoffset: 410;
  animation: flow 3s linear infinite;
}
.nn-pulse path:nth-child(2) { animation-delay: 1s; }
.nn-pulse path:nth-child(3) { animation-delay: 2s; }
.nn-nodes circle { fill: var(--c-bg); stroke: var(--c-cyan); stroke-width: 1.5; }
.nn-nodes .nn-out { animation: nodePulse 3s ease-in-out infinite; }
.nn-nodes .nn-out + .nn-out { animation-delay: 1.5s; }
.nn-bridge { fill: none; stroke: var(--c-cyan-bright); stroke-width: 1.5; stroke-dasharray: 4 5; animation: dashMove 1.2s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -18; } }
.robot__base { fill: var(--c-navy); stroke: var(--c-line-strong); }
.robot__link { fill: none; stroke: rgba(195, 208, 223, 0.85); stroke-width: 10; stroke-linecap: round; }
.robot__joint { fill: var(--c-bg); stroke: var(--c-cyan-bright); stroke-width: 2; }
.robot__grip { fill: none; stroke: var(--c-cyan-bright); stroke-width: 3; stroke-linecap: round; }
.robot__arm1,
.robot__arm2,
.robot__head { transform-box: view-box; }
.robot__arm1 { transform-origin: 380px 292px; animation: armA 5s ease-in-out infinite alternate; }
.robot__arm2 { transform-origin: 380px 214px; animation: armB 5s ease-in-out infinite alternate; }
.robot__head { transform-origin: 334px 166px; animation: armC 2.5s ease-in-out infinite alternate; }
@keyframes armA { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes armB { from { transform: rotate(10deg); } to { transform: rotate(-16deg); } }
@keyframes armC { from { transform: rotate(-12deg); } to { transform: rotate(14deg); } }

/* Services index (04–09) */
.svc-index { margin-top: clamp(4rem, 3rem + 5vw, 8rem); }
.svc-index__intro {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
}
.svc-index__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 6rem);
  align-items: start;
}
.svc-list { counter-reset: svc; border-bottom: 1px solid var(--c-line); }
.svc-item {
  position: relative;
  border-top: 1px solid var(--c-line);
}
.svc-item::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--c-cyan-bright), rgba(30, 167, 240, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}
.svc-item.is-active::before { transform: scaleX(1); }
.svc-item__head { font-size: inherit; }
.svc-item__btn {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  color: var(--c-muted);
  transition: color var(--dur) var(--ease-out);
}
.svc-item__btn:hover,
.svc-item.is-active .svc-item__btn { color: var(--c-white); }
.svc-item__num {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-cyan-bright);
  letter-spacing: 0.1em;
}
.svc-item__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: transform var(--dur) var(--ease-out);
}
.svc-item__btn:hover .svc-item__title { transform: translateX(6px); }
.svc-item__plus {
  position: relative;
  width: 14px; height: 14px;
}
.svc-item__plus::before,
.svc-item__plus::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}
.svc-item__plus::after { transform: rotate(90deg); }
.svc-item.is-active .svc-item__plus::after { transform: rotate(0deg); }

.svc-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.svc-item.is-active .svc-item__panel { grid-template-rows: 1fr; }
.svc-item__panel-inner {
  min-height: 0;
  overflow: hidden;
  padding-left: 4rem;
  color: var(--c-muted);
}
.svc-item__panel-inner > :last-child { margin-bottom: 1.75rem; }
.svc-item__panel-inner .note { margin-top: var(--sp-4); }
.svc-item__panel-inner .link-arrow { margin-top: var(--sp-5); }
.no-js .svc-item__panel { grid-template-rows: 1fr; }

.svc-stage { position: sticky; top: calc(var(--header-h-compact) + 2rem); }
.svc-stage__frame {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(12, 123, 202, 0.14), transparent 70%),
    radial-gradient(circle, rgba(150, 195, 245, 0.12) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--c-bg-2);
  overflow: hidden;
}
.svc-stage__corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--c-cyan);
  border-style: solid;
}
.svc-stage__corner--tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.svc-stage__corner--br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }
.svc-stage__label {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.svc-art {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  opacity: 0;
  transform: scale(0.94) translateY(10px);
  transition: opacity 0.6s var(--ease-out), transform 0.9s var(--ease-out);
  overflow: visible;
}
.svc-art.is-active { opacity: 1; transform: none; }
.svc-art:not(.is-active) * { animation-play-state: paused !important; }

/* art 0 — UI/UX */
.ux-wire > * { stroke: rgba(150, 195, 245, 0.35); stroke-width: 1.2; stroke-dasharray: 3 4; }
.ux-ui > * { opacity: 0; animation: uxResolve 6s var(--ease-out) infinite; }
.ux-fill { fill: rgba(30, 167, 240, 0.18); stroke: var(--c-cyan); }
.ux-btn { fill: var(--c-blue); animation-delay: 0.4s !important; }
.ux-dot { fill: none; stroke: var(--c-cyan-bright); stroke-width: 2; animation-delay: 0.8s !important; }
@keyframes uxResolve { 0%, 15% { opacity: 0; } 30%, 85% { opacity: 1; } 100% { opacity: 0; } }
.ux-pointer { fill: var(--c-white); animation: uxPointer 6s var(--ease-in-out) infinite; }
@keyframes uxPointer {
  0% { transform: translate(340px, 260px); }
  30% { transform: translate(245px, 172px); }
  40% { transform: translate(245px, 172px) scale(0.6); }
  50% { transform: translate(245px, 172px); }
  80% { transform: translate(125px, 141px); }
  100% { transform: translate(340px, 260px); }
}

/* art 1 — marketing */
.mk-grid path { stroke: var(--c-line); stroke-width: 1; }
.mk-line { fill: none; stroke: var(--c-cyan-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 5s var(--ease-out) infinite; }
.mk-area { fill: url(#nx-core); fill: rgba(30, 167, 240, 0.1); opacity: 0; animation: fadeArea 5s var(--ease-out) infinite; }
.mk-nodes circle { fill: var(--c-bg); stroke: var(--c-cyan-bright); stroke-width: 2; }
.mk-ripple circle { fill: none; stroke: var(--c-cyan-bright); transform-box: fill-box; transform-origin: center; animation: ripple 2.5s ease-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 420; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes fadeArea { 0%, 30% { opacity: 0; } 55%, 100% { opacity: 1; } }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(5); opacity: 0; } }

/* art 2 — branding */
.br-guides path { stroke: var(--c-line); stroke-width: 1; stroke-dasharray: 4 6; }
.br-circles circle { stroke: rgba(150, 195, 245, 0.35); stroke-width: 1; stroke-dasharray: 640; stroke-dashoffset: 640; animation: drawCircle 7s var(--ease-out) infinite; }
.br-circles circle:nth-child(2) { animation-delay: 0.3s; }
.br-circles circle:nth-child(3) { animation-delay: 0.6s; }
.br-circles circle:nth-child(4) { animation-delay: 0.9s; }
@keyframes drawCircle { 0% { stroke-dashoffset: 640; } 40%, 100% { stroke-dashoffset: 0; } }
.br-mark { fill: rgba(30, 167, 240, 0.12); stroke: var(--c-cyan-bright); stroke-width: 2.5; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 7s var(--ease-out) 1s infinite; }
.br-swatches rect:nth-child(1) { fill: var(--c-bg); stroke: var(--c-line-strong); }
.br-swatches rect:nth-child(2) { fill: var(--c-blue); }
.br-swatches rect:nth-child(3) { fill: var(--c-white); }

/* art 3 — registration checklist */
.doc rect { fill: var(--c-bg); stroke: var(--c-line-strong); stroke-width: 1.2; }
.doc--back { opacity: 0.55; transform: rotate(6deg); transform-box: fill-box; transform-origin: center; }
.doc--front path { stroke: rgba(150, 195, 245, 0.35); stroke-width: 4; stroke-linecap: round; }
.doc-row rect { fill: none; stroke: var(--c-cyan); stroke-width: 1.2; }
.doc-row path:not(.doc-tick) { stroke-width: 3; }
.doc-tick {
  fill: none;
  stroke: var(--c-cyan-bright) !important;
  stroke-width: 2 !important;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: tick 6s var(--ease-out) infinite;
  animation-delay: calc(var(--d) * 0.5s);
}
.doc-row:nth-child(4) .doc-tick { animation-delay: 0s; }
@keyframes tick { 0%, 10% { stroke-dashoffset: 20; } 22%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 20; } }

/* art 4 — project milestones */
.pj-track { fill: none; stroke: var(--c-line-strong); stroke-width: 1.5; stroke-dasharray: 4 6; }
.pj-run { fill: none; stroke: var(--c-cyan-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: run 6s var(--ease-in-out) infinite; }
@keyframes run { 0% { stroke-dashoffset: 520; } 70%, 100% { stroke-dashoffset: 0; } }
.pj-stops circle { fill: var(--c-bg); stroke: var(--c-cyan); stroke-width: 2; }
.pj-labels text { fill: var(--c-text); font-family: var(--f-mono); font-size: 13px; text-anchor: middle; }

/* art 5 — learning */
.ln-steps rect { fill: rgba(30, 167, 240, 0.06); stroke: var(--c-line-strong); stroke-width: 1; transform-box: fill-box; transform-origin: bottom; animation: rise 6s var(--ease-out) infinite; }
.ln-steps rect:nth-child(2) { animation-delay: 0.2s; }
.ln-steps rect:nth-child(3) { animation-delay: 0.4s; }
.ln-steps rect:nth-child(4) { animation-delay: 0.6s; fill: rgba(30, 167, 240, 0.16); stroke: var(--c-cyan); }
@keyframes rise { 0% { transform: scaleY(0); } 25%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.ln-path { fill: none; stroke: var(--c-cyan-bright); stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: lnDraw 6s var(--ease-out) 0.8s infinite; }
@keyframes lnDraw { 0% { stroke-dashoffset: 260; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.ln-nodes circle { fill: var(--c-bg); stroke: var(--c-cyan-bright); stroke-width: 2; }
.ln-spark { stroke: var(--c-cyan-bright); stroke-width: 2; stroke-linecap: round; animation: blink 1.2s steps(2) infinite; }

/* ---------- 12. Internships & courses ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.pillar {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-6) 0;
}
.pillar + .pillar { padding-left: var(--sp-5); border-left: 1px solid var(--c-line); }
.pillar::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--c-cyan-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-cyan-bright);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-6);
}
.pillar h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.pillar p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.55; }

.portal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--sp-7) clamp(2rem, 1rem + 4vw, 6rem);
  align-items: center;
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(12, 123, 202, 0.14), transparent 60%),
    var(--c-glass);
  scroll-margin-top: calc(var(--header-h-compact) + 1rem);
}
.portal__title { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.portal__intro p { color: var(--c-muted); max-width: 46ch; }
.portal__links { border-top: 1px solid var(--c-line); }
.portal__links li { border-bottom: 1px solid var(--c-line); }
.portal__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "kicker go" "label go";
  align-items: center;
  gap: 0.35rem var(--sp-5);
  padding: 1.6rem 0;
  color: var(--c-white);
}
.portal__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--c-cyan-bright), rgba(30, 167, 240, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.portal__link:hover::after,
.portal__link:focus-visible::after { transform: scaleX(1); }
.portal__kicker {
  grid-area: kicker;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan-bright);
}
.portal__label {
  grid-area: label;
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: transform var(--dur) var(--ease-out);
}
.portal__link:hover .portal__label { transform: translateX(6px); }
.portal__go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-cyan-bright);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), color var(--dur);
}
.portal__go .icon { transition: transform var(--dur) var(--ease-out); }
.portal__link:hover .portal__go { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.portal__link:hover .portal__go .icon { transform: translateX(3px); }
.portal__link[target="_blank"]:hover .portal__go .icon { transform: translate(2px, -2px); }

/* ---------- 13. Forms ---------- */
.form { display: grid; gap: var(--sp-5); }
.form--panel {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.form__row { display: grid; gap: var(--sp-5); }
.form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field { display: grid; gap: 0.45rem; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--c-text); }
.req { color: var(--c-cyan-bright); }
.opt { color: var(--c-faint); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(150, 195, 245, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(2, 6, 12, 0.45);
  color: var(--c-white);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: var(--c-faint); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(150, 195, 245, 0.32); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(2, 6, 12, 0.7);
  box-shadow: 0 0 0 3px rgba(30, 167, 240, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 138, 128, 0.18); }
.field__error {
  min-height: 0;
  font-size: 0.8rem;
  color: var(--c-error);
}
.field__error:empty { display: none; }

.select { position: relative; }
.select select { padding-right: 2.75rem; cursor: pointer; }
.select select option { background: var(--c-bg); color: var(--c-white); }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--c-muted);
  border-bottom: 1.5px solid var(--c-muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-2);
}
.form__note { flex: 1 1 240px; font-size: 0.8rem; color: var(--c-faint); }
.form__note a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.form__note a:hover { color: #fff; }

.spinner {
  display: none;
  width: 16px; height: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; }

.form__status:empty { display: none; }
.form__status {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  line-height: 1.55;
  animation: fadeUp 0.5s var(--ease-out);
}
.form__status .icon { width: 20px; height: 20px; margin-top: 1px; }
.form__status strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.form__status.is-success { border-color: rgba(95, 212, 255, 0.45); background: rgba(30, 167, 240, 0.08); color: var(--c-text); }
.form__status.is-success .icon { color: var(--c-success); }
.form__status.is-error { border-color: rgba(255, 138, 128, 0.45); background: rgba(255, 138, 128, 0.06); color: var(--c-text); }
.form__status.is-error .icon { color: var(--c-error); }
.form__status a { color: var(--c-cyan-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 14. Project support ---------- */
.flow { position: relative; --p: 0; }
.flow__track {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--c-line-strong);
}
.flow__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan-bright));
  transform-origin: left;
  transform: scaleX(var(--p));
}
.flow__pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 60px; height: 5px;
  margin-left: -30px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(170, 225, 255, 0.95), rgba(76, 196, 255, 0));
  animation: travel 4.5s var(--ease-in-out) infinite;
}
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-5);
}
.flow__step { text-align: center; padding-inline: var(--sp-2); }
.flow__icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto var(--sp-5);
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-muted);
  transition: border-color 0.6s var(--ease-out), color 0.6s, box-shadow 0.6s, background-color 0.6s;
}
.flow__icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow__step.is-on .flow__icon {
  border-color: var(--c-cyan);
  color: var(--c-cyan-bright);
  background: radial-gradient(circle, rgba(30, 167, 240, 0.2), var(--c-bg) 70%);
  box-shadow: 0 0 0 6px rgba(30, 167, 240, 0.06), 0 0 30px -6px rgba(30, 167, 240, 0.6);
}
.flow__step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); transition: color 0.4s; }
.flow__step:not(.is-on) h3 { color: var(--c-muted); }
.flow__step p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.5; }

.capabilities { margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
.capabilities__title { font-size: var(--fs-2xl); margin-bottom: var(--sp-6); }
.capabilities__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.capabilities__list li {
  display: grid;
  gap: 0.3rem;
  padding: var(--sp-5) var(--sp-5);
  background: var(--c-bg);
  transition: background-color var(--dur);
}
.capabilities__list li:hover { background: var(--c-bg-2); }
.capabilities__list strong {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-white);
}
.capabilities__list strong::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.65rem;
  border: 1px solid var(--c-cyan-bright);
  border-radius: 50%;
  vertical-align: 2px;
}
.capabilities__list span { font-size: var(--fs-sm); color: var(--c-muted); }
.capabilities__note { margin: var(--sp-6) 0; max-width: 72ch; font-size: var(--fs-sm); color: var(--c-faint); }

/* ---------- 15. Brandevo ---------- */
.brandevo {
  position: relative;
  padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section-pad);
  color: var(--c-paper-text);
  background:
    radial-gradient(60% 50% at 85% 60%, rgba(30, 167, 240, 0.16), transparent 70%),
    linear-gradient(180deg, #f5f8fc 0%, var(--c-paper) 45%, var(--c-paper-2) 100%);
  overflow: hidden;
  isolation: isolate;
}
.brandevo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(8, 24, 43, 0.05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(8, 24, 43, 0.05) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.brandevo__marquee {
  overflow: hidden;
  margin-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  width: max-content;
  animation: marquee 48s linear infinite;
}
.brandevo__marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 1.5rem + 5vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(8, 24, 43, 0.3);
  white-space: nowrap;
}
.marquee__track span:nth-of-type(3n + 2) { color: var(--c-paper-ink); -webkit-text-stroke: 0; }
.marquee__track i {
  flex: none;
  width: 12px; height: 12px;
  background: var(--c-cyan);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.brandevo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--sp-8) clamp(3rem, 2rem + 4vw, 7rem);
  align-items: center;
}
.eyebrow--dark { color: var(--c-blue-deep); }
.eyebrow--dark .eyebrow__num { color: var(--c-paper-text); }
.eyebrow--dark .eyebrow__num::after { background: rgba(8, 24, 43, 0.2); }
.brandevo__title { color: var(--c-paper-ink); margin-bottom: var(--sp-6); }
.brandevo__accent { color: var(--c-blue-deep); }
.brandevo .lead { color: var(--c-paper-ink); opacity: 0.82; }
.brandevo__focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: var(--sp-6) 0 var(--sp-7);
  border-top: 1px solid rgba(8, 24, 43, 0.12);
}
.brandevo__focus li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(8, 24, 43, 0.12);
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-paper-ink);
}
.brandevo__focus li:nth-child(odd) { padding-right: 1rem; }
.brandevo__focus li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--c-cyan); transform: rotate(45deg); }

.showcase-brand {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(60px, 5.6vw, 92px);
  gap: clamp(0.6rem, 0.4rem + 0.6vw, 1rem);
}
.sb-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-bg);
  box-shadow: 0 30px 60px -30px rgba(8, 24, 43, 0.55);
  color: var(--c-white);
  transition: transform 0.6s var(--ease-out);
}
.sb-caption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.sb-tile--logo { grid-column: 1 / 4; grid-row: 1 / 4; display: grid; place-items: center; }
.sb-tile--logo svg { width: 78%; height: 78%; }
.sb-construct > * { stroke: rgba(150, 195, 245, 0.25); stroke-width: 0.8; stroke-dasharray: 500; stroke-dashoffset: 500; transition: stroke-dashoffset 2.4s var(--ease-out); }
.sb-construct > *:nth-child(2) { transition-delay: 0.2s; }
.sb-construct > *:nth-child(3) { transition-delay: 0.4s; }
.sb-construct > *:nth-child(4) { transition-delay: 0.6s; }
.sb-construct > *:nth-child(5) { transition-delay: 0.8s; }
.is-visible .sb-construct > * { stroke-dashoffset: 0; }
.sb-glyph { fill: rgba(30, 167, 240, 0.1); stroke: var(--c-cyan-bright); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 2s var(--ease-out) 1s, fill 1s 2.2s; }
.is-visible .sb-glyph { stroke-dashoffset: 0; fill: rgba(30, 167, 240, 0.2); }

.sb-tile--type {
  grid-column: 4 / 7; grid-row: 1 / 3;
  display: grid; place-items: center;
  background:
    linear-gradient(transparent calc(50% + 18px), rgba(76, 196, 255, 0.35) calc(50% + 18px), rgba(76, 196, 255, 0.35) calc(50% + 19px), transparent calc(50% + 19px)),
    var(--c-navy);
}
.sb-type {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 2rem + 4vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--g-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sb-tile--palette { grid-column: 4 / 7; grid-row: 3 / 4; display: flex; padding: 0; }
.sb-tile--palette span:not(.sb-caption) { flex: 1; background: var(--c); transition: flex 0.6s var(--ease-out); }
.sb-tile--palette span:not(.sb-caption):hover { flex: 2.4; }
.sb-tile--palette .sb-caption { color: var(--c-paper-ink); mix-blend-mode: difference; color: #fff; }
.sb-tile--post { grid-column: 1 / 3; grid-row: 4 / 7; padding: 12px; }
.sb-post { position: relative; display: grid; gap: 8px; height: calc(100% - 22px); grid-template-rows: 1fr auto auto; }
.sb-post i { display: block; border-radius: 2px; }
.sb-post__img {
  background:
    radial-gradient(circle at 70% 30%, rgba(76, 196, 255, 0.9) 0 10%, transparent 11%),
    linear-gradient(160deg, var(--c-blue) 0%, var(--c-navy) 70%);
  background-size: 100% 100%, 200% 200%;
  animation: postBg 8s ease-in-out infinite alternate;
}
@keyframes postBg { to { background-position: 0 0, 100% 100%; } }
.sb-post__l1 { height: 6px; width: 80%; background: rgba(244, 248, 252, 0.7); }
.sb-post__l2 { height: 6px; width: 55%; background: rgba(150, 195, 245, 0.3); }
.sb-post__heart {
  position: absolute;
  right: 6px; bottom: 1px;
  width: 10px; height: 10px;
  background: var(--c-cyan-bright);
  transform: rotate(45deg);
  animation: heartbeat 2.4s ease-in-out infinite;
}
@keyframes heartbeat { 0%, 60%, 100% { transform: rotate(45deg) scale(1); } 70% { transform: rotate(45deg) scale(1.45); } }
.sb-tile--growth { grid-column: 3 / 7; grid-row: 4 / 7; padding: 18px 18px 34px; display: flex; align-items: flex-end; }
.sb-tile--growth svg { width: 100%; height: 100%; overflow: visible; }
.sb-growth { fill: none; stroke: var(--c-cyan-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 2.6s var(--ease-out) 0.6s; }
.sb-growth-area { fill: rgba(30, 167, 240, 0.14); opacity: 0; transition: opacity 1.4s 2s; }
.is-visible .sb-growth { stroke-dashoffset: 0; }
.is-visible .sb-growth-area { opacity: 1; }

/* ---------- 16. Our team ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
}
.member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 1.5rem + 1.5vw, 3rem) var(--sp-5) clamp(1.75rem, 1.25rem + 1vw, 2.5rem);
  text-align: center;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(12, 123, 202, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(14, 32, 54, 0.55), rgba(7, 19, 33, 0.55));
  transition: border-color var(--dur) var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.member:hover {
  border-color: rgba(76, 196, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(30, 167, 240, 0.08);
}
.member__photo {
  position: relative;
  width: clamp(140px, 11vw + 40px, 184px);
  aspect-ratio: 1;
  padding: 6px;
  border: 3px solid var(--c-cyan);
  border-radius: 50%;
  background: var(--c-bg);
  box-shadow: 0 0 24px -2px rgba(30, 167, 240, 0.55), 0 0 60px -10px rgba(30, 167, 240, 0.35);
  transition: box-shadow 0.6s var(--ease-out), border-color var(--dur);
}
.member:hover .member__photo {
  border-color: var(--c-cyan-bright);
  box-shadow: 0 0 30px 0 rgba(76, 196, 255, 0.65), 0 0 80px -6px rgba(30, 167, 240, 0.45);
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 1s var(--ease-out);
}
.member:hover .member__photo img { transform: scale(1.04); }
.member__initials {
  position: absolute;
  inset: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-bg-2);
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 2rem + 1.5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(76, 196, 255, 0.7);
}
.member__body { display: flex; flex-direction: column; align-items: center; padding-top: var(--sp-6); }
.member__name { font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.01em; }
.member__role {
  margin-top: var(--sp-4);
  padding: 0.45rem 1.15rem;
  border: 1px solid rgba(76, 196, 255, 0.25);
  border-radius: 999px;
  background: rgba(30, 167, 240, 0.08);
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan-bright);
}
.member__bio { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--c-muted); max-width: 32ch; }
.member__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-5); margin-top: var(--sp-4); font-size: var(--fs-sm); }

.team--page { padding-top: 0; }
.team--page .section-head { margin-bottom: var(--sp-5); }
.team--page .section-head .eyebrow { margin-bottom: 0; }

/* Standalone page header (team.html) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem)) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 80% 20%, rgba(12, 123, 202, 0.22), transparent 70%),
    linear-gradient(var(--c-line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.page-hero__title { max-width: 16ch; }
.page-hero__lead { max-width: 58ch; margin-top: var(--sp-6); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-6); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-cyan-bright); }
.breadcrumb li + li::before { content: "/"; color: var(--c-faint); }
.breadcrumb a { color: var(--c-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: #fff; }

/* Closing call to action band */
.cta-band { border-top: 1px solid var(--c-line); background: radial-gradient(60% 80% at 15% 100%, rgba(12, 123, 202, 0.16), transparent 70%); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-7); }
.cta-band__title { max-width: 14ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.about__team-link { margin-top: var(--sp-6); }

@media (max-width: 1024px) {
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .team__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 17. Why ASSI ---------- */
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--sp-7) clamp(3rem, 2rem + 4vw, 7rem);
  align-items: start;
}
.why__aside { position: sticky; top: calc(var(--header-h-compact) + 2.5rem); }
.why__diagram { position: relative; max-width: 380px; margin-top: var(--sp-7); }
.why__diagram svg { width: 100%; overflow: visible; }
.why-layer {
  transition: transform 0.8s var(--ease-out);
}
.why-layer path {
  fill: rgba(30, 167, 240, 0.025);
  stroke: rgba(150, 195, 245, 0.2);
  stroke-width: 1;
  transition: fill 0.6s, stroke 0.6s;
}
.why-layer.is-past path { stroke: rgba(76, 196, 255, 0.45); fill: rgba(30, 167, 240, 0.06); }
.why-layer.is-active { transform: translateY(-10px); }
.why-layer.is-active path { fill: rgba(30, 167, 240, 0.22); stroke: var(--c-cyan-bright); stroke-width: 1.5; }
.why-axis { stroke: var(--c-line-strong); stroke-dasharray: 2 5; }
.why__diagram-label {
  display: block;
  margin-top: var(--sp-4);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan-bright);
}
.why__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--sp-4);
  padding-block: clamp(2.5rem, 2rem + 4vh, 5.5rem);
  border-top: 1px solid var(--c-line);
  opacity: 0.32;
  transition: opacity 0.6s var(--ease-out);
}
.why__item:last-child { border-bottom: 1px solid var(--c-line); }
.why__item.is-active { opacity: 1; }
.why__num { font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--c-cyan-bright); padding-top: 0.5rem; }
.why__item h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
.why__item p { color: var(--c-muted); max-width: 50ch; }
.no-js .why__item { opacity: 1; }

/* ---------- 18. Process timeline ---------- */
.timeline { position: relative; --p: 0; }
.timeline__rail {
  position: absolute;
  top: 7px;
  left: 0; right: 0;
  height: 1px;
  background: var(--c-line-strong);
}
.timeline__rail span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan-bright));
  transform-origin: left;
  transform: scaleX(var(--p));
}
.timeline__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-5);
}
.timeline__step { position: relative; padding-top: var(--sp-7); padding-right: var(--sp-4); }
.timeline__dot {
  position: absolute;
  top: 0; left: 0;
  width: 15px; height: 15px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: var(--c-bg);
  transition: border-color 0.5s, background-color 0.5s, box-shadow 0.5s;
}
.timeline__step.is-on .timeline__dot {
  border-color: var(--c-cyan-bright);
  background: var(--c-cyan);
  box-shadow: 0 0 0 5px rgba(30, 167, 240, 0.12), 0 0 18px rgba(30, 167, 240, 0.6);
}
.timeline__num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(150, 195, 245, 0.3);
  transition: -webkit-text-stroke-color 0.5s;
  margin-bottom: var(--sp-4);
}
.timeline__step.is-on .timeline__num { -webkit-text-stroke-color: rgba(76, 196, 255, 0.8); }
.timeline__step h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.timeline__step p { font-size: var(--fs-sm); color: var(--c-muted); }
.timeline__step { opacity: 0.45; transform: translateY(14px); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); }
.timeline__step.is-on { opacity: 1; transform: none; }
.no-js .timeline__step { opacity: 1; transform: none; }

/* ---------- 18b. FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--sp-7) clamp(3rem, 2rem + 4vw, 6.5rem);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h-compact) + 2.5rem); }
.faq__intro { margin-top: var(--sp-6); color: var(--c-muted); max-width: 40ch; }
.faq__intro a { color: var(--c-cyan-bright); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: 1.4rem 0;
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--c-white);
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-cyan-bright); }
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; color: var(--c-cyan-bright); }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 2.5rem 1.5rem 0; color: var(--c-muted); max-width: 68ch; }
.faq__item[open] .faq__a { animation: fadeUp 0.5s var(--ease-out); }

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }
  .faq__a { padding-right: 0; }
}

/* ---------- 19. Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact__glow {
  position: absolute;
  z-index: -1;
  left: -10%; bottom: -30%;
  width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(12, 123, 202, 0.22), transparent);
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--sp-8) clamp(3rem, 2rem + 4vw, 6.5rem);
  align-items: start;
}
.contact__title { margin-bottom: var(--sp-6); }
.contact__info {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.contact__info li { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-4); align-items: center; }
.contact__info .icon-box {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-cyan-bright);
}
.contact__info small { display: block; font-size: var(--fs-xs); color: var(--c-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.contact__info a,
.contact__info span { color: var(--c-white); }
.contact__info a:hover { color: var(--c-cyan-bright); }
.contact__brandevo {
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.contact__brandevo p { color: var(--c-muted); margin-bottom: var(--sp-3); }

/* ---------- 20. Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(4rem, 3rem + 3vw, 6rem);
  background: var(--c-ink);
  font-size: var(--fs-sm);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 167, 240, 0.6) 50%, transparent);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.1fr);
  gap: var(--sp-7);
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.footer__brand p { margin-top: var(--sp-5); color: var(--c-muted); max-width: 40ch; }
.brand--footer .brand__mark { height: 46px; }
.footer__contact { display: grid; gap: 0.6rem; margin-top: var(--sp-5); }
.footer__contact a { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--c-text); transition: color var(--dur-fast); }
.footer__contact a:hover { color: var(--c-cyan-bright); }
.footer__contact .icon { color: var(--c-cyan-bright); }
.footer__title {
  margin-bottom: var(--sp-5);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-faint);
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a:not(.link-ext) {
  color: var(--c-text);
  background: linear-gradient(var(--c-cyan-bright), var(--c-cyan-bright)) 0 100% / 0 1px no-repeat;
  transition: color var(--dur-fast), background-size var(--dur) var(--ease-out);
}
.footer__col a:not(.link-ext):hover { color: #fff; background-size: 100% 1px; }
.footer__small { color: var(--c-muted); margin-bottom: var(--sp-4); }
.footer__social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: var(--sp-5); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-line);
  color: var(--c-faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.footer__legal a { color: var(--c-muted); display: inline-flex; align-items: center; gap: 0.4rem; transition: color var(--dur-fast); }
.footer__legal a:hover { color: #fff; }

/* ---------- 21. Reveal system ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal="scale"] {
  transform: none;
  clip-path: inset(10% 10% 10% 10%);
  transition: opacity 1.2s var(--ease-out), clip-path 1.5s var(--ease-out);
}
.js .divider[data-reveal] { transform: scaleX(0); opacity: 1; transition: transform 1.6s var(--ease-in-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js .feature__visual[data-reveal].is-visible,
.js .about__visual[data-reveal].is-visible { clip-path: none; }

[data-parallax] { will-change: transform; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; margin-left: 0; }
  .nav__cta { margin-left: auto; }
}

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar:nth-child(4) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n + 4) { border-top: 1px solid var(--c-line); }
  .capabilities__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; --header-h-compact: 64px; }
  .section-head--split,
  .about__grid,
  .feature,
  .svc-index__grid,
  .portal,
  .brandevo__grid,
  .why__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .feature--reverse .feature__copy { order: 0; }
  .feature__visual { order: -1; }
  .svc-stage { display: none; }
  .svc-item__panel-inner { padding-left: 4rem; }
  .about__visual { max-width: 460px; margin-inline: auto; width: 100%; }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(2, 6, 12, 0.55) 0%, rgba(2, 6, 12, 0.45) 40%, rgba(2, 6, 12, 0.85) 75%, var(--c-bg) 100%);
  }
  .hero__inner { align-self: end; }
  .hero__hud-item { display: none; }

  .why__aside { position: static; }
  .why__diagram { display: none; }
  .why__item { opacity: 1; padding-block: var(--sp-6); }

  .flow__track { top: 0; bottom: 0; left: 35px; right: auto; width: 1px; height: auto; }
  .flow__fill { transform-origin: top; transform: scaleY(var(--p)); }
  .flow__pulse { display: none; }
  .flow__steps { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); }
  .flow__step { display: grid; grid-template-columns: 72px 1fr; column-gap: var(--sp-5); text-align: left; padding: 0; }
  .flow__icon { grid-row: span 2; margin: 0; }
  .flow__step h3 { align-self: end; margin-bottom: 0; }

  .timeline__rail { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .timeline__rail span { transform-origin: top; transform: scaleY(var(--p)); }
  .timeline__steps { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .timeline__step { padding: 0 0 0 var(--sp-7); }
  .timeline__num { font-size: 2.4rem; }

  .showcase-brand { max-width: 560px; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .brand__mark { height: 36px; }
  .hero { padding-bottom: 6.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero__hud { bottom: 1.5rem; }
  .form__row--2,
  .ticks,
  .brandevo__focus,
  .capabilities__list { grid-template-columns: minmax(0, 1fr); }
  .brandevo__focus li:nth-child(odd) { padding-right: 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar,
  .pillar + .pillar { padding: var(--sp-5) 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--c-line); }
  .pillar__num { margin-bottom: var(--sp-3); }
  .facts dt { font-size: 0.75rem; }
  .facts__item + .facts__item { padding-left: var(--sp-4); }
  .svc-item__btn { grid-template-columns: 2.25rem 1fr auto; }
  .svc-item__panel-inner { padding-left: 0; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .portal__go { width: 46px; height: 46px; }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero__scan,
  .hero__grain,
  .hero__letterbox,
  .flow__pulse,
  .hero__hud-time,
  .nn-pulse { display: none; }
  .w__i { transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .js .divider[data-reveal] { transform: none; }
  [data-hero-seq] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .nexus__links path { stroke-dashoffset: 0; }
  .nexus__flow { display: none; }
  .ux-ui > *, .mk-area { opacity: 1; }
  .mk-line, .br-circles circle, .br-mark, .pj-run, .ln-path, .doc-tick, .sb-construct > *, .sb-glyph, .sb-growth { stroke-dashoffset: 0 !important; }
  .ln-steps rect, .art-code span { transform: none !important; }
  .ab { opacity: 1 !important; transform: none !important; }
  .ux-pointer, .art-browser__cursor, .mk-ripple { display: none; }
}

/* ---------- 24. Legal pages ---------- */
.legal-page .nav__back { margin-left: auto; }
.legal {
  max-width: 820px;
  padding-block: calc(var(--header-h) + 4rem) var(--section-pad);
}
.legal__title { margin-bottom: var(--sp-4); }
.legal__updated { color: var(--c-faint); font-size: var(--fs-sm); margin-bottom: var(--sp-8); }
.legal section { padding-block: var(--sp-6); border-top: 1px solid var(--c-line); }
.legal h2 {
  margin-bottom: var(--sp-4);
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: -0.015em;
}
.legal ul { display: grid; gap: 0.5rem; margin-block: var(--sp-4); }
.legal li { position: relative; padding-left: 1.25rem; }
.legal li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--c-cyan-bright); }
.legal a { color: var(--c-cyan-bright); text-decoration: underline; text-underline-offset: 3px; }
.footer--slim { padding-top: 0; }

/* A fixed child of a backdrop-filtered parent is clipped to that parent,
   so the header drops its glass while the full-screen menu is open. */
.site-header.menu-open {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transition: none;
}

/* ---------- 25. Site map list (sitemap.html, 404.html) ---------- */
.sitemap-list { display: grid; gap: 0.6rem; margin-block: var(--sp-4); color: var(--c-muted); }
.sitemap-list a { color: var(--c-white); text-decoration: underline; text-decoration-color: rgba(76, 196, 255, 0.4); text-underline-offset: 4px; transition: color var(--dur-fast), text-decoration-color var(--dur-fast); }
.sitemap-list a:hover { color: var(--c-cyan-bright); text-decoration-color: currentColor; }

/* ---------- 26. Legal page extras (terms, refund policy) ---------- */
.legal__updated + .legal__intro { margin-top: calc(var(--sp-8) * -0.5); }
.legal__intro { margin-bottom: var(--sp-7); font-size: var(--fs-lg); color: var(--c-text); max-width: 62ch; }
.legal__toc {
  margin-bottom: var(--sp-7);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-glass);
}
.legal__toc-title { margin-bottom: var(--sp-3); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted); }
.legal .legal__toc ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0.35rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.legal .legal__toc li { padding: 0; font-size: var(--fs-sm); }
.legal .legal__toc li::before { content: none; }
.legal .legal__toc a { color: var(--c-text); text-decoration: none; }
.legal .legal__toc a:hover { color: var(--c-cyan-bright); }
.legal section { scroll-margin-top: calc(var(--header-h-compact) + 1rem); }
.legal strong { color: var(--c-white); font-weight: 600; }
