/* =====================================================================
   LETHAL STUDIO - STYLES
   Brand colours live in :root - change --venom to re-skin the site.
   ===================================================================== */
/* Self-hosted fonts (Archivo variable incl. width axis, Manrope, JetBrains Mono) - OFL licensed */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(../fonts/manrope.woff2) format('woff2-variations'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jbmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jbmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --ink: #0c0d0c;
  --char: #151715;
  --char-2: #1d201d;
  --bone: #efece4;
  --bone-2: #e3dfd3;
  --venom: #c3ff3a;
  --venom-deep: #3d6b0c;
  --text: #f1efe8;
  --muted: #8d9188;
  --muted-dark: #5d6158;
  --line: rgba(241, 239, 232, .12);
  --line-dark: rgba(18, 19, 18, .14);
  --radius: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Archivo', 'Arial Black', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text); font-family: var(--body);
  font-size: 17px; line-height: 1.55; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; transition: background-color .8s var(--ease), color .8s var(--ease);
}
body.light { background: var(--bone); color: #121312; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--venom); color: #000; }
.wide { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; }

/* ---------- AMBIENT LAYERS ---------- */
#bubbles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity .8s; }
#snake   { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; transition: opacity .6s; }
body.light #bubbles, body.light #snake { opacity: 0; }
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-2%)} 60%{transform:translate(-2%,-4%)} 80%{transform:translate(4%,2%)} }
main, footer { position: relative; z-index: 2; }

/* ---------- PRELOADER + PAGE CURTAIN ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center;
  transition: transform 1.1s var(--ease);
}
.preloader.done { transform: translateY(-100%); }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader img { height: 120px; width: auto; opacity: 0; transform: translateY(20px) scale(.9); animation: plogo 1s .1s var(--ease) forwards; filter: drop-shadow(0 0 40px rgba(195,255,58,.25)); }
@keyframes plogo { to { opacity: 1; transform: none; } }
.preloader .count { font-family: var(--mono); font-size: .8rem; letter-spacing: .3em; color: var(--muted); }
.preloader .bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.preloader .bar i { display: block; height: 100%; width: 0; background: var(--venom); }
.curtain { position: fixed; inset: 0; z-index: 190; background: var(--venom); transform: translateY(100%); pointer-events: none; }
.curtain.in  { transform: translateY(0); transition: transform .6s var(--ease); }
.curtain.out { transform: translateY(-100%); transition: transform .8s var(--ease); }

/* ---------- CURSOR ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--venom); }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(195,255,58,.6);
  display: grid; place-items: center; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; color: #000;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s;
}
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(195,255,58,.12); }
.cursor.label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--venom); border-color: var(--venom); }
.cursor span { opacity: 0; transition: opacity .2s; font-weight: 500; color: #000; }
.cursor.label span { opacity: 1; }
body.light .cursor { border-color: rgba(18,19,18,.5); }
body.light .cursor-dot { background: #121312; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---------- TOP BAR ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: transform .6s var(--ease);
}
.topbar.hide { transform: translateY(-110%); }
.topbar .brand { display: flex; align-items: center; gap: 14px; }
.topbar .brand img { height: 44px; width: auto; transition: transform .6s var(--ease); }
.topbar .brand:hover img { transform: rotate(-10deg) scale(1.08); }
.topbar .brand b { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: .9rem; letter-spacing: .02em; color: #fff; transition: color .6s; }
.topbar nav { display: flex; gap: 6px; align-items: center; padding: 6px; border-radius: 999px; background: rgba(21,23,21,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.topbar nav a { position: relative; font-size: .86rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; color: var(--text); transition: background .3s, color .3s; overflow: hidden; }
.topbar nav a:hover { background: rgba(241,239,232,.08); }
.topbar nav a.active { background: var(--text); color: #000; }
.topbar nav a.cta { background: var(--venom); color: #000; font-weight: 600; }
.topbar nav a.cta:hover { background: #fff; }
body.light .topbar nav { background: rgba(18,19,18,.9); }
body.light .topbar .brand b { color: #121312; mix-blend-mode: normal; }
body.light .topbar .brand img { filter: invert(1) brightness(.2); }

/* roll text hover */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; }
.roll span { display: block; transition: transform .5s var(--ease); }
.roll span + span { position: absolute; top: 100%; left: 0; }
a:hover > .roll span, button:hover > .roll span { transform: translateY(-100%); }

