/* Alta — Aura staging typography & buttons (1:1 tokens from published Webflow CSS) */

:root {
  /* https://aura-onda-staging.webflow.io/ — Suisse Intl + Suisse Intl Mono */
  --font-body: Suisseintl, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: Suisseintlmono, ui-monospace, monospace;
  /* Brand gradient — edit stops here sitewide */
  --grad-from: #b293e9;
  --grad-to: #3dfddf;
  --accent-gradient: linear-gradient(92deg, var(--grad-from) 0%, var(--grad-to) 100%);
  --accent-gradient-flow: linear-gradient(
    105deg,
    var(--grad-from) 0%,
    var(--grad-to) 28%,
    var(--grad-from) 52%,
    var(--grad-to) 78%,
    var(--grad-from) 100%
  );
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;
  --space-12: clamp(4rem, 14vw, 9rem);
  --radius: 4px;
  --radius-sm: 4px;
  --max-w: 76rem;
  --max-w-narrow: 40rem;
  --header-h: 4.25rem;
  /* Sticky bar total height (inner min-height + vertical padding) — hero overlaps this so transparency shows video */
  --header-stack-h: calc(var(--header-h) + var(--space-3) * 2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.55s;
  --dur-slow: 0.85s;
  /* Flowing brand gradient on hero accent + .btn--primary label / disc */
  --dur-gradient-shift: 5s;
  /* Dark UI only (single theme) */
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --bg-alt: #050505;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --shadow-card: none;
  --header-bg: rgba(0, 0, 0, 0.78);
  --accent: color-mix(in srgb, var(--grad-from) 52%, var(--grad-to));
  --accent-hover: var(--grad-to);
  --accent-ink: #07050d;
  --accent-soft: color-mix(in srgb, var(--grad-from) 26%, transparent);
  --accent-soft-dim: color-mix(in srgb, var(--grad-to) 16%, transparent);
  --focus: rgba(140, 200, 215, 0.55);
  --bg-accent-band: linear-gradient(145deg, #0c0818 0%, #061214 48%, #020202 100%);
}

@keyframes alta-gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes press-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn--primary .btn__label,
  .btn--primary .btn__circle--black,
  .hero__accent,
  .stat-block__currency,
  .stat-block__value,
  #work .card__icon-img {
    animation: none !important;
  }

  .btn--primary .btn__label,
  .btn--primary .btn__circle--black {
    background-image: var(--accent-gradient);
    background-size: 100% 100%;
    background-position: 50% 50%;
  }

  .hero__accent,
  .stat-block__currency,
  .stat-block__value,
  #work .card__icon-img {
    background-image: var(--accent-gradient);
    background-size: 100% 100%;
    background-position: 50% 50%;
  }

  .press-marquee__track {
    animation: none !important;
  }
}

/* Aura body: font-size 1vw, line-height 1.5 */
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: max(14px, 1vw);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

/* Aura-style scroll “curtain”: scroll column stacks above fixed footer; no opaque fill on #smooth-content or spacer — otherwise .after-wrapper hides the reveal */
.smooth-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  /* Entire column is above fixed footer (z-index 0); without this, the wrapper still captures clicks after children pass them through. #contact.after-wrapper stays pointer-events: none. */
  pointer-events: none;
}

.page-curtain {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 100%;
}

#smooth-content > .site-header,
#smooth-content > #main {
  pointer-events: auto;
}

/* Opaque page body; empty .after-wrapper stays transparent for fixed backdrop reveal */
#main {
  background-color: var(--bg);
  display: flow-root;
  width: 100%;
  max-width: 100%;
}

.after-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  flex-shrink: 0;
  min-height: 101vh;
  height: 101vh;
  pointer-events: none;
  background: transparent;
  box-sizing: border-box;
}

#contact.after-wrapper {
  scroll-margin-top: var(--header-h);
}

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

html.lenis body {
  height: auto;
}

/* Aura semantic headings (rem = root 16px) */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-weight: 700;
  color: inherit;
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
}

h2 {
  font-size: 3rem;
  line-height: 1.2;
}

h3 {
  font-size: 2rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

h5 {
  font-size: 0.875rem;
  line-height: 1.5;
}

h6 {
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Aura utility heading scale */
.heading-xlarge {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
}

.heading-large {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

.heading-medium {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.heading-small {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

.heading-xsmall {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 700;
}

.text-size-large {
  font-size: 1.5rem;
}

.text-size-medium {
  font-size: 1.25rem;
}

.text-size-regular {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--accent); }

a.btn {
  text-decoration: none;
}

a.btn--primary:hover,
a.btn--primary {
  color: inherit;
}

a.btn--primary-white:hover,
a.btn--primary-white {
  color: #000;
}

a.btn--secondary-aura:hover,
a.btn--secondary-aura {
  color: var(--accent);
}

a.btn--tertiary-aura:hover,
a.btn--tertiary-aura {
  color: var(--accent);
}

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

.section { position: relative; }
.section--bleed { width: 100%; }

.section__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-9));
  padding-block: clamp(4.5rem, 14vw, 9rem);
}

.section--tall {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* Sit under the sticky header so transparent header composites over video, not body fill */
  margin-top: calc(-1 * var(--header-stack-h));
  padding-top: var(--header-stack-h);
}

/* Full-bleed background video; taller than hero so parallax translate doesn’t clip edges */
.hero__video-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: -14%;
  width: 100%;
  min-width: 100%;
  height: 128%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  will-change: transform;
  box-sizing: border-box;
}

.section--hero .hero__video-layer {
  opacity: 1;
}

.reduce-motion .section--hero .hero__video-layer {
  opacity: 0 !important;
  will-change: auto;
}

.hero__video-layer .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__video--desktop {
  display: none;
}

@media (min-width: 768px) {
  .hero__video--mobile {
    display: none;
  }

  .hero__video--desktop {
    display: block;
  }
}

.hero__video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.72) 42%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* Press logos — infinite marquee (hero → Client ecosystem) */
.section--press-marquee {
  position: relative;
  border-block: 1px solid var(--border);
  padding-block: var(--space-6);
}

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

.press-marquee__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.press-marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: press-marquee-scroll 42s linear infinite;
}

.press-marquee__viewport:hover .press-marquee__track,
.press-marquee__viewport:focus-within .press-marquee__track {
  animation-play-state: paused;
}

.press-marquee__sequence {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(2rem, 6vw, 4rem);
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.press-marquee__link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
  opacity: 0.88;
  transition: opacity 0.2s var(--ease-out);
}

.press-marquee__link:hover,
.press-marquee__link:focus-visible {
  opacity: 1;
}

.press-marquee__slot {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  opacity: 0.88;
  pointer-events: auto;
  cursor: default;
}

.press-marquee__mark {
  position: relative;
  display: inline-block;
  line-height: 0;
}

/* Press SVG folders: light/ = light ink for dark UI; dark/ = dark ink for light UI.
   light/hover/ + dark/hover/ = authored hover states (black on light UI, white on dark UI). */
.press-marquee__img {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(12.5rem, 32vw);
  object-fit: contain;
  object-position: center;
}

.press-marquee__img--default {
  position: relative;
  z-index: 0;
  transition: opacity 0.2s var(--ease-out), filter 0.2s var(--ease-out);
}

.press-marquee__img--hover {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s var(--ease-out);
}

.section--press-marquee .press-marquee__img--default.press-marquee__img--on-dark-ui {
  filter: brightness(1.35) contrast(1.08);
}

