/* =====================================================================
   SCAP home — "deck" edition
   Cinematic, slide-like homepage: particle type, kinetic words,
   scroll-driven reveal wipes. Palette follows the site loader.
   ===================================================================== */

.home-deck {
  --bg: #05070a;
  --bg-2: #0b1015;
  --ink: #f3f6fa;
  --dim: rgba(243, 246, 250, .58);
  --faint: rgba(243, 246, 250, .14);
  --line: rgba(255, 255, 255, .12);
  --cyan: #29c3ff;
  --gold: #f5c44c;
  --sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

.home-deck ::selection { background: var(--cyan); color: #000; }

.home-deck .mono {
  font-family: var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-deck .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- header / footer, dark on the home page ---------- */
/* No backdrop-filter on the header itself: a filter makes it the containing
   block for its position:fixed submenus, and its overflow:hidden would then
   clip them away. The frosted glass lives on a pseudo-element instead. */
.home-deck header.site-header {
  background: transparent;
  border-bottom: 0;
  color: var(--ink);
  transition: background .35s ease;
}
/* while a dropdown is open, bar + panel read as one surface */
.home-deck header.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 11, 15, .97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease .25s;
}
.home-deck header.site-header:has(nav li:hover > .submenu)::after {
  opacity: 1;
  transition-delay: 0s;
}

/* The top edge: no bar, no line — a frosted gradient that melts into the page.
   Lives outside the header so it can run taller than the 44px bar. */
.deck-topfade {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: 116px;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(5, 7, 10, .82) 0%,
    rgba(5, 7, 10, .62) 34%,
    rgba(5, 7, 10, .28) 62%,
    rgba(5, 7, 10, 0) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, .55) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, .55) 62%, transparent 100%);
  opacity: .35;
  transition: opacity .6s ease;
}
.deck-scrolled .deck-topfade { opacity: 1; }
/* a faint light leak instead of a divider: only visible once scrolled */
.deck-topfade::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%;
  top: 43px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41, 195, 255, .35) 30%, rgba(245, 196, 76, .3) 70%, transparent);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .8s ease, transform 1.2s var(--ease-out);
}
.deck-scrolled .deck-topfade::after { opacity: .55; transform: none; }
.home-deck .submenu {
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
}
.home-deck header.site-header a { color: inherit; }
.home-deck nav ul li a:hover,
.home-deck nav ul li a.active { color: var(--cyan); }
.home-deck nav ul li a.active::after { background: var(--cyan); }
.home-deck .submenu { background: rgba(8, 11, 15, .97); }
.home-deck .submenu-column h3 { color: rgba(255, 255, 255, .5); }
.home-deck .overlay { background: rgba(0, 0, 0, .6); }
.home-deck footer {
  position: relative;
  z-index: 3;
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, .6);
}
.home-deck footer a { color: rgba(255, 255, 255, .72); }
.home-deck footer a:hover { color: var(--cyan); }

/* ---------- global layers ---------- */
.deck { position: relative; width: 100%; }

.home-deck .slide {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
}

.deck-grain {
  position: fixed;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  opacity: .065;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: deck-grain 1s steps(6) infinite;
}
@keyframes deck-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.deck-cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 2000;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(41, 195, 255, .7);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out),
              opacity .3s ease, background .3s ease, border-color .3s ease;
  will-change: transform;
}
.deck-cursor span {
  position: absolute;
  left: 50%; top: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--cyan);
}
.deck-cursor.is-on { opacity: 1; }
.deck-cursor.is-hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(41, 195, 255, .12);
  border-color: var(--gold);
}

/* ======================= HERO ======================= */
.slide--hero {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(41, 195, 255, .07), transparent 60%),
    var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: .2;
  filter: grayscale(.35) contrast(1.15) brightness(.85);
  transform: scale(1.08);
  will-change: transform, opacity;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(41, 171, 226, .06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(ellipse at 50% 45%, transparent 30%, var(--bg) 82%),
    linear-gradient(180deg, transparent 60%, var(--bg));
}

