/* ==========================================================================
   EMSAFE LLC — Landing page v3 "Future tech"
   Apple-inspired premium system: huge tight type, generous whitespace,
   pill buttons, neutral graphite + #f5f5f7 surfaces, translucent nav,
   soft shadows, one cobalt accent. No gradients.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Surfaces */
  --color-canvas: #f5f5f7;          /* light band */
  --color-card: #ffffff;
  --color-canvas-dark: #0a0c11;     /* near-black graphite */
  --color-surface-dark-soft: #16191f;
  --color-hairline: #e2e3e8;
  --color-hairline-on-dark: #262a33;

  /* Text */
  --color-ink: #101216;
  --color-body-muted: #585d66;      /* AA on canvas and card */
  --color-on-dark: #f5f5f7;
  --color-on-dark-muted: #a6adba;
  --color-on-dark-faint: #7d8491;

  /* Brand */
  --color-accent: #1f4fd8;          /* cobalt, on light surfaces */
  --color-accent-deep: #1840ad;
  --color-accent-bright: #4d80ff;   /* cobalt lifted for dark surfaces */
  --color-on-accent: #ffffff;

  /* Type */
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Spacing — 4pt scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-section: clamp(96px, 12vw, 160px);

  /* Shape, depth, motion */
  --radius-lg: 24px;
  --radius-pill: 980px;
  --shadow-card: 0 8px 32px rgba(13, 17, 23, 0.07);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  /* overscroll bounce reveals this behind the dark nav/hero — keep it dark */
  background: var(--color-canvas-dark);
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  background: var(--color-canvas);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

img, svg, canvas { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--space-lg);
  top: -48px;
  z-index: 100;
  background: var(--color-ink);
  color: var(--color-canvas);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ---- Typography ---- */
.display-xxl, .display-xl, .display-md {
  font-weight: 700;
  margin: 0;
}

