/* =========================================================
   NK WEB STUDIO — storytelling site
   Design tokens follow the live nkweb.gr brand:
   ink #0c0c0c · paper #f1f2f2 · accent lime #eaff52
   ========================================================= */
/* Brand font, self-hosted on nkweb.gr (/fonts). Greek + Latin. */
@font-face { font-family: "CF Asty Pro"; src: url("/fonts/CFAstyPro-Book.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "CF Asty Pro"; src: url("/fonts/CFAstyPro-Bold.woff2") format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0c0c0c;
  --ink-2: #131313;
  --paper: #f1f2f2;
  --muted: #98999e;
  --muted-2: #5d5e63;
  --accent: #eaff52;
  --line: rgba(241, 242, 242, 0.1);
  --line-strong: rgba(241, 242, 242, 0.22);

  --font-display: "CF Asty Pro", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --header-h: 84px;

  --z-webgl: 0;
  --z-content: 2;
  --z-fx: 5;
  --z-ui: 40;
  --z-header: 60;
  --z-loader: 100;
  --z-cursor: 200;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--accent) var(--ink); scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--accent); color: var(--ink); padding: .6rem 1rem; border-radius: 999px;
}
.skip:focus { top: 1rem; }

/* ---------- fixed layers ---------- */
#webgl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-webgl); pointer-events: none;
}
.grain {
  position: fixed; inset: -50%; z-index: var(--z-fx); pointer-events: none; opacity: .07;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; inset: 0; z-index: var(--z-fx); pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 2rem;
}
.h2 {
  font-size: clamp(2.6rem, 6.5vw, 6.5rem); line-height: .92; letter-spacing: -0.045em; font-weight: 700; margin: 0;
}
.muted { color: var(--muted-2); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line--indent { padding-left: clamp(1.5rem, 12vw, 14rem); }
.split .char { display: inline-block; will-change: transform; }
.split .word, [data-split-words] .word { display: inline-block; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --pad-x: 1.6rem;
  position: relative; display: inline-flex; align-items: center; gap: .75rem;
  height: 3.4rem; padding: 0 var(--pad-x); border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn__label { position: relative; z-index: 2; }
.btn::before { /* liquid fill */
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn::after { /* cursor-follow light */
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.5), transparent 70%);
  opacity: 0; mix-blend-mode: overlay; transition: opacity .35s;
}
.btn:hover::after { opacity: 1; }
.btn:hover::before { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent::before { background: var(--paper); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--paper); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); }
.btn--small { height: 2.75rem; --pad-x: 1.2rem; font-size: .85rem; }

