@font-face {
  font-family: NotoSC;
  src: url("../assets/fonts/noto-sans-sc-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Martian;
  src: url("../assets/fonts/martian-grotesk-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: GlowSans;
  src: url("../assets/fonts/glow-sans/GlowSansSC-Compressed-ExtraBold.otf")
    format("opentype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --black: #08090a;
  --ink: #f2f2ee;
  --muted: #969a99;
  --line: rgba(255, 255, 255, 0.18);
  --red: #ff4f34;
  --pad: clamp(20px, 4.4vw, 68px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--black);
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: NotoSC, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
::selection {
  background: var(--red);
  color: #180300;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}
.shell {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}
.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
}
.mark {
  font:
    850 13px/1 Martian,
    sans-serif;
}
.mark b {
  color: var(--red);
}
.role {
  font:
    650 9px/1.3 Martian,
    sans-serif;
  color: #a6aaa8;
}
.enter {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: var(--ink);
  color: var(--black);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 850;
}
.asset-note {
  position: absolute;
  z-index: 12;
  right: var(--pad);
  bottom: 24px;
  color: #c4c7c5;
  font:
    650 8px/1 Martian,
    sans-serif;
}
.asset-note::before {
  content: "";
  display: inline-block;
  width: 18px;
  margin-right: 7px;
  border-top: 1px solid var(--red);
  vertical-align: middle;
}
.media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.18) contrast(1.12) brightness(0.72);
}
.red {
  color: var(--red);
}

/* 01 — action title */
.v1 {
  display: flex;
  align-items: end;
}
.v1 .media {
  left: 34%;
  width: 66%;
  object-position: center;
}
.v1::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #08090a 0 33%,
      rgba(8, 9, 10, 0.72) 47%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.15),
      transparent 54%,
      rgba(8, 9, 10, 0.84)
    );
}
.v1-main {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 160px var(--pad) 44px;
}
.v1 h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(74px, 9.5vw, 142px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.04em;
}
.v1 h1 span {
  display: block;
}
.v1-foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: clamp(70px, 13vh, 140px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font:
    650 9px/1.5 Martian,
    sans-serif;
  color: #858987;
}
.v1-foot strong {
  display: block;
  color: var(--ink);
  font:
    800 14px/1.3 NotoSC,
    sans-serif;
}

/* 02 — system state */
.v2 {
  display: grid;
  grid-template-columns: 42% 58%;
  padding-top: 88px;
}
.v2-left {
  position: relative;
  z-index: 3;
  padding: clamp(56px, 8vh, 100px) var(--pad) 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}
.v2 h1 {
  margin: 0;
  font-size: clamp(68px, 8vw, 122px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.04em;
}
.v2 h1 span {
  display: block;
}
.state-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.state-list div {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 750;
}
.state-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555a58;
}
.state-list .on i {
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(255, 79, 52, 0.12);
}
.state-list small {
  color: #6e7371;
  font:
    650 8px/1 Martian,
    sans-serif;
}
.v2-stage {
  position: relative;
  overflow: hidden;
}
.v2-stage .media {
  filter: saturate(0.15) contrast(1.2) brightness(0.58);
}
.v2-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 10, 0.08),
    rgba(8, 9, 10, 0.58)
  );
}
.v2-stage-word {
  position: absolute;
  z-index: 3;
  left: 5vw;
  bottom: 6vh;
  font:
    900 clamp(74px, 10vw, 160px) / 0.78 NotoSC,
    sans-serif;
  letter-spacing: -0.04em;
}
.v2-stage-word span {
  display: block;
  color: var(--red);
}

