/* ═══════════════════════════════════════════════════════════
   NASRR.NET — v6 "ENGINE"
   Acid lime on void black. HUD lines, mono labels, heavy type.
   No frameworks. No libraries. Fast.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:      #060708;
  --bg-2:    #0a0c0e;
  --panel:   #0d1012;
  --panel-2: #12161a;
  --line:    #1b2126;
  --line-2:  #2a3239;
  --ink:     #e8ecef;
  --ink-2:   #aab4bc;
  --mute:    #5d6870;
  --acc:     #c8ff00;
  --acc-dim: rgba(200, 255, 0, 0.12);
  --red:     #ff3b3b;

  --disp: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1280px;
  --gut: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --snap: cubic-bezier(0.85, 0, 0.15, 1);
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--disp);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--acc); color: #000; }
.mono { font-family: var(--mono); }
mark { background: none; color: var(--acc); }
em { font-style: normal; color: var(--acc); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); position: relative; }

/* desktop hides native cursor in favor of the custom one */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button,
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: none; }
}

/* ═══ BOOT ═══ */
.boot {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  /* pure-CSS fail-safe: even if JS never runs, the boot screen
     dismisses itself — the page can never be trapped behind it */
  animation: boot-failsafe 0.45s ease 4.5s forwards;
}
.boot.done { opacity: 0; visibility: hidden; }
@keyframes boot-failsafe { to { opacity: 0; visibility: hidden; } }
.boot-inner { width: min(420px, 80vw); }
.boot-log {
  font-family: var(--mono); font-size: 11px; line-height: 1.9;
  color: var(--mute); min-height: 96px; white-space: pre-wrap;
}
.boot-log .ok { color: var(--acc); }
.boot-bar { height: 2px; background: var(--line); margin-top: 18px; overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--acc); transition: width 0.18s linear; }
.boot-pct { font-family: var(--mono); font-size: 11px; color: var(--acc); margin-top: 10px; text-align: right; }

/* ═══ FX CANVAS + SCANLINES ═══ */
#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.12) 3px 4px);
}
main, .hdr, .ftr, .tape { position: relative; z-index: 2; }

/* ═══ CURSOR ═══ */
.cursor { position: fixed; top: 0; left: 0; z-index: 4000; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
.cursor-dot {
  position: fixed; width: 5px; height: 5px; border-radius: 50%;
  background: var(--acc); transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(200, 255, 0, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}
.cursor.is-link .cursor-ring { width: 52px; height: 52px; border-color: var(--acc); }
.cursor.is-down .cursor-ring { width: 24px; height: 24px; }

/* ═══ PROGRESS ═══ */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--acc); transform: scaleX(0); transform-origin: 0 0;
  z-index: 1500;
}

/* ═══ HEADER ═══ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
/* solid bg on a pseudo so the header never becomes a containing block */
.hdr::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 7, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.3s;
}
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr.scrolled::before { opacity: 1; }
.hdr.hidden { transform: translateY(-100%); }
.hdr-row { display: flex; align-items: center; gap: 28px; height: 64px; }

.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--acc); color: #000;
  font-family: var(--mono); font-weight: 700; font-size: 15px;
}
.logo-text { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.logo-cursor { color: var(--acc); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hdr-nav { display: flex; gap: 4px; }
.hdr-nav a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--ink-2); padding: 8px 10px; position: relative;
  transition: color 0.2s;
  text-transform: uppercase;
}
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px;
  height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: 0 0;
  transition: transform 0.25s var(--ease);
}
.hdr-nav a:hover::after, .hdr-nav a.active::after { transform: scaleX(1); }
.hdr-nav a.active { color: var(--acc); }

.hdr-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2);
  border: 1px solid var(--line-2); padding: 6px 12px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
  background: var(--red); box-shadow: 0 0 8px var(--red);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.burger { display: none; width: 40px; height: 40px; position: relative; z-index: 1002; }
.burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--snap), opacity 0.2s, top 0.3s var(--snap);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); background: var(--acc); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); background: var(--acc); }

