:root {
  --bg: #070b0d;
  --bg-2: #0d141c;
  --surface: #111821;
  --surface-strong: #171c17;
  --surface-warm: #191610;
  --line: rgba(139, 171, 224, 0.16);
  --line-strong: rgba(240, 201, 119, 0.36);
  --text: #f6efe2;
  --muted: #b9b0a2;
  --dim: #8f9cac;
  --green: #85c74e;
  --green-2: #496a46;
  --blue: #76a5ff;
  --brass: #d0a45c;
  --amber: #f0c977;
  --wood: #9c693b;
  --maroon: #211215;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: #070b0d;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 76px 0 auto;
  z-index: 0;
  height: 38vh;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(240, 201, 119, 0.055) 49.8% 50.2%, transparent 50.2%),
    linear-gradient(transparent 0 49.8%, rgba(240, 201, 119, 0.04) 49.8% 50.2%, transparent 50.2%);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
  opacity: 0.5;
}

.live-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 16% 16%, rgba(118, 165, 255, 0.16), transparent 66%),
    radial-gradient(860px 480px at 74% 24%, rgba(133, 199, 78, 0.13), transparent 62%),
    radial-gradient(620px 460px at 88% 78%, rgba(208, 164, 92, 0.12), transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 86px 86px,
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 86px 86px,
    linear-gradient(122deg, #050809 0 48%, rgba(6, 19, 20, 0.94) 48% 66%, rgba(20, 15, 22, 0.78) 66% 100%);
  animation: ambientShift 30s linear infinite;
}

.live-background::before {
  content: "";
  position: absolute;
  inset: -22% -10%;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(133, 199, 78, 0.14) 34.15% 34.48%, transparent 34.8% 100%),
    linear-gradient(58deg, transparent 0 60%, rgba(240, 201, 119, 0.12) 60.12% 60.38%, transparent 60.72% 100%),
    linear-gradient(102deg, transparent 0 47%, rgba(118, 165, 255, 0.1) 47.12% 47.38%, transparent 47.75% 100%),
    repeating-linear-gradient(126deg, transparent 0 104px, rgba(255, 255, 255, 0.034) 105px 106px, transparent 107px 220px);
  background-size:
    760px 460px,
    680px 520px,
    620px 420px,
    560px 560px;
  background-position:
    -8vw 24vh,
    52vw 7vh,
    36vw 52vh,
    0 0;
  opacity: 0.64;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  animation: lightDrift 19s ease-in-out infinite alternate;
}

.live-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(240, 201, 119, 0.13) 0 1px, transparent 1.6px) 0 0 / 62px 62px,
    linear-gradient(100deg, transparent 0 38%, rgba(255, 255, 255, 0.048) 45%, transparent 52% 100%),
    linear-gradient(180deg, transparent 0, rgba(118, 165, 255, 0.044) 49%, transparent 53% 100%);
  background-size:
    62px 62px,
    240% 100%,
    100% 210px;
  opacity: 0.33;
  mix-blend-mode: screen;
  animation: scanMove 10s linear infinite;
}

.live-board {
  position: absolute;
  right: clamp(2rem, 9vw, 13rem);
  top: clamp(8rem, 19vh, 15rem);
  width: clamp(250px, 25vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 201, 119, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
    repeating-conic-gradient(
      from 45deg,
      rgba(133, 199, 78, 0.12) 0 25%,
      rgba(118, 165, 255, 0.075) 0 50%
    ) 0 0 / 25% 25%,
    rgba(8, 13, 16, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 90px rgba(0, 0, 0, 0.24);
  opacity: 0.2;
  transform: rotate(-17deg) skewX(-5deg);
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.24), #000 24% 70%, rgba(0, 0, 0, 0.14));
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.24), #000 24% 70%, rgba(0, 0, 0, 0.14));
  animation: boardFloat 17s ease-in-out infinite;
}

