/* METHOD//MAGIC — Refined Violet / Immersive */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --bg: #0B0C12;
  --bg-2: #101220;
  --ink: #F2F1FC;
  --muted: rgba(242, 241, 252, 0.5);
  --faint: rgba(242, 241, 252, 0.12);
  --violet: #542AD6;
  --violet-soft: #8A3FFC;
  --blue: #0F54CD;
  --blue-soft: #6FA2FF;
  --grad: linear-gradient(100deg, #6FA2FF 0%, #8A3FFC 100%);
  --grad-strong: linear-gradient(100deg, #0F54CD 0%, #542AD6 100%);
  --logo-slash: linear-gradient(165deg, #B23ADA 0%, #5B2EE0 100%);
  --logo-magic: linear-gradient(180deg, #3552FF 0%, #1E2FBE 100%);
  --font: "Hanken Grotesk", "Avenir Next", "Avenir", sans-serif;
  --display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --logo-font: "Archivo Black", "Arial Black", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: #fff; }

/* ---------- Grain & cursor ---------- */

.grain {
  position: fixed;
  inset: -8%;
  width: 116%;
  height: 116%;
  pointer-events: none;
  z-index: 99;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
}

/* ---------- Ambient dust background ---------- */

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0a0d16;
}

.site-bg-img {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  opacity: 0.4;
  animation: mmDrift 46s ease-in-out infinite;
  will-change: transform;
}

.mm-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.6;
}

.site-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 72% at 50% 42%, rgba(11, 12, 18, 0) 34%, rgba(11, 12, 18, 0.74) 100%);
}

@keyframes mmDrift {
  0%   { transform: scale(1.06) translate(0, 0); }
  50%  { transform: scale(1.10) translate(-14px, -8px); }
  100% { transform: scale(1.06) translate(0, 0); }
}

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


/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 12, 18, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px clamp(20px, 4vw, 56px);
}

.logo { display: block; text-decoration: none; }

.logo-img {
  display: block;
  height: 46px;
  width: auto;
}

.logo-img-footer { height: 40px; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: var(--grad-strong);
  box-shadow: 0 0 28px rgba(84, 42, 214, 0.45);
  transition: box-shadow 0.25s ease;
  will-change: transform;
}

.btn-pill:hover { box-shadow: 0 0 44px rgba(110, 70, 255, 0.7); }

.btn-big { padding: 20px 44px; font-size: clamp(1rem, 2.4vw, 1.3rem); }

/* ---------- Navigation ---------- */

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active { color: var(--ink); }

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 320px);
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    margin-left: 0;
    padding: 0 40px;
    background: rgba(11, 12, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--faint);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav.open { transform: none; }

  .site-nav a { font-size: 1.1rem; }
  .site-nav a::after { display: none; }

  .site-nav a.nav-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 10px;
    padding: 16px 34px;
    border-radius: 999px;
    background: var(--grad-strong);
    color: #fff;
    letter-spacing: 0.08em;
    box-shadow: 0 0 28px rgba(84, 42, 214, 0.45);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

#webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 6vw, 80px);
  width: 100%;
}

.hero-logo { margin: 0; }

.hero-logo-img {
  display: block;
  width: min(620px, 74vw);
  height: auto;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 60px rgba(84, 42, 214, 0.25));
}

.hero-tagline {
  margin-top: 1.8rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  letter-spacing: 0.34em;
  color: var(--ink);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 1.6rem;
  max-width: 34ch;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.5;
  color: rgba(242, 241, 252, 0.86);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #9096ad;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* The cookie banner occupies the same bottom-center slot — yield to it while it's up */
body.consent-open .scroll-cue { opacity: 0; }

.scroll-cue-arrow {
  font-size: 18px;
  line-height: 1;
  color: #8b5cf6;
  animation: numsBounce 1.6s ease-in-out infinite;
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-2);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--mq-dur, 40s) linear infinite;
}

.mq-group { display: flex; flex: 0 0 auto; }

.marquee-track span {
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(90px, 14vh, 160px) clamp(20px, 6vw, 80px);
  position: relative;
}

.eyebrow {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--violet-soft);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

/* ---------- The Numbers — zigzag slot reel ---------- */

.nums { position: relative; }

.nums-track { position: relative; height: 4560px; }

.nums-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  perspective: 1100px;
}

.nums-kicker {
  position: absolute;
  top: clamp(26px, 5vh, 44px);
  left: clamp(20px, 6vw, 64px);
  margin: 0;
  z-index: 3;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #8b5cf6;
}

.nums-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: clamp(104px, 17vh, 200px) 8vw 0;
  box-sizing: border-box;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.nums-slide.nums-right { justify-content: flex-end; }
.nums-slide.nums-left { justify-content: flex-start; }

.nums-col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.4vh, 24px);
  max-width: 84vw;
}