.press-marquee__link:hover .press-marquee__img--default,
.press-marquee__link:focus-visible .press-marquee__img--default,
.press-marquee__slot:hover .press-marquee__img--default {
  opacity: 0;
}

.press-marquee__link:hover .press-marquee__img--hover,
.press-marquee__link:focus-visible .press-marquee__img--hover,
.press-marquee__slot:hover .press-marquee__img--hover {
  opacity: 1;
}

.press-marquee__img--on-light-ui {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .press-marquee__img--default,
  .press-marquee__img--hover {
    transition: none;
  }

  .press-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .press-marquee__track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    row-gap: var(--space-5);
    column-gap: clamp(2rem, 5vw, 3.5rem);
    padding-inline: clamp(var(--space-4), 5vw, var(--space-9));
  }

  .press-marquee__sequence[aria-hidden="true"] {
    display: none;
  }

  .press-marquee__sequence {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 0;
  }
}

/* Mobile: hero + press marquee share the first viewport (above the fold) */
@media screen and (max-width: 767px) {
  .hero-press-stack {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
  }

  .hero-press-stack .section--hero.section--tall {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: flex-start;
  }

  .hero-press-stack .section--hero.section--tall .section__inner--hero {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding-block: clamp(var(--space-5), 5vw, var(--space-9));
  }

  .hero-press-stack .section--press-marquee {
    flex: 0 0 auto;
    padding-block: var(--space-3) var(--space-4);
  }

  .hero-press-stack .press-marquee__sequence {
    gap: clamp(1.25rem, 4vw, 2rem);
    padding-inline: clamp(1rem, 3vw, 2rem);
  }

  .hero-press-stack .press-marquee__img {
    height: 1.875rem;
  }
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section--accent-band {
  background: var(--bg-accent-band);
  border-block: 1px solid var(--border);
}

/* Full-viewport partners band + interior loop; parallax driven in main.js */
.section--partners-full.section--accent-band {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.section--partners-full.section--accent-band {
  background-color: #030303;
  background-image: none;
}

.partners__video-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  width: 100%;
  height: 126%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  will-change: transform;
}

.section--partners-full .partners__video-layer {
  opacity: 1;
}

.reduce-motion .section--partners-full .partners__video-layer {
  opacity: 0 !important;
  will-change: auto;
}

.reduce-motion .section--partners-full.section--accent-band {
  background: var(--bg-accent-band);
}

.partners__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.partners__video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(3, 6, 12, 0.62) 38%,
    rgba(2, 4, 10, 0.78) 100%
  );
}

.section__inner--partners {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding-block: clamp(var(--space-8), 12vh, var(--space-11));
}

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

.partners-quote-wrap {
  margin-inline: auto;
  max-width: min(48rem, 100%);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Slightly larger than impact caption; --quote-line-fill 0→1 driven by scroll (main.js) */
.partners-quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-body);
  font-size: 2.25rem;
  line-height: 3.25rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.partners-quote__line {
  --quote-line-fill: 0;
  margin: 0;
  opacity: calc(0.1 + var(--quote-line-fill) * 0.9);
  transform: translate3d(0, calc((1 - var(--quote-line-fill)) * 0.55rem), 0);
  transition: none;
  color: color-mix(
    in srgb,
    var(--text) calc(var(--quote-line-fill) * 100%),
    rgba(255, 255, 255, 0.26)
  );
}

.partners-quote__cta {
  margin-top: clamp(var(--space-6), 4vw, var(--space-8));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

/* Blockquote uses display quote line-height (3.25rem); reset so primary matches other sections */
.partners-quote__cta .btn--primary {
  line-height: 1.2;
}

.reduce-motion .partners-quote__line {
  --quote-line-fill: 1;
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 639px) {
  .partners-quote-wrap {
    max-width: 100%;
  }

  .partners-quote {
    font-size: clamp(1.35rem, 5vw, 2.25rem);
    line-height: 1.45;
  }

  .partners-quote__cta {
    margin-top: var(--space-5);
  }
}

.section--footer-cta { border-block-start: 1px solid var(--border); }

.section__inner--hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-10), 16vh, var(--space-12));
}

.section__inner--narrow {
  max-width: var(--max-w-narrow);
  text-align: center;
}

.section__inner--split { max-width: 38rem; }

.section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* 0 at page top → 1 after scroll; driven by main.js */
  --header-fill-opacity: 0;
  background: rgba(0, 0, 0, calc(0.78 * var(--header-fill-opacity)));
  border-bottom: 1px solid transparent;
  border-bottom-color: color-mix(in srgb, var(--border) calc(100% * var(--header-fill-opacity)), transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 0.2s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out),
    -webkit-backdrop-filter 0.35s var(--ease-out);
}

/* At scroll 0, drop blur so the bar doesn’t read as a solid dark “fill” over the hero */
.site-header.site-header--at-top {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 1fr | auto | 1fr keeps primary nav mathematically centered in the bar (not biased by uneven logo vs. actions width). */
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: var(--space-5);
  min-height: var(--header-h);
  padding-block: var(--space-3);
}

.site-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.site-nav {
  justify-self: center;
}

.site-logo:hover {
  opacity: 0.92;
}

.site-logo__mark {
  height: 1.75rem;
  width: auto;
  display: block;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 2vw, var(--space-6));
}

/* Aura .p16 — nav links */
.site-nav a {
  font-family: var(--font-mono);
  font-size: 1em;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-muted);
}

.site-nav a:hover { color: var(--text); }

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.header-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  transition: color 0.2s var(--ease-out);
}

.header-social__link:hover,
.header-social__link:focus-visible {
  color: #fff;
}

.header-social__icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.35) contrast(1.08);
  transition: filter 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

/* Solid white on hover (force neutral glyph → full white; Safari needs -webkit-filter) */
.header-social__link:hover .header-social__icon,
.header-social__link:focus-visible .header-social__icon {
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  color: inherit;
}

.nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

@media (max-width: 768px) {
  .site-header__inner.section__inner {
    padding-left: max(clamp(var(--space-4), 5vw, var(--space-9)), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(var(--space-4), 5vw, var(--space-9)), env(safe-area-inset-right, 0px));
  }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
    column-gap: var(--space-5);
    position: relative;
    z-index: 1;
  }

  .site-logo,
  .site-header__actions {
    justify-self: auto;
    position: relative;
    z-index: 2;
  }

  .nav-toggle { display: flex; }

  /* Drawer sits behind logo + actions so burger / X stay tappable (was covering them at z-index 45) */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: calc(var(--header-stack-h) + var(--space-8)) var(--space-6) max(var(--space-10), env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    border-left: 1px solid var(--border);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.38s var(--ease-out),
      visibility 0s linear 0.38s;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.38s var(--ease-out),
      visibility 0s linear 0s;
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Readable top bar over the drawer: logo + close stay visible like the closed state */
  body.nav-open .site-header {
    --header-fill-opacity: 1;
    border-bottom-color: var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body.nav-open .site-header.site-header--at-top {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-nav__list li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav__list a {
    display: block;
    padding: var(--space-5) 0;
    font-size: clamp(1.125rem, 4vw, 1.375rem);
    line-height: 1.3;
    color: var(--text);
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible {
    color: var(--text);
    opacity: 0.85;
  }

  body.nav-open .nav-toggle__bar:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  body.nav-open .nav-toggle__bar:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .reduce-motion .site-nav {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .reduce-motion body.nav-open .site-nav {
    transition-duration: 0.01ms;
  }
}

/* Access ALTA — engagement dialog */
.enter-alta-modal {
  padding: 0;
  border: none;
  max-width: min(68rem, calc(100vw - 2.5rem));
  width: 100%;
  margin: auto;
  background: transparent;
  color: var(--text);
  color-scheme: dark;
}

.enter-alta-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.enter-alta-modal__panel {
  position: relative;
  background: #080808;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  max-height: min(90dvh, 52rem);
  display: flex;
  flex-direction: column;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.enter-alta-modal__hero {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  min-height: clamp(13rem, 42vw, 21rem);
  max-height: min(52vh, 26rem);
}

.enter-alta-modal__hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}

.enter-alta-modal__hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.38) 32%,
    rgba(0, 0, 0, 0.52) 52%,
    rgba(8, 8, 8, 0.72) 72%,
    rgba(8, 8, 8, 0.92) 88%,
    #080808 100%
  );
  pointer-events: none;
}

.enter-alta-modal__hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: clamp(13rem, 42vw, 21rem);
  max-height: min(52vh, 26rem);
  padding: var(--space-3) var(--space-7) var(--space-5);
  box-sizing: border-box;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .enter-alta-modal__panel {
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease-out;
  }

  @starting-style {
    .enter-alta-modal[open] .enter-alta-modal__panel {
      opacity: 0;
      transform: translateY(0.875rem) scale(0.97);
    }
  }

  .enter-alta-modal.enter-alta-modal--closing .enter-alta-modal__panel {
    opacity: 0;
    transform: translateY(0.625rem) scale(0.98);
    pointer-events: none;
  }

  .enter-alta-modal::backdrop {
    opacity: 1;
    transition: opacity 0.42s ease-out;
  }

  @starting-style {
    .enter-alta-modal[open]::backdrop {
      opacity: 0;
    }
  }

  .enter-alta-modal.enter-alta-modal--closing::backdrop {
    opacity: 0;
  }
}

