/* ============================================================
   YUHLA / ЮГЛА — toxic-neon stylesheet
   ============================================================ */

:root {
  --bg: #070708;
  --bg-2: #0b0c0a;
  --panel: #0e1009;
  --line: #20240f;
  --text: #f2ffe6;
  --muted: #9aa888;
  --acid: #c6ff00;        /* primary toxic acid */
  --acid-rgb: 198,255,0;
  --magenta: #ff1fa4;
  --magenta-rgb: 255,31,164;
  --cyan: #1ef0ff;
  --cyan-rgb: 30,240,255;
  --radius: 16px;
  --maxw: 1320px;
  --ease: cubic-bezier(.19,1,.22,1);
  --disp: "Syne", "Space Grotesk", system-ui, sans-serif;
  --body: "Tektur", "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Space Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--acid); color: #0a0a00; }
section { position: relative; }

/* ---- background fx layers ---- */
#bg-canvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
#bg-canvas.ready { opacity: 1; }
.bg-glow {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(50vw 40vw at 50% 0%, rgba(var(--acid-rgb), .10), transparent 60%),
    radial-gradient(40vw 40vw at 85% 100%, rgba(var(--magenta-rgb), .10), transparent 60%),
    radial-gradient(40vw 40vw at 10% 90%, rgba(var(--cyan-rgb), .06), transparent 60%);
}
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .35; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.0) 0px, rgba(0,0,0,.0) 2px, rgba(0,0,0,.35) 3px, rgba(0,0,0,.0) 4px);
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-4%,2%)} 50%{transform:translate(3%,-3%)} 75%{transform:translate(-2%,4%)} }

.container { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }

/* ---- cursor ---- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor { width: 40px; height: 40px; border: 1.5px solid var(--acid); box-shadow: 0 0 12px rgba(var(--acid-rgb), .6); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; }
.cursor-dot { width: 5px; height: 5px; background: var(--acid); }
.cursor.hover { width: 64px; height: 64px; background: rgba(var(--acid-rgb), .12); border-color: var(--magenta); box-shadow: 0 0 18px rgba(var(--magenta-rgb), .6); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---- loader ---- */
.loader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; width: min(80vw, 520px); }
.loader__logo { font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 9vw, 96px); letter-spacing: .04em; color: var(--acid); text-shadow: 0 0 18px rgba(var(--acid-rgb), .6); }
.loader__bar { height: 2px; background: var(--line); margin: 22px 0 12px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--acid); box-shadow: 0 0 12px var(--acid); transition: width .2s linear; }
.loader__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }

