/* =============================================================
   Streamsmax — home page
   Zero dependencies. No webfonts, no framework, no runtime CSS.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:          #05060f;
  --bg-alt:      #070814;
  --bg-band:     #060714;
  --surface:     rgba(255, 255, 255, .022);
  --surface-2:   rgba(255, 255, 255, .04);
  --line:        rgba(255, 255, 255, .07);
  --line-soft:   rgba(255, 255, 255, .045);

  --text:        #e9eaf5;
  --text-dim:    #9598b4;
  --text-faint:  #6a6d88;

  --indigo:      #5b6cff;
  --violet:      #a855f7;
  --pink:        #ff4d8d;

  --grad:        linear-gradient(100deg, var(--indigo), var(--violet) 52%, var(--pink));
  --grad-soft:   linear-gradient(100deg, rgba(91,108,255,.16), rgba(168,85,247,.16) 52%, rgba(255,77,141,.16));

  --header-h:    68px;
  --shell:       1180px;
  --gutter:      clamp(20px, 5vw, 40px);
  --radius:      16px;
  --radius-lg:   22px;

  --ease:        cubic-bezier(.22, 1, .36, 1);
  --dur:         .5s;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* The wordmark is a two-line lockup, so the header needs vertical room */
@media (min-width: 940px) { :root { --header-h: 88px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #12132a;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* Ambient glow that follows the pointer across the whole page.
   Fixed + transform-only = compositor work, no layout, no paint storms. */
.page-glow {
  position: fixed;
  inset: -30vmax;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(38vmax 38vmax at var(--gx, 50%) var(--gy, 30%),
              rgba(120, 90, 255, .16), rgba(255, 77, 141, .05) 42%, transparent 68%);
  transition: opacity .6s var(--ease);
  will-change: background-position;
}
.is-pointer .page-glow { opacity: 1; }

/* =============================================================
   Custom cursor
   ============================================================= */
.cursor { display: none; }

.is-pointer .cursor {
  display: block;
  position: fixed;
  top: 0; left: 0;
  z-index: 150;
  pointer-events: none;
  mix-blend-mode: screen;
}
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
}
.cursor__ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(168, 85, 247, .75);
  box-shadow: 0 0 22px rgba(120, 90, 255, .45);
  transition: width .28s var(--ease), height .28s var(--ease),
              margin .28s var(--ease), border-color .28s var(--ease),
              background-color .28s var(--ease);
}
.cursor.is-hot .cursor__ring {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(255, 77, 141, .8);
  background: rgba(168, 85, 247, .1);
}
.is-pointer.cursor-hidden * { cursor: none !important; }

/* =============================================================
   Header
   ============================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.header__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1.5px;
  overflow: hidden;
}
.header__progress i {
  display: block;
  height: 100%;
  background: var(--grad);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  will-change: transform;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.logo:hover { filter: drop-shadow(0 0 14px rgba(168, 85, 247, .45)); }
.logo__img {
  width: auto;
  height: calc(var(--header-h) - 26px);
  object-fit: contain;
}
.logo--lg { margin-right: 0; }
.logo--lg .logo__img { height: 74px; }

/* Nav */
.nav { position: relative; display: none; }
@media (min-width: 940px) { .nav { display: block; } }

.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color .25s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--text); }

.nav__glider {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--surface-2);
  opacity: 0;
  transform: translate3d(var(--x, 0), 0, 0);
  width: var(--w, 0);
  transition: transform .38s var(--ease), width .38s var(--ease), opacity .25s var(--ease);
  pointer-events: none;
  will-change: transform, width;
}
.nav:hover .nav__glider { opacity: 1; }

/* Chained with .btn so this wins over the .btn display rule below */
.btn.header__cta { display: none; }
@media (min-width: 940px) { .btn.header__cta { display: inline-flex; } }

/* Burger */
.burger {
  display: grid;
  gap: 5px;
  padding: 10px 6px;
}
.burger span {
  display: block;
  width: 22px; height: 1.6px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.3px) rotate(-45deg); }
@media (min-width: 940px) { .burger { display: none; } }

