@charset "UTF-8";
/* ==========================================================================
   robclifton.com / PERSONAL TERMINAL 03
   Plain CSS, no build step. Every effect is progressive: the content reads
   fine without JavaScript, and motion is removed for prefers-reduced-motion.

   01 Tokens & base      08 ScoreNet section     15 Contact
   02 Background         09 Callout              16 404
   03 Header & dock      10 Footer               17 Terminal
   04 Buttons & links    11 Reveal & motion      18 Patch Run
   05 Home hero          12 Inner page intro     19 Boot & toast
   06 Highlights strip   13 About                20 Responsive
   07 Work & radar       14 Shared panels        21 A11y, forced colors, print
   ========================================================================== */

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- 01 Tokens & base ---------- */
:root {
  color-scheme: dark;
  --bg: #040a08;
  --ink: #eef6ec;
  --muted: #b0c0b4;
  --quiet: #8ea295;
  --lime: #acf778;
  --lime-hi: #d9ffbf;
  --cyan: #7fe8f2;
  --violet: #a991ff;
  --red: #ff6b81;
  --amber: #ffc85c;
  --line: rgba(172, 247, 120, .11);
  --line-strong: rgba(172, 247, 120, .24);
  --panel: linear-gradient(180deg, rgba(16, 30, 24, .74), rgba(7, 14, 11, .8));
  --grad: linear-gradient(100deg, #acf778 0%, #7fe8f2 100%);
  --display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 22px;
  --r-md: 16px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--bg);
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
::selection { background: var(--lime); color: #06100a; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 26px;
  font: 500 11.5px/1.6 var(--mono);
  letter-spacing: .16em;
  color: var(--lime);
}
.eyebrow::before {
  content: ""; flex: 0 0 22px; height: 1px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(172, 247, 120, .7);
}
.eyebrow.bare::before { display: none; }
h2 {
  font: 600 clamp(34px, 4.2vw, 60px)/1.06 var(--display);
  letter-spacing: -.045em;
  margin: 0 0 26px;
}
h2 em, h1 em, .grad-text {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.skip {
  position: fixed; top: -100px; left: 20px; z-index: 1000;
  padding: 12px 22px; border-radius: 12px;
  background: var(--lime); color: #06100a;
  font: 700 14px var(--display);
}
.skip:focus { top: 14px; }
kbd {
  display: inline-block;
  font: 500 10.5px/1 var(--mono);
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
}
main:focus { outline: none; }

/* ---------- 02 Background: aurora, signal field, grain ---------- */
body::before {
  content: "";
  position: fixed; inset: -20vmax; z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(38vmax 28vmax at 18% 12%, rgba(172, 247, 120, .11), transparent 62%),
    radial-gradient(34vmax 26vmax at 86% 18%, rgba(127, 232, 242, .10), transparent 62%),
    radial-gradient(44vmax 34vmax at 60% 96%, rgba(140, 112, 255, .075), transparent 62%);
  animation: aurora 30s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.field {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  pointer-events: none;
}
@keyframes aurora { to { transform: translate3d(3vmax, -2vmax, 0) rotate(5deg) scale(1.08); } }

/* ---------- 03 Header & mobile dock ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: 14px;
  view-transition-name: site-header;
}
.header-inner {
  position: relative;
  width: min(1392px, calc(100% - 48px));
  margin: auto;
  min-height: 68px;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 12px;
  border-radius: 20px;
  border: 1px solid rgba(172, 247, 120, .14);
  background: linear-gradient(180deg, rgba(14, 26, 21, .7), rgba(7, 14, 11, .6));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: background .4s, border-color .4s, min-height .4s var(--ease);
}
.site-header.is-scrolled .header-inner {
  background: linear-gradient(180deg, rgba(10, 19, 15, .88), rgba(5, 11, 9, .84));
  border-color: rgba(172, 247, 120, .2);
  min-height: 62px;
}
.identity { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-right: 6px; }
.monogram {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  font: 700 16px/1 var(--mono);
  color: var(--lime);
  background: linear-gradient(#08120e, #08120e) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 24px -6px rgba(172, 247, 120, .55);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.caret { animation: blink 1.1s steps(1) infinite; }
.identity:hover .monogram { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 34px -4px rgba(172, 247, 120, .8); }
.identity-text { font: 700 14px/1.25 var(--display); letter-spacing: .09em; }
.identity-text small {
  display: block; margin-top: 4px;
  font: 500 9.5px/1.4 var(--mono);
  letter-spacing: .15em;
  color: var(--quiet);
}
.main-nav {
  position: relative;
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
  font: 500 14.5px/1 var(--display);
}
.main-nav a {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--muted);
  transition: color .25s;
}
.main-nav a:hover, .main-nav a[aria-current] { color: var(--ink); }
.main-nav a[aria-current]:not(.nav-contact)::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
}
.main-nav .ext { font-size: .85em; opacity: .7; }
.nav-glide {
  position: absolute; left: 0; top: 50%;
  width: 0; height: 42px;
  border-radius: 12px;
  background: rgba(172, 247, 120, .07);
  border: 1px solid rgba(172, 247, 120, .16);
  opacity: 0;
  transform: translate(0, -50%);
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s;
  pointer-events: none;
}
.main-nav .nav-contact {
  margin-left: 8px;
  padding: 12px 18px;
  color: var(--lime);
  background: linear-gradient(rgba(8, 16, 12, .92), rgba(8, 16, 12, .92)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  transition: color .25s, box-shadow .35s;
}
.main-nav .nav-contact:hover, .main-nav .nav-contact[aria-current] {
  color: #06100a;
  background: var(--grad) padding-box, var(--grad) border-box;
  box-shadow: 0 0 30px -6px rgba(172, 247, 120, .65);
}
.term-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px;
  padding: 0 9px 0 13px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(172, 247, 120, .04);
  color: var(--lime);
  font: 700 13px/1 var(--mono);
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .35s;
}
.term-trigger:hover { border-color: rgba(172, 247, 120, .55); background: rgba(172, 247, 120, .09); box-shadow: 0 0 26px -8px rgba(172, 247, 120, .7); }
.scroll-progress {
  position: absolute; left: 20px; right: 20px; bottom: -1px;
  height: 2px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  box-shadow: 0 0 12px rgba(172, 247, 120, .7);
  pointer-events: none;
}
.dock { display: none; }

/* ---------- 04 Buttons & links ---------- */
.button {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px;
  padding: 14px 16px 14px 24px;
  border-radius: 15px;
  border: 1px solid transparent;
  font: 600 15.5px/1 var(--display);
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .35s, color .25s, border-color .25s, background-color .25s;
}
.button.primary {
  color: #06100a;
  background: var(--grad);
  box-shadow: 0 12px 40px -14px rgba(172, 247, 120, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.button.primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.button.primary:hover::after { transform: translateX(120%); }
.button.primary:hover { box-shadow: 0 16px 54px -10px rgba(172, 247, 120, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.button.secondary {
  color: var(--lime);
  background: linear-gradient(rgba(8, 16, 12, .9), rgba(8, 16, 12, .9)) padding-box,
              linear-gradient(100deg, rgba(172, 247, 120, .55), rgba(127, 232, 242, .55)) border-box;
}
.button.secondary:hover {
  background: linear-gradient(rgba(18, 34, 26, .92), rgba(18, 34, 26, .92)) padding-box, var(--grad) border-box;
  box-shadow: 0 0 34px -10px rgba(172, 247, 120, .65);
}
.button.ghost { color: var(--muted); border-color: rgba(255, 255, 255, .14); background: transparent; padding-right: 24px; }
.button.ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, .34); }
.btn-icon {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: rgba(6, 16, 10, .13);
  font-size: 15px;
  transition: transform .5s var(--ease);
}
.button.secondary .btn-icon { background: rgba(172, 247, 120, .1); }
.button:hover .btn-icon.diag { transform: rotate(45deg); }
.button:hover .btn-icon.down { transform: translateY(3px); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font: 600 15px/1.2 var(--display);
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--lime), var(--cyan)) left calc(100% - 9px) / 0 1px no-repeat,
    linear-gradient(rgba(172, 247, 120, .35), rgba(172, 247, 120, .35)) left calc(100% - 9px) / 100% 1px no-repeat;
  transition: background-size .55s var(--ease), color .25s;
}
.text-link:hover { color: var(--lime); background-size: 100% 1px, 100% 1px; }
.text-link span[aria-hidden] { transition: transform .45s var(--ease); }
.text-link:hover span[aria-hidden] { transform: translate(2px, -2px); }

/* ---------- 05 Home hero ---------- */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  min-height: min(900px, calc(100svh - 96px));
  padding-block: 48px 84px;
}
.hero-copy { position: relative; z-index: 1; container-type: inline-size; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 30px;
  padding: 9px 15px 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(172, 247, 120, .05);
  font: 500 11.5px/1.4 var(--mono);
  letter-spacing: .15em;
  color: var(--lime);
}
.small-square {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse-sq 2.4s ease-in-out infinite;
}
.hero-name {
  margin: 0 0 34px;
  font: 700 clamp(70px, 10.4vw, 162px)/.84 var(--display);
  font-size: min(clamp(70px, 10.4vw, 162px), 26cqw);
  letter-spacing: -.065em;
}
.name-visual { display: block; }
.name-visual .word { display: inline-block; white-space: nowrap; }
.name-visual .ch {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 25%, #9fb6a6 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  transition: transform .4s var(--ease), filter .4s;
}
.name-visual .ch.is-hot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(-.04em);
  filter: drop-shadow(0 0 22px rgba(172, 247, 120, .55));
}
.name-dot {
  display: inline-block;
  color: var(--lime);
  text-shadow: 0 0 34px rgba(172, 247, 120, .75);
  animation: dot-pulse 2.6s ease-in-out infinite;
}
.hero-tagline {
  margin: 0 0 18px;
  font: 600 clamp(25px, 2.35vw, 33px)/1.22 var(--display);
  letter-spacing: -.035em;
}
.hero-tagline span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-intro { max-width: 440px; margin: 0 0 34px; color: var(--muted); font-size: 17.5px; line-height: 1.7; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-location {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 38px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 12, 10, .55);
  font: 500 11.5px/1.5 var(--mono);
  letter-spacing: .03em;
  color: var(--quiet);
}
.divider { color: rgba(172, 247, 120, .4); }
.signal {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.signal::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--lime);
  animation: ping 2.2s var(--ease) infinite;
}

