:root {
  --bg: #101013;
  --bg-soft: #17171B;
  --panel: #1C1C21;
  --text: #EDEDE9;
  --text-dim: #9A9A93;
  --lime: #D7FF3F;
  --lime-dim: #B8DC2E;
  --line: #ffffff14;
  --display: "Syne", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--mono); font-size: 16px; line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--bg); }

/* a11y: visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px;
}
/* a11y: skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--bg); font-family: var(--mono); font-size: 13px;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* faint grid backdrop */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 35%, transparent 100%);
}
main, nav, footer { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #101013d9; backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--lime); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 13.5px; color: var(--text-dim); text-decoration: none; transition: color .25s ease; }
.nav-links a::before { content: "// "; color: #5b5b55; }
.nav-links a:hover { color: var(--lime); }
.nav-links a.active { color: var(--lime); }

/* Back-to-top button */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--bg); border: none; cursor: pointer;
  font-size: 18px; line-height: 1; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
  box-shadow: 0 10px 28px -10px rgba(215,255,63,.5);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--lime-dim); }

/* Floating contact buttons */
.floats { position: fixed; left: 22px; bottom: 22px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; text-decoration: none; box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-btn--wa { background: #25D366; }
.float-btn--tg { background: #229ED9; }
.lang-btn {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; cursor: pointer;
  color: var(--text); background: transparent; border: 1px solid #ffffff2e; border-radius: 6px;
  padding: 8px 0; width: 46px; text-align: center; flex-shrink: 0;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease;
}
.lang-btn:hover { border-color: var(--lime); color: var(--lime); }
.nav-cta {
  font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap;
  color: var(--bg); background: var(--lime); padding: 9px 18px; border-radius: 6px;
  transition: background .25s ease, transform .25s ease; flex-shrink: 0;
}
.nav-cta:hover { background: var(--lime-dim); transform: translateY(-1px); }
.nav-links__cta { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: 4px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 92svh; display: flex; align-items: center; position: relative; padding: 96px 0 30px; }
.glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, #d7ff3f1f 0%, transparent 65%);
  top: -80px; right: -16%; pointer-events: none;
}
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  margin-bottom: 36px; background: var(--bg-soft);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 #d7ff3f66; } 50% { box-shadow: 0 0 0 7px transparent; } }
h1.hero-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(40px, 6.2vw, 80px); line-height: 1.08;
  max-width: 18ch; margin-bottom: 32px; min-height: 2.16em;
}
h1.hero-title .typed-accent { color: var(--lime); }
.cursor {
  display: inline-block; width: 0; height: .92em; position: relative;
  vertical-align: -0.08em; margin: 0;
}
.cursor::before {
  content: ""; position: absolute; left: 1px; top: 0; bottom: 0; width: 3px;
  background: var(--lime);
  animation: blink 1.05s step-end infinite;
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }
.hero-sub {
  max-width: 54ch; color: var(--text-dim); font-size: 16.5px; margin-bottom: 42px;
  opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease;
}
body.typed .hero-sub { opacity: 1; transform: none; }
.hero-sub b { color: var(--text); font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(12px); transition: opacity .5s ease .1s, transform .5s ease .1s; }
body.typed .hero-ctas { opacity: 1; transform: none; }
.hero-stack-wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-stack-label { font-family: var(--mono); font-size: 12.5px; color: var(--lime); letter-spacing: .04em; }
.hero-stack { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-stack .si {
  width: 32px; height: 32px; color: var(--text-dim);
  transition: color .25s ease, transform .25s ease;
}
.hero-stack .si:hover { color: var(--lime); transform: translateY(-4px); }
.btn-lime {
  font-family: var(--mono); font-size: 14.5px; font-weight: 500; text-decoration: none;
  background: var(--lime); color: var(--bg); padding: 15px 30px; border-radius: 8px;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-lime:hover { background: var(--lime-dim); transform: translateY(-2px); box-shadow: 0 12px 32px -12px #d7ff3f59; }
.btn-ghost {
  font-family: var(--mono); font-size: 14.5px; text-decoration: none; color: var(--text);
  padding: 15px 28px; border-radius: 8px; border: 1px solid #ffffff2e;
  transition: border-color .25s ease, background .25s ease;
}
.btn-ghost:hover { border-color: var(--lime); background: #d7ff3f0d; }
.hero-stats {
  display: flex; gap: 0; margin-top: 72px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); overflow: hidden; max-width: 640px;
  opacity: 0; transition: opacity .5s ease .2s;
}
body.typed .hero-stats { opacity: 1; }
.stat { flex: 1; padding: 20px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--lime); display: block; line-height: 1.2; }
.stat .l { font-size: 12px; color: var(--text-dim); }

/* ---------- Hero visual (animated) ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: center; }
.hero-visual {
  position: relative; height: 540px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
body.typed .hero-visual { opacity: 1; transform: none; }
/* subtle grid behind portrait */
.hero-visual::before {
  content: ""; position: absolute; inset: -8% -10%; z-index: 0;
  background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 42%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 42%, #000 35%, transparent 78%);
}
.hero-visual img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block; border-radius: 16px;
  border: 1px solid var(--line);
}
/* floating squares */
.hv-sq { position: absolute; z-index: 2; border: 1px solid var(--line); background: #ffffff08; border-radius: 7px; animation: hvFloat 6s ease-in-out infinite; }
.hv-sq--1 { width: 66px; height: 66px; top: -22px; right: -20px; }
.hv-sq--2 { width: 42px; height: 42px; bottom: 54px; left: -24px; background: #d7ff3f14; border-color: #d7ff3f40; animation-delay: 1.3s; }
.hv-sq--3 { width: 26px; height: 26px; top: 44%; right: -16px; animation-delay: 2.6s; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
section { padding: 58px 0; }
#about { padding-top: 36px; }
.sec-tag { font-size: 13px; color: var(--lime); margin-bottom: 16px; display: block; }
h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; margin-bottom: 20px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start; }
.about-text p { color: var(--text-dim); margin-bottom: 18px; max-width: 60ch; }
.about-text p b { color: var(--text); font-weight: 500; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font-size: 12.5px; color: var(--text); background: var(--panel); border: 1px solid var(--line); padding: 7px 14px; border-radius: 6px; }
.chip::before { content: "▸ "; color: var(--lime); }
.about-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.about-card__label { font-family: var(--mono); font-size: 12.5px; color: var(--lime); }
.photo-ph {
  width: 100%; height: 300px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.photo-ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.photo-ph .mono-m { font-family: var(--display); font-weight: 800; font-size: 64px; color: var(--lime); }
.facts { display: flex; flex-direction: column; }
.fact { display: flex; justify-content: space-between; gap: 14px; padding: 11px 2px; border-bottom: 1px dashed #ffffff1c; font-size: 13.5px; }
.fact:last-child { border-bottom: none; }
.fact .k { color: var(--text-dim); }
.fact .v { color: var(--text); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.project {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 18px 26px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .45s cubic-bezier(.2,.65,.3,1), border-color .45s ease, box-shadow .45s ease;
}
.project:hover { transform: translateY(-6px); border-color: #d7ff3f59; box-shadow: 0 24px 48px -24px #00000080; }
.shot {
  width: 100%; height: 300px; border-radius: 10px; background: var(--panel);
  border: 1px dashed #ffffff24; display: grid; place-items: center;
  font-size: 13px; color: var(--text-dim); overflow: hidden;
}
.shot::before { content: "[ "; color: var(--lime); }
.shot::after { content: " ]"; color: var(--lime); }
/* auto-switching project screenshots */
.shots { position: relative; width: 100%; height: 300px; border-radius: 10px; overflow: hidden; }
.shots img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; opacity: 0;
  animation: shotFade 9s ease-in-out infinite;
}
.shots img:nth-child(2) { animation-delay: -4.5s; }
@keyframes shotFade { 0%{opacity:1} 44%{opacity:1} 50%{opacity:0} 94%{opacity:0} 100%{opacity:1} }
/* 3-image variant */
.shots--3 img { animation-name: shotFade3; animation-duration: 13.5s; }
.shots--3 img:nth-child(1) { animation-delay: 0s; }
.shots--3 img:nth-child(2) { animation-delay: -4.5s; }
.shots--3 img:nth-child(3) { animation-delay: -9s; }
@keyframes shotFade3 { 0%{opacity:1} 28%{opacity:1} 33%{opacity:0} 95%{opacity:0} 100%{opacity:1} }
.project-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 0 6px; }
.project h3 { font-family: var(--display); font-weight: 700; font-size: 21px; }
.project .idx { font-size: 12.5px; color: var(--lime); white-space: nowrap; }
.project p { color: var(--text-dim); font-size: 14px; padding: 0 6px; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 6px; }
.project-tags span { font-size: 11.5px; color: var(--text-dim); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.project-link { margin: 2px 6px 0; align-self: flex-start; font-size: 13px; color: var(--lime); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.project-link:hover { border-bottom-color: var(--lime); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.svc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: var(--text);
  transition: transform .45s cubic-bezier(.2,.65,.3,1), border-color .45s ease;
}
.svc:hover { transform: translateY(-6px); border-color: #d7ff3f59; }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 20px; max-width: 24ch; }
.svc .price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--lime); white-space: nowrap; }
.svc p { color: var(--text-dim); font-size: 14px; }
.svc .meta { font-size: 12.5px; color: var(--text-dim); margin-top: auto; }
.svc .meta b { color: var(--text); font-weight: 500; }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.process-intro { color: var(--text-dim); }
.timeline { display: flex; flex-direction: column; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: #ffffff24; }
.t-step { display: grid; grid-template-columns: 24px 1fr; gap: 24px; padding: 22px 0; position: relative; }
.t-dot {
  width: 23px; height: 23px; border-radius: 50%; background: var(--bg);
  border: 1.5px solid var(--lime); display: grid; place-items: center;
  font-size: 9px; color: var(--lime); z-index: 1; margin-top: 3px;
}
.t-step h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.t-step h3 .n { color: var(--lime); margin-right: 10px; font-family: var(--mono); font-weight: 400; font-size: 14px; }
.t-step p { color: var(--text-dim); font-size: 14.5px; max-width: 52ch; }
.quote {
  margin-top: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  padding: 22px 26px; font-size: 14.5px; color: var(--text-dim); font-style: italic;
}
.quote b { color: var(--lime); font-style: normal; font-weight: 500; display: block; margin-top: 10px; font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 2px;
  font-family: var(--display); font-weight: 600; font-size: clamp(16px, 2vw, 20px);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--lime); font-size: 24px; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--lime); }
.faq-a { padding: 0 2px 24px; }
.faq-a p { color: var(--text-dim); font-size: 14.5px; max-width: 72ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left p { color: var(--text-dim); margin-bottom: 36px; max-width: 46ch; }
.terminal {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  font-size: 13.5px;
}
.term-bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ffffff22; }
.term-body { padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.term-body .ln { color: var(--text-dim); }
.term-body .ln b { color: var(--lime); font-weight: 400; }
.term-body a { color: var(--text); text-decoration: underline; text-decoration-color: #d7ff3f66; text-underline-offset: 4px; }
.term-body a:hover { color: var(--lime); }
form { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 7px; }
.field label::before { content: "$ "; color: var(--lime); }
.field input, .field textarea {
  width: 100%; font-family: var(--mono); font-size: 15px; color: var(--text);
  background: var(--bg-soft); border: 1px solid #ffffff24; border-radius: 8px;
  padding: 13px 16px; outline: none; transition: border-color .25s ease, box-shadow .25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5d5d57; }
.field input:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px #d7ff3f21; }
.field textarea { resize: vertical; min-height: 120px; }
form button {
  font-family: var(--mono); font-size: 14.5px; font-weight: 500; cursor: pointer;
  background: var(--lime); color: var(--bg); border: none; border-radius: 8px;
  padding: 15px 30px; align-self: flex-start; margin-top: 6px;
  transition: background .25s ease, transform .25s ease;
}
form button:hover { background: var(--lime-dim); transform: translateY(-2px); }
form button:disabled { opacity: .6; cursor: default; transform: none; }
.form-status { margin-top: 6px; font-size: 13.5px; }
.form-status--ok { color: var(--lime); }
.form-status--err { color: #ff7a7a; }
.form-chat { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-chat__label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; }
.form-chat__label::before { content: "$ "; color: var(--lime); }
.form-chat__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.chat-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13.5px; color: var(--text); text-decoration: none;
  background: var(--bg-soft); border: 1px solid #ffffff24; border-radius: 8px; padding: 11px 18px;
  transition: border-color .25s ease, background .25s ease;
}
.chat-btn:hover { border-color: var(--lime); background: #d7ff3f0d; }
.chat-btn svg { width: 18px; height: 18px; }
.chat-btn--wa svg { color: #25D366; }
.chat-btn--tg svg { color: #229ED9; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 30px 0 42px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-dim); }
.footer-inner a { color: var(--text); text-decoration: none; }
.footer-inner a:hover { color: var(--lime); }
.footer-inner nav { position: static; background: none; border: none; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 128px 32px 80px; position: relative; z-index: 1; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.015em; margin-bottom: 28px; }
.legal h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 40px 0 14px; }
.legal h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; font-size: 14.5px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.legal a.back { display: inline-block; margin-bottom: 40px; color: var(--text-dim); font-size: 13px; text-decoration: none; }
.legal a.back:hover { color: var(--lime); }
.legal .muted { color: #6f6f68; font-size: 12.5px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80;
  max-width: 580px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #15151bf5; backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 18px 44px -18px #000;
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: 12.8px; line-height: 1.6; color: var(--text-dim); flex: 1; min-width: 240px; }
.cookie__btn {
  font-family: var(--mono); font-size: 13px; font-weight: 500; cursor: pointer;
  background: var(--lime); color: var(--bg); border: none; border-radius: 8px;
  padding: 11px 22px; white-space: nowrap; transition: background .25s ease, transform .25s ease;
}
.cookie__btn:hover { background: var(--lime-dim); transform: translateY(-1px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .lang-btn { margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: #101013f5; backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); padding: 8px 32px 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links__cta {
    display: block; margin-top: 18px; text-align: center;
    background: var(--lime); color: var(--bg); border-radius: 6px;
    padding: 14px 0; border-bottom: none;
  }
  .nav-links a.nav-links__cta::before { content: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { height: 240px; order: -1; }
  .about-grid, .contact-grid, .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-grid, .svc-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sub, .hero-ctas, .hero-stats, .hero-visual, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-visual img { animation: none; filter: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