.enter-alta-modal__hero .enter-alta-modal__title {
  margin: 0;
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 1.5rem rgba(0, 0, 0, 0.45);
}

.enter-alta-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.enter-alta-modal__close:hover,
.enter-alta-modal__close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.enter-alta-modal__body {
  padding: var(--space-8) var(--space-7) var(--space-7);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.enter-alta-modal__hero .enter-alta-modal__lede {
  margin: 0;
  flex-shrink: 0;
  max-width: 36rem;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.35vw, 0.9375rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.enter-alta-modal__columns {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

.enter-alta-modal__option {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0 clamp(var(--space-4), 2vw, var(--space-6));
  display: flex;
  flex-direction: column;
}

.enter-alta-modal__option:not(:first-child) {
  border-left: 1px solid var(--border);
}

.enter-alta-modal__option-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.enter-alta-modal__option-title--lg {
  font-size: clamp(1.1875rem, 1.45vw, 1.375rem);
}

.enter-alta-modal__option-desc {
  margin: 0 0 var(--space-4);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  flex: 1 1 auto;
}

.enter-alta-modal .btn.btn--primary.enter-alta-modal__action {
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
  text-decoration: none;
  line-height: 1.2;
}

.enter-alta-modal__contact-note {
  margin: var(--space-6) auto 0;
  max-width: 42rem;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}

.enter-alta-modal__contact-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.enter-alta-modal__contact-link:hover,
.enter-alta-modal__contact-link:focus-visible {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.reduce-motion .enter-alta-modal__panel,
.reduce-motion .enter-alta-modal::backdrop {
  transition: none !important;
}

@media screen and (max-width: 900px) {
  .enter-alta-modal {
    max-width: min(26.5rem, calc(100vw - 2.25rem));
  }

  .enter-alta-modal__panel {
    max-height: min(88dvh, 44rem);
  }

  .enter-alta-modal__hero {
    min-height: 11.5rem;
    max-height: min(38vh, 17.5rem);
  }

  .enter-alta-modal__hero-content {
    min-height: 11.5rem;
    max-height: min(38vh, 17.5rem);
    padding: var(--space-3) var(--space-5) var(--space-4);
    align-items: center;
  }

  .enter-alta-modal__body {
    padding: var(--space-7) var(--space-5) var(--space-6);
  }

  .enter-alta-modal__hero .enter-alta-modal__lede {
    text-align: center;
    max-width: none;
  }

  .enter-alta-modal__columns {
    flex-direction: column;
  }

  .enter-alta-modal__option {
    padding: 0;
  }

  .enter-alta-modal__option:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: var(--space-5);
  }

  .enter-alta-modal__option-title {
    font-size: 1.125rem;
  }

  .enter-alta-modal__option-title--lg {
    font-size: 1.25rem;
  }

  .enter-alta-modal__option-desc {
    font-size: 0.875rem;
  }

  .enter-alta-modal .btn.btn--primary.enter-alta-modal__action {
    width: 100%;
    align-self: stretch;
  }

  .enter-alta-modal__contact-note {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    font-size: 0.8125rem;
  }
}

/* Aura .p12 */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75em;
  line-height: 1.2;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 var(--space-4);
}

.eyebrow--on-accent {
  color: var(--accent-ink);
  opacity: 0.85;
}

.section--accent-band .eyebrow--on-accent {
  color: var(--accent);
  opacity: 1;
}

/* Section kickers — same treatment as impact “Client ecosystem” */
.eyebrow.eyebrow--section-title {
  font-size: 0.875rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 1;
  color: var(--accent);
}

@keyframes eyebrow-caret-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

main .eyebrow.eyebrow--section-title.eyebrow--typing::after {
  content: '';
  display: inline-block;
  width: 0.07em;
  height: 1em;
  margin-left: 0.1em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: eyebrow-caret-blink 0.88s step-end infinite;
}

.reduce-motion main .eyebrow.eyebrow--section-title.eyebrow--typing::after {
  display: none;
}

.section--accent-band .eyebrow.eyebrow--section-title.eyebrow--on-accent {
  color: var(--accent);
  opacity: 1;
}

/* Aura .h120 — hero display */
.hero__title {
  font-family: var(--font-body);
  font-size: 7.5em;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 0 0 var(--space-5);
  max-width: 18ch;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__title-line {
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
}

/* Inline gradient text: line-height tuned with .hero__title to keep rows close without clipping */
.hero__accent {
  display: inline-block;
  position: relative;
  line-height: 1;
  letter-spacing: -0.04em;
  vertical-align: baseline;
  background-image: var(--accent-gradient-flow);
  background-size: 300% 135%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translateZ(0);
  animation: alta-gradient-shift var(--dur-gradient-shift) ease-in-out infinite alternate;
}

/* Aura .p18 */
.hero__lede {
  margin: 0 0 var(--space-7);
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 1.13em;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.hero__cta .btn--primary .btn__label {
  font-size: calc(1em + 2px);
}

.section-header {
  max-width: 40rem;
  margin-bottom: var(--space-9);
}

/* Aura h2 / .heading-large */
.section-header__title {
  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 var(--space-4);
}

/* Aura h3 scale */
.section-header__title--compact {
  font-size: 2rem;
  line-height: 1.2;
}

/* Aura .text-size-medium */
.section-header__summary {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-muted);
}

/* Aura body copy */
.text-block {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-muted);
}

.rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-soft-dim));
}

.rule--grow {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-slow) var(--ease-out);
}

