/* =========================================================
   NEXAS Media — 2025 Reset
   Modernste Marketing-Agentur Deutschlands. Code-only.
   ========================================================= */

:root {
  --c-bg:        #050608;
  --c-bg-2:      #0a0d12;
  --c-ink:       #f5f5f7;
  --c-ink-mute:  rgba(245,245,247,0.62);
  --c-ink-dim:   rgba(245,245,247,0.32);
  --c-line:      rgba(245,245,247,0.10);
  --c-line-2:    rgba(245,245,247,0.06);

  --c-acc:       #16b3ff;
  --c-acc-2:     #0099cc;
  --c-acc-3:     #00416B;
  --c-hot:       #ff3d6e;
  --c-lime:      #c8ff3d;
  --c-amber:     #ffb648;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --container:   1480px;
  --pad-x:       clamp(20px, 4vw, 64px);
  --ease:        cubic-bezier(.22,.84,.16,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ------- Reset ------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { all: unset; cursor: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--c-acc); color: var(--c-bg); }

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .15s var(--ease), width .25s, height .25s, background .25s;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-bounce), height .35s var(--ease-bounce), background .25s, border-color .25s;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: transparent;
}
.cursor.is-hover .cursor-ring {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}
.cursor.has-text .cursor-ring { color: #fff; }
.cursor.is-pressed .cursor-ring { width: 24px; height: 24px; }

@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a { cursor: pointer; }
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  z-index: 999;
  background: var(--c-bg);
  display: grid;
  place-content: center;
  gap: 24px;
  transition: opacity .8s var(--ease);
}
.loader.is-done {
  opacity: 0;
  pointer-events: none;
}
.loader-text {
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--c-ink);
}
.loader-bar {
  width: 220px; height: 1px;
  background: var(--c-line);
  margin-inline: auto;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0%; height: 100%;
  background: var(--c-acc);
  transition: width .15s linear;
}

/* =========================================================
   ANIMATED MESH BACKGROUND
   ========================================================= */
.mesh-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,65,107,0.45), transparent 55%),
    linear-gradient(180deg, #050608 0%, #07090e 60%, #0a0d12 100%);
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.mesh-orb-1 {
  width: 60vw; height: 60vw;
  top: -20%; left: -10%;
  background: radial-gradient(circle, var(--c-acc) 0%, transparent 60%);
  animation: orb1 22s ease-in-out infinite;
}
.mesh-orb-2 {
  width: 50vw; height: 50vw;
  top: 20%; right: -15%;
  background: radial-gradient(circle, var(--c-acc-3) 0%, transparent 60%);
  animation: orb2 28s ease-in-out infinite;
}
.mesh-orb-3 {
  width: 40vw; height: 40vw;
  bottom: -10%; left: 30%;
  background: radial-gradient(circle, var(--c-hot) 0%, transparent 60%);
  opacity: 0.18;
  animation: orb3 32s ease-in-out infinite;
}
.mesh-orb-4 {
  width: 35vw; height: 35vw;
  top: 50%; left: 50%;
  background: radial-gradient(circle, var(--c-acc-2) 0%, transparent 60%);
  opacity: 0.4;
  animation: orb4 24s ease-in-out infinite;
}
@keyframes orb1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(15%, 10%) scale(1.15); } }
@keyframes orb2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-12%, 18%) scale(0.9); } }
@keyframes orb3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20%, -25%) scale(1.2); } }
@keyframes orb4 { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-30%, -60%) scale(1.3); } }

.noise {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.08;
  mix-blend-mode: overlay;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 90%);
}

main, header, footer { position: relative; z-index: 1; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: transform .4s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--c-ink);
  color: var(--c-bg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.06em;
  transform: rotate(-3deg);
}
.brand-name { font-size: 16px; letter-spacing: -0.03em; }
.brand-sub { color: var(--c-ink-dim); font-weight: 500; }