.nums-right .nums-col { align-items: flex-end; text-align: right; }
.nums-left .nums-col { align-items: flex-start; text-align: left; }

.nums-big {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-size: clamp(84px, 18vw, 260px);
  background: linear-gradient(100deg, #5f83ff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nums-nowrap { white-space: nowrap; font-size: clamp(58px, 12vw, 180px); }
.nums-money { font-size: clamp(64px, 15vw, 240px); }

.nums-cap {
  margin: 0;
  font-size: clamp(15px, 2vw, 28px);
  color: #8e93a9;
  max-width: 22ch;
}

.nums-row { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); }

.nums-steam-logo {
  width: clamp(140px, 20vw, 260px);
  height: auto;
  object-fit: contain;
}

.nums-keyart {
  width: clamp(180px, 26vw, 340px);
  aspect-ratio: 340 / 180;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  transform: rotate(3deg) translateZ(0);
  box-shadow: 0 20px 60px rgba(91, 124, 250, 0.25);
  backface-visibility: hidden;
  will-change: transform;
}

.nums-mask {
  position: relative;
  width: min(760px, 60vw);
  aspect-ratio: 760 / 300;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20760%20300%22%3E%3Ctext%20x%3D%22380%22%20y%3D%22242%22%20font-family%3D%22Arial%20Black%2CArial%2Csans-serif%22%20font-size%3D%22252%22%20font-weight%3D%22900%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E5M%2B%3C%2Ftext%3E%3C%2Fsvg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20760%20300%22%3E%3Ctext%20x%3D%22380%22%20y%3D%22242%22%20font-family%3D%22Arial%20Black%2CArial%2Csans-serif%22%20font-size%3D%22252%22%20font-weight%3D%22900%22%20text-anchor%3D%22middle%22%20fill%3D%22white%22%3E5M%2B%3C%2Ftext%3E%3C%2Fsvg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
}

.nums-mask-img {
  position: absolute;
  inset: 0;
  background-color: #1c1a33;
  background-size: auto 240%;
  background-repeat: no-repeat;
  animation: numsPan 34s linear infinite alternate;
}

.nums-mask-img.is-loaded {
  background-image: url("assets/nums-collage.jpg");
}

.nums-mask-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(95, 131, 255, 0.2), rgba(167, 139, 250, 0.2));
  pointer-events: none;
}

@keyframes numsPan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.nums-rail {
  position: absolute;
  right: clamp(14px, 3vw, 40px);
  top: 32%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}

.nums-rail span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.nums-rail span.on { background: #8b5cf6; transform: scale(1.5); }

.nums-hint {
  position: absolute;
  bottom: clamp(24px, 5vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9096ad;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  transition: opacity 0.4s ease;
}

.nums-hint-arrow {
  font-size: 18px;
  line-height: 1;
  color: #8b5cf6;
  animation: numsBounce 1.6s ease-in-out infinite;
}

@keyframes numsBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ---------- Why Us ---------- */

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.strength-list { list-style: none; }

.strength-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: clamp(18px, 2.6vh, 28px) 6px;
  border-bottom: 1px solid var(--faint);
  transition: padding-left 0.35s ease, background 0.35s ease;
}

.strength-list li:first-child { border-top: 1px solid var(--faint); }

.strength-list li:hover {
  padding-left: 18px;
  background: rgba(110, 70, 255, 0.05);
}

.str-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  padding-top: 0.35rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.strength-list h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.strength-list p { color: var(--muted); font-size: 1.12rem; line-height: 1.6; margin-top: 0.4rem; }

/* Why-us animated growth graphic */

.why-viz-inner {
  position: relative;
  animation: wvFloat 5s ease-in-out infinite alternate;
}

@keyframes wvFloat {
  from { transform: translateY(-6px); }
  to { transform: translateY(10px); }
}

.why-viz svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 55px rgba(84, 42, 214, 0.22));
}

.wv-bar { transform-box: fill-box; transform-origin: bottom; }

.wv-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: wvPulse 2.3s ease-out infinite;
}

@keyframes wvPulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- What We Do — schematic scroll section ---------- */

