/* ============ Tokens ============ */
:root {
  --bg: #fbfaf7;
  --bg-2: #f4f2ec;
  --ink: #0a1220;
  --ink-2: #2a3344;
  --ink-soft: #4a5567;
  --ink-mute: #7a8599;
  --line: rgba(10, 18, 32, 0.08);
  --line-strong: rgba(10, 18, 32, 0.16);
  /* Brand: teal primario #1D676C, mint/accent #1DDBB7 */
  --blue: #1D676C;          /* compat: lo dejamos como var de acento primario */
  --brand: #1D676C;
  --brand-ink: #134247;
  --brand-soft: #e8f3f2;
  --accent: #1DDBB7;
  --accent-soft: #d5f7ee;
  --blue-ink: #134247;
  --blue-soft: #e8f3f2;
  --blue-glow: #A3E7FC;
  --warm: oklch(0.72 0.14 55);
  --radius: 18px;
  --radius-sm: 10px;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--f-sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* Selection */
::selection { background: var(--blue); color: white; }

/* ============ Layout ============ */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: 140px 0; position: relative; }
.section--tight { padding: 90px 0; }
.more-showcases {
  padding-bottom: 84px;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.8); opacity: 0.4; }
}

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(54px, 8.4vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.display em { font-style: italic; color: var(--blue-ink); }

.hero__title-highlight {
  position: relative;
  display: inline-block;
  padding: 0.14em 0.12em 0.12em 0.12em;
  isolation: isolate;
}

.hero__title-highlight::before {
  content: "";
  position: absolute;
  inset: 0.12em -0.02em 0.08em -0.02em;
  background: #3f7478;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: -1;
  border-radius: 0.01em;
}

.hero__title-highlight::after {
  content: "";
  position: absolute;
  top: 0.12em;
  right: -0.08em;
  width: 0.035em;
  height: calc(100% - 0.20em);
  background: #3f7478;
  border-radius: 999px;
  opacity: 0;
}

.hero__title-highlight em {
  color: #fbfaf7;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.4vw, 82px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--f-sans);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 54ch;
  font-weight: 400;
}
.micro {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.crumbs a {
  color: inherit;
}

.crumbs .dash {
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

/* ============ Cursor ============ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width .25s ease, height .25s ease, background .25s ease, border-color .25s ease;
  mix-blend-mode: difference;
  filter: invert(1);
}
.cursor--hover {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
  filter: none;
}
.cursor--text { width: 4px; height: 26px; border-radius: 2px; background: var(--ink); border-color: var(--ink); }
.cursor__label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 10px; font-weight: 500;
  padding: 0 8px;
  color: white; letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.18;
  text-align: center;
  opacity: 0; transition: opacity .2s;
}
.cursor--hover .cursor__label { opacity: 1; }

@media (pointer: coarse) { .cursor { display: none; } }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  backdrop-filter: blur(14px);
  background: rgba(251, 250, 247, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav--scrolled { border-color: var(--line); background: rgba(251, 250, 247, 0.88); }
.nav__logo {
  display: inline-flex; align-items: center;
}
.nav__logo svg { height: 40px; width: auto; display: block; }
.nav__logo img { height: 40px; width: auto; display: block; }
.nav__logo .logo-mark { fill: var(--brand); transition: fill .3s; }
.nav__logo .logo-accent { fill: var(--accent); transition: fill .3s; }
.nav__logo:hover .logo-mark { fill: var(--brand-ink); }
.nav__links { display: flex; gap: 36px; font-size: 14px; color: var(--ink-2); }
.nav__group {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.9,.25,1);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links > a.is-current,
.nav__group > a.is-current {
  color: var(--brand-ink);
}
.nav__links > a.is-current::after,
.nav__group > a.is-current::after {
  transform: scaleX(1);
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(10, 18, 32, 0.1);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  z-index: 20;
}
.nav__group:hover .nav__dropdown,
.nav__group:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(251, 250, 247, 0.96);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.nav__group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}
.nav__dropdown .nav__dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.nav__dropdown .nav__dropdown-item::after {
  display: none;
}
.nav__dropdown .nav__dropdown-item:hover,
.nav__dropdown .nav__dropdown-item:focus-visible {
  background: var(--blue-soft);
  color: var(--brand-ink);
  transform: translateX(2px);
}
.nav__dropdown .nav__dropdown-item.is-current {
  background: rgba(29, 103, 108, 0.08);
  color: var(--brand-ink);
}
.nav__cta {
  font-size: 13px; padding: 10px 18px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--accent); color: var(--ink); }

.nav__mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  color: var(--ink);
  position: relative;
  transition: border-color .24s ease, background .24s ease, transform .24s ease;
}

.nav__mobile-toggle::before,
.nav__mobile-toggle::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 1.7px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transition: opacity .2s ease, transform .24s ease;
}

.nav__mobile-toggle::before {
  transform: rotate(0deg);
}

.nav__mobile-toggle::after {
  transform: rotate(0deg);
}

.nav__mobile-menu-icon {
  width: 23px;
  height: auto;
  display: block;
  transition: opacity .2s ease, transform .24s ease;
}

.nav__mobile-panel {
  display: none;
}

.nav__mobile-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav__mobile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__mobile-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(29, 103, 108, 0.08);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav__mobile-all:hover,
.nav__mobile-all:focus-visible,
.nav__mobile-all.is-current {
  background: var(--blue-soft);
  color: var(--brand-ink);
  transform: translateX(2px);
}

.nav__mobile-list {
  display: grid;
  gap: 6px;
}

.nav__mobile-item,
.nav__mobile-subitem {
  display: block;
  border-radius: 18px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav__mobile-item {
  padding: 16px 18px;
  font-size: 17px;
  line-height: 1.1;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.nav__mobile-sublist {
  display: grid;
  gap: 8px;
  padding-left: 12px;
}

.nav__mobile-subitem {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.15;
  color: var(--ink-2);
  background: rgba(29, 103, 108, 0.06);
}

.nav__mobile-item:hover,
.nav__mobile-item:focus-visible,
.nav__mobile-subitem:hover,
.nav__mobile-subitem:focus-visible {
  background: var(--blue-soft);
  color: var(--brand-ink);
  transform: translateX(2px);
}

.nav__mobile-item.is-current,
.nav__mobile-subitem.is-current {
  background: rgba(29, 103, 108, 0.1);
  color: var(--brand-ink);
}

@media (max-width: 760px) {
  body.body--nav-open {
    overflow: hidden;
  }

  .nav {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
    padding: 14px 16px;
    align-items: center;
  }

  .nav__mobile-toggle {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
    align-self: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    gap: 4px;
  }

  .nav__logo {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
  }

  .nav__logo svg,
  .nav__logo img {
    height: 34px;
  }

  .nav__logo img {
    transform: translateY(6px);
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    grid-row: 1;
    grid-column: 4;
    justify-self: end;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    font-size: 12px;
    line-height: 1;
    padding: 0 14px;
    white-space: nowrap;
  }

  .nav__mobile-toggle {
    display: inline-flex;
  }

  .nav.nav--mobile-open .nav__mobile-toggle {
    background: transparent;
    border-color: transparent;
  }

  .nav.nav--mobile-open .nav__mobile-menu-icon {
    opacity: 0;
    transform: scale(0.86);
  }

  .nav.nav--mobile-open .nav__mobile-toggle::before {
    opacity: 1;
    transform: rotate(45deg);
  }

  .nav.nav--mobile-open .nav__mobile-toggle::after {
    opacity: 1;
    transform: rotate(-45deg);
  }

  .nav__mobile-panel {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 94px);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(251, 250, 247, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 64px rgba(10, 18, 32, 0.12);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
  }

  .nav.nav--mobile-open .nav__mobile-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__mobile-inner {
    display: grid;
    gap: 16px;
  }
}

/* ============ Button ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s;
}
.btn__fill {
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.2,.9,.25,1);
  z-index: -1;
}
.btn:hover .btn__fill { transform: translateY(0); }
.btn__arrow {
  display: inline-block;
  transition: transform .35s cubic-bezier(.2,.9,.25,1);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn:hover { color: var(--ink); }
.btn--ghost:hover { color: var(--ink); border-color: var(--accent); }

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.25,1), transform 1s cubic-bezier(.2,.7,.25,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .18s; }
.reveal--delay-3 { transition-delay: .28s; }

.line-reveal {
  overflow: visible;
  display: block;
  padding-bottom: 0.08em;
}
.line-reveal__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.7,.25,1);
}
.in .line-reveal__inner { transform: none; }
.line-reveal--d1 .line-reveal__inner { transition-delay: .06s; }
.line-reveal--d2 .line-reveal__inner { transition-delay: .14s; }
.line-reveal--d3 .line-reveal__inner { transition-delay: .22s; }
.line-reveal--d4 .line-reveal__inner { transition-delay: .30s; }
.in .hero__title-highlight::before {
  animation: heroTitleLoad 0.9s cubic-bezier(.2,.8,.2,1) .24s both;
}

.in .hero__title-highlight::after {
  animation: heroCursorBlink 1s steps(1, end) 1.15s infinite;
}

@keyframes heroTitleLoad {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

@keyframes heroCursorBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

/* ============ Hero ============ */
.hero {
  padding: 160px 0 100px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
}
.hero__eyebrow-row {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 40px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
}
.hero__eyebrow-row::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2.6s ease-in-out infinite;
}
.hero__eyebrow-row .dash { flex: 1; height: 1px; background: var(--line-strong); max-width: 120px; }

.hero__title .accent { color: var(--blue-ink); font-style: italic; }

.hero__meta {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 28px;
}
.hero__lede { max-width: 46ch; }
.hero__cta-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

/* Hero viz */
.hero__viz {
  aspect-ratio: 1 / 1;
  position: relative;
  align-self: start;
  margin-top: clamp(56px, 5vw, 72px);
}

.hero__viz--media {
  aspect-ratio: 1.08 / 1;
  min-height: 560px;
  isolation: isolate;
  overflow: visible;
  perspective: 1200px;
  --hero-graph-top: calc(15% + 120px);
  --hero-graph-height: 85%;
  --hero-overlay-top: calc(-30% + 127px);
  --hero-overlay-height: 42%;
  --hero-bg-y: -8px;
  --hero-device-y: -22px;
  --hero-graph-tilt-rx: 0deg;
  --hero-graph-tilt-ry: 0deg;
  --hero-graph-tilt-x: 0px;
  --hero-graph-tilt-y: 0px;
  --hero-device-tilt-rx: 0deg;
  --hero-device-tilt-ry: 0deg;
  --hero-device-tilt-x: 0px;
  --hero-device-tilt-y: 0px;
}

.hero__viz-graph,
.hero__viz-overlay {
  position: absolute;
  inset: 0;
}

.hero__viz-graph {
  inset: var(--hero-graph-top) 0 0 0;
  height: var(--hero-graph-height);
  z-index: 0;
  transform:
    translate3d(var(--hero-graph-tilt-x), var(--hero-graph-tilt-y), 0)
    rotateX(var(--hero-graph-tilt-rx))
    rotateY(var(--hero-graph-tilt-ry));
  transform-origin: 50% 42%;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__viz-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__viz-overlay {
  inset: var(--hero-overlay-top) 0 auto 0;
  height: var(--hero-overlay-height);
  z-index: 2;
  pointer-events: none;
}

.hero__viz-bg-wrap,
.hero__viz-screen,
.hero__viz-glow {
  position: absolute;
  inset: 0;
}

.hero__viz-bg-wrap {
  display: grid;
  place-items: center;
  z-index: 0;
  opacity: 1;
  transform: none;
}

.hero__viz-bg {
  width: 64%;
  max-width: 420px;
  transform: translateY(var(--hero-bg-y));
  filter: drop-shadow(0 28px 60px rgba(29, 103, 108, 0.18));
  transform-origin: center;
  animation: heroLatencyHalo 7.5s ease-in-out infinite;
}

.hero__viz-glow {
  inset: auto 18% 6% 18%;
  height: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(29, 219, 183, 0.22), rgba(29, 219, 183, 0.08) 36%, rgba(29, 103, 108, 0.02) 64%, transparent 74%);
  filter: blur(26px);
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__viz-screen {
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 1;
  transform: none;
}

.hero__viz-device {
  width: 100%;
  max-width: none;
  transform: none;
  filter: drop-shadow(0 38px 48px rgba(10, 18, 32, 0.14));
  transform-origin: center center;
}

.hero__device-shell {
  position: relative;
  width: 58%;
  max-width: 395px;
  transform:
    translateY(var(--hero-device-y))
    translate3d(var(--hero-device-tilt-x), var(--hero-device-tilt-y), 0)
    rotateX(var(--hero-device-tilt-rx))
    rotateY(var(--hero-device-tilt-ry));
  transform-style: preserve-3d;
  will-change: transform;
}

.hero__device-display {
  position: absolute;
  inset: 0;
  overflow: visible;
  z-index: 1;
}

.hero__device-display::after {
  content: none;
}

.hero__device-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: none;
  animation: heroFrameSwap 28s linear infinite;
  animation-fill-mode: both;
}

.hero__device-frame--1 { animation-delay: -1.75s; }
.hero__device-frame--2 { animation-delay: 5.25s; }
.hero__device-frame--3 { animation-delay: 12.25s; }
.hero__device-frame--4 { animation-delay: 19.25s; }

@keyframes heroLatencyHalo {
  0%, 100% { transform: translateY(var(--hero-bg-y)) translate3d(0, 0, 0) scale(1); opacity: 0.95; }
  50% { transform: translateY(var(--hero-bg-y)) translate3d(0, -8px, 0) scale(1.018); opacity: 1; }
}

@keyframes heroFrameSwap {
  0%, 8% {
    opacity: 0;
    transform: none;
  }
  18%, 24% {
    opacity: 1;
    transform: none;
  }
  34%, 100% {
    opacity: 0;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero__viz--media {
    min-height: 460px;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 0;
    --hero-graph-top: calc(12% + 120px);
    --hero-graph-height: 88%;
    --hero-overlay-top: calc(-20% + 127px);
    --hero-overlay-height: 40%;
    --hero-bg-y: -4px;
    --hero-device-y: -14px;
  }

  .hero__viz-device {
    width: 100%;
  }

  .hero__device-shell {
    width: 62%;
    max-width: 390px;
  }
}

@media (max-width: 680px) {
  .hero.wrap {
    padding-left: clamp(24px, 7vw, 34px);
    padding-right: clamp(24px, 7vw, 34px);
  }

  .hero__copy {
    max-width: 430px;
    margin: 0 auto;
    text-align: center;
  }

  .hero__eyebrow-row {
    justify-content: center;
    gap: 14px;
    margin-bottom: 34px;
    text-align: center;
    font-size: clamp(8px, 2.35vw, 10px);
    letter-spacing: 0.13em;
    white-space: nowrap;
  }

  .hero__eyebrow-row .dash {
    display: none;
  }

  .hero__title {
    margin-inline: auto;
  }

  .line-reveal {
    text-align: center;
  }

  .hero__meta {
    align-items: center;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
    max-width: 32ch;
    text-align: center;
  }

  .hero__cta-row {
    justify-content: center;
    gap: 14px;
  }

  .hero__cta-row .btn {
    justify-content: center;
  }

  .hero__viz--media {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: clamp(460px, 124vw, 520px);
    --hero-graph-top: 212px;
    --hero-graph-height: 300px;
    --hero-overlay-top: 8px;
    --hero-overlay-height: 218px;
    --hero-bg-y: -10px;
    --hero-device-y: -10px;
  }

  .hero__viz-bg {
    width: 72%;
  }

  .hero__viz-device {
    width: 100%;
  }

  .hero__device-shell {
    width: 70%;
  }

  .hero__viz-glow {
    inset: auto 12% 4% 12%;
    height: 18%;
  }
}

/* ============ Case studies ============ */
.case-studies {
  padding-top: 0;
  padding-bottom: 52px;
  position: relative;
}

.case-studies.wrap {
  padding-left: 32px;
  padding-right: 32px;
}

.case-studies__header {
  margin-bottom: 34px;
}

.eyebrow--case::before {
  width: 8px;
  height: 8px;
  background: #4FA3B8;
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 9vw, 132px);
  align-items: start;
}

.case-study {
  min-width: 0;
}

.case-study__media {
  --case-tilt-rx: 0deg;
  --case-tilt-ry: 0deg;
  --case-tilt-x: 0px;
  --case-tilt-y: 0px;
  --case-pointer-x: 50%;
  --case-pointer-y: 50%;
  width: 100%;
  aspect-ratio: 521 / 381;
  overflow: hidden;
  position: relative;
  display: block;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
}

.case-study__media[data-case-tilt] {
  perspective: 1100px;
}

.case-study__media[data-case-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9;
  background: radial-gradient(circle at var(--case-pointer-x) var(--case-pointer-y), rgba(255, 255, 255, 0.32), transparent 42%);
  opacity: .52;
  pointer-events: none;
  mix-blend-mode: screen;
}

.case-study__scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.case-study__media[data-case-tilt] .case-study__scene {
  transform:
    translate3d(var(--case-tilt-x), var(--case-tilt-y), 0)
    rotateX(var(--case-tilt-rx))
    rotateY(var(--case-tilt-ry))
    scale(1.014);
  transform-style: preserve-3d;
  will-change: transform;
}

.case-study__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(29, 103, 108, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 103, 108, 0.075) 1px, transparent 1px);
  background-size: 12.5% 14.25%;
  background-position: center top;
}

