:root {
  --page-bg: #ffffff;
  --card-bg: #ececef;
  --ink: #11142d;
  --paper: #f9f8f4;
  --gold: #ffdb9d;
  --star: #dfb300;
  --font-display: "neue-haas-grotesk-display", "Helvetica Neue", Arial, sans-serif;
  --motion-ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { background: var(--page-bg); }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-display);
}

a { color: inherit; }

/* ---------- Button text/icon swap (hover + focus) ---------- */

.btn-swap {
  overflow: hidden;
}

.btn-swap-track {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  height: 200%;
  transform: translateY(0);
  transition: transform 450ms var(--motion-ease-out);
}

.btn-swap-slot {
  display: flex;
  height: 50%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-swap:hover .btn-swap-track,
.btn-swap:focus-visible .btn-swap-track {
  transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
  .btn-swap-track { transition-duration: .01ms !important; }
}

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

.hero-section {
  width: 100%;
  padding: 12px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100dvh - 24px);
  padding: 20px 16px;
  border-radius: 20px;
  background: var(--card-bg);
}

.hero-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-brand {
  display: flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 80px;
  background: #fff;
}

.hero-brand img {
  display: block;
  width: 16px;
  height: auto;
}

.hero-links {
  display: flex;
  order: 3;
  flex: 1 1 100%;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 24px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-links::-webkit-scrollbar { display: none; }

.hero-links a {
  display: inline-flex;
  align-items: center;
  height: 20px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.hero-call {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26px;
  text-decoration: none;
  white-space: nowrap;
}

.hero-chat {
  display: flex;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  background: var(--ink);
}

.hero-chat svg { width: 20px; height: 20px; }

.hero-content {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 40px 4px;
}

.hero-name {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-size: clamp(52px, 15vw, 84px);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  padding-right: 16px;
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
}

.hero-proof {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.hero-description {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.hero-locale {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.hero-flag {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: auto;
}

.hero-featured {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 100px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 220ms var(--motion-ease-out);
}

.hero-featured:hover,
.hero-featured:focus-visible { background: var(--gold); }

.hero-call:focus-visible,
.hero-chat:focus-visible,
.hero-featured:focus-visible,
.hero-brand:focus-visible,
.hero-links a:focus-visible {
  outline: 3px solid #fb317b;
  outline-offset: 3px;
}

/* ---------- ≥640px: nav pill returns to a single row ---------- */

@media (min-width: 640px) {
  .hero-section { padding: 16px; }

  .hero-card { padding: 24px; }

  .hero-links {
    order: 0;
    flex: 0 1 auto;
    padding: 0 24px;
    margin-right: auto;
    margin-left: 16px;
  }

  .hero-actions { margin-left: 0; }

  .hero-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-featured { width: auto; padding: 0 28px; }
}

/* ---------- ≥1024px: desktop hero layout from Figma ---------- */

@media (min-width: 1024px) {
  .hero-section { padding: 24px; }

  .hero-card {
    min-height: calc(100dvh - 48px);
    padding: 20px;
    border-radius: 24px;
  }

  .hero-header { padding: 0 8px; }

  .hero-brand {
    width: 56px;
    height: 56px;
    padding: 8px;
  }

  .hero-brand img { width: 20px; }

  .hero-links {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 56px;
    padding: 0 24px;
    margin-left: 4px;
    border-radius: 64px;
    background: #fff;
  }

  .hero-links a { height: 21px; font-size: 14px; }

  .hero-actions { gap: 2px; }

  .hero-call { height: 58px; padding: 0 24px; font-size: 16px; letter-spacing: .32px; }

  .hero-chat { width: 58px; height: 58px; }
  .hero-chat svg { width: 24px; height: 24px; }

  .hero-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: center;
    padding: 0 8px;
  }

  .hero-name {
    grid-column: 1 / span 6;
    font-size: clamp(84px, 7vw, 120px);
    letter-spacing: -.01em;
  }

  .hero-info { grid-column: 8 / span 5; max-width: 426px; }

  .hero-description { font-size: 22px; line-height: 1.63; }

  .hero-proof { font-size: 22px; }

  .hero-footer { padding: 0 8px; }

  .hero-locale { font-size: 16px; }

  .hero-featured { height: 60px; padding: 0 32px; font-size: 16px; }
}

/* ---------- Strategy (scroll-scatter) ---------- */

.strategy-section {
  width: 100%;
  background: var(--page-bg);
}

.strategy-pin {
  position: relative;
}

.strategy-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

.strategy-title {
  order: -1;
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--ink);
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: center;
}

.strategy-list {
  display: grid;
  width: 100%;
  max-width: 640px;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

.strategy-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card-bg);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--motion-ease-out), transform 600ms var(--motion-ease-out);
}

.strategy-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- ≥900px: scroll-scrubbed scatter (JS-enhanced only) ---------- */

@media (min-width: 900px) {
  .strategy-section.js-scatter .strategy-pin { height: 260vh; }

  .strategy-section.js-scatter .strategy-stage {
    position: sticky;
    top: 0;
    display: block;
    height: 100vh;
    padding: 0;
    overflow: hidden;
  }

  .strategy-section.js-scatter .strategy-title {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    order: 0;
    width: min(1048px, 80%);
    max-width: none;
    margin: 0;
    transform: translate(-50%, -50%);
    color: var(--ink);
    font-size: clamp(40px, 5vw, 88px);
    letter-spacing: -.02em;
    opacity: 0;
    pointer-events: none;
  }

  .strategy-section.js-scatter .strategy-list {
    display: block;
    position: absolute;
    z-index: 2;
    inset: 0;
    max-width: none;
  }

  .strategy-section.js-scatter .strategy-card {
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: auto;
    opacity: 1;
    border-radius: 24px;
    transition: none;
    will-change: transform;
  }
}

/* ---------- About (scroll text reveal) ---------- */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 64px 20px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}

