:root {
  color-scheme: dark;
  --ink: #05070a;
  --panel: #090d12;
  --panel-2: #0d141c;
  --silver: #d7dce2;
  --muted: #9aa9b8;
  --blue: #168cff;
  --blue-soft: #6bb8ff;
  --amber: #ff9d00;
  --green: #4cd787;
  --line: rgba(71, 146, 214, .28);
  --line-strong: rgba(80, 176, 255, .58);
  --line-faint: rgba(110, 181, 240, .11);
  --surface-deep: #030609;
  --surface-raised: #0b1219;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --mono: "Roboto Mono", Consolas, monospace;
  --max: 1500px;
  --pad: clamp(1rem, 3.2vw, 3.25rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--silver);
  background:
    radial-gradient(circle at 50% 4%, rgba(19, 95, 162, .16), transparent 29rem),
    linear-gradient(180deg, #030507 0%, #070a0e 43%, #030507 100%);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: linear-gradient(rgba(55, 137, 205, .045) 1px, transparent 1px);
  background-size: 100% 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: -1;
}

.site-circuit-backdrop {
  position: fixed;
  inset: 70px 0 0;
  width: 100%;
  height: calc(100vh - 70px);
  z-index: 0;
  pointer-events: none;
  opacity: .52;
  filter: drop-shadow(0 0 10px rgba(22, 140, 255, .16));
  animation: backdrop-breathe 8s ease-in-out infinite;
}
.reactor-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 1; mix-blend-mode: screen; }
.backdrop-wire { fill: none; vector-effect: non-scaling-stroke; }
.backdrop-wire-blue { stroke: var(--blue); stroke-width: 1.2; opacity: .5; }
.backdrop-wire-faint { opacity: .18; }
.backdrop-wire-amber-echo { stroke: var(--amber); stroke-width: 8; opacity: .1; stroke-dasharray: .12 .88; animation: current 5.4s linear infinite reverse; }
.backdrop-wire-amber { stroke: var(--amber); stroke-width: 2.5; opacity: .8; stroke-dasharray: .04 .08 .012 .868; animation: current 4.2s linear infinite; filter: drop-shadow(0 0 7px rgba(255, 157, 0, .82)); }
.backdrop-node { fill: var(--amber); transform-box: fill-box; transform-origin: center; animation: node-pulse 2.2s ease-in-out infinite; filter: drop-shadow(0 0 9px var(--amber)); }
.backdrop-node-delay { animation-delay: -1.1s; }
main, .site-footer { position: relative; z-index: 1; }
@keyframes backdrop-breathe { 50% { opacity: .7; filter: drop-shadow(0 0 18px rgba(22, 140, 255, .28)); } }