/* hero visual: orbit rings + ScoreNet card */
.hero-visual { position: relative; }
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  border-radius: 50%; pointer-events: none;
  translate: -50% -50%;
}
.hero-visual::before {
  width: 122%; aspect-ratio: 1;
  border: 1px dashed rgba(172, 247, 120, .13);
  animation: spin 90s linear infinite;
}
.hero-visual::after {
  width: 92%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(127, 232, 242, .13), rgba(172, 247, 120, .05) 45%, transparent 68%);
}
.orbit-dot {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 122%; aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  animation: spin 18s linear infinite;
}
.orbit-dot::before {
  content: ""; position: absolute; left: 50%; top: -4px;
  width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px 2px var(--cyan);
}
.hero-project {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--panel);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow), 0 0 80px -40px rgba(127, 232, 242, .5);
  transform-style: preserve-3d;
  transition: transform .7s var(--ease);
}
.hero-project.is-tilting { transition: transform .15s linear; }
.card-glare {
  position: absolute; inset: 0; z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .09), transparent 42%);
  opacity: 0;
  transition: opacity .4s;
}
.hero-project.is-tilting .card-glare { opacity: 1; }
.terminal-chrome {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: .1em;
  color: var(--quiet);
}
.terminal-chrome > span:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); }
.chrome-lights { display: inline-flex; gap: 6px; }
.chrome-lights i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.chrome-lights i:first-child { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.scorenet-word { display: flex; align-items: center; gap: 11px; font: 700 28px/1 var(--display); letter-spacing: -.045em; }
.scorenet-word > span > span { color: #87e5ed; }
.scorenet-word img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 22px -4px rgba(127, 232, 242, .6); }
.project-type {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(127, 232, 242, .25);
  font: 500 9.5px/1.3 var(--mono);
  letter-spacing: .14em;
  color: var(--cyan);
}
.game-display {
  position: relative;
  margin: 0 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(127, 232, 242, .2);
  background: #060b16;
}
.game-display > a { position: relative; display: block; overflow: hidden; }
.game-display img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: transform 1s var(--ease); }
.game-display > a:hover img { transform: scale(1.03); }
.game-display .shot-next { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform 1s var(--ease); }
.game-display .shot-next.is-in { opacity: 1; }
.screen-fx {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, .5));
}
.screen-fx::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(127, 232, 242, .09), transparent);
  transform: translateY(-110%);
  animation: beam 6s linear infinite;
}
.hud-corners {
  position: absolute; inset: 10px; pointer-events: none; opacity: .75;
  --c: rgba(172, 247, 120, .85);
  background:
    linear-gradient(var(--c), var(--c)) top left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 16px no-repeat;
}
.is-glitch .game-display img { animation: glitch .45s steps(3) both; }
.game-display figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  padding: 11px 14px;
  border-top: 1px solid rgba(127, 232, 242, .16);
  background: rgba(8, 14, 20, .9);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
}
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--quiet); text-align: right; }
.rec::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 8px var(--red);
  animation: blink 1.4s steps(1) infinite;
}
.game-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 16px 0; }
.game-picker button {
  position: relative; overflow: hidden;
  min-height: 48px;
  padding: 10px 8px;
  border: 1px solid rgba(172, 247, 120, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .07em;
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, transform .35s var(--ease), box-shadow .3s;
}
.game-picker button:hover { border-color: rgba(172, 247, 120, .45); color: var(--ink); transform: translateY(-1px); }
.game-picker button > span { color: var(--quiet); margin-right: 6px; }
.game-picker button[aria-pressed="true"] {
  border-color: rgba(172, 247, 120, .6);
  background: rgba(172, 247, 120, .08);
  color: var(--lime);
  box-shadow: 0 0 26px -8px rgba(172, 247, 120, .55);
}
.game-picker button[aria-pressed="true"] > span { color: var(--lime); }
.pick-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
}
.game-picker button[aria-pressed="true"] .pick-progress { transform: scaleX(1); }
.is-autoplay .game-picker button[aria-pressed="true"] .pick-progress { animation: pick 6s linear both; }
.is-autoplay.is-paused .game-picker button[aria-pressed="true"] .pick-progress { animation-play-state: paused; }
.project-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 20px 20px; }
.project-footer p { margin: 0; font: 500 14px/1.45 var(--display); color: var(--muted); }
.project-footer strong { font-weight: 600; color: var(--ink); }
.project-launch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 6px 10px 14px;
  border-radius: 12px;
  color: var(--lime);
  font: 600 14px var(--display);
  transition: background .25s;
}
.project-launch:hover { background: rgba(172, 247, 120, .08); }
.project-launch span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  background: rgba(172, 247, 120, .1); transition: transform .45s var(--ease);
}
.project-launch:hover span { transform: rotate(45deg); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  translate: -50% 0;
  font: 500 10px var(--mono); letter-spacing: .3em; color: var(--quiet);
}
.scroll-cue i { position: relative; width: 1px; height: 42px; background: rgba(172, 247, 120, .18); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px;
  background: var(--lime); box-shadow: 0 0 8px var(--lime);
  animation: cue 2s var(--ease) infinite;
}

