:root {
  --ink: #07111f;
  --ink-soft: #0b1929;
  --panel: rgba(14, 31, 49, 0.72);
  --ice: #e8f4ff;
  --mist: #91a8bc;
  --cyan: #58d4e8;
  --violet: #8b7cff;
  --amber: #ffbe68;
  --line: rgba(143, 196, 219, 0.17);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --shell: min(1680px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--cyan) var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ice);
  background:
    radial-gradient(circle at 78% 18%, rgba(139, 124, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #07111f 0%, #091522 55%, #07111f 100%);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body.is-loading {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--cyan);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--ice);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 5px;
}

.boot-screen {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.boot-screen.is-finished {
  visibility: hidden;
  opacity: 0;
}

.boot-screen__inner {
  width: min(320px, calc(100vw - 64px));
}

.boot-screen__mark {
  margin-bottom: 1.4rem;
  color: var(--ice);
  font: 700 2.4rem/1 var(--mono);
  letter-spacing: -0.12em;
}

.boot-screen__mark span {
  color: var(--cyan);
  animation: blink 0.55s steps(1) infinite;
}

.boot-screen__track {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.boot-screen__track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform-origin: left;
  animation: boot 1.15s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.boot-screen p {
  margin: 0.8rem 0 0;
  color: var(--mist);
  font: 0.65rem/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.network-field,
.noise,
.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.network-field {
  z-index: -2;
  opacity: 0.34;
}

.noise {
  z-index: 50;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-light {
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(88, 212, 232, 0.08), transparent 67%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.section-shell,
.site-header,
.hero {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 104px;
  transform: translateX(-50%);
}

.brand {
  width: max-content;
  color: var(--ice);
  font: 750 1rem/1 var(--mono);
  letter-spacing: -0.1em;
  text-decoration: none;
}

.brand__bracket {
  color: var(--cyan);
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  gap: 2.4rem;
}

.desktop-nav a,
.header-status {
  position: relative;
  color: var(--mist);
  font: 0.66rem/1 var(--mono);
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.65rem;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ice);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-status {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.65rem;
}

.header-status span,
.eyebrow__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(88, 212, 232, 0.5);
  animation: status-pulse 2s infinite;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(490px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 3rem);
  min-height: 100svh;
  padding: 140px 0 100px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.55rem;
  color: var(--cyan);
  font: 0.67rem/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.7rem, 9.7vw, 9.1rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.73;
  text-transform: uppercase;
}

.title-line {
  display: block;
  overflow: hidden;
  padding: 0.09em 0.09em 0.09em 0;
}

.title-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.18, 1);
}

.title-line:nth-child(2) > span {
  transition-delay: 0.12s;
}

body.is-ready .title-line > span {
  transform: translateY(0);
}

.title-line--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(232, 244, 255, 0.62);
}

.hero__intro {
  max-width: 570px;
  margin: 2.4rem 0 0;
  color: var(--mist);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  min-height: 54px;
  padding: 0 1.4rem;
  font: 0.7rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button--primary {
  color: var(--ink);
  background: var(--cyan);
  border: 1px solid var(--cyan);
}

.button--primary:hover {
  background: var(--ice);
  border-color: var(--ice);
}

.button--quiet {
  color: var(--ice);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.button--quiet:hover {
  border-color: rgba(88, 212, 232, 0.6);
}

.identity-signal {
  position: relative;
  justify-self: end;
  width: min(420px, 39vw);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 54, 75, 0.55) 0%, rgba(7, 17, 31, 0) 66%);
  box-shadow: inset 0 0 90px rgba(88, 212, 232, 0.04);
}

.identity-signal::before,
.identity-signal::after {
  position: absolute;
  background: var(--line);
  content: "";
}

.identity-signal::before {
  top: 50%;
  right: -12%;
  left: -12%;
  height: 1px;
}

.identity-signal::after {
  top: -12%;
  bottom: -12%;
  left: 50%;
  width: 1px;
}

.signal-orbit,
.signal-core,
.signal-scan {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-orbit--outer {
  width: 86%;
  height: 86%;
  border: 1px dashed rgba(88, 212, 232, 0.42);
  animation: orbit 24s linear infinite;
}

.signal-orbit--middle {
  width: 68%;
  height: 68%;
  border: 1px solid rgba(139, 124, 255, 0.38);
  border-right-color: transparent;
  border-left-color: transparent;
  animation: orbit-reverse 15s linear infinite;
}

.signal-orbit--inner {
  width: 48%;
  height: 48%;
  border: 1px dotted rgba(255, 190, 104, 0.52);
  animation: orbit 10s linear infinite;
}

.orbit-node {
  position: absolute;
  top: 11%;
  left: 12%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.signal-scan {
  width: 76%;
  height: 76%;
  overflow: hidden;
  border: 1px solid rgba(88, 212, 232, 0.1);
}

.signal-scan::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 14px rgba(88, 212, 232, 0.8);
  content: "";
  transform-origin: left;
  animation: scan 5s linear infinite;
}

.signal-core {
  z-index: 2;
  display: grid;
  width: 32%;
  height: 32%;
  place-content: center;
  text-align: center;
  background: rgba(9, 24, 39, 0.9);
  border: 1px solid rgba(88, 212, 232, 0.48);
  box-shadow: 0 0 60px rgba(88, 212, 232, 0.13);
}

.signal-core span {
  font: 750 clamp(1.8rem, 4vw, 3.3rem)/1 var(--mono);
  letter-spacing: -0.12em;
}

.signal-core small {
  margin-top: 0.65rem;
  color: var(--cyan);
  font: 0.52rem/1 var(--mono);
  letter-spacing: 0.14em;
}

.signal-label {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 116px;
  flex-direction: column;
  padding: 0.7rem 0.8rem;
  background: rgba(7, 17, 31, 0.88);
  border-left: 1px solid var(--cyan);
  backdrop-filter: blur(10px);
}

.signal-label span,
.signal-label b {
  font: 0.52rem/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-label span {
  color: var(--mist);
}

.signal-label b {
  color: var(--ice);
}

.signal-label--top {
  top: 11%;
  right: -6%;
}

.signal-label--bottom {
  bottom: 14%;
  left: -4%;
  border-left-color: var(--amber);
}

.packet-network {
  position: relative;
  justify-self: end;
  width: min(100%, 780px);
  padding: 1.1rem 1.1rem 0.9rem;
  background: linear-gradient(145deg, rgba(10, 28, 44, 0.32), rgba(7, 17, 31, 0.04));
  border-top: 1px solid rgba(88, 212, 232, 0.28);
  border-bottom: 1px solid rgba(139, 124, 255, 0.18);
}

.packet-network::before,
.packet-network::after {
  position: absolute;
  width: 34px;
  height: 34px;
  content: "";
}

.packet-network::before {
  top: -1px;
  left: 0;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.packet-network::after {
  right: 0;
  bottom: -1px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
}

.packet-network__header,
.packet-network__legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mist);
  font: 0.55rem/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.packet-network__header {
  padding: 0.1rem 0.3rem 0;
}

.packet-network__header b {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cyan);
  font-weight: 500;
}

.packet-network__header i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: status-pulse 2s infinite;
}

.packet-network svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.topology-grid {
  opacity: 0.78;
}

.routes path {
  fill: none;
  stroke: url(#route-gradient);
  stroke-dasharray: 5 8;
  stroke-linecap: round;
  stroke-width: 1.5;
  animation: route-shift 2s linear infinite;
}

.routes path:nth-child(even) {
  animation-direction: reverse;
}

.source-node circle,
.endpoint-node circle,
.network-node rect {
  fill: rgba(7, 17, 31, 0.88);
  stroke: rgba(88, 212, 232, 0.66);
  stroke-width: 1.5;
}

.source-node path,
.network-node path,
.firewall-check {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.source-node text,
.network-node text,
.firewall-node text,
.endpoint-node > text,
.small-node text {
  fill: var(--mist);
  font: 9px var(--mono);
  letter-spacing: 1.6px;
  text-anchor: middle;
}

.network-node circle {
  fill: var(--cyan);
}

.firewall-shield {
  fill: rgba(255, 190, 104, 0.055);
  stroke: var(--amber);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 10px rgba(255, 190, 104, 0.15));
}

.firewall-bricks path {
  fill: rgba(255, 190, 104, 0.11);
  stroke: var(--amber);
  stroke-width: 1;
}

.firewall-check {
  stroke: var(--amber);
  stroke-width: 2;
}

.firewall-node--small text {
  fill: var(--amber);
}

.endpoint-node circle:first-child {
  fill: rgba(88, 212, 232, 0.04);
  stroke-dasharray: 3 5;
  animation: svg-orbit 14s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.endpoint-node circle:nth-child(2) {
  stroke: rgba(139, 124, 255, 0.7);
}

.endpoint-node .endpoint-node__initials {
  fill: var(--ice);
  font: 700 24px var(--mono);
  letter-spacing: -3px;
}

.small-node circle {
  fill: var(--ink);
  stroke: var(--violet);
  stroke-width: 1.5;
}

.small-node text {
  text-anchor: start;
}

.packet--cyan {
  fill: var(--cyan);
}

.packet--violet {
  fill: var(--violet);
}

.packet--amber {
  fill: var(--amber);
}

.packet-network__legend {
  justify-content: flex-start;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: 0.2rem 0.3rem 0.4rem;
  letter-spacing: 0.07em;
}

.packet-network__legend span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.legend-dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.legend-dot--violet {
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

.legend-shield {
  width: 10px;
  height: 12px;
  background: rgba(255, 190, 104, 0.12);
  border: 1px solid var(--amber);
  clip-path: polygon(50% 0, 100% 17%, 100% 58%, 50% 100%, 0 58%, 0 17%);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--mist);
  font: 0.58rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateY(-100%);
  transform-origin: left bottom;
}

.scroll-cue i {
  position: relative;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  position: absolute;
  width: 50%;
  height: 100%;
  background: var(--cyan);
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
}

.profile,
.journey,
.connect {
  padding-block: 9rem;
}

.profile {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 2.5vw, 3rem);
  border-top: 1px solid var(--line);
}

.profile__index {
  grid-column: 1 / 3;
  padding-top: 0.7rem;
  color: var(--mist);
  font: 0.6rem/1.5 var(--mono);
  letter-spacing: 0.12em;
}

.profile > .section-heading {
  grid-column: 3 / 8;
}

.profile__bio {
  position: relative;
  grid-column: 8 / 13;
  padding: 4.2rem 0 0 5vw;
}

.profile__bio::before {
  position: absolute;
  top: 4.5rem;
  bottom: 0.4rem;
  left: 0;
  width: 1px;
  background: linear-gradient(var(--cyan), rgba(88, 212, 232, 0.04));
  content: "";
}

.profile__lead {
  margin: 0 0 1.3rem;
  color: var(--ice);
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.profile__bio > p:not(.profile__lead) {
  max-width: 650px;
  margin: 0;
  color: var(--mist);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.profile__status {
  display: block;
  margin-top: 3rem;
  color: var(--cyan);
  font: 0.58rem/1.4 var(--mono);
  letter-spacing: 0.11em;
}

.section-heading h2,
.connect h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5.9rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.profile__content {
  display: grid;
  gap: 1rem;
}

.bio-panel {
  position: relative;
  min-height: 340px;
  padding: 2.2rem;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 37, 57, 0.9), rgba(9, 24, 39, 0.56));
  border: 1px solid var(--line);
}

.bio-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--cyan);
  content: "";
}

.bio-panel__topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4rem;
  color: var(--mist);
  font: 0.58rem/1.4 var(--mono);
  letter-spacing: 0.09em;
}