img { max-width: 100%; display: block; }
.svg-defs { position: absolute; overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
::selection { color: #05070a; background: var(--amber); }

.sr-only {
  position: absolute;
  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: .8rem;
  left: .8rem;
  z-index: 100;
  padding: .8rem 1rem;
  color: var(--ink);
  background: var(--amber);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.page-current {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 70;
  background: rgba(22, 140, 255, .18);
}
.page-current span {
  display: block;
  width: calc(var(--page-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  box-shadow: 0 0 16px rgba(255, 157, 0, .55);
}

.page-conduit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  z-index: 80;
  pointer-events: none;
  background: rgba(22, 140, 255, .18);
  box-shadow: 0 0 14px rgba(22, 140, 255, .12);
  overflow: visible;
}
.page-conduit span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue) 0 8%, var(--amber) 24% 100%);
  box-shadow: 0 0 16px rgba(255, 157, 0, .72), 0 -4px 22px rgba(255, 157, 0, .2);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}
.page-conduit span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber), 0 0 24px var(--amber), 0 0 42px rgba(255, 157, 0, .75);
  transform: translateY(-50%);
  animation: conduit-node 1.6s ease-in-out infinite;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(calc(100% - 1.5rem), var(--max));
  min-height: 70px;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateX(-50%);
  z-index: 60;
  border: 1px solid rgba(105, 178, 236, .22);
  border-top: 0;
  background: rgba(3, 6, 9, .86);
  backdrop-filter: blur(14px);
  transition: background .25s ease;
}
.site-header.is-compact { min-height: 56px; background: rgba(3, 6, 9, .96); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: url(#ah-theme-filter) drop-shadow(0 5px 10px rgba(0, 0, 0, .35)); }
.brand span { font-family: var(--display); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.header-socials { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.header-socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(80, 176, 255, .25); color: #aab8c4; text-decoration: none; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s var(--ease); }
.header-socials svg { width: 17px; height: 17px; fill: currentColor; }
.header-socials a:hover { color: var(--amber); border-color: var(--amber); background: rgba(255, 157, 0, .08); transform: translateY(-3px); }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.6rem); }
.primary-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: 500 .72rem/1 var(--mono);
  color: #b9c6d2;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.65rem;
  height: 2px;
  background: var(--amber);
  transition: right .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { right: 0; }
.menu-toggle { display: none; }

.panel-shell {
  width: min(calc(100% - 1.5rem), var(--max));
  margin-inline: auto;
  border-inline: 1px solid rgba(92, 165, 226, .16);
}
.panel-shell::selection { background: var(--amber); }
.section-pad { padding: clamp(3rem, 4vw, 4.5rem) var(--pad); position: relative; }
.section-pad::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(3.8rem, 5vw, 5.4rem);
  width: clamp(1.5rem, 4vw, 4rem);
  height: 1px;
  background: linear-gradient(90deg, var(--amber), rgba(255,157,0,.08));
  box-shadow: -6px 0 10px rgba(255,157,0,.45);
}
.section-pad::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), var(--blue), transparent);
  box-shadow: 0 0 18px rgba(255, 157, 0, .65);
  opacity: 0;
}
.section-pad.is-current::after { animation: section-charge 1.2s var(--ease) both; }
@keyframes section-charge { 0% { width: 0; opacity: 0; } 18% { opacity: 1; } 100% { width: 100%; opacity: 0; } }
.section-heading { max-width: 850px; margin-bottom: clamp(2rem, 3vw, 3.25rem); }
.section-heading h2 {
  max-width: 14ch;
  margin: 0;
  font: 800 clamp(2.8rem, 7vw, 6rem)/.9 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-heading p { max-width: 65ch; margin: 1.1rem 0 0; color: var(--muted); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 6rem); max-width: none; align-items: end; }