.about-stat-number {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.22;
}

.about-stat-label {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.about-divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(17, 20, 45, .15);
}

.about-copy-col {
  display: flex;
  flex-direction: column;
}

.about-copy {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.about-copy:last-child { margin-bottom: 0; }

.reveal-word { color: #c2c2c2; }

/* ---------- ≥1024px: two-column layout from Figma ---------- */

@media (min-width: 1024px) {
  .about-section {
    flex-direction: row;
    align-items: center;
    gap: 156px;
    padding: 120px 80px;
  }

  .about-stats { flex-shrink: 0; width: 373px; }

  .about-stat-number { font-size: 48px; }

  .about-stat-label { font-size: 22px; }

  .about-copy-col { flex: 1 0 0; max-width: 1029px; }

  .about-copy { font-size: 36px; }
}

/* ---------- Work ---------- */

.work-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.work-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 8vw, 72px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.work-title-strong { font-weight: 700; }
.work-title-light { font-weight: 400; }

.work-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.work-card-mask {
  position: relative;
  aspect-ratio: 774 / 535;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card-bg);
}

.work-card-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 600ms var(--motion-ease-out);
}

.work-card:hover .work-card-bg,
.work-card:focus-visible .work-card-bg {
  transform: scale(1.08);
}

.work-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
}

.work-card-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.work-card-role {
  color: rgba(17, 20, 45, .7);
  font-size: 14px;
  letter-spacing: -.02em;
  text-align: right;
}

.work-card:focus-visible {
  outline: 3px solid #fb317b;
  outline-offset: 6px;
  border-radius: 12px;
}

/* ---------- ≥900px: 2x2 grid from Figma ---------- */

@media (min-width: 900px) {
  .work-section { padding: 64px 80px 120px; gap: 16px; }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 40px;
  }

  .work-card { gap: 29px; }

  .work-card-mask { border-radius: 24px; }

  .work-card-caption { padding: 0 16px; }

  .work-card-name,
  .work-card-role { font-size: 22px; }
}

/* ---------- Process (accordion) ---------- */

.process-section {
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 12px;
}

.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 16px 32px;
  border-radius: 20px;
  background: var(--card-bg);
}

.process-tag {
  position: absolute;
  top: -22px;
  left: 50%;
  padding: 8px 20px;
  border-radius: 48px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.02em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.process-heading {
  margin: 74px 0 0;
  max-width: 320px;
  color: #000;
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 400;
  text-align: center;
}

.process-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 24px;
}

.process-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  width: 100%;
  padding: 20px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.process-item-number {
  order: 1;
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: font-size 450ms var(--motion-ease-out);
}

.process-item.is-active .process-item-number { font-size: 34px; }

.process-item-vertical-title { display: none; }

.process-item-content {
  order: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.process-item-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.process-item-desc {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  color: rgba(17, 20, 45, .8);
  font-size: 15px;
  line-height: 1.6;
  transition: max-height 450ms var(--motion-ease-out), opacity 300ms ease;
}

.process-item.is-active .process-item-desc {
  max-height: 240px;
  margin-top: 2px;
  opacity: 1;
}

.process-item-arrow {
  display: flex;
  order: 3;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 20, 45, .2);
  border-radius: 999px;
  color: var(--ink);
  transition: transform 400ms var(--motion-ease-out), background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.process-item.is-active .process-item-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.process-item:focus-visible {
  outline: 3px solid #fb317b;
  outline-offset: 3px;
}

/* ---------- <1024px: every card stays open, no expand affordance ---------- */

@media (max-width: 1023.98px) {
  .process-item { cursor: default; }

  .process-item-arrow { display: none; }
}

/* ---------- ≥1024px: horizontal expanding accordion from Figma ---------- */

@media (min-width: 1024px) {
  .process-section { padding: 24px; }

  .process-card { padding: 0 24px 24px; border-radius: 24px; }

  .process-tag { padding: 8px 32px; font-size: 22px; }

  .process-heading { max-width: 460px; margin-top: 84px; font-size: 32px; }

  .process-accordion {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    height: 520px;
    margin-top: 54px;
    padding-bottom: 8px;
  }

  .process-item {
    flex: 0 0 130px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    column-gap: 0;
    row-gap: 0;
    width: 130px;
    height: 100%;
    padding: 32px;
    overflow: hidden;
    position: relative;
    transition: flex-basis 550ms var(--motion-ease-out), width 550ms var(--motion-ease-out);
  }

  .process-item.is-active {
    flex: 0 0 380px;
    width: 380px;
    align-items: flex-start;
  }

  .process-item-number { font-size: 32px; font-weight: 300; }

  .process-item.is-active .process-item-number {
    font-size: 144px;
    font-weight: 400;
    line-height: 1;
    opacity: .3;
  }

  .process-item-vertical-title {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 200px;
    color: var(--ink);
    font-size: 20px;
    opacity: .5;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(90deg);
    transition: opacity 250ms ease;
  }

  .process-item.is-active .process-item-vertical-title { display: none; }

  .process-item-content {
    display: flex;
    position: absolute;
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
  }

  .process-item.is-active .process-item-content {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 300ms ease 300ms;
  }

  .process-item.is-active .process-item-title { font-size: 24px; font-weight: 400; }

  .process-item.is-active .process-item-desc {
    max-height: none;
    overflow: visible;
    font-size: 16px;
    line-height: 1.65;
    opacity: .8;
  }

  .process-item-arrow { margin: 0; }

  .process-item.is-active .process-item-arrow { display: none; }
}

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

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

.footer-section {
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding: 12px;
}

.footer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  padding: 40px 20px;
  border-radius: 20px;
  background: var(--card-bg);
}