/* holographic animated edge (used by key panels) */
.holo { position: relative; isolation: isolate; }
.holo::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(from var(--angle), transparent 0 52%, rgba(172, 247, 120, .95) 68%, rgba(127, 232, 242, .95) 80%, transparent 92%),
    linear-gradient(rgba(172, 247, 120, .2), rgba(172, 247, 120, .2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: holo 8s linear infinite;
  pointer-events: none;
}
/* cursor spotlight (JS feeds --mx / --my) */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(172, 247, 120, .1), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }

/* ---------- 06 Highlights strip + ticker ---------- */
.cred-strip {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 20, 16, .62), rgba(5, 10, 8, .45));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cred {
  display: flex; align-items: center; gap: 18px;
  margin: 0;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.cred:first-child { padding-left: 0; }
.cred:last-child { border-right: 0; }
.cred-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  color: var(--lime);
  background: radial-gradient(circle at 30% 20%, rgba(172, 247, 120, .16), rgba(8, 16, 12, .9) 70%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 28px -10px rgba(172, 247, 120, .6);
}
.cred-icon svg { width: 24px; height: 24px; }
.cred-label { display: block; margin-bottom: 4px; font: 500 10px/1.6 var(--mono); letter-spacing: .14em; color: var(--quiet); }
.cred strong { display: block; font: 600 17px/1.35 var(--display); letter-spacing: -.015em; }
.cred b { font-weight: 700; color: var(--lime); }
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 15px 11px;
  white-space: nowrap;
  font: 500 12px var(--mono);
  letter-spacing: .16em;
  color: var(--quiet);
}
.ticker span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--lime); box-shadow: 0 0 8px var(--lime); }

/* ---------- 07 Work section & radar ---------- */
.section { padding-block: 130px; }
.work-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.work-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.work-copy > .section-lede, .section-lede {
  color: var(--ink);
  font: 500 clamp(21px, 1.9vw, 25px)/1.5 var(--display);
  letter-spacing: -.02em;
}
.expertise-list { display: grid; gap: 10px; margin: 34px 0 26px; }
.expertise-list > a {
  position: relative;
  display: flex; align-items: center; gap: 18px;
  padding: 19px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(10, 20, 16, .5);
  transition: border-color .3s, background .3s, transform .5s var(--ease);
}
.expertise-list > a:hover, .expertise-list > a:focus-visible {
  border-color: rgba(172, 247, 120, .42);
  background: rgba(16, 30, 24, .66);
  transform: translateX(6px);
}
.expertise-list .idx { font: 500 11px var(--mono); color: var(--lime); letter-spacing: .1em; }
.expertise-list p { margin: 0; flex: 1; font: 500 17px/1.4 var(--display); letter-spacing: -.01em; }
.expertise-list .arrow {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--lime);
  transition: transform .5s var(--ease), background .3s, border-color .3s;
}
.expertise-list > a:hover .arrow { transform: rotate(45deg); background: rgba(172, 247, 120, .1); border-color: rgba(172, 247, 120, .4); }

.radar { margin-top: 54px; width: min(400px, 100%); }
.radar-scope {
  position: relative;
  aspect-ratio: 1;
  container-type: inline-size;
  border-radius: 50%;
  border: 1px solid rgba(172, 247, 120, .2);
  background: radial-gradient(circle, rgba(172, 247, 120, .07), rgba(4, 10, 8, .4) 70%);
  box-shadow: 0 0 80px -30px rgba(172, 247, 120, .45), inset 0 0 50px rgba(0, 0, 0, .5);
}
.radar-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(172, 247, 120, .14); }
.radar-ring.r1 { inset: 16.5%; }
.radar-ring.r2 { inset: 33%; }
.radar-cross::before, .radar-cross::after {
  content: ""; position: absolute; background: rgba(172, 247, 120, .1);
}
.radar-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-cross { position: absolute; inset: 0; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(172, 247, 120, .05) 300deg, rgba(172, 247, 120, .32) 358deg, rgba(217, 255, 191, .85) 360deg);
  animation: spin 6s linear infinite;
}
.radar-blip {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform: rotate(var(--a)) translateX(calc(var(--r) * 50cqw)) rotate(calc(var(--a) * -1));
}
.radar-blip i {
  position: absolute; left: -5px; top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: blip 6s linear infinite;
  animation-delay: var(--delay);
}
.radar-blip b {
  position: absolute; left: 0; top: 13px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(4, 10, 8, .75);
  border: 1px solid rgba(172, 247, 120, .16);
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.radar-blip.is-hot i { transform: scale(1.6); box-shadow: 0 0 0 6px rgba(172, 247, 120, .18), 0 0 20px var(--lime); }
.radar-blip.is-hot b { color: var(--lime); border-color: rgba(172, 247, 120, .55); box-shadow: 0 0 20px -6px rgba(172, 247, 120, .6); }
.radar-core {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%;
  font: 700 17px var(--mono); color: var(--lime);
  background: radial-gradient(circle, rgba(172, 247, 120, .18), rgba(5, 12, 9, .95) 70%);
  border: 1px solid rgba(172, 247, 120, .35);
  box-shadow: 0 0 30px -6px rgba(172, 247, 120, .7);
}
.radar-meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 16px;
  font: 500 10px var(--mono); letter-spacing: .16em; color: var(--quiet);
}
.radar-meta b { font-weight: 500; color: var(--lime); }

