* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--fg-1);
  background: #000000;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
}

/* One screen: the hero fills whatever the footer leaves. */
body {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

body.is-loading {
  cursor: progress;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:not(.button):hover {
  opacity: 0.62;
}

a,
button {
  transition: opacity var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

:focus-visible {
  outline: none;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-focus);
}

::selection {
  color: var(--ink-0);
  background: var(--ink-1000);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.wrap,
.nav-inner,
.hero-inner {
  width: min(var(--site-read), calc(100% - (var(--site-gutter) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--fg-inverse);
  background: var(--bg-inverse);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--hairline-soft);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow var(--dur-base) var(--ease-standard);
}

.site-nav.is-scrolled {
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  height: var(--nav-h);
  align-items: center;
  gap: var(--space-7);
}

.brand img,
.footer-brand img {
  width: auto;
  height: 20px;
}

.nav-links {
  display: flex;
  gap: var(--space-6);
  color: var(--fg-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.nav-cta {
  margin-left: auto;
}

.nav-label-short {
  display: none;
}

.button {
  display: inline-flex;
  min-height: var(--space-7);
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

.button > span:last-child {
  transition: transform var(--dur-base) var(--ease-standard);
}

.button:hover > span:last-child {
  transform: translate3d(3px, -3px, 0);
}

.button:active {
  transform: scale(0.98);
}

.button-dark {
  color: var(--fg-inverse);
  background: var(--bg-inverse);
}

.button-dark:hover {
  background: var(--ink-700);
}

.button-light {
  color: var(--ink-1000);
  background: var(--ink-0);
}

.button-light:hover {
  background: var(--ink-150);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--fg-1);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.text-link span {
  transition: transform var(--dur-base) var(--ease-standard);
}

.text-link:hover span {
  transform: translateY(3px);
}

.text-link-light {
  color: var(--fg-inverse-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--fg-3);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}

.eyebrow-inverse {
  color: rgba(255, 255, 255, 0.52);
}

.eyebrow-dot {
  width: var(--space-2);
  height: var(--space-2);
  border-radius: 50%;
  background: currentColor;
}

.eyebrow-rule {
  width: var(--space-6);
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  overflow: hidden;
  color: var(--fg-inverse);
  background: var(--bg-inverse);
  isolation: isolate;
}

.attractor,
.hero-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.attractor {
  z-index: -2;
}

.hero-noise {
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  /* Top clears the fixed 82px header. */
  padding-block: calc(82px + var(--space-5)) var(--space-7);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1400px, 88vw);
  padding-block: 0;
}

.hero-copy > * {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  animation: hero-in 0.7s var(--ease-out) forwards;
  will-change: opacity, transform;
}

.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes hero-in {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hero h1 {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--fs-mega);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

/* No selection highlight on the headline, in any language. */
.hero h1::selection,
.hero h1 *::selection {
  color: var(--fg-inverse);
  background: transparent;
}

.hero-lead {
  max-width: 550px;
  margin-top: var(--space-7);
  color: var(--fg-inverse-2);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

/* Phone layouts show this empty box and app.js fits the attractor into it. */
.hero-stage {
  display: none;
}

.system-readout {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: var(--space-7);
  width: 310px;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--track-wide);
}

.readout-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--hairline-inverse);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.live-indicator i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-0);
  animation: live-pulse 1.8s var(--ease-standard) infinite;
}

@keyframes live-pulse {
  50% { opacity: 0.2; transform: scale(0.7); }
}

.system-readout dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: var(--space-3) 0 0;
  font-variant-numeric: tabular-nums;
}

.system-readout dl div {
  min-width: 0;
}

.system-readout dt {
  margin-bottom: var(--space-1);
  color: rgba(255, 255, 255, 0.3);
}

.system-readout dd {
  margin: 0;
}

.hero-caption {
  position: absolute;
  right: 0;
  top: var(--space-7);
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: var(--track-wide);
  text-align: right;
  text-transform: uppercase;
}

.signal-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-base);
}

.signal-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--space-7);
  padding-block: var(--space-5);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--track-eyebrow);
  white-space: nowrap;
  animation: signal-move 34s linear infinite;
  will-change: transform;
}

.signal-track i {
  color: var(--fg-mute);
  font-style: normal;
}

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

.section {
  padding-block: clamp(56px, 8vw, 128px);
}

.statement {
  padding-block: clamp(96px, 12vw, 192px);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.6fr);
  gap: var(--space-8);
}