.split-heading p { max-width: none; margin: 0 0 .25rem; justify-self: end; color: #aebac5; font-size: clamp(.74rem, .88vw, .92rem); text-align: right; white-space: nowrap; }

.hero {
  min-height: min(820px, 100svh);
  padding: 8rem var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(320px, .72fr);
  align-content: space-between;
  gap: clamp(2.5rem, 7vh, 5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.hero::before { inset: 72px 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.hero::after { width: 36rem; height: 36rem; left: 45%; top: 42%; transform: translate(-50%, -50%); background: rgba(0, 95, 175, .1); filter: blur(120px); }
.hero-copy { width: min(100%, 720px); position: relative; z-index: 4; }
.js .hero-copy > * { animation: hero-boot .85s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .15s; }
.js .hero-copy > :nth-child(4) { animation-delay: .21s; }
.js .hero-copy > :nth-child(5) { animation-delay: .28s; }
@keyframes hero-boot { from { opacity: 0; filter: blur(10px); clip-path: inset(0 100% 0 0); transform: translateY(18px); } to { opacity: 1; filter: blur(0); clip-path: inset(0 0 0 0); transform: translateY(0); } }
.hero-copy::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 1.35rem;
  background: var(--amber);
  box-shadow: 12px 0 18px rgba(255, 157, 0, .35);
}
.role-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.3rem;
  font: 500 .68rem/1.5 var(--mono);
  color: var(--blue-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.role-line span { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.role-line span { animation: role-pulse 1.8s ease-in-out infinite; box-shadow: 0 0 12px rgba(255, 157, 0, .85); }
.role-line span:nth-child(2) { animation-delay: -.9s; }
@keyframes role-pulse { 50% { transform: scale(2.1); opacity: .5; } }
.hero h1 {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding-right: .12em;
  overflow: visible;
  font: 900 clamp(4rem, 7.2vw, 6rem)/.78 var(--display);
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: #eef1f4;
}
.hero-emblem { min-height: 500px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-emblem::before { content: ""; position: absolute; inset: 8% 5%; border: 1px solid rgba(22, 140, 255, .24); background: radial-gradient(circle at 50% 50%, rgba(255, 157, 0, .12), rgba(22, 140, 255, .06) 38%, transparent 70%); clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%); box-shadow: inset 0 0 70px rgba(22, 140, 255, .08); }
.hero-emblem::after { content: ""; position: absolute; left: 13%; right: 13%; top: 50%; height: 1px; z-index: -1; background: linear-gradient(90deg, transparent, var(--blue), var(--amber), var(--blue), transparent); box-shadow: 0 0 18px rgba(255, 157, 0, .42); animation: emblem-scan 3.8s ease-in-out infinite; }
.hero-emblem img { width: min(72%, 420px); height: auto; position: relative; z-index: 2; filter: url(#ah-theme-filter) drop-shadow(0 24px 38px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(255, 157, 0, .14)); animation: emblem-float 5.2s ease-in-out infinite; }
.hero-emblem span { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; z-index: 3; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber), 0 0 34px rgba(255, 157, 0, .75); animation: emblem-node 2.1s ease-in-out infinite; }
@keyframes emblem-float { 50% { transform: translateY(-12px); filter: url(#ah-theme-filter) drop-shadow(0 32px 42px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(255, 157, 0, .24)); } }
@keyframes emblem-scan { 0%, 100% { transform: translateY(-160px) scaleX(.65); opacity: .25; } 50% { transform: translateY(160px) scaleX(1); opacity: .85; } }
@keyframes emblem-node { 50% { transform: scale(.58); opacity: .5; } }
.hero-thesis { margin: 1.25rem 0 .9rem; color: var(--amber); font: 600 1.15rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.hero-summary { max-width: 60ch; color: #aebac5; font-size: .94rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1rem; border: 1px solid var(--line-strong); text-decoration: none; font: 600 .72rem/1 var(--mono); text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button { transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0); will-change: transform; }
.button-primary { color: #07101a; background: var(--amber); border-color: var(--amber); }
.button-primary:hover { background: #ffc05b; }
.button-secondary:hover { color: var(--ink); background: var(--blue-soft); border-color: var(--blue-soft); }

@keyframes current { to { stroke-dashoffset: -1; } }
@keyframes node-pulse { 50% { opacity: .55; transform: scale(.62); } }
@keyframes conduit-node { 50% { transform: translateY(-50%) scale(.72); opacity: .72; } }
.hero-facts { grid-column: 1 / -1; width: calc(100% + (var(--pad) * 2)); margin-left: calc(var(--pad) * -1); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.hero-facts div { min-height: 118px; padding: 1rem var(--pad); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); background: rgba(8, 15, 22, .9); }
.js .hero-facts div { animation: fact-rise .72s var(--ease) both; }
.js .hero-facts div:nth-child(1) { animation-delay: .36s; }
.js .hero-facts div:nth-child(2) { animation-delay: .43s; }
.js .hero-facts div:nth-child(3) { animation-delay: .5s; }
.js .hero-facts div:nth-child(4) { animation-delay: .57s; }
@keyframes fact-rise { from { opacity: 0; transform: translateY(42px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font: 700 3.1rem/.8 var(--display); color: var(--amber); }
.hero-facts span { margin-top: .75rem; color: #aebac5; font: 500 .68rem/1.5 var(--mono); text-transform: uppercase; }
.scroll-cue { position: absolute; right: var(--pad); bottom: 8.3rem; display: flex; align-items: center; gap: 1rem; color: #7890a4; font: .62rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.scroll-cue i { width: 90px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: translateX(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 60%, 100% { transform: translateX(100%); } }

.about { background: linear-gradient(180deg, rgba(5, 10, 15, .82), rgba(9, 15, 22, .86)); }
.about .section-heading { width: 100%; max-width: none; }
.about .section-heading h2 { width: 100%; max-width: none; font-size: clamp(2.8rem, 4.7vw, 4.8rem); }
.layer-route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.layer-route article { min-height: 270px; padding: clamp(1.4rem, 3vw, 2.5rem); position: relative; border-right: 1px solid var(--line); }
.layer-route article { transition: background .35s ease, color .35s ease, transform .35s var(--ease); }
.layer-route article:last-child { border-right: 0; }
.layer-route article::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--amber); transition: right .55s var(--ease); }
.layer-route article:hover::after { right: 0; }
.layer-route article:hover { background: rgba(15, 34, 50, .72); transform: translateY(-6px); }
.layer-route span { color: var(--blue-soft); font: .72rem/1 var(--mono); text-transform: uppercase; }
.layer-route h3 { margin: 3.6rem 0 1rem; font: 700 1.8rem/1 var(--display); text-transform: uppercase; }
.layer-route p { margin: 0; color: var(--muted); font-size: .9rem; }

.ecosystem { background: rgba(6, 9, 13, .68); isolation: isolate; overflow: hidden; }
.ecosystem > *:not(.ecosystem-circuit-field) { position: relative; z-index: 2; }
.ecosystem-circuit-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .72; pointer-events: none; filter: drop-shadow(0 0 11px rgba(22, 140, 255, .22)); }
.ecosystem.is-current .ecosystem-circuit-field { opacity: 1; animation: ecosystem-surge 4.6s ease-in-out infinite; }
@keyframes ecosystem-surge { 0%, 100% { filter: drop-shadow(0 0 10px rgba(22, 140, 255, .25)); } 50% { filter: drop-shadow(0 0 24px rgba(22, 140, 255, .52)) drop-shadow(0 0 12px rgba(255, 157, 0, .28)); } }
.skill-network { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill-group { min-width: 0; min-height: 220px; padding: clamp(1.4rem, 3vw, 2.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(11, 18, 25, .65), transparent); position: relative; overflow: hidden; }
.skill-group::before { content: ""; position: absolute; left: 0; right: 0; top: -35%; height: 34%; background: linear-gradient(180deg, transparent, rgba(22, 140, 255, .14), rgba(255, 157, 0, .1), transparent); opacity: 0; transform: skewY(-3deg); pointer-events: none; }
.ecosystem.is-visible .skill-group { animation: rack-online .7s var(--ease) both; }
.ecosystem.is-visible .skill-group:nth-child(2) { animation-delay: .06s; }
.ecosystem.is-visible .skill-group:nth-child(3) { animation-delay: .12s; }
.ecosystem.is-visible .skill-group:nth-child(4) { animation-delay: .18s; }
.ecosystem.is-visible .skill-group:nth-child(5) { animation-delay: .24s; }
.ecosystem.is-visible .skill-group:nth-child(6) { animation-delay: .3s; }
.ecosystem.is-visible .skill-group:nth-child(7) { animation-delay: .36s; }
.ecosystem.is-visible .skill-group:nth-child(8) { animation-delay: .42s; }
@keyframes rack-online { from { opacity: .2; filter: blur(8px); transform: translateY(28px) scale(.985); } to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
.skill-group::after { content: ""; position: absolute; right: -35px; bottom: -35px; width: 90px; height: 90px; border: 1px solid rgba(22, 140, 255, .12); transform: rotate(45deg); }
.skill-group:nth-child(4n + 2), .skill-group:nth-child(4n + 3) { background: linear-gradient(145deg, rgba(9, 23, 35, .82), rgba(6, 10, 15, .3)); }
.skill-group h3 { margin: 0 0 1.4rem; color: var(--blue-soft); font: 600 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.skill-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.skill { min-height: 42px; padding: .5rem .7rem; display: inline-flex; align-items: center; gap: .55rem; border: 1px solid rgba(74, 144, 203, .27); background: #080d12; color: #c6d0d8; font: 500 .72rem/1.2 var(--mono); transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
.skill:hover { border-color: var(--blue); background: #0d1b27; color: #f2f7fb; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .28), 0 0 16px rgba(22, 140, 255, .14); }
.skill img, .skill b { width: 22px; height: 22px; flex: 0 0 22px; object-fit: contain; }
.skill b { display: grid; place-items: center; color: var(--amber); font-size: .55rem; border: 1px solid rgba(255, 157, 0, .4); }

.selected-system { background: linear-gradient(180deg, rgba(7, 11, 16, .84), rgba(5, 8, 11, .88)); }
.system-layout { display: grid; grid-template-columns: minmax(430px, .9fr) minmax(560px, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.system-intro { padding-block: 1rem; }
.system-name { width: fit-content; margin: 0 0 1.4rem !important; padding-bottom: .7rem; border-bottom: 1px solid var(--amber); color: var(--blue-soft) !important; font: 600 clamp(1.15rem, 1.7vw, 1.55rem)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.system-intro h3 { max-width: none; margin: 0; font: 700 clamp(1.15rem, 2.6vw, 2.45rem)/.95 var(--display); letter-spacing: -.015em; text-transform: uppercase; white-space: nowrap; }
.system-intro p, .system-intro li { color: var(--muted); }
.system-intro ul { padding-left: 1.1rem; margin-block: 1.7rem; }
.system-intro li { margin-bottom: .7rem; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: .7rem; color: var(--amber); font: 600 .72rem/1.4 var(--mono); text-transform: uppercase; text-decoration: none; }
.text-link::after { content: ""; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(4px) rotate(45deg); }
.system-console { width: min(100%, 820px); min-height: 0; justify-self: end; align-self: start; border: 1px solid var(--line-strong); background: #07111a; box-shadow: 0 26px 70px rgba(0, 0, 0, .42); position: relative; overflow: hidden; }
.system-console::before { content: ""; position: absolute; z-index: 5; left: 0; right: 0; top: -18%; height: 18%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(22, 140, 255, .1), rgba(255, 157, 0, .2), transparent); opacity: 0; }
.selected-system.is-current .system-console::before { animation: console-scan 3.4s linear infinite; opacity: 1; }
@keyframes console-scan { to { transform: translateY(760px); } }
.system-console::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--amber) 72%, transparent); box-shadow: 0 0 14px rgba(255,157,0,.35); }
.console-bar { height: 48px; padding: 0 1rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); background: #0b141e; }
.console-bar span { width: 8px; height: 8px; border-radius: 50%; background: #334c61; }
.console-bar span:first-child { background: var(--amber); }
.console-bar strong { margin-left: auto; color: #9bb0c0; font: .62rem/1 var(--mono); text-transform: uppercase; }
.console-bar em { margin-left: 1rem; color: var(--green); font: normal 500 .55rem/1 var(--mono); text-transform: uppercase; }
.console-body { min-height: 0; display: grid; grid-template-columns: 140px 1fr; }
.console-body aside { padding: 1.2rem; display: flex; flex-direction: column; gap: .85rem; border-right: 1px solid var(--line); color: #7491a8; font: .68rem/1 var(--mono); }
.console-body aside b { color: var(--amber); }
.console-main { padding: clamp(1rem, 2.4vw, 1.65rem); display: flex; flex-direction: column; gap: 1.15rem; }
.console-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.console-metrics span { padding: 1rem; border: 1px solid var(--line); color: #8da3b6; font: .62rem/1.4 var(--mono); text-transform: uppercase; }
.console-metrics b { display: block; color: #e7edf2; font: 700 2rem/1 var(--display); }
.module-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.module-grid i { display: grid; place-items: center; min-height: 62px; padding: .45rem; border: 1px solid rgba(31, 134, 221, .38); background: linear-gradient(145deg, rgba(12, 31, 48, .9), rgba(7, 20, 31, .75)); color: var(--blue-soft); font: normal 600 .62rem/1.25 var(--mono); text-align: center; }
.selected-system.is-current .module-grid i { animation: module-charge 4.5s ease-in-out infinite; }
.selected-system.is-current .module-grid i:nth-child(3n + 2) { animation-delay: -.9s; }
.selected-system.is-current .module-grid i:nth-child(3n) { animation-delay: -1.8s; }
@keyframes module-charge { 0%, 82%, 100% { border-color: rgba(31, 134, 221, .38); background: linear-gradient(145deg, rgba(12, 31, 48, .9), rgba(7, 20, 31, .75)); } 90% { border-color: var(--amber); background: rgba(255, 157, 0, .11); color: #fff0d0; } }
.architecture-route { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: .6rem; color: #bfcbd4; font: .64rem/1 var(--mono); text-transform: uppercase; }
.architecture-route b { height: 1px; background: linear-gradient(90deg, var(--blue), var(--amber)); }
.console-status { min-height: 38px; padding-top: .7rem; display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--line); color: #7f99ad; font: 500 .55rem/1 var(--mono); text-transform: uppercase; }
.console-status span { padding-right: .8rem; border-right: 1px solid var(--line); }
.console-status strong { margin-left: auto; color: var(--green); font-weight: 500; }
.delivery-route { margin-top: 4rem; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.delivery-route article { min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); position: relative; }
.delivery-route article:last-child { border-right: 0; }
.delivery-route article::before { content: ""; position: absolute; left: 2rem; bottom: -2px; width: 10px; height: 4px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.delivery-route h3 { margin: 0; color: #e7edf2; font: 700 2.3rem/1 var(--display); text-transform: uppercase; }
.delivery-route p { color: var(--muted); font-size: .88rem; }
.delivery-route code { color: var(--green); font: .68rem/1 var(--mono); }

.experience { background: rgba(7, 11, 15, .86); }
.timeline { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); overflow-x: auto; padding-bottom: 1rem; scrollbar-color: var(--blue) #0a1118; scroll-snap-type: x proximity; }
.timeline-item { min-width: 190px; min-height: 360px; padding: 1.5rem; border-block: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.timeline-item { scroll-snap-align: start; background: linear-gradient(180deg, rgba(12, 19, 26, .55), transparent); }
.timeline-item:first-child { border-left: 1px solid var(--line); }
.timeline-item::after { content: ""; position: absolute; top: 142px; left: -5px; width: 9px; height: 9px; background: var(--blue); border: 2px solid #07101a; border-radius: 50%; box-shadow: 0 0 12px var(--blue); }
.timeline-item.active::after { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.experience.is-current .timeline-item::after { animation: timeline-current 2.4s ease-in-out infinite; }
.experience.is-current .timeline-item:nth-child(even)::after { animation-delay: -1.2s; }
@keyframes timeline-current { 50% { transform: scale(1.45); box-shadow: 0 0 24px currentColor; } }
.timeline-item img { width: 100%; height: 72px; object-fit: contain; filter: saturate(.9); margin-bottom: 2rem; }
.timeline-item time { color: var(--amber); font: .62rem/1 var(--mono); text-transform: uppercase; }
.timeline-item h3 { margin: 1.1rem 0 .8rem; font: 700 1.55rem/1 var(--display); text-transform: uppercase; }
.timeline-item p { color: var(--muted); font-size: .82rem; }

.credentials { background: rgba(5, 8, 11, .87); }
.credential-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.credential-grid article { min-height: 280px; padding: 1.4rem; display: flex; flex-direction: column; background: linear-gradient(145deg, #0d151e, #070b0f); position: relative; }
.credential-grid article { transition: transform .3s var(--ease), background .3s ease, border-color .3s ease; }
.credential-grid article::after { content: ""; position: absolute; right: 0; bottom: 0; width: 24px; height: 24px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); opacity: .45; }
.credential-grid b { color: var(--amber); font: 700 1.25rem/1 var(--mono); }
.credential-mark { height: 68px; margin: 1.25rem 0 1.35rem; display: flex; align-items: center; gap: .7rem; }
.credential-mark img { width: auto; max-width: 104px; height: 54px; object-fit: contain; }
.credential-pair img { max-width: 48px; }
.credential-wordmark { width: fit-content; min-width: 68px; padding-inline: .75rem; justify-content: center; border: 1px solid rgba(107, 184, 255, .42); color: var(--blue-soft); font: 800 1.35rem/1 var(--mono); letter-spacing: .08em; }
.credential-fwd { border-color: rgba(255, 157, 0, .48); color: var(--amber); }
.credential-grid h3 { margin: 0 0 .8rem; font: 600 1.25rem/1 var(--display); text-transform: uppercase; }
.credential-grid p { color: var(--muted); font-size: .78rem; }

.contact-form-section { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(520px, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; background: linear-gradient(135deg, rgba(8, 18, 27, .92), rgba(5, 8, 11, .83)); border-top: 1px solid var(--line); }
.contact-form-intro h2 { max-width: 8ch; margin: 0; font: 800 clamp(3.2rem, 6vw, 5.5rem)/.86 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.contact-form-intro p { max-width: 48ch; color: var(--muted); }
.contact-form-signal { margin-top: 2.4rem; display: grid; grid-template-columns: 10px 1fr 10px; align-items: center; gap: .6rem; }
.contact-form-signal span { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber); animation: node-pulse 2s ease-in-out infinite; }
.contact-form-signal span:last-child { background: var(--blue); box-shadow: 0 0 16px var(--blue); animation-delay: -1s; }
.contact-form-signal i { height: 1px; background: linear-gradient(90deg, var(--amber), var(--blue)); position: relative; overflow: hidden; }
.contact-form-signal i::after { content: ""; position: absolute; inset: 0; background: white; transform: translateX(-100%); animation: cue 2.4s linear infinite; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { color: var(--blue-soft); font: 600 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: .8rem .9rem; border: 1px solid rgba(80, 176, 255, .34); border-radius: 0; color: #e8eef3; background: rgba(4, 9, 14, .9); font: 500 .9rem/1.5 var(--body); outline: 0; transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field select { color-scheme: dark; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--blue-soft); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--amber); background: #08121b; box-shadow: 0 10px 28px rgba(0, 0, 0, .26), 0 0 16px rgba(255, 157, 0, .1); }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.form-submit p { max-width: 52ch; margin: 0; color: #7f95a6; font: .62rem/1.5 var(--mono); }
.form-submit p.is-error { color: #ff9c8f; }
.form-submit p.is-success { color: var(--green); }
.form-submit .button { flex: 0 0 auto; border-radius: 0; cursor: pointer; }
.form-submit .button:disabled { cursor: wait; opacity: .62; filter: saturate(.55); }
.turnstile-field { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .35rem; border-top: 1px solid var(--line-faint); border-bottom: 1px solid var(--line-faint); }
.turnstile-field p { margin: 0; color: #7790a3; font: .58rem/1.5 var(--mono); text-transform: uppercase; }
.contact-form.is-sending { pointer-events: none; }

.contact { min-height: 620px; display: grid; grid-template-columns: .7fr 1fr 1fr; align-items: center; gap: 3rem; background: radial-gradient(circle at 23% 52%, rgba(22, 140, 255, .18), transparent 26rem), rgba(6, 9, 13, .88); border-top: 1px solid var(--line); }
.contact-mark { min-height: 320px; position: relative; display: grid; place-items: center; }
.contact-mark::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 24px var(--amber); transform: translateX(-50%); }
.contact-mark img { width: min(72%, 280px); height: auto; filter: url(#ah-theme-filter) drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }
.contact-copy h2 { margin: 0; max-width: 9ch; font: 800 clamp(3.3rem, 7vw, 6rem)/.82 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.contact-copy p { max-width: 50ch; color: var(--muted); }
.contact-actions { border-top: 1px solid var(--line); }
.contact-actions a { min-height: 68px; padding: 1.15rem 2.4rem 1.15rem .7rem; display: flex; flex-direction: column; justify-content: center; gap: .25rem; border-bottom: 1px solid var(--line); color: #c7d0d8; text-decoration: none; transition: color .2s ease, background .2s ease; position: relative; overflow-wrap: anywhere; }
.contact-actions a:hover { color: #eef5fa; background: rgba(22, 140, 255, .08); }
.contact-actions span { color: var(--amber); font: .62rem/1 var(--mono); text-transform: uppercase; }
.contact-actions a::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 9px; height: 9px; border-top: 1px solid var(--blue-soft); border-right: 1px solid var(--blue-soft); transform: translateY(-50%) rotate(45deg); transition: transform .2s var(--ease); }
.contact-actions a:hover::after { transform: translate(4px, -50%) rotate(45deg); }

.site-footer { width: min(calc(100% - 1.5rem), var(--max)); min-height: 90px; margin-inline: auto; padding: 1rem var(--pad); display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-bottom: 0; color: #77899a; font: .62rem/1.4 var(--mono); text-transform: uppercase; }
.site-footer img { width: 30px; height: 30px; filter: url(#ah-theme-filter); object-fit: contain; }
.site-footer p:last-child { margin-left: auto; }
.back-to-top { position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: 1.35rem; width: 54px; height: 54px; z-index: 90; display: grid; place-content: center; gap: 1px; border: 1px solid var(--amber); color: var(--ink); background: var(--amber); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .25s ease, visibility .25s ease, transform .3s var(--ease), background .2s ease, color .2s ease; box-shadow: 0 12px 28px rgba(0, 0, 0, .34), 0 0 18px rgba(255, 157, 0, .2); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: white; background: #0b5b9d; border-color: var(--blue-soft); transform: translateY(-4px); }
.back-to-top svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.back-to-top span { font: 700 .52rem/1 var(--mono); text-transform: uppercase; }

.reveal { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js .reveal:not(.is-visible) { opacity: .38; filter: blur(9px); transform: translateY(26px); clip-path: inset(0 0 8% 0); }
.js .reveal.is-visible { transition: opacity .8s var(--ease), filter .9s var(--ease), transform .9s var(--ease), clip-path .9s var(--ease); }

@media (hover: hover) {
  .skill-group:hover { background: linear-gradient(145deg, rgba(13, 25, 36, .82), rgba(6, 10, 15, .35)); }
  .skill-group:hover::before { opacity: 1; animation: rack-scan 1.25s linear infinite; }
  .credential-grid article:hover { transform: translateY(-7px); background: linear-gradient(145deg, #132434, #081019); }
  .timeline-item:hover { background: #f4f7fa; color: #075ca8; border-color: #b9cedf; }
  .timeline-item:hover time { color: #d46d00; }
  .timeline-item:hover h3 { color: #063b70; }
  .timeline-item:hover p { color: #0876c9; }
  .timeline-item:hover img { filter: saturate(1) contrast(1.06); }
  .timeline-item:hover::after { background: var(--blue); border-color: #f4f7fa; }
}
@keyframes rack-scan { to { transform: translateY(400%) skewY(-3deg); } }

@media (max-width: 1120px) {
  .hero { min-height: auto; grid-template-columns: minmax(280px, .95fr) minmax(280px, .65fr); }
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
  .hero-facts div { min-height: 100px; }
  .system-layout { grid-template-columns: 1fr; }
  .system-console { width: 100%; justify-self: stretch; }
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: .6fr 1fr; }
  .contact-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); }
  .contact-actions a:nth-child(odd) { border-right: 1px solid var(--line); }
  .primary-nav { gap: 1rem; }
}

@media (max-width: 820px) {
  .reactor-canvas { opacity: .72; }
  .site-header { width: calc(100% - 1rem); }
  .menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: #06090d; display: grid; place-content: center; gap: 5px; color: white; }
  .menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); background: #05090d; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 1rem; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .hero { padding-top: 7rem; grid-template-columns: 1fr; }
  .hero h1 { max-width: 9ch; }
  .hero-emblem { min-height: 390px; }
  .hero-emblem img { width: min(65%, 310px); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts div:nth-child(2) { border-right: 0; }
  .hero-facts div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .split-heading { grid-template-columns: 1fr; align-items: start; gap: 1.25rem; }
  .split-heading p { justify-self: start; text-align: left; white-space: normal; }
  .layer-route { grid-template-columns: repeat(2, 1fr); }
  .layer-route article:nth-child(2) { border-right: 0; }
  .skill-network { grid-template-columns: 1fr; }
  .console-body { grid-template-columns: 1fr; }
  .console-body aside { display: none; }
  .console-metrics { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .delivery-route { grid-template-columns: repeat(2, 1fr); }
  .delivery-route article:nth-child(2) { border-right: 0; }
  .credential-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-section { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --pad: 1.05rem; }
  .brand span { display: none; }
  .site-header { gap: .55rem; }
  .header-socials { gap: .2rem; }
  .header-socials a { width: 34px; height: 34px; }
  .hero { padding-inline: var(--pad); }
  .hero h1 { font-size: clamp(3.4rem, 18vw, 4.8rem); }
  .hero-emblem { min-height: 300px; }
  .hero-emblem img { width: min(62%, 230px); }
  .hero-facts strong { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .layer-route { grid-template-columns: 1fr; }
  .layer-route article { border-right: 0; border-bottom: 1px solid var(--line); }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .console-bar em { display: none; }
  .console-status { flex-wrap: wrap; }
  .console-status strong { width: 100%; margin-left: 0; }
  .architecture-route { display: none; }
  .delivery-route { grid-template-columns: 1fr; }
  .delivery-route article { border-right: 0; border-bottom: 1px solid var(--line); }
  .credential-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .form-submit .button { width: 100%; }
  .turnstile-field { align-items: flex-start; flex-direction: column; }
  .contact { grid-template-columns: 1fr; }
  .contact-mark { width: 100%; min-height: 220px; margin-inline: auto; }
  .contact-mark img { width: min(68%, 220px); }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions a:nth-child(odd) { border-right: 0; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p:last-child { margin-left: 0; }
  .back-to-top { right: .8rem; bottom: .8rem; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .backdrop-wire-amber, .backdrop-wire-amber-echo { stroke-dasharray: none; }
  .reactor-canvas { display: none; }
  .js .reveal:not(.is-visible) { opacity: 1; clip-path: none; }
  .page-conduit span { transform: scaleX(1); }
}