/* 03 — interactive verb */
.v3 {
  padding-top: 88px;
  display: grid;
  place-items: center;
}
.v3 .media {
  opacity: 0.54;
  filter: saturate(0.1) contrast(1.3) brightness(0.52);
  transform: scale(1.02);
}
.v3::after {
  content: "";
  position: absolute;
  inset: 88px 0 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 0 20%,
    rgba(8, 9, 10, 0.35) 56%,
    rgba(8, 9, 10, 0.9) 100%
  );
}
.v3-main {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - var(--pad) * 2));
  text-align: center;
}
.v3 h1 {
  margin: 0;
  font-size: clamp(64px, 8.7vw, 132px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.verb {
  display: inline-block;
  color: var(--red);
  min-width: 2.2em;
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease);
}
.verb.swap {
  opacity: 0;
  transform: translateY(16px);
}
.verb-nav {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin: 50px auto 0;
}
.verb-nav button {
  min-width: 118px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(8, 9, 10, 0.64);
  color: #858987;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.verb-nav button.active {
  background: var(--ink);
  color: var(--black);
}
.v3-result {
  margin-top: 22px;
  color: #8e9290;
  font:
    650 9px/1.5 Martian,
    sans-serif;
}

/* 04 — typographic slices */
.v4 {
  height: 100dvh;
  padding-top: 88px;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.slice {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 39% 61%;
  border-bottom: 1px solid var(--line);
}
.slice:last-child {
  border-bottom: 0;
}
.slice-word {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  padding-left: var(--pad);
  background: var(--black);
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
}
.slice:nth-child(2) {
  grid-template-columns: 61% 39%;
}
.slice:nth-child(2) .slice-word {
  grid-column: 2;
  grid-row: 1;
  background: var(--red);
  color: #240700;
}
.slice:nth-child(2) .slice-media {
  grid-column: 1;
  grid-row: 1;
}
.slice-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.slice-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.16) contrast(1.2) brightness(0.66);
  transition: transform 1.4s var(--ease);
}
.slice:hover video {
  transform: scale(1.06);
}
.slice-meta {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 14px;
  font:
    650 8px/1 Martian,
    sans-serif;
  color: #d0d2d1;
}

/* 05 — minimal manifesto */
.v5 {
  display: grid;
  place-items: center;
  padding-top: 88px;
}
.v5 .media {
  inset: 10% 16% 4%;
  width: 68%;
  height: 86%;
  object-fit: contain;
  filter: saturate(0.12) contrast(1.15) brightness(0.54);
  transition:
    filter 0.6s var(--ease),
    transform 1.4s var(--ease);
}
.v5::after {
  content: "";
  position: absolute;
  inset: 88px 0 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 10, 0.65),
      transparent 32% 68%,
      rgba(8, 9, 10, 0.65)
    ),
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.38),
      transparent 28%,
      rgba(8, 9, 10, 0.62)
    );
}
.v5-main {
  position: relative;
  z-index: 3;
  width: min(1320px, calc(100% - var(--pad) * 2));
}
.v5 h1 {
  margin: 0;
  font-size: clamp(64px, 8.8vw, 136px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-align: center;
}
.v5 h1 span {
  display: block;
}
.v5 .line2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 242, 238, 0.56);
  transition:
    color 0.45s var(--ease),
    -webkit-text-stroke 0.45s;
}
.v5:hover .line2 {
  color: var(--red);
  -webkit-text-stroke: 1px var(--red);
}
.v5:hover .media {
  filter: saturate(0.25) contrast(1.15) brightness(0.68);
  transform: scale(1.025);
}
.v5-index {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  bottom: 30px;
  display: flex;
  gap: 28px;
  color: #858987;
  font:
    650 9px/1.5 Martian,
    sans-serif;
}
.v5-index strong {
  color: var(--ink);
}

/* 06 — 04 slices resolve into 03 command */
.v6 {
  height: 100dvh;
  padding-top: 88px;
}
.sequence-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7e8280;
  font:
    650 8px/1 Martian,
    sans-serif;
}
.sequence-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 79, 52, 0.12);
}
.sequence-status span {
  position: relative;
  width: 68px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}