.case-study__logo,
.case-study__circles,
.case-study__object {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.case-study__logo {
  top: calc(8.5% - 10px);
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  height: auto;
  max-width: none;
}

.case-study__logo--flexicar {
  width: clamp(128px, 28%, 180px);
}

.case-study__logo--nautalia {
  width: clamp(120px, 26%, 168px);
}

.case-study__circles {
  left: 50%;
  top: 61%;
  z-index: 1;
  width: 63%;
  max-width: none;
  transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  filter: drop-shadow(0 26px 50px rgba(29, 103, 108, 0.16));
  animation: caseLatencyHalo 7.5s ease-in-out infinite;
}

.case-study__media--nautalia .case-study__circles {
  animation-delay: -1.8s;
}

.case-study__object {
  z-index: 3;
  max-width: none;
  height: auto;
  width: 66%;
  transform: translateX(-50%) translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  animation: caseObjectLatency 8.4s ease-in-out infinite;
}

.case-study__object--car {
  left: 49%;
  bottom: 1.5%;
}

.case-study__object--globe {
  left: 50%;
  bottom: 1.5%;
  animation-delay: -2.2s;
}

.case-study__solution-popups {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.case-solution-card {
  --case-solution-card-h: clamp(70px, 8vw, 88px);
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.2vw, 26px);
  width: min(94%, 590px);
  height: var(--case-solution-card-h);
  padding: clamp(10px, 1.8vw, 16px) clamp(28px, 3.4vw, 40px) clamp(10px, 1.8vw, 16px) clamp(12px, 1.8vw, 16px);
  border: 1px solid rgba(10, 18, 32, 0.1);
  border-radius: 18px;
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 22px 60px rgba(10, 18, 32, 0.13);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate3d(var(--case-popup-x, 0), 18px, 0) scale(0.96);
  transition:
    opacity .38s ease,
    transform .48s cubic-bezier(.2,.85,.25,1),
    border-color .32s ease;
}

.case-study__media--flexicar .case-solution-card {
  --case-popup-x: -80vw;
}

.case-study__media--nautalia .case-solution-card {
  --case-popup-x: 80vw;
}

.case-solution-card--multi {
  top: 20%;
  left: 3%;
  border: 2px solid #178FE6;
}

.case-solution-card--jarvis {
  top: calc(20% + var(--case-solution-card-h) + 10px);
  right: 3%;
  transition-delay: .05s;
}

.case-solution-card--view {
  top: calc(20% + var(--case-solution-card-h) + var(--case-solution-card-h) + 20px);
  left: 3%;
  transition-delay: .1s;
}

.case-solution-card__powered {
  min-width: min(100%, clamp(240px, 52%, 340px));
  height: clamp(42px, 4.8vw, 52px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(10, 18, 32, 0.11);
  border-radius: 9px;
  background: rgba(251, 250, 247, 0.78);
  box-shadow: inset 0 0 0 1px rgba(10, 18, 32, 0.03);
  font-family: var(--f-mono);
  font-size: clamp(11px, 1.4vw, 15px);
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: visible;
}

.case-solution-card__check {
  width: clamp(30px, 3.6vw, 38px);
  height: clamp(30px, 3.6vw, 38px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-left: calc(clamp(30px, 3.6vw, 38px) * -0.55);
  border-radius: 50%;
  background: #DDF2FF;
  color: var(--blue);
}

.case-solution-card__check svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-solution-card__logo {
  justify-self: end;
  width: clamp(82px, 13.5vw, 132px);
  height: auto;
  max-width: none;
}

.case-study--has-rollover:hover .case-solution-card,
.case-study--has-rollover:focus-within .case-solution-card,
.case-study--has-rollover:active .case-solution-card,
.case-study__media:active .case-solution-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 680px) {
  .case-study__media--nautalia {
    aspect-ratio: 1 / .8;
  }

  .case-solution-card {
    width: auto;
    min-width: 0;
    height: auto;
    display: inline-flex;
    gap: 0;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .case-solution-card--multi {
    left: 6%;
  }

  .case-solution-card--jarvis {
    right: 6%;
  }

  .case-solution-card--view {
    left: 6%;
  }

  .case-study__media--nautalia .case-solution-card--view {
    top: auto;
    bottom: 6%;
  }

  .case-solution-card__powered {
    display: none;
  }

  .case-solution-card__logo {
    width: clamp(76px, 25vw, 106px);
  }
}

@keyframes caseLatencyHalo {
  0%, 100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
    opacity: 0.94;
  }
  50% {
    transform: translate(-50%, -50%) translate3d(0, -8px, 0) scale(1.018);
    opacity: 1;
  }
}

@keyframes caseObjectLatency {
  0%, 100% {
    transform: translateX(-50%) translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translateX(-50%) translate3d(0, -8px, 0) scale(1.012);
  }
}

.case-study__body {
  margin-top: clamp(24px, 3vw, 34px);
  max-width: 48ch;
}

.case-study__copy {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.36;
  color: var(--ink-soft);
}

.case-study__btn {
  min-width: 148px;
  justify-content: space-between;
  margin-top: 34px;
}

@media (max-width: 900px) {
  .case-studies__grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .case-study__body {
    max-width: 56ch;
  }
}

@media (max-width: 680px) {
  .case-studies {
    padding-bottom: 34px;
  }

  .case-studies.wrap {
    padding-left: clamp(24px, 7vw, 34px);
    padding-right: clamp(24px, 7vw, 34px);
  }

  .case-studies__header {
    text-align: center;
  }

  .case-study__body {
    margin-top: 22px;
  }

  .case-study__copy {
    font-size: 18px;
  }
}

/* ============ Soluciones ============ */
.sol__intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 900px) { .sol__intro { grid-template-columns: 1fr; gap: 30px; } }

@media (max-width: 680px) {
  .sol__intro {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-items: center;
  }

  .sol__intro .lede {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }
}

.sol-video-feature {
  --sol-video-media-w: clamp(300px, 26vw, 430px);
  --sol-video-media-h: calc(var(--sol-video-media-w) * 1.25);
  height: var(--sol-video-media-h);
  min-height: var(--sol-video-media-h);
  margin: -30px 0 40px;
  padding: 0 clamp(28px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  position: relative;
  background: #1d676c;
  color: var(--bg);
  isolation: isolate;
}

.sol-video-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 74% 34%, rgba(29, 219, 183, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(10, 18, 32, 0.06), transparent 52%);
  pointer-events: none;
}

.sol-video-feature__copy {
  align-self: center;
  max-width: 760px;
}

.sol-video-feature__copy h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(58px, 6.5vw, 98px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.sol-video-feature__copy h3 span {
  display: block;
  white-space: nowrap;
}

.sol-video-feature__copy p {
  margin: clamp(22px, 3vw, 34px) 0 0;
  max-width: 58ch;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.36;
  color: rgba(251, 250, 247, 0.86);
}

.sol-video-feature__media {
  --sol-video-tilt-rx: 0deg;
  --sol-video-tilt-ry: 0deg;
  --sol-video-tilt-x: 0px;
  --sol-video-tilt-y: 0px;
  justify-self: end;
  width: calc(var(--sol-video-media-h) / 1.25);
  height: 100%;
  aspect-ratio: 1080 / 1350;
  position: relative;
  overflow: hidden;
  background: transparent;
  perspective: 1100px;
}

.sol-video-feature__poster,
.sol-video-feature__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sol-video-feature__poster {
  z-index: 2;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity .32s ease;
}

.sol-video-feature__poster > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 24%;
  transform:
    translate3d(var(--sol-video-tilt-x), var(--sol-video-tilt-y), 0)
    rotateX(var(--sol-video-tilt-rx))
    rotateY(var(--sol-video-tilt-ry))
    scale(1.018);
  transform-style: preserve-3d;
  transition: filter .28s ease;
  will-change: transform;
}

.sol-video-feature__play {
  position: absolute;
  left: 50%;
  top: 53%;
  width: clamp(54px, 5vw, 78px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--sol-video-tilt-x) * -0.55), calc(var(--sol-video-tilt-y) * -0.45), 0)
    rotateX(calc(var(--sol-video-tilt-rx) * -0.65))
    rotateY(calc(var(--sol-video-tilt-ry) * -0.65));
  filter: drop-shadow(0 18px 34px rgba(10, 18, 32, 0.18));
  transition: transform .42s cubic-bezier(.2,.85,.25,1), filter .32s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.sol-video-feature__play img {
  width: 100%;
  height: 100%;
  display: block;
}