.footer-watermark {
  position: absolute;
  z-index: 0;
  bottom: -.06em;
  left: 0;
  margin-left: -28px;
  padding-right: 50px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  color: #fff;
  opacity: .5;
  font-family: var(--font-display);
  font-size: clamp(64px, 20vw, 225px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -.06em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.footer-intro,
.footer-form,
.footer-legal {
  position: relative;
  z-index: 1;
}

.footer-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo {
  display: block;
  width: 32px;
  height: auto;
}

.footer-heading {
  margin: 0;
  max-width: 450px;
  color: var(--ink);
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.footer-field { width: 100%; }

.footer-input {
  width: 100%;
  padding: 18px 24px;
  border: 0;
  border-radius: 325px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.footer-textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 20px 24px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

.footer-input::placeholder,
.footer-textarea::placeholder { color: rgba(17, 20, 45, .55); }

.footer-input:focus-visible,
.footer-textarea:focus-visible,
.footer-call:focus-visible,
.footer-submit:focus-visible,
.footer-privacy:focus-visible {
  outline: 3px solid #fb317b;
  outline-offset: 2px;
}

.footer-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Populated by footer.js only when Turnstile is configured server-side;
   stays out of layout entirely (no visual change) until then. */
.footer-turnstile:empty { display: none; }

.footer-form-note {
  min-height: 20px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.footer-form-note.is-error { color: #c0392b; }
.footer-form-note.is-success { color: #1a7f37; }

.footer-submit {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 100px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.footer-submit:disabled { cursor: progress; opacity: .6; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 8px 0;
}

.footer-copy,
.footer-privacy {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
}

.footer-privacy { text-decoration: none; }
.footer-privacy:hover { text-decoration: underline; }

/* ---------- ≥1024px: two-column layout from Figma ---------- */

@media (min-width: 1024px) {
  .footer-section { padding: 24px; }

  .footer-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 633px;
    padding: 56px;
    border-radius: 24px;
  }

  .footer-intro { max-width: 460px; }

  .footer-heading { font-size: 48px; }

  .footer-form { max-width: 500px; gap: 12px; }

  .footer-legal { padding: 0 32px; }

  .footer-copy,
  .footer-privacy { font-size: 14px; }
}

/* ---------- Reveal titles ("Replay on" scroll re-trigger) ---------- */

.reveal-title-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms var(--motion-ease-out), transform 900ms var(--motion-ease-out);
  will-change: transform, opacity;
}

/* The stagger delay only applies while revealing; leaving/resetting for a
   replay stays instant so a quick scroll away-and-back doesn't feel laggy. */
.reveal-title.is-in-view .reveal-title-unit {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--reveal-i, 0) * 110ms);
}

/* The Hero name gets a longer pause before it starts on page load, so the
   page doesn't feel like it's firing the moment it appears. */
.hero-name.reveal-title.is-in-view .reveal-title-unit {
  transition-delay: calc(400ms + var(--reveal-i, 0) * 110ms);
}

/* Whole-block fade used for the hero's supporting text, cascading in
   after the name with a fixed delay between each block. */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--motion-ease-out), transform 900ms var(--motion-ease-out);
  will-change: transform, opacity;
}

.reveal-fade.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-social.reveal-fade.is-in-view { transition-delay: 650ms; }
.hero-description.reveal-fade.is-in-view { transition-delay: 850ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-featured { transition-duration: .01ms !important; }
  .strategy-card { transition-duration: .01ms !important; }
  .work-card-bg { transition-duration: .01ms !important; }
  .process-item,
  .process-item-number,
  .process-item-content,
  .process-item-desc,
  .process-item-arrow {
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .footer-submit { transition-duration: .01ms !important; }
  .reveal-title-unit,
  .reveal-fade {
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