.statement h2,
.section-heading h2,
.principles-copy > h2,
.final-cta h2 {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

.statement h2 {
  max-width: 1100px;
}

.statement-copy {
  max-width: 720px;
  margin-top: var(--space-7);
  color: var(--fg-2);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.statement .text-link {
  margin-top: var(--space-6);
}

.modes {
  background: var(--bg-soft);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.section-heading h2 {
  max-width: 720px;
  text-align: right;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.mode-card {
  min-width: 0;
}

.mode-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink-0);
  transform: translateZ(0);
}

.coordinate {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: var(--track-wide);
}

.orbit,
.core {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a {
  width: 58%;
  aspect-ratio: 1;
  animation: orbit-a 8s linear infinite;
}

.orbit-b {
  width: 34%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: orbit-b 6s linear infinite reverse;
}

.orbit::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: var(--space-2);
  height: var(--space-2);
  border-radius: 50%;
  background: var(--ink-1000);
  content: "";
}

.core {
  width: var(--space-3);
  height: var(--space-3);
  border: 0;
  background: var(--ink-1000);
}

@keyframes orbit-a {
  from { transform: translate(-50%, -50%) rotate(0deg) scaleY(0.54); }
  to { transform: translate(-50%, -50%) rotate(360deg) scaleY(0.54); }
}

@keyframes orbit-b {
  from { transform: translate(-50%, -50%) rotate(35deg) scaleY(0.72); }
  to { transform: translate(-50%, -50%) rotate(395deg) scaleY(0.72); }
}

.wave {
  position: absolute;
  left: 10%;
  width: 80%;
  height: 22%;
  border-top: 1px solid var(--ink-1000);
  border-radius: 50%;
  animation: wave-shift 4s var(--ease-standard) infinite alternate;
}

.wave-one { top: 30%; }
.wave-two { top: 48%; animation-delay: -1.2s; }
.wave-three { top: 66%; animation-delay: -2.4s; }

@keyframes wave-shift {
  from { transform: skewX(-14deg) scaleX(0.82); }
  to { transform: skewX(14deg) scaleX(1); }
}

.build-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--hairline-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-soft) 1px, transparent 1px);
  background-size: var(--space-6) var(--space-6);
  animation: grid-drift 8s linear infinite;
}

@keyframes grid-drift {
  to { background-position: var(--space-6) var(--space-6); }
}

.visual-build img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  transform: translate(-50%, -50%);
  animation: mark-breathe 4.2s var(--ease-emphasized) infinite alternate;
}

@keyframes mark-breathe {
  to { transform: translate(-50%, -50%) scale(1.08); }
}

.mode-copy {
  display: grid;
  grid-template-columns: var(--space-6) 1fr;
  column-gap: var(--space-4);
  padding: var(--space-5) var(--space-1) 0;
}

.mode-index {
  padding-top: 6px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 10px;
}

.mode-copy h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: var(--track-snug);
}

.mode-copy p {
  grid-column: 2;
  margin-top: var(--space-3);
  color: var(--fg-2);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: clamp(64px, 9vw, 160px);
  align-items: start;
}

.principles-stage {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-7));
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  color: var(--fg-inverse);
  background: var(--bg-inverse);
}

.stage-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--track-wide);
}

.stage-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(54%, 320px);
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
}

.stage-mark img {
  z-index: 2;
  width: 52%;
  filter: brightness(0) invert(1);
}

.stage-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline-inverse);
  border-radius: 50%;
  animation: stage-orbit 12s linear infinite;
}

.stage-ring::before {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-0);
  content: "";
}

.stage-ring-two {
  inset: 18%;
  animation-duration: 8s;
  animation-direction: reverse;
}

@keyframes stage-orbit {
  to { transform: rotate(360deg); }
}

.principles-stage > p {
  position: relative;
  z-index: 2;
  max-width: 11ch;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--track-snug);
}

.principles-copy {
  padding-top: var(--space-7);
}

.principles-copy > h2 {
  margin-top: var(--space-6);
}

.principle-list {
  margin: var(--space-9) 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: var(--space-7) 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--hairline);
}

.principle-list li > span {
  padding-top: var(--space-1);
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 10px;
}

.principle-list h3 {
  font-size: var(--fs-h4);
  font-weight: 600;
}

.principle-list p {
  margin-top: var(--space-2);
  color: var(--fg-2);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
}

.final-cta {
  padding-block: clamp(96px, 12vw, 192px);
  color: var(--fg-inverse);
  background: var(--bg-inverse);
}

.final-cta h2 {
  margin-top: var(--space-7);
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.92;
}

.final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--hairline-inverse);
}

.final-row p {
  color: var(--fg-inverse-2);
}

.site-footer {
  color: rgba(255, 255, 255, 0.52);
  background: var(--bg-inverse);
  font-size: var(--fs-xs);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-6);
  border-top: 1px solid var(--hairline-inverse);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.site-footer p {
  text-align: right;
}

