@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root,
[data-theme="dark"] {
  --bg: #0e0d0b;
  --bg-2: #161511;
  --ink: #f3efe6;
  --ink-2: rgba(243, 239, 230, 0.56);
  --muted: rgba(243, 239, 230, 0.42);
  --line: rgba(243, 239, 230, 0.12);
  --brass: #d6a466;
  --terracotta: #cf7354;
  --glass: rgba(18, 16, 13, 0.6);
  --glass-line: rgba(243, 239, 230, 0.14);
  --shade: 8, 7, 6;
  --glow: rgba(214, 164, 102, 0.12);
  --button-bg: #f3efe6;
  --button-ink: #12110e;
  color-scheme: dark;
}

[data-theme="ivory"] {
  --bg: #f3efe7;
  --bg-2: #ebe5d9;
  --ink: #1b221f;
  --ink-2: rgba(27, 34, 31, 0.6);
  --muted: rgba(27, 34, 31, 0.46);
  --line: rgba(27, 34, 31, 0.13);
  --brass: #a26d2c;
  --terracotta: #b45a3c;
  --glass: rgba(250, 247, 240, 0.78);
  --glass-line: rgba(27, 34, 31, 0.1);
  --shade: 30, 26, 20;
  --glow: rgba(162, 109, 44, 0.1);
  --button-bg: #1b221f;
  --button-ink: #f3efe7;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 18px/1.5 "Instrument Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
em {
  font-family: ui-serif, "New York", "Iowan Old Style", Charter, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--bg);
  padding: 8px 12px;
}
.wrap {
  width: min(100% - 80px, 1320px);
  margin-inline: auto;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
}
.wordmark {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}
.wordmark em {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.3em;
  color: var(--brass);
  margin: 0 0.1em;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav nav a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav nav a:hover {
  color: var(--ink);
}
.nav .pill {
  color: var(--button-ink) !important;
  background: var(--button-bg);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
}

/* Type */
.eyebrow,
.label,
.room-kicker,
.footnote,
.notes header,
.review {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--brass);
  margin: 0 0 22px;
}
.label {
  color: var(--ink);
  margin: 0;
}
.label span {
  color: var(--muted);
  margin-right: 14px;
}
h1,
.display {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
  margin: 0;
}
h1 {
  font-size: clamp(52px, 6.5vw, 112px);
}
.display {
  font-size: clamp(48px, 6.6vw, 112px);
}
.display--xl {
  font-size: clamp(52px, 7vw, 120px);
}
h1 em,
.display em {
  letter-spacing: -0.035em;
}
.lede {
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 30ch;
  margin: 28px 0 0;
}
.two-tone {
  font-size: clamp(30px, 3.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 450;
  color: var(--muted);
  margin: 0;
  max-width: 22ch;
}
.two-tone b {
  color: var(--ink);
  font-weight: 500;
}
.muted {
  color: var(--muted);
  font-size: 15px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: transform 0.25s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.text-link {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 16px;
}
.text-link:hover {
  color: var(--ink);
}

/* Statement sections: Replace Works pacing */
.statement {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 40px;
  padding: 26vh 0;
  border-top: 1px solid var(--line);
}
.statement--tight {
  padding-bottom: 10vh;
}
.statement .label {
  padding-top: 0.9em;
}
.statement .statement-body > * + * {
  margin-top: 64px;
}
.statement .statement-body > .lede {
  margin-top: 28px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
}
.split h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--brass);
  letter-spacing: 0.01em;
}
.split p {
  margin: 0;
  color: var(--ink-2);
  font-size: 19px;
}
.build-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  max-width: 920px;
}
.build-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.build-list span {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 13px;
  color: var(--muted);
  padding-top: 0.6em;
}
.build-list p {
  margin: 0;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.build-list b {
  color: var(--ink);
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
  max-width: 1000px;
}
.stats div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.stats dt {
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1;
  font-weight: 500;
}
.stats dd {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 26ch;
}

/* Pinned scenes */
.scene {
  position: relative;
  height: var(--length, 300vh);
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.stage {
  position: absolute;
  inset: 0;
}
.scene-canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
}
.has-renderer > img,
.has-renderer > .plinth {
  visibility: hidden;
}
[data-beat] {
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.caption {
  margin: 0;
  max-width: 470px;
  padding: 20px 24px;
  border-radius: 18px;
  font-size: 19px;
  line-height: 1.4;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  color: var(--ink-2);
}
.caption strong {
  color: var(--ink);
  font-weight: 500;
}
.caption-stack {
  position: absolute;
  left: 40px;
  bottom: 7vh;
  z-index: 3;
}
.caption-stack .caption,
.s4-flow .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: max-content;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}
.caption-stack .caption.is-active,
.s4-flow .caption.is-active {
  opacity: 1;
  transform: none;
}

/* S1 Arrive */
.s1 .stage {
  background: var(--bg);
}
.s1-store {
  transform-origin: 79% 58%;
}
.s1-world {
  opacity: 0;
}
.s1 .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--shade), 0.55), transparent 45%);
  opacity: 0;
  pointer-events: none;
}
.s1-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  z-index: 2;
}
.s1-copy > * {
  max-width: 46vw;
}
.s1-copy .lede {
  max-width: 30ch;
}
.s1-frame-ref {
  position: absolute;
  top: 15vh;
  right: 40px;
  bottom: 9vh;
  left: 52vw;
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  font:
    11px/1 ui-monospace,
    monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 10px auto 0;
  background: linear-gradient(var(--muted), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
  }
}