.sequence-status span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.sequence-status.playing span::after {
  animation: sequence-progress 4.05s linear forwards;
}
.sequence-status.complete span::after {
  animation: none;
  transform: scaleX(1);
}
@keyframes sequence-progress {
  to {
    transform: scaleX(1);
  }
}
.sequence-slices,
.command-stage {
  position: absolute;
  inset: 88px 0 0;
}
.sequence-slices {
  z-index: 4;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  clip-path: inset(0);
  transition:
    clip-path 0.75s var(--ease),
    opacity 0.45s ease 0.32s;
}
.v6[data-mode="command"] .sequence-slices {
  clip-path: inset(49.8% 0);
  opacity: 0;
  pointer-events: none;
}
.sequence-slice {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 39% 61%;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}
.sequence-slice:nth-child(2) {
  grid-template-columns: 61% 39%;
}
.sequence-slice:nth-child(2) .sequence-word {
  grid-column: 2;
  grid-row: 1;
}
.sequence-slice:nth-child(2) .sequence-media {
  grid-column: 1;
  grid-row: 1;
}
.sequence-word {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--pad);
  background: var(--black);
  transition:
    background 0.42s var(--ease),
    color 0.42s var(--ease);
}
.sequence-word small,
.command-words small {
  display: block;
  margin-bottom: 9px;
  color: #969a99;
  font:
    650 8px/1 Martian,
    sans-serif;
  letter-spacing: 0.06em;
}
.sequence-word small b {
  color: var(--red);
}
.sequence-word strong {
  font:
    800 clamp(54px, 7.1vw, 96px) / 0.88 GlowSans,
    NotoSC,
    sans-serif;
  letter-spacing: -0.03em;
}
.sequence-slice.active .sequence-word {
  background: var(--red);
  color: var(--black);
}
.sequence-slice.active .sequence-word small,
.sequence-slice.active .sequence-word small b {
  color: rgba(27, 6, 2, 0.64);
}
.sequence-media {
  min-height: 0;
  overflow: hidden;
}
.sequence-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(0.48);
  transform: scale(1.04);
  transition:
    filter 0.65s var(--ease),
    transform 1.25s var(--ease);
}
.sequence-slice.active video {
  filter: grayscale(0.68) contrast(1.12) brightness(0.76);
  transform: scale(1);
}
.command-stage {
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
  transition:
    opacity 0.6s ease 0.28s,
    transform 0.75s var(--ease) 0.2s;
}
.v6[data-mode="command"] .command-stage {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.command-media,
.command-shade,
.command-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.command-media video {
  object-fit: cover;
  opacity: 0;
  filter: grayscale(0.88) contrast(1.25) brightness(0.5);
  transition: opacity 0.65s ease;
}
.command-media video.active {
  opacity: 1;
}
.v6.command-charging .command-media video.active {
  animation: command-media-charge 4.2s linear both;
}
.command-shade {
  background: radial-gradient(
    circle at 50% 48%,
    rgba(8, 9, 10, 0.12) 0 18%,
    rgba(8, 9, 10, 0.52) 58%,
    rgba(8, 9, 10, 0.9) 100%
  );
}
.v6.command-charging .command-shade {
  animation: command-shade-release 4.2s linear both;
}
@keyframes command-media-charge {
  0% {
    filter: grayscale(1) saturate(1) contrast(1) brightness(0.46);
  }
  56% {
    filter: grayscale(0.78) saturate(1) contrast(1) brightness(0.58);
  }
  78% {
    filter: grayscale(0.28) saturate(1) contrast(1) brightness(0.78);
  }
  100% {
    filter: none;
  }
}
@keyframes command-shade-release {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.38;
  }
}
.command-main {
  position: relative;
  z-index: 4;
  width: min(1260px, calc(100% - var(--pad) * 2));
  text-align: center;
}
.command-words {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.8vw, 44px);
}
.command-words > i {
  width: clamp(30px, 4vw, 62px);
  border-top: 1px solid rgba(242, 242, 238, 0.3);
}
.command-words button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(242, 242, 238, 0.42);
  cursor: pointer;
  transition:
    color 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.command-words button:hover,