.live-board::before,
.live-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.live-board::before {
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(133, 199, 78, 0.16) 48.2% 48.7%, transparent 49% 100%),
    linear-gradient(0deg, transparent 0 62%, rgba(240, 201, 119, 0.13) 62.2% 62.7%, transparent 63% 100%);
  animation: boardFocus 5.4s ease-in-out infinite;
}

.live-board::after {
  inset: 28%;
  border: 1px solid rgba(240, 201, 119, 0.18);
  background:
    radial-gradient(circle at 34% 42%, rgba(133, 199, 78, 0.24) 0 4px, transparent 5px),
    radial-gradient(circle at 66% 58%, rgba(118, 165, 255, 0.18) 0 4px, transparent 5px);
  animation: boardFocus 4.2s ease-in-out infinite reverse;
}

.live-routes {
  position: absolute;
  inset: 0;
}

.route {
  --route-travel: clamp(260px, 34vw, 560px);
  position: absolute;
  height: 2px;
  width: var(--route-travel);
  border-radius: 999px;
  transform-origin: left center;
  opacity: 0.48;
  filter: drop-shadow(0 0 9px currentColor);
}

.route::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, currentColor 18% 32%, rgba(255, 255, 255, 0.42) 50%, currentColor 68% 82%, transparent);
  animation: routeFlow 4.8s linear infinite;
}

.route::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: rgba(7, 11, 13, 0.64);
  box-shadow: 0 0 16px currentColor;
  animation: routePacket 4.8s linear infinite;
}

.route-a {
  left: 12vw;
  top: 30vh;
  color: var(--green);
  transform: rotate(11deg);
}

.route-b {
  left: 22vw;
  top: 55vh;
  color: var(--blue);
  transform: rotate(-17deg);
}

.route-c {
  left: 55vw;
  top: 38vh;
  color: var(--amber);
  transform: rotate(62deg);
}

.route-d {
  left: 6vw;
  top: 76vh;
  --route-travel: min(28vw, 380px);
  color: var(--brass);
  transform: rotate(-8deg);
}

.route-b::before,
.route-b::after {
  animation-delay: -1s;
}

.route-c::before,
.route-c::after {
  animation-delay: -2s;
}

.route-d::before,
.route-d::after {
  animation-delay: -2.7s;
}

.signal {
  position: absolute;
  width: 0.82rem;
  height: 0.82rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: rgba(7, 11, 13, 0.62);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  transform: rotate(45deg) scale(0.9);
  opacity: 0.66;
  animation: signalBlink 3.8s ease-in-out infinite;
}

.signal::before {
  content: "";
  position: absolute;
  inset: -0.48rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  opacity: 0;
  animation: signalRing 3.8s ease-in-out infinite;
}

.signal-1 {
  left: 16vw;
  top: 22vh;
  color: var(--green);
}

.signal-2 {
  left: 39vw;
  top: 34vh;
  color: var(--blue);
  animation-delay: -0.9s;
}

.signal-2::before {
  animation-delay: -0.9s;
}

.signal-3 {
  left: 68vw;
  top: 18vh;
  color: var(--amber);
  animation-delay: -1.7s;
}

.signal-3::before {
  animation-delay: -1.7s;
}

.signal-4 {
  left: 77vw;
  top: 62vh;
  color: var(--green);
  animation-delay: -2.2s;
}

.signal-4::before {
  animation-delay: -2.2s;
}

.signal-5 {
  left: 21vw;
  top: 82vh;
  color: var(--brass);
  animation-delay: -2.7s;
}

.signal-5::before {
  animation-delay: -2.7s;
}

.signal-6 {
  left: 49vw;
  top: 72vh;
  color: var(--blue);
  animation-delay: -3.3s;
}

.signal-6::before {
  animation-delay: -3.3s;
}

.live-coordinates {
  position: absolute;
  inset: 0;
  color: rgba(246, 239, 226, 0.16);
  font-family: var(--mono);
  font-size: clamp(0.74rem, 1.2vw, 1rem);
}