.nav {
  justify-self: center;
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.nav a {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-mute);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--c-ink); background: rgba(255,255,255,0.06); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-ink-mute);
  backdrop-filter: blur(20px);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 10px var(--c-lime);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.status-time { color: var(--c-ink); }

@media (max-width: 900px) {
  .nav { display: none; }
  .status-time { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 60px;
}
.meta-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.meta-dot {
  width: 6px; height: 6px;
  background: var(--c-acc);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-acc);
  animation: pulse 2s ease-in-out infinite;
}
@media (max-width: 700px) {
  .hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
}

.hero-stage {
  padding-inline: var(--pad-x);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-display {
  font-family: var(--font-display);
  font-size: clamp(64px, 14vw, 240px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 0 0 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hd-line {
  display: block;
  position: relative;
}
.hd-line-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.78em;
  letter-spacing: -0.02em;
  padding-left: 0.3em;
  color: var(--c-ink-mute);
}
.hd-word {
  display: inline-block;
  position: relative;
}
.hd-glow {
  background: linear-gradient(120deg, #fff 0%, var(--c-acc) 40%, #fff 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.hero-sub {
  max-width: 48ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--c-ink-mute);
  margin: 0;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}
@media (max-width: 800px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta { align-items: flex-start; }
  .hero-display { margin-bottom: 40px; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--c-ink-dim);
}
.scroll-bar {
  display: block;
  width: 1px; height: 40px;
  background: var(--c-line);
  position: relative;
  overflow: hidden;
}
.scroll-bar-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 50%;
  background: var(--c-acc);
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-blob {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--c-bg);
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  transition: color .3s;
}
.btn-blob-bg {
  position: absolute; inset: 0;
  background: var(--c-ink);
  border-radius: 999px;
  z-index: -1;
  transition: background .35s var(--ease);
}
.btn-blob::before {
  content: "";
  position: absolute;
  width: 0; height: 0;
  background: linear-gradient(135deg, var(--c-acc), var(--c-acc-3));
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  top: 50%; left: 50%;
  transition: width .6s var(--ease), height .6s var(--ease);
}
.btn-blob:hover { color: var(--c-ink); }
.btn-blob:hover::before { width: 200%; height: 600%; }
.btn-blob-arrow {
  display: inline-block;
  transition: transform .35s var(--ease-bounce);
}
.btn-blob:hover .btn-blob-arrow { transform: translate(2px, -2px) rotate(0deg); }
.btn-blob-xl {
  padding: 24px 40px;
  font-size: 18px;
  gap: 18px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover {
  border-color: var(--c-acc);
  background: rgba(22,179,255,0.06);
}

/* =========================================================
   DIAGONAL MARQUEE
   ========================================================= */
.diag-marquee {
  position: relative;
  margin: 60px 0;
  overflow: hidden;
  padding: 40px 0;
}
.dm-row {
  width: 110vw;
  margin-left: -5vw;
  overflow: hidden;
  padding: 6px 0;
}
.dm-row-1 {
  transform: rotate(-3deg);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(90deg, transparent, rgba(22,179,255,0.04) 50%, transparent);
}
.dm-row-2 {
  transform: rotate(2deg);
  margin-top: -10px;
}
.dm-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--c-ink);
  padding: 12px 0;
}
.dm-reverse { animation-direction: reverse; animation-duration: 38s; }
.dm-track .dot {
  color: var(--c-acc);
  font-size: 0.5em;
  transform: translateY(-0.15em);
}
.dm-track .dm-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-ink-mute);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  padding: clamp(80px, 12vh, 160px) 0;
}
.statement-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-ink-dim);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.tag-num { color: var(--c-acc); }

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--c-ink-mute);
  max-width: 22ch;
}
.statement-text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-ink);
}
.statement-text .hl,
.statement-text .hl-2 {
  color: var(--c-ink);
  position: relative;
  white-space: nowrap;
}
.statement-text .hl::after,
.statement-text .hl-2::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.08em;
  background: var(--c-acc);
}
.statement-text .hl-2::after { background: var(--c-hot); }