/* ----- Aura buttons (.primary-button, .secondary-button, .tertiary-button) ----- */
.btn {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.btn__label {
  flex: 1;
  text-align: left;
  padding-right: 0.2em;
}

.btn__circle {
  position: relative;
  z-index: 2;
  display: flex;
  width: 2.65em;
  height: 2.65em;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-left: 0.75em;
  border-radius: 50%;
}

.btn__circle--black {
  background-color: #000;
}

.btn__circle--accent {
  background-color: transparent;
  background-image: var(--accent-gradient);
}

.btn__arrow {
  display: block;
  width: 48%;
  height: 48%;
  max-width: 1.05rem;
  max-height: 1.05rem;
}

.btn__circle--black .btn__arrow {
  color: var(--grad-to);
}

.btn--primary .btn__circle--black .btn__arrow {
  color: #000;
}

.btn__circle--accent .btn__arrow {
  color: #000;
}

/* .primary-button — black pill, gradient label + gradient disc, black arrow */
.btn--primary {
  position: relative;
  z-index: 0;
  padding: 0.28em 0.38em 0.28em 1.35em;
  border-radius: 1.9em;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background-color: #0f0f0f;
  color: inherit;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 36px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(178, 147, 233, 0.14),
    0 0 28px rgba(61, 253, 223, 0.1);
  transition: background-color 0.2s ease, opacity 0.2s ease, box-shadow 0.25s ease;
}

.btn--primary:hover {
  background-color: #171717;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 44px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(178, 147, 233, 0.18),
    0 0 32px rgba(61, 253, 223, 0.14);
}

.btn--primary .btn__label {
  display: inline-block;
  position: relative;
  z-index: 1;
  background-image: var(--accent-gradient-flow);
  background-size: 300% 135%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: alta-gradient-shift var(--dur-gradient-shift) ease-in-out infinite alternate;
}

.btn--primary .btn__circle.btn__circle--black {
  position: relative;
  z-index: 1;
  background-color: transparent;
  background-image: var(--accent-gradient-flow);
  background-size: 280% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  animation: alta-gradient-shift var(--dur-gradient-shift) ease-in-out infinite alternate;
}

/* .primary-button.is--white */
.btn--primary-white {
  z-index: 5;
  padding: 0.28em 0.38em 0.28em 1.35em;
  border-radius: 1.9em;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  min-height: 0;
  background-color: #fff;
  color: #000;
}

.btn--primary-white:hover {
  opacity: 0.92;
  color: #000;
}

/* .secondary-button — pill + accent disc + black arrow */
.btn--secondary-aura {
  padding: 0.28em 0.38em 0.28em 1.35em;
  justify-content: space-between;
  border-radius: 1.9em;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  min-height: 0;
  background-color: #000;
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn--secondary-aura:hover {
  opacity: 0.92;
  color: var(--accent-hover);
  border-color: var(--border-strong);
}

/* .tertiary-button */
.btn--tertiary-aura {
  padding: 0.75rem 1.25rem;
  justify-content: center;
  border-radius: 0;
  background-color: transparent;
  color: var(--accent);
}

.btn--tertiary-aura:hover {
  opacity: 0.85;
  color: var(--accent-hover);
}

.stat-block {
  width: 100%;
  max-width: none;
  overflow-x: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.stat-block__label { margin-bottom: var(--space-3); }

/* Figure: vw fallback; cqi scales to stat column so long amounts don’t clip */
.stat-block__figure {
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.875rem, 6.8vw, 5.65rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.004em;
  font-variant-numeric: tabular-nums;
  /* Figma node 40023846:2987 — gap 47px below figure before caption */
  margin: 0 0 2.9375rem;
  color: var(--text);
  box-sizing: border-box;
  white-space: nowrap;
}

@supports (container-type: inline-size) {
  .stat-block {
    container-type: inline-size;
    container-name: impact-stat;
  }

  .stat-block__figure {
    font-size: clamp(1.875rem, 10.6cqi, 7.35rem);
  }
}

.stat-block__currency,
.stat-block__value {
  background-image: var(--accent-gradient-flow);
  background-size: 300% 135%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translateZ(0);
  animation: alta-gradient-shift var(--dur-gradient-shift) ease-in-out infinite alternate;
}

.stat-block__currency {
  font-size: 0.5em;
  vertical-align: super;
  margin-right: 0.14em;
  letter-spacing: 0;
}

/* Caption: Figma Dots-Platform node 40023846:2989 — 28px / 40px lh; #work intro uses same type scale */
.stat-block__caption,
#work .section-header__summary,
.section-header--cases .section-header__summary {
  margin: 0;
  max-width: min(35.0625rem, 100%);
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 1.75rem;
  line-height: 2.5rem;
  font-weight: 600;
  color: var(--text);
}

/* Aura footer CTA copy (must beat .footer-cta__text below) */
.footer-cta__text.footer-cta__text--aura {
  margin: 0 auto clamp(var(--space-6), 3vw, var(--space-8));
  max-width: min(43.75rem, 100%);
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 1.75rem;
  line-height: 2.5rem;
  font-weight: 600;
  color: var(--text);
}

.stat-block__caption {
  margin-left: auto;
  overflow: visible;
}

#work .section-header > .eyebrow--section-title {
  margin-bottom: var(--space-4);
}

.stat-block__caption strong {
  color: var(--text);
  font-weight: 700;
}

.stat-block__caption-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 0.35em;
}

.stat-block__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.15em;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: color-mix(in srgb, var(--text) 82%, transparent);
  cursor: pointer;
  line-height: 0;
  transition: color 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.stat-block__info:hover,
.stat-block__info:focus-visible {
  color: var(--text);
  opacity: 1;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  outline: none;
}

.stat-block__info:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 35%, transparent);
}

.stat-block__info-icon {
  display: block;
  width: 1.15em;
  height: 1.15em;
  font-size: clamp(1rem, 3.1vw, 1.2rem);
}

.stat-block__tooltip {
  position: absolute;
  /* Align tooltip’s right edge to the icon so nothing extends past the viewport on right-aligned captions */
  left: auto;
  right: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 30;
  width: max-content;
  max-width: min(19rem, calc(100vw - 2rem));
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 4px, 0);
  transition:
    opacity 0.18s var(--ease-out),
    visibility 0.18s var(--ease-out),
    transform 0.18s var(--ease-out);
}

.stat-block__caption-tip:hover .stat-block__tooltip,
.stat-block__caption-tip:focus-within .stat-block__tooltip,
.stat-block__caption-tip.is-open .stat-block__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.reduce-motion .stat-block__tooltip {
  transition: none;
}

@media screen and (max-width: 639px) {
  .stat-block__tooltip {
    max-width: min(19rem, calc(100vw - 2rem));
  }

  .stat-block__caption,
  #work .section-header__summary,
  .section-header--cases .section-header__summary {
    margin-left: 0;
    max-width: 100%;
    font-size: clamp(1.125rem, 4.25vw, 1.75rem);
    line-height: 1.45;
    font-weight: 600;
  }

  .footer-cta__text.footer-cta__text--aura {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    max-width: 100%;
    font-size: clamp(1.125rem, 4.25vw, 1.75rem);
    line-height: 1.45;
    font-weight: 600;
  }
}

/* #profiles — verified directory listings (between impact stat & approach) */
.section--profiles {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-header--profiles {
  max-width: min(38rem, 100%);
}

#profiles .section-header > .eyebrow--section-title {
  margin-bottom: var(--space-4);
}

.profile-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .profile-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.section__actions--profiles {
  margin-top: clamp(var(--space-7), 5vw, var(--space-9));
  justify-content: center;
  width: 100%;
}

.profile-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 5.5rem;
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.22s var(--ease-out),
    background-color 0.22s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.profile-tile__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.profile-tile__logo-wrap {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.profile-tile__logo-wrap .profile-tile__logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  transition: opacity 0.25s var(--ease-out);
}