/* ---------- 08 ScoreNet section ---------- */
.project-section {
  position: relative;
  padding-block: 120px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 8% 100%, rgba(172, 247, 120, .085), transparent 70%),
    radial-gradient(ellipse 60% 60% at 96% 0%, rgba(127, 232, 242, .075), transparent 70%),
    rgba(5, 11, 9, .6);
}
.section-title-row { display: flex; align-items: center; gap: 22px; margin-bottom: 60px; }
.section-title-row .eyebrow { margin: 0; }
.section-title-row .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.project-domain {
  font: 500 11px var(--mono); letter-spacing: .12em; color: var(--quiet);
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  transition: color .25s, border-color .25s;
}
.project-domain:hover { color: var(--lime); border-color: var(--line-strong); }
.case-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 100px; }
.case-copy h2 { font-size: clamp(42px, 5vw, 76px); }
.case-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.case-copy .button { margin-top: 14px; }
.notes-title { margin: 0 0 6px; font: 500 11px var(--mono); letter-spacing: .14em; color: var(--quiet); }
.timeline { position: relative; }
.timeline-rail {
  position: absolute; left: 21px; top: 32px; bottom: 32px;
  width: 2px; border-radius: 2px;
  background: rgba(172, 247, 120, .12);
}
.timeline-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
  box-shadow: 0 0 12px rgba(172, 247, 120, .6);
  transform: scaleY(0); transform-origin: top;
}
.timeline article { position: relative; display: flex; gap: 22px; padding: 22px 0; }
.timeline .node {
  position: relative; z-index: 1; flex-shrink: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  font: 600 12px var(--mono);
  color: var(--quiet);
  background: #07100c;
  border: 1px solid var(--line-strong);
  transition: color .5s, background .5s, box-shadow .5s, border-color .5s;
}
.timeline article.is-lit .node {
  color: #06100a;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(172, 247, 120, .08), 0 0 28px rgba(172, 247, 120, .55);
}
.timeline h3 { margin: 9px 0 6px; font: 600 21px/1.35 var(--display); letter-spacing: -.02em; }
.timeline article p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.project-note {
  margin-top: 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(5, 11, 9, .82);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.note-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  font: 500 10.5px var(--mono); letter-spacing: .14em; color: var(--quiet);
}
.note-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 107, 129, .75); }
.note-bar i:nth-child(2) { background: rgba(255, 200, 92, .75); }
.note-bar i:nth-child(3) { background: rgba(172, 247, 120, .75); margin-right: 8px; }
.note-body { display: flex; align-items: flex-start; gap: 18px; padding: 20px 22px 22px; }
.note-body > span { font: 700 18px/1.6 var(--mono); color: var(--lime); }
.note-body p { margin: 0; font: 500 14.5px/1.95 var(--mono); color: #d7e6cf; }
.note-body p::after { content: "_"; color: var(--lime); animation: blink 1s steps(1) infinite; }
.note-body .ln { display: inline-block; }
.play-btn {
  display: flex; align-items: center; gap: 14px;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  padding: 13px 16px;
  border-radius: 13px;
  border: 1px dashed rgba(172, 247, 120, .35);
  background: rgba(172, 247, 120, .04);
  text-align: left;
  cursor: pointer;
  transition: border-color .3s, background .3s, box-shadow .35s;
}
.play-btn:hover { border-style: solid; border-color: rgba(172, 247, 120, .6); background: rgba(172, 247, 120, .09); box-shadow: 0 0 34px -12px rgba(172, 247, 120, .7); }
.play-btn .play-ico {
  flex-shrink: 0; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #06100a; font-size: 13px;
  box-shadow: 0 0 20px -4px rgba(172, 247, 120, .7);
}
.play-btn strong { display: block; font: 600 15px/1.3 var(--display); color: var(--ink); }
.play-btn small { display: block; font: 400 12px/1.4 var(--mono); color: var(--quiet); letter-spacing: .02em; }
.play-btn kbd { margin-left: auto; }

/* ---------- 09 Callout ---------- */
.contact-callout { padding-block: 130px 120px; }
.callout-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px;
  padding: clamp(34px, 5vw, 68px);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 85% at 100% 50%, rgba(127, 232, 242, .11), transparent 70%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(172, 247, 120, .09), transparent 70%),
    linear-gradient(180deg, rgba(14, 26, 21, .78), rgba(6, 12, 10, .84));
  box-shadow: var(--shadow);
}
.callout-panel h2 { font-size: clamp(38px, 4.6vw, 66px); }
.callout-panel p:not(.eyebrow) { max-width: 560px; margin: 0; font-size: 17.5px; color: var(--muted); }
.orb-link {
  position: relative;
  display: grid; place-items: center;
  width: 230px; height: 230px;
  border-radius: 50%;
  transition: transform .6s var(--ease);
}
.orb-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.orb-ring text { font: 600 11px var(--mono); letter-spacing: .22em; fill: var(--quiet); }
.orb-core {
  position: relative;
  display: grid; place-items: center; align-content: center; gap: 4px;
  width: 154px; height: 154px; border-radius: 50%;
  background: var(--grad);
  color: #06100a;
  font: 700 23px/1.05 var(--display); letter-spacing: -.035em;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(172, 247, 120, .06), 0 22px 70px -12px rgba(172, 247, 120, .65);
  transition: transform .6s var(--ease), box-shadow .45s;
}
.orb-core::before {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 1px solid rgba(172, 247, 120, .25);
  animation: ping 2.8s var(--ease) infinite;
}
.orb-arrow { font-size: 26px; line-height: 1; transition: transform .6s var(--ease); }
.orb-link:hover .orb-core { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(172, 247, 120, .08), 0 26px 90px -8px rgba(172, 247, 120, .85); }
.orb-link:hover .orb-arrow { transform: rotate(45deg); }
.orb-link:focus-visible { outline-offset: 0; }