.command-words button:focus-visible {
  color: var(--ink);
}
.command-words button.active {
  color: var(--red);
  transform: translateY(-8px);
}
.command-words strong {
  display: block;
  white-space: nowrap;
  font:
    800 clamp(54px, 7.1vw, 96px) / 0.88 GlowSans,
    NotoSC,
    sans-serif;
  letter-spacing: -0.03em;
}
.command-words em {
  display: block;
  min-height: 1.5em;
  margin-top: 18px;
  color: rgba(242, 242, 238, 0.34);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.46;
  transform: translateY(7px);
  transition:
    color 0.35s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.command-words button.active em {
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
}
.sequence-replay {
  position: absolute;
  z-index: 12;
  left: var(--pad);
  bottom: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #969a99;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  font:
    650 8px/1 Martian,
    sans-serif;
  letter-spacing: 0.12em;
}
.v6[data-mode="command"] .sequence-replay {
  opacity: 1;
  pointer-events: auto;
}

/* 06 — one continuous tear-to-command transformation */
.sequence-status.playing span::after {
  animation-duration: 5.05s;
}
.v6 .sequence-slices {
  background: var(--black);
  clip-path: inset(0);
  opacity: 1;
  transition: opacity 0.34s ease;
}
.v6 .sequence-slice {
  display: block;
  clip-path: inset(50% 0);
  transition: clip-path 0.72s var(--ease);
}
.v6 .sequence-slice .sequence-media {
  position: absolute;
  inset: 0;
}
.v6 .sequence-slice .sequence-word {
  position: absolute;
  inset: 0 auto 0 0;
  width: 39%;
  padding: 0;
}
.v6 .sequence-slice:nth-child(2) .sequence-word {
  left: 30.5%;
}
.v6 .sequence-slice:nth-child(3) .sequence-word {
  right: 0;
  left: auto;
}
.v6 .sequence-slice::after {
  content: "";
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 79, 52, 0.48) 30%,
    rgba(242, 242, 238, 0.9) 50%,
    rgba(255, 79, 52, 0.48) 70%,
    transparent
  );
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  pointer-events: none;
}
.v6 .sequence-slice.open {
  clip-path: inset(0);
}
.v6 .sequence-slice.open::after {
  animation: tear-sweep 0.72s var(--ease) both;
}
.v6[data-mode="clearing"] .sequence-slice,
.v6[data-mode="arranging"] .sequence-slice,
.v6[data-mode="command"] .sequence-slice {
  clip-path: inset(50% 0);
  transition-duration: 0.54s;
}
.v6[data-mode="arranging"] .sequence-slices {
  opacity: 0;
}
@keyframes tear-sweep {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 0.9;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}
.morph-words {
  position: absolute;
  z-index: 11;
  inset: 88px 0 0;
  pointer-events: none;
}
.morph-word {
  position: absolute;
  top: 50%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    transform 0.82s var(--ease),
    color 0.36s var(--ease),
    opacity 0.34s ease,
    clip-path 0.58s var(--ease);
  will-change: transform;
}
.morph-word.revealed {
  opacity: 1;
  clip-path: inset(0);
}
.morph-word[data-command="discover"] {
  left: 19.5%;
  transform: translate(-50%, calc(-50% - ((100dvh - 88px) / 3)));
}
.morph-word[data-command="restructure"] {
  left: 50%;
}
.morph-word[data-command="activate"] {
  left: 80.5%;
  transform: translate(-50%, calc(-50% + ((100dvh - 88px) / 3)));
}
.morph-word small {
  display: block;
  margin-bottom: 9px;
  color: #969a99;
  font:
    650 8px/1 Martian,
    sans-serif;
  letter-spacing: 0.06em;
  transition: color 0.36s var(--ease);
}
.morph-word strong {
  display: block;
  white-space: nowrap;
  font:
    800 clamp(54px, 7.1vw, 96px) / 0.88 GlowSans,
    NotoSC,
    sans-serif;
  letter-spacing: -0.03em;
}
.morph-word em {
  display: block;
  min-height: 1.5em;
  margin-top: 18px;
  color: rgba(242, 242, 238, 0.34);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px);
  transition:
    color 0.35s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.morph-word::before,