.display-xxl {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.display-xl {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 20ch;
}

.display-md {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.body-lg { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; margin: 0; max-width: 56ch; }
.body-md { font-size: 17px; line-height: 1.6; margin: 0; max-width: 60ch; }
.body-sm { font-size: 13.5px; line-height: 1.5; margin: 0; }

/* Kicker above section headlines (Apple-style colored lead-in) */
.eyebrow {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-accent);
  margin: 0 0 var(--space-lg);
}
.eyebrow--on-dark { color: var(--color-accent-bright); }

.text-muted { color: var(--color-body-muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
              color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.99); }

.btn--primary { background: var(--color-ink); color: var(--color-canvas); }
.btn--primary:hover { background: #23262d; }

.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--accent:hover { background: var(--color-accent-deep); }

.btn--inverse { background: var(--color-canvas); color: var(--color-ink); }
.btn--inverse:hover { background: #ffffff; }

.btn--ghost-dark {
  background: transparent;
  color: var(--color-on-dark);
  border-color: rgba(245, 245, 247, 0.32);
}
.btn--ghost-dark:hover { background: rgba(245, 245, 247, 0.1); border-color: rgba(245, 245, 247, 0.5); }

.btn--outline { background: transparent; color: var(--color-ink); border-color: rgba(16, 18, 22, 0.28); }
.btn--outline:hover { border-color: var(--color-ink); }

.btn--sm { min-height: 40px; padding: 0 20px; font-size: 14.5px; }

/* ---- Logo ---- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-sm);
  text-decoration: none;
}
.logo__wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo__suffix {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-on-dark-faint);
}
.logo--on-light .logo__suffix { color: var(--color-body-muted); }

/* ---- Nav (translucent, blurred) ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  /* opaque at rest; turns translucent only once content scrolls beneath */
  background: var(--color-canvas-dark);
  color: var(--color-on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10, 12, 17, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--color-hairline-on-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  min-height: var(--nav-height);
}

.nav__links { display: flex; gap: var(--space-2xl); }
.nav__links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-on-dark-muted);
  transition: color 0.2s var(--ease-out);
}
.nav__links a:hover { color: var(--color-on-dark); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.nav__links a.is-active { color: var(--color-on-dark); }
.nav__links a.is-active::after { transform: translateX(-50%) scale(1); }

.nav__actions { display: flex; align-items: center; gap: var(--space-lg); }
.nav__actions .btn--primary { background: var(--color-canvas); color: var(--color-ink); }
.nav__actions .btn--primary:hover { background: #ffffff; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-hairline-on-dark);
  border-radius: 12px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--color-on-dark);
  transition: transform 0.3s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---- Mobile drawer ---- */
.drawer {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: 40;
  background: var(--color-canvas-dark);
  padding: var(--space-2xl) clamp(20px, 4vw, 48px);
}
.drawer__links { display: flex; flex-direction: column; gap: var(--space-xl); }
.drawer__links a {
  color: var(--color-on-dark);
  text-decoration: none;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.drawer__links .btn {
  margin-top: var(--space-lg);
  align-self: flex-start;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--color-ink); /* the generic drawer-link white would win otherwise */
}

/* ---- Hero: pinned 3-act scrollytelling ---- */
/* The section is tall (scroll runway); the stage stays pinned while
   scroll progress drives the 3D and the act copy. */
.hero {
  height: 320vh;
  background: var(--color-canvas-dark);
  color: var(--color-on-dark);
}

.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__act {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 24px) 24px 24px;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero__act--quote { opacity: 0; }

.hero__title {
  max-width: 15ch;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(10, 12, 17, 0.9);
}
.hero__lede {
  color: #ccd4de;
  margin: var(--space-xl) auto 0;
  max-width: 46ch;
  text-shadow: 0 1px 14px rgba(10, 12, 17, 0.95), 0 0 34px rgba(10, 12, 17, 0.8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.hero__act--1.is-live .hero__actions { pointer-events: auto; }

/* Liquid-glass pills: translucent fills that blur the 3D scene behind
   them, with a specular top edge like a lit glass rim. */
.hero .btn--accent {
  background: rgba(31, 79, 216, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}
.hero .btn--accent:hover { background: rgba(31, 79, 216, 0.75); }

.hero .btn--ghost-dark {
  background: rgba(245, 247, 250, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.hero .btn--ghost-dark:hover {
  background: rgba(245, 247, 250, 0.15);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero__line {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 16ch;
  margin: 0;
  text-shadow: 0 2px 28px rgba(10, 12, 17, 0.9);
}

.hero__scrollhint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(245, 247, 250, 0.07);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
  animation: hint-bob 2.4s var(--ease-out) infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Hero entrance */
.hero__title, .hero__lede, .hero__actions {
  animation: rise 1s var(--ease-out) both;
}
.hero__lede { animation-delay: 0.1s; }
.hero__actions { animation-delay: 0.2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---- Scroll reveals (DeedShield timing: 0.9s, one easing) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Zoom sections: "card coming forward" on scroll ---- */
[data-zoom] {
  transform: translateY(var(--zs-y, 0px)) scale(var(--zs-scale, 1));
  opacity: var(--zs-o, 1);
  will-change: transform, opacity;
}
.approach[data-zoom] { border-radius: var(--zs-r, 0px); }

/* ---- Word-by-word headline rise ---- */
.words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 0.05s);
}
.words.is-visible .w,
.is-visible .words .w {
  opacity: 1;
  transform: none;
}

/* ---- Problem: the pattern (dark continuation of the hero) ---- */
.problem {
  background: var(--color-canvas-dark);
  color: var(--color-on-dark);
  padding: var(--space-section) 0;
}
.problem__heading {
  color: #ffffff;
  max-width: 24ch;
  margin-bottom: var(--space-4xl);
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}
.problem__grid h3 { color: #ffffff; margin-bottom: var(--space-md); }
.problem__grid .body-md { color: var(--color-on-dark-muted); }

/* ---- Bridge: one editorial sentence between beats ---- */
.bridge { padding: var(--space-4xl) 0; }
.bridge__grid {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-2xl);
}
.bridge__rulecol { display: flex; justify-content: flex-end; padding-top: 6px; }
.bridge__rule {
  display: block;
  width: 1px;
  height: 96px;
  background: rgba(16, 18, 22, 0.3);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.2s var(--ease-out);
}
.bridge__grid:has(.is-visible) .bridge__rule { transform: scaleY(1); }

.bridge__line { max-width: 24ch; }
.bridge__support { margin-top: var(--space-xl); max-width: 52ch; }

/* highlighter sweep under the key phrase */
.hl { position: relative; display: inline-block; }
.hl__text { position: relative; z-index: 1; }
.hl__mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.3em;
  background: rgba(31, 79, 216, 0.22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out) 0.55s;
}
.is-visible .hl__mark { transform: scaleX(1); }

/* ---- Commitments ---- */
.commitments { padding: var(--space-section) 0; }

.commitments__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

/* rotating certificate seal */
.badge {
  flex: none;
  width: 150px;
  height: 150px;
  color: var(--color-accent);
}
.badge svg { width: 100%; height: 100%; display: block; }
.badge text {
  fill: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 600;
}
.badge__ring {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: badge-spin 30s linear infinite;
}
@keyframes badge-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 960px) {
  .badge { display: none; }
}

.commitment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.commitment-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-hairline);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.commitment-list:has(.commitment.is-visible)::before { transform: scaleX(1); }

.commitment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  align-items: baseline;
  gap: var(--space-xl) var(--space-4xl);
  padding: var(--space-2xl) 0;
}
/* hairline draws in from the left as each row reveals */
.commitment::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-hairline);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) var(--reveal-delay, 0s);
}
.commitment.is-visible::after { transform: scaleX(1); }

