@font-face {
  font-family: "Shupo Cyber";
  src: url("assets/cyber-font.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shupo JP Dot";
  src: url("assets/dotgothic16-jp.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shupo Brand";
  src: url("assets/dela-gothic-one-brand.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #06091f;
  --panel: #070a29;
  --panel-soft: #0d1742;
  --cyan: #43e5dd;
  --aqua: #88f4d1;
  --blue: #158ac4;
  --blue-light: #63c8ed;
  --pink: #ef7fa9;
  --magenta: #c33f88;
  --lime: #b8ed72;
  --yellow: #f2d967;
  --orange: #ef9e59;
  --cream: #fff2ce;
  --white: #f6fffb;
  --muted: #9fb8cc;
  --line: #225f8d;
  --cyber: "Shupo Cyber", "MS Gothic", "Courier New", monospace;
  --jp-pixel: "Shupo JP Dot", "MS Gothic", sans-serif;
  --brand: "Shupo Brand", "Arial Black", sans-serif;
  --pixel: var(--cyber);
  --sans: "Yu Gothic", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #030614;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background-color: #030614;
  background-image:
    url("assets/studio-pixel-space.png?v=12"),
    url("assets/studio-space-tile.png?v=1");
  background-repeat: no-repeat, repeat;
  background-position: center -130px, left top;
  background-size: 100vw auto, 512px 512px;
  background-attachment: fixed, fixed;
  font-family: var(--sans);
  font-size: 14px;
}

body::after {
  content: "";
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #ffffff 2px 3px);
  mix-blend-mode: overlay;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 8px;
  top: -60px;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.skip-link:focus {
  top: 8px;
}

.site-top {
  width: min(1180px, calc(100% - 28px));
  min-height: 390px;
  position: relative;
  margin: 0 auto;
}

.site-logo {
  position: absolute;
  z-index: 2;
  left: 31%;
  top: 32px;
  color: var(--white);
  text-align: center;
  text-shadow: 3px 3px 0 #071538, 0 0 12px rgba(86, 239, 218, 0.7);
}

.site-logo p,
.site-logo h1,
.site-logo small {
  display: block;
  margin: 0;
  letter-spacing: 0;
}

.site-logo p {
  font: 700 10px var(--pixel);
  color: var(--cream);
}

.site-logo h1 {
  margin-top: 7px;
  color: var(--aqua);
  font: 400 clamp(46px, 5.5vw, 68px)/0.88 var(--brand);
  -webkit-text-stroke: 2px #072552;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #168ca5, 4px 5px 0 #071538, 7px 8px 0 var(--pink);
  white-space: nowrap;
}

.site-logo h1 span {
  color: var(--cream);
}

.site-logo small {
  margin-top: 12px;
  color: var(--white);
  font: 700 10px var(--pixel);
}

.hero-telemetry {
  min-height: 36px;
  display: grid;
  grid-template-columns: repeat(3, auto) minmax(88px, 1fr);
  align-items: center;
  position: absolute;
  z-index: 2;
  left: 355px;
  right: 280px;
  top: 226px;
  overflow: hidden;
  color: var(--cream);
  background: rgba(2, 9, 31, 0.76);
  border: 1px solid rgba(136, 244, 209, 0.72);
  border-left: 5px solid var(--pink);
  box-shadow: 3px 3px 0 rgba(2, 9, 31, 0.68), inset 0 -8px 12px rgba(0, 0, 0, 0.26);
  font: 700 8px var(--pixel);
}

.hero-telemetry > span:not(.telemetry-leds) {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-right: 1px solid rgba(67, 229, 221, 0.32);
  white-space: nowrap;
}

.hero-telemetry b {
  color: var(--cyan);
  font-weight: 400;
}

.telemetry-leds {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  padding-right: 10px;
}

.telemetry-leds i {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border: 1px solid var(--cream);
  box-shadow: 0 0 6px var(--cyan);
}

.telemetry-leds i:nth-child(3n) {
  background: var(--pink);
  box-shadow: 0 0 6px var(--pink);
}

.top-mascot {
  position: absolute;
  z-index: 3;
  right: 60px;
  top: 82px;
  width: 220px;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(8px 10px 0 rgba(4, 13, 44, 0.58));
  animation: mascot-hop 2.4s steps(4) infinite;
}

.mascot-callout {
  position: absolute;
  z-index: 4;
  right: 40px;
  top: 285px;
  margin: 0;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--pink);
  font: 700 9px/1.4 var(--pixel);
}

.mascot-callout b {
  color: #9d2f69;
}

.gel-player {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 25px;
  width: 325px;
  height: 325px;
}

.player-shell {
  width: 300px;
  height: 275px;
  position: relative;
  background:
    radial-gradient(circle at 28% 15%, #ffffff 0 4%, transparent 5%),
    linear-gradient(145deg, #f5eed2 0 20%, #71d4df 36%, #2a7f9a 58%, #f4d0bc 80%, #6c7f96 100%);
  border: 5px solid #e9f4da;
  border-radius: 45% 52% 42% 50%;
  box-shadow: inset 7px 7px 0 rgba(255, 255, 255, 0.46), inset -9px -9px 0 rgba(1, 21, 56, 0.35), 9px 12px 0 rgba(4, 11, 42, 0.55), 0 0 22px var(--cyan);
  transform: rotate(-4deg);
}

.player-screen {
  position: absolute;
  left: 55px;
  top: 34px;
  width: 198px;
  height: 166px;
  overflow: hidden;
  color: var(--aqua);
  background-color: #06101b;
  background-image: repeating-linear-gradient(0deg, rgba(101, 226, 198, 0.08) 0 2px, transparent 2px 4px);
  border: 7px solid #245d70;
  border-radius: 43% 49% 45% 48%;
  box-shadow: inset 0 0 20px #000, 0 0 0 3px var(--cyan), 0 0 14px var(--cyan);
}

.player-screen img {
  width: 96px;
  height: 96px;
  position: absolute;
  left: 50px;
  top: 18px;
  object-fit: contain;
  image-rendering: pixelated;
  animation: screen-bob 1.8s steps(2) infinite;
}

.screen-copy {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 11px;
  min-width: 0;
  font-family: var(--pixel);
  text-align: center;
}

.screen-copy span,
.screen-copy b,
.screen-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-copy span {
  color: var(--pink);
  font-size: 8px;
}

.screen-copy b {
  margin-top: 2px;
  font-size: 10px;
}

.screen-copy small {
  margin-top: 2px;
  color: var(--yellow);
  font-size: 7px;
}

.screen-bars {
  position: absolute;
  right: 12px;
  top: 13px;
  height: 32px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.screen-bars i {
  width: 3px;
  height: 4px;
  background: var(--aqua);
}

.gel-player.is-playing .screen-bars i:nth-child(1) { animation: bar 500ms steps(3) infinite; }
.gel-player.is-playing .screen-bars i:nth-child(2) { animation: bar 680ms steps(4) infinite reverse; }
.gel-player.is-playing .screen-bars i:nth-child(3) { animation: bar 390ms steps(2) infinite; }
.gel-player.is-playing .screen-bars i:nth-child(4) { animation: bar 760ms steps(4) infinite reverse; }
.gel-player.is-playing .screen-bars i:nth-child(5) { animation: bar 570ms steps(3) infinite; }

.speaker-slits {
  position: absolute;
  left: 19px;
  top: 53px;
  display: grid;
  gap: 7px;
}

.speaker-slits i {
  width: 31px;
  height: 8px;
  display: block;
  background: #1683a2;
  border: 2px inset #cafbea;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.player-controls {
  position: absolute;
  left: 44px;
  bottom: -44px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.player-controls button {
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 36% 24%, #f4fff7 0 5%, transparent 6%),
    radial-gradient(circle at 50% 52%, #168da3 0 48%, #06395f 49% 61%, transparent 62%),
    conic-gradient(from -28deg, #fff7d6, #58e7df, #315e84, #ef7fa9, #fff7d6);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(246, 255, 251, 0.28), inset 0 -5px 0 rgba(0, 0, 0, 0.26), 4px 5px 0 #071638, 0 0 9px var(--cyan);
  font: 900 15px/1 var(--pixel);
  text-shadow: 2px 2px 0 #082c51;
  cursor: pointer;
  transition: transform 120ms steps(2), box-shadow 120ms linear;
}

.player-controls .play-control {
  width: 76px;
  height: 76px;
  font-size: 25px;
}

.player-controls button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 2px rgba(246, 255, 251, 0.38), inset 0 -5px 0 rgba(0, 0, 0, 0.22), 5px 7px 0 #071638, 0 0 15px var(--cyan);
}

.gel-player.is-playing .play-control {
  color: var(--white);
  background:
    radial-gradient(circle at 36% 24%, #fff 0 5%, transparent 6%),
    radial-gradient(circle at 50% 52%, #e85a9c 0 48%, #78264f 49% 61%, transparent 62%),
    conic-gradient(from -28deg, #fff7d6, #ef7fa9, #43e5dd, #315e84, #fff7d6);
  box-shadow: inset 0 0 0 2px rgba(246, 255, 251, 0.5), inset 0 -5px 0 rgba(0, 0, 0, 0.2), 4px 5px 0 #071638, 0 0 16px var(--pink);
}

.player-controls button:active {
  transform: translate(2px, 2px);
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.25), 2px 2px 0 #071638;
}

.player-screw {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--cream);
  border: 2px solid #596473;
  border-radius: 50%;
}

.screw-a { right: 19px; top: 34px; }
.screw-b { right: 27px; bottom: 24px; }

.site-shell {
  width: min(1180px, calc(100% - 28px));
  min-height: 880px;
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr) 104px;
  position: relative;
  isolation: isolate;
  z-index: 2;
  margin: -78px auto 0;
  background: rgba(4, 7, 34, 0.96);
  border: 2px solid #2bc9d3;
  box-shadow: 0 0 0 4px rgba(3, 18, 65, 0.83), 0 0 24px rgba(57, 239, 223, 0.72), 10px 12px 0 rgba(5, 12, 50, 0.53);
}

.site-shell::before,
.site-shell::after {
  content: "";
  width: 28px;
  height: 28px;
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.site-shell::before {
  left: -7px;
  top: -7px;
  border-left: 4px solid var(--cream);
  border-top: 4px solid var(--cream);
  box-shadow: -2px -2px 0 var(--pink);
}

.site-shell::after {
  right: -7px;
  bottom: -7px;
  border-right: 4px solid var(--cream);
  border-bottom: 4px solid var(--cream);
  box-shadow: 2px 2px 0 var(--cyan);
}

.left-rail {
  min-width: 0;
  padding: 68px 14px 22px;
  background: rgba(7, 20, 61, 0.96);
  border-right: 2px solid #2779a4;
}

.rail-heading {
  margin: 0 0 10px;
  color: var(--cream);
  font: 700 12px var(--pixel);
  text-shadow: 2px 2px 0 #071538;
}

.main-nav {
  display: grid;
  gap: 9px;
}

.nav-button {
  min-height: 47px;
  width: 100%;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  position: relative;
  gap: 4px;
  padding: 5px 13px 5px 7px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, #6bf5e6 0, #1caabb 23%, #0d578b 65%, #154476 100%);
  border: 3px solid #43d4df;
  border-radius: 23px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.45), inset 0 -4px 0 rgba(3, 21, 67, 0.48), 3px 4px 0 #03152f;
  font: 700 12px/1.2 var(--pixel);
  text-align: left;
  cursor: pointer;
  transition: transform 120ms steps(2), color 120ms linear, background 120ms linear, box-shadow 120ms linear;
}

.nav-button span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--aqua);
  background: #061128;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--cyan);
}

.nav-button span img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  image-rendering: pixelated;
}

.nav-button:hover {
  color: var(--white);
  background: linear-gradient(180deg, #9bfff1 0, #37c9ce 25%, #1675a0 68%, #164875 100%);
  transform: translateX(2px);
}

.nav-button.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, #fff6c9 0, #f0d46a 28%, #ef84aa 100%);
  border-color: var(--cream);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.58), inset 0 -4px 0 rgba(94, 29, 70, 0.34), 5px 5px 0 #03152f, 0 0 12px rgba(239, 127, 169, 0.66);
  transform: translateX(5px);
}

.nav-button.is-active span {
  border-color: #092447;
  box-shadow: 0 0 0 2px var(--cream), 0 0 8px var(--pink);
}

.nav-button:active {
  transform: translate(3px, 2px);
  box-shadow: inset 0 3px 0 rgba(3, 21, 67, 0.42), 2px 2px 0 #03152f;
}

.rail-section {
  margin-top: 27px;
  padding-top: 13px;
  border-top: 2px dotted #2f83a9;
}

.status-section dl {
  margin: 0;
  font: 10px var(--pixel);
}

.status-section dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #204b7c;
}

.status-section dt {
  color: var(--muted);
}

.status-section dd {
  margin: 0;
  color: var(--aqua);
}

.mini-note p:last-child {
  margin: 0;
  color: #dbeaff;
  font-family: var(--jp-pixel);
  font-size: 12px;
  line-height: 1.7;
}

.rail-buttons {
  display: grid;
  grid-template-columns: repeat(2, 88px);
  gap: 6px;
  margin-top: 24px;
}

.button-88 {
  width: 88px;
  height: 31px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--white);
  box-shadow: 2px 2px 0 #02081c;
  font: 900 8px/1.05 var(--pixel);
  text-align: center;
}

.button-88.mint { background: repeating-linear-gradient(45deg, var(--aqua) 0 5px, var(--cream) 5px 10px); }
.button-88.pink { background: var(--pink); box-shadow: inset 0 0 0 3px #ffc0d6, 2px 2px 0 #02081c; }
.button-88.yellow { background: var(--yellow); }
.button-88.dark { color: var(--aqua); background: var(--ink); }

.content-column {
  min-width: 0;
  position: relative;
  padding: 0 26px 52px;
  background-color: rgba(4, 7, 30, 0.92);
  background-image:
    linear-gradient(rgba(67, 229, 221, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 229, 221, 0.035) 1px, transparent 1px);
  background-size: 16px 16px;
}

.content-location {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 -26px;
  padding: 0 17px;
  color: var(--muted);
  background: #08133d;
  border-top: 1px solid rgba(136, 244, 209, 0.5);
  border-bottom: 2px solid #176b9b;
  box-shadow: inset 0 -7px 12px rgba(1, 5, 27, 0.38), 0 2px 0 rgba(67, 229, 221, 0.15);
  font: 700 9px var(--pixel);
}

.content-location strong {
  color: var(--aqua);
}

.content-location time {
  color: var(--yellow);
}

.system-metric {
  padding: 3px 5px;
  color: var(--cyan);
  background: #04091f;
  border: 1px solid #1b547c;
  white-space: nowrap;
}

.system-metric.metric-first {
  margin-left: auto;
}

.location-dot {
  width: 9px;
  height: 9px;
  background: var(--aqua);
  border: 1px solid var(--white);
  box-shadow: 0 0 8px var(--cyan);
  animation: status-blink 1.8s steps(1) infinite;
}

.content-page {
  padding-top: 28px;
  font-family: var(--jp-pixel);
}

.content-page.is-entering {
  animation: content-enter 240ms steps(4);
}

.page-kicker {
  display: inline-block;
  margin: 0 0 9px;
  padding: 3px 6px;
  color: var(--ink);
  background: var(--aqua);
  border: 1px solid var(--white);
  font: 700 9px var(--pixel);
}

.content-page h2 {
  margin: 0;
  padding-bottom: 5px;
  color: var(--aqua);
  background: linear-gradient(
    180deg,
    #ffffff 0 23%,
    #dcfff5 24% 42%,
    #8cece3 43% 76%,
    #42c2cd 77% 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  font: 400 clamp(22px, 3.2vw, 38px)/1.25 var(--jp-pixel);
  letter-spacing: 0;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.75px #061128;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #f6fffb, 3px 3px 0 #237a9c, 5px 5px 0 #082b5b, 6px 6px 0 #ef7fa9;
}

.content-page h2 em {
  color: var(--cream);
  background: linear-gradient(180deg, #ffffff 0 24%, #fff1c5 25% 51%, #f3a8bd 52% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  white-space: nowrap;
}

.content-page h3 {
  margin: 0;
  color: var(--pink);
  font: 700 13px var(--pixel);
}

.page-intro {
  max-width: 690px;
  margin: 13px 0 23px;
  color: #d8e9f7;
  font-size: 14px;
  line-height: 1.9;
}

.welcome-line {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 55px;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--cream);
  font: 700 14px var(--pixel);
  text-align: center;
}

.welcome-line img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  image-rendering: pixelated;
}

.welcome-line img:last-child {
  transform: scaleX(-1);
}

.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 25px;
}

.section-title {
  margin: 26px 0 7px;
  position: relative;
  padding: 5px 8px;
  padding-right: 38px;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(90deg, var(--aqua), var(--cyan) 48%, var(--pink));
  border-left: 5px solid var(--cream);
  font: 900 11px var(--pixel);
}

.section-title::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  right: 9px;
  top: calc(50% - 3px);
  background: var(--ink);
  box-shadow: -9px 0 0 var(--cream), -18px 0 0 #9d2f69;
}

.project-list,
.news-list,
.track-list,
.lab-list,
.log-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-row {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid #19557e;
}

.project-row img {
  width: 134px;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  image-rendering: pixelated;
  border: 2px solid var(--cyan);
  box-shadow: 3px 3px 0 #071539;
}

.project-row b,
.track-row b,
.link-row b {
  display: block;
  color: var(--aqua);
  font: 700 12px var(--pixel);
}

.project-row b.jp-pixel {
  font-family: var(--jp-pixel);
  font-weight: 400;
}

.project-row p,
.news-list p,
.track-row p,
.lab-row p,
.log-row p,
.link-row p {
  margin: 5px 0 0;
  color: #bdcee0;
  font-size: 12px;
  line-height: 1.75;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.project-meta span {
  padding: 2px 5px;
  color: var(--ink);
  background: var(--yellow);
  font: 700 8px var(--pixel);
}

.news-list li {
  padding: 9px 0;
  border-bottom: 1px dotted #286185;
}

.news-list time,
.log-row time {
  color: var(--pink);
  font: 700 9px var(--pixel);
}

.signal-box {
  margin-top: 22px;
  padding: 13px;
  color: var(--aqua);
  background: #03101d;
  border: 2px inset #367b84;
  font: 10px/1.65 var(--pixel);
}

.signal-box p {
  margin: 0;
}

.signal-box p + p {
  margin-top: 5px;
}

.system-console {
  position: relative;
  margin: 8px 0 20px;
  padding: 26px 10px 9px;
  overflow: hidden;
  color: #9df9dc;
  background: #010716;
  border: 2px solid #247497;
  box-shadow: inset 0 0 0 2px #061c39, 3px 3px 0 #02091f;
  font: 700 9px/1.5 var(--pixel);
}

.system-console::before {
  content: "TTY0 // 9600 8N1 // LOCAL";
  position: absolute;
  inset: 0 0 auto;
  height: 18px;
  padding: 0 7px;
  color: #061128;
  background: var(--cyan);
  border-bottom: 2px solid var(--cream);
  font: 700 8px/18px var(--pixel);
}

.system-console::after {
  content: "";
  position: absolute;
  inset: 20px 0 0;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(0deg, transparent 0 3px, var(--cyan) 3px 4px);
}

.system-console p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.system-console p + p {
  margin-top: 3px;
}

.system-console span {
  color: var(--cream);
}

.system-console b {
  color: var(--lime);
  font-weight: 400;
}

.console-ready {
  color: var(--pink);
}

.console-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: status-blink 1s steps(1) infinite;
}

.track-row,
.lab-row,
.log-row,
.link-row {
  display: grid;
  align-items: start;
  gap: 11px;
  padding: 12px 4px;
  border-bottom: 1px solid #19557e;
}

.track-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
.lab-row { grid-template-columns: 80px minmax(0, 1fr); }
.log-row { grid-template-columns: 84px minmax(0, 1fr); }
.link-row { grid-template-columns: minmax(0, 1fr) auto; }

.track-number {
  color: var(--pink);
  font: 900 16px var(--pixel);
}

.track-row time {
  color: var(--yellow);
  font: 9px var(--pixel);
}

.lab-label {
  padding: 5px 7px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--white);
  font: 700 9px var(--pixel);
  text-align: center;
}