.profile-tile__logo--hover {
  opacity: 0;
}

.profile-tile:hover .profile-tile__logo-wrap .profile-tile__logo--default,
.profile-tile:focus-visible .profile-tile__logo-wrap .profile-tile__logo--default {
  opacity: 0;
}

.profile-tile:hover .profile-tile__logo-wrap .profile-tile__logo--hover,
.profile-tile:focus-visible .profile-tile__logo-wrap .profile-tile__logo--hover {
  opacity: 1;
}

.reduce-motion .profile-tile__logo-wrap .profile-tile__logo {
  transition: none;
}

/* Flowing brand gradient (same as .btn--primary label), masked to verified badge shape */
.profile-tile__verified-img {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background-image: var(--accent-gradient-flow);
  background-size: 300% 135%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  animation: alta-gradient-shift var(--dur-gradient-shift) ease-in-out infinite alternate;
  -webkit-mask-image: url("../assets/profiles/verified-mask.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("../assets/profiles/verified-mask.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

/* Neutral charcoal lift (matches dark cards); accent only in soft dual glow like .btn--primary */
.profile-tile:hover {
  border-color: var(--border-strong);
  background: linear-gradient(145deg, #101010 0%, #0c0c0c 52%, var(--bg-elevated) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 44px rgba(0, 0, 0, 0.55),
    0 0 36px color-mix(in srgb, var(--grad-to) 12%, transparent),
    0 0 28px color-mix(in srgb, var(--grad-from) 8%, transparent);
}

.profile-tile:focus-visible {
  outline: 2px solid var(--grad-to);
  outline-offset: 3px;
}

.profile-tile__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  text-align: left;
}

.profile-tile__title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-wrap: wrap;
}

.profile-tile__title-row .profile-tile__verified-img {
  align-self: center;
}

.profile-tile__title-row .profile-tile__name {
  flex: 1;
  min-width: 0;
}

.profile-tile__name {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.profile-tile__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 400;
  color: var(--text-muted);
}

.profile-tile__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s var(--ease-out), transform 0.22s var(--ease-out);
}

.profile-tile:hover .profile-tile__arrow,
.profile-tile:focus-visible .profile-tile__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

@media (min-width: 1024px) {
  .card-grid {
    gap: var(--space-6);
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-6) var(--space-7);
  box-shadow: var(--shadow-card);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* h3 defaults apply; card titles slightly smaller than section h3s */
.card__title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 var(--space-3);
}

.card__body {
  margin: 0;
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-muted);
}

/* #work — flat cards + pillar icons (assets/work/01–03.svg, white artwork) */
#work .card-grid {
  width: 60%;
  max-width: 100%;
  margin-inline-start: auto;
  box-sizing: border-box;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  #work .card-grid {
    gap: var(--space-10);
  }
}

#work .card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  column-gap: var(--space-5);
  align-items: start;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: var(--space-2) 0 var(--space-5);
  min-height: 0;
}

#work .card:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--space-6);
}

#work .card__icon {
  display: flex;
  justify-content: flex-start;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: start;
}

#work .card__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}

#work .card__title {
  margin: 0;
}

#work .card__body {
  margin: 0;
  flex: 0 1 auto;
}

#work .card__icon-img {
  display: block;
  width: clamp(7.5rem, 18vw, 11rem);
  aspect-ratio: 1;
  flex-shrink: 0;
  background-image: var(--accent-gradient-flow);
  background-size: 300% 135%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  mask-mode: luminance;
  animation: alta-gradient-shift var(--dur-gradient-shift) ease-in-out infinite alternate;
}

/* Mask URLs must live here: url() in inline custom props resolves from css/ and breaks (404). */
#work .card-grid > .card:nth-child(1) .card__icon-img {
  -webkit-mask-image: url("../assets/work/01.svg");
  mask-image: url("../assets/work/01.svg");
}

#work .card-grid > .card:nth-child(2) .card__icon-img {
  -webkit-mask-image: url("../assets/work/02.svg");
  mask-image: url("../assets/work/02.svg");
}

#work .card-grid > .card:nth-child(3) .card__icon-img {
  -webkit-mask-image: url("../assets/work/03.svg");
  mask-image: url("../assets/work/03.svg");
}

/* #work — tablets / small laptops: use full inner width (60% + auto margin was misaligned and wasted space) */
@media screen and (max-width: 1023px) {
  #work .card-grid {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  #work .card__icon-img {
    width: clamp(4rem, 14vw, 7.5rem);
  }
}

/* #work — mobile / narrow: full-width column, compact icons, stacked layout (avoids 60%-width + 7.5rem icon crushing copy) */
@media screen and (max-width: 767px) {
  #work .card-grid {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    gap: var(--space-7);
  }

  #work .card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    column-gap: 0;
    row-gap: var(--space-4);
    align-items: start;
    padding-inline: 0;
    overflow: visible;
  }

  #work .card__icon {
    grid-column: 1;
    grid-row: 1;
  }

  #work .card__icon-img {
    width: 3.75rem;
    max-width: 4.5rem;
  }

  #work .card__text {
    grid-column: 1;
    grid-row: 2;
    gap: var(--space-3);
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  #work .card__title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  #work .card__body {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  #work .card__body {
    color: rgba(255, 255, 255, 0.72);
  }
}

/* Cases — partnership, growth, mass adoption */
.section--cases {
  position: relative;
  isolation: isolate;
  background: #050505;
  color: #f2f2f2;
  border-block: 1px solid var(--border);
  color-scheme: dark;
}

.section__inner--cases {
  padding-bottom: clamp(var(--space-8), 6vw, var(--space-10));
}

/* Match #work: left-aligned intro in .section__inner (inherits .section-header max-width) */
.section-header--cases {
  text-align: left;
  margin-inline: 0;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-9));
}

.cases-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--space-6), 4vw, var(--space-8));
  align-items: start;
}

.cases-pillar__title {
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.cases-pillar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.cases-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

a.cases-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.cases-card--static {
  pointer-events: auto;
}

.cases-card__visual {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}

.cases-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cases-card__body {
  padding: var(--space-5);
}

.cases-card__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 var(--space-2);
}

.cases-card__headline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 var(--space-3);
  color: #fff;
}

.cases-card__meta {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.cases-card__meta strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* Same visual language as .cases-powered (Mass adoption links) */
.cases-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.05em;
}

a.cases-card:hover .cases-card__cta {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.cases-stack {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

a.cases-stack {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

a.cases-stack:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

/* Clicks go to the card link, not the video */
a.cases-stack .cases-spotlight__video {
  pointer-events: none;
}

/* Video on top — same visual + body rhythm as .cases-card--press */
.cases-stack .cases-card__visual {
  position: relative;
}

.cases-stack .cases-card__visual .cases-spotlight__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.cases-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.cases-card__actions--logos {
  gap: var(--space-3);
}

.cases-spotlight__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 682;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.cases-spotlight__media--tight {
  border-radius: 0;
}

.cases-spotlight__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cases-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  font-size: 0.875rem;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.cases-logo-link:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.cases-logo-link img {
  flex-shrink: 0;
  opacity: 0.9;
}

.cases-powered {
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.05em;
}

a.cases-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.cases-powered:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.cases-powered--multi {
  border: none;
  padding-bottom: 0;
  margin-bottom: var(--space-2);
}

.cases-powered--multi:hover {
  border: none;
}

.cases-exchange-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cases-exchange-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cases-exchange-links a:hover {
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .cases-pillars {
    grid-template-columns: 1fr;
  }
}

/* Cases v2 — Figma Dots-Platform node 40023925:8736 (HTML/CSS; Suisse tokens) */
.section--cases-v2 {
  position: relative;
  background: #050505;
  color: #fff;
  border-block: 1px solid var(--border);
  isolation: isolate;
}

.section__inner--cases-v2 {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-9));
  padding-top: clamp(3.5rem, 9vw, 5.5rem);
  padding-bottom: clamp(var(--space-10), 10vw, var(--space-12));
  box-sizing: border-box;
}

.cases-v2__top {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 10vw, 7.5rem);
}