/* ---------- FLOATING ACTIONS ---------- */
.fab { position: fixed; right: var(--pad); bottom: 28px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a, .fab button {
  width: 52px; height: 52px; border-radius: 14px; border: 0; cursor: pointer; display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.fab .go { background: var(--venom); color: #000; }
.fab .go svg { transition: transform .4s var(--ease); }
.fab .go:hover svg { transform: rotate(45deg); }
.fab .menu-btn { background: var(--char-2); border: 1px solid var(--line); }
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 3px 0; transition: transform .4s var(--ease); }
body.menu-open .menu-btn i:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-btn i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
body.menu-open .menu-btn i:nth-child(2) { transform: scaleX(0); }

/* fullscreen menu */
.overlay-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--char); padding: 130px var(--pad) 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - var(--pad) - 26px) calc(100% - 54px)); transition: clip-path .9s var(--ease);
}
body.menu-open .overlay-menu { clip-path: circle(150% at calc(100% - var(--pad) - 26px) calc(100% - 54px)); }
.overlay-menu nav a {
  display: block; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(2.8rem, 10vw, 7.5rem); line-height: 1; letter-spacing: -.02em; overflow: hidden;
}
.overlay-menu nav a span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease), color .3s; }
body.menu-open .overlay-menu nav a span { transform: none; }
.overlay-menu nav a:nth-child(2) span { transition-delay: .06s; }
.overlay-menu nav a:nth-child(3) span { transition-delay: .12s; }
.overlay-menu nav a:hover span { color: var(--venom); }
.overlay-menu nav a sup { font-family: var(--mono); font-size: .8rem; color: var(--muted); vertical-align: top; margin-left: 10px; }
.overlay-menu .meta { display: flex; gap: 30px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }

/* ---------- SHARED TYPE ---------- */
.label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
body.light .label, .light-sec .label { color: var(--muted-dark); }
.split-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.1em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