.link-row a {
  color: var(--cream);
  font: 700 10px var(--pixel);
  text-underline-offset: 3px;
}

.link-row a:hover {
  color: var(--pink);
}

.guestbook-form {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 7px;
  margin: 18px 0 24px;
}

.guestbook-form input {
  min-width: 0;
  height: 36px;
  padding: 6px 8px;
  color: var(--white);
  background: #071431;
  border: 2px inset #3ba1aa;
  font: 10px var(--pixel);
}

.guestbook-form button {
  padding: 0 14px;
  color: var(--ink);
  background: var(--aqua);
  border: 2px solid var(--white);
  box-shadow: 2px 2px 0 #071538;
  font: 700 10px var(--pixel);
  cursor: pointer;
}

.guest-entry {
  padding: 10px 0;
  border-bottom: 1px dashed #2c648c;
}

.guest-entry header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--pink);
  font: 700 9px var(--pixel);
}

.guest-entry p {
  margin: 5px 0 0;
  color: #d6e5f1;
  font-size: 12px;
}

.ticker {
  height: 28px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--aqua);
  border-top: 2px solid var(--cream);
  font: 700 9px/26px var(--pixel);
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  animation: ticker 26s linear infinite;
}

.orb-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 55px 8px 20px;
  background: rgba(7, 20, 61, 0.94);
  border-left: 2px solid #2779a4;
}