.live-coordinates span {
  position: absolute;
  animation: coordinateDrift 10s ease-in-out infinite;
}

.live-coordinates span:nth-child(1) {
  left: 9vw;
  top: 48vh;
}

.live-coordinates span:nth-child(2) {
  left: 31vw;
  top: 16vh;
  color: rgba(118, 165, 255, 0.28);
  animation-delay: -2.4s;
}

.live-coordinates span:nth-child(3) {
  left: 61vw;
  top: 79vh;
  color: rgba(133, 199, 78, 0.26);
  animation-delay: -4.2s;
}

.live-coordinates span:nth-child(4) {
  left: 82vw;
  top: 32vh;
  color: rgba(240, 201, 119, 0.26);
  animation-delay: -6s;
}

.move-stream,
.piece-ghosts,
.analysis-rings {
  position: absolute;
  inset: 0;
}

.move-chip {
  position: absolute;
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  color: rgba(246, 239, 226, 0.68);
  background: rgba(8, 14, 18, 0.64);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 12px 34px rgba(0, 0, 0, 0.18);
  font-family: var(--mono);
  font-size: clamp(0.74rem, 0.9vw, 0.95rem);
  font-weight: 760;
  letter-spacing: 0.04em;
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
  animation: moveChipFloat 12s ease-in-out infinite;
}

.move-chip::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.48rem;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  transform: rotate(45deg);
}

.move-chip-a {
  left: 9vw;
  top: 19vh;
  color: rgba(133, 199, 78, 0.82);
}

.move-chip-b {
  left: 72vw;
  top: 14vh;
  color: rgba(240, 201, 119, 0.78);
  animation-delay: -2.1s;
}

.move-chip-c {
  left: 58vw;
  top: 55vh;
  color: rgba(118, 165, 255, 0.78);
  animation-delay: -4.3s;
}

.move-chip-d {
  left: 18vw;
  top: 70vh;
  color: rgba(240, 201, 119, 0.72);
  animation-delay: -6.6s;
}

.move-chip-e {
  left: 80vw;
  top: 78vh;
  color: rgba(133, 199, 78, 0.72);
  animation-delay: -8.4s;
}

.piece-ghost {
  --piece-glow: rgba(255, 255, 255, 0.16);
  --piece-opacity: 0.08;
  position: absolute;
  display: block;
  width: clamp(5rem, 13vw, 14rem);
  line-height: 0;
  transform: rotate(-10deg);
  transform-origin: center;
  animation: pieceGhostDrift 24s ease-in-out infinite;
}

.piece-ghost img {
  display: block;
  width: 100%;
  height: auto;
  opacity: var(--piece-opacity);
  filter: drop-shadow(0 0 46px var(--piece-glow));
  pointer-events: none;
  user-select: none;
}

.piece-king {
  --piece-glow: rgba(133, 199, 78, 0.26);
  --piece-opacity: 0.09;
  left: 49vw;
  top: 6vh;
}

.piece-knight {
  --piece-glow: rgba(118, 165, 255, 0.26);
  --piece-opacity: 0.085;
  left: 3vw;
  top: 58vh;
  animation-delay: -7s;
}

.piece-rook {
  --piece-glow: rgba(240, 201, 119, 0.24);
  --piece-opacity: 0.085;
  right: 2vw;
  top: 42vh;
  animation-delay: -12s;
}

.analysis-ring {
  position: absolute;
  width: clamp(4.8rem, 9vw, 8.5rem);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: rgba(133, 199, 78, 0.25);
  opacity: 0;
  transform: rotate(45deg) scale(0.65);
  animation: analysisRingPulse 7s ease-in-out infinite;
}

.analysis-ring::before,
.analysis-ring::after {
  content: "";
  position: absolute;
  inset: 21%;
  border: 1px solid currentColor;
  border-radius: 5px;
}

.analysis-ring::after {
  inset: 44%;
  background: currentColor;
}