.slide--hero .particles,
.slide--end .particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
}

.hero-frame .corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 0 solid rgba(41, 195, 255, .7);
  opacity: 0;
  animation: deck-corner .9s var(--ease-out) 1.4s forwards;
}
.hero-frame .tl { left: 24px; top: 68px; border-left-width: 1px; border-top-width: 1px; }
.hero-frame .tr { right: 24px; top: 68px; border-right-width: 1px; border-top-width: 1px; }
.hero-frame .bl { left: 24px; bottom: 24px; border-left-width: 1px; border-bottom-width: 1px; }
.hero-frame .br { right: 24px; bottom: 24px; border-right-width: 1px; border-bottom-width: 1px; }
@keyframes deck-corner {
  from { opacity: 0; transform: scale(2.4); }
  to { opacity: 1; transform: scale(1); }
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 17vh;
  width: min(92vw, 720px);
  transform: translateX(-50%);
  text-align: center;
  will-change: transform, opacity;
}
.hero-copy .kicker {
  margin: 0 0 14px;
  font-size: 11px;
  color: var(--cyan);
}
.hero-title { margin: 0; line-height: 1; }
.hero-fallback {
  display: none;
  font-size: clamp(88px, 22vw, 300px);
  font-weight: 900;
  letter-spacing: -.05em;
  background: linear-gradient(100deg, var(--cyan), #fff 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slide--hero.no-gl .hero-copy { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
.slide--hero.no-gl .hero-fallback { display: block; }
.hero-sub {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--dim);
}

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
}
.hero-hint i {
  position: relative;
  display: block;
  width: 64px; height: 1px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}
.hero-hint i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-100%);
  animation: deck-hint 2.2s var(--ease-out) infinite;
}
@keyframes deck-hint {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ======================= KINETIC WORDS ======================= */
.slide--words {
  height: calc((var(--count, 4) + 1) * 100vh);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 8.333% 100%,
    var(--bg);
}
.words-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  --split: 0;
}
.words-label {
  position: absolute;
  top: 80px;
  left: 6vw;
  margin: 0;
  font-size: 11px;
  color: var(--dim);
}
.words-track {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 900px;
}
.word {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.word-big {
  margin: 0;
  font-size: clamp(84px, 20vw, 320px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  transform-style: preserve-3d;
  text-shadow:
    calc(var(--split) * 1px) 0 0 rgba(41, 195, 255, .85),
    calc(var(--split) * -1px) 0 0 rgba(245, 196, 76, .85);
}
.word-big .ch {
  display: inline-block;
  opacity: 0;
  transform-origin: 50% 80%;
  will-change: transform, opacity;
}
.word:nth-child(4n+2) .word-big { color: var(--cyan); }
.word:nth-child(4n+4) .word-big { color: var(--gold); }
.word-cap {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--dim);
  opacity: 0;
}
.word-cap span { color: var(--cyan); margin-right: 10px; }
.words-meter {
  position: absolute;
  left: 6vw; right: 6vw;
  bottom: 56px;
  height: 1px;
  background: var(--line);
}
.words-meter i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform-origin: left center;
  transform: scaleX(0);
}