@keyframes mmPulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes mmSpin { to { transform: rotate(360deg); } }
@keyframes mmRing { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes mmDash { to { stroke-dashoffset: -22; } }
@keyframes mmDraw600 { 0% { stroke-dashoffset: 600; } 55%,100% { stroke-dashoffset: 0; } }
@keyframes mmDraw40 { 0% { stroke-dashoffset: 40; opacity: 0; } 8% { opacity: 1; } 30%,88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes mmRise { 0% { transform: scaleY(.1); } 45%,100% { transform: scaleY(1); } }
@keyframes mmScaleX { 0% { transform: scaleX(.15); } 50%,100% { transform: scaleX(1); } }
@keyframes mmFall { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translateY(175px); opacity: 0; } }
@keyframes mmFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mmFade { 0% { opacity: 0; } 40%,100% { opacity: 1; } }
@keyframes mmLift { 0%,44%,100% { transform: translateY(0); } 12%,32% { transform: translateY(-9px); } }
@keyframes mmGlowSeq { 0%,44%,100% { opacity: 0; } 12%,32% { opacity: 1; } }
@keyframes mmEq { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes mmRingBox { 0% { transform: scale(.88); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

.wwd { max-width: 1440px; margin: 0 auto; padding: 64px clamp(20px, 6vw, 64px) 0; }

.wwd-kicker {
  color: #8B5CF6;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.wwd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  padding-top: 48px;
}

.wwd-left { min-width: 0; }

.wwd-panel {
  position: sticky;
  top: 12vh;
  height: 76vh;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.012);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  overflow: hidden;
}

.wwd-glow { position: absolute; inset: 0; transition: background 1s ease; pointer-events: none; }

.wwd-counter {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.2em;
  transition: color 0.6s ease;
}

.wwd-caption-wrap {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.wwd-caption {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 237, 244, 0.85);
}

.wwd-anim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.wwd-anim.active { opacity: 1; transform: translateY(0) scale(1); }

.wwd-segs { padding-bottom: 10vh; }

.wwd-seg {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.3;
  transition: opacity 0.45s ease;
}

.wwd-seg.active { opacity: 1; }

.wwd-num {
  font-family: var(--font);
  font-size: 15px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.45s ease;
}

.wwd-seg.active .wwd-num { color: var(--accent); }

.wwd-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: rgba(236, 237, 244, 0.65);
  transition: color 0.45s ease;
}

.wwd-seg.active .wwd-title { color: #ECEDF4; }

.wwd-body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  color: #b3b6c6;
  max-width: 52ch;
  text-wrap: pretty;
}

.wwd-metric {
  display: none;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.wwd-seg.active .wwd-metric { display: block; }

@media (max-width: 900px) {
  .wwd { padding: 40px clamp(20px, 6vw, 64px) 0; }
  .wwd-grid { grid-template-columns: 1fr; gap: 0; padding-top: 26px; }
  .wwd-left { display: none; }
  .wwd-seg { min-height: auto; padding: 34px 0; opacity: 1; }
  .wwd-seg .wwd-num { color: var(--accent); }
  .wwd-seg .wwd-title { color: #ECEDF4; }
  .wwd-seg .wwd-metric { display: block; }
}

/* ---------- Clients ---------- */

.clients { text-align: center; }

.clients .eyebrow { margin-bottom: 2.5rem; }

.client-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(36px, 7vw, 90px);
  flex-wrap: wrap;
}

.client { margin: 0; }

.client img {
  display: block;
  margin: 0 auto;
  height: clamp(58px, 8.5vw, 96px);
  width: auto;
  filter: invert(1) brightness(1.1) opacity(0.72);
  transition: filter 0.35s ease;
}

.client:hover img {
  filter: invert(1) brightness(1.45) opacity(1) drop-shadow(0 0 26px rgba(110, 70, 255, 0.65));
}

.client figcaption {
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
  overflow: hidden;
  padding-top: clamp(120px, 20vh, 220px);
  padding-bottom: clamp(120px, 20vh, 220px);
}

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 46% at 30% 60%, rgba(84, 42, 214, 0.3), transparent 70%),
    radial-gradient(40% 42% at 72% 38%, rgba(15, 84, 205, 0.26), transparent 70%);
  filter: blur(10px);
  animation: aurora 9s ease-in-out infinite alternate;
}

@keyframes aurora {
  from { transform: translate3d(-3%, 2%, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.12); }
}

.contact-title {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.4rem, 13vw, 12rem);
  letter-spacing: -0.03em;
  line-height: 1;
  overflow: hidden;
}

.contact-sub {
  position: relative;
  color: var(--muted);
  font-size: 1.1rem;
  margin: 1.6rem 0 3rem;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 30px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--faint);
}

.site-footer p { color: var(--muted); font-size: 0.85rem; }

/* ---------- Reveal base (JS adds motion) ---------- */

.split .char { display: inline-block; will-change: transform; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 44px; }
  .why-viz-inner { max-width: 460px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-cue-arrow, .grain, .aurora, .site-bg-img, .nums-mask-img, .nums-hint-arrow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie consent banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--faint);
  background: rgba(11, 12, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner-text {
  flex: 1 1 320px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner-decline {
  background: none;
  border: 1px solid var(--faint);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cookie-banner-decline:hover { border-color: var(--muted); }

.cookie-banner-accept {
  padding: 12px 24px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-text { flex-basis: auto; }
  .cookie-banner-actions { justify-content: center; }
}