/* S2 Where we help */
.s2-world {
  transform-origin: 0 0;
}
.spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--sx, 50%) var(--sy, 50%),
    rgba(var(--shade), 0) var(--sr, 0px),
    rgba(var(--shade), var(--sd, 0.6)) calc(var(--sr, 0px) * 2.6 + 1px)
  );
}
.marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.marker span {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px;
  border-radius: 50%;
  background: var(--brass);
  border: 3px solid #fff8ec;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.45);
}
.marker span::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid #fff8ec;
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  from {
    transform: scale(0.4);
    opacity: 1;
  }
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}
.s2.has-room .marker {
  opacity: 1;
}
.s2-intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  color: #f3efe6;
}
.s2-intro .label {
  color: #f3efe6;
  margin-bottom: 28px;
}
.s2-intro .label span,
.s2-intro .lede {
  color: rgba(243, 239, 230, 0.72);
}
.s2-intro:not(.is-active) {
  opacity: 0;
  transform: translateY(-24px);
}
.rail {
  position: absolute;
  top: 104px;
  left: 40px;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.5s,
    transform 0.6s;
}
.s2.has-room .rail {
  opacity: 1;
  transform: none;
}
.rail li {
  padding: 5px 0 5px 18px;
  position: relative;
  color: var(--muted);
  transition: color 0.3s;
}
.rail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--line);
  transition:
    background 0.3s,
    transform 0.3s;
}
.rail li.is-active {
  color: var(--ink);
}
.rail li.is-active::before {
  background: var(--brass);
  transform: scale(1.4);
}
.room-cards {
  position: absolute;
  left: 40px;
  bottom: 7vh;
  width: min(500px, calc(100% - 80px));
  z-index: 3;
}
.room-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 26px 28px 24px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.room-card.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.room-kicker {
  color: var(--brass);
  margin: 0 0 12px;
  font-size: 11px;
}
.room-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}
.room-card h3 b {
  color: var(--ink);
  font-weight: 500;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  color: var(--ink-2);
}

/* S3 How we work */
.s3 .sticky {
  background: radial-gradient(60% 55% at 70% 55%, var(--glow), transparent 70%), var(--bg);
}
.s3-layout {
  height: 100%;
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 40px;
  padding: 108px 0 40px;
}
.s3-head {
  grid-column: 1;
  grid-row: 1;
}
.s3-head .label {
  margin-bottom: 26px;
}
.s3-head .display {
  font-size: clamp(44px, 5.4vw, 92px);
}
.s3-head .lede {
  max-width: 34ch;
}
.s3-steps {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  min-height: 260px;
}
.step {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(26px);
}
.step.is-active {
  opacity: 1;
  transform: none;
}
.step-no {
  display: block;
  font-family: ui-serif, "New York", Georgia, serif;
  font-style: italic;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.9;
  color: var(--brass);
  letter-spacing: -0.04em;
}
.step h3 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 19px;
  max-width: 34ch;
}
.s3-stage {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  min-height: 0;
}
.plinth {
  position: absolute;
  left: 50%;
  top: 66%;
  width: 62%;
  aspect-ratio: 3 / 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(8px);
}
.step-object {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 76vh);
  height: auto;
  translate: -50% -50%;
  opacity: 0;
  transform: translateY(60px) scale(0.9) rotate(var(--tilt, 0deg));
  transition:
    opacity 0.6s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.step-object.is-active {
  opacity: 1;
  transform: translateY(var(--lift, 0px)) scale(1) rotate(var(--tilt, 0deg));
}
.step-object.is-past {
  transform: translateY(-70px) scale(0.92);
}
[data-theme="dark"] .step-object {
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}
.s3-track {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  height: 12px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.s3-track::before,
.s3-track i {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--line);
  border-radius: 2px;
}
.s3-track i {
  right: auto;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, #b88a4d, var(--brass));
}
.s3-track b {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition:
    border-color 0.3s,
    background 0.3s;
}
.s3-track b.is-on {
  border-color: var(--brass);
  background: var(--brass);
}