.ring-a {
  left: 64vw;
  top: 24vh;
}

.ring-b {
  left: 25vw;
  top: 44vh;
  color: rgba(118, 165, 255, 0.23);
  animation-delay: -2.3s;
}

.ring-c {
  left: 74vw;
  top: 63vh;
  color: rgba(240, 201, 119, 0.22);
  animation-delay: -4.8s;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.site-header,
main {
  position: relative;
}

main {
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 0 2.6rem;
  background: rgba(7, 11, 13, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1.18rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--brass);
  animation: markPulse 4s ease-in-out infinite;
}

.brand-mark svg,
.project-icon svg,
.button svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button svg {
  fill: currentColor;
  stroke: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brass);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(560px, calc(100vh - 220px));
  max-width: 1500px;
  margin: 0 auto;
  padding: 3.25rem 2.6rem 3.35rem;
  border-bottom: 1px solid rgba(240, 201, 119, 0.26);
}

.hero-copy {
  max-width: 820px;
  position: relative;
  z-index: 1;
  animation: riseIn 620ms ease both;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.25rem, 5.5vw, 6.2rem);
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  display: block;
  animation: titleStep 620ms ease both;
}

.hero h1 span:nth-child(2) {
  animation-delay: 90ms;
}

.hero h1 span:nth-child(3) {
  animation-delay: 180ms;
}

.hero p {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.36rem);
  line-height: 1.58;
}

.hero-actions,
.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-height: 3.5rem;
  padding: 0 1.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  font-size: 0.98rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button span {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
}