/* ═══ OVERLAY MENU ═══ */
.omenu {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gut) 48px;
  visibility: hidden; pointer-events: none;
}
.omenu-bg {
  position: absolute; inset: 0; background: var(--bg-2);
  transform: translateY(-101%); transition: transform 0.5s var(--snap);
}
.omenu.open { visibility: visible; pointer-events: auto; }
.omenu.open .omenu-bg { transform: translateY(0); }
.omenu-nav { position: relative; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.omenu-nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.omenu.open .omenu-nav a { opacity: 1; transform: none; }
.omenu-nav i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--acc); }
.omenu-nav b {
  font-size: clamp(30px, 8.5vw, 52px); font-weight: 700; letter-spacing: -0.02em;
  text-transform: uppercase; transition: color 0.2s, transform 0.3s var(--ease);
}
.omenu-nav a:active b, .omenu-nav a:hover b { color: var(--acc); transform: translateX(8px); }
.omenu-foot {
  position: relative; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  padding-top: 24px;
  opacity: 0; transition: opacity 0.4s 0.25s;
}
.omenu.open .omenu-foot { opacity: 1; }

/* ═══ HERO ═══ */
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; padding: 110px 0 60px; overflow: hidden; }
.hero-frame { position: absolute; inset: 84px 20px 20px; pointer-events: none; z-index: 2; }

/* ═══ HERO REEL (background video succession) ═══ */
.reel { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); pointer-events: none; }

/* YouTube layer — sized to COVER the hero (no letterbox) */
.reel-yt {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0; transition: opacity 0.55s var(--ease);
}
.reel-yt.show { opacity: 1; }
.reel-yt.cut { animation: reel-cut 0.4s steps(2, end); }
.reel-yt iframe, .reel-yt #reel-yt {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  border: 0; pointer-events: none;
  filter: grayscale(0.35) contrast(1.08) brightness(0.62) saturate(0.9);
}
.reel-vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.55s var(--ease);
  filter: grayscale(0.35) contrast(1.08) brightness(0.62) saturate(0.9);
  will-change: opacity;
}
.reel-vid.show { opacity: 1; }
.reel-vid.cut { animation: reel-cut 0.4s steps(2, end); }
@keyframes reel-cut {
  0%   { filter: grayscale(1) contrast(2) brightness(1.4); transform: translateX(-6px); }
  40%  { transform: translateX(5px); }
  100% { filter: grayscale(0.35) contrast(1.08) brightness(0.62) saturate(0.9); transform: none; }
}
/* readability veil + vignette + lime wash */
.reel-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 90% at 50% -10%, transparent 38%, rgba(6,7,8,0.92) 100%),
    linear-gradient(180deg, rgba(6,7,8,0.45) 0%, rgba(6,7,8,0.66) 55%, rgba(6,7,8,0.9) 100%);
}
.reel-veil::after {
  content: ''; position: absolute; inset: 0;
  background: var(--acc); mix-blend-mode: overlay; opacity: 0.04;
}
.reel-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 80% at 50% 40%, #000 30%, transparent 80%);
}
/* HUD */
.reel-hud {
  position: absolute; inset: 84px 22px 22px; z-index: 1; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink-2); font-size: 10.5px; letter-spacing: 0.12em;
}
.reel-hud-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reel-rec { display: inline-flex; align-items: center; gap: 7px; color: var(--acc); }
.reel-rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 8px var(--red); animation: pulse 1.4s ease-in-out infinite;
}
.reel-tc { color: var(--mute); }
.reel-hud-bot { align-items: flex-end; }
.reel-now {
  color: var(--ink-2); max-width: 62%; overflow: hidden; white-space: nowrap;
  text-overflow: ellipsis; border-left: 2px solid var(--acc); padding-left: 10px;
}
.reel-segs { display: flex; gap: 6px; align-items: center; }
.reel-seg { width: 34px; height: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.reel-seg::after {
  content: ''; position: absolute; inset: 0; width: 0; background: var(--acc);
}
.reel-seg.done::after { width: 100%; }
.reel-seg.active::after { width: var(--p, 0%); transition: width 0.2s linear; }
@media (max-width: 820px) {
  .reel-hud { inset: 76px 16px 16px; font-size: 9.5px; }
  .reel-now { max-width: 50%; }
  .reel-grid { background-size: 36px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-vid { filter: grayscale(0.4) brightness(0.5); transition: none; }
  .reel-vid.cut { animation: none; }
  .reel-rec-dot { animation: none; }
}
.corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--line-2); }
.c-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.c-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.c-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.c-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-grid { width: 100%; position: relative; z-index: 3; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 11px; letter-spacing: 0.08em; color: var(--mute);
  margin-bottom: 5vh;
}
.hm-item { display: inline-flex; align-items: center; gap: 8px; }