/* ======================= CHAPTERS ======================= */
.home-deck .slide--chapter,
.home-deck .slide--music {
  padding: 22vh 6vw 8vh;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.chapter-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3vw;
  margin: 0 0 12vh;
}
.chapter-no {
  font-family: var(--mono);
  font-size: clamp(110px, 20vw, 320px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  transform: translateY(var(--ny, 0px));
  will-change: transform;
}
.chapter-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--cyan);
}
.chapter-title {
  margin: 0;
  font-size: clamp(48px, 9vw, 148px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
  overflow: hidden;
  padding-bottom: .06em;
}

/* split-char rise, shared by chapter + feature titles */
.chapter-title .ch,
.feature-title .ch {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  opacity: 0;
  transition: transform .9s var(--ease-out), opacity .6s ease;
  transition-delay: calc(var(--i) * 38ms);
}
.is-in .chapter-title .ch,
.is-in .feature-title .ch,
.chapter-head.is-in .ch,
.feature.is-in .ch {
  transform: none;
  opacity: 1;
}

.feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3vw;
  align-items: center;
  margin: 0 0 18vh;
}
.feature-media {
  grid-column: 1 / span 7;
  margin: 0;
  --p: 0;
  --py: 0px;
}
.feature-copy { grid-column: 9 / span 4; }
.feature.is-flip .feature-media { grid-column: 6 / span 7; grid-row: 1; }
.feature.is-flip .feature-copy { grid-column: 1 / span 4; grid-row: 1; }

.feature-mask {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.feature-mask img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(var(--py)) scale(calc(1.22 - var(--p) * .22));
  will-change: transform;
}
.feature-mask::after {
  /* thin scan line riding the reveal edge */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(41, 195, 255, .16) 50%, transparent);
  background-size: 100% 12px;
  opacity: calc((1 - var(--p)) * 1.4);
  mix-blend-mode: screen;
}

/* reveal modes — all driven by --p (0 → 1) from scroll */
[data-reveal="circle"] .feature-mask {
  clip-path: circle(calc(var(--p) * 112%) at 28% 62%);
}
[data-reveal="iris"] .feature-mask {
  clip-path: inset(calc(50% - var(--p) * 50%) calc(50% - var(--p) * 50%) round calc((1 - var(--p)) * 60px));
}
[data-reveal="diagonal"] .feature-mask {
  clip-path: polygon(0 0, calc(var(--p) * 230%) 0, calc(var(--p) * 230% - 130%) 100%, 0 100%);
}
[data-reveal="blinds"] .feature-mask {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100% + .5%));
  mask-image: linear-gradient(90deg, #000 calc(var(--p) * 100%), transparent calc(var(--p) * 100% + .5%));
  -webkit-mask-size: 11.112% 100%;
  mask-size: 11.112% 100%;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

/* meteor-dive slot */
.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.fx-on .feature-mask img { visibility: hidden; }
.fx-on .feature-mask::after { display: none; }
.fx-replay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(5, 7, 10, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 10px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s var(--ease-out), border-color .3s ease, color .3s ease;
}
.fx-replay i { font-style: normal; font-size: 13px; transition: transform .5s var(--ease-out); }
.fx-done .fx-replay { opacity: 1; transform: none; }
.fx-replay:hover, .fx-replay:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.fx-replay:hover i { transform: rotate(-360deg); }

.feature-media figcaption {
  margin-top: 12px;
  font-size: 10px;
  color: rgba(255, 255, 255, .38);
}

.feature-title {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.8vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.feature-text {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--dim);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease .25s, transform .9s var(--ease-out) .25s;
}
.feature.is-in .feature-text { opacity: 1; transform: none; }

.feature-link,
.end-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--ink);
  font-size: 11px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s ease, border-color .35s ease;
}
.feature-link::before,
.end-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cyan);
  transform: translateX(-101%);
  transition: transform .5s var(--ease-out);
}
.feature-link i,
.end-cta i { font-style: normal; transition: transform .35s var(--ease-out); }
.feature-link:hover,
.end-cta:hover,
.feature-link:focus-visible,
.end-cta:focus-visible { color: #000; border-color: var(--cyan); }
.feature-link:hover::before,
.end-cta:hover::before,
.feature-link:focus-visible::before,
.end-cta:focus-visible::before { transform: none; }
.feature-link:hover i,
.end-cta:hover i { transform: translateX(6px); }

/* ======================= MUSIC ======================= */
.home-deck .slide--music { padding-left: 0; padding-right: 0; }
.slide--music .chapter-head { padding: 0 6vw; margin-bottom: 6vh; }
.music-marquee {
  position: absolute;
  top: 8vh;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: .09;
}
.music-marquee div {
  display: flex;
  width: max-content;
  animation: deck-marquee 28s linear infinite;
}
.music-marquee span {
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  padding-right: .3em;
}
@keyframes deck-marquee { to { transform: translateX(-50%); } }

.home-deck .carousel .card-info {
  background: rgba(0, 0, 0, .42);
  color: #eee;
}
.home-deck .carousel .card.playing {
  outline: 1px solid var(--cyan);
  outline-offset: 4px;
}

/* ======================= END ======================= */
.slide--end {
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(90% 70% at 50% 45%, rgba(245, 196, 76, .07), transparent 60%), var(--bg);
}
.end-copy {
  position: absolute;
  left: 50%;
  bottom: 16vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 92vw;
  text-align: center;
}
.end-copy p { margin: 0; font-size: 12px; color: var(--dim); }
.slide--end.no-gl .end-copy::before {
  content: "加入我们？";
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink);
}