/* S4 See it work */
.s4-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-top: 64px;
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  align-self: center;
}
.tabs button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}
.tabs button[aria-selected="true"] {
  background: var(--button-bg);
  color: var(--button-ink);
}
.s4-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 70vh;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-2);
}
.s4-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  opacity: 0;
  transform: scale(var(--kb, 1.06));
  transition: opacity 0.7s ease;
  will-change: transform, opacity;
}
.s4-shot.is-active {
  opacity: 1;
}
.s4-captions {
  position: absolute;
  left: 28px;
  bottom: 30px;
  z-index: 2;
}
.s4-progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  z-index: 2;
}
.s4-progress i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--brass);
  border-radius: 2px;
}
.s4 .caption span {
  display: block;
  font:
    11px/1 ui-monospace,
    monospace;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin-bottom: 10px;
}
.footnote {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  margin: 0;
}

/* S5 Close */
.s5 .stage {
  top: 18vh;
  left: 40vw;
  right: -8vw;
  bottom: 0;
}
.s5-world {
  object-fit: contain !important;
  object-position: 50% 40%;
  -webkit-mask-image: radial-gradient(ellipse 46% 52% at 50% 44%, #000 46%, transparent 78%);
  mask-image: radial-gradient(ellipse 46% 52% at 50% 44%, #000 46%, transparent 78%);
  transform-origin: 50% 40%;
  opacity: 0;
}
.s5-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.s5-copy .actions {
  pointer-events: auto;
}
.s5-copy:not(.is-active) {
  opacity: 0;
  transform: translateY(30px);
}
.s5-copy .label {
  margin-bottom: 28px;
}
.s5-copy .display {
  max-width: 12ch;
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 44px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer p {
  margin: 0;
}
.footer a {
  text-decoration: none;
}
.footer .wordmark {
  color: var(--ink);
}

/* Review chrome */
.review {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.review-name {
  padding: 0 10px;
  color: var(--muted);
}
.review button {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: inherit;
  text-transform: inherit;
  font: inherit;
}
.review button[aria-pressed="true"] {
  background: var(--button-bg);
  color: var(--button-ink);
}
.notes {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 60;
  width: 340px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  padding: 18px 20px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border: 1px dashed var(--brass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 13px;
  line-height: 1.45;
}
.notes header {
  display: flex;
  justify-content: space-between;
  color: var(--brass);
  font-size: 11px;
}
.notes-status {
  color: var(--muted);
}
.notes-title {
  font-size: 20px;
  margin: 8px 0 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.notes-meter {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.notes-meter i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--brass);
}
.notes-beat {
  margin: 10px 0 14px;
  color: var(--ink);
  font-size: 13px;
}
.notes-spec {
  margin: 0;
}
.notes-spec dt {
  font:
    10px/1 ui-monospace,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.notes-spec dd {
  margin: 6px 0 0;
  color: var(--ink-2);
}
.notes-spec dd ol {
  margin: 0;
  padding-left: 18px;
}
/* Small screens */
@media (max-width: 820px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    padding: 0 20px;
  }
  .nav nav a:not(.pill) {
    display: none;
  }
  .s1-copy {
    justify-content: flex-end;
    padding: 0 0 9vh;
  }
  .s1-copy > * {
    max-width: none;
  }
  .s1-frame-ref {
    top: 80px;
    left: 20px;
    right: 20px;
    bottom: 53vh;
  }
  .s1-store {
    object-position: 80% 50% !important;
    transform-origin: 72% 55%;
  }
  .s1 h1 {
    font-size: 52px;
  }
  .caption-stack {
    left: 20px;
    right: 20px;
    bottom: 4vh;
  }
  .caption {
    font-size: 17px;
    max-width: calc(100vw - 40px);
  }
  .statement {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 16vh 0;
  }
  .statement .statement-body > * + * {
    margin-top: 44px;
  }
  .split,
  .stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .build-list li {
    grid-template-columns: 44px 1fr;
  }
  .rail {
    display: none;
  }
  .room-cards {
    left: 20px;
    bottom: 4vh;
    width: calc(100% - 40px);
  }
  .room-card {
    padding: 20px;
  }
  .room-card h3 {
    font-size: 19px;
  }
  .s3-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    padding: 88px 0 28px;
  }
  .s3-head .lede {
    display: none;
  }
  .s3-stage {
    grid-column: 1;
    grid-row: 2;
  }
  .s3-steps {
    grid-column: 1;
    grid-row: 3;
    min-height: 210px;
  }
  .s3-track {
    display: none;
  }
  .step-object {
    width: min(100%, 42vh);
  }
  .s4-frame {
    aspect-ratio: 4 / 5;
    max-height: 62vh;
    border-radius: 22px;
  }
  .s4-captions {
    left: 14px;
    right: 14px;
    bottom: 26px;
  }
  .tabs button {
    padding: 8px 12px;
    font-size: 13px;
  }
  .s5 .stage {
    top: 52vh;
    left: -10vw;
    right: -10vw;
  }
  .s5-copy {
    justify-content: flex-start;
    padding-top: 112px;
  }
  .review {
    top: 72px;
    bottom: auto;
    right: 10px;
    padding: 4px;
  }
  .review-name {
    display: none;
  }
  .review button {
    padding: 6px 9px;
  }
  .tabs button {
    white-space: nowrap;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .notes {
    left: 12px;
    right: 12px;
    width: auto;
    top: auto;
    bottom: 72px;
    max-height: 42vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01s !important;
  }
}

/* Final motion surface. The default document remains complete without animation. */
:root,
[data-theme="dark"] {
  --ink-2: rgba(243, 239, 230, 0.67);
  --muted: rgba(243, 239, 230, 0.59);
  scrollbar-color: #6d6659 var(--bg);
}
[data-theme="ivory"] {
  --ink-2: rgba(27, 34, 31, 0.72);
  --muted: rgba(27, 34, 31, 0.65);
  scrollbar-color: #b1a48d var(--bg);
}
::selection {
  background: #d3ac78;
  color: #17150f;
}
a {
  text-underline-offset: 5px;
}
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
  outline-offset: 5px;
}
.scene-canvas {
  z-index: 0;
}
.s1 .scrim {
  z-index: 1;
}
.enhanced-motion .s1-store {
  clip-path: inset(15vh 40px 9vh 52vw round 28px);
}
.has-renderer > .spotlight,
.has-renderer > .marker {
  display: none;
}
.enhanced-motion [data-beat] {
  transition:
    opacity 0.14s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.enhanced-motion [data-beat].is-active {
  transition:
    opacity 0.35s ease 0.1s,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.s2-intro {
  pointer-events: none;
}
.s2-intro::before {
  content: "";
  position: absolute;
  inset: 0 -40px;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(16, 17, 13, 0.6),
    rgba(16, 17, 13, 0.15) 65%,
    transparent
  );
}
.s2-intro .display {
  max-width: 11ch;
}
.rail li {
  padding: 0 0 0 18px;
}
.rail button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 7px 0;
  color: inherit;
  text-align: left;
  font-size: 14px;
}
.rail button:hover {
  color: var(--ink);
}
.room-card {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
}
.tags li {
  color: var(--ink-2);
}
.s4-frame {
  isolation: isolate;
}
.s4-captions {
  pointer-events: none;
}
.s4 .caption {
  max-width: min(430px, calc(100vw - 110px));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  font-size: 17px;
}
.s4-progress i,
.s3-track i {
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.review button {
  min-height: 32px;
}
.review button:hover {
  background: var(--line);
}
.review button[aria-pressed="true"]:hover {
  background: var(--button-bg);
}
.review button[hidden] {
  display: none;
}
.s5 .stage {
  left: 39vw;
  right: -4vw;
  top: 16vh;
}
.enhanced-motion .s5-copy {
  pointer-events: none;
}
.enhanced-motion .s5-copy.is-active .actions {
  pointer-events: auto;
}
.static-process-object {
  display: none;
}

/* Reading mode is shared by reduced motion, a unavailable renderer, and no JavaScript. */
html:not(.enhanced-motion) .scene {
  height: auto;
}
html:not(.enhanced-motion) .sticky {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
}
html:not(.enhanced-motion) [data-beat] {
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: auto;
}
html:not(.enhanced-motion) .scene-canvas {
  display: none;
}
html:not(.enhanced-motion) .s1 .sticky {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 120px 40px 64px;
}
html:not(.enhanced-motion) .s1-copy {
  position: static;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  order: 0;
}
html:not(.enhanced-motion) .s1-copy > * {
  max-width: none;
}
html:not(.enhanced-motion) .s1-copy .lede {
  max-width: 45ch;
}
html:not(.enhanced-motion) .s1 .stage {
  position: relative;
  inset: auto;
  height: min(64vw, 640px);
  order: 1;
  border-radius: 24px;
  overflow: hidden;
}
html:not(.enhanced-motion) .s1-store {
  clip-path: none;
  object-fit: cover;
}
html:not(.enhanced-motion) .s1 .scrim,
html:not(.enhanced-motion) .s1-frame-ref,
html:not(.enhanced-motion) .scroll-cue {
  display: none;
}
html:not(.enhanced-motion) .caption-stack {
  position: static;
  order: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
html:not(.enhanced-motion) .caption-stack .caption {
  position: static;
  width: auto;
  max-width: none;
  background: none;
  backdrop-filter: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 24px 0 0;
}
html:not(.enhanced-motion) .s2 .sticky {
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}
html:not(.enhanced-motion) .s2-intro {
  position: relative;
  inset: auto;
  order: 0;
  color: var(--ink);
  padding: 30px 0 44px;
}
html:not(.enhanced-motion) .s2-intro::before {
  display: none;
}
html:not(.enhanced-motion) .s2-intro .label,
html:not(.enhanced-motion) .s2-intro .lede {
  color: var(--ink-2);
}
html:not(.enhanced-motion) .s2 .stage {
  position: relative;
  height: min(68vw, 720px);
  order: 1;
}
html:not(.enhanced-motion) .spotlight,
html:not(.enhanced-motion) .marker,
html:not(.enhanced-motion) .rail {
  display: none;
}
html:not(.enhanced-motion) .room-cards {
  position: static;
  order: 2;
  width: min(100% - 80px, 1320px);
  margin: 40px auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 54px;
}
html:not(.enhanced-motion) .room-card {
  position: relative;
  width: auto;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  padding: 26px 0;
}
html:not(.enhanced-motion) .s3-layout {
  display: block;
  height: auto;
  padding-block: 100px;
}
html:not(.enhanced-motion) .s3-head .lede {
  display: block;
  max-width: 44ch;
}
html:not(.enhanced-motion) .s3-stage,
html:not(.enhanced-motion) .s3-track {
  display: none;
}
html:not(.enhanced-motion) .s3-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 54px;
  margin-top: 60px;
}
html:not(.enhanced-motion) .step {
  position: relative;
  inset: auto;
}
html:not(.enhanced-motion) .static-process-object {
  display: block;
  width: min(80%, 360px);
  margin: 0 auto 28px;
}
html:not(.enhanced-motion) .step-no {
  font-size: 60px;
}
html:not(.enhanced-motion) .s4-layout {
  height: auto;
  padding: 0 0 100px;
}
html:not(.enhanced-motion) .s4-frame {
  aspect-ratio: auto;
  max-height: none;
  overflow: visible;
  border-radius: 0;
  background: none;
}
html:not(.enhanced-motion) .s4-shot {
  display: none;
  position: relative;
  opacity: 1;
  transform: none;
  aspect-ratio: 21/9;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}
html:not(.enhanced-motion) .s4:not([data-flow]) .s4-shot:first-child,
html:not(.enhanced-motion) .s4[data-flow="launch"] .s4-shot:first-child,
html:not(.enhanced-motion) .s4[data-flow="care"] .s4-shot[data-flow="care"],
html:not(.enhanced-motion) .s4[data-flow="buy"] .s4-shot[data-flow="buy"] {
  display: block;
}
html:not(.enhanced-motion) .s4-captions {
  position: relative;
  inset: auto;
  margin-top: 32px;
}
html:not(.enhanced-motion) .s4-flow:not([hidden]) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
html:not(.enhanced-motion) .s4-flow .caption {
  position: relative;
  inset: auto;
  width: auto;
  max-width: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
}
html:not(.enhanced-motion) .s4-progress {
  display: none;
}
html:not(.enhanced-motion) .s5 .sticky {
  min-height: 680px;
  padding-block: 110px;
}
html:not(.enhanced-motion) .s5-copy {
  position: relative;
  inset: auto;
  pointer-events: auto;
}
html:not(.enhanced-motion) .s5 .stage {
  top: 12%;
  left: 42%;
  right: 0;
  bottom: 5%;
}
html:not(.enhanced-motion) .s5-world {
  opacity: 1;
}

@media (max-width: 820px) {
  .enhanced-motion .s1-store {
    clip-path: inset(80px 20px 53vh 20px round 24px);
  }
  .s1 .actions {
    margin-top: 26px;
    gap: 22px;
  }
  .s2-intro .display {
    max-width: 12ch;
    font-size: clamp(42px, 10vw, 64px);
  }
  .s2-intro::before {
    inset: 0 -20px;
    background: linear-gradient(90deg, rgba(16, 17, 13, 0.64), rgba(16, 17, 13, 0.25));
  }
  .s2-intro .lede {
    max-width: 27ch;
  }
  .s3-layout {
    padding-top: 110px;
  }
  .s3-head .display {
    font-size: 46px;
  }
  .s3-steps {
    min-height: 208px;
  }
  .s3-head .label {
    margin-bottom: 17px;
  }
  .step-no {
    font-size: 56px;
  }
  .step h3 {
    font-size: 28px;
    margin-top: 10px;
  }
  .step p {
    font-size: 17px;
    max-width: 36ch;
  }
  .s4-layout {
    padding-top: 110px;
    gap: 15px;
  }
  .s4-frame {
    max-height: 64svh;
  }
  .s4 .caption {
    font-size: 15px;
    line-height: 1.4;
    padding: 15px 17px;
    max-width: calc(100vw - 68px);
  }
  .s4-captions {
    left: 14px;
    right: 14px;
  }
  .footnote {
    font-size: 9px;
    letter-spacing: 0.11em;
  }
  .s5 .stage {
    left: -10%;
    right: -10%;
    top: 50%;
  }
  .review {
    top: auto;
    bottom: 12px;
    right: 12px;
  }
  .review button {
    min-height: 34px;
  }
  html:not(.enhanced-motion) .s1 .sticky {
    padding: 110px 20px 56px;
    gap: 28px;
  }
  html:not(.enhanced-motion) .s1 .stage {
    height: 76vw;
  }
  html:not(.enhanced-motion) .caption-stack,
  html:not(.enhanced-motion) .room-cards,
  html:not(.enhanced-motion) .s3-steps,
  html:not(.enhanced-motion) .s4-flow:not([hidden]) {
    grid-template-columns: 1fr;
  }
  html:not(.enhanced-motion) .room-cards {
    width: calc(100% - 40px);
    gap: 6px;
  }
  html:not(.enhanced-motion) .s3-layout {
    padding-block: 70px;
  }
  html:not(.enhanced-motion) .s4 .caption {
    max-width: none;
  }
  html:not(.enhanced-motion) .s5 .sticky {
    padding: 75px 0 330px;
    min-height: 0;
  }
  html:not(.enhanced-motion) .s5 .stage {
    top: auto;
    bottom: 0;
    left: -10%;
    right: -10%;
    height: 350px;
  }
  html:not(.enhanced-motion) .s5-copy {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Reading contrast and safe space around the mobile review controls. */
[data-theme="ivory"] {
  --brass: #865719;
}
.s5 .stage {
  left: 47vw;
}
.static-process-object {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
html:not(.enhanced-motion) .s5 .sticky {
  overflow: clip;
}
@media (max-width: 820px) {
  .room-cards {
    bottom: 94px;
  }
  .caption-stack {
    bottom: 94px;
  }
  .s3-layout {
    padding-bottom: 90px;
  }
  .s3-steps {
    min-height: 206px;
  }
  .s5 .stage {
    left: -10%;
  }
  .footnote {
    font-size: 11px;
    letter-spacing: 0.025em;
  }
}
.scene-freeze {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.enhanced-motion .has-freeze > img,
.enhanced-motion .has-freeze > .plinth {
  visibility: hidden;
}
.has-renderer > .scene-freeze {
  visibility: hidden;
}
html:not(.enhanced-motion) .scene-freeze {
  display: none;
}
.enhanced-motion .s5-world {
  opacity: 1;
}
