/* ================================================================
   UMNIS — award-grade rebuild
   Ideas borrowed from nmore.com: minimal modular grid, GSAP-driven
   staggered reveals, full-page colour morph, high-end micro-UI.
   ================================================================ */

:root {
  --bg: #f5f2ec;
  --fg: #0e1116;
  --coral: #ff5c39;
  --cobalt: #335cff;
  --line: color-mix(in srgb, var(--fg) 16%, transparent);
  --muted: color-mix(in srgb, var(--fg) 58%, transparent);
  --pad-x: 4.3vw;
  --font-sans: "Manrope", Arial, sans-serif;
  --font-mono: "DM Mono", monospace;
  --font-serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

h1, h2, h3, blockquote { text-wrap: balance; }
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---- texture + cursor ------------------------------------------------ */

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 120;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor { display: none; }
html.has-cursor .cursor {
  display: block;
  opacity: 0;
  transition: opacity 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  pointer-events: none;
}
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  translate: -50% -50%;
}
.cursor-dot { width: 8px; height: 8px; background: var(--fg); }
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid color-mix(in srgb, var(--fg) 75%, transparent);
  transition: scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
html.has-cursor .cursor.is-visible { opacity: 1; }
.cursor.is-active .cursor-ring { scale: 1.7; opacity: 0.65; }
html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor { cursor: none; }

/* ---- preloader ------------------------------------------------------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0e1116;
  color: #f5f2ec;
  display: flex;
  align-items: center;
  justify-content: center;
}
html:not(.js) .preloader { display: none; }
.preloader-inner { display: flex; align-items: center; gap: 26px; }
.preloader-count {
  font: 500 clamp(60px, 9vw, 120px) / 1 var(--font-mono);
  letter-spacing: -0.05em;
  min-width: 2.2ch;
  text-align: right;
}
.preloader-tag {
  position: absolute;
  bottom: 30px;
  font: 10px var(--font-mono);
  letter-spacing: 0.14em;
  color: #7c7d78;
}

/* ---- brand ------------------------------------------------------------ */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -1.5px;
}
.brand-mark { display: inline-flex; width: 25px; height: 25px; align-items: end; gap: 3px; }
.brand-mark i { display: block; background: currentColor; width: 6px; border-radius: 8px; }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 16px; }
.brand-mark.small { width: 18px; height: 18px; }
.brand-mark.small i { background: var(--coral); width: 4px; }
.brand-mark.small i:nth-child(1) { height: 9px; }
.brand-mark.small i:nth-child(2) { height: 16px; }
.brand-mark.small i:nth-child(3) { height: 12px; }
.brand-mark.large { width: 54px; height: 54px; color: var(--cobalt); }
.brand-mark.large i { width: 12px; border-radius: 12px; }
.brand-mark.large i:nth-child(1) { height: 26px; }
.brand-mark.large i:nth-child(2) { height: 48px; }
.brand-mark.large i:nth-child(3) { height: 36px; }

/* ---- header ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1), background 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header nav { display: flex; gap: 32px; font-size: 13px; font-weight: 600; }
.site-header nav a { position: relative; padding: 4px 0; }
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- buttons ----------------------------------------------------------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow: hidden;
  isolation: isolate;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--cobalt);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.button:hover::before { transform: translateY(0); }
.button-dark { background: var(--fg); color: var(--bg); }
.button-coral { background: var(--coral); color: #1c0e08; }
.button:hover { color: #fff; }
.button-arrow { font-size: 15px; line-height: 0; transition: transform 0.35s; }
.button:hover .button-arrow { transform: translate(2px, -2px); }

.text-link {
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 6px;
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  transform-origin: left;
}
.text-link:hover::after { transform: scaleX(0.4); }
.text-link span { font-size: 15px; line-height: 0; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.35s, translate 0.35s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { translate: 0 4px; rotate: 45deg; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { translate: 0 -4px; rotate: -45deg; }

/* ---- mobile menu ------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0e1116;
  color: #f5f2ec;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s 0.65s;
}
body.menu-open .mobile-menu {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-size: clamp(38px, 9vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.5s;
}
.mobile-menu nav a small { font: 11px var(--font-mono); color: var(--coral); }
body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: 0.25s; }
body.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.32s; }
body.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.39s; }
body.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.46s; }
body.menu-open .site-header { color: #f5f2ec; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
body.menu-open .menu-toggle span { background: #f5f2ec; }
.mobile-menu-foot {
  position: absolute;
  bottom: 34px;
  left: 8vw;
  right: 8vw;
  display: flex;
  justify-content: space-between;
  font: 11px var(--font-mono);
  letter-spacing: 0.08em;
  color: #9a9b96;
}

/* ---- shared section bits ------------------------------------------------ */