.bio-panel__lead {
  margin: 0 0 1rem;
  color: var(--ice) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
  line-height: 1.2;
}

.bio-panel > p {
  max-width: 660px;
  color: var(--mist);
  font-size: 1.02rem;
}

.bio-panel__cursor {
  position: absolute;
  right: 2.2rem;
  bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cyan);
  font: 1rem/1 var(--mono);
}

.bio-panel__cursor i {
  display: block;
  width: 7px;
  height: 15px;
  background: var(--cyan);
  animation: blink 0.8s steps(1) infinite;
}

.fact-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.fact-card {
  display: flex;
  min-height: 180px;
  gap: 1.2rem;
  padding: 1.7rem;
  background: rgba(10, 26, 42, 0.56);
  border: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fact-card:hover {
  background: rgba(15, 37, 57, 0.8);
  border-color: rgba(88, 212, 232, 0.36);
  transform: translateY(-4px);
}

.fact-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line);
}

.fact-card__icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.fact-card small,
.contact-link small {
  color: var(--mist);
  font: 0.57rem/1.4 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fact-card h3 {
  margin: 0.45rem 0 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
}

.fact-card p {
  margin: 0;
  color: var(--mist);
  font-size: 0.82rem;
}

.journey {
  border-top: 1px solid var(--line);
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading--row > p {
  max-width: 310px;
  margin: 0 0 0.4rem;
  color: var(--mist);
}

.timeline {
  position: relative;
  margin-top: 5.5rem;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: linear-gradient(var(--cyan), var(--violet));
  content: "";
}

.timeline-entry {
  display: grid;
  grid-template-columns: 15px 0.52fr 1.3fr 0.5fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  min-height: 178px;
  padding: 0.4rem 0 3rem;
}

.timeline-entry__marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  background: var(--ink);
  border: 1px solid var(--cyan);
  border-radius: 50%;
}

.timeline-entry__marker span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.timeline-entry__type,
.timeline-entry__code {
  color: var(--mist);
  font: 0.62rem/1.5 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-entry__detail h3 {
  margin: -0.35rem 0 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-stretch: condensed;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.timeline-entry__detail p {
  margin: 0;
  color: var(--mist);
}

.timeline-entry__detail .timeline-entry__summary {
  max-width: 720px;
  margin-top: 0.85rem;
  color: rgba(145, 168, 188, 0.82);
  font-size: 0.9rem;
  line-height: 1.65;
}

.timeline-entry__detail .timeline-entry__summary--first {
  margin-top: 0.25rem;
}

.timeline-entry__code {
  justify-self: end;
  color: var(--cyan);
}

.connect {
  padding-top: 5rem;
}

.connect__panel {
  position: relative;
  padding: clamp(3rem, 7vw, 7rem);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(15, 39, 59, 0.96), rgba(10, 26, 43, 0.92)),
    var(--ink-soft);
  border: 1px solid var(--line);
}

.connect__panel::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan));
  content: "";
}