.orb-rail > p {
  margin: 0 0 4px;
  padding: 3px 4px 2px;
  color: var(--cyan);
  background: #02091f;
  border-block: 1px solid #2779a4;
  font: 700 9px var(--pixel);
}

.social-orb-slot {
  display: grid;
  justify-items: center;
  position: relative;
}

.social-orb-slot::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  z-index: 7;
  top: 2px;
  right: 2px;
  border: 2px solid #02091f;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.45);
}

.social-orb-slot.is-online::after {
  background: #8cff8a;
  box-shadow: 1px 1px 0 #02091f, 0 0 6px #7dffbe;
}

.social-orb-slot.is-pending::after {
  background: #6d7890;
}

.profile-orb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 0;
  text-decoration: none;
  color: var(--white);
  border: 4px solid var(--cream);
  border-radius: 50%;
  box-shadow: inset 5px 5px 0 rgba(255, 255, 255, 0.4), inset -6px -6px 0 rgba(0, 0, 0, 0.36), 4px 5px 0 #02091f, 0 0 9px currentColor;
  cursor: pointer;
  transition: transform 140ms steps(2), box-shadow 140ms linear;
}

.profile-orb::before {
  content: "";
  width: 23px;
  height: 8px;
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 9px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.profile-orb::after {
  content: attr(data-label);
  min-width: max-content;
  position: absolute;
  z-index: 8;
  right: calc(100% + 10px);
  top: 50%;
  padding: 5px 7px;
  pointer-events: none;
  color: var(--cream);
  background: #061128;
  border: 2px solid var(--cyan);
  box-shadow: 3px 3px 0 #02091f;
  font: 700 8px var(--pixel);
  opacity: 0;
  transform: translate(5px, -50%);
  transition: opacity 100ms linear, transform 100ms steps(2);
}

.orb-core {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  background: #061128;
  border: 2px solid #83f7e4;
  border-radius: 7px;
  box-shadow: inset 2px 2px 0 #142a4a, inset -2px -2px 0 #000817, 0 0 7px #43e5dd;
  transition: border-color 120ms linear, box-shadow 120ms linear, transform 120ms steps(2);
}

.orb-core::before {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(118, 250, 239, 0.13) 3px 4px);
}