.button.primary {
  background: linear-gradient(180deg, #7fb64f, #3f7331);
  border-color: rgba(133, 199, 78, 0.72);
  color: #f8fff7;
  box-shadow:
    inset 0 2px rgba(255, 255, 255, 0.16),
    0 4px #2d5223,
    0 18px 44px rgba(0, 0, 0, 0.34);
}

.button.secondary {
  background: rgba(17, 24, 33, 0.72);
  border-color: rgba(208, 164, 92, 0.28);
  color: var(--text);
}

.button.small {
  min-height: 2.72rem;
  padding: 0 1.02rem;
  font-size: 0.86rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow:
    inset 0 2px rgba(255, 255, 255, 0.2),
    0 4px #2d5223,
    0 24px 60px rgba(133, 199, 78, 0.2);
}

.projects-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 4rem 2.6rem 3rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.35rem;
  border-top: 1px solid rgba(240, 201, 119, 0.14);
  padding-top: 1.6rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.2rem;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid rgba(139, 171, 224, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(17, 24, 33, 0.74);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  animation: cardIn 640ms ease both;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.4rem;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.82;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:nth-child(2) {
  animation-delay: 90ms;
}

.project-card:nth-child(3) {
  animation-delay: 180ms;
}

.project-card:nth-child(4) {
  animation-delay: 270ms;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.play-card {
  border-color: rgba(133, 199, 78, 0.42);
  background:
    radial-gradient(260px 160px at 0% 0%, rgba(133, 199, 78, 0.14), transparent 70%),
    linear-gradient(145deg, rgba(12, 14, 18, 0.9), rgba(9, 13, 12, 0.88));
}

.play-card::after {
  background:
    linear-gradient(90deg, rgba(156, 105, 59, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(156, 105, 59, 0.16) 1px, transparent 1px),
    rgba(60, 88, 42, 0.12);
  background-size: 38px 38px;
}

.bookup-card {
  border-color: rgba(118, 165, 255, 0.36);
  background:
    radial-gradient(240px 140px at 8% 0%, rgba(118, 165, 255, 0.14), transparent 68%),
    linear-gradient(145deg, rgba(17, 24, 33, 0.94), rgba(8, 13, 20, 0.92));
}

.bookup-card::after {
  background:
    linear-gradient(90deg, rgba(118, 165, 255, 0.2), transparent 18%, transparent 70%, rgba(118, 165, 255, 0.12)),
    rgba(10, 16, 25, 0.72);
}

.connections-card {
  border-color: rgba(208, 164, 92, 0.42);
  background:
    radial-gradient(240px 140px at 8% 0%, rgba(240, 201, 119, 0.16), transparent 68%),
    linear-gradient(145deg, rgba(25, 22, 16, 0.92), rgba(9, 13, 10, 0.9));
}

.connections-card::after {
  background:
    radial-gradient(circle at 18% 50%, rgba(240, 201, 119, 0.42) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(240, 201, 119, 0.12), transparent),
    rgba(42, 31, 12, 0.42);
  background-size: 52px 100%, auto, auto;
}

.progressive-card {
  border-color: rgba(87, 196, 182, 0.38);
  background:
    radial-gradient(240px 140px at 8% 0%, rgba(87, 196, 182, 0.13), transparent 68%),
    linear-gradient(145deg, rgba(12, 25, 25, 0.94), rgba(8, 15, 18, 0.92));
}

.progressive-card::after {
  background:
    linear-gradient(135deg, transparent 42%, rgba(87, 196, 182, 0.12) 43% 44%, transparent 45%),
    rgba(8, 25, 25, 0.5);
  background-size: 36px 36px;
}

.project-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--green);
  background: rgba(114, 216, 121, 0.08);
  transition: transform 180ms ease, color 180ms ease;
}

.project-card:hover .project-icon {
  transform: rotate(-3deg) scale(1.05);
}

.project-icon.book {
  overflow: hidden;
  color: var(--blue);
  background: #07101d;
}

.project-icon.book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-icon.graph {
  color: var(--brass);
  background: rgba(240, 182, 75, 0.08);
}

.project-icon.analysis {
  color: #72d8ca;
  background: rgba(87, 196, 182, 0.09);
}

.project-token {
  display: inline-flex;
  align-items: center;
  min-height: 1.68rem;
  margin-bottom: 0.75rem;
  padding: 0 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--brass);
  background: rgba(255, 255, 255, 0.045);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-card .project-token {
  color: var(--green);
  border-color: rgba(133, 199, 78, 0.35);
}

.bookup-card .project-token {
  color: var(--blue);
  border-color: rgba(118, 165, 255, 0.35);
}

.progressive-card .project-token {
  color: #72d8ca;
  border-color: rgba(87, 196, 182, 0.35);
}

.project-card h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.project-card p {
  margin: 0.68rem 0 0;
  color: var(--muted);
  line-height: 1.56;
}

.feature-list {
  display: grid;
  gap: 0.62rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 99px;
  background: var(--green);
  animation: dotPulse 2.6s ease-in-out infinite;
}

.bookup-card .feature-list li::before {
  background: var(--blue);
}

.connections-card .feature-list li::before {
  background: var(--brass);
}

.progressive-card .feature-list li::before {
  background: #57c4b6;
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 780px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 3.4rem 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    padding: 1rem 1.1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem 1.8rem;
    font-size: 0.9rem;
  }

  .hero,
  .projects-section {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    width: 100%;
    max-width: 100%;
  }

  .hero {
    padding-top: 3rem;
  }

  .projects-section {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3rem);
    max-width: 100%;
  }

  .hero p {
    max-width: 31ch;
    overflow-wrap: break-word;
  }

  .hero-copy,
  .hero-actions,
  .section-heading,
  .project-grid {
    max-width: 100%;
  }

  .hero-actions,
  .project-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 1.6rem;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .live-board {
    top: 7rem;
    right: -34vw;
    width: 74vw;
    opacity: 0.12;
  }

  .route {
    --route-travel: 68vw;
    opacity: 0.26;
  }

  .route-c,
  .signal-3,
  .signal-4,
  .move-chip-b,
  .move-chip-d,
  .move-chip-e,
  .piece-rook,
  .analysis-ring {
    display: none;
  }

  .move-chip {
    min-height: 1.72rem;
    padding: 0 0.55rem;
    font-size: 0.68rem;
    opacity: 0.5;
  }

  .move-chip-a {
    left: 52vw;
    top: 15vh;
  }

  .move-chip-c {
    left: 12vw;
    top: 52vh;
  }

  .piece-ghost {
    width: 7rem;
    opacity: 0.6;
  }

  .piece-king {
    left: 45vw;
    top: 22vh;
  }

  .piece-knight {
    left: -6vw;
    top: 65vh;
  }

  .live-coordinates span:nth-child(4) {
    display: none;
  }

  .live-background,
  .live-background::before,
  .live-background::after,
  .live-board,
  .live-board::before,
  .live-board::after,
  .route::before,
  .route::after,
  .signal,
  .signal::before,
  .live-coordinates span,
  .move-chip,
  .piece-ghost,
  .analysis-ring {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@keyframes ambientShift {
  from {
    background-position:
      center,
      center,
      0 0,
      0 0,
      0 0;
  }
  to {
    background-position:
      center,
      center,
      74px 37px,
      -37px 74px,
      0 0;
  }
}

@keyframes lightDrift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.02);
  }
}