.sol-video-feature__poster:hover .sol-video-feature__play {
  transform:
    translate(-50%, -50%)
    translate3d(calc(var(--sol-video-tilt-x) * -0.55), calc(var(--sol-video-tilt-y) * -0.45), 0)
    rotateX(calc(var(--sol-video-tilt-rx) * -0.65))
    rotateY(calc(var(--sol-video-tilt-ry) * -0.65))
    scale(1.06);
  filter: drop-shadow(0 22px 42px rgba(10, 18, 32, 0.22));
}

.sol-video-feature__player {
  z-index: 1;
  display: block;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  background: #0a1220;
  transition: opacity .28s ease;
}

.sol-video-feature.is-playing .sol-video-feature__poster {
  opacity: 0;
  pointer-events: none;
}

.sol-video-feature.is-playing .sol-video-feature__player {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .sol-video-feature {
    --sol-video-media-w: min(100%, 390px);
    height: auto;
    min-height: var(--sol-video-media-h);
    grid-template-columns: 1fr;
    margin-top: -18px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .sol-video-feature__media {
    justify-self: center;
    height: auto;
    width: var(--sol-video-media-w);
  }
}

@media (max-width: 680px) {
  .sol-video-feature {
    --sol-video-media-w: min(100%, 320px);
    margin-left: calc(clamp(24px, 7vw, 34px) * -1);
    margin-right: calc(clamp(24px, 7vw, 34px) * -1);
    padding: 44px clamp(24px, 7vw, 34px);
    text-align: center;
  }

  .sol-video-feature__copy {
    justify-self: center;
  }

  .sol-video-feature__copy h3 {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(52px, 15vw, 72px);
  }

  .sol-video-feature__copy p {
    max-width: 31ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
  }

  .sol-video-feature__media {
    width: var(--sol-video-media-w);
  }
}

.sol__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 900px) { .sol__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .sol__grid { grid-template-columns: 1fr; } }