/* ======================= HUD ======================= */
.deck-hud {
  position: fixed;
  left: 22px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: rgba(255, 255, 255, .6);
  pointer-events: none;
  mix-blend-mode: difference;
  transition: opacity .4s ease;
}
.deck-hud .hud-cur { color: #fff; font-weight: 600; }
.deck-hud .hud-title { min-width: 7em; }
.deck-hud .hud-bar {
  position: relative;
  width: 96px; height: 1px;
  background: rgba(255, 255, 255, .25);
}
.deck-hud .hud-bar i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}
.deck-hud.is-hidden { opacity: 0; }

.deck-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  z-index: 900;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.deck-dots button {
  position: relative;
  display: block;
  width: 22px; height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.deck-dots button::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: transform .3s var(--ease-out), background .3s ease;
}
.deck-dots button.is-current::before { background: var(--cyan); transform: scale(1.8); }
.deck-dots button span {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translate(6px, -50%);
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, .7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--ease-out);
}
.deck-dots button:hover span,
.deck-dots button:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 860px) {
  .feature,
  .feature.is-flip { display: block; margin-bottom: 14vh; }
  .feature-media { margin-bottom: 28px; }
  .feature-copy { padding-right: 4vw; }
  .chapter-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 8vh; }
  .chapter-no { font-size: 34vw; margin-bottom: -4vw; }
  .home-deck .slide--chapter, .home-deck .slide--music { padding-top: 16vh; }
  .deck-dots { display: none; }
  .deck-hud .hud-bar { width: 56px; }
  .hero-frame .tl, .hero-frame .tr { top: 60px; }
  .hero-frame .corner { width: 16px; height: 16px; }
  .hero-frame .tl, .hero-frame .bl { left: 14px; }
  .hero-frame .tr, .hero-frame .br { right: 14px; }
}

@media (pointer: coarse) {
  .deck-cursor { display: none; }
  .hero-hint span:last-child { display: none; }
}
@media (max-width: 860px) {
  .hero-hint { bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-grain, .music-marquee div, .hero-hint i::after { animation: none; }
  .chapter-title .ch, .feature-title .ch, .feature-text { transition: none; transform: none; opacity: 1; }
  .feature-media { --p: 1 !important; }
  .word-big .ch, .word-cap { opacity: 1; }
  .slide--words { height: auto; }
  .words-stage { position: relative; height: auto; padding: 18vh 0; }
  .words-track { height: auto; display: flex; flex-direction: column; gap: 8vh; }
  .word { position: relative; }
  .deck-cursor { display: none; }
}

/* phones: the HUD sits on a frosted pill instead of blending into the text under it */
@media (max-width: 860px) {
  .deck-hud {
    left: 12px;
    bottom: 12px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(5, 7, 10, .72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    mix-blend-mode: normal;
    color: rgba(255, 255, 255, .7);
  }
  .deck-hud .hud-bar { display: none; }
  .deck-hud .hud-title { min-width: 0; }
}