/* ---- header / nav ---- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 22px 0; transition: padding .4s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { padding: 12px 0; background: rgba(7,7,8,.78); backdrop-filter: blur(12px); border-color: var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(var(--acid-rgb), .5)); }
.brand__name { font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: .12em; }
.brand__name small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .34em; color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); position: relative; transition: color .3s; }
.nav a::before { content: "//"; color: var(--acid); opacity: 0; margin-right: 6px; transition: opacity .3s; }
.nav a:hover { color: var(--text); }
.nav a:hover::before { opacity: 1; }
.header__right { display: flex; align-items: center; gap: 16px; }

.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 30px; padding: 4px; }
.lang__btn { font-family: var(--mono); font-size: 12px; padding: 5px 11px; border-radius: 30px; color: var(--muted); transition: .3s; }
.lang__btn.is-active { background: var(--acid); color: #0a0a00; box-shadow: 0 0 12px rgba(var(--acid-rgb), .5); }

.burger { display: none; width: 30px; height: 22px; position: relative; z-index: 1001; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--acid); border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1){ top: 0; } .burger span:nth-child(2){ top: 10px; } .burger span:nth-child(3){ top: 20px; }
.burger.is-open span:nth-child(1){ top: 10px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ top: 10px; transform: rotate(-45deg); }

/* fullscreen menu */
.menu { position: fixed; inset: 0; z-index: 1000; background: rgba(7,8,6,.97); backdrop-filter: blur(14px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu a { font-family: var(--disp); font-weight: 800; font-size: clamp(34px, 9vw, 76px); color: var(--text); letter-spacing: -.01em; transition: color .3s, text-shadow .3s; line-height: 1.1; }
.menu a:hover { color: var(--acid); text-shadow: 0 0 22px rgba(var(--acid-rgb), .6); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 40px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; position: relative; overflow: hidden; transition: transform .3s var(--ease), color .3s, box-shadow .3s; }
.btn span { position: relative; z-index: 2; }
.btn svg { width: 16px; height: 16px; position: relative; z-index: 2; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn--primary { background: var(--acid); color: #0a0a00; box-shadow: 0 0 22px rgba(var(--acid-rgb), .35); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: var(--magenta); transform: translateY(101%); transition: transform .4s var(--ease); z-index: 1; }
.btn--primary:hover { color: #fff; box-shadow: 0 0 30px rgba(var(--magenta-rgb), .5); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--acid); box-shadow: 0 0 18px rgba(var(--acid-rgb), .25); }

/* ---- hero ---- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 70px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--acid); margin-bottom: 26px; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(var(--acid-rgb), .6); animation: pulse 2s infinite; }
@keyframes pulse { 70%{box-shadow:0 0 0 12px rgba(var(--acid-rgb),0)} 100%{box-shadow:0 0 0 0 rgba(var(--acid-rgb),0)} }
.hero h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(48px, 9.5vw, 150px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 .ac { color: var(--acid); text-shadow: 0 0 26px rgba(var(--acid-rgb), .45); }
.hero h1 .mg { color: var(--magenta); text-shadow: 0 0 26px rgba(var(--magenta-rgb), .45); -webkit-text-stroke: 0; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero__sub { margin-top: 30px; max-width: 540px; font-size: 18px; color: var(--muted); }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--muted); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--acid), transparent); display: block; }

/* split text reveal */
[data-split] { display: block; }
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .word__in { display: inline-block; transform: translateY(115%); transition: transform .85s var(--ease); }
[data-split].is-visible .word__in { transform: none; }

/* generic reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- marquee ---- */
.marquee { border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; white-space: nowrap; background: rgba(11,12,8,.6); }
.marquee__track { display: inline-flex; gap: 40px; animation: marquee 55s linear infinite; will-change: transform; }
.marquee span { font-family: var(--disp); font-weight: 800; font-size: clamp(22px, 3.4vw, 40px); text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee span b { color: var(--acid); -webkit-text-stroke: 0; text-shadow: 0 0 16px rgba(var(--acid-rgb), .4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- section frame ---- */
.sec { padding: 120px 0; }
.sec__head { max-width: 760px; margin-bottom: 64px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acid); margin-bottom: 20px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 30px; }
.tag::before { content: ""; width: 6px; height: 6px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 8px var(--acid); }
.sec__head h2 { font-family: var(--disp); font-weight: 800; font-size: clamp(34px, 5.5vw, 72px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.sec__head h2 .ac { color: var(--acid); }
.sec__head p { margin-top: 22px; font-size: 18px; color: var(--muted); }

/* ---- about / story ---- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about__text p { font-size: 18px; color: var(--muted); margin-bottom: 18px; }
.about__text p strong { color: var(--text); }
.about__text .lead { font-size: 22px; color: var(--text); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: var(--panel); position: relative; overflow: hidden; transition: border-color .35s, box-shadow .35s; }
.stat:hover { border-color: rgba(var(--acid-rgb), .45); box-shadow: 0 0 26px rgba(var(--acid-rgb), .12); }
.stat__num { font-family: var(--disp); font-weight: 800; font-size: 46px; color: var(--acid); text-shadow: 0 0 18px rgba(var(--acid-rgb), .35); line-height: 1; }
.stat__lab { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---- services ---- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; background: var(--panel); position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--acid); box-shadow: 0 0 12px var(--acid); transition: width .5s var(--ease); }
.svc:hover { transform: translateY(-8px); border-color: rgba(var(--acid-rgb), .4); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.svc:hover::after { width: 100%; }
.svc__idx { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.svc__ico { width: 54px; height: 54px; margin: 18px 0 20px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(var(--acid-rgb), .05); }
.svc__ico svg { width: 26px; height: 26px; stroke: var(--acid); fill: none; }
.svc h3 { font-family: var(--disp); font-weight: 700; font-size: 21px; margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 15px; }

/* ---- works ---- */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--panel); position: relative; transition: transform .6s var(--ease), box-shadow .5s; }
.work:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.work__img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); transition: transform .8s var(--ease), filter .5s; }
.work:hover .work__img img { transform: scale(1.06); }
.work__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,7,8,.6)); }
.work__cat { position: absolute; z-index: 2; top: 14px; left: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(7,7,8,.7); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--acid); padding: 6px 12px; border-radius: 30px; }
.work__body { padding: 24px 26px 28px; }
.work__body h3 { font-family: var(--disp); font-weight: 700; font-size: 23px; margin-bottom: 10px; }
.work__body p { color: var(--muted); font-size: 15px; }
.work__meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.work__meta b { color: var(--acid); font-weight: 400; }

/* ---- process ---- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border-top: 2px solid var(--line); padding-top: 22px; transition: border-color .4s; }
.step:hover { border-color: var(--acid); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--acid); letter-spacing: .14em; margin-bottom: 14px; }
.step h3 { font-family: var(--disp); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---- contact ---- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact__card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--panel); }
.crow { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.crow:last-child { border-bottom: 0; }
.crow__ico { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(var(--acid-rgb), .05); }
.crow__ico svg { width: 22px; height: 22px; stroke: var(--acid); fill: none; }
.crow__k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
.crow__v { font-size: 17px; }
a.crow__v:hover { color: var(--acid); }

.form { display: grid; gap: 16px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); display: block; margin-bottom: 8px; text-transform: uppercase; }
.field input, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .3s, box-shadow .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acid); box-shadow: 0 0 0 3px rgba(var(--acid-rgb), .14); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.form__note a { color: var(--acid); }
.form__msg { font-family: var(--mono); font-size: 13px; color: var(--acid); min-height: 18px; }
.map { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 220px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) hue-rotate(60deg) contrast(.9) brightness(.9); }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 36px; background: var(--bg-2); }
.footer__cta { font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 8vw, 110px); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 60px; }
.footer__cta a { color: var(--text); transition: color .3s, text-shadow .3s; }
.footer__cta a:hover { color: var(--acid); text-shadow: 0 0 24px rgba(var(--acid-rgb), .5); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__about { color: var(--muted); max-width: 320px; font-size: 15px; margin-top: 16px; }
.footer__col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: 15px; margin-bottom: 11px; transition: color .3s; }
.footer__col a:hover { color: var(--acid); }
.footer__bot { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; gap: 16px; flex-wrap: wrap; }
.footer__bot p, .footer__bot a { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.footer__bot a:hover { color: var(--acid); }

/* progress + totop */
.prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--acid); box-shadow: 0 0 10px var(--acid); z-index: 950; }