.hero-name { font-weight: 700; line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase; }
.hn-row { display: block; overflow: hidden; }
.hn-word { display: inline-block; font-size: clamp(56px, 12.5vw, 168px); }
.hn-word .ch { display: inline-block; transform: translateY(110%); }
body.ready .hn-word .ch { transform: none; transition: transform 0.7s var(--snap); transition-delay: calc(var(--i) * 45ms); }
.hn-accent { color: transparent; -webkit-text-stroke: 1.5px var(--acc); }
.hn-dot { color: var(--acc); font-size: clamp(56px, 12.5vw, 168px); }

.hero-sub { max-width: 640px; margin-top: 5vh; }
.hero-role { font-size: 12.5px; letter-spacing: 0.06em; color: var(--acc); margin-bottom: 16px; }
.hr-prefix { color: var(--mute); }
.ticker { color: var(--ink); }
.ticker-caret { animation: blink 0.9s steps(2) infinite; color: var(--acc); }
.hero-tag { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-bottom {
  display: flex; justify-content: space-between; margin-top: 7vh;
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--mute);
}
.hb-arrow { display: inline-block; animation: drop 1.6s var(--ease) infinite; }
@keyframes drop { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 15px 26px; position: relative; overflow: hidden;
  transition: color 0.25s var(--ease), border-color 0.25s;
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn-solid { background: var(--acc); color: #000; }
.btn-solid::before {
  content: ''; position: absolute; inset: 0; background: #fff;
  transform: translateY(101%); transition: transform 0.3s var(--snap);
}
.btn-solid:hover::before { transform: translateY(0); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); }
.btn-line::before {
  content: ''; position: absolute; inset: 0; background: var(--acc);
  transform: translateY(101%); transition: transform 0.3s var(--snap);
}
.btn-line:hover { color: #000; border-color: var(--acc); }
.btn-line:hover::before { transform: translateY(0); }
.btn-sm { padding: 11px 18px; font-size: 11px; }

/* ═══ TAPE / MARQUEE ═══ */
.tape { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.tape-track { display: flex; width: max-content; animation: tape 28s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-group { display: flex; align-items: center; padding: 16px 0; }
.tape-group span {
  font-size: 15px; font-weight: 600; letter-spacing: 0.12em; color: var(--ink-2);
  padding: 0 22px; white-space: nowrap;
}
.tape-group i { color: var(--acc); font-style: normal; font-size: 10px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ═══ SECTIONS ═══ */
.sec { padding: clamp(90px, 12vw, 150px) 0; border-top: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-num { display: block; font-size: 12px; letter-spacing: 0.16em; color: var(--acc); margin-bottom: 18px; }
.sec-title {
  font-size: clamp(30px, 5.4vw, 64px); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.stroke { color: transparent; -webkit-text-stroke: 1px var(--ink-2); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ═══ ABOUT ═══ */
.about-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-text .lead { font-size: clamp(19px, 2.4vw, 25px); line-height: 1.55; font-weight: 500; margin-bottom: 26px; }
.about-text p:not(.lead) { color: var(--ink-2); margin-bottom: 18px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.astat { padding: 26px 22px; border: 1px solid var(--line); margin: -0.5px; }
.astat-num { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; color: var(--acc); line-height: 1; }
.astat-num b { font-weight: 700; }
.astat-lbl { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--mute); margin-top: 10px; }

/* ═══ CAPS (accordion) ═══ */
.caps { border-top: 1px solid var(--line); }
.cap { border-bottom: 1px solid var(--line); }
.cap-row {
  width: 100%; display: flex; align-items: center; gap: 26px;
  padding: 24px 6px; text-align: left;
  transition: background 0.25s, padding 0.3s var(--ease);
}
.cap-row:hover { background: var(--acc-dim); padding-left: 18px; }
.cap-idx { font-size: 12px; color: var(--acc); width: 40px; flex-shrink: 0; }
.cap-row h3 { font-size: clamp(18px, 2.6vw, 28px); font-weight: 600; letter-spacing: 0.01em; flex: 1; }
.cap-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.cap-plus::before, .cap-plus::after {
  content: ''; position: absolute; background: var(--ink-2); transition: transform 0.3s var(--snap), background 0.2s;
}
.cap-plus::before { left: 0; right: 0; top: 7px; height: 2px; }
.cap-plus::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.cap.open .cap-plus::after { transform: scaleY(0); }
.cap.open .cap-plus::before { background: var(--acc); }
.cap-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.cap-body p { color: var(--ink-2); max-width: 760px; padding: 0 6px 26px 72px; }

/* ═══ WORK ═══ */
.feature { margin-bottom: clamp(56px, 7vw, 90px); }
.feature-frame {
  position: relative; aspect-ratio: 16 / 9; background: var(--panel);
  border: 1px solid var(--line);
}
.feature-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature-cap {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline;
  padding: 18px 4px 0; color: var(--ink-2); font-size: 14px;
}
.feature-cap .mono { color: var(--acc); font-size: 11px; letter-spacing: 0.1em; }
.ext { color: var(--ink); font-size: 11px; letter-spacing: 0.08em; border-bottom: 1px solid var(--acc); padding-bottom: 2px; transition: color 0.2s; }
.ext:hover { color: var(--acc); }

.row-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: clamp(48px, 6vw, 72px) 0 28px;
}
.row-title { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-2); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard { display: block; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--ease); }
.vcard:hover { border-color: var(--acc); }
.vcard-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.vcard-img img, .vcard-img video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; filter: saturate(0.85); }
.vcard:hover .vcard-img img, .vcard:hover .vcard-img video { transform: scale(1.05); filter: saturate(1.1); }
.vcard-play {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: rgba(6, 7, 8, 0.8); color: var(--acc); font-size: 13px;
  border: 1px solid var(--line-2);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.vcard:hover .vcard-play { background: var(--acc); color: #000; transform: scale(1.08); }
.gig-flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--acc); color: #000; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; padding: 4px 9px;
}
.vcard-body { padding: 18px 18px 22px; }
.vcard-tag { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--acc); margin-bottom: 10px; }
.vcard-body h4 { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 8px; }
.vcard-body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.gigs { margin-top: 0; }

/* ═══ PRAISE ═══ */
.bigquote { max-width: 900px; margin-bottom: clamp(48px, 6vw, 72px); }
.bigquote blockquote { font-size: clamp(19px, 2.6vw, 28px); font-weight: 500; line-height: 1.5; }
.bigquote figcaption { margin-top: 20px; font-size: 12px; letter-spacing: 0.1em; color: var(--mute); }
.bigquote figcaption a { color: var(--acc); border-bottom: 1px solid var(--acc); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.kpi { padding: 30px 26px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi-num { display: block; font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1; color: var(--ink); }
.kpi-num b { font-weight: 700; }
.kpi-num i { font-style: normal; font-size: 0.45em; color: var(--acc); margin-left: 4px; }
.kpi-lbl { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); margin-top: 12px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev { border: 1px solid var(--line); background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.3s, transform 0.3s var(--ease); }
.rev:hover { border-color: var(--line-2); transform: translateY(-3px); }
.rev-top { display: flex; justify-content: space-between; align-items: center; }
.rev-stars { color: var(--acc); font-size: 13px; letter-spacing: 3px; }
.rev-src { font-size: 10px; letter-spacing: 0.14em; color: var(--mute); border: 1px solid var(--line); padding: 3px 8px; }
.rev blockquote { font-size: 14px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.rev footer { display: flex; align-items: center; gap: 12px; }
.rev footer img, .rev-fallback {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line-2);
}
.rev-fallback { display: grid; place-items: center; background: var(--panel-2); color: var(--acc); font-family: var(--mono); font-size: 14px; }
.rev footer span b { display: block; font-size: 13px; font-weight: 600; }
.rev footer span em { display: block; font-style: normal; font-size: 11.5px; color: var(--mute); }

/* ═══ TIMELINE ═══ */
.tl { position: relative; max-width: 860px; }
.tl::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 7px;
  width: 1px; background: var(--line);
}
.tl::after {
  content: ''; position: absolute; top: 0; left: 7px;
  width: 1px; height: calc(var(--tlp, 0) * 100%); background: var(--acc);
  transition: height 0.2s linear;
}
.tl li { position: relative; padding: 0 0 44px 48px; }
.tl li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; background: var(--bg);
  border: 1.5px solid var(--line-2); z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}
.tl li.in::before { border-color: var(--acc); }
.tl li.tl-now::before { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 16px rgba(200, 255, 0, 0.5); }
.tl-year { display: block; font-size: 12px; letter-spacing: 0.12em; color: var(--acc); margin-bottom: 10px; }
.tl-card h3 { font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; letter-spacing: 0.02em; margin-bottom: 8px; }
.tl-card p { color: var(--ink-2); max-width: 680px; }

/* ═══ CODE / GITHUB ═══ */
.gh {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
}
.gh-id { display: flex; gap: 20px; align-items: center; }
.gh-pic { border-radius: 0; border: 1px solid var(--line-2); width: 84px; height: 84px; }
.gh-handle { font-size: 15px; font-weight: 700; color: var(--acc); letter-spacing: 0.06em; }
.gh-bio { font-size: 15px; color: var(--ink-2); margin: 4px 0; }
.gh-meta { font-size: 10.5px; letter-spacing: 0.1em; color: var(--mute); }

.gh-graph { border: 1px solid var(--line); background: var(--panel); padding: 20px; margin-bottom: 18px; }
.gh-graph-lbl { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 14px; }
.gh-graph img { width: 100%; }

.repos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.repo {
  border: 1px solid var(--line); background: var(--panel); padding: 22px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  position: relative;
}
.repo:hover { border-color: var(--acc); }
.repo-lang {
  position: absolute; top: 18px; right: 18px;
  font-size: 10px; letter-spacing: 0.1em; color: var(--acc);
  border: 1px solid var(--line-2); padding: 3px 8px;
}
.repo h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; padding-right: 64px; word-break: break-word; }
.repo p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* ═══ CONTACT ═══ */
.sec-contact { border-bottom: 1px solid var(--line); }
.c-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2);
  border: 1px solid var(--line-2); padding: 12px 18px; margin-bottom: 26px;
}
.c-sub { max-width: 560px; color: var(--ink-2); margin-bottom: 44px; }

.cform { max-width: 760px; }
.f-anon {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2);
  margin-bottom: 22px; user-select: none;
}
.f-anon em { color: var(--mute); font-style: normal; letter-spacing: 0.04em; }
.f-anon input { position: absolute; opacity: 0; pointer-events: none; }
.f-anon-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--panel);
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.f-anon-box::after {
  content: '✕'; font-size: 11px; font-weight: 700; color: #000;
  opacity: 0; transition: opacity 0.15s;
}
.f-anon input:checked + .f-anon-box { background: var(--acc); border-color: var(--acc); }
.f-anon input:checked + .f-anon-box::after { opacity: 1; }
.f-anon input:focus-visible + .f-anon-box { outline: 1px solid var(--acc); outline-offset: 2px; }
.cform.anon #f-identity { display: none; }
.f-opt { font-style: normal; color: var(--mute); letter-spacing: 0.04em; text-transform: none; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: block; margin-bottom: 18px; }
.f-lbl { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--mute); margin-bottom: 8px; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); font-family: var(--disp); font-size: 15px;
  padding: 14px 16px; transition: border-color 0.25s, background 0.25s;
  appearance: none; border-radius: 0; resize: vertical;
}
.f-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%23c8ff00'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none; border-color: var(--acc); background: var(--panel-2);
}
.f-field input::placeholder, .f-field textarea::placeholder { color: var(--mute); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.f-note { font-size: 10.5px; letter-spacing: 0.1em; color: var(--mute); }
.f-status { margin-top: 16px; font-size: 12px; letter-spacing: 0.04em; min-height: 18px; }
.f-status.ok { color: var(--acc); }
.f-status.err { color: var(--red); }
.cform.sending .btn-solid { opacity: 0.55; pointer-events: none; }

.c-links { margin-top: clamp(56px, 7vw, 80px); }
.c-links-lbl { display: block; font-size: 11px; letter-spacing: 0.14em; color: var(--mute); margin-bottom: 18px; }
.c-links a {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 6px; border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.3s var(--ease);
}
.c-links a:first-of-type { border-top: 1px solid var(--line); }
.c-links a:hover { background: var(--acc-dim); padding-left: 16px; }
.c-links b { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; width: 110px; flex-shrink: 0; }
.c-links span { color: var(--ink-2); font-size: 14px; flex: 1; }
.c-links i { font-style: normal; color: var(--acc); }

/* ═══ FOOTER ═══ */
.ftr { padding: 28px 0; }
.ftr-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.1em; color: var(--mute);
}
.ftr a { color: var(--ink-2); transition: color 0.2s; }
.ftr a:hover { color: var(--acc); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .burger { display: block; }
  .cards3, .reviews, .repos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --gut: 20px; }
  .hdr-status { display: none; }
  .hero-frame { display: none; }
  .about-cols { grid-template-columns: 1fr; gap: 48px; }
  .kpis { grid-template-columns: 1fr; }
  .kpi { border-right: 0; border-bottom: 1px solid var(--line); }
  .kpi:last-child { border-bottom: 0; }
  .cap-body p { padding-left: 46px; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .f-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .cards3, .reviews, .repos { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; gap: 8px; }
  .c-links b { width: 84px; }
  .gh { flex-direction: column; align-items: flex-start; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hn-word .ch { transform: none; }
  .scanlines { display: none; }
}