.sol__card {
  background: var(--bg);
  padding: 40px 34px 34px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background .5s;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.sol__card-bg {
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform .7s cubic-bezier(.2,.85,.25,1);
  z-index: -1;
}
.sol__card:hover .sol__card-bg { transform: translateY(0); }
.sol__card:hover { color: var(--bg); }
.sol__card:hover .sol__card-num { color: var(--blue-glow); }
.sol__card:hover .sol__card-desc { color: rgba(255,255,255,0.65); }
.sol__card:hover .sol__card-link { color: var(--bg); }
.sol__card:hover .sol__card-link svg { transform: translate(4px, -4px); }

.sol__card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 60px;
}
.sol__card-num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-mute);
  transition: color .4s;
}
.sol__card-icon {
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0.85;
  transition: transform .5s cubic-bezier(.2,.85,.25,1);
}
.sol__card:hover .sol__card-icon { transform: rotate(-12deg) scale(1.1); }

.sol__card-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.sol__card-copy {
  position: relative;
}
.sol__card-title-row {
  position: relative;
  min-height: 60px;
  margin-bottom: 14px;
}
.sol__card-title-row .sol__card-title {
  margin-bottom: 0;
  transition: transform .55s cubic-bezier(.2,.85,.25,1);
}
.sol__product-mark {
  position: absolute;
  left: 0;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-10px, -50%) scale(.84);
  transform-origin: left center;
  transition:
    opacity .35s ease,
    transform .55s cubic-bezier(.2,.85,.25,1);
  box-shadow: 0 18px 38px rgba(0,0,0,0.16);
}
.sol__product-mark img {
  width: auto;
  max-width: none;
  height: 100%;
}
.sol__card:hover .sol__product-mark,
.sol__card:focus-visible .sol__product-mark {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}
.sol__card:hover .sol__card-copy--brand .sol__card-title,
.sol__card:focus-visible .sol__card-copy--brand .sol__card-title {
  transform: translateX(58px);
}
.sol__card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  transition: color .4s;
  max-width: 34ch;
}
.sol__card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 28px;
  color: var(--ink);
  transition: color .4s;
}
.sol__card-link svg { transition: transform .4s; }

.sol__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.sol__toggle {
  min-width: 160px;
  justify-content: center;
}

.sol__card[hidden] {
  display: none;
}

/* ============ Soluciones index ============ */
.solutions-page {
  background: var(--bg);
}

.solutions-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(106px, 10vw, 138px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.solutions-bulb-trail {
  position: absolute;
  inset: 0 32px;
  z-index: 3;
  overflow: hidden;
  border-radius: 8px;
  pointer-events: none;
  perspective: 900px;
}

.solutions-hero > :not(.solutions-bulb-trail) {
  position: relative;
  z-index: 2;
}

.solutions-bulb-particle {
  position: absolute;
  left: var(--bulb-x, 50%);
  top: var(--bulb-y, 50%);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(var(--scale, 1));
  animation: solutionsBulbBurst var(--dur, 1300ms) cubic-bezier(.18, .88, .2, 1.08) forwards;
  will-change: transform, opacity;
}

.solutions-bulb-particle img {
  width: var(--size, 42px);
  height: var(--size, 42px);
  display: block;
  object-fit: contain;
  transform: rotate(var(--rot, 0deg));
  animation: solutionsBulbSpin var(--dur, 1300ms) cubic-bezier(.18, .88, .2, 1) forwards;
  filter: drop-shadow(0 14px 20px rgba(10, 96, 106, .18)) drop-shadow(0 2px 5px rgba(88, 205, 155, .16));
}

.solutions-hero__crumbs {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.solutions-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: end;
}

.solutions-hero__title {
  margin-top: 20px;
  max-width: 10ch;
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.026em;
}

.solutions-hero__title em {
  color: var(--brand);
}

.solutions-hero__copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.solutions-hero__copy .lede {
  max-width: 44ch;
}

.solutions-index {
  padding-top: 0;
  padding-bottom: clamp(96px, 11vw, 150px);
}

.solutions-ticker {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border-block: 1px solid var(--line);
  padding: 14px 0 12px;
  mask-image: linear-gradient(to right, transparent 0, black 7%, black 93%, transparent 100%);
}

.solutions-ticker__track {
  display: flex;
  width: max-content;
  animation: solutionsTicker 22s linear infinite;
  will-change: transform;
}

.solutions-ticker__row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 30px);
  padding-right: clamp(20px, 2.2vw, 30px);
}

.solutions-ticker__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(18px, 1.9vw, 24px);
  flex: 0 0 auto;
}

.solutions-ticker__item img {
  height: 100%;
  width: auto;
  max-width: none;
  filter: saturate(0.84) contrast(1.02);
  opacity: 0.92;
}




@keyframes solutionsTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

@keyframes solutionsBulbBurst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(calc(var(--scale, 1) * 0.72));
  }
  12% {
    opacity: 0.96;
  }
  74% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx, 0), var(--dy, -120px), 0) scale(calc(var(--scale, 1) * 1.08));
  }
}

@keyframes solutionsBulbSpin {
  0% {
    transform: rotate(var(--rot, 0deg));
  }
  100% {
    transform: rotate(calc(var(--rot, 0deg) + var(--spin, 180deg)));
  }
}

.solutions-index__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.solutions-index__count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.solutions-index .sol__grid {
  box-shadow: 0 28px 80px rgba(10, 18, 32, 0.06);
}

.solutions-index .sol__card {
  min-height: clamp(282px, 24vw, 334px);
}

.solutions-orbit {
  margin-top: clamp(38px, 6vw, 70px);
  margin-bottom: clamp(34px, 5vw, 56px);
}

.solutions-orbit__head {
  margin-bottom: 18px;
}

.solutions-orbit__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(171, 219, 214, 0.24), transparent 35%),
    radial-gradient(circle at 82% 75%, rgba(164, 210, 205, 0.2), transparent 32%),
    linear-gradient(180deg, #e8f1f2 0%, #e2ebec 100%);
  isolation: isolate;
}

.solutions-orbit__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(29, 103, 108, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 103, 108, 0.11) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.28;
  mask-image: radial-gradient(ellipse 78% 92% at 50% 50%, #000 44%, rgba(0,0,0,0.42) 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 78% 92% at 50% 50%, #000 44%, rgba(0,0,0,0.42) 68%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.solutions-orbit__track {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}

.solutions-orbit__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: auto;
}

.solutions-orbit__scene.is-text-in .solutions-orbit__center {
  opacity: 1;
}

.solutions-orbit__title {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.86;
  font-family: var(--f-display);
  color: #0b1316;
  font-size: clamp(34px, 7.2vw, 108px);
  transition: transform 260ms ease;
}

.solutions-orbit__title > span {
  color: var(--brand);
  font-style: italic;
}

.solutions-orbit__logo {
  width: clamp(84px, 10vw, 140px);
  margin: 10px auto 0;
  display: block;
  opacity: 0.95;
  transition: transform 260ms ease, filter 260ms ease;
  transform-origin: center;
}