/* ---- legal page ---- */
.legal { padding: 170px 0 110px; }
.legal .container { max-width: 880px; }
.legal h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(38px, 6vw, 72px); text-transform: uppercase; margin-bottom: 14px; }
.legal h1 .ac { color: var(--acid); }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-family: var(--disp); font-weight: 700; font-size: 24px; margin: 42px 0 14px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: none; }
.legal li::before { content: "▚ "; color: var(--acid); }
.legal a { color: var(--acid); }
.back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--acid); margin-bottom: 30px; }
.back svg { width: 16px; height: 16px; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: 1fr 1fr; }
  .works, .contact { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .burger { display: block; }
  .services, .process, .stats, .footer__grid { grid-template-columns: 1fr; }
  .sec { padding: 84px 0; }
  .hero { padding-top: 120px; }
}
/* keep decorative animations (logo, marquee, grid, glitch) but skip scroll-reveal motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============ cyberpunk headings (everything except the hero) ============ */
.sec__head h2, .svc h3, .work__body h3, .step h3,
.stat__num, .footer__cta, .legal h1, .legal h2, .menu a {
  font-family: "Tektur", var(--disp);
  letter-spacing: .005em;
}
.sec__head h2 { letter-spacing: .005em; }

/* ============ toxic drips (lower part of the site) ============ */
[data-drip] { overflow: visible; }
[data-drip] .ltr { display: inline-block; position: relative; }
/* the running goo: wide where it meets the letter, tapering to a thin point */
[data-drip] .goo::before {
  content: ""; position: absolute; left: 50%; top: 68%;
  transform: translateX(-50%);
  width: .34em; height: var(--dh, .55em);
  background: linear-gradient(180deg, #eaff7a 0%, #aef000 42%, #73b300 100%);
  clip-path: polygon(0 0, 100% 0, 72% 30%, 66% 64%, 57% 100%, 43% 100%, 34% 64%, 28% 30%);
  filter: drop-shadow(0 0 6px rgba(var(--acid-rgb), .5));
  transform-origin: top center;
  animation: gooOoze 4.6s ease-in-out infinite;
  animation-delay: var(--dd, 0s);
  pointer-events: none;
}
/* the rounded bead forming at the tip */
[data-drip] .goo::after {
  content: ""; position: absolute; left: 50%;
  top: calc(68% + var(--dh, .55em) - .07em);
  width: .2em; height: .2em; border-radius: 50% 50% 58% 58%;
  background: radial-gradient(circle at 42% 34%, #f4ffae, #aef000 55%, #6fae00);
  box-shadow: 0 0 8px rgba(var(--acid-rgb), .5);
  transform: translate(-50%, 0);
  transform-origin: top center;
  animation: gooBead 3.8s ease-in-out infinite;
  animation-delay: var(--dd, 0s);
  pointer-events: none;
}
@keyframes gooOoze {
  0%, 100% { transform: translateX(-50%) scaleY(.94); }
  55% { transform: translateX(-50%) scaleY(1.06); }
}
@keyframes gooBead {
  0%, 100% { transform: translate(-50%, -.02em) scale(.82, .78); }
  55% { transform: translate(-50%, .16em) scale(1.05, 1.18); }
}

/* ============ animated neon logo ============ */
.brand__mark { animation: logoPulse 3s ease-in-out infinite; transform-origin: 50% 50%; transition: transform .8s var(--ease); overflow: visible; }
.brand:hover .brand__mark { transform: rotate(360deg) scale(1.05); }
.brand__mark g path:nth-child(1) { animation: logoBreath 3s ease-in-out infinite; }
.brand__mark g path:nth-child(2),
.brand__mark g path:nth-child(3) { animation: logoFlicker 5s steps(1, end) infinite; }
@keyframes logoPulse { 0%,100% { filter: drop-shadow(0 0 5px rgba(var(--acid-rgb), .5)); } 50% { filter: drop-shadow(0 0 13px rgba(var(--acid-rgb), .95)); } }
@keyframes logoBreath { 0%,100% { opacity: .4; } 50% { opacity: .85; } }
@keyframes logoFlicker { 0%,89%,100% { opacity: 1; } 90% { opacity: .2; } 92% { opacity: 1; } 94% { opacity: .5; } 96% { opacity: 1; } }
.loader__logo { animation: logoFlicker 2.4s steps(1, end) infinite; }

/* ============ glitch hover for buttons ============ */
[data-glitch] { position: relative; display: inline-block; }
.btn:hover [data-glitch]::before,
.btn:hover [data-glitch]::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: hidden;
}
.btn:hover [data-glitch]::before { color: var(--cyan); animation: glitchTop .4s steps(2, end) infinite; }
.btn:hover [data-glitch]::after  { color: var(--magenta); animation: glitchBot .4s steps(2, end) infinite; }
@keyframes glitchTop {
  0%   { clip-path: inset(0 0 72% 0); transform: translate(-2px,-1px); }
  25%  { clip-path: inset(18% 0 42% 0); transform: translate(2px,0); }
  50%  { clip-path: inset(48% 0 22% 0); transform: translate(-1px,1px); }
  75%  { clip-path: inset(8% 0 64% 0); transform: translate(2px,0); }
  100% { clip-path: inset(0 0 75% 0); transform: translate(-2px,0); }
}
@keyframes glitchBot {
  0%   { clip-path: inset(72% 0 0 0); transform: translate(2px,1px); }
  25%  { clip-path: inset(42% 0 18% 0); transform: translate(-2px,0); }
  50%  { clip-path: inset(22% 0 48% 0); transform: translate(1px,-1px); }
  75%  { clip-path: inset(64% 0 8% 0); transform: translate(-2px,0); }
  100% { clip-path: inset(75% 0 0 0); transform: translate(2px,0); }
}