.mobile-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 99;
  display: grid;
  gap: 4px;
  padding: 14px var(--gutter) 22px;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 12px; justify-self: start; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .3s var(--ease), background-color .3s var(--ease);
  will-change: transform;
}
.btn--sm { padding: 10px 20px; font-size: 13.5px; }
.btn span { position: relative; z-index: 1; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 180% 100%;
  box-shadow: 0 6px 22px -8px rgba(120, 90, 255, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease);
}
.btn--primary:hover {
  background-position: 100% 0;
  box-shadow: 0 12px 34px -10px rgba(168, 85, 247, .95);
}
/* Sheen sweep on hover */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%);
  opacity: 0;
}
.btn--primary:hover::after { animation: sheen .8s var(--ease); }
@keyframes sheen {
  from { transform: translateX(-120%); opacity: 1; }
  to   { transform: translateX(120%);  opacity: 0; }
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: rgba(168, 85, 247, .5);
  background: var(--surface-2);
}

.btn__arrow {
  width: 17px; height: 17px;
  flex: none;
  position: relative; z-index: 1;
  transition: transform .35s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =============================================================
   Sections
   ============================================================= */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 96px) 0;
  border-top: 1px solid var(--line-soft);
}
.section--alt   { background: var(--bg-alt); }
.section--tight { padding: clamp(44px, 5vw, 60px) 0; }
.section--cta   { border-top: 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.03em;
}
.section__lead {
  margin-top: 12px;
  max-width: 46ch;
  font-size: 15px;
  color: var(--text-dim);
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vw, 84px) 0 clamp(52px, 7vw, 88px);
  overflow: hidden;
}
/* Faint grid floor, pure CSS, zero requests */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(80% 65% at 50% 35%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 65% at 50% 35%, #000 30%, transparent 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 940px) {
  .hero__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(38px, 6.4vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.hero__lead {
  margin-top: 20px;
  max-width: 40ch;
  font-size: clamp(15px, 1.5vw, 16.5px);
  color: var(--text-dim);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 460px;
}
.hero__canvas { width: 100%; height: 100%; }

/* =============================================================
   Marquee band
   ============================================================= */
.marquee-band {
  position: relative;
  z-index: 1;
  padding: 22px 0;
  background: var(--bg-band);
  border-block: 1px solid var(--line-soft);
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
  padding-right: clamp(36px, 6vw, 72px);
}
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

.tech {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: rgba(233, 234, 245, .42);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.tech:hover { color: var(--text); }

/* =============================================================
   Cards
   ============================================================= */
.card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: border-color .35s var(--ease), background-color .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Pointer spotlight — driven by --mx/--my set in JS */
.card::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(168, 85, 247, .14), transparent 62%);
  transition: opacity .35s var(--ease);
}
.card:hover::before,
.cta:hover::before { opacity: 1; }

/* Gradient hairline that lights up on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  background: var(--grad);
  -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;
  transition: opacity .35s var(--ease);
}
.card:hover::after { opacity: .55; }

.card:hover {
  background: var(--surface-2);
  box-shadow: 0 20px 48px -28px rgba(120, 90, 255, .7);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--grad-soft);
  color: var(--violet);
  transition: transform .4s var(--ease), color .3s var(--ease);
}
.card__icon svg { width: 21px; height: 21px; }
.card:hover .card__icon { transform: translateY(-2px) scale(1.06); color: var(--pink); }

.card__title {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.card__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-dim);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--violet);
  opacity: .8;
  transition: opacity .3s var(--ease), gap .3s var(--ease);
}
.card__link svg { width: 16px; height: 16px; }
.card:hover .card__link { opacity: 1; gap: 10px; }

/* Services layout */
.services__grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services__grid { grid-template-columns: minmax(0, .85fr) repeat(3, minmax(0, 1fr)); } }
.services__intro { align-self: center; }
/* Narrow column, so keep the heading from breaking mid-phrase */
.services__intro .section__title { font-size: clamp(25px, 2.5vw, 31px); }

/* Products layout */
.products {
  display: grid;
  gap: 18px;
}
@media (min-width: 700px)  { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .products { grid-template-columns: repeat(3, 1fr); } }

.card--product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
}
.card--product .card__title { margin-top: 0; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .45s var(--ease);
}
.card--product:hover .tags,
.card--product:focus-within .tags { max-height: 90px; opacity: 1; }
.tags li {
  padding: 4px 9px;
  font-size: 11.5px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
}