.solutions-orbit__logo:hover {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.solutions-orbit__center:has(.solutions-orbit__logo:hover) .solutions-orbit__title {
  transform: scale(0.97);
}

.solutions-orbit__card {
  --card-w: clamp(128px, 12vw, 198px);
  --card-h: clamp(86px, 8vw, 126px);
  position: absolute;
  width: var(--card-w);
  height: var(--card-h);
  left: 50%;
  top: 50%;
  margin-left: calc(var(--card-w) * -0.5);
  margin-top: calc(var(--card-h) * -0.5);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition:
    transform 900ms cubic-bezier(.22,.94,.3,1),
    opacity 400ms ease;
  opacity: 0;
  pointer-events: auto;
}

.solutions-orbit__card.is-visible {
  opacity: 1;
}

.solutions-orbit__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  transform-style: preserve-3d;
  transition: transform 780ms cubic-bezier(.34,.88,.38,1.06);
}

.solutions-orbit__face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(29, 103, 108, 0.16);
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(230, 245, 243, 0.9));
  box-shadow: 0 10px 24px rgba(7, 34, 40, 0.14);
  display: grid;
  place-items: center;
  padding: 10px;
  backface-visibility: hidden;
}

.solutions-orbit__face--back {
  transform: rotateY(180deg);
}

.solutions-orbit__card img {
  width: 84%;
  height: 66%;
  object-fit: contain;
  filter: saturate(1.04);
}

.solutions-orbit__card.is-flipped .solutions-orbit__card-inner {
  transform: rotateY(180deg);
}

@media (max-width: 900px) {
  .solutions-hero__layout {
    grid-template-columns: 1fr;
  }

  .solutions-hero__copy {
    max-width: 620px;
  }

  .solutions-orbit__scene {
    aspect-ratio: 4 / 5;
  }

  .solutions-orbit__title {
    font-size: clamp(32px, 9.2vw, 62px);
  }

  .solutions-orbit__card {
    --card-w: clamp(110px, 25vw, 160px);
    --card-h: clamp(74px, 16vw, 104px);
  }
}