.connect h2 {
  max-width: 780px;
}

.connect h2 em {
  color: var(--cyan);
  font-style: normal;
}

.connect__copy {
  margin: 1.6rem 0 3.5rem;
  color: var(--mist);
}

.connect__links {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 820px;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 1.3rem 1.5rem;
  background: rgba(7, 17, 31, 0.55);
  border: 1px solid var(--line);
  font: 0.82rem/1.4 var(--mono);
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-link span {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-link b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  font-size: 1rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.contact-link:hover {
  background: rgba(17, 43, 63, 0.8);
  border-color: rgba(88, 212, 232, 0.45);
}

.contact-link:hover b {
  transform: rotate(45deg);
}

.connect__radar {
  position: absolute;
  top: 50%;
  right: -3%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(88, 212, 232, 0.1);
  border-radius: 50%;
  transform: translateY(-50%);
}

.connect__radar::before,
.connect__radar::after,
.connect__radar i {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.connect__radar::before {
  inset: 20%;
  border: 1px solid rgba(88, 212, 232, 0.12);
}

.connect__radar::after {
  inset: 40%;
  border: 1px solid rgba(88, 212, 232, 0.16);
}

.connect__radar i {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: radar-node 2.2s ease-in-out infinite alternate;
}

.connect__radar i:nth-child(1) {
  top: 22%;
  left: 25%;
}

.connect__radar i:nth-child(2) {
  top: 44%;
  left: 65%;
  animation-delay: -0.8s;
}

.connect__radar i:nth-child(3) {
  top: 72%;
  left: 42%;
  animation-delay: -1.4s;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 130px;
  color: var(--mist);
  border-top: 1px solid var(--line);
  font: 0.59rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes boot {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes status-pulse {
  70% { box-shadow: 0 0 0 8px rgba(88, 212, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 212, 232, 0); }
}

@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(0); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-reverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0); }
}

@keyframes scan {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(210%); }
}

@keyframes radar-node {
  from { opacity: 0.25; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1.2); }
}