.eq { position: relative; z-index: 2; display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 2px; height: 100%; background: currentColor; transform-origin: bottom; transform: scaleY(.25); }
.is-playing .eq i, .btn:hover .eq i { animation: eq 1s var(--ease-io) infinite; }
.eq i:nth-child(2) { animation-delay: -.3s !important; }
.eq i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center; color: var(--paper);
}
.loader__curtain { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transform: translateY(-101%); }
.loader__curtain--bottom { transform: translateY(101%); }
/* while loading, the story is hidden so the particle monogram can assemble behind the loader */
html.is-loading main, html.is-loading .site-header, html.is-loading .site-footer,
html.is-loading .chapter-hud, html.is-loading .sound-toggle, html.is-loading .marquee { visibility: hidden; }
.loader__curtain--top { top: 0; }
.loader__curtain--bottom { bottom: 0; }
.loader { place-items: end center; }
.loader__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.4rem; padding: var(--gutter); padding-bottom: clamp(2.5rem, 9vh, 6rem); text-align: center; }
.loader__mark { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%); }
.loader__mark { width: clamp(180px, 26vw, 340px); overflow: visible; }
.loader__stroke--dot { stroke: var(--accent); }
.loader__stroke {
  fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: square; stroke-linejoin: miter;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.loader__title { margin: 0; overflow: hidden; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .5em; color: var(--muted); }
.loader__title span { display: inline-block; }
.loader__meter { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; row-gap: .5rem; width: min(360px, 78vw); }
.loader__count { font-family: var(--font-mono); font-size: 2.5rem; line-height: 1; font-weight: 500; color: var(--paper); font-variant-numeric: tabular-nums; }
.loader__bar { position: relative; height: 1px; background: var(--line-strong); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--accent); }
.loader__status { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); text-align: left; }
.loader__enter { display: grid; gap: 1rem; justify-items: center; }
.loader__enter[hidden] { display: none; }
.loader__hint { margin: 0; color: var(--muted); font-size: .85rem; }
.loader__buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
html:not(.is-loading) .loader { pointer-events: none; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  height: var(--header-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  pointer-events: none; /* only the children are interactive, so the bar never blocks content */
}
.site-header > * { pointer-events: auto; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(12,12,12,.85), transparent);
}
.logo { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; padding: .25rem 0; position: relative; z-index: 1; }
.logo__mark { width: 62px; height: auto; color: var(--paper); transition: transform .6s var(--ease-out); }
.logo:hover .logo__mark { transform: scale(1.06); }
.logo__text { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .28em; }
.nav { display: flex; gap: 2rem; font-size: .9rem; }
.nav a { position: relative; color: var(--muted); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav a:hover { color: var(--paper); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- HUD + sound ---------- */
.chapter-hud {
  position: fixed; z-index: var(--z-ui); right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; justify-items: end; gap: .8rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.chapter-hud__num { font-size: 1.1rem; color: var(--paper); }
.chapter-hud__line { position: relative; width: 1px; height: 120px; background: var(--line-strong); }
.chapter-hud__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.chapter-hud__name { writing-mode: vertical-rl; transform: rotate(180deg); }

.sound-toggle {
  position: fixed; z-index: var(--z-ui); left: var(--gutter); bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: .7rem; height: 2.6rem; padding: 0 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(12,12,12,.6); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .3s, color .3s;
}
.sound-toggle:hover { border-color: var(--accent); }
.sound-toggle.is-playing { color: var(--accent); }

/* ---------- STORY ---------- */
main { position: relative; z-index: var(--z-content); }
.chapter { position: relative; padding: clamp(6rem, 14vh, 10rem) var(--gutter); }

/* hero */
.hero { min-height: 100svh; display: grid; align-content: end; padding-top: calc(var(--header-h) + 4rem); padding-bottom: 6rem; }
.hero__title {
  margin: 0; font-weight: 800; letter-spacing: -0.055em; line-height: .86;
  font-size: clamp(3.2rem, 12.5vw, 13.5rem);
}
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2rem 0 0; }
.hero__tags li { padding: .45rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; color: var(--muted); }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 3rem; }
.hero__lead { max-width: 34ch; margin: 0; font-size: clamp(1.05rem, 1rem + .4vw, 1.35rem); color: var(--paper); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: grid; justify-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: cue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* marquee */
.marquee { position: relative; z-index: var(--z-content); overflow: hidden; border-block: 1px solid var(--line); padding: 1.4rem 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span { font-size: clamp(2rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; padding-right: .3em; -webkit-text-stroke: 1px var(--line-strong); color: transparent; }
.marquee__track span:nth-child(even) { color: var(--paper); -webkit-text-stroke: 0; }

/* approach */
.approach { min-height: 100vh; display: grid; align-content: center; max-width: 1300px; }
.approach__text { margin: 0; font-size: clamp(1.9rem, 4.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; max-width: 22ch; }
.approach__text--sub { margin-top: 2.5rem; font-size: clamp(1.25rem, 2.2vw, 2.1rem); line-height: 1.2; font-weight: 400; max-width: 34ch; margin-left: auto; }
.approach__text em { font-style: normal; color: var(--accent); }
[data-split-words] .word { opacity: .14; transition: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 6rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stat { display: grid; grid-template-columns: auto 1fr; align-items: start; }
.stat__num { font-size: clamp(2.6rem, 7vw, 6.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { font-size: clamp(1.6rem, 3vw, 3rem); color: var(--accent); font-weight: 700; }
.stat__label { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* services */
.services { padding: 0; }
.services__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 3rem; padding: calc(var(--header-h) + 1rem) 0 3rem; overflow: hidden; }
.services__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; padding: 0 var(--gutter); }
.services__head .eyebrow { width: 100%; margin: 0; }
.services__count { margin: 0; font-family: var(--font-mono); color: var(--muted); }
.services__count span { color: var(--accent); }
.services__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card {
  position: relative; flex: 0 0 auto; width: clamp(280px, 30vw, 440px); min-height: clamp(340px, 52vh, 500px);
  display: flex; flex-direction: column; padding: 2rem; border-radius: 28px;
  background: linear-gradient(160deg, rgba(31,31,31,.72), rgba(14,14,14,.72));
  border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d; transition: border-color .5s var(--ease-out);
  overflow: hidden;
}
.card::before { /* spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(234,255,82,.13), transparent 60%);
}
.card:hover { border-color: rgba(234,255,82,.45); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); }
.card__title { margin: auto 0 1rem; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.card__text { margin: 0 0 2rem; color: var(--muted); font-size: .95rem; }
.card__link { font-size: .85rem; font-weight: 600; }

/* why */
.why { min-height: 100vh; display: grid; align-content: center; }
.why__title { margin: 0; max-width: 16ch; font-size: clamp(2.4rem, 6.6vw, 7rem); line-height: .95; letter-spacing: -0.05em; font-weight: 700; }
.why__accent { color: var(--accent); font-style: italic; font-weight: 800; }
.why__list { list-style: none; margin: 5rem 0 0 auto; padding: 0; max-width: 760px; }
.why__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); font-size: clamp(1.05rem, 1.6vw, 1.45rem); }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list span { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); padding-top: .35em; }

/* process */
.process { padding: 0; }
.process__pin { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem; }
.process__meter { margin-top: 3rem; width: min(320px, 70%); height: 2px; background: var(--line-strong); position: relative; }
.process__meter i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { padding: 1.6rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; opacity: .22; transition: opacity .6s var(--ease-out); }
.step.is-active { opacity: 1; }
.step__num { font-family: var(--font-mono); color: var(--accent); grid-row: span 2; padding-top: .35em; }
.step__title { margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.4vw, 2.3rem); letter-spacing: -0.03em; font-weight: 600; }
.step__text { margin: 0; color: var(--muted); max-width: 44ch; }

/* contact form */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.5rem; margin-top: 3.5rem; max-width: 980px; }
.field { display: grid; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper); background: rgba(19,19,19,.7);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: .95rem 1rem; backdrop-filter: blur(8px);
  transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { background: var(--ink-2); color: var(--paper); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(19,19,19,.95); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff7a6b; }
.field__error { font-size: .8rem; color: #ff9d91; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.contact-form__note { margin: 0; color: var(--muted-2); font-size: .85rem; max-width: 46ch; }
.contact-form__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.contact-form__status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.contact-form__status.is-ok { color: var(--accent); }
.contact-form__status.is-error { color: #ff9d91; }
.contact-form button[disabled] { opacity: .6; pointer-events: none; }

/* contact */
.contact { min-height: 100vh; display: grid; align-content: center; padding-bottom: 6rem; }
.contact__title { margin: 0; font-size: clamp(2.8rem, 9vw, 10rem); line-height: .9; letter-spacing: -0.055em; font-weight: 800; }
.contact__accent { color: var(--accent); }
.contact__lead { margin: 2rem 0 0; color: var(--muted); font-size: 1.15rem; }
.contact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 4rem; border-top: 1px solid var(--line); }
.contact__item { display: grid; gap: .4rem; padding: 1.4rem 1.2rem 1.4rem 0; border-right: 1px solid var(--line); font-size: clamp(.95rem, 1.2vw, 1.15rem); transition: color .3s; overflow-wrap: anywhere; }
.contact__item:last-child { border-right: 0; }
.contact__item span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.contact__item:hover { color: var(--accent); }
.big-cta {
  justify-self: start; margin-top: 4rem; display: inline-flex; align-items: center; gap: 1.5rem;
  font-size: clamp(2.4rem, 7vw, 7rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  padding: .3em .6em; border-radius: 999px; background: var(--accent); color: var(--ink);
  transition: background .5s var(--ease-out);
}
.big-cta:hover { background: var(--paper); }
.big-cta__arrow { display: inline-block; transition: transform .6s var(--ease-out); }
.big-cta:hover .big-cta__arrow { transform: translateX(.25em) rotate(-45deg); }

.site-footer { position: relative; z-index: var(--z-content); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2rem var(--gutter) 5rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .85rem; }
.site-footer p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.site-footer a:hover { color: var(--accent); }

/* ---------- CURSOR ---------- */
#cursor-canvas { position: fixed; inset: 0; z-index: var(--z-cursor); pointer-events: none; }
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,255,82,.13), rgba(234,255,82,.04) 45%, transparent 70%);
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s; will-change: transform;
}
#cursor-glow.is-active { opacity: 1; }
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none;
  padding: .45rem .8rem; border-radius: 999px; background: var(--accent); color: var(--ink);
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0); transition: transform .35s var(--ease-out);
}
.cursor-label.is-on { transform: translate(-50%, -50%) scale(1); }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav, .chapter-hud { display: none; }
  .logo__text { display: none; }
  .logo__mark { width: 54px; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .process__pin { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__item:nth-child(2) { border-right: 0; }
  .contact__item { border-bottom: 1px solid var(--line); }
  .services__track { width: auto; flex-direction: column; }
  .card { width: 100%; min-height: 280px; }
  .why__list { margin-top: 3rem; }
}
@media (max-width: 520px) {
  .header-cta { --pad-x: 1rem; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact__item { border-right: 0; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .sound-toggle__label { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue i, .eq i { animation: none !important; }
  [data-split-words] .word { opacity: 1; }
  .step { opacity: 1; }
}