/* =========================================================
   BENTO
   ========================================================= */
.bento {
  padding: 40px 0 clamp(80px, 12vh, 160px);
}
.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 720px;
}
.b-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-bg-2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .3s, transform .5s var(--ease);
  isolation: isolate;
}
.b-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.b-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, transparent, rgba(22,179,255,0.5), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.b-card:hover { border-color: rgba(22,179,255,0.25); }
.b-card:hover::after { opacity: 1; }

.b-1 { grid-column: 1; grid-row: 1 / 3; }
.b-2 { grid-column: 2 / 4; grid-row: 1; }
.b-3 { grid-column: 4; grid-row: 1 / 3; }
.b-4 { grid-column: 2 / 4; grid-row: 2; }

.b-anim {
  position: relative;
  flex: 1;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--c-line-2);
  display: grid;
  place-items: center;
}
.b-meta { z-index: 1; }
.b-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-acc);
  margin-bottom: 8px;
}
.b-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.b-card p {
  color: var(--c-ink-mute);
  font-size: 14px;
  margin: 0 0 14px;
  max-width: 38ch;
}
.b-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-ink-dim);
  text-transform: uppercase;
}

/* Bento animations */
.b-anim-rings { display: grid; place-items: center; }
.b-anim-rings span {
  position: absolute;
  border: 1px solid var(--c-acc);
  border-radius: 50%;
  opacity: 0;
  animation: ring 3.5s ease-out infinite;
}
.b-anim-rings span:nth-child(1) { animation-delay: 0s; }
.b-anim-rings span:nth-child(2) { animation-delay: 0.9s; }
.b-anim-rings span:nth-child(3) { animation-delay: 1.8s; }
.b-anim-rings span:nth-child(4) { animation-delay: 2.7s; }
@keyframes ring {
  0%   { width: 30px; height: 30px; opacity: 1; border-color: var(--c-acc); }
  100% { width: 360px; height: 360px; opacity: 0; border-color: rgba(22,179,255,0.05); }
}
.b-anim-rings::after {
  content: "▶";
  position: absolute;
  font-size: 28px;
  color: var(--c-ink);
  text-shadow: 0 0 20px var(--c-acc);
}

.b-anim-counter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.counter-row {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 110px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.counter-row span:last-child { color: var(--c-acc); }
.counter-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
  text-align: center;
}

.b-anim-code {
  width: 100%;
  padding: 24px;
  display: grid;
  align-items: center;
}
.b-anim-code pre {
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.95vw, 14px);
  line-height: 1.7;
  color: var(--c-ink-mute);
  margin: 0;
}
.ck { color: var(--c-hot); }
.cv { color: var(--c-amber); }
.cs { color: var(--c-lime); }
.cf { color: var(--c-acc); }
.cc { color: var(--c-ink-dim); font-style: italic; }

.b-anim-glitch {
  display: grid;
  place-items: center;
  gap: 6px;
}
.glitch-text {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.05em;
  position: relative;
  color: var(--c-ink);
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%;
  pointer-events: none;
}
.glitch-text::before { color: var(--c-acc); animation: glitch 3s steps(1) infinite; clip-path: inset(0 0 60% 0); }
.glitch-text::after  { color: var(--c-hot); animation: glitch 3s steps(1) infinite reverse; clip-path: inset(60% 0 0 0); }
@keyframes glitch {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  92% { transform: translate(2px, -1px); opacity: 0.8; }
  94% { transform: translate(-3px, 2px); opacity: 0.8; }
  96% { transform: translate(1px, 1px); opacity: 0.8; }
  98% { transform: translate(-2px, -2px); opacity: 0.8; }
}
.glitch-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-ink-mute);
  letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: auto;
  }
  .b-1 { grid-column: 1 / 3; grid-row: 1; }
  .b-2 { grid-column: 1; grid-row: 2; }
  .b-3 { grid-column: 2; grid-row: 2; }
  .b-4 { grid-column: 1 / 3; grid-row: 3; }
  .b-anim { min-height: 200px; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .b-1, .b-2, .b-3, .b-4 { grid-column: 1; grid-row: auto; }
}