@keyframes route-shift {
  to { stroke-dashoffset: -26; }
}

@keyframes svg-orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  :root {
    --shell: calc(100% - 40px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 170px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .identity-signal {
    justify-self: center;
    width: min(440px, 72vw);
    margin-top: 7rem;
  }

  .packet-network {
    justify-self: center;
    width: min(100%, 780px);
    margin-top: 6rem;
  }

  .scroll-cue {
    display: none;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .profile__index,
  .profile > .section-heading,
  .profile__bio {
    grid-column: 1;
  }

  .profile__index {
    margin-bottom: -2rem;
  }

  .profile__bio {
    padding: 0 0 0 2rem;
  }

  .profile__bio::before {
    top: 0.3rem;
  }

  .section-heading br {
    display: none;
  }

  .connect__radar {
    right: -20%;
    opacity: 0.5;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 84px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    padding-top: 138px;
  }

  .hero__title {
    font-size: clamp(4rem, 20vw, 6.5rem);
    line-height: 0.78;
  }

  .hero__intro {
    margin-top: 1.9rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .identity-signal {
    width: min(88vw, 390px);
    margin-top: 5.5rem;
  }

  .packet-network {
    width: calc(100% + 16px);
    margin-top: 4.5rem;
    margin-right: -8px;
    margin-left: -8px;
    padding: 0.85rem 0.55rem 0.7rem;
  }

  .packet-network__header,
  .packet-network__legend {
    font-size: 0.47rem;
  }

  .packet-network__legend {
    flex-wrap: wrap;
    gap: 0.65rem 1.2rem;
  }

  .signal-label--top {
    right: -1%;
  }

  .signal-label--bottom {
    left: -1%;
  }

  .profile,
  .journey,
  .connect {
    padding-block: 6rem;
  }

  .profile {
    gap: 2.6rem;
  }

  .profile__index {
    display: none;
  }

  .profile__bio {
    padding-left: 1.25rem;
  }

  .bio-panel {
    padding: 1.5rem;
  }

  .bio-panel__topline {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .fact-stack,
  .connect__links {
    grid-template-columns: 1fr;
  }

  .section-heading--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline {
    margin-top: 4rem;
  }

  .timeline-entry {
    grid-template-columns: 15px 1fr;
    gap: 1rem 1.5rem;
    padding-bottom: 3.8rem;
  }

  .timeline-entry__type,
  .timeline-entry__detail,
  .timeline-entry__code {
    grid-column: 2;
  }

  .timeline-entry__type {
    grid-row: 1;
  }

  .timeline-entry__detail {
    grid-row: 2;
  }

  .timeline-entry__code {
    grid-row: 3;
    justify-self: start;
  }

  .timeline-entry__marker {
    grid-row: 1 / span 3;
  }

  .connect {
    padding-top: 2rem;
  }

  .connect__panel {
    padding: 3rem 1.4rem;
  }

  .connect__radar {
    right: -60%;
  }

  .contact-link {
    font-size: 0.7rem;
  }

  .site-footer {
    display: flex;
    min-height: 180px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-footer p {
    margin: 0;
  }

  .site-footer p:last-child {
    justify-self: auto;
  }
}

@media (pointer: coarse) {
  .cursor-light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .boot-screen {
    display: none;
  }

  .title-line > span,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