@media (max-width: 680px) {
  .solutions-hero {
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .solutions-bulb-trail {
    inset: 0 24px;
  }

  .solutions-hero__title {
    max-width: 8.5ch;
    font-size: clamp(46px, 14vw, 64px);
  }

  .solutions-hero__copy {
    gap: 22px;
  }

  .solutions-index__head {
    display: grid;
    justify-items: start;
  }

  .solutions-ticker {
    margin-bottom: 18px;
    padding: 10px 0 9px;
  }

  .solutions-ticker__item {
    height: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .solutions-ticker__track,
  .solutions-bulb-particle,
  .solutions-bulb-particle img,
  .solutions-orbit__card,
  .solutions-orbit__card-inner,
  .solutions-orbit__center {
    animation: none;
  }

  .solutions-bulb-trail {
    display: none;
  }
}

/* ============ Values / pillars ============ */
.pillars__intro {
  margin-bottom: 80px;
}

.pillars__intro .h2 {
  margin-top: 30px;
  max-width: 18ch;
}

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

@media (max-width: 680px) {
  .pillars__intro {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .pillars__intro .h2 {
    max-width: 11ch;
    margin-left: auto;
    margin-right: auto;
  }

  .pillar {
    padding-left: clamp(28px, 8vw, 36px);
    padding-right: clamp(28px, 8vw, 36px);
    text-align: center;
    align-items: center;
  }

  .pillar__title,
  .pillar__copy {
    max-width: 31ch;
    margin-left: auto;
    margin-right: auto;
  }

  .pillar__viz {
    width: 100%;
  }
}
.pillar {
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  position: relative;
}
.pillar__num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.pillar__viz {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.pillar__title {
  font-family: var(--f-display);
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pillar__copy { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

/* ============ Bespoke component ============ */
.bsk {
  --bsk-dark: var(--ink);
  --bsk-ink: var(--bg);
  --bsk-soft: rgba(251,250,247,0.72);
  --bsk-mute: rgba(251,250,247,0.52);
  --bsk-line: rgba(251,250,247,0.14);
  --bsk-accent: var(--blue-glow);
  --bsk-radius: 32px;
  --bsk-pad-x: clamp(28px, 6vw, 80px);
  --bsk-pad-y: clamp(60px, 9vw, 120px);

  margin: 0 32px;
  padding: var(--bsk-pad-y) var(--bsk-pad-x);
  background: var(--bsk-dark);
  color: var(--bsk-ink);
  border-radius: var(--bsk-radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bsk *,
.bsk *::before,
.bsk *::after {
  box-sizing: border-box;
}

.bsk__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bsk-mute);
}

.bsk__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 30px 0 0;
}

.bsk__title em {
  font-style: italic;
  color: var(--bsk-accent);
}

.bsk__copy {
  color: var(--bsk-soft);
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.6;
  margin: 24px 0 32px;
}

.bsk__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: white;
  color: var(--bsk-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .35s cubic-bezier(.2,.7,.25,1), color .35s cubic-bezier(.2,.7,.25,1);
}

.bsk__btn-arrow {
  transition: transform .3s cubic-bezier(.2,.7,.25,1);
}

.bsk__btn:hover {
  background: var(--bsk-accent);
  color: var(--bsk-dark);
}

.bsk__btn:hover .bsk__btn-arrow {
  transform: translateX(4px);
}

.bsk__viz {
  aspect-ratio: 1 / 1;
  min-height: 420px;
  position: relative;
}

.bsk__viz svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bsk[data-reveal] .bsk__copy,
.bsk[data-reveal] .bsk__title,
.bsk[data-reveal] .bsk__eyebrow,
.bsk[data-reveal] .bsk__btn-wrap,
.bsk[data-reveal] .bsk__viz {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.25,1), transform .9s cubic-bezier(.2,.7,.25,1);
}

.bsk[data-reveal].in .bsk__eyebrow {
  transition-delay: 0s;
  opacity: 1;
  transform: none;
}

.bsk[data-reveal].in .bsk__title {
  transition-delay: .08s;
  opacity: 1;
  transform: none;
}

.bsk[data-reveal].in .bsk__copy {
  transition-delay: .18s;
  opacity: 1;
  transform: none;
}

.bsk[data-reveal].in .bsk__btn-wrap {
  transition-delay: .28s;
  opacity: 1;
  transform: none;
}

.bsk[data-reveal].in .bsk__viz {
  transition-delay: .15s;
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .bsk {
    grid-template-columns: 1fr;
    padding: 70px 40px;
  }
}

@media (max-width: 680px) {
  .bsk {
    margin: 0;
    border-radius: 0;
    padding: 72px clamp(24px, 7vw, 34px);
    text-align: center;
    justify-items: center;
    overflow: hidden;
  }

  .bsk__copy-col {
    max-width: 430px;
    display: grid;
    justify-items: center;
  }

  .bsk__title {
    max-width: 10ch;
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1.04;
    margin-left: auto;
    margin-right: auto;
  }

  .bsk__copy {
    max-width: 31ch;
    margin-left: auto;
    margin-right: auto;
  }

  .bsk__btn {
    justify-content: center;
    min-width: min(100%, 282px);
  }

  .bsk__viz {
    width: 100%;
    max-width: 430px;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin-top: 18px;
  }

  .bsk__viz svg {
    width: 100%;
    height: 100%;
  }
}

/* ============ Marquee ============ */
.ecosystem {
  position: relative;
  height: 330vh;
  margin-top: 40px;
}

.ecosystem__sticky {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  overflow: clip;
}

.ecosystem__inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  padding-top: 44px;
  padding-bottom: 44px;
}

.ecosystem__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-inline: clamp(28px, 3.8vw, 56px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.ecosystem__eyebrow-row .dash {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  max-width: 120px;
}

.ecosystem__stage {
  --ecosystem-progress: 0;
  --ecosystem-curtain-lift: 0;
  --ecosystem-curtain-fade: 1;
  --ecosystem-grid-visibility: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
}

.ecosystem__stage::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  background:
    linear-gradient(rgba(10, 18, 32, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 18, 32, 0.06) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: calc(0.08 + (var(--ecosystem-progress) * 0.08));
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  pointer-events: none;
}

.ecosystem__curtain {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: stretch;
  z-index: 4;
  pointer-events: none;
  transform: translateY(calc(var(--ecosystem-curtain-lift) * -128%));
  opacity: var(--ecosystem-curtain-fade);
  will-change: transform, opacity;
}

.ecosystem__curtain img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: 50% 62%;
}

.ecosystem__curtain-copy {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 40px;
  text-align: center;
  pointer-events: auto;
}

.ecosystem__curtain-logo {
  width: 70px !important;
  height: 70px !important;
  max-width: 70px;
  min-width: 70px;
  flex: 0 0 70px;
  display: block;
  object-fit: contain;
}

.ecosystem__curtain-text {
  font-family: "Instrument Serif", "Times New Roman", serif !important;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(42px, 4.5vw, 64.8px);
  line-height: 63.5px;
  letter-spacing: -1.94px;
  color: var(--ink);
  margin: 0;
  max-width: none;
  white-space: nowrap;
  transition: letter-spacing .28s ease, word-spacing .28s ease, transform .28s ease;
}

.ecosystem__curtain-text em {
  font-family: "Instrument Serif", "Times New Roman", serif !important;
  font-style: italic;
  font-weight: 400;
  color: #1d676c;
}

.ecosystem__grid {
  position: absolute;
  inset: 3% 5% 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  justify-items: center;
  pointer-events: none;
  opacity: var(--ecosystem-grid-visibility);
  transition: opacity .5s ease;
}

.ecosystem__card {
  width: min(14vw, 190px);
  aspect-ratio: 1;
  background: transparent;
  border: 0;
  overflow: visible;
  --ecosystem-latency-x: 0px;
  --ecosystem-latency-y: -8px;
  --ecosystem-latency-r: .8deg;
  --ecosystem-latency-duration: 7.2s;
  transform:
    translate3d(
      calc(var(--x-start, 0px) + (var(--x-end, 0px) - var(--x-start, 0px)) * var(--ecosystem-local-progress, var(--ecosystem-progress))),
      calc(var(--y-start, 0px) + (var(--y-end, 0px) - var(--y-start, 0px)) * var(--ecosystem-local-progress, var(--ecosystem-progress))),
      0
    )
    scale(calc(var(--scale-start, 0.72) + (var(--scale-end, 1) - var(--scale-start, 0.72)) * var(--ecosystem-local-progress, var(--ecosystem-progress))))
    rotate(calc(var(--rotate-start, 0deg) + (var(--rotate-end, 0deg) - var(--rotate-start, 0deg)) * var(--ecosystem-local-progress, var(--ecosystem-progress))));
  opacity: calc(var(--opacity-start, 0) + (var(--opacity-end, 1) - var(--opacity-start, 0)) * var(--ecosystem-local-progress, var(--ecosystem-progress)));
  filter:
    saturate(calc(0.84 + (var(--ecosystem-local-progress, var(--ecosystem-progress)) * 0.26)))
    blur(calc((1 - var(--ecosystem-local-progress, var(--ecosystem-progress))) * 10px));
  will-change: transform, opacity, filter;
}

.ecosystem__card-shell {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eef1f4;
  border: 1px solid rgba(10, 18, 32, 0.06);
  box-shadow: 0 18px 40px rgba(10, 18, 32, 0.06);
  transform-origin: center;
  animation: ecosystemCardLatency var(--ecosystem-latency-duration) ease-in-out infinite;
  animation-delay: var(--ecosystem-latency-delay, 0s);
  will-change: transform;
}

.ecosystem__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ecosystem__card--1 { grid-column: 1; grid-row: 1; --x-start: -260px; --y-start: 210px; --x-end: -34px; --y-end: -4px; --scale-start: 0.18; --scale-end: 0.98; --opacity-start: 0; --opacity-end: 1; --rotate-start: -18deg; --rotate-end: -2deg; --ecosystem-local-progress: var(--ecosystem-card-1); }
.ecosystem__card--2 { grid-column: 2; grid-row: 1; --x-start: 0px; --y-start: 260px; --x-end: 0px; --y-end: -16px; --scale-start: 0.14; --scale-end: 0.92; --opacity-start: 0; --opacity-end: 1; --rotate-start: 0deg; --rotate-end: 0deg; --ecosystem-local-progress: var(--ecosystem-card-2); }
.ecosystem__card--3 { grid-column: 3; grid-row: 1; --x-start: 260px; --y-start: 210px; --x-end: 34px; --y-end: -2px; --scale-start: 0.18; --scale-end: 0.98; --opacity-start: 0; --opacity-end: 1; --rotate-start: 18deg; --rotate-end: 2deg; --ecosystem-local-progress: var(--ecosystem-card-3); }
.ecosystem__card--4 { grid-column: 1; grid-row: 3; --x-start: -240px; --y-start: -180px; --x-end: -32px; --y-end: 8px; --scale-start: 0.16; --scale-end: 0.95; --opacity-start: 0; --opacity-end: 1; --rotate-start: 16deg; --rotate-end: 2deg; --ecosystem-local-progress: var(--ecosystem-card-4); }
.ecosystem__card--5 { grid-column: 2; grid-row: 3; --x-start: 0px; --y-start: -240px; --x-end: 0px; --y-end: 4px; --scale-start: 0.12; --scale-end: 0.88; --opacity-start: 0; --opacity-end: 1; --rotate-start: 0deg; --rotate-end: 0deg; --ecosystem-local-progress: var(--ecosystem-card-5); }
.ecosystem__card--6 { grid-column: 3; grid-row: 3; --x-start: 240px; --y-start: -180px; --x-end: 32px; --y-end: 8px; --scale-start: 0.16; --scale-end: 0.95; --opacity-start: 0; --opacity-end: 1; --rotate-start: -16deg; --rotate-end: -2deg; --ecosystem-local-progress: var(--ecosystem-card-6); }

.ecosystem__card--1 { --ecosystem-latency-x: 5px; --ecosystem-latency-y: -9px; --ecosystem-latency-r: .9deg; --ecosystem-latency-duration: 7.8s; --ecosystem-latency-delay: -.6s; }
.ecosystem__card--2 { --ecosystem-latency-x: -3px; --ecosystem-latency-y: -7px; --ecosystem-latency-r: -.6deg; --ecosystem-latency-duration: 8.6s; --ecosystem-latency-delay: -2.1s; }
.ecosystem__card--3 { --ecosystem-latency-x: -5px; --ecosystem-latency-y: -8px; --ecosystem-latency-r: -.9deg; --ecosystem-latency-duration: 7.4s; --ecosystem-latency-delay: -1.2s; }
.ecosystem__card--4 { --ecosystem-latency-x: 4px; --ecosystem-latency-y: 7px; --ecosystem-latency-r: -.7deg; --ecosystem-latency-duration: 8.2s; --ecosystem-latency-delay: -3.4s; }
.ecosystem__card--5 { --ecosystem-latency-x: -2px; --ecosystem-latency-y: 8px; --ecosystem-latency-r: .5deg; --ecosystem-latency-duration: 9s; --ecosystem-latency-delay: -1.8s; }
.ecosystem__card--6 { --ecosystem-latency-x: -4px; --ecosystem-latency-y: 7px; --ecosystem-latency-r: .8deg; --ecosystem-latency-duration: 7.6s; --ecosystem-latency-delay: -2.8s; }

@keyframes ecosystemCardLatency {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(var(--ecosystem-latency-x), var(--ecosystem-latency-y), 0) rotate(var(--ecosystem-latency-r));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem__card-shell {
    animation: none !important;
  }
}

.ecosystem__copy {
  position: relative;
  width: min(460px, 42vw);
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
}

.ecosystem__copy-step {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
}

.ecosystem__copy-step.active {
  opacity: 1;
  transform: none;
}

.ecosystem__micro {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-ink);
  transition: letter-spacing .28s ease, word-spacing .28s ease, transform .28s ease;
}

.ecosystem__title {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 11ch;
  transition: letter-spacing .32s ease, word-spacing .32s ease, transform .32s ease;
}

.ecosystem__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
  transition: letter-spacing .28s ease, word-spacing .28s ease, transform .28s ease;
}

.ecosystem__eyebrow-row span,
.ecosystem__curtain-text,
.ecosystem__title,
.ecosystem__micro,
.ecosystem__text {
  will-change: letter-spacing, word-spacing, transform;
}

.ecosystem__eyebrow-row span:not(.dash):hover,
.ecosystem__curtain-text:hover,
.ecosystem__title:hover,
.ecosystem__micro:hover,
.ecosystem__text:hover {
  word-spacing: 0.06em;
  transform: translateX(2px);
}

.ecosystem__eyebrow-row span:not(.dash):hover,
.ecosystem__curtain-text:hover,
.ecosystem__text:hover {
  letter-spacing: 0.03em;
}

.ecosystem__title:hover {
  letter-spacing: 0;
  word-spacing: 0.08em;
  transform: translateX(2px) scale(1.008);
}

.ecosystem__micro:hover {
  letter-spacing: 0.22em;
  transform: translateX(2px) translateY(50px);
}

.ecosystem__copy-step--intro .ecosystem__title,
.ecosystem__copy-step--flow .ecosystem__title {
  font-size: clamp(32px, 3.4vw, 48px);
  max-width: 12ch;
}

.ecosystem__copy-step--final .ecosystem__title {
  max-width: 16ch;
}

.ecosystem__copy-step--final {
  gap: 4px;
}

.ecosystem__copy-step--final .ecosystem__micro {
  margin-bottom: -8px;
  transform: translateY(50px);
}

.ecosystem__copy-step--final .ecosystem__text {
  margin-top: -8px;
  transform: translateY(-30px);
}

@media (max-width: 980px) {
  .ecosystem {
    height: 300vh;
  }

  .ecosystem__sticky {
    top: 74px;
    height: calc(100vh - 74px);
  }

  .ecosystem__grid {
    inset: 8% 0 0;
    gap: 20px;
  }

  .ecosystem__card {
    width: min(20vw, 160px);
  }

  .ecosystem__copy {
    width: min(420px, 58vw);
  }

  .ecosystem__curtain-copy {
    top: 42%;
    gap: 7px;
  }

  .ecosystem__curtain-logo {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px;
  }
}

@media (max-width: 680px) {
  .ecosystem {
    height: 260vh;
  }

  .ecosystem__inner {
    padding-top: 28px;
  }

  .ecosystem__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    inset: 18% 0 0;
  }

  .ecosystem__card--1 { grid-column: 1; grid-row: 1; }
  .ecosystem__card--2 { grid-column: 2; grid-row: 1; }
  .ecosystem__card--3 { grid-column: 1; grid-row: 2; }
  .ecosystem__card--4 { grid-column: 2; grid-row: 2; }
  .ecosystem__card--5 { grid-column: 1; grid-row: 3; }
  .ecosystem__card--6 { grid-column: 2; grid-row: 3; }

  .ecosystem__card {
    width: min(32vw, 150px);
  }

  .ecosystem__copy {
    width: min(300px, 80vw);
    min-height: 220px;
  }

  .ecosystem__title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .ecosystem__text {
    font-size: 14px;
  }

  .ecosystem__curtain-copy {
    top: 38%;
    gap: 6px;
    width: min(100% - 48px, 340px);
  }

  .ecosystem__curtain-logo {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px;
  }

  .ecosystem__curtain-text {
    max-width: 10ch;
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(42px, 14vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.03em;
  }
}

.marquee {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: clip;
  position: relative;
}
.marquee__label {
  text-align: center; margin-bottom: 40px;
}
.marquee__track {
  display: flex; gap: 80px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  white-space: nowrap;
  opacity: 0.42;
  transition: opacity .3s ease, transform .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 54px;
  gap: 80px;
}
.marquee__item img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 150px;
}
.marquee__item:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}
.marquee__item::after {
  content: "✦"; color: var(--blue); font-size: 14px; font-family: var(--f-sans);
  opacity: 0.5;
}