/* ---------- 10 Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 9, 7, .55), #030705 70%);
  overflow: hidden;
}
.footer-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 60px 10px; }
.footer-name { display: block; font: 700 27px/1.2 var(--display); letter-spacing: -.03em; }
.footer-name span { display: block; margin-top: 6px; font: 500 14px var(--display); letter-spacing: 0; color: var(--quiet); }
.footer-term {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 0; border: 0; background: none;
  font: 500 13px var(--display); color: var(--quiet);
  cursor: pointer;
  min-height: 40px;
}
.footer-term:hover { color: var(--lime); }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font: 500 15px var(--display); color: var(--muted); }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
.footer-main nav a:hover { color: var(--lime); }
.footer-wordmark {
  position: relative;
  margin: 10px 0 -0.08em;
  font: 700 clamp(36px, 16.8vw, 260px)/.9 var(--display);
  letter-spacing: -.065em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(172, 247, 120, .17);
  user-select: none;
}
.footer-wordmark::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
  -webkit-mask: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 72%);
  mask: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 72%);
}
.footer-bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  font: 500 13px var(--display);
  color: var(--quiet);
}
.footer-bottom .mono { font-size: 12px; color: #b8cbb0; letter-spacing: .04em; }
.footer-bottom a { min-height: 40px; display: inline-flex; align-items: center; transition: color .2s; }
.footer-bottom a:hover { color: var(--lime); }
.prompt-mark { color: var(--lime); animation: blink 1.1s steps(1) infinite; }

/* ---------- 11 Reveal & motion (JS adds .is-visible) ---------- */
.js:not(.no-fx) [data-reveal]:not([data-reveal="lines"]):not(.is-visible) { opacity: 0; }
[data-reveal].is-visible:not([data-reveal="lines"]) { animation: reveal 1s var(--ease) var(--d, 0ms) backwards; }
.rl { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rl-i { display: block; }
.js:not(.no-fx) [data-reveal="lines"]:not(.is-visible) .rl-i { transform: translateY(110%); }
[data-reveal="lines"].is-visible .rl-i { animation: line-up 1.1s var(--ease) calc(var(--d, 0ms) + var(--li, 0) * 110ms) backwards; }
.js:not(.no-fx) .name-visual:not(.is-live) { opacity: 0; }
.name-visual.is-live .ch { animation: ch-in .9s var(--ease) calc(var(--i, 0) * 45ms) backwards; }
.js:not(.no-fx) [data-typed]:not(.is-typing) .ln { clip-path: inset(0 100% 0 0); }
[data-typed].is-typing .ln { animation: type calc(var(--n, 10) * 36ms) steps(var(--n, 10)) var(--t, 0ms) backwards; }
.js:not(.no-fx) [data-typed]:not(.is-typing) .play-btn { opacity: 0; }
[data-typed].is-typing .play-btn { animation: reveal .8s var(--ease) var(--done, 0ms) backwards; }

@keyframes reveal { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px); } }
@keyframes line-up { from { transform: translateY(110%); } }
@keyframes ch-in { from { opacity: 0; transform: translateY(.25em) scale(.96); filter: blur(10px); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes holo { to { --angle: 360deg; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pulse-sq { 50% { opacity: .45; transform: scale(.8); } }
@keyframes dot-pulse { 50% { text-shadow: 0 0 12px rgba(172, 247, 120, .35); opacity: .78; } }
@keyframes beam { to { transform: translateY(440%); } }
@keyframes pick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes cue { 0% { transform: translateY(-16px); } 100% { transform: translateY(46px); } }
@keyframes blip {
  0% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 0 0 rgba(172, 247, 120, .7), 0 0 18px var(--lime); }
  18% { box-shadow: 0 0 0 14px rgba(172, 247, 120, 0), 0 0 12px var(--lime); transform: scale(1); }
  70%, 100% { opacity: .35; transform: scale(.85); }
}
@keyframes glitch {
  0% { transform: translate(-6px, 0) skewX(-6deg); filter: hue-rotate(60deg) saturate(1.6); clip-path: inset(10% 0 55% 0); }
  33% { transform: translate(5px, 0) skewX(4deg); filter: hue-rotate(-40deg); clip-path: inset(45% 0 20% 0); }
  66% { transform: translate(-2px, 0); clip-path: inset(0 0 0 0); }
  100% { transform: none; filter: none; clip-path: inset(0 0 0 0); }
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); filter: blur(6px); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: scale(1.012); } }

/* ---------- 12 Inner page intro ---------- */
.page-intro { position: relative; padding-block: 86px 64px; }
.page-intro h1 {
  max-width: 15ch;
  margin: 0 0 30px;
  font: 700 clamp(46px, 6.4vw, 96px)/1 var(--display);
  letter-spacing: -.055em;
}
.intro-subtitle {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0;
  font: 500 19px/1.4 var(--display);
  color: var(--muted);
}
.intro-subtitle::before { content: ""; width: 30px; height: 1px; background: var(--grad); }
.intro-description { max-width: 660px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }

/* ---------- 13 About ---------- */
.profile-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 84px; padding-bottom: 110px; }
.profile-sidebar { align-self: start; }
@media (min-height: 760px) and (min-width: 901px) { .profile-sidebar { position: sticky; top: 104px; } }
.profile-card {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.profile-id { display: flex; align-items: center; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.avatar {
  position: relative; flex-shrink: 0;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  font: 700 17px var(--mono); color: var(--lime);
  background: radial-gradient(circle at 30% 30%, rgba(172, 247, 120, .2), rgba(8, 16, 12, .95) 70%);
}
.avatar::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(var(--lime), var(--cyan), transparent 55%, var(--lime));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 4s linear infinite;
}
.profile-label { display: flex; align-items: center; gap: 10px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .1em; color: var(--lime); }
.profile-sub { display: block; margin-top: 4px; font: 500 13px/1.4 var(--display); color: var(--muted); }
.profile-card dl { margin: 6px 0 18px; }
.profile-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-card dt { font: 500 10px var(--mono); letter-spacing: .12em; color: var(--quiet); }
.profile-card dd { margin: 0; font: 500 14px/1.4 var(--display); text-align: right; }
.toc { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.toc a {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 11px;
  font: 500 12.5px/1.4 var(--mono);
  color: var(--muted);
  transition: color .25s, background .25s;
}
.toc a span { color: var(--quiet); transition: color .25s; }
.toc a:hover { color: var(--ink); background: rgba(172, 247, 120, .05); }
.toc a[aria-current] { color: var(--lime); background: rgba(172, 247, 120, .085); }
.toc a[aria-current] span { color: var(--lime); }
.toc a[aria-current]::before {
  content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px;
  background: var(--grad); box-shadow: 0 0 10px var(--lime);
}
.read-meter { margin: 0 0 18px; }
.read-meter > span { display: flex; justify-content: space-between; font: 500 10px var(--mono); letter-spacing: .14em; color: var(--quiet); margin-bottom: 8px; }
.read-meter b { font-weight: 600; color: var(--lime); }
.read-meter i { display: block; height: 3px; border-radius: 3px; background: rgba(172, 247, 120, .1); overflow: hidden; }
.read-meter em { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px var(--lime); }
.profile-card .button { width: 100%; }
.profile-content { min-width: 0; max-width: 800px; }
.profile-lead { font-size: 18px; line-height: 1.85; color: #c9d6cc; }
.profile-lead p { margin: 0 0 22px; }
.profile-lead p:first-child { font: 500 clamp(21px, 2vw, 25px)/1.55 var(--display); letter-spacing: -.015em; color: var(--ink); }
.profile-section {
  position: relative;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.profile-section:not(.holo)::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 96px; height: 1px;
  background: var(--grad); box-shadow: 0 0 12px rgba(172, 247, 120, .7);
}
.sec-index, .profile-section .sec-index { display: block; margin: 0 0 14px; line-height: 1.6; font: 500 11px var(--mono); letter-spacing: .18em; color: var(--lime); }
.profile-section h2 { margin: 0 0 26px; font: 600 clamp(29px, 3vw, 40px)/1.15 var(--display); letter-spacing: -.035em; }
.profile-section p { margin: 0 0 20px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.profile-section .eyebrow { margin-bottom: 16px; font-size: 10.5px; }
.fact-chips { list-style: none; padding: 0; margin: 8px 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fact-chips li {
  padding: 15px 15px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(172, 247, 120, .07), rgba(10, 20, 16, .45));
}
.fact-chips b {
  display: block;
  font: 700 21px/1.2 var(--display); letter-spacing: -.025em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact-chips span { display: block; margin-top: 5px; font: 500 10px/1.45 var(--mono); letter-spacing: .1em; color: var(--quiet); }
.sla-chart {
  margin: 6px 0 30px;
  padding: 22px 24px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(7, 14, 11, .6);
}
.sla-chart figcaption { margin-bottom: 16px; font: 500 10.5px var(--mono); letter-spacing: .14em; color: var(--quiet); }
.sla-chart ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sla-chart li { display: grid; grid-template-columns: 96px 1fr 76px; align-items: center; gap: 16px; font: 500 15px var(--display); }
.sla-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.sla-bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(var(--v) / 180 * 100%);
  border-radius: inherit;
  background: var(--c);
  box-shadow: 0 0 16px var(--c);
  transform-origin: left;
}
.js:not(.no-fx) .sla-chart:not(.is-visible) .sla-bar i { transform: scaleX(0); }
.sla-chart.is-visible .sla-bar i { animation: grow 1.4s var(--ease) calc(var(--n) * 160ms + 200ms) backwards; }
.sla-chart li b { font: 600 13px var(--mono); color: var(--c); text-align: right; white-space: nowrap; }
@keyframes grow { from { transform: scaleX(0); } }
.capability-list, .credential-list { list-style: none; padding: 0; margin: 6px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.capability-list { counter-reset: cap; }
.capability-list li, .credential-list li {
  display: flex; align-items: flex-start; gap: 13px;
  margin: 0;
  padding: 16px 17px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 16, .5);
  font: 500 15.5px/1.45 var(--display);
  color: var(--ink);
  transition: border-color .3s, background .3s, transform .45s var(--ease);
}
.capability-list li:hover, .credential-list li:hover { border-color: rgba(172, 247, 120, .4); background: rgba(16, 30, 24, .62); transform: translateY(-2px); }
.capability-list li { counter-increment: cap; }
.capability-list li::before { content: counter(cap, decimal-leading-zero); flex-shrink: 0; font: 500 11px/2.05 var(--mono); color: var(--lime); }
.credential-list li { align-items: center; }
.credential-list li::before {
  content: ""; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(172, 247, 120, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23acf778' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 19 6.5v5c0 4.4-3 8-7 9.2-4-1.2-7-4.8-7-9.2v-5z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.credential-list li:nth-last-child(-n + 2) { grid-column: 1 / -1; }
.about-project-image {
  position: relative; display: block; overflow: hidden;
  margin: 0 0 26px;
  border-radius: var(--r-md);
  border: 1px solid rgba(127, 232, 242, .22);
  background: #060b16;
  box-shadow: var(--shadow);
}
.about-project-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: transform 1.1s var(--ease); }
.about-project-image:hover img { transform: scale(1.035); }
.about-project-image .tag {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(4, 10, 8, .8); border: 1px solid rgba(127, 232, 242, .3);
  font: 500 10px var(--mono); letter-spacing: .14em; color: var(--cyan);
}
.opportunities {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--r-lg);
  border-top: 0;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(127, 232, 242, .1), transparent 70%),
    linear-gradient(180deg, rgba(16, 30, 24, .75), rgba(7, 14, 11, .8));
  box-shadow: var(--shadow);
}
.opportunities .actions { gap: 22px; margin-top: 26px; }

/* ---------- 14 Shared panels ---------- */
.glass {
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glass.holo { border-color: transparent; }

/* ---------- 15 Contact ---------- */
.contact-intro { padding-bottom: 70px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 90px; padding-bottom: 70px; }
.contact-context > p:not(.eyebrow) { margin: 0 0 28px; font-size: 17px; color: var(--muted); }
.status-card { padding: 22px; }
.availability-note { display: flex; align-items: flex-start; gap: 14px; font: 500 14px/1.7 var(--display); color: var(--ink); }
.availability-note .signal { margin-top: 8px; }
.local-time { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.local-time span { font: 500 10px var(--mono); letter-spacing: .14em; color: var(--quiet); }
.local-time strong { font: 600 16px var(--mono); color: var(--lime); font-variant-numeric: tabular-nums; }
.status-card .button { width: 100%; margin-top: 18px; }
.contact-channels { display: grid; gap: 14px; }
.contact-row {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 16, .55);
  transition: border-color .35s, background .35s, transform .55s var(--ease), box-shadow .35s;
}
.contact-row:hover, .contact-row:focus-within {
  border-color: rgba(172, 247, 120, .42);
  background: rgba(16, 30, 24, .7);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -30px rgba(172, 247, 120, .45);
}
.contact-link {
  display: grid; grid-template-columns: 30px 56px minmax(0, 1fr) 40px; align-items: center; gap: 18px;
  padding: 26px 24px;
  border-radius: inherit;
}
.js .has-copy .contact-link { padding-right: 76px; }
.channel-number { font: 500 11px var(--mono); color: var(--quiet); }
.channel-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  color: var(--lime);
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 20%, rgba(172, 247, 120, .16), rgba(8, 16, 12, .9) 70%);
  transition: transform .55s var(--ease), box-shadow .35s;
}
.channel-icon svg { width: 25px; height: 25px; }
.contact-row:hover .channel-icon { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 30px -8px rgba(172, 247, 120, .7); }
.channel-body small { display: block; margin-bottom: 6px; font: 500 10px/1.5 var(--mono); letter-spacing: .14em; color: var(--lime); }
.channel-body strong { display: block; font: 600 clamp(19px, 2.1vw, 27px)/1.3 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.channel-detail { display: block; margin-top: 4px; font: 500 13px var(--display); color: var(--quiet); }
.channel-arrow {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); color: var(--lime); font-size: 18px;
  transition: transform .55s var(--ease), background .3s, border-color .3s;
}
.contact-row:hover .channel-arrow { transform: rotate(45deg); background: rgba(172, 247, 120, .1); border-color: rgba(172, 247, 120, .4); }
.js .has-copy .channel-arrow { display: none; }
.copy-btn {
  position: absolute; right: 20px; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-top: -22px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 16, 12, .85);
  color: var(--lime);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .3s var(--ease);
}
.copy-btn:hover { background: rgba(172, 247, 120, .12); border-color: rgba(172, 247, 120, .6); }
.copy-btn svg { width: 19px; height: 19px; }
.copy-btn .ico-check { display: none; }
.copy-btn.is-copied { background: var(--lime); color: #06100a; transform: scale(1.06); }
.copy-btn.is-copied .ico-copy { display: none; }
.copy-btn.is-copied .ico-check { display: block; }
.contact-explore {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 30px 0 90px;
  border-top: 1px solid var(--line);
}
.contact-explore .mono { margin-right: auto; font-size: 11px; letter-spacing: .14em; color: var(--quiet); }
.contact-explore a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 16, .5);
  font: 500 14.5px var(--display);
  transition: border-color .25s, color .25s, background .25s;
}
.contact-explore a:hover { border-color: rgba(172, 247, 120, .45); color: var(--lime); background: rgba(172, 247, 120, .06); }