/* =========================================================
   STATS MARQUEE
   ========================================================= */
.stats {
  padding: 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg);
}
.stats-marquee {
  overflow: hidden;
  padding: 40px 0;
}
.stats-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--c-ink-mute);
  white-space: nowrap;
}
.stats-track strong {
  color: var(--c-ink);
  font-weight: 700;
}
.stats-track .bullet {
  font-size: 0.4em;
  color: var(--c-acc);
}

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  padding: clamp(80px, 12vh, 160px) 0;
}
.process-head {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}
.process-head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-ink-mute);
}

.process-pin {
  position: relative;
  overflow: hidden;
}
.process-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.p-step {
  flex: 0 0 clamp(280px, 32vw, 460px);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--c-line);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(20px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}
.p-step::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, transparent 40%);
  border-radius: inherit;
  pointer-events: none;
}
.p-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-line);
  margin-bottom: 24px;
}
.p-step h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.p-step p {
  color: var(--c-ink-mute);
  font-size: 15px;
  margin: 0 0 24px;
}
.p-step ul {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-ink-mute);
  line-height: 1.9;
}

/* =========================================================
   WORK LIST
   ========================================================= */
.work {
  padding: clamp(80px, 12vh, 160px) 0;
}
.work-head {
  margin-bottom: 60px;
}
.work-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 16px 0 0;
}
.work-head em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-ink-mute);
}
.work-list {
  border-top: 1px solid var(--c-line);
}
.w-row {
  display: grid;
  grid-template-columns: 60px 1fr auto 80px;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
  transition: padding .4s var(--ease);
}
.w-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(22,179,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.w-row:hover { padding-left: 24px; padding-right: 24px; }
.w-row:hover::before { opacity: 1; }
.w-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-ink-dim);
}
.w-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  transition: color .3s;
}
.w-row:hover .w-title { color: var(--c-acc); }
.w-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-ink-mute);
  letter-spacing: 0.04em;
}
.w-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-ink-dim);
  text-align: right;
}
@media (max-width: 700px) {
  .w-row { grid-template-columns: 30px 1fr; gap: 12px; padding: 20px 0; }
  .w-tag, .w-year { display: none; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: clamp(120px, 18vh, 220px) 0;
  text-align: left;
}
.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-acc);
  letter-spacing: 0.1em;
  margin: 0 0 32px;
}
.cta-mega {
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 200px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
  margin: 0 0 64px;
}
.cta-mega em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--c-acc), var(--c-hot));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.cta-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}
.cta-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--c-line);
  padding-left: 32px;
}
.cta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.cta-row .k { color: var(--c-ink-dim); }
.cta-row .v { color: var(--c-ink); }
@media (max-width: 800px) {
  .cta-actions { grid-template-columns: 1fr; gap: 32px; }
  .cta-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-line); padding-top: 24px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  padding: 100px 0 32px;
  border-top: 1px solid var(--c-line);
  overflow: hidden;
}
.footer-xxl {
  position: absolute;
  bottom: -3vw;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 30vw, 480px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}
.footer-claim {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-ink-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col a {
  display: block;
  color: var(--c-ink-mute);
  font-size: 14px;
  padding: 4px 0;
  transition: color .25s, transform .25s;
}
.footer-col a:hover { color: var(--c-ink); transform: translateX(4px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-ink-dim);
  position: relative;
  z-index: 2;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* =========================================================
   REVEAL ANIMATIONS (entry)
   ========================================================= */
[data-statement] .word-anim,
[data-cta] .word-anim {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-in-up.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