.orb-core img {
  width: 37px;
  height: 37px;
  object-fit: contain;
  image-rendering: pixelated;
}

.social-link:hover {
  transform: translateY(-2px) rotate(3deg);
  box-shadow: inset 5px 5px 0 rgba(255, 255, 255, 0.5), inset -6px -6px 0 rgba(0, 0, 0, 0.3), 0 0 0 3px var(--pink), 5px 6px 0 #02091f, 0 0 18px currentColor;
}

.profile-orb:hover::after,
.profile-orb:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.social-link:hover .orb-core,
.social-link:focus-visible .orb-core {
  border-color: var(--yellow);
  box-shadow: inset 2px 2px 0 #142a4a, inset -2px -2px 0 #000817, 0 0 0 2px var(--cream), 0 0 11px var(--pink);
  transform: scale(0.96);
}

.social-link:active {
  transform: translate(2px, 2px) scale(0.98);
}

.social-link .orb-core::after {
  content: "↗";
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  position: absolute;
  right: -8px;
  bottom: -8px;
  z-index: 4;
  color: #061128;
  background: var(--cream);
  border: 2px solid #061128;
  border-radius: 50%;
  font: 700 11px/1 Arial, sans-serif;
  box-shadow: 1px 1px 0 var(--cyan);
}