/* ---------- 16 404 ---------- */
.not-found { min-height: 64vh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.not-found .actions { margin-top: 36px; }
.glitch {
  position: relative;
  font: 700 clamp(120px, 21vw, 280px)/.85 var(--display);
  letter-spacing: -.07em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(172, 247, 120, .25));
  user-select: none;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: inherit; -webkit-background-clip: text; background-clip: text;
  opacity: 0;
}
.glitch::before { animation: g-a 3.4s steps(1) infinite; }
.glitch::after { animation: g-b 3.4s steps(1) infinite; }
@keyframes g-a { 0%, 86%, 100% { opacity: 0; } 87% { opacity: 1; transform: translate(-8px, 0); clip-path: inset(12% 0 60% 0); filter: hue-rotate(90deg); } 90% { opacity: 1; transform: translate(6px, 0); clip-path: inset(55% 0 18% 0); } 93% { opacity: 0; } }
@keyframes g-b { 0%, 88%, 100% { opacity: 0; } 89% { opacity: 1; transform: translate(7px, 0); clip-path: inset(30% 0 40% 0); filter: hue-rotate(-60deg); } 92% { opacity: 1; transform: translate(-5px, 0); clip-path: inset(70% 0 4% 0); } 95% { opacity: 0; } }
.nf-hint { margin-top: 30px; font: 500 13px var(--mono); color: var(--quiet); }
.nf-hint button { padding: 0; border: 0; background: none; color: var(--lime); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 17 Terminal (command palette) ---------- */
.term, .pr {
  padding: 0; border: 0;
  background: transparent;
  color: var(--ink);
  max-width: none; max-height: none;
  overflow: visible;
}
.term { width: min(700px, calc(100% - 24px)); margin: 11vh auto auto; }
.term::backdrop, .pr::backdrop {
  background: rgba(2, 6, 5, .68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.term[open]::backdrop, .pr[open]::backdrop { animation: fade-in .3s both; }
.term[open] .term-win, .pr[open] .pr-win { animation: pop-in .4s var(--ease) both; }
.term.is-closing .term-win, .pr.is-closing .pr-win { animation: pop-out .16s ease-in both; }
.term-win, .pr-win {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 22, 18, .97), rgba(5, 10, 8, .98));
  box-shadow: 0 0 0 1px rgba(172, 247, 120, .24), 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(172, 247, 120, .4);
}
.term-win { display: flex; flex-direction: column; max-height: min(640px, calc(100svh - 16vh)); }
.term-win::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 3px);
}
.term-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--line); }
.term-lights { display: flex; gap: 7px; }
.term-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b81; }
.term-lights i:nth-child(2) { background: #ffc85c; }
.term-lights i:nth-child(3) { background: #acf778; }
.term-title { flex: 1; margin: 0; text-align: center; font: 500 12px var(--mono); letter-spacing: .12em; color: var(--quiet); }
.term-close, .pr-close {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: var(--muted);
  font: 500 11px var(--mono);
  cursor: pointer;
}
.term-close:hover, .pr-close:hover { color: var(--ink); border-color: rgba(255, 255, 255, .34); }
.term-out { flex: 0 1 auto; min-height: 60px; max-height: 220px; overflow-y: auto; padding: 14px 18px 6px; font: 400 13px/1.75 var(--mono); color: var(--muted); }
.term-line { margin: 0; white-space: pre-wrap; animation: line-in .35s ease backwards; }
@keyframes line-in { from { opacity: 0; filter: blur(3px); } }
.term-out, .term-list { scrollbar-width: thin; scrollbar-color: rgba(172, 247, 120, .28) transparent; }
.term-echo { color: var(--ink); }
.term-echo span { color: var(--lime); }
.term-line.dim { color: var(--quiet); }
.term-line.ok { color: var(--lime); }
.term-line.err { color: var(--red); }
.term-line.hl { color: var(--cyan); }
.term-input-row {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 12px 10px;
  padding: 0 14px;
  border-radius: 13px;
  background: rgba(172, 247, 120, .05);
  border: 1px solid rgba(172, 247, 120, .22);
  transition: border-color .2s, box-shadow .2s;
}
.term-input-row:focus-within { border-color: rgba(172, 247, 120, .55); box-shadow: 0 0 0 4px rgba(172, 247, 120, .08); }
.term-prompt { font: 600 14px var(--mono); color: var(--lime); white-space: nowrap; }
.term-input {
  flex: 1; min-width: 0; height: 52px;
  border: 0; outline: 0; background: transparent;
  color: var(--ink);
  font: 500 16px var(--mono);
  caret-color: var(--lime);
}
.term-input:focus-visible { outline: none; }
.term-input::placeholder { color: rgba(176, 192, 180, .45); }
.term-list { flex: 1 1 auto; min-height: 0; margin: 0; padding: 2px 8px 8px; overflow-y: auto; list-style: none; }
.term-opt {
  position: relative;
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}
.term-opt:hover { background: rgba(255, 255, 255, .035); }
.term-opt[aria-selected="true"] { background: rgba(172, 247, 120, .09); }
.term-opt[aria-selected="true"]::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--grad);
}
.opt-name { font: 600 13.5px var(--mono); color: var(--lime); }
.opt-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 14px var(--display); color: var(--muted); }
.opt-kind { padding: 4px 7px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .09); font: 500 9.5px var(--mono); letter-spacing: .12em; color: var(--quiet); }
.term-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 16px; border-top: 1px solid var(--line); font: 400 11px var(--mono); color: var(--quiet); }
.term-foot kbd { margin-right: 3px; padding: 3px 5px; font-size: 10px; }