.cases-v2__header {
  display: flex;
  flex-direction: column;
  gap: 1.3125rem;
  max-width: min(36.375rem, 100%);
}

.cases-v2__eyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7bc6e4;
}

.cases-v2__lede,
#profiles .section-header__summary {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  line-height: normal;
  font-weight: 600;
  color: #fff;
}

.cases-v2__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cases-v2__block {
  display: block;
}

.cases-v2__block:not(:last-child) {
  padding-bottom: calc(clamp(1.25rem, 2.5vw, 1.875rem) + 24px);
}

.cases-v2__block:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: calc(clamp(1.25rem, 2.5vw, 1.875rem) + 24px);
}

.cases-v2__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 49.8125rem);
  gap: 0.75rem;
  align-items: stretch;
}

.cases-v2__rail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-4);
  min-height: 100%;
  padding-bottom: 0.25rem;
}

.cases-v2__rail-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cases-v2__brand-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.cases-v2__brand-link:hover {
  opacity: 0.88;
}

.cases-v2__brand-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cases-v2__brand-link--dual {
  align-self: flex-start;
}

.cases-v2__brand--consensus img {
  display: block;
  width: auto;
  max-width: min(14.5rem, 100%);
  height: auto;
}

.cases-v2__brand--coinmarketcap img {
  display: block;
  width: auto;
  max-width: min(14.5rem, 100%);
  height: auto;
}

.cases-v2__brand--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.cases-v2__brand--a16z img {
  display: block;
  width: auto;
  max-width: min(11rem, 100%);
  height: auto;
}

.cases-v2__brand--techweek img {
  display: block;
  width: auto;
  max-width: min(10.375rem, 100%);
  height: auto;
}

.cases-v2__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.cases-v2__copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cases-v2__body--link {
  transition: opacity 0.2s ease;
}

.cases-v2__body--link:hover {
  opacity: 0.92;
}

.cases-v2__body--link:hover .cases-v2__title {
  color: var(--accent);
}

.cases-v2__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 797 / 322;
  height: auto;
  min-height: 11rem;
  overflow: hidden;
  border-radius: 0;
  background: #111;
}

.cases-v2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Layered case visuals: video + poster (slow connections), hero PNG moves in on scroll (--case-hero-ty from main.js) */
.cases-v2__visual--layered {
  --case-hero-ty: 0px;
}

.cases-v2__visual-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.cases-v2__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.cases-v2__visual-hero {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.25rem) clamp(0.5rem, 2vw, 1.25rem) 0;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, var(--case-hero-ty, 0px), 0);
}

.cases-v2__visual-hero picture {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.cases-v2__hero-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.reduce-motion .cases-v2__visual--layered {
  --case-hero-ty: 0px !important;
}

.reduce-motion .cases-v2__visual--layered .cases-v2__visual-hero {
  transform: none !important;
  will-change: auto;
}

.reduce-motion .cases-v2__visual--layered .cases-v2__bg-video {
  display: none;
}

.reduce-motion .cases-v2__visual--layered[data-case-slide="1"] .cases-v2__visual-bg {
  background: #111 url("../assets/cases-v2/slides/case-1.png") center / cover no-repeat;
}

.reduce-motion .cases-v2__visual--layered[data-case-slide="3"] .cases-v2__visual-bg {
  background: #111 url("../assets/cases-v2/slides/case-3.png") center / cover no-repeat;
}

.reduce-motion .cases-v2__visual--layered[data-case-slide="4"] .cases-v2__visual-bg {
  background: #111 url("../assets/cases-v2/slides/case-4.png") center / cover no-repeat;
}

.reduce-motion .cases-v2__visual--layered[data-case-slide="5"] .cases-v2__visual-bg {
  background: #111 url("../assets/cases-v2/slides/case-5.png") center / cover no-repeat;
}

.cases-v2__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  transition: color 0.2s ease;
}

.cases-v2__title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.cases-v2__title a:hover {
  color: var(--accent);
}

.cases-v2__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4375;
  color: rgba(255, 255, 255, 0.92);
}

.cases-v2__desc strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.cases-v2__brand--bitget img {
  display: block;
  width: auto;
  max-width: min(14.05rem, 100%);
  height: auto;
}

.cases-v2__brand--alchemy img {
  display: block;
  width: auto;
  max-width: min(14.3rem, 100%);
  height: auto;
}

.cases-v2__brand--dual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.cases-v2__dual-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.cases-v2__dual-logo--polkadot {
  max-width: min(13.35rem, 100%);
}

.cases-v2__dual-logo--wefi {
  max-width: min(8.7rem, 100%);
}

/* Scroll-driven fade per row — main.js sets --case-scroll-opacity on each .cases-v2__block */
.cases-v2__list[data-reveal-stagger] > .cases-v2__block {
  opacity: var(--case-scroll-opacity, 0.14);
  transform: translateY(1.05rem);
  transition:
    opacity 0.45s var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.cases-v2__list[data-reveal-stagger].is-inview > .cases-v2__block {
  transform: translateY(0);
}

.cases-v2__list[data-reveal-stagger].is-inview > .cases-v2__block:nth-child(1) {
  transition-delay: 0ms;
}

.cases-v2__list[data-reveal-stagger].is-inview > .cases-v2__block:nth-child(2) {
  transition-delay: 70ms;
}

.cases-v2__list[data-reveal-stagger].is-inview > .cases-v2__block:nth-child(3) {
  transition-delay: 140ms;
}

.cases-v2__list[data-reveal-stagger].is-inview > .cases-v2__block:nth-child(4) {
  transition-delay: 210ms;
}

.cases-v2__list[data-reveal-stagger].is-inview > .cases-v2__block:nth-child(5) {
  transition-delay: 280ms;
}

@media screen and (max-width: 1100px) {
  .cases-v2__item {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    min-width: 0;
  }

  .cases-v2__rail {
    min-height: 0;
    min-width: 0;
  }

  .cases-v2__body {
    min-width: 0;
  }

  .cases-v2__title {
    font-size: clamp(1.25rem, 4.2vw, 1.5rem);
  }

  .cases-v2__title,
  .cases-v2__desc,
  .cases-v2__lede,
  #profiles .section-header__summary {
    overflow-wrap: break-word;
  }

  /* Fluid width but explicit height on small viewports (aspect-ratio alone is too short on phones) */
  .cases-v2__visual {
    aspect-ratio: unset;
    height: clamp(11rem, 52vw, 20.125rem);
  }

  /* Layered hero PNGs: more vertical room + less side inset + slight scale */
  .cases-v2__visual--layered {
    height: clamp(12.5rem, 68vw, 20.125rem);
  }

  .cases-v2__visual--layered .cases-v2__visual-hero {
    padding: 0.25rem 0 0;
  }

  .cases-v2__visual--layered .cases-v2__hero-img {
    max-width: 100%;
    transform: scale(1.08) translateY(0.5rem);
    transform-origin: center bottom;
  }
}