@keyframes scanMove {
  from {
    background-position:
      0 0,
      150% 0,
      0 0;
  }
  to {
    background-position:
      54px 54px,
      -70% 0,
      0 210px;
  }
}

@keyframes boardFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-17deg) skewX(-5deg);
  }
  50% {
    transform: translate3d(-12px, 16px, 0) rotate(-14deg) skewX(-5deg);
  }
}

@keyframes boardFocus {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.96);
  }
}

@keyframes routeFlow {
  from {
    clip-path: inset(0 100% 0 0);
  }
  45% {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes routePacket {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.72);
  }
  18% {
    opacity: 0.9;
  }
  78% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--route-travel) - 50%), -50%) rotate(45deg) scale(1.08);
  }
}

@keyframes signalBlink {
  0%,
  100% {
    opacity: 0.24;
    transform: rotate(45deg) scale(0.82);
  }
  45%,
  55% {
    opacity: 0.78;
    transform: rotate(45deg) scale(1.14);
  }
}

@keyframes signalRing {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.58);
  }
  45% {
    opacity: 0.28;
    transform: scale(1);
  }
  72% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes moveChipFloat {
  0%,
  100% {
    opacity: 0.44;
    transform: translate3d(0, 8px, 0);
  }
  22%,
  62% {
    opacity: 0.78;
  }
  50% {
    transform: translate3d(16px, -12px, 0);
  }
}

@keyframes pieceGhostDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
  }
  50% {
    transform: translate3d(-18px, 16px, 0) rotate(-7deg);
  }
}

@keyframes analysisRingPulse {
  0%,
  100% {
    opacity: 0;
    transform: rotate(45deg) scale(0.62);
  }
  42% {
    opacity: 0.22;
    transform: rotate(45deg) scale(1);
  }
  72% {
    opacity: 0;
    transform: rotate(45deg) scale(1.34);
  }
}

@keyframes coordinateDrift {
  0%,
  100% {
    opacity: 0.12;
    transform: translateY(0);
  }
  50% {
    opacity: 0.32;
    transform: translateY(-12px);
  }
}

@keyframes markPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(208, 164, 92, 0));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(208, 164, 92, 0.36));
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes titleStep {
  from {
    opacity: 0;
    transform: translateY(0.18em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(133, 199, 78, 0);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(133, 199, 78, 0.08);
  }
}

/* Keep keyboard access and high-contrast support with the original theme. */
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.art-credit {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2.6rem 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.art-credit a {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .art-credit {
    padding-inline: 1.1rem;
  }
}

@media (forced-colors: active) {
  .live-background,
  body::before {
    display: none;
  }

  .button,
  .project-card,
  .project-icon {
    border-color: CanvasText;
  }
}