/* ============ Split showcase ============ */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase--reverse .showcase__viz { order: -1; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase--reverse .showcase__viz { order: 0; }
}

@media (max-width: 680px) {
  .showcase {
    gap: 34px;
    margin-bottom: 108px;
  }

  .more-showcases {
    padding-bottom: 54px;
  }

  .more-showcases + .cta {
    padding-top: 72px;
  }

  .showcase > .showcase__copy {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .showcase > .showcase__copy > .showcase__copy {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase__title {
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase__tag {
    justify-content: center;
  }
}
.showcase__tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-ink); margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.showcase__tag::before { content: "→"; }
.showcase__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.showcase__copy {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.55; margin-bottom: 32px; max-width: 46ch;
}
.showcase__viz {
  aspect-ratio: 5/4;
  border-radius: var(--radius);
  background: var(--bg-2);
  position: relative; overflow: hidden;
}

/* ============ Counter band ============ */
.home-counter-band {
  padding: 0 32px 82px;
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.counter-photo-cloud {
  position: absolute;
  inset: 0 32px 0 32px;
  z-index: 4;
  pointer-events: none;
}

.counter-photo {
  position: absolute;
  top: var(--counter-photo-y);
  left: var(--counter-photo-x);
  width: clamp(112px, 11vw, 150px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--counter-photo-start-x), 14px, 0) rotate(calc(var(--counter-photo-rotate) - 6deg)) scale(0.92);
  transform-origin: center;
  transition:
    opacity .8s ease,
    transform 1.15s cubic-bezier(.16, 1, .3, 1);
  transition-delay: 0s;
  will-change: transform, opacity;
}

.counter-photo--from-left {
  --counter-photo-start-x: -100vw;
}

.counter-photo--from-right {
  --counter-photo-start-x: 100vw;
}

.counter-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 22px rgba(10, 18, 32, 0.18));
  transform: translate3d(0, 0, 0);
  transition: transform .34s cubic-bezier(.2,.85,.25,1), filter .34s ease;
}

.counter-photo:hover img {
  filter: drop-shadow(0 24px 28px rgba(10, 18, 32, 0.2));
  transform: translate3d(0, -10px, 0) rotate(var(--counter-photo-hover-rotate, 2deg)) scale(1.04);
}

.counter-photo--1 {
  --counter-photo-x: 0%;
  --counter-photo-y: -58px;
  --counter-photo-rotate: -17deg;
  --counter-photo-hover-rotate: -2deg;
  --counter-photo-delay: .02s;
}

.counter-photo--2 {
  --counter-photo-x: 15%;
  --counter-photo-y: -66px;
  --counter-photo-rotate: -7deg;
  --counter-photo-hover-rotate: 2deg;
  --counter-photo-delay: .08s;
}

.counter-photo--3 {
  --counter-photo-x: 31%;
  --counter-photo-y: -146px;
  --counter-photo-rotate: -12deg;
  --counter-photo-hover-rotate: -2deg;
  --counter-photo-delay: .14s;
}

.counter-photo--4 {
  --counter-photo-x: 37%;
  --counter-photo-y: -62px;
  --counter-photo-rotate: 12deg;
  --counter-photo-hover-rotate: 2deg;
  --counter-photo-delay: .2s;
}

.counter-photo--5 {
  --counter-photo-x: 52%;
  --counter-photo-y: -58px;
  --counter-photo-rotate: 10deg;
  --counter-photo-hover-rotate: -2deg;
  --counter-photo-delay: .26s;
}

.counter-photo--6 {
  --counter-photo-x: 14%;
  --counter-photo-y: 82px;
  --counter-photo-rotate: -8deg;
  --counter-photo-hover-rotate: 2deg;
  --counter-photo-delay: .18s;
}

.counter-photo--7 {
  --counter-photo-x: 34%;
  --counter-photo-y: 142px;
  --counter-photo-rotate: -18deg;
  --counter-photo-hover-rotate: -2deg;
  --counter-photo-delay: .3s;
}

.counter-photo--8 {
  --counter-photo-x: 63%;
  --counter-photo-y: -128px;
  --counter-photo-rotate: -8deg;
  --counter-photo-hover-rotate: 2deg;
  --counter-photo-delay: .34s;
}

.counter-photo--9 {
  --counter-photo-x: 69%;
  --counter-photo-y: 86px;
  --counter-photo-rotate: 9deg;
  --counter-photo-hover-rotate: -2deg;
  --counter-photo-delay: .4s;
}

.home-counter-band:hover .counter-photo,
.home-counter-band:focus-within .counter-photo {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) rotate(var(--counter-photo-rotate)) scale(1);
  transition-delay: var(--counter-photo-delay);
}

.home-counter-band:hover .counter-photo img,
.home-counter-band:focus-within .counter-photo img {
  animation: counterPhotoLatency 6.8s ease-in-out infinite;
  animation-delay: calc(var(--counter-photo-delay) + .28s);
}

.home-counter-band:hover .counter-photo--2 img,
.home-counter-band:focus-within .counter-photo--2 img,
.home-counter-band:hover .counter-photo--5 img,
.home-counter-band:focus-within .counter-photo--5 img {
  animation-duration: 7.6s;
}

.home-counter-band:hover .counter-photo--3 img,
.home-counter-band:focus-within .counter-photo--3 img,
.home-counter-band:hover .counter-photo--7 img,
.home-counter-band:focus-within .counter-photo--7 img,
.home-counter-band:hover .counter-photo--9 img,
.home-counter-band:focus-within .counter-photo--9 img {
  animation-duration: 6.2s;
}

.home-counter-band:hover .counter-photo--8 img,
.home-counter-band:focus-within .counter-photo--8 img {
  animation-duration: 7.2s;
}

.counter-photo:hover img {
  animation: none;
}

@keyframes counterPhotoLatency {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -7px, 0) rotate(var(--counter-photo-latency-rotate, 1.5deg));
  }
}

.counters {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.counter {
  padding: clamp(44px, 5vw, 60px) clamp(18px, 2.2vw, 30px);
  border-right: 1px solid var(--line);
  position: relative;
  min-width: 0;
}
.counter:last-child { border-right: none; }
.counter__num {
  font-family: var(--f-display);
  font-size: clamp(48px, 5.2vw, 88px);
  line-height: 0.95; letter-spacing: -0.03em;
  color: var(--ink);
}
.counter__num .unit { color: var(--blue); font-size: 0.6em; }
.counter__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-top: 16px;
}