@media screen and (max-width: 480px) {
  .cases-v2__visual {
    height: clamp(11.5rem, 62vw, 18rem);
  }

  .cases-v2__visual--layered {
    height: clamp(13rem, 78vw, 18rem);
  }

  .cases-v2__visual--layered .cases-v2__hero-img {
    transform: scale(1.12) translateY(0.75rem);
  }
}

@media screen and (max-width: 639px) {
  .cases-v2__top {
    gap: clamp(2.5rem, 10vw, 5rem);
  }
}

/* Large ALTA naming mark behind footer CTA (fixed footer panel; fades with --footer-reveal) */
.site-footer-aura__wordmark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(82vh, 50rem);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: calc(0.12 + var(--footer-reveal) * 0.88);
}

.site-footer-aura__wordmark-img {
  display: block;
  width: min(100vw, 96rem);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  opacity: 0.2;
  transform: translateY(2%);
  object-fit: contain;
}

.footer-cta__title {
  font-family: var(--font-body);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 var(--space-4);
}

/* Aura-scale footer headline (~.h80 feel): large display, tight leading */
.footer-cta__title--aura {
  font-size: clamp(2.25rem, 7.5vw, 4.75rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(var(--space-4), 2.5vw, var(--space-6));
  color: var(--text);
  white-space: nowrap;
}

/* Default .section__inner--narrow (40rem); widen footer CTA line length at large type sizes */
.site-footer-aura__cta.section__inner--narrow {
  max-width: min(94vw, 58rem);
}

@media screen and (max-width: 520px) {
  .footer-cta__title--aura {
    white-space: normal;
  }

  .site-footer-aura__cta.section__inner--narrow {
    max-width: var(--max-w-narrow);
  }
}

.footer-cta__text {
  margin: 0 0 var(--space-6);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-muted);
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* Footer — altalab.io-style: blurb, legal links, copyright */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--space-7), 5vw, var(--space-10));
  padding-block: clamp(var(--space-9), 10vw, var(--space-11));
}

.site-footer__blurb {
  margin: 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-muted);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: var(--space-5) var(--space-8);
}

.site-footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.site-footer__legal-nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease-out);
}

.site-footer__legal-nav a:hover {
  color: var(--text);
}

/* Aura-style bottom panel: tall block + shaped row (copyright | Shaped by Onda) — see aura-onda-staging .section.footer-s / .footer__shaped-w */
.site-footer-aura {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
  min-height: min(55vh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

/* Fixed full-viewport footer under scroll curtain; content fades in as #contact spacer reveals */
.site-footer-aura.site-footer-aura--fixed {
  --footer-reveal: 0;
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  height: 101vh;
  min-height: 101vh;
  max-height: 101vh;
  z-index: 0;
  border-top: none;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Let scroll chain to the document when inner content does not overflow (mobile touch was stuck here with contain). */
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Avoid a persistent grey scrollbar gutter on narrow viewports */
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--text-muted) 35%, transparent) transparent;
}

/* When fixed footer uses pointer-events: none (via JS when content fits), keep links/buttons clickable */
.site-footer-aura.site-footer-aura--fixed a,
.site-footer-aura.site-footer-aura--fixed button {
  pointer-events: auto;
}

.site-footer-aura__parallax {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: min(101vh, 100%);
  will-change: transform;
}

.site-footer-aura.site-footer-aura--fixed .site-footer-aura__parallax {
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
}

.site-footer-aura__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-9));
  padding-bottom: clamp(1.75rem, 2.69vw, 2.69rem);
  box-sizing: border-box;
}

.site-footer-aura.site-footer-aura--fixed .site-footer-aura__inner {
  flex: 0 0 auto;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  justify-content: flex-start;
  min-height: 0;
}

.site-footer-aura__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0px;
  min-height: 0;
}

.site-footer-aura--fixed .site-footer-aura__body {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
  gap: 0px;
}

.site-footer-aura__body--legal-only {
  justify-content: flex-end;
  padding-top: clamp(1rem, 4vh, 2.5rem);
}

.site-footer-aura__cta {
  text-align: center;
  /* Below .section__inner padding-block; scales phone → tablet, caps at 4rem (64px) on large viewports */
  padding-bottom: clamp(var(--space-6), 0.75rem + 5vw, 4rem);
}

.site-footer.site-footer--aura-panel {
  background: transparent;
  border-top: 1px solid var(--border);
}

.site-footer--aura-panel .site-footer__inner {
  padding-block: clamp(var(--space-6), 5vw, var(--space-9));
}

.site-footer-aura--fixed .site-footer--aura-panel .site-footer__inner {
  padding-top: clamp(var(--space-5), 3.5vw, var(--space-8));
  padding-bottom: 0;
}

.site-footer__blurb--aura {
  font-size: clamp(0.8125rem, 1.05vw, 0.9375rem);
  line-height: 1.65;
  max-width: none;
}

.site-footer-aura__shaped-row {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--space-6), 4vw, var(--space-9));
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-9));
  padding-top: clamp(var(--space-5), 3vw, var(--space-7));
  padding-bottom: clamp(0.75rem, 2vw, var(--space-4));
  box-sizing: border-box;
}

.site-footer-aura__blurb-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.125rem);
  width: 100%;
}

.site-footer-aura__shaped-row-blurb {
  margin: 0;
  text-align: center;
  max-width: none;
}

.site-footer-aura.site-footer-aura--fixed .site-footer-aura__shaped-row {
  padding-bottom: clamp(var(--space-4), 2vw + 0.5rem, var(--space-5));
}

/* Scroll-linked fade + lift (driven by --footer-reveal from main.js) */
.site-footer-aura.site-footer-aura--fixed .site-footer-aura__body > [data-footer-reveal] {
  position: relative;
  z-index: 1;
  opacity: calc(0.12 + var(--footer-reveal) * 0.88);
  transform: translate3d(0, calc((1 - var(--footer-reveal)) * 2.25rem), 0);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.site-footer-aura.site-footer-aura--fixed .site-footer-aura__body > [data-footer-reveal]:nth-child(1) {
  transition-delay: 0ms;
}

.site-footer-aura.site-footer-aura--fixed .site-footer-aura__body > [data-footer-reveal]:nth-child(2) {
  transition-delay: 55ms;
}

.site-footer-aura.site-footer-aura--fixed .site-footer-aura__body > [data-footer-reveal]:nth-child(3) {
  transition-delay: 110ms;
}

.reduce-motion .site-footer-aura.site-footer-aura--fixed {
  --footer-reveal: 1;
}

.reduce-motion .site-footer-aura__parallax {
  transform: none !important;
  will-change: auto;
}

.reduce-motion .site-footer-aura.site-footer-aura--fixed .site-footer-aura__body > [data-footer-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.site-footer-aura__shaped {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4) var(--space-6);
  padding-inline: 0;
  width: 100%;
}

.site-footer-aura__rights {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text-muted);
}

/* Bottom row: copyright left, legal links right (replaces Aura “Shaped by Onda” slot) */
.site-footer__legal-nav--aura-shaped {
  justify-content: flex-end;
}

.site-footer__legal-nav--aura-shaped a {
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
  line-height: 1.35;
}

