/* Able Innovation — dark theme (no build step required) */
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("fonts/unbounded.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/manrope.woff2") format("woff2"); }

:root {
  --bg: #050b18;
  --bg-2: #08122a;
  --surface: #0d1a35;
  --surface-2: #12224a;
  --line: rgba(150, 175, 220, .14);
  --line-strong: rgba(150, 175, 220, .26);
  --text: #eaf0fa;
  --muted: #95a6c3;
  --blue: #2e7bff;
  --blue-2: #5b9bff;
  --brand: #004b91;
  --ice: #a9d0ff;
  --marigold: #ffb224;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --r-sm: 10px;
  --r-md: 18px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--marigold); color: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ice); }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.12; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--marigold); color: var(--bg); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section--paper { background: var(--bg-2); }
.section--tight { padding-top: 0; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), var(--marigold)); z-index: 60; pointer-events: none; }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.9vw, 40px); letter-spacing: -0.03em; line-height: 1.06; }
.h3 { font-size: 22px; font-weight: 700; line-height: 1.25; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 58ch; line-height: 1.6; }
.muted { color: var(--muted); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.head--row > div { max-width: 680px; display: grid; gap: 18px; }

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .2s, color .2s, border-color .2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--blue), #1a5fe0); color: #fff; box-shadow: 0 8px 30px -8px rgba(46,123,255,.7), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 44px -8px rgba(46,123,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ice); color: #fff; }
.btn--light { background: var(--marigold); color: #1b1203; box-shadow: 0 8px 30px -8px rgba(255,178,36,.6); }
.btn--light:hover { color: #1b1203; box-shadow: 0 14px 44px -8px rgba(255,178,36,.8); }
.btn--outline-light { border-color: var(--line-strong); color: var(--text); }
.btn--outline-light:hover { border-color: var(--text); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; color: var(--text); }
.link svg { transition: transform .25s var(--ease); color: var(--marigold); }
.link:hover { color: var(--ice); }
.link:hover svg { transform: translateX(5px); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(5, 11, 24, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
main { padding-top: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 0 14px rgba(46,123,255,.55)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand span { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.1; letter-spacing: -0.02em; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 10px var(--marigold); }
.nav .btn { margin-left: 14px; min-height: 44px; padding: 0 20px; font-size: 14.5px; color: #fff; }
.nav .btn:hover { color: #fff; background: linear-gradient(135deg, var(--blue), #1a5fe0); }
.nav .btn::after { display: block; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--text); }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-header.is-scrolled, body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav {
    position: fixed; inset: 84px 0 0 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .04s; } .nav.is-open a:nth-child(3) { transition-delay: .08s; }
  .nav.is-open a:nth-child(4) { transition-delay: .12s; } .nav.is-open a:nth-child(5) { transition-delay: .16s; }
  .nav.is-open a:nth-child(6) { transition-delay: .2s; } .nav.is-open a:nth-child(7) { transition-delay: .24s; }
  .nav a:hover { background: none; color: var(--ice); }
  .nav a[aria-current="page"] { color: var(--marigold); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 28px 0 0; min-height: 58px; border-bottom: 0; font-family: var(--body); font-size: 17px; border-radius: 999px; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; padding: clamp(140px, 15vw, 190px) 0 clamp(72px, 9vw, 120px); overflow: hidden; background: radial-gradient(120% 80% at 70% 110%, #0f2a5c 0%, #081430 38%, var(--bg) 70%); isolation: isolate; }
.hero::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(46,123,255,.16), transparent 60%);
  transition: background .2s;
}
.hero .display { max-width: 15ch; }
.hero .lead { margin: 30px 0 40px; }
.hero__place { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 30px; padding: 7px 16px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.hero__place .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 0 rgba(255,178,36,.6); animation: pulse 2.4s infinite; }
.hero__place [lang="ne"] { color: var(--text); font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,178,36,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,178,36,0); } 100% { box-shadow: 0 0 0 0 rgba(255,178,36,0); } }

/* faint tech grid fading out from the top right */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 75% 35%, #000, transparent 75%); opacity: .5; }

/* Headline line reveal */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.js .hero .line > span { transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.js .hero .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero .line:nth-child(3) > span { animation-delay: .2s; }
.js .hero .line:nth-child(4) > span { animation-delay: .3s; }
.js .hero .fade-in { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease) forwards; }
.js .hero .fade-in.d1 { animation-delay: .45s; } .js .hero .fade-in.d2 { animation-delay: .6s; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Rotating word */
.rotator { display: inline-grid; height: 1.08em; overflow: hidden; vertical-align: bottom; }
.rotator__track { display: grid; animation: rotate 10s var(--ease) infinite; }
.rotator__track span { height: 1.08em; line-height: 1.08; background: linear-gradient(90deg, var(--ice), var(--blue-2) 45%, var(--marigold)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
@keyframes rotate {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.08em); }
  50%, 70% { transform: translateY(-2.16em); }
  75%, 95% { transform: translateY(-3.24em); }
  100% { transform: translateY(-4.32em); }
}

/* Facts */
.facts { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 34px 24px 36px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; line-height: 1.05; background: linear-gradient(180deg, #fff, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 15px; font-weight: 500; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 24px 16px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__item { font-family: var(--display); font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(169,208,255,.55); text-decoration: none; transition: color .3s, -webkit-text-stroke-color .3s; }
.marquee__item:hover { color: var(--text); -webkit-text-stroke-color: transparent; }
.marquee__star { color: var(--marigold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Spotlight cards (mouse-follow glow) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(46,123,255,.16), transparent 60%);
}
.spot:hover::after { opacity: 1; }

/* Services list */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.split__aside { position: sticky; top: 120px; display: grid; gap: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__aside { position: static; } }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: svc; }
.svc { counter-increment: svc; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)); transition: border-color .3s, transform .4s var(--ease); }
.svc:hover { border-color: rgba(91,155,255,.5); transform: translateX(6px); }
.svc a { display: grid; grid-template-columns: 56px 1fr 28px; gap: 22px; align-items: start; padding: 26px 26px; text-decoration: none; color: inherit; border-radius: inherit; }
.svc__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(46,123,255,.12); border: 1px solid rgba(91,155,255,.25); color: var(--ice); display: grid; place-items: center; transition: all .35s var(--ease); }
.svc h3 { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 8px; transition: color .2s; }
.svc p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 54ch; }
.svc__go { color: var(--muted); margin-top: 14px; transition: transform .35s var(--ease), color .2s; }
.svc a:hover .svc__icon { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 30px rgba(46,123,255,.6); transform: rotate(-8deg) scale(1.05); }
@media (max-width: 600px) { .svc a { grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; } .svc__icon { width: 44px; height: 44px; border-radius: 12px; } .svc__go { display: none; } .svc h3 { font-size: 17px; margin-top: 2px; } }
.svc a:hover .svc__go { color: var(--marigold); transform: translateX(4px) rotate(-45deg); }

/* Projects */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.work-item { grid-column: span 4; display: grid; gap: 14px; align-content: start; }
.work-item--lead { grid-column: span 8; grid-row: span 2; }
.work-item--lead .work-item__img { aspect-ratio: 16 / 10.4; }
.work-item__img { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 10; border: 1px solid var(--line); display: block; }
.work-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85) brightness(.92); }
.work-item__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,11,24,.55)); pointer-events: none; transition: opacity .4s; }
.work-item:hover .work-item__img img { transform: scale(1.06); filter: none; }
.work-item:hover .work-item__img::after { opacity: .3; }
.work-item__meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.work-item h3 { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.work-item--lead h3 { font-size: clamp(20px, 2vw, 25px); }
.work-item h3 a { color: inherit; text-decoration: none; background: linear-gradient(var(--marigold), var(--marigold)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.work-item h3 a:hover { background-size: 100% 2px; color: var(--text); }
.work-item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; border: 1px solid currentColor; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status--completed { color: #4ade80; }
.status--ongoing { color: var(--marigold); }
.status--upcoming { color: var(--blue-2); }
.status--paused { color: #f87171; }
.work--grid .work-item { grid-column: span 4; }
@media (max-width: 960px) { .work-item, .work--grid .work-item { grid-column: span 6; } .work-item--lead { grid-column: span 12; grid-row: auto; } }
@media (max-width: 600px) { .work-item, .work--grid .work-item { grid-column: span 12; } }
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--surface-2), var(--surface)); }
.placeholder-img img { width: 26%; opacity: .3; height: auto; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; padding: 30px 26px 30px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); position: relative; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.step:hover { border-color: rgba(255,178,36,.45); transform: translateY(-6px); }
.step::before { content: "0" counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(169,208,255,.35); margin-bottom: 26px; transition: color .4s, -webkit-text-stroke-color .4s; }
.step:hover::before { color: var(--marigold); -webkit-text-stroke-color: var(--marigold); }
.step h3 { font-family: var(--display); font-size: 16px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote { margin: 0; display: grid; gap: 28px; align-content: space-between; padding: 34px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(160deg, rgba(46,123,255,.08), rgba(255,255,255,.01) 60%); }
.quote blockquote { margin: 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; font-weight: 500; color: var(--text); position: relative; padding-top: 44px; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-family: var(--display); font-size: 84px; line-height: 1; color: var(--marigold); }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote strong { display: block; font-weight: 700; }
.quote small { color: var(--muted); font-size: 14px; }

/* CTA */
.cta { background: radial-gradient(90% 120% at 50% 120%, #11316b, var(--bg) 60%); color: var(--text); position: relative; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4.2vw, 58px); max-width: 14ch; }
.cta p { color: var(--muted); max-width: 52ch; font-size: 18px; margin: 24px 0 36px; }
.cta__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.cta__contact { display: grid; gap: 22px; padding-bottom: 8px; }
.cta__contact a { color: var(--text); text-decoration: none; display: block; font-size: 19px; font-weight: 700; transition: color .2s; }
.cta__contact a:hover { color: var(--marigold); }
.cta__contact span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; font-weight: 600; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(150px, 16vw, 190px) 0 clamp(56px, 7vw, 90px); border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 85% 0%, rgba(46,123,255,.22), transparent 60%), radial-gradient(40% 60% at 100% 100%, rgba(255,178,36,.10), transparent 70%), var(--bg); }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent 75%); opacity: .55; pointer-events: none; z-index: 0; }
.page-hero .wrap { z-index: 1; }
.page-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.2vw, 58px); letter-spacing: -0.04em; line-height: 1.04; max-width: 18ch; }
.page-hero .lead { margin-top: 24px; }
.js .page-hero h1, .js .page-hero .lead, .js .page-hero .crumbs { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; }
.js .page-hero h1 { animation-delay: .08s; } .js .page-hero .lead { animation-delay: .2s; }
.crumbs { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(150,175,220,.4); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--marigold); }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.about-intro .h2 { max-width: 14ch; }
.about-intro p { color: var(--muted); font-size: 17px; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values > div { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); transition: border-color .3s, transform .4s var(--ease); }
.values > div:hover { border-color: rgba(91,155,255,.5); transform: translateY(-6px); }
.values h3 { font-family: var(--display); font-size: 16px; font-weight: 600; margin-bottom: 12px; display: grid; gap: 22px; }
.values h3 svg { color: var(--marigold); width: 34px; height: 34px; }
.values p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.member { display: grid; gap: 16px; align-content: start; }
.member__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface); display: block; border: 1px solid var(--line); }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); transition: filter .6s, transform .8s var(--ease); }
.member__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(46,123,255,.35), transparent 50%); mix-blend-mode: screen; opacity: 1; transition: opacity .5s; pointer-events: none; }
.member:hover .member__img img { filter: none; transform: scale(1.05); }
.member:hover .member__img::after { opacity: 0; }
.member__initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 60px; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ice); background: radial-gradient(circle at 30% 20%, var(--surface-2), var(--surface)); }
.member h3 { font-family: var(--display); font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; }
.member h3 a { color: inherit; text-decoration: none; }
.member h3 a:hover { color: var(--marigold); }
.member p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line-strong); text-decoration: none; transition: all .25s var(--ease); }
.socials a:hover { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 8px 20px -6px rgba(46,123,255,.8); }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .team { gap: 24px 14px; } .member h3 { font-size: 14.5px; } .member p { font-size: 13px; } .member__initials { font-size: 44px; } }
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.profile .member__img { max-width: 420px; }
.profile .member__img img { filter: none; }
.profile .member__img::after { display: none; }
.profile h1 { max-width: none; }
.profile .role { color: var(--marigold); font-weight: 700; margin: 14px 0 24px; font-size: 18px; }
.profile .bio { color: var(--muted); font-size: 18px; max-width: 62ch; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }

/* Detail + prose */
.detail { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.detail__img { border-radius: var(--r-md); overflow: hidden; margin-bottom: 44px; aspect-ratio: 16/9; background: var(--surface); border: 1px solid var(--line); }
.detail__img img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17px; line-height: 1.75; color: #cdd8ea; max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose h2, .prose h3 { margin-top: 1.6em; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 20px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--marigold); }
.prose img { border-radius: var(--r-md); }
.prose a { word-break: break-word; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--marigold); color: var(--muted); }
.sidebar { display: grid; gap: 24px; position: sticky; top: 120px; }
@media (max-width: 900px) { .sidebar { position: static; } }
.side-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; background: rgba(255,255,255,.02); }
.side-box h2 { font-family: var(--display); font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s, padding .3s var(--ease); }
.side-nav li:first-child a { border-top: 0; }
.side-nav a:hover { color: var(--text); padding-left: 6px; }
.side-nav a[aria-current="page"] { color: var(--text); }
.side-nav a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 10px var(--marigold); }
.side-box--blue { background: linear-gradient(150deg, #1a4fbf, #0b2b6e); border-color: rgba(91,155,255,.4); }
.side-box--blue h2 { color: #fff; font-size: 20px; }
.side-box--blue p { color: rgba(255,255,255,.8); font-size: 15px; }
.side-box--blue a.tel { color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; display: block; margin-bottom: 18px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post { display: grid; gap: 14px; align-content: start; }
.post__img { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--surface); display: block; border: 1px solid var(--line); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; }
.post__meta .cat { color: var(--marigold); }
.post h2, .post h3 { font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.post h2 a, .post h3 a { color: inherit; text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { color: var(--ice); }
.article-head { max-width: 900px; }
.article-head h1 { max-width: 22ch; font-size: clamp(28px, 3.6vw, 48px); }
.article-head .post__meta { margin-top: 24px; font-size: 14.5px; }
.mini-post { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.mini-post:first-of-type { border-top: 0; padding-top: 0; }
.mini-post img, .mini-post .ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.mini-post strong { font-size: 14.5px; line-height: 1.35; font-weight: 700; display: block; }
.mini-post small { color: var(--muted); font-size: 12.5px; }
.mini-post:hover strong { color: var(--marigold); }
.comments { margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--line); max-width: 70ch; }
.comments h2 { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.comment { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment .avatar { width: 44px; height: 44px; font-size: 15px; }
.comment strong { display: block; }
.comment small { color: var(--muted); font-size: 13px; }
.comment p { margin: 6px 0 0; color: var(--muted); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 64px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 700; transition: all .2s; }
.pagination a:hover { border-color: var(--blue); background: rgba(46,123,255,.12); }
.pagination [aria-current] span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .disabled span { color: rgba(150,175,220,.4); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--text); width: 100%;
  padding: 15px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.03);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(150,175,220,.5); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); background: rgba(46,123,255,.06); box-shadow: 0 0 0 4px rgba(46,123,255,.18); }
.field .err { color: #fca5a5; font-size: 14px; font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: #f87171; }
.alert { padding: 16px 20px; border-radius: 12px; font-weight: 600; margin-bottom: 24px; display: flex; gap: 10px; align-items: start; border: 1px solid; }
.alert--ok { background: rgba(74,222,128,.08); color: #86efac; border-color: rgba(74,222,128,.3); }
.alert--err { background: rgba(248,113,113,.08); color: #fca5a5; border-color: rgba(248,113,113,.3); }
.alert a { color: inherit; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > div:last-child { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-md); background: linear-gradient(160deg, rgba(46,123,255,.07), rgba(255,255,255,.01) 60%); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(46,123,255,.12); border: 1px solid rgba(91,155,255,.25); color: var(--ice); display: grid; place-items: center; }
.contact-list span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list strong { color: var(--text); font-weight: 700; text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: var(--marigold); }
.map { margin-top: 28px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* 404 */
.notfound .display { max-width: 14ch; }
.notfound { min-height: 70vh; }

/* Footer */
.site-footer { background: #03070f; color: var(--muted); padding: 80px 0 30px; font-size: 15px; border-top: 1px solid var(--line); }
.cta + .site-footer { border-top: 0; padding-top: 20px; }
.cta + .site-footer .footer-grid { border-top: 1px solid var(--line); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer p { max-width: 34ch; margin-top: 22px; }
.site-footer h2 { font-family: var(--display); color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--text); }
.footer-base { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(150,175,220,.6); }
.footer-word { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8.2vw, 108px); letter-spacing: -0.05em; line-height: .8; margin: 60px 0 -14px; color: transparent; -webkit-text-stroke: 1px rgba(150,175,220,.18); white-space: nowrap; user-select: none; text-align: center; overflow: hidden; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.empty { padding: 44px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--muted); text-align: center; }

/* Scroll reveal (classes added by able.js) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero .line > span, .js .hero .fade-in, .js .page-hero h1, .js .page-hero .lead, .js .page-hero .crumbs, .js   .rotator__track { transform: none !important; }
}

/* ---------- IT illustrations ---------- */
.mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }

/* Hero layout with code visual */
.hero__grid .display { font-size: clamp(30px, 3.8vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (max-width: 1060px) { .hero__grid { grid-template-columns: 1fr; } }

.hv { position: relative; padding: 40px 10px 40px 30px; perspective: 1200px; }
.hv__window {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(18,34,74,.92), rgba(10,20,44,.92));
  border: 1px solid rgba(150,175,220,.22);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 60px -10px rgba(46,123,255,.35);
  transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
  backdrop-filter: blur(10px);
}
.hv__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(150,175,220,.14); background: rgba(255,255,255,.03); }
.hv__dots { display: flex; gap: 6px; }
.hv__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.hv__dots i:nth-child(2) { background: #febc2e; } .hv__dots i:nth-child(3) { background: #28c840; }
.hv__tab { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--text); padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,.06); }
.hv__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #4ade80; }
.hv__live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: blink 1.6s infinite; }
.hv__code { margin: 0; padding: 18px 18px 22px 0; font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.75; color: var(--muted); white-space: normal; overflow: hidden; }
.hv__ln { display: flex; min-height: 1.75em; }
.hv__num { width: 40px; flex: none; text-align: right; padding-right: 16px; color: rgba(150,175,220,.35); user-select: none; }
.hv__type { display: inline-block; overflow: hidden; white-space: pre; width: calc(var(--n) * 1ch); }
.t-c { color: #6b7f9f; font-style: italic; } .t-k { color: #7aa8ff; } .t-f { color: #a9d0ff; } .t-s { color: #ffcf7a; } .t-b { color: #4ade80; } .t-p { color: #95a6c3; }
.hv__cursor { display: inline-block; width: 8px; height: 1.2em; margin-top: .25em; background: var(--marigold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hv__toast, .hv__chart, .hv__chip { position: absolute; border: 1px solid rgba(150,175,220,.22); background: rgba(13,26,53,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.8); }
.hv__toast { left: -6px; bottom: -14px; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 14px; animation: float 6s ease-in-out -2s infinite; }
.hv__toast strong { display: block; font-size: 13.5px; color: var(--text); }
.hv__toast small { font-size: 11.5px; color: var(--muted); }
.hv__check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.15); color: #4ade80; border: 1px solid rgba(74,222,128,.4); }
.hv__chart { right: -8px; top: 0; width: 190px; padding: 12px 14px 8px; border-radius: 14px; animation: float 8s ease-in-out -4s infinite; }
.hv__chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.hv__chart-head small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.hv__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 0 rgba(91,155,255,.6); animation: pulse 2s infinite; }
.hv__chart svg { width: 100%; height: 50px; display: block; overflow: visible; }
.hv__line { fill: none; stroke: var(--blue-2); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(91,155,255,.8)); }
.hv__chip { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ice); }
.hv__chip--a { left: 0; top: 10px; animation: float 5s ease-in-out -1s infinite; }
.hv__chip--b { right: 30%; bottom: -6px; color: var(--marigold); animation: float 6.5s ease-in-out -3s infinite; }
.hv__chip--c { right: -4px; bottom: 34%; color: #4ade80; animation: float 7.5s ease-in-out -5s infinite; }

@media (prefers-reduced-motion: no-preference) {
  .js .hv__type { width: 0; animation: type var(--dur) steps(var(--n), end) var(--t) forwards; }
  .js .hv__cursor { opacity: 0; animation: show 0s var(--t) forwards, blink 1s steps(1) var(--t) infinite; }
  .js .hv__toast, .js .hv__chart { opacity: 0; scale: .9; }
  .js .hv__toast { animation: pop .6s var(--ease) var(--t) forwards, float 6s ease-in-out -2s infinite; }
  .js .hv__chart { animation: pop .6s var(--ease) var(--t) forwards, float 8s ease-in-out -4s infinite; }
  .js .hv__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) var(--t) forwards; }
  .js .hv { opacity: 0; transform: translateX(40px); animation: fadeIn 1.2s var(--ease) .5s forwards; }
}
@keyframes type { to { width: calc(var(--n) * 1ch); } }
@keyframes show { to { opacity: 1; } }
@keyframes pop { to { opacity: 1; scale: 1; } }
@keyframes fadeIn { to { opacity: 1; transform: none; } }
@media (max-width: 1060px) { .hv { max-width: 560px; margin-top: 8px; padding-left: 10px; } .hv__window { transform: none; } }
@media (max-width: 520px) { .hv__code { font-size: 11px; } .hv__num { width: 30px; padding-right: 10px; } .hv__chart { width: 150px; right: -4px; top: 4px; } .hv__chip--c, .hv__chip--b { display: none; } .hv { padding: 46px 0 34px; } }

/* Tech orbit */
.orbit { --size: 380px; position: relative; width: var(--size); max-width: 100%; aspect-ratio: 1; margin-top: 24px; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(150,175,220,.25); animation: spin 40s linear infinite; }
.orbit__ring--outer { inset: 9%; }
.orbit__ring--inner { inset: 27%; animation-duration: 28s; animation-direction: reverse; border-color: rgba(91,155,255,.3); }
.orbit__item { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.orbit__ring--outer .orbit__item { --r: calc(var(--size) * .41); }
.orbit__ring--inner .orbit__item { --r: calc(var(--size) * .23); }
.orbit__badge { position: absolute; left: 0; top: 0; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--text); background: rgba(13,26,53,.95); border: 1px solid rgba(150,175,220,.25); box-shadow: 0 8px 20px -10px rgba(0,0,0,.8); rotate: calc(var(--a) * -1); animation: spin 40s linear infinite reverse; }
.orbit__badge svg { color: var(--ice); }
.orbit__ring--inner .orbit__badge { animation-duration: 28s; animation-direction: normal; }
.orbit__ring--inner .orbit__badge svg { color: var(--marigold); }
.orbit__core { position: absolute; inset: 41%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #1a4fbf, #0b2b6e); border: 1px solid rgba(91,155,255,.5); box-shadow: 0 0 40px rgba(46,123,255,.55), 0 0 0 10px rgba(46,123,255,.08), 0 0 0 22px rgba(46,123,255,.04); animation: corePulse 3s ease-in-out infinite; }
.orbit__core img { width: 58%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes corePulse { 50% { box-shadow: 0 0 60px rgba(46,123,255,.75), 0 0 0 14px rgba(46,123,255,.10), 0 0 0 30px rgba(46,123,255,.04); } }
@media (max-width: 900px) { .orbit { --size: 330px; margin: 36px auto 8px; } }
@media (max-width: 420px) { .orbit { --size: 310px; } .orbit__badge { font-size: 11px; padding: 5px 9px; gap: 4px; } .orbit__badge svg { width: 13px; height: 13px; } }

/* Circuit traces in page headers */
.circuit { position: absolute; right: 0; top: 0; height: 100%; width: min(60%, 760px); z-index: 0; pointer-events: none; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.circuit__traces path { fill: none; stroke: rgba(150,175,220,.16); stroke-width: 1.5; }
.circuit__pulses path { fill: none; stroke: var(--ice); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .08 .92; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(91,155,255,.9)); animation: signal var(--dur) linear var(--del) infinite; }
.circuit__pulses path:nth-child(odd) { stroke: var(--marigold); filter: drop-shadow(0 0 5px rgba(255,178,36,.8)); }
.circuit__nodes circle { fill: var(--bg); stroke: rgba(169,208,255,.5); stroke-width: 1.5; }
.circuit__nodes rect { fill: rgba(46,123,255,.08); stroke: rgba(169,208,255,.35); stroke-width: 1.5; }
@keyframes signal { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -0.08; } }
@media (max-width: 760px) { .circuit { width: 100%; opacity: .45; } }

@media (prefers-reduced-motion: reduce) {
  .hv, .hv__toast, .hv__chart { opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .hv__type { width: calc(var(--n) * 1ch) !important; }
  .circuit__pulses { display: none; }
}