.commitment h3 {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* "kept promise" check: square + tick draw themselves in */
.commit-check {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.commit-check rect,
.commit-check path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1s var(--ease-out) calc(var(--reveal-delay, 0s) + 0.25s);
}
.commitment.is-visible .commit-check rect { stroke-dashoffset: 0; }
.commitment.is-visible .commit-check path {
  stroke-dashoffset: 0;
  transition-delay: calc(var(--reveal-delay, 0s) + 0.6s);
}

/* "won't promise" variant: crossed square in muted ink */
.commit-check--no { stroke: rgba(16, 18, 22, 0.45); }

/* ---- Honesty ---- */
.honesty { padding: 0 0 var(--space-section); }
.honesty__heading { margin-bottom: var(--space-4xl); }

/* ---- Capabilities marquee ---- */
.capabilities {
  background: #2a3d51; /* slate blue band */
  color: var(--color-on-dark);
  overflow: hidden;
  padding: 24px 0;
  margin-bottom: var(--space-section);
}
.capabilities__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.capabilities:hover .capabilities__track { animation-play-state: paused; }

.capabilities__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.capabilities__list li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.capabilities__list li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin: 0 28px;
  background: rgba(255, 255, 255, 0.5);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- Services ---- */
.services { padding: 0 0 var(--space-section); }
.services__heading { margin-bottom: var(--space-4xl); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
@media (max-width: 700px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(13, 17, 23, 0.11);
}
.service-card__glyph {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
}
/* glyphs draw their strokes on reveal */
.service-card__glyph rect,
.service-card__glyph path,
.service-card__glyph circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.3s var(--ease-out) calc(var(--reveal-delay, 0s) + 0.2s);
}
.service-card.is-visible .service-card__glyph rect,
.service-card.is-visible .service-card__glyph path,
.service-card.is-visible .service-card__glyph circle {
  stroke-dashoffset: 0;
}
.service-card h3 { margin-bottom: var(--space-md); }

/* ---- Approach ---- */
.approach {
  background: var(--color-canvas-dark);
  color: var(--color-on-dark);
  padding: var(--space-section) 0;
}
.approach__heading { color: #ffffff; margin-bottom: var(--space-4xl); }
.approach .body-md { color: var(--color-on-dark-muted); }

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}
.step {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-dark-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
/* progress line sweeps across each step tile as it reveals */
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out) calc(var(--reveal-delay, 0s) + 0.2s);
}
.step.is-visible::before { transform: scaleX(1); }
.step__index {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent-bright);
  margin-bottom: var(--space-lg);
}
.step h3 { color: #ffffff; margin-bottom: var(--space-md); }

/* ---- Company ---- */
.company { padding: var(--space-section) 0; }
.company__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 96px);
}
.company__body .body-md { margin-top: var(--space-xl); }

/* ---- CTA ---- */
.cta { border-top: 1px solid var(--color-hairline); padding: var(--space-section) 0; }
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: center;
  gap: var(--space-3xl);
}
.cta__lede { margin-top: var(--space-lg); }
.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-md);
}

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--color-hairline); padding-top: var(--space-3xl); }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-xl); }
.footer__links a {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--color-body-muted);
  transition: color 0.2s var(--ease-out);
}
.footer__links a:hover { color: var(--color-ink); }

.footer__wordmark {
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.78;
  text-align: center;
  color: #e6e7eb;
  overflow: hidden;
  user-select: none;
  transform: translateY(var(--wm-y, 0px));
  will-change: transform;
}
.footer__legal { padding: var(--space-lg) 0 var(--space-xl); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn { display: none; }

  .hero { height: 240vh; }

  .commitment { grid-template-columns: 1fr; gap: var(--space-md); }

  .problem__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .bridge__grid { grid-template-columns: 1fr; }
  .bridge__rulecol { display: none; }

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

  .company__grid, .cta__grid { grid-template-columns: 1fr; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .cta__actions .btn { flex: 0 0 auto; }
}

@media (max-width: 560px) {
  .step-grid { grid-template-columns: 1fr; }
  .cta__actions { flex-direction: column; align-items: stretch; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero__stage { position: relative; }
  .hero__act--quote, .hero__scrollhint { display: none; }
  .hero__act--1 { position: relative; inset: auto; pointer-events: auto; }
  .hero__act--1 .hero__actions { pointer-events: auto; }
  .hero__stage canvas { position: absolute; z-index: -1; opacity: 0.5; }
  .hero__title, .hero__lede, .hero__actions { animation: none; }
  .hero__scrollhint { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-zoom] { transform: none; opacity: 1; }
  .btn, .btn:hover, .service-card, .service-card:hover { transition: none; transform: none; }
  .capabilities__track { animation: none; }
  .words .w { opacity: 1; transform: none; transition: none; }
  .commitment::after, .commitment-list::before, .step::before { transform: scaleX(1); transition: none; }
  .commit-check rect, .commit-check path,
  .service-card__glyph rect, .service-card__glyph path, .service-card__glyph circle {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    transition: none;
  }
  .footer__wordmark { transform: none; }
  .badge__ring { animation: none; }
  .bridge__rule { transform: scaleY(1); transition: none; }
  .hl__mark { transform: scaleX(1); transition: none; }
}