@media screen and (max-width: 767px) {
  .site-footer-aura.site-footer-aura--fixed {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .site-footer-aura.site-footer-aura--fixed::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
  }

  .site-footer-aura.site-footer-aura--fixed .site-footer-aura__inner {
    padding-left: max(clamp(var(--space-4), 4vw, var(--space-6)), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(var(--space-4), 4vw, var(--space-6)), env(safe-area-inset-right, 0px));
  }

  /* One horizontal gutter: inner only (was nested padding + .section__inner on CTA) */
  .site-footer-aura__cta.section__inner {
    padding-inline: 0;
  }

  .site-footer-aura__cta {
    padding-bottom: clamp(var(--space-5), 4vw, var(--space-7));
  }

  .site-footer-aura__shaped-row {
    padding-inline: 0;
    padding-top: var(--space-5);
    gap: var(--space-5);
  }

  .site-footer-aura__shaped-row-blurb,
  .site-footer__blurb--aura {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.7;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .site-footer__blurb--aura {
    color: rgba(255, 255, 255, 0.58);
  }

  .site-footer-aura__shaped {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding-top: var(--space-1);
  }

  .site-footer__legal-nav--aura-shaped {
    justify-content: flex-start;
    gap: var(--space-4);
  }

  .site-footer-aura__rights {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .site-footer-aura__wordmark-img {
    width: min(92vw, 28rem);
    max-width: 100%;
  }

  .footer-cta__actions {
    width: 100%;
    justify-content: center;
  }

  .footer-cta__actions .btn--primary {
    max-width: 100%;
  }
}

/* Legal pages (Privacy, Terms) */
.legal-doc {
  padding-block: clamp(var(--space-8), 6vw, var(--space-11));
  background: var(--bg);
}

.legal-doc__inner {
  max-width: 42rem;
}

.legal-doc__title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.legal-doc__updated {
  margin: 0 0 var(--space-7);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legal-doc article > p {
  margin: 0 0 var(--space-5);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-doc article > p:last-child {
  margin-bottom: 0;
}

.legal-doc h2 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: var(--space-8) 0 var(--space-3);
  color: var(--text);
}

.legal-doc h2:first-of-type {
  margin-top: var(--space-6);
}

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc a:hover {
  color: var(--accent-hover);
}

.legal-doc__list {
  margin: 0 0 var(--space-5);
  padding-left: 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-doc__list li {
  margin-bottom: var(--space-3);
}

.legal-doc__list li:last-child {
  margin-bottom: 0;
}

/* Aura responsive type + primary CTA (max-width 991px / 767px) */
@media screen and (max-width: 991px) {
  .hero__title {
    font-size: 50px;
  }

  .btn--primary,
  .btn--primary-white,
  .btn--secondary-aura {
    width: auto;
    min-width: 10rem;
    max-width: 100%;
    padding: 0.22em 0.32em 0.22em 1.1em;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }

  h2,
  .heading-large,
  .section-header__title,
  .footer-cta__title {
    font-size: 2rem;
  }

  .footer-cta__title--aura {
    font-size: clamp(1.85rem, 9.2vw, 3rem);
  }

  h3,
  .heading-medium,
  .section-header__title--compact {
    font-size: 1.5rem;
  }

  .card__title {
    font-size: 1.25rem;
    line-height: 1.28;
  }

  h4,
  .heading-small {
    font-size: 1rem;
  }

  .heading-xlarge {
    font-size: 2.5rem;
  }

  .stat-block__figure {
    font-size: clamp(1.65rem, 6.2vw, 4rem);
    letter-spacing: 0.002em;
  }

  @supports (container-type: inline-size) {
    .stat-block__figure {
      font-size: clamp(1.65rem, 10.8cqi, 4.25rem);
    }
  }

  .text-size-large {
    font-size: 1.25rem;
  }

  .hero__title {
    font-size: 50px;
  }

  #main .section__inner {
    padding-left: max(clamp(var(--space-4), 5vw, var(--space-9)), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(var(--space-4), 5vw, var(--space-9)), env(safe-area-inset-right, 0px));
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem) scale(0.99);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section__inner--hero > [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.section__inner--hero > [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.section__inner--hero > [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.section__inner--hero > [data-reveal]:nth-child(4) { transition-delay: 210ms; }
.section__inner--hero > [data-reveal]:nth-child(5) { transition-delay: 280ms; }

.hero__title[data-reveal] {
  transform: translateY(1.25rem) scale(0.985);
}

.hero__title[data-reveal].is-inview {
  transform: translateY(0) scale(1);
}

[data-reveal].is-inview .rule--grow,
[data-reveal-stagger].is-inview .rule--grow {
  transform: scaleX(1);
}

[data-reveal-stagger] > .card,
[data-reveal-stagger] > li,
[data-reveal-stagger] > .profile-tile,
[data-reveal-stagger] > .cases-pillar {
  opacity: 0;
  transform: translateY(1.15rem);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

[data-reveal-stagger].is-inview > .card:nth-child(1),
[data-reveal-stagger].is-inview > li:nth-child(1),
[data-reveal-stagger].is-inview > .profile-tile:nth-child(1),
[data-reveal-stagger].is-inview > .cases-pillar:nth-child(1) {
  transition-delay: 0ms;
}

[data-reveal-stagger].is-inview > .card:nth-child(2),
[data-reveal-stagger].is-inview > li:nth-child(2),
[data-reveal-stagger].is-inview > .profile-tile:nth-child(2),
[data-reveal-stagger].is-inview > .cases-pillar:nth-child(2) {
  transition-delay: 70ms;
}

[data-reveal-stagger].is-inview > .card:nth-child(3),
[data-reveal-stagger].is-inview > li:nth-child(3),
[data-reveal-stagger].is-inview > .profile-tile:nth-child(3),
[data-reveal-stagger].is-inview > .cases-pillar:nth-child(3) {
  transition-delay: 140ms;
}

[data-reveal-stagger].is-inview > .card:nth-child(4),
[data-reveal-stagger].is-inview > li:nth-child(4),
[data-reveal-stagger].is-inview > .profile-tile:nth-child(4),
[data-reveal-stagger].is-inview > .cases-pillar:nth-child(4) {
  transition-delay: 210ms;
}

[data-reveal-stagger].is-inview > .card,
[data-reveal-stagger].is-inview > li,
[data-reveal-stagger].is-inview > .profile-tile,
[data-reveal-stagger].is-inview > .cases-pillar {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-inview .rule--grow { transition-delay: 0.35s; }

.reduce-motion [data-reveal],
.reduce-motion [data-reveal-stagger] > .card,
.reduce-motion [data-reveal-stagger] > li,
.reduce-motion [data-reveal-stagger] > .profile-tile,
.reduce-motion [data-reveal-stagger] > .cases-pillar,
.reduce-motion .cases-v2__list[data-reveal-stagger] > .cases-v2__block {
  opacity: 1;
  transform: none;
  transition: none;
}

.reduce-motion [data-reveal] .rule--grow,
.reduce-motion [data-reveal-stagger] .rule--grow {
  transform: scaleX(1);
  transition: none;
}

.reduce-motion .site-header[data-reveal] {
  opacity: 1;
  transform: none;
}

.reduce-motion .btn--primary .btn__label,
.reduce-motion .btn--primary .btn__circle--black,
.reduce-motion .hero__accent,
.reduce-motion .stat-block__currency,
.reduce-motion .stat-block__value,
.reduce-motion #work .card__icon-img,
.reduce-motion .profile-tile__verified-img {
  animation: none;
}

.reduce-motion .btn--primary .btn__label,
.reduce-motion .btn--primary .btn__circle--black {
  background-image: var(--accent-gradient);
  background-size: 100% 100%;
  background-position: 50% 50%;
}

.reduce-motion .hero__accent,
.reduce-motion .stat-block__currency,
.reduce-motion .stat-block__value,
.reduce-motion #work .card__icon-img,
.reduce-motion .profile-tile__verified-img {
  background-image: var(--accent-gradient);
  background-size: 100% 100%;
  background-position: 50% 50%;
}