/* =============================================================
   Stats
   ============================================================= */
.stats-band {
  position: relative;
  z-index: 1;
  padding: 34px 0;
  background: var(--bg-band);
  border-block: 1px solid var(--line-soft);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 12px;
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  position: relative;
  text-align: center;
  padding-top: 14px;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 74%; height: 2px;
  transform: translateX(-50%) scaleX(.35);
  background: var(--grad);
  border-radius: 2px;
  opacity: .55;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.stat.is-visible::before { transform: translateX(-50%) scaleX(1); opacity: 1; }

.stat__value {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =============================================================
   AI Lab
   ============================================================= */
.ai {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 940px) { .ai { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }

.ai__list {
  display: grid;
  gap: 16px;
  margin: 26px 0 30px;
}
.ai__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  font-size: 15px;
  color: var(--text-dim);
}
.ai__list strong { color: var(--text); font-weight: 600; }
.ai__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--grad-soft);
  color: var(--violet);
}
.ai__icon svg { width: 16px; height: 16px; }

.ai__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 420px;
}
.ai__canvas { width: 100%; height: 100%; }

/* =============================================================
   Testimonials
   ============================================================= */
.testimonials {
  display: grid;
  gap: 18px;
}
@media (min-width: 700px)  { .testimonials { grid-template-columns: repeat(2, 1fr); } }

.card--quote {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 26px;
  margin: 0;
}

.quote__text {
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
}
.quote__text::before {
  content: "“";
  position: absolute;
  top: -.55em;
  left: -.05em;
  font-size: 2.6em;
  line-height: 1;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .55;
  pointer-events: none;
}

.quote__meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 4px;
}
.quote__name {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
}
.quote__role {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.45;
}
.quote__role a {
  color: var(--text-dim);
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, .35);
  text-underline-offset: 3px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.quote__role a:hover {
  color: var(--violet);
  text-decoration-color: rgba(168, 85, 247, .8);
}

/* =============================================================
   Process
   ============================================================= */
.process {
  display: grid;
  gap: 0;
}
@media (min-width: 700px)  { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 26px 22px 26px 0;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform-origin: 0 50%;
  transform: scaleX(.2);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.step.is-visible::before { transform: scaleX(1); opacity: .65; }
.step:hover::before { opacity: 1; }

.step__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-faint);
  transition: color .3s var(--ease);
}
.step:hover .step__num { color: var(--violet); }
.step__title {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.step__text {
  margin-top: 8px;
  padding-right: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* =============================================================
   CTA
   ============================================================= */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(91, 108, 255, .22), transparent 58%),
    radial-gradient(120% 140% at 88% 100%, rgba(255, 77, 141, .18), transparent 58%),
    var(--bg-alt);
}
.cta__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.cta__text {
  margin: 14px auto 0;
  max-width: 52ch;
  font-size: 15px;
  color: var(--text-dim);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(46px, 6vw, 64px);
  border-top: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.footer__inner {
  display: grid;
  gap: 36px;
  padding-bottom: 40px;
}
@media (min-width: 860px) {
  .footer__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr); align-items: start; }
}
.footer__tag {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.footer__address {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-faint);
  font-style: normal;
}
.footer__address a {
  color: var(--text-dim);
  transition: color .25s var(--ease);
}
.footer__address a:hover { color: var(--violet); }
.footer__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-top: 16px;
  align-items: start;
}
.footer__office strong {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__office p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-faint);
}
@media (max-width: 520px) {
  .footer__offices { grid-template-columns: 1fr; gap: 12px; }
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 24px;
}
.footer__cols h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer__cols ul { display: grid; gap: 9px; margin-top: 14px; }
.footer__cols a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color .25s var(--ease), transform .25s var(--ease);
  display: inline-block;
}
.footer__cols a:hover { color: var(--text); transform: translateX(3px); }

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials svg { width: 17px; height: 17px; }
.socials a:hover {
  color: var(--text);
  border-color: rgba(168, 85, 247, .5);
  transform: translateY(-2px);
}

/* =============================================================
   Scroll reveal
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Tilt containers get perspective only while hovered (set in JS) */
[data-tilt] { transform-style: preserve-3d; }

/* =============================================================
   Motion / capability fallbacks
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .cursor, .page-glow { display: none; }
}