.reveal > *,
.reveal-card {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-in-view > *,
.reveal-card.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.reveal.is-in-view > :nth-child(2) { transition-delay: 0.05s; }
.reveal.is-in-view > :nth-child(3) { transition-delay: 0.1s; }
.mode-grid .reveal-card:nth-child(2) { transition-delay: 0.05s; }
.mode-grid .reveal-card:nth-child(3) { transition-delay: 0.1s; }

@media (max-width: 980px) {
  .hero-copy {
    width: min(900px, 92vw);
  }

  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-8);
  }

  .mode-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - (var(--space-5) / 2));
  }

  .principles-layout {
    grid-template-columns: 1fr;
  }

  .principles-stage {
    position: relative;
    top: auto;
    min-height: 540px;
  }

  .principles-copy {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    gap: var(--space-5);
  }

  .nav-links {
    display: none;
  }

  /* Phones: a poster. The attractor fills the top of the hero - under the
     header, past both edges - and its tail tucks in behind the headline.
     The shared flex layout accounts for the footer, so do not force another
     full viewport of hero height here. */

  .hero-inner {
    align-items: stretch;
    /* Top clears the 66px phone header. */
    padding-top: 66px;
    padding-bottom: var(--space-6);
  }

  .hero-copy {
    display: grid;
    width: 100%;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
  }

  .hero-copy > .hero-stage {
    display: block;
    grid-row: 1;
    /* The artwork's box bleeds up under the header (where app.js fades it
       out), 18vw past each screen edge, and down behind the first line of
       the headline. */
    margin: -66px calc(var(--site-gutter) * -1 - 18vw) -28px;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    grid-row: 2;
    margin-top: 0;
    /* As wide as the screen allows; short screens keep room for the art. */
    font-size: clamp(44px, min(16.5vw, 8.6vh), 96px);
    font-size: clamp(44px, min(16.5vw, 8.6svh), 96px);
  }

  .hero-lead {
    position: relative;
    top: var(--space-5);
    grid-row: 3;
    max-width: 24em;
    margin-top: var(--space-4);
    font-size: 17px;
    line-height: var(--lh-base);
    text-wrap: pretty;
  }

  .hero-actions {
    position: relative;
    top: var(--space-5);
    grid-row: 4;
    margin-top: var(--space-5);
  }

  .system-readout {
    right: auto;
    left: 0;
    width: min(100%, 360px);
  }

  .hero-caption {
    display: none;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: var(--space-5);
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    order: 2;
  }

  .site-footer p {
    order: 3;
    text-align: left;
  }
}

/* Short phones (an SE with Safari's bars showing): tighter copy, so the CTA
   stays on the first screen. */
@media (max-width: 720px) and (max-height: 600px) {
  .hero-lead {
    margin-top: var(--space-3);
    font-size: 15.5px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: var(--space-4);
  }
}

@media (max-width: 640px) {
  .nav-cta {
    min-height: 40px;
    padding: 11px 18px;
  }

  .brand img {
    height: 17px;
  }

  .hero-actions,
  .final-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .mode-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .principles-stage {
    min-height: 440px;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    gap: var(--space-2);
  }

  .nav-label-full {
    display: none;
  }

  .nav-label-short {
    display: inline;
  }

  .nav-arrow {
    display: inline;
  }

  .system-readout dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phones held sideways: too wide for the stacked layout, too short for the
   desktop one. Copy on the left, the attractor fitted to the right. Touch
   devices only, so a small desktop window is untouched. */
@media (orientation: landscape) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .hero-inner {
    align-items: stretch;
    /* Top clears the 66px phone header. */
    padding-top: 66px;
    padding-bottom: var(--space-4);
  }

  .hero-copy {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: var(--space-5);
  }

  .hero h1 {
    grid-area: 2 / 1;
    margin-top: 0;
    font-size: min(14vh, 6.4vw);
    font-size: min(14svh, 6.4vw);
  }

  .hero-lead {
    grid-area: 3 / 1;
    max-width: 30em;
    margin-top: var(--space-4);
    font-size: 16px;
    line-height: var(--lh-base);
    text-wrap: pretty;
  }

  .hero-actions {
    grid-area: 4 / 1;
    margin-top: var(--space-5);
  }

  .hero-copy > .hero-stage {
    display: block;
    grid-area: 1 / 2 / -1 / 3;
    /* Up under the header (faded there by app.js) and out to the screen
       edge. */
    margin: -66px calc(var(--site-gutter) * -1) 0 0;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Touch screens: a tap must not leave a link stuck in its hover state. */
@media (hover: none) {
  a,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  a:not(.button):hover {
    opacity: 1;
  }

  a:not(.button):active {
    opacity: 0.62;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-copy > *,
  .reveal > *,
  .reveal-card {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .signal-track {
    transform: none;
    will-change: auto;
  }
}

/* ---------- Localized headline ----------
   English uses the original sizing. i18n.js fits the other languages into
   the box the English headline occupies; these rules cover script details. */
.hero h1.is-fitted > span {
  white-space: nowrap;
}

:root:not(:lang(en)) .hero-lead {
  text-wrap: pretty;
}

/* CJK glyphs are full-width: no negative tracking, looser leading. */
/* [data-measure] is i18n.js's hidden English probe: it keeps Latin metrics. */
:root:lang(ja) .hero h1:not([data-measure]),
:root:lang(ko) .hero h1:not([data-measure]),
:root:lang(zh) .hero h1:not([data-measure]) {
  letter-spacing: 0;
  line-height: 1.12;
}

/* Break Japanese between phrases, Korean between words, never mid-word. */
:root:lang(ja) body {
  word-break: auto-phrase;
  line-break: strict;
}

:root:lang(ko) body {
  word-break: keep-all;
}

:root:lang(zh) body {
  line-break: strict;
}