.rail { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 40px; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.rail > .label { padding-top: 10px; position: sticky; top: 110px; align-self: start; }
.section { padding: clamp(90px, 13vw, 180px) 0; position: relative; }
.clip { overflow: clip; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; background: var(--venom); color: #000; transition: background .3s, color .3s;
}
.btn .ico { width: 30px; height: 30px; border-radius: 50%; background: #000; color: var(--venom); display: grid; place-items: center; transition: transform .5s var(--ease); }
.btn:hover .ico { transform: rotate(-45deg); }
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn.ghost .ico { background: var(--venom); color: #000; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--pad) 60px; overflow: hidden; }
.blob-wrap { position: relative; width: min(1000px, 92vw); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.blob {
  position: absolute; inset: 0; clip-path: url(#blobClip); -webkit-clip-path: url(#blobClip);
  background: #10140d; transform: scale(.6); opacity: 0; transition: transform 1.6s var(--ease), opacity 1.2s;
}
.ready .blob { transform: none; opacity: 1; }
.blob .reel { position: absolute; inset: -6%; }
.blob .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s linear; filter: saturate(.75) contrast(1.1); }
.blob .reel img.on { opacity: 1; transform: scale(1); }
.blob::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(12,13,12,.15), rgba(12,13,12,.65)), linear-gradient(160deg, rgba(195,255,58,.22), transparent 55%); mix-blend-mode: normal; }
.hero h1 {
  position: relative; z-index: 2; margin: 0; text-align: center; color: var(--bone);
  font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(3.4rem, 12.5vw, 11.5rem); line-height: .84; letter-spacing: -.035em;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.45));
}
.hero h1 .char { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1.3s var(--ease), opacity 1s; transition-delay: calc(.35s + var(--i) * 45ms); }
.ready .hero h1 .char { transform: none; opacity: 1; }
.hero h1 .row { display: block; overflow: hidden; padding: 0 .04em; }
.hero-mark { position: absolute; z-index: 3; width: clamp(54px, 6vw, 84px); top: 4%; right: 7%; transform: rotate(14deg); opacity: 0; transition: opacity 1s 1.1s, transform 1.4s 1.1s var(--ease); filter: drop-shadow(0 8px 30px rgba(0,0,0,.6)); }
.ready .hero-mark { opacity: 1; transform: rotate(8deg); }
.scroll-btn {
  position: absolute; z-index: 3; bottom: -26px; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%;
  background: var(--venom); color: #000; display: grid; place-items: center; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }
.hero-foot { position: absolute; left: var(--pad); right: calc(var(--pad) + 80px); bottom: max(130px, 15vh); padding-left: 0; display: flex; justify-content: space-between; gap: 20px; z-index: 3; }
.hero-foot .label { max-width: 240px; }

.tagline { text-align: center; padding: clamp(40px, 7vw, 90px) var(--pad) 0; }
.tagline h2 {
  margin: 0 auto; max-width: 1100px; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
}
.tagline h2 em { font-style: normal; color: var(--venom); }

/* ---------- CLIENT TILES MARQUEE ---------- */
.tiles { padding: clamp(70px, 9vw, 120px) 0 20px; display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tiles-row { display: flex; width: max-content; gap: 14px; animation: slide 40s linear infinite; }
.tiles-row.rev { animation-direction: reverse; animation-duration: 48s; }
.tiles:hover .tiles-row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tile {
  display: flex; align-items: center; gap: 14px; height: 84px; padding: 0 26px 0 14px; border-radius: 16px;
  background: var(--char-2); border: 1px solid var(--line); white-space: nowrap;
  transition: background .4s var(--ease), color .4s, transform .4s var(--ease);
}
.tile img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .4s, border-radius .4s; }
.tile b { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1rem; }
.tile:hover { background: var(--venom); color: #000; transform: translateY(-4px) rotate(-1.5deg); }
.tile:hover img { filter: none; border-radius: 50%; }
.mono { display: grid; place-items: center; background: var(--venom); color: #000; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; letter-spacing: -.02em; }
.tile .mono { width: 54px; height: 54px; border-radius: 12px; font-size: 1.05rem; flex: none; transition: border-radius .4s, background .4s; }
.tile:hover .mono { background: #000; color: var(--venom); border-radius: 50%; }
.cc .card .mono { width: 100%; height: 100%; font-size: clamp(1.8rem, 3.4vw, 2.8rem); background: #121312; color: var(--venom); }

/* ---------- APPROACH ---------- */
.lit { font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.4; font-weight: 500; max-width: 900px; margin: 0; letter-spacing: -.01em; }
.lit .w { opacity: .14; transition: opacity .25s linear; }
.words { margin-top: clamp(60px, 8vw, 110px); display: grid; gap: 6px; }
.word {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; padding: 6px 0; cursor: default;
}
.word h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(1.6rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -.03em; transition: color .4s; }
.word svg { width: clamp(30px, 3.6vw, 52px); height: auto; transition: transform .8s var(--ease); color: var(--text); }
.word:nth-child(1):hover svg { transform: scale(1.25); }
.word:nth-child(2):hover svg { transform: rotate(90deg) scale(.85); }
.word:nth-child(3):hover svg { transform: rotate(180deg); }
.word p { grid-column: 2; margin: 0; color: var(--muted); max-width: 460px; font-size: 1rem; max-height: 0; opacity: 0; transform: translateY(-8px); transition: max-height .6s var(--ease), opacity .5s, transform .6s var(--ease), margin .6s var(--ease); }
.word:hover h3 { color: var(--venom); }
.word:hover svg { color: var(--venom); }
.word:hover p { opacity: 1; transform: none; max-height: 80px; margin: 10px 0 18px; }
@media (hover: none) { .word p { opacity: 1; transform: none; max-height: none; margin: 8px 0 20px; } }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.stat { border-top: 1px solid var(--line); padding: 26px 20px 10px 0; }
.stat h4 { margin: 0; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1; }
.stat h4 sup { color: var(--venom); font-size: .5em; }
.stat p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- SELECTED WORK LIST ---------- */
.work-intro { margin: 0 0 50px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 720px; color: var(--text); }
.work-list { position: relative; display: grid; gap: 14px; }
.work-row {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,13,12,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; text-align: left; width: 100%;
  transition: background .5s var(--ease), border-color .5s, padding .5s var(--ease), color .4s;
}
.work-row .label { display: block; margin-bottom: 8px; }
.work-row h3 { margin: 0; font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.01em; max-width: 760px; }
.work-row .v { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.work-row:hover { background: var(--venom); color: #000; border-color: var(--venom); padding-left: 38px; }
.work-row:hover .label { color: rgba(0,0,0,.6); }
.float-thumbs { position: absolute; inset: -60px -12% -60px -14%; z-index: 1; pointer-events: none; }
.float-thumbs img { position: absolute; width: clamp(110px, 12vw, 180px); aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; opacity: .5; filter: saturate(.7) blur(.3px); }
.hover-preview {
  position: fixed; top: 0; left: 0; z-index: 40; width: 300px; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; pointer-events: none;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.hover-preview.on { opacity: 1; transform: scale(1); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .hover-preview { display: none; } }

/* ---------- LIGHT SECTIONS ---------- */
.light-sec { color: #121312; }
.light-sec .lit .w { opacity: .18; }

/* services */
.svc-intro { font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--venom-deep); max-width: 760px; margin: 0 0 70px; line-height: 1.45; }
.svc { border-top: 1px solid var(--line-dark); }
.svc:last-child { border-bottom: 1px solid var(--line-dark); }
.svc button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; width: 100%; padding: 34px 0; }
.svc .n { font-family: var(--mono); font-size: .8rem; color: var(--muted-dark); }
.svc h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(1.6rem, 4vw, 3.2rem); letter-spacing: -.025em; line-height: 1; transition: color .4s, transform .6s var(--ease); }
.svc button:hover h3 { color: var(--venom-deep); transform: translateX(10px); }
.svc .plus { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; transition: background .4s, transform .6s var(--ease); }
.svc .plus::before, .svc .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: #121312; transition: transform .5s var(--ease); }
.svc .plus::after { transform: rotate(90deg); }
.svc.open .plus { background: var(--venom); border-color: var(--venom); transform: rotate(180deg); }
.svc.open .plus::after { transform: rotate(0); }
.svc .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc.open .body { grid-template-rows: 1fr; }
.svc .body > div { overflow: hidden; padding-left: 80px; }
.svc .body p { margin: 0 0 22px; color: var(--muted-dark); max-width: 560px; }
.svc ul { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.svc li { padding: 10px 18px; border-radius: 999px; background: var(--bone-2); font-size: .9rem; font-weight: 500; }

/* creators showcase */
.creators { position: relative; padding: clamp(60px, 10vw, 140px) 0 60px; overflow: hidden; }
.creators .giant {
  margin: 0; text-align: center; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(2.6rem, 12.6vw, 15rem); line-height: .82; letter-spacing: -.05em; color: #121312; white-space: nowrap;
}
.creators .giant .char { display: inline-block; transform: translateY(100%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.creators.is-in .giant .char { transform: none; }
.creators .sub { text-align: center; margin: 22px auto 0; color: var(--muted-dark); max-width: 520px; }
.cloud { position: relative; max-width: 1200px; margin: 30px auto 0; padding: 0 var(--pad); }
.cc {
  --r: 0deg; position: absolute; width: clamp(96px, 12vw, 150px); perspective: 600px;
  transform: translate(-50%, 0) scale(0) rotate(calc(var(--r) * 3)); transition: transform 1.2s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i) * 70ms);
}
.creators.is-in .cc { transform: translate(-50%, 0) scale(1) rotate(var(--r)); }
.cc .card {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--venom); aspect-ratio: 4/5;
  animation: float var(--f, 6s) ease-in-out infinite; animation-delay: var(--fd, 0s);
  transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 20px 40px rgba(0,0,0,.12); transform-style: preserve-3d;
}
.cc .card img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(.2) contrast(1.05); transition: transform .8s var(--ease), filter .5s; }
.cc:hover { z-index: 5; }
.cc:hover .card { box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.cc:hover .card img { transform: scale(1.1); filter: none; mix-blend-mode: normal; }
.cc .tagname {
  position: absolute; left: 50%; bottom: -14px; transform: translate(-50%, 6px); white-space: nowrap; padding: 7px 12px; border-radius: 999px;
  background: #121312; color: var(--bone); font-size: .78rem; font-weight: 600; opacity: 0; transition: opacity .3s, transform .4s var(--ease); z-index: 3;
}
.cc:hover .tagname { opacity: 1; transform: translate(-50%, 0); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* reviews */
.quote-wrap { position: relative; min-height: 300px; }
.quote { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s; }
.quote.on { opacity: 1; pointer-events: auto; }
.quote blockquote { margin: 0; font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.025em; }
.quote blockquote .w { display: inline-block; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .6s, transform .8s var(--ease), filter .6s; transition-delay: calc(var(--i) * 28ms); }
.quote.on blockquote .w { opacity: 1; transform: none; filter: none; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.quote .who img { width: 52px; height: 52px; border-radius: 50%; }
.quote .who b { display: block; font-size: 1rem; }
.quote .who span { font-size: .85rem; color: var(--muted-dark); }
.q-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.q-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; transition: background .3s; display: grid; place-items: center; }
.q-ctrl button:hover { background: var(--venom); border-color: var(--venom); }
.q-prog { flex: 1; max-width: 260px; height: 2px; background: var(--line-dark); overflow: hidden; }
.q-prog i { display: block; height: 100%; width: 0; background: #121312; }
.q-count { font-family: var(--mono); font-size: .8rem; color: var(--muted-dark); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(100px, 14vw, 200px) 0; overflow: hidden; text-align: center; }
.cta-marquee { display: flex; width: max-content; animation: slide 22s linear infinite; }
.cta-marquee span {
  font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(4rem, 13vw, 12rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap; padding-right: .3em;
}
.cta-marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.big-circle {
  position: relative; margin: 50px auto 0; width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--venom); color: #000;
  display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 1rem; line-height: 1.2; transition: transform .5s var(--ease);
}
.big-circle:hover { transform: scale(1.06); }
.big-circle svg.ring { position: absolute; inset: -18px; width: calc(100% + 36px); height: calc(100% + 36px); animation: spin 14s linear infinite; }
.big-circle svg.ring text { font-family: var(--mono); font-size: 8.4px; letter-spacing: 2.6px; fill: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FOOTER ---------- */
.site-footer { padding: 80px var(--pad) 30px; border-top: 1px solid var(--line); background: var(--ink); color: var(--text); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto; }
.foot-top p { color: var(--muted); max-width: 380px; margin: 0; }
.foot-top h5 { margin: 0 0 16px; }
.foot-top a { display: block; padding: 4px 0; color: var(--text); transition: color .3s; width: fit-content; }
.foot-top a:hover { color: var(--venom); }
.foot-word {
  width: max-content; max-width: none; margin: 70px auto 0; white-space: nowrap; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(2rem, 9.2vw, 10.5rem); line-height: .8; letter-spacing: -.05em; display: flex; align-items: flex-end; justify-content: center; gap: .18em;
}
.foot-word img { height: .95em; width: auto; }
.foot-bottom { max-width: 1400px; margin: 30px auto 0; padding-right: 80px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8,9,8,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox .frame { width: min(1200px, 100%); aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; transform: scale(.9); transition: transform .6s var(--ease); }
.lightbox.on .frame { transform: none; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }
.lightbox .close { position: absolute; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--venom); color: #000; cursor: pointer; font-size: 1.4rem; }

/* ---------- PAGE HEAD (portfolio / contact) ---------- */
.page-head { padding: 170px var(--pad) 60px; max-width: 1400px; margin: 0 auto; }
.page-head h1 {
  margin: 0; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 10rem); line-height: .86; letter-spacing: -.045em;
}
.page-head h1 em { font-style: normal; color: var(--venom); }
.page-head .row2 { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.page-head .row2 p { max-width: 460px; color: var(--muted); margin: 0; }

/* portfolio grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 1400px; margin: 0 auto 40px; padding: 0 var(--pad); }
.filters button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 18px; cursor: pointer; font-size: .88rem; transition: .3s; }
.filters button:hover { border-color: var(--venom); }
.filters button.on { background: var(--venom); color: #000; border-color: var(--venom); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 46px 28px; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.vcard { cursor: pointer; display: block; text-align: left; background: none; border: 0; padding: 0; width: 100%; }
.vcard.hide { display: none; }
.vcard .thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--char-2); }
.vcard .thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s; }
.vcard:hover .thumb img { transform: scale(1.09); filter: saturate(1.15); }
.vcard .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.55)); }
.vcard .views-pill { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: var(--venom); color: #000; font-weight: 700; font-size: .8rem; }
.vcard .tag-pill { position: absolute; z-index: 2; right: 16px; top: 16px; padding: 6px 11px; border-radius: 999px; background: rgba(12,13,12,.7); backdrop-filter: blur(8px); font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; }
.vcard h3 { margin: 18px 0 0; font-weight: 500; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; transition: color .3s; }
.vcard:hover h3 { color: var(--venom); }
.vcard .num { font-family: var(--mono); font-size: .72rem; color: var(--muted); display: block; margin-top: 8px; }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); max-width: 1400px; margin: 0 auto; padding: 0 var(--pad) 140px; }
.contact-side p { color: var(--muted); font-size: 1.05rem; max-width: 420px; }
.contact-side .ch { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-side .ch a { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .5s var(--ease); }
.contact-side .ch a:hover { color: var(--venom); padding-left: 12px; }
.contact-side .mark { width: 90px; margin-top: 50px; opacity: .9; }
.form .f { position: relative; margin-bottom: 34px; }
.form input, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(241,239,232,.25); color: var(--text);
  font: inherit; font-size: 1.25rem; padding: 26px 0 12px; outline: none; border-radius: 0; resize: vertical;
}
.form textarea { min-height: 120px; }
.form .f label { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transition: transform .4s var(--ease), font-size .4s, color .3s; transform-origin: left; font-size: 1.15rem; }
.form .f input:focus + label, .form .f input:not(:placeholder-shown) + label,
.form .f textarea:focus + label, .form .f textarea:not(:placeholder-shown) + label { transform: translateY(-26px); font-size: .78rem; color: var(--venom); }
.form .f::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--venom); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.form .f:focus-within::after { transform: scaleX(1); }
.form > .label { display: block; margin-bottom: 14px; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 40px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { color: var(--text); padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; transition: .3s; font-size: .95rem; }
.chips label:hover { border-color: var(--venom); }
.chips input:checked + label { background: var(--venom); border-color: var(--venom); color: #000; }
.form-status { margin-top: 18px; font-size: .95rem; color: #ff6b6b; min-height: 1.4em; }
.sent { display: none; padding: 40px 0; }
.sent img { width: 80px; animation: pop 1s var(--ease); }
.sent h3 { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem); margin: 24px 0 10px; }
.sent p { color: var(--muted); }
.form-wrap.done form { display: none; }
.form-wrap.done .sent { display: block; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .topbar nav { display: none; }
  .rail { grid-template-columns: 1fr; gap: 24px; }
  .rail > .label { position: static; }
  .contact { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > div:first-child { grid-column: 1 / -1; }
  .float-thumbs { display: none; }
  .svc button { grid-template-columns: 34px 1fr auto; }
  .svc .body > div { padding-left: 54px; }
  .hero-foot { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .blob-wrap { aspect-ratio: 4 / 5; }
  .work-row { grid-template-columns: 1fr; padding: 18px; }
  .quote-wrap { min-height: 420px; }
  .tile { height: 70px; }
  .tile img { width: 44px; height: 44px; }
}

/* =====================================================================
   v3 - toxic atmosphere, Shad network, channel rows, VENOM.EXE game
   ===================================================================== */
/* drifting toxic fog */
.fog { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; transition: opacity .8s; }
.fog i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; background: radial-gradient(circle, rgba(150,255,30,.11), transparent 62%); animation: fog 26s ease-in-out infinite alternate; }
.fog i:nth-child(1) { left: -20vmax; bottom: -30vmax; }
.fog i:nth-child(2) { right: -25vmax; bottom: -20vmax; animation-duration: 32s; animation-delay: -8s; background: radial-gradient(circle, rgba(140,70,255,.08), transparent 62%); }
.fog i:nth-child(3) { left: 30vw; bottom: -40vmax; animation-duration: 38s; animation-delay: -15s; }
@keyframes fog { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,-6vh) scale(1.15); } 100% { transform: translate(-6vw,-12vh) scale(.95); } }
body.light .fog { opacity: 0; }

/* hazard tapes */
.hazard { position: relative; height: 190px; margin: 10px 0 40px; overflow: hidden; }
.tape { position: absolute; left: -25%; right: -25%; top: 50%; padding: 14px 0; overflow: hidden; border-block: 3px solid #000;
  background: repeating-linear-gradient(-45deg, var(--venom) 0 26px, #0c0d0c 26px 52px); }
.tape.t1 { transform: translateY(-50%) rotate(-4deg); z-index: 2; box-shadow: 0 20px 50px rgba(195,255,58,.18); }
.tape.t2 { transform: translateY(-50%) rotate(3deg); opacity: .9; filter: saturate(.8); }
.tape-track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.tape.t2 .tape-track { animation-direction: reverse; animation-duration: 36s; }
.tape span { flex: none; margin: 0 14px; padding: 6px 16px; background: #0c0d0c; color: var(--venom); font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1rem; letter-spacing: .04em; white-space: nowrap; }

/* Shad network spotlight */
.network .net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.net-title { margin: 0 0 26px; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(2.2rem, 4.8vw, 4.4rem); line-height: .95; letter-spacing: -.035em; }
.net-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 520px; }
.net-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.net-list a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: padding .5s var(--ease), color .3s; }
.net-list a:hover { padding-left: 12px; color: var(--venom); }
.net-list img, .net-list .mono { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; font-size: .8rem; }
.net-list i { font-style: normal; color: var(--muted); }
.net-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.net-badges span { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; }
.net-badges span:first-child { background: var(--venom); color: #000; border-color: var(--venom); font-weight: 700; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; display: grid; place-items: center; }
.orbit .ring { position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed rgba(195,255,58,.28); transform: scaleY(.86); animation: spin 60s linear infinite; }
.orbit .r2 { inset: 22%; border-style: solid; border-color: rgba(195,255,58,.12); animation-duration: 40s; animation-direction: reverse; }
.orbit .r3 { inset: 33%; border: 0; background: radial-gradient(circle, rgba(195,255,58,.25), transparent 70%); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.18); opacity: .55; } }
.orbit .core { position: relative; z-index: 4; display: grid; justify-items: center; gap: 12px; }
.orbit .core img, .orbit .core .mono { width: clamp(110px, 14vw, 170px); height: clamp(110px, 14vw, 170px); border-radius: 50%; object-fit: cover; border: 3px solid var(--venom); box-shadow: 0 0 0 10px rgba(195,255,58,.1), 0 0 70px rgba(195,255,58,.45); font-size: 2.6rem; }
.orbit .core b { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.2rem; }
.orbit .sat { position: absolute; left: 50%; top: 50%; margin: -38px 0 0 -38px; width: 76px; display: grid; justify-items: center; gap: 8px; transition: filter .3s; will-change: transform; }
.orbit .sat img, .orbit .sat .mono { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(239,236,228,.8); background: #000; font-size: 1.2rem; transition: border-color .3s, box-shadow .3s; }
.orbit .sat b { font-size: .75rem; font-weight: 700; white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: rgba(12,13,12,.85); border: 1px solid var(--line); }
.orbit .sat:hover img, .orbit .sat:hover .mono { border-color: var(--venom); box-shadow: 0 0 30px rgba(195,255,58,.6); }
.net-banner { max-width: 1400px; margin: 0 auto 40px; padding: 0 var(--pad); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.net-banner .nb-avs { display: flex; }
.net-banner .nb-avs span { margin-left: -14px; transition: transform .4s var(--ease); }
.net-banner .nb-avs span:first-child { margin-left: 0; }
.net-banner .nb-avs span:hover { transform: translateY(-6px); z-index: 2; }
.net-banner img, .net-banner .mono { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--ink); object-fit: cover; font-size: .9rem; }
.net-banner p { margin: 0; color: var(--muted); max-width: 640px; }
.net-banner b { display: block; color: var(--text); font-size: 1.1rem; }

/* portfolio: channel + views row */
.vcard .t-over { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(101%); transition: transform .6s var(--ease); }
.vcard .t-over h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; color: #fff; }
.vcard .t-over h3:empty { display: none; }
.vcard:hover .t-over { transform: none; }
.vcard:hover .t-over h3 { color: #fff; }
.vmeta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; min-height: 40px; }
.vmeta .chan { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 600; font-size: 1rem; }
.vmeta .chan > span:not(.mono):not(.sk-av):not(.sk-line) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vmeta .chan img, .vmeta .chan .mono, .vmeta .sk-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; font-size: .8rem; }
.vmeta .chan.in { animation: fadeUp .6s var(--ease); }
.vmeta .vviews { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; color: var(--venom); white-space: nowrap; font-size: 1rem; }
.vmeta .vviews.in { animation: fadeUp .6s var(--ease); }
.sk-av, .sk-line { display: block; background: linear-gradient(90deg, var(--char-2), #2a2e2a, var(--char-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-line { width: 120px; height: 12px; border-radius: 6px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.vcard:hover .vmeta .chan > span:last-child { color: var(--venom); }

/* game */
.game-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.game-head h2 { margin: 0; max-width: 640px; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: .98; letter-spacing: -.03em; }
.game-head p { margin: 0; max-width: 360px; color: var(--muted); }
.game { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 14px; background: rgba(12,13,12,.85); box-shadow: 0 0 0 1px rgba(195,255,58,.06), 0 40px 120px rgba(195,255,58,.08); }
.game.playing { box-shadow: 0 0 0 1px rgba(195,255,58,.45), 0 0 80px rgba(195,255,58,.18); }
.g-hud { display: flex; align-items: center; gap: 24px; padding: 4px 6px 14px; font-size: .82rem; color: var(--muted); }
.g-hud b { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.3rem; color: var(--text); margin-right: 6px; }
.g-hud .g-score { color: var(--venom); }
.g-pause { margin-left: auto; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 800; font-size: .75rem; letter-spacing: -.1em; }
.g-stage { position: relative; height: clamp(320px, 56vh, 520px); display: grid; place-items: center; border-radius: 14px; overflow: hidden; touch-action: none; }
.g-canvas { display: block; border-radius: 10px; }
.g-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 20px; background: rgba(8,10,8,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.g-overlay.on { opacity: 1; pointer-events: auto; }
.g-title { margin: 0; font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(2.4rem, 7vw, 5rem); line-height: .9; letter-spacing: -.04em; text-shadow: 0 0 40px rgba(195,255,58,.35); }
.g-title span { color: var(--venom); }
.g-msg { margin: 0; color: var(--muted); max-width: 380px; }
.g-start { margin-top: 6px; padding: 16px 30px; border-radius: 999px; border: 0; background: var(--venom); color: #000; font-weight: 700; cursor: pointer; transition: transform .3s var(--ease); }
.g-start:hover { transform: scale(1.06); }
.g-keys { margin: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
.g-pad { display: none; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(2, 56px); gap: 8px; justify-content: center; margin-top: 14px; }
.g-pad button { border-radius: 14px; border: 1px solid var(--line); background: var(--char-2); color: var(--venom); font-size: 1.1rem; cursor: pointer; touch-action: manipulation; }
.g-pad button:active { background: var(--venom); color: #000; }
.g-pad [data-d="up"] { grid-column: 2; grid-row: 1; }
.g-pad [data-d="left"] { grid-column: 1; grid-row: 2; }
.g-pad [data-d="down"] { grid-column: 2; grid-row: 2; }
.g-pad [data-d="right"] { grid-column: 3; grid-row: 2; }
@media (hover: none) { .g-pad { display: grid; } }

/* play button + game popup */
.fab .play-btn { background: var(--char-2); border: 1px solid rgba(195,255,58,.4); color: var(--venom); position: relative; }
.fab .play-btn::after { content: ''; position: absolute; inset: -4px; border-radius: 17px; border: 1px solid var(--venom); opacity: 0; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.game-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(6,8,6,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.game-modal.on { opacity: 1; pointer-events: auto; }
.gm-inner { width: min(980px, 100%); transform: translateY(30px) scale(.96); transition: transform .6s var(--ease); }
.game-modal.on .gm-inner { transform: none; }
.gm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gm-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--venom); color: #000; cursor: pointer; font-size: 1.1rem; }
body.game-open .fab, body.game-open .topbar { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .network .net-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 400px; }
  .orbit .sat { width: 58px; margin: -29px 0 0 -29px; }
  .orbit .sat img, .orbit .sat .mono { width: 58px; height: 58px; }
  .hazard { height: 140px; }
  .tape span { font-size: .8rem; }
}


/* never let anything push the page sideways */
html, body { overflow-x: clip; max-width: 100%; }

/* hazard tapes: stripes run with the text, no visible seam */
.tape { background-size: 73.54px 100% !important; animation: stripes 1.6s linear infinite; }
.tape.t2 { animation-direction: reverse; animation-duration: 1.9s; }
@keyframes stripes { to { background-position: 73.54px 0; } }
.tape-track { will-change: transform; }

/* footer, Hostinger-style */
.foot-top h5 { font-family: var(--body); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin: 0 0 18px; }
.foot-top a { color: rgba(241,239,232,.78); font-size: .98rem; padding: 5px 0; }
.foot-legal-row { max-width: 1400px; margin: 40px auto 0; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; }
.foot-legal-row a { color: rgba(241,239,232,.8); font-size: .95rem; transition: color .3s; }
.foot-legal-row a:hover { color: var(--venom); }
.foot-bottom { justify-content: center !important; gap: 10px 28px !important; padding-right: 0 !important; border-top: 0 !important; margin-top: 14px !important; padding-top: 0 !important; color: var(--muted); font-size: .85rem; }
.foot-bottom a { color: var(--muted); transition: color .3s; }
.foot-bottom a:hover { color: var(--venom); }

/* snake's after-snack messages */
.snake-tip { position: fixed; left: 0; top: 0; z-index: 35; max-width: 270px; padding: 14px 16px 14px; border-radius: 16px 16px 16px 4px;
  background: var(--venom); color: #000; box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.2);
  opacity: 0; scale: .7; transform-origin: 0 100%; transition: opacity .3s, scale .45s cubic-bezier(.34,1.56,.64,1); pointer-events: auto; }
.snake-tip.below { border-radius: 4px 16px 16px 16px; transform-origin: 0 0; }
.snake-tip.on { opacity: 1; scale: 1; }
.snake-tip p { margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.snake-tip a { display: inline-block; margin-top: 10px; padding: 7px 13px; border-radius: 999px; background: #000; color: var(--venom); font-size: .82rem; font-weight: 700; transition: background .2s, color .2s; }
.snake-tip a:hover { background: #fff; color: #000; }