.social-link::after {
  border-color: var(--yellow);
}

.social-pending {
  cursor: not-allowed;
  opacity: 0.58;
}

.social-pending::after {
  content: attr(data-label) " // OFFLINE";
  border-color: #70809a;
  color: #c8d3df;
}

.social-pending .orb-core::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  right: -5px;
  bottom: -5px;
  z-index: 4;
  background: #53657a;
  border: 2px solid #07143d;
  box-shadow: 1px 1px 0 #02091f;
}

.orb-mobile-label {
  display: none;
}

.orb-youtube { color: #ff5aa9; background: radial-gradient(circle at 34% 25%, #ffd2e5, #e93682 51%, #681742 79%); }
.orb-note { color: #51f2df; background: radial-gradient(circle at 34% 25%, #f5fff9, #53d8d0 48%, #146073 79%); }
.orb-x { color: #aefbff; background: radial-gradient(circle at 34% 25%, #e3fcff, #4d91a5 48%, #152f54 79%); }
.orb-github { color: #ffe679; background: radial-gradient(circle at 34% 25%, #fff4b8, #5ac7bc 48%, #163d67 79%); }

.site-footer {
  width: min(1180px, calc(100% - 28px));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 30px;
  padding: 13px 15px;
  color: var(--cream);
  background: rgba(4, 7, 34, 0.92);
  border: 2px solid #2bc9d3;
  border-top: 0;
  font: 9px var(--pixel);
}

.site-footer p {
  margin: 0;
}

@keyframes float-mascot {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-9px) rotate(-2deg); }
}

@keyframes mascot-hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes screen-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes bar {
  0% { height: 4px; }
  50% { height: 27px; }
  100% { height: 10px; }
}

@keyframes content-enter {
  from { opacity: 0.35; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes status-blink {
  0%, 72% { opacity: 1; }
  73%, 100% { opacity: 0.25; }
}

@keyframes ticker {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

@media (max-width: 980px) {
  .site-logo {
    left: 31%;
  }

  .top-mascot {
    right: 8px;
    width: 180px;
    height: 180px;
  }

  .site-shell {
    grid-template-columns: 205px minmax(0, 1fr) 88px;
  }

  .left-rail {
    padding-left: 9px;
    padding-right: 9px;
  }

  .rail-buttons {
    grid-template-columns: 88px;
    justify-content: center;
  }

  .profile-orb {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 760px) {
  body {
    background-position: center -85px, left top;
    background-size: auto 1300px, 512px 512px;
    background-attachment: scroll, scroll;
  }

  .hero-telemetry {
    display: none;
  }

  .site-top {
    min-height: 415px;
  }

  .site-logo {
    left: 0;
    right: 0;
    top: 18px;
  }

  .site-logo h1 {
    font-size: clamp(41px, 12vw, 68px);
  }

  .site-logo small {
    padding: 0 12px;
  }

  .gel-player {
    left: -10px;
    top: 140px;
    transform: scale(0.72);
    transform-origin: left top;
  }

  .top-mascot {
    right: -8px;
    top: 184px;
    width: 160px;
    height: 160px;
  }

  .mascot-callout {
    right: 8px;
    top: 330px;
  }

  .site-shell {
    grid-template-columns: 1fr;
    margin-top: -35px;
  }

  .left-rail {
    padding: 15px;
    border-right: 0;
    border-bottom: 2px solid #2779a4;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail-section,
  .rail-buttons {
    display: none;
  }

  .content-column {
    padding-left: 17px;
    padding-right: 17px;
  }

  .content-location {
    margin-left: -17px;
    margin-right: -17px;
  }

  .system-metric {
    display: none;
  }

  .content-location time {
    margin-left: auto;
  }

  .home-columns {
    grid-template-columns: 1fr;
  }

  .orb-rail {
    flex-direction: row;
    justify-content: center;
    align-items: start;
    gap: clamp(5px, 2vw, 13px);
    padding: 13px 8px 16px;
    border-left: 0;
    border-top: 2px solid #2779a4;
  }

  .orb-rail > p {
    display: none;
  }

  .profile-orb {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .profile-orb::after {
    display: none;
  }

  .social-orb-slot::after {
    top: 0;
    right: 0;
  }

  .orb-mobile-label {
    min-width: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
    color: var(--cream);
    font: 700 7px/1 var(--pixel);
  }

  .orb-mobile-label small {
    color: var(--cyan);
    font: inherit;
    font-size: 6px;
  }

  .is-pending .orb-mobile-label small {
    color: #8d9bb1;
  }
}

@media (max-width: 500px) {
  .site-top {
    width: 100%;
    min-height: 430px;
  }

  .site-logo p {
    font-size: 8px;
  }

  .gel-player {
    left: -30px;
    top: 160px;
    transform: scale(0.62);
  }

  .top-mascot {
    right: 2px;
    top: 210px;
    width: 138px;
    height: 138px;
  }

  .mascot-callout {
    top: 342px;
    font-size: 7px;
  }

  .site-shell,
  .site-footer {
    width: calc(100% - 12px);
  }

  .main-nav {
    gap: 6px;
  }

  .nav-button {
    min-height: 42px;
    grid-template-columns: 25px minmax(0, 1fr);
    padding: 4px 7px 4px 5px;
    border-width: 2px;
    font-size: 10px;
  }

  .nav-button.is-active {
    transform: translateX(2px);
  }

  .nav-button span {
    width: 22px;
    height: 22px;
  }

  .content-page h2 {
    font-size: 24px;
  }

  .welcome-line {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    font-size: 10px;
  }

  .welcome-line img {
    width: 42px;
    height: 42px;
  }

  .project-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 9px;
  }

  .project-row img {
    width: 104px;
  }

  .guestbook-form {
    grid-template-columns: 1fr;
  }

  .track-row {
    grid-template-columns: 27px minmax(0, 1fr);
  }

  .track-row time {
    grid-column: 2;
  }

  .site-footer {
    display: block;
    font-size: 8px;
    line-height: 1.5;
  }

  .site-footer p + p {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.organization-table {
  margin: 0;
  border-top: 2px solid var(--cyan);
}

.organization-table div {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.organization-table dt,
.organization-table dd {
  margin: 0;
  padding: 11px 13px;
}

.organization-table dt {
  color: var(--aqua);
  background: rgba(18, 67, 104, 0.34);
  font: 400 12px var(--jp-pixel);
}

.organization-table dd {
  color: var(--white);
  font: 400 13px/1.6 var(--sans);
}

.organization-table.compact div {
  grid-template-columns: 92px minmax(0, 1fr);
}

.organization-table.compact dt,
.organization-table.compact dd {
  padding: 8px 9px;
  font-size: 11px;
}

.status-pending,
.link-pending {
  color: var(--pink);
  font-weight: 700;
}

.link-pending {
  align-self: center;
  padding: 6px 8px;
  border: 1px solid var(--pink);
  font: 700 8px var(--pixel);
}

.document-notice {
  margin-top: 26px;
  padding: 14px 16px;
  color: var(--cream);
  background: rgba(9, 31, 59, 0.9);
  border-left: 5px solid var(--pink);
}

.document-notice b {
  color: var(--aqua);
  font: 700 9px var(--pixel);
}

.document-notice p {
  margin: 7px 0 0;
  line-height: 1.7;
}

.text-link {
  color: var(--cream);
  text-decoration-color: var(--pink);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--aqua);
}

@media (max-width: 500px) {
  .organization-table div,
  .organization-table.compact div {
    grid-template-columns: 1fr;
  }

  .organization-table dt,
  .organization-table dd {
    padding: 9px 10px;
  }
}