@media (max-width: 980px) {
  .counter-photo-cloud {
    display: none;
  }

  .counters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .counter:nth-child(3) {
    border-right: none;
  }

  .counter:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 780px) {
  .home-counter-band {
    padding-bottom: 64px;
  }

  .counter-photo-cloud {
    display: none;
  }

  .counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counter,
  .counter:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .counter:nth-child(even),
  .counter:last-child {
    border-right: none;
  }

  .counter:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .counter:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .home-counter-band {
    padding-left: clamp(24px, 7vw, 34px);
    padding-right: clamp(24px, 7vw, 34px);
  }

  .counters {
    grid-template-columns: 1fr;
  }

  .counter,
  .counter:nth-child(3) {
    border-right: none;
  }

  .counter:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .counter:last-child {
    grid-column: auto;
  }
}

/* ============ CTA ============ */
.cta {
  text-align: center;
  padding: 180px 0;
}
.more-showcases + .cta {
  padding-top: 96px;
}
.cta__title {
  font-family: var(--f-display);
  font-size: clamp(54px, 9vw, 150px);
  line-height: 0.95; letter-spacing: -0.035em;
}
.cta__title em { color: var(--brand); font-style: italic; }
.cta__sub {
  max-width: 46ch; margin: 30px auto 40px;
  color: var(--ink-soft);
}

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0 40px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer__logo svg { height: 44px; width: auto; display: block; }
.footer__logo img { height: 44px; width: auto; display: block; }
.footer__logo-img { filter: none; }
.footer__logo .logo-mark { fill: #fbfaf7; }
.footer__logo .logo-accent { fill: var(--accent); }
.footer__social-link {
  width: fit-content;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  transition: color .2s, transform .2s;
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer__social-link:hover {
  color: var(--blue-glow);
  transform: translateY(-1px);
}
.nav__dropdown-item.is-current,
.nav__mobile-subitem.is-current,
.nav__mobile-item.is-current,
.footer a.is-current {
  color: var(--blue-glow);
}
.footer__col-title {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.footer__col-title--certifications {
  margin-top: 24px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a,
.footer__link-button {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color .2s;
  text-align: left;
}
.footer__col a:hover,
.footer__link-button:hover { color: var(--blue-glow); }
.footer__certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__certification-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 6px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1;
  color: rgba(255,255,255,0.68);
}
.footer__certification-link:hover {
  border-color: rgba(90,202,255,0.55);
}
.footer__bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

/* ============ Cookie consent ============ */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2vw, 24px);
  z-index: 9000;
  width: min(920px, calc(100vw - 28px));
  transform: translateX(-50%);
  pointer-events: none;
}

.cookie-consent__surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.92);
  box-shadow: 0 22px 70px rgba(10, 18, 32, 0.14);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent__label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.cookie-consent h2,
.cookie-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cookie-consent p,
.cookie-panel p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__link {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.cookie-consent__link:hover {
  color: var(--brand-ink);
}

.cookie-consent__actions,
.cookie-panel__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__btn {
  min-width: 104px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(10, 18, 32, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.cookie-consent__btn:hover {
  border-color: rgba(29, 103, 108, 0.42);
  background: rgba(29, 103, 108, 0.08);
}

.cookie-consent__btn:focus-visible,
.cookie-panel__option:focus-within {
  outline: 2px solid rgba(29, 219, 183, 0.6);
  outline-offset: 3px;
}

.cookie-consent__btn--solid {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.cookie-consent__btn--solid:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 9010;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cookie-panel[hidden],
.cookie-consent[hidden] {
  display: none;
}

.cookie-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.22);
  backdrop-filter: blur(6px);
}

.cookie-panel__surface {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(10, 18, 32, 0.12);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 30px 90px rgba(10, 18, 32, 0.22);
}

.cookie-panel__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cookie-panel__options {
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.cookie-panel__option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 18, 32, 0.08);
}

.cookie-panel__option:last-child {
  border-bottom: 0;
}

.cookie-panel__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-panel__option-text {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cookie-panel__option-text strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.cookie-panel__option-text span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.42;
}

.cookie-panel__switch {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid rgba(10, 18, 32, 0.16);
  border-radius: 999px;
  background: rgba(10, 18, 32, 0.08);
  transition: background .2s ease, border-color .2s ease;
}

.cookie-panel__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(10, 18, 32, 0.18);
  transition: transform .2s ease;
}

.cookie-panel__option input:checked ~ .cookie-panel__switch {
  border-color: rgba(29, 103, 108, 0.48);
  background: var(--brand);
}

.cookie-panel__option input:checked ~ .cookie-panel__switch::after {
  transform: translateX(20px);
}

.cookie-panel__option input:disabled ~ .cookie-panel__switch {
  opacity: 0.72;
}

.cookie-panel-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .cookie-consent {
    width: calc(100vw - 20px);
    bottom: 10px;
  }

  .cookie-consent__surface {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .cookie-consent__actions,
  .cookie-panel__actions {
    justify-content: stretch;
  }

  .cookie-consent__btn {
    min-width: 0;
    flex: 1 1 104px;
  }

  .cookie-panel {
    align-items: end;
    padding: 10px;
  }

  .cookie-panel__surface {
    max-height: calc(100vh - 20px);
    padding: 20px;
  }
}

/* ============ Placeholder imagery ============ */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(10,18,32,0.035) 12px 13px),
    var(--bg-2);
  border-radius: inherit;
  overflow: hidden;
}
.ph__label {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg); padding: 6px 10px; border-radius: 4px;
  border: 1px solid var(--line);
}

/* ============ Tweaks panel ============ */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 20px 22px;
  border-radius: 18px;
  width: 280px;
  font-family: var(--f-sans);
  font-size: 13px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.tweaks.active { display: block; }
.tweaks__title {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.tweaks__row { margin-bottom: 14px; }
.tweaks__row label { display: block; margin-bottom: 6px; color: rgba(255,255,255,0.8); font-size: 12px; }
.tweaks__swatches { display: flex; gap: 8px; }
.tweaks__swatch {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s;
}
.tweaks__swatch.active { border-color: var(--bg); }
.tweaks__swatch:hover { transform: scale(1.1); }
.tweaks input[type="range"] { width: 100%; }
.tweaks__toggle {
  display: flex; gap: 6px;
}
.tweaks__toggle button {
  flex: 1;
  padding: 8px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: var(--bg); font-size: 12px;
}
.tweaks__toggle button.active { background: var(--blue); }

/* ============ Reduced animation when --anim=low ============ */
html[data-anim="low"] .reveal,
html[data-anim="low"] .line-reveal__inner { transition-duration: 0.3s !important; }
html[data-anim="low"] .marquee__track { animation-duration: 90s; }
html[data-anim="off"] .reveal { opacity: 1; transform: none; }
html[data-anim="off"] .line-reveal__inner { transform: none; }
html[data-anim="off"] .marquee__track { animation: none; }
html[data-anim="off"] .ecosystem__card-shell { animation: none; }

/* ============ Reusable Entrance Animation Block ============ */
.eaif-block {
  --eaif-gap: clamp(10px, 2vw, 20px);
  --eaif-radius: 18px;
  --eaif-overlay: var(--brand, #1D676C);
  --eaif-duration: 820ms;
  --eaif-ease: cubic-bezier(0.19, 1, 0.22, 1);
  --eaif-stagger: 120ms;
  display: grid;
  gap: var(--eaif-gap);
}

.eaif-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--eaif-radius);
  isolation: isolate;
  transform: translate3d(0, 20px, 0) scale(0.98);
  opacity: 0;
  transition:
    transform var(--eaif-duration) var(--eaif-ease),
    opacity 520ms ease;
  will-change: transform, opacity;
}

.eaif-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform calc(var(--eaif-duration) + 80ms) var(--eaif-ease);
  will-change: transform;
}

.eaif-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--eaif-overlay), rgba(0, 0, 0, 0.7));
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform var(--eaif-duration) var(--eaif-ease);
  z-index: 2;
  pointer-events: none;
}

.eaif-item[data-eaif-from="left"] {
  transform: translate3d(-30px, 20px, 0) scale(0.98);
}

.eaif-item[data-eaif-from="right"] {
  transform: translate3d(30px, 20px, 0) scale(0.98);
}

.eaif-item[data-eaif-from="up"] {
  transform: translate3d(0, -26px, 0) scale(0.98);
}

.eaif-item[data-eaif-from="zoom"] {
  transform: translate3d(0, 14px, 0) scale(0.9);
}

.eaif-item.is-in {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.eaif-item.is-in img {
  transform: scale(1);
}

.eaif-item.is-in::after {
  transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  .eaif-item,
  .eaif-item img,
  .eaif-item::after {
    transition: none !important;
  }
}