.section-pad { padding: clamp(90px, 10vw, 150px) var(--pad-x); }
.section-label {
  font: 11px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 20px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(44px, 5vw, 70px);
}
.section-heading h2 { margin: 14px 0 0; }
h2 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.section-heading > p { max-width: 320px; color: var(--muted); line-height: 1.6; font-size: 14px; }

/* word-mask spans injected by JS */
.mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.word { display: inline-block; will-change: transform; }

/* ---- hero ---------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  padding: 150px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 11px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.hero-title {
  font-size: clamp(54px, 7.4vw, 118px);
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 24px 0 30px;
  font-weight: 700;
}
.hero-text { max-width: 430px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: var(--pad-x);
  font: 10px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.hero-scroll span { display: inline-block; margin-left: 8px; animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(4px); } }

.hero-art { height: 560px; position: relative; margin-left: 2vw; }
.orbit {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--fg) 24%, transparent);
  border-radius: 50%;
  left: 5%;
  top: 5%;
  width: 90%;
  aspect-ratio: 1;
}
.orbit-two { width: 60%; left: 21%; top: 21%; border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.orb { position: absolute; border-radius: 50%; }
.orb-a { width: 240px; height: 240px; background: #7e9bff; right: 12%; top: 18%; box-shadow: 0 0 90px #9db4ff66; }
.orb-b { width: 118px; height: 118px; background: var(--coral); left: 11%; bottom: 19%; }
.payment-card { position: absolute; box-shadow: 0 25px 55px #5b598333; }
.card-main {
  width: 315px;
  height: 195px;
  background: #151a24;
  color: #fff;
  left: 23%;
  top: 26%;
  border-radius: 14px;
  padding: 24px;
  rotate: -8deg;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-top, .card-bottom {
  display: flex;
  justify-content: space-between;
  font: 10px var(--font-mono);
  letter-spacing: 0.1em;
}
.chip { width: 34px; height: 25px; border-radius: 5px; background: linear-gradient(90deg, #e4da9c, #b89555); }
.card-number { font: 16px var(--font-mono); letter-spacing: 1px; }
.card-small {
  background: #fff;
  color: #101010;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 17px;
  right: 1%;
  bottom: 22%;
  min-width: 218px;
  rotate: 4deg;
}
.card-small small, .metric-bubble small { display: block; font: 10px var(--font-mono); color: #686967; }
.card-small strong, .metric-bubble strong { font-size: 16px; }
.success-dot {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--coral);
  font-size: 13px;
}
.metric-bubble {
  position: absolute;
  background: var(--cobalt);
  color: #fff;
  padding: 15px 18px;
  border-radius: 10px;
  left: 3%;
  top: 15%;
  rotate: 6deg;
}
.metric-bubble small { color: #d8e2ff; }
.metric-bubble span { display: block; font: 10px var(--font-mono); color: #ffc9ba; margin-top: 8px; }
.hero-caption {
  position: absolute;
  bottom: 4%;
  right: 0;
  font: 10px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.live-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--cobalt);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---- marquee -------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  background: var(--cobalt);
  color: #f5f7ff;
  padding: 18px 0;
  white-space: nowrap;
  font: 14px var(--font-mono);
  letter-spacing: 0.12em;
}
.marquee-track { display: inline-flex; width: max-content; will-change: transform; }
html:not(.js) .marquee-track { animation: scroll 22s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee b { margin: 0 22px; color: var(--coral); }

/* ---- manifesto -------------------------------------------------------------- */

