.word-field-section {
  position: relative;
  height: 900svh;
  color: #ef1824;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.capability-evidence-section {
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

.word-field-pin {
  position: sticky;
  top: var(--nav-height, 76px);
  height: calc(100svh - var(--nav-height, 76px));
  overflow: clip;
  background:
    linear-gradient(90deg, transparent calc(25% - .5px), rgba(255, 255, 255, .045) 25%, transparent calc(25% + .5px), transparent calc(50% - .5px), rgba(255, 255, 255, .045) 50%, transparent calc(50% + .5px), transparent calc(75% - .5px), rgba(255, 255, 255, .045) 75%, transparent calc(75% + .5px)),
    #000;
}

.word-field-shell {
  width: min(100%, 1920px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: clamp(18px, 2.2vw, 40px) clamp(18px, 3.2vw, 62px) clamp(20px, 2.5vw, 46px);
}

.word-field-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
  padding-bottom: clamp(15px, 1.6vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.word-field-label,
.word-field-status,
.word-field-status em {
  margin: 0;
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.word-field-label {
  color: #fff;
  opacity: var(--interface-reveal, 0);
}

.word-field-title {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(19px, 1.75vw, 32px);
  font-weight: 590;
  line-height: 1.08;
  letter-spacing: 0;
  opacity: calc(var(--interface-reveal, 0) * var(--detail-retention, 1));
}

.word-field-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  color: rgba(239, 24, 36, .72);
}

.word-field-status > span,
.word-field-status > em {
  opacity: calc(var(--interface-reveal, 0) * var(--detail-retention, 1));
}

.word-field-status i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}

.word-field-status b {
  position: absolute;
  inset: 0;
  display: block;
  background: #fff;
  transform: scaleX(var(--word-progress, 0));
  transform-origin: left;
}

.word-field-title,
.word-field-status {
  display: none;
}

.word-field-stage {
  min-height: 0;
  display: grid;
  align-items: center;
  padding-top: clamp(16px, 2vw, 34px);
}

.word-field-flow {
  width: 100%;
  max-height: 100%;
  font-family: "Noto Sans SC", "Noto Sans JP", "Microsoft YaHei", "PingFang SC", "Hiragino Sans", Arial, sans-serif;
  font-size: var(--word-size, 17px);
  font-weight: 420;
  line-height: var(--word-line-height, 1.48);
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
  overflow: visible;
  container-type: inline-size;
}

.word-field-token {
  --reveal: 0;
  --retention: 1;
  display: inline-block;
  margin-inline-end: .58em;
  color: #ef1824;
  white-space: nowrap;
  opacity: calc(var(--reveal) * var(--retention) * var(--source-retention, 1));
  will-change: opacity, color;
}

.word-field-token.is-category {
  --category-color: #ef1824;
  --accent: 0;
  --retention: 1;
  margin-inline: .1em .62em;
  font-weight: 760;
  color: var(--category-color);
}

.word-field-category-glyph {
  display: inline;
}

.word-field-token.is-category::before {
  content: '';
  width: .34em;
  height: .34em;
  display: inline-block;
  margin-inline-end: .28em;
  border-radius: 50%;
  background: var(--category-color);
  opacity: var(--accent, 0);
}

.word-field-physics {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--physics-opacity, 0);
}

.word-field-signal {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.word-field-section[data-signal="ready"] .word-field-signal {
  opacity: 1;
}

.word-field-continue {
  position: absolute;
  left: 50%;
  bottom: clamp(5.75rem, 14vh, 9rem);
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: .62rem;
  color: rgba(255, 255, 255, .68);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 520ms ease 180ms, transform 620ms cubic-bezier(.22, 1, .36, 1) 180ms;
}

.word-field-section[data-signal="ready"] .word-field-continue {
  opacity: 1;
  transform: translate(-50%, 0);
}

.word-field-continue-lang {
  display: none;
  white-space: nowrap;
}

html[lang="en"] .word-field-continue-lang[lang="en"],
html[lang="ja"] .word-field-continue-lang[lang="ja"],
html[lang="zh"] .word-field-continue-lang[lang="zh"] {
  display: inline;
}

.word-field-continue-line {
  position: relative;
  width: 1px;
  height: 3.6rem;
  overflow: hidden;
  background: rgba(255, 255, 255, .22);
}

.word-field-continue-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: -45%;
  width: 1px;
  height: 45%;
  background: rgba(255, 255, 255, .95);
  animation: wordFieldContinue 1.6s cubic-bezier(.22, 1, .36, 1) infinite;
}

.word-field-continue-dot {
  width: .42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ef1824;
  box-shadow: 0 0 0 5px rgba(239, 24, 36, .09);
}

@keyframes wordFieldContinue {
  from { transform: translateY(0); }
  to { transform: translateY(320%); }
}

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

.word-field-physics-glyph {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  color: #fff;
  font: inherit;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
  transform: translate3d(var(--physics-x, 0), var(--physics-y, 0), 0) translate(-50%, -50%) rotate(var(--physics-angle, 0rad));
  transform-origin: center;
  will-change: transform;
}

html[lang="ja"] .word-field-flow {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --word-line-height: 1.5;
}

html[lang="en"] .word-field-flow {
  font-family: Arial, Helvetica, sans-serif;
  --word-line-height: 1.36;
}

@media (max-width: 820px) {
  .word-field-section { height: 820svh; }
  .word-field-pin { top: var(--nav-height, 68px); height: calc(100svh - var(--nav-height, 68px)); }
  .word-field-shell { padding: 15px 14px 18px; }
  .word-field-header { grid-template-columns: 1fr; gap: 0; padding-bottom: 12px; }
  .word-field-label { grid-column: 1; }
  .word-field-title { grid-column: 1 / -1; grid-row: 2; max-width: 31ch; font-size: clamp(16px, 4.5vw, 21px); }
  .word-field-status { grid-column: 2; grid-row: 1; grid-template-columns: auto; }
  .word-field-status i,
  .word-field-status em { display: none; }
  .word-field-stage { padding-top: 12px; }
  .word-field-flow { --word-line-height: 1.36; }
  .word-field-token { margin-inline-end: .42em; }
  .word-field-token.is-category { margin-inline-end: .48em; }
  .word-field-continue { bottom: clamp(5rem, 13vh, 7rem); font-size: 9px; }
  .word-field-continue-line { height: 3.1rem; }
}

@media (max-height: 680px) {
  .word-field-shell { padding-top: 12px; padding-bottom: 14px; }
  .word-field-title { font-size: 17px; }
  .word-field-stage { padding-top: 10px; }
  .word-field-continue { bottom: 4.5rem; }
  .word-field-continue-line { height: 2.5rem; }
}

@media (max-width: 360px) and (max-height: 620px) {
  .word-field-shell { padding: 8px 10px 9px; }
  .word-field-header { gap: 5px 10px; padding-bottom: 6px; }
  .word-field-label,
  .word-field-status { font-size: 8px; }
  .word-field-title { max-width: 34ch; font-size: 14px; line-height: 1; }
  .word-field-stage { padding-top: 4px; }
  .word-field-flow { --word-line-height: 1.22; }
  .word-field-token { margin-inline-end: .34em; }
  .word-field-token.is-category { margin-inline-end: .4em; }
}

@media (prefers-reduced-motion: reduce) {
  .word-field-section { height: auto; min-height: calc(100svh - var(--nav-height, 76px)); }
  .word-field-pin { position: relative; top: auto; min-height: calc(100svh - var(--nav-height, 76px)); }
  .word-field-token { --reveal: 1 !important; --retention: 1 !important; }
  .word-field-token.is-category { --accent: 1 !important; color: #fff !important; }
  .word-field-physics { display: none !important; }
  .word-field-signal { display: none !important; }
  .word-field-continue-line::before { animation: none; }
}