/* ---------- 18 Patch Run (mini-game) ---------- */
.pr { margin: auto; }
.pr-win { display: flex; flex-direction: column; align-items: center; padding: 12px 12px 14px; }
.pr-bar { align-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 10px; }
.pr-title { margin: 0; font: 700 14px var(--mono); letter-spacing: .16em; color: var(--lime); }
.pr-title span { margin-left: 10px; font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--quiet); }
.pr-stage { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(172, 247, 120, .2); line-height: 0; }
.pr-canvas { display: block; touch-action: none; cursor: crosshair; }
.pr-canvas:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.pr-panel {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 20px;
  line-height: 1.6;
  background: rgba(3, 8, 6, .74);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.pr-card { width: min(340px, 100%); text-align: center; animation: pop-in .4s var(--ease) both; }
.pr-kicker { margin: 0 0 10px; font: 600 11px var(--mono); letter-spacing: .22em; color: var(--lime); }
.pr-card h3 { margin: 0 0 12px; font: 700 27px/1.15 var(--display); letter-spacing: -.035em; }
.pr-card h3 b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pr-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.pr-card p b { color: var(--cyan); font-weight: 600; }
.pr-legend { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 7px; text-align: left; }
.pr-legend li {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  font: 600 12px var(--mono); color: var(--ink);
}
.pr-legend i { width: 24px; height: 13px; border-radius: 4px; border: 1.5px solid var(--c); background: var(--bgc, transparent); }
.pr-legend li span { margin-left: auto; font-weight: 400; color: var(--quiet); }
.pr-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pr-actions .button, .pr-card > .button { min-height: 48px; }
.pr-help { margin: 12px 0 0; font: 400 11.5px/1.6 var(--mono); color: var(--quiet); text-align: center; }
.pr-help kbd { padding: 3px 5px; font-size: 10px; }

/* ---------- 19 Boot sequence & toast ---------- */
.boot {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #08140f, #020504 72%);
  clip-path: inset(0 0 0 0);
  transition: clip-path .55s cubic-bezier(.7, 0, .3, 1), opacity .3s .4s, visibility 0s .75s;
}
.boot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.boot.is-out { clip-path: inset(50% 0 50% 0); opacity: 0; visibility: hidden; }
.boot { overflow: hidden; }
.boot-inner { width: min(440px, calc(100% - 40px)); font: 500 13px/2.05 var(--mono); }
.boot-line span, .boot-line b { white-space: nowrap; }
.boot-line { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--quiet); opacity: 0; animation: boot-in .01s linear forwards; animation-delay: calc(var(--i) * 115ms); }
.boot-line i { flex: 1; border-bottom: 1px dotted rgba(142, 162, 149, .35); transform: translateY(-4px); }
.boot-line b { font-weight: 600; color: var(--lime); }
.boot-bar { height: 2px; margin-top: 16px; border-radius: 2px; background: rgba(172, 247, 120, .12); overflow: hidden; }
.boot-bar i { display: block; height: 100%; background: var(--grad); box-shadow: 0 0 12px var(--lime); transform-origin: left; animation: grow .9s var(--ease) both; }
.boot-grant { margin: 20px 0 0; font: 700 22px/1 var(--display); letter-spacing: .32em; color: var(--ink); opacity: 0; }
.boot.is-granted .boot-grant { opacity: 1; text-shadow: 0 0 26px rgba(172, 247, 120, .9); animation: grant .35s steps(3) both; }
.boot-skip { position: absolute; left: 0; right: 0; bottom: 26px; margin: 0; text-align: center; font: 400 11px var(--mono); letter-spacing: .12em; color: rgba(142, 162, 149, .65); }
@keyframes boot-in { to { opacity: 1; } }
@keyframes grant { 0% { opacity: 0; letter-spacing: .6em; } 50% { opacity: .4; } 100% { opacity: 1; } }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 600;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 20, 16, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow), 0 0 40px -16px rgba(172, 247, 120, .6);
  color: var(--ink);
  font: 500 14px var(--display);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity .3s, transform .45s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }

/* ---------- 20 Responsive ---------- */
@media (min-width: 1500px) {
  .home-hero { gap: 110px; }
}
@media (max-width: 1180px) {
  .wrap { width: calc(100% - 64px); }
  .main-nav a { padding-inline: 12px; }
  .term-trigger kbd { display: none; }
  .home-hero { gap: 44px; }
  .cred { padding: 26px 18px; gap: 14px; }
  .cred strong { font-size: 15px; }
  .case-layout { gap: 64px; }
  .profile-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 52px; }
  .contact-layout { gap: 52px; }
  .fact-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 100px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 40px 70px; gap: 64px; }
  .hero-name { font-size: min(clamp(64px, 17vw, 150px), 26cqw); }
  .hero-visual { width: 100%; max-width: 640px; margin-inline: auto; }
  .hero-visual::before, .orbit-dot { width: 100%; }
  .hero-visual::after { width: 86%; }
  .scroll-cue { display: none; }
  .cred-grid { grid-template-columns: minmax(0, 1fr); }
  .cred { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cred:last-child { border-bottom: 0; }
  .section { padding-block: 90px; }
  .work-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .radar { margin: 36px auto 30px; width: min(340px, 86%); }
  .project-section { padding-block: 84px; }
  .case-layout { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .contact-callout { padding-block: 90px; }
  .callout-panel { grid-template-columns: minmax(0, 1fr); gap: 36px; justify-items: start; }
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .profile-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .profile-id, .profile-card .button { grid-column: 1 / -1; }
  .read-meter { display: none !important; }
  .profile-card dl { margin-top: 10px; }
  .toc { margin-top: 16px; }
  .profile-content { max-width: none; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .not-found { grid-template-columns: minmax(0, 1fr); }
  .not-found .glitch { order: -1; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-top: 10px; }
  .header-inner { width: calc(100% - 20px); min-height: 60px; padding: 8px 8px 8px 10px; border-radius: 18px; }
  .site-header.is-scrolled .header-inner { min-height: 58px; }
  .main-nav { display: none; }
  .term-trigger { margin-left: auto; }
  .monogram { width: 40px; height: 40px; }
  .identity-text { font-size: 13px; }
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
    padding: 6px;
    border-radius: 22px;
    border: 1px solid rgba(172, 247, 120, .18);
    background: rgba(7, 14, 11, .84);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 -8px 40px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
    view-transition-name: dock;
  }
  .dock a {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 54px;
    padding: 6px 2px;
    border-radius: 16px;
    color: var(--muted);
    font: 500 10.5px/1.1 var(--display);
    transition: color .2s, background .2s;
  }
  .dock svg { width: 21px; height: 21px; }
  .dock a[aria-current] { color: var(--lime); background: rgba(172, 247, 120, .09); }
  .dock a[aria-current]::before {
    content: ""; position: absolute; top: 3px; left: 50%; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px;
    background: var(--grad); box-shadow: 0 0 8px var(--lime);
  }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .home-hero { padding-block: 30px 56px; gap: 56px; }
  .hero-eyebrow { font-size: 10.5px; margin-bottom: 24px; }
  .hero-name { margin-bottom: 26px; }
  .hero-intro { font-size: 16.5px; }
  .hero-location { font-size: 10.5px; margin-top: 30px; border-radius: 16px; row-gap: 3px; }
  .hero-location .divider { display: none; }
  .hero-location .loc-2 { flex-basis: 100%; padding-left: 18px; }
  .boot-inner { font-size: 12px; }
  .boot-grant { font-size: 18px; letter-spacing: .24em; }
  .project-heading { padding: 16px; }
  .game-display, .game-picker { margin-inline: 12px; }
  .game-picker button { font-size: 10px; padding-inline: 4px; }
  .project-footer { padding: 16px; }
  .terminal-chrome { padding: 12px 14px; font-size: 9.5px; }
  .section { padding-block: 72px; }
  .expertise-list > a { padding: 16px; gap: 14px; }
  .expertise-list p { font-size: 16px; }
  .section-title-row { margin-bottom: 40px; gap: 14px; }
  .section-title-row .rule { display: none; }
  .project-domain { margin-left: auto; font-size: 10px; }
  .game-display figcaption { font-size: 9px; letter-spacing: .04em; padding: 10px 12px; }
  .game-display figcaption > span { white-space: nowrap; }
  .timeline article { gap: 16px; }
  .contact-callout { padding-block: 64px; }
  .callout-panel { border-radius: 24px; padding: 30px 24px; }
  .orb-link { width: 196px; height: 196px; justify-self: center; }
  .orb-core { width: 132px; height: 132px; font-size: 20px; }
  .footer-main { padding-top: 46px; }
  .footer-main nav { gap: 0 22px; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom .mono { order: 3; width: 100%; }
  .page-intro { padding-block: 48px 40px; }
  .page-intro h1 { font-size: clamp(40px, 11vw, 64px); }
  .intro-description { font-size: 17px; }
  .profile-card { display: block; padding: 18px; }
  .toc { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc a { padding: 6px 11px; min-height: 40px; border: 1px solid var(--line); font-size: 11.5px; }
  .toc a[aria-current]::before { display: none; }
  .profile-lead { font-size: 17px; }
  .profile-section { margin-top: 44px; padding-top: 44px; }
  .profile-section p { font-size: 16.5px; }
  .capability-list, .credential-list { grid-template-columns: 1fr; }
  .sla-chart { padding: 18px; }
  .sla-chart li { grid-template-columns: 74px 1fr auto; gap: 10px; font-size: 14px; }
  .sla-chart li b { font-size: 12px; }
  .contact-link { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; padding: 20px 18px; }
  .js .has-copy .contact-link { padding-right: 18px; }
  .channel-number { display: none; }
  .channel-icon { width: 46px; height: 46px; border-radius: 14px; }
  .channel-icon svg { width: 21px; height: 21px; }
  .channel-body strong { font-size: 19px; }
  .copy-btn { right: 12px; top: 12px; margin-top: 0; width: 40px; height: 40px; }
  .contact-explore { padding-bottom: 50px; }
  .contact-explore .mono { width: 100%; }
  .term { margin: 10px auto auto; width: calc(100% - 16px); }
  .term-win { max-height: calc(100svh - 24px); border-radius: 18px; }
  .term-out { max-height: 150px; }
  .term-opt { grid-template-columns: 86px minmax(0, 1fr); gap: 10px; }
  .opt-kind, .term-foot { display: none; }
}
@media (max-width: 560px) {
  .project-domain { display: none; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 28px); }
  .identity-text small { letter-spacing: .1em; }
  .hero-name { font-size: min(18.5vw, 26cqw); }
  .game-picker button > span { display: none; }
  .game-display figcaption { flex-wrap: wrap; row-gap: 4px; }
  .project-type { display: none; }
  .project-footer p { font-size: 13px; }
  .radar-blip b { font-size: 9.5px; }
  .dock a { font-size: 9.5px; }
}

/* ---------- 21 A11y, forced colors, print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .js [data-reveal], .js .name-visual { opacity: 1 !important; }
  .js .rl-i, .js .sla-bar i { transform: none !important; }
  .js .ln { clip-path: none !important; }
}
@media (forced-colors: active) {
  .hero-project, .profile-card, .callout-panel, .opportunities, .button, .monogram, .term-win, .pr-win, .contact-row, .expertise-list > a { border: 1px solid CanvasText; }
  h2 em, h1 em, .grad-text, .hero-tagline span, .name-visual .ch, .fact-chips b, .glitch, .pr-card h3 b { color: CanvasText; background: none; }
  .signal, .small-square { background: CanvasText; }
  .game-picker button[aria-pressed="true"] { outline: 2px solid Highlight; }
  .field, .footer-wordmark { display: none; }
}
@media print {
  body { background: #fff; color: #111; padding: 0; }
  body::before, body::after, .field, .site-header, .dock, .site-footer, .skip, .profile-sidebar, .button, .actions, .toast, .boot { display: none !important; }
  .wrap { width: 100%; }
  [data-reveal], .name-visual { opacity: 1 !important; animation: none !important; }
  .rl-i { transform: none !important; }
  .page-intro { padding: 0 0 20px; }
  .page-intro h1, .page-intro h1 em, .profile-section h2, h2 em { color: #111; background: none; }
  .profile-layout { display: block; padding: 0; }
  .profile-section p, .profile-lead, .profile-lead p:first-child, .intro-subtitle, .capability-list li, .credential-list li { color: #222; background: none; }
  .profile-section { break-inside: avoid; margin-top: 20px; padding-top: 20px; }
  .about-project-image { max-width: 330px; }
  .opportunities { background: #fff; box-shadow: none; padding: 15px; }
  .profile-section .eyebrow, .sec-index { color: #333; }
}