.manifesto-text {
  max-width: 1050px;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 44px;
}
.manifesto-text .word { will-change: opacity; }

/* ---- services / stacking cards ---------------------------------------------- */

.stack { display: grid; gap: 20px; }
.stack-card {
  position: sticky;
  border-radius: 20px;
  min-height: 62vh;
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  will-change: transform;
}
.stack-card:nth-child(1) { top: 104px; }
.stack-card:nth-child(2) { top: 124px; }
.stack-card:nth-child(3) { top: 144px; }
.card-cobalt { background: var(--cobalt); color: #f0f4ff; }
.card-light { background: #f8f6f1; color: #131313; }
.card-dark { background: #121a2b; color: #fff; }
.stack-card-head {
  display: flex;
  justify-content: space-between;
  font: 11px var(--font-mono);
  letter-spacing: 0.1em;
}
.stack-card-body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}
.feature-content { position: relative; z-index: 2; max-width: 480px; }
.stack-card h3 {
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0 0 18px;
}
.feature-content > p { font-size: 15px; line-height: 1.65; margin: 0 0 22px; opacity: 0.72; max-width: 360px; }
.card-link {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  gap: 12px;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.card-link span { transition: transform 0.3s; }
.card-link:hover span { transform: translate(2px, -2px); }

.flow-lines {
  position: absolute;
  width: 620px;
  height: 620px;
  border: 1px solid #1e40d4;
  border-radius: 50%;
  right: -220px;
  bottom: -350px;
  box-shadow: 0 0 0 39px transparent, 0 0 0 40px #1e40d4, 0 0 0 79px transparent, 0 0 0 80px #1e40d4;
}
.mini-chart {
  position: absolute;
  right: 30px;
  bottom: 10px;
  height: 150px;
  display: flex;
  align-items: end;
  gap: 8px;
}
.mini-chart i { display: block; width: 13px; background: #b9c8f5; border-radius: 3px 3px 0 0; transform-origin: bottom; }
.mini-chart i:nth-child(1) { height: 35%; }
.mini-chart i:nth-child(2) { height: 63%; }
.mini-chart i:nth-child(3) { height: 44%; }
.mini-chart i:nth-child(4) { height: 80%; }
.mini-chart i:nth-child(5) { height: 55%; }
.mini-chart i:nth-child(6) { height: 92%; background: var(--cobalt); }
.mini-chart i:nth-child(7) { height: 75%; }
.pixel-grid {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(var(--coral) 1.7px, transparent 1.7px);
  background-size: 15px 15px;
  rotate: 20deg;
}

/* ---- quote ----------------------------------------------------------------- */

.quote-section {
  min-height: 76vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: clip;
}
.quote-section blockquote {
  max-width: 980px;
  margin: 28px 0 36px;
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.quote-byline {
  font: 10px var(--font-mono);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.quote-orb { position: absolute; border-radius: 50%; }
.quote-orb-a { width: 620px; height: 620px; background: #5a7dff; top: -420px; right: -120px; }
.quote-orb-b { width: 260px; height: 260px; background: var(--coral); bottom: -140px; left: -80px; }

/* ---- solutions --------------------------------------------------------------- */

.solution-list { border-top: 1px solid var(--line); }
.solution-row {
  display: grid;
  grid-template-columns: 11% 1fr 1fr 56px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  transition: padding 0.35s cubic-bezier(0.6, 0, 0.2, 1);
}
.solution-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.solution-row:hover { padding-left: 20px; padding-right: 20px; }
.solution-row:hover::before { transform: scaleY(1); transform-origin: top; }
.solution-index { font: 11px var(--font-mono); color: var(--muted); }
.solution-row h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.05em; margin: 0; }
.solution-row p { font-size: 13px; color: var(--muted); margin: 0; max-width: 280px; }
.round-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.35s, color 0.35s, rotate 0.35s;
}
.solution-row:hover .round-arrow { background: var(--fg); color: var(--bg); rotate: 45deg; }

/* ---- stats -------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats > div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { padding-left: 0; border: 0; }
.stats strong {
  font-size: clamp(40px, 4.6vw, 72px);
  letter-spacing: -0.06em;
  display: block;
  font-weight: 700;
}
.stat-label {
  font: 10px var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.08em;
  display: block;
  margin-top: 12px;
}

/* ---- CTA ------------------------------------------------------------------------ */

.cta { padding-bottom: 40px; }
.cta-top {
  display: flex;
  justify-content: space-between;
  font: 11px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.cta-main {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-button {
  position: relative;
  width: 170px;
  height: 170px;
  flex: none;
  display: grid;
  place-items: center;
}
.cta-ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.cta-ring text { font: 8px var(--font-mono); letter-spacing: 0.18em; fill: currentColor; }
.cta-arrow {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  transition: scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), rotate 0.35s;
}
.cta-button:hover .cta-arrow { scale: 1.12; rotate: 45deg; }
.cta-foot {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font: 10px var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---- footer --------------------------------------------------------------------- */

footer { padding: 90px var(--pad-x) 26px; position: relative; overflow: clip; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1.1fr 2fr; gap: 30px; }
.footer-brand .brand-mark { color: var(--coral); }
.footer-intro { display: flex; flex-direction: column; gap: 26px; }
.footer-intro > p { max-width: 240px; font-size: 15px; line-height: 1.55; margin: 4px 0; color: var(--muted); }
.footer-address { display: flex; flex-direction: column; gap: 9px; }
.footer-address > span { font: 10px var(--font-mono); color: var(--muted); letter-spacing: 0.08em; }
.footer-address address { font-style: normal; font-size: 13px; line-height: 1.7; opacity: 0.85; }
.footer-address > a { font-size: 13px; opacity: 0.85; transition: opacity 0.25s, translate 0.25s; }
.footer-address > a:hover { opacity: 1; translate: 3px 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links span { font: 10px var(--font-mono); color: var(--muted); margin-bottom: 9px; letter-spacing: 0.08em; }
.footer-links a { font-size: 12px; opacity: 0.85; transition: opacity 0.25s, translate 0.25s; }
.footer-links a:hover { opacity: 1; translate: 3px 0; }
.footer-word {
  font-size: clamp(120px, 22vw, 340px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
  text-align: center;
  margin: 60px 0 -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 32%, transparent);
  user-select: none;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font: 9px var(--font-mono);
  letter-spacing: 0.08em;
}
.footer-bottom div { display: flex; gap: 18px; }

/* ---- responsive -------------------------------------------------------------------- */

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .site-header nav, .header-actions { display: none; }
  .menu-toggle { display: flex; position: relative; z-index: 95; }

  .hero { display: block; padding: 130px 6vw 40px; min-height: 0; }
  .hero-art { height: 420px; margin: 40px 0 0; }
  .hero-scroll { display: none; }
  .card-main { left: 12%; top: 22%; scale: 0.85; }
  .card-small { right: 0; bottom: 10%; scale: 0.85; }
  .metric-bubble { left: 0; top: 6%; }

  :root { --pad-x: 6vw; }
  .section-heading { flex-direction: column; align-items: start; gap: 22px; }

  .stack-card { min-height: 0; gap: 34px; }
  .stack-card-body { flex-direction: column; align-items: start; }
  .mini-chart { position: static; height: 110px; }
  .pixel-grid { right: -60px; }

  .solution-row { grid-template-columns: 40px 1fr 48px; }
  .solution-row p { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 38px; }
  .stats > div:nth-child(3) { padding-left: 0; border: 0; }

  .cta-main { flex-direction: column; align-items: flex-start; padding: 50px 0; min-height: 0; }
  .cta-button { align-self: flex-end; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-wrap: wrap; }
}

/* ---- reduced motion ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