.morph-word::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -20px;
  left: 10%;
  height: 2px;
  pointer-events: none;
  opacity: 0;
}
.morph-word::before {
  background: rgba(242, 242, 238, 0.2);
}
.morph-word::after {
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}
.v6[data-mode="command"] .morph-word::before {
  opacity: 1;
}
.v6.command-charging .morph-word.active::after {
  opacity: 1;
  animation: command-charge 4.2s linear both;
}
@keyframes command-charge {
  to {
    transform: scaleX(1);
  }
}
.v6[data-mode="slices"][data-active="discover"]
  .morph-word[data-command="discover"],
.v6[data-mode="slices"][data-active="restructure"]
  .morph-word[data-command="restructure"],
.v6[data-mode="slices"][data-active="activate"]
  .morph-word[data-command="activate"] {
  color: var(--black);
}
.v6[data-mode="slices"][data-active="discover"]
  .morph-word[data-command="discover"]
  small,
.v6[data-mode="slices"][data-active="restructure"]
  .morph-word[data-command="restructure"]
  small,
.v6[data-mode="slices"][data-active="activate"]
  .morph-word[data-command="activate"]
  small {
  color: rgba(27, 6, 2, 0.64);
}
.morph-link {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: clamp(34px, 5vw, 72px);
  border-top: 1px solid rgba(242, 242, 238, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease 0.62s;
}
.morph-link.link-a {
  left: 31.2%;
}
.morph-link.link-b {
  left: 63.5%;
}
.v6[data-mode="arranging"] .morph-word,
.v6[data-mode="command"] .morph-word {
  text-align: center;
  transform: translate(-50%, -50%);
}
.v6[data-mode="arranging"] .morph-link,
.v6[data-mode="command"] .morph-link {
  opacity: 1;
}
.v6[data-mode="command"] .morph-words {
  pointer-events: auto;
}
.v6[data-mode="command"] .morph-word {
  color: rgba(242, 242, 238, 0.42);
  cursor: pointer;
  clip-path: none;
  will-change: auto;
}
.v6[data-mode="command"] .morph-word:hover,
.v6[data-mode="command"] .morph-word:focus-visible {
  color: var(--ink);
}
.v6[data-mode="command"] .morph-word.active {
  color: var(--red);
  transform: translate(-50%, calc(-50% - 8px));
}
.v6[data-mode="command"] .morph-word em {
  opacity: 0.46;
}
.v6[data-mode="command"] .morph-word.active em {
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
}

/* comparison shell */
.compare {
  height: 100dvh;
  overflow: hidden;
  background: #111315;
}
.compare-head {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid #303335;
}
.compare-title {
  font-weight: 900;
}
.compare-title small {
  display: block;
  color: #7e8280;
  font:
    650 8px/1 Martian,
    sans-serif;
}
.tabs {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.tabs button {
  height: 38px;
  padding: 0 14px;
  border: 1px solid #333638;
  border-radius: 9px;
  background: #191b1c;
  color: #969a99;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.tabs button.active {
  background: var(--red);
  color: #1d0502;
  border-color: var(--red);
}
.openpage {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--black);
  font-size: 11px;
  font-weight: 850;
}
.frame {
  display: block;
  width: 100%;
  height: calc(100dvh - 72px);
  border: 0;
  background: #08090a;
}

@media (max-width: 760px) {
  .topbar {
    height: 70px;
  }
  .role {
    display: none;
  }
  .asset-note {
    right: 20px;
    bottom: 16px;
  }
  .v1 {
    align-items: center;
  }
  .v1 .media {
    left: 0;
    width: 100%;
    object-position: 62% center;
  }
  .v1::after {
    background: linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.2),
      rgba(8, 9, 10, 0.3) 35%,
      rgba(8, 9, 10, 0.95) 78%
    );
  }
  .v1-main {
    padding: 100px 20px 26px;
  }
  .v1 h1 {
    font-size: 64px;
  }
  .v1 h1 span {
    white-space: nowrap;
  }
  .v1-foot {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 90px;
    font-size: 0;
  }
  .v1-foot strong {
    font-size: 11px;
  }
  .v2 {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .v2-left {
    position: absolute;
    z-index: 4;
    inset: 70px 0 0;
    border: 0;
    padding: 48px 20px 28px;
  }
  .v2 h1 {
    font-size: 70px;
  }
  .v2-stage {
    grid-column: 1;
  }
  .v2-stage-word {
    display: none;
  }
  .state-list {
    background: rgba(8, 9, 10, 0.68);
  }
  .v3 {
    padding-top: 70px;
  }
  .v3::after {
    inset: 70px 0 0;
  }
  .v3-main {
    width: calc(100% - 40px);
  }
  .v3 h1 {
    font-size: 52px;
    line-height: 0.92;
  }
  .verb-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }
  .verb-nav button {
    min-width: 0;
  }
  .v4 {
    padding-top: 70px;
  }
  .slice,
  .slice:nth-child(2) {
    grid-template-columns: 1fr 1fr;
  }
  .slice-word {
    padding-left: 20px;
    font-size: 50px;
  }
  .slice:nth-child(2) .slice-word {
    grid-column: 2;
  }
  .v5 {
    padding-top: 70px;
  }
  .v5::after {
    inset: 70px 0 0;
  }
  .v5 .media {
    inset: 10% -20% 4%;
    width: 140%;
    height: 86%;
  }
  .v5 h1 {
    font-size: 56px;
  }
  .v5-index {
    left: 20px;
    bottom: 20px;
    gap: 12px;
  }
  .compare-head {
    height: 118px;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 12px;
  }
  .tabs {
    grid-column: 1/-1;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
  .tabs button {
    padding: 0 4px;
  }
  .frame {
    height: calc(100dvh - 118px);
  }
  .v6 {
    padding-top: 70px;
  }
  .sequence-slices,
  .command-stage {
    inset: 70px 0 0;
  }
  .sequence-slice,
  .sequence-slice:nth-child(2) {
    grid-template-columns: 46% 54%;
  }
  .sequence-word {
    padding-left: 20px;
  }
  .sequence-word strong {
    font-size: clamp(48px, 13vw, 64px);
  }
  .command-main {
    width: calc(100% - 40px);
  }
  .command-words {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .command-words > i {
    width: 1px;
    height: 22px;
    margin: -6px auto;
    border-top: 0;
    border-left: 1px solid rgba(242, 242, 238, 0.3);
  }
  .command-words strong {
    font-size: clamp(50px, 14vw, 68px);
  }
  .command-words small {
    margin-bottom: 6px;
  }
  .command-words button.active {
    transform: translateX(8px);
  }
  .command-words em {
    margin-top: 10px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .slice-media video,
  .v5 .media,
  .verb,
  .sequence-slices,
  .sequence-word,
  .sequence-media video,
  .sequence-slice,
  .command-stage,
  .command-media video,
  .command-shade,
  .command-words button,
  .morph-word,
  .morph-link {
    transition: none !important;
  }
  .sequence-status span::after {
    animation: none;
    transform: scaleX(1);
    transform-origin: left;
  }
  .v6.command-charging .command-media video.active,
  .v6.command-charging .command-shade,
  .v6.command-charging .morph-word.active::after {
    animation: none !important;
  }
  .v6.command-charging .command-media video.active {
    filter: none !important;
  }
  .v6.command-charging .command-shade {
    opacity: 0.38;
  }
  .v6.command-charging .morph-word.active::after {
    transform: scaleX(1);
  }
}
