/* ============================================================
   Pi 主链路 · 一条消息的旅行
   原生 CSS，无构建步骤
   ============================================================ */

:root {
  --bg: #080b10;
  --bg-2: #0d131b;
  --ink: #ebe7e4;
  --dim: #9aa3ad;
  --line: rgba(235, 231, 228, 0.1);
  --line-strong: rgba(235, 231, 228, 0.18);
  --panel: rgba(15, 22, 31, 0.8);
  --coral: #f09082;
  --yellow: #f1be58;
  --blue: #4d9abf;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: color-mix(in srgb, var(--accent, var(--coral)) 78%, white);
  color: #080b10;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #080b10;
}

::-webkit-scrollbar-thumb {
  background: #2a3440;
  border-radius: 999px;
  border: 2px solid #080b10;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a4756;
}

a {
  color: inherit;
}

/* ---------- 顶部 ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 2rem;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-head.scrolled {
  background: rgba(8, 11, 16, 0.74);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(240, 144, 130, 0.22));
}

.brand-text {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.brand-dot {
  color: var(--dim);
  margin: 0 0.18rem;
}

.head-links {
  display: flex;
  gap: 1.5rem;
}

.head-links a {
  color: var(--dim);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.head-links a:hover,
.head-links a:focus-visible {
  color: var(--ink);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--yellow) 52%, var(--blue));
  box-shadow: 0 0 14px rgba(241, 190, 88, 0.4);
}

/* ---------- 右侧章节导航 ---------- */

.rail {
  --rail-accent: var(--ink);
  position: fixed;
  top: 50%;
  right: 1.45rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  transform: translateY(-50%);
}

.rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.12rem 0;
}

.rail-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(235, 231, 228, 0.18);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.rail-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--dim);
  opacity: 0;
  transform: translateX(5px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.rail a:hover .rail-label,
.rail a:focus-visible .rail-label,
.rail a.active .rail-label {
  opacity: 1;
  transform: none;
}

.rail a:hover .rail-dot {
  background: rgba(235, 231, 228, 0.5);
}

.rail a.active .rail-dot {
  background: var(--rail-accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--rail-accent) 65%, transparent);
  transform: scale(1.45);
}

.rail a.active .rail-label {
  color: var(--ink);
}

/* ---------- 每一幕 ---------- */

.act {
  position: relative;
}

.act-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(1100px 760px at 50% 118%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 68%),
    radial-gradient(760px 520px at 12% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 72%),
    var(--bg);
}

.act-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(235, 231, 228, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 231, 228, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 52%, #000 25%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 52%, #000 25%, transparent 76%);
  opacity: 0.8;
  pointer-events: none;
}

.act-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(8, 11, 16, 0.92) 0,
      rgba(8, 11, 16, 0) 10%,
      rgba(8, 11, 16, 0) 90%,
      rgba(8, 11, 16, 0.92) 100%
    ),
    radial-gradient(ellipse at 50% 50%, transparent 42%, rgba(8, 11, 16, 0.6) 100%);
  pointer-events: none;
}

.act-stage canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.act-flow {
  position: relative;
  z-index: 3;
  margin-top: -100vh;
  margin-top: -100svh;
  padding: 12vh 0 18vh;
  pointer-events: none;
}

#prologue .act-flow {
  padding-top: 0;
}

.act-card {
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 0 7vw;
}

.act-card.right {
  justify-content: flex-end;
}

.act-card.center {
  justify-content: center;
  text-align: center;
}

.act-card > .panel {
  pointer-events: auto;
  width: 100%;
  max-width: 34rem;
  padding: 2rem 2.15rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 29, 40, 0.88), rgba(12, 18, 26, 0.84));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  position: relative;
  overflow: hidden;
}

.act-card > .panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2.15rem;
  right: 2.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 75%, transparent), transparent);
  opacity: 0.55;
}

.act-card.center > .panel {
  max-width: 42rem;
}

.kicker {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

.act h2,
.outro h2 {
  margin: 0 0 1.05rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.act p,
.outro p {
  margin: 0 0 1em;
  color: var(--dim);
  font-size: 1.01rem;
  line-height: 1.95;
  text-wrap: pretty;
}

.act p:last-child,
.outro p:last-child {
  margin-bottom: 0;
}

.act p strong,
.act p em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

.act p em {
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
}

.term {
  color: var(--ink);
  border-bottom: 1px dotted color-mix(in srgb, var(--accent) 70%, transparent);
  font-family: var(--mono);
  font-size: 0.92em;
}

.code-chip {
  display: inline-block;
  padding: 0.08em 0.42em;
  border-radius: 5px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 27%, transparent);
  font-family: var(--mono);
  font-size: 0.8em;
  line-height: 1.65;
  color: var(--ink);
  overflow-wrap: anywhere;
  max-width: 100%;
}

.part-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.42rem;
}

.part-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--dim);
}

.part-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.src-coords {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.71rem;
  line-height: 2.15;
  color: color-mix(in srgb, var(--dim) 88%, transparent);
}

.src-coords .code-chip {
  margin: 0 0.08rem;
  font-size: 0.95em;
}

.principle {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.3rem 0.88rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  line-height: 1.7;
}

/* ---------- 示意图 ---------- */

.diagram {
  margin: 1.35rem -1rem 0.3rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 8, 12, 0.52);
  overflow: hidden;
}

.diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.diagram svg text {
  font-family: var(--mono);
}

.d-t {
  fill: var(--ink);
}

.d-t-dim {
  fill: var(--dim);
}

.d-t-accent {
  fill: var(--accent);
}

.d-mono {
  font-family: var(--mono);
}

.d-node rect {
  fill: rgba(11, 17, 25, 0.94);
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
  stroke-width: 1.1;
}

.d-node text {
  fill: var(--ink);
}

.d-core {
  fill: color-mix(in srgb, var(--accent) 9%, #0b1119);
  stroke: color-mix(in srgb, var(--accent) 65%, transparent);
  stroke-width: 1.2;
}

.d-line path,
.d-line line {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
  stroke-width: 1.2;
}

.d-arrow {
  fill: var(--accent);
}

.d-ring {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 28%, transparent);
  stroke-width: 1;
}

.d-dash {
  stroke-dasharray: 4 6;
}

.d-edge line {
  stroke: rgba(235, 231, 228, 0.14);
  stroke-width: 1.1;
}

.d-edge-active line {
  stroke: color-mix(in srgb, var(--accent) 78%, transparent);
  stroke-width: 1.8;
}

.d-dot circle {
  fill: #0b1119;
  stroke: rgba(235, 231, 228, 0.3);
  stroke-width: 1.2;
}

.d-dot-active circle {
  fill: var(--accent);
  stroke: var(--accent);
}

.d-leaf {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.45;
}

.d-ledger-lines line {
  stroke: rgba(235, 231, 228, 0.16);
  stroke-width: 1;
}

.d-lens {
  fill: color-mix(in srgb, var(--accent) 10%, transparent);
  stroke: color-mix(in srgb, var(--accent) 65%, transparent);
  stroke-width: 1.2;
}

.d-block rect {
  fill: color-mix(in srgb, var(--accent) 20%, #0b1119);
  stroke: color-mix(in srgb, var(--accent) 60%, transparent);
  stroke-width: 1.1;
}

.d-original-box {
  fill: none;
  stroke: rgba(235, 231, 228, 0.2);
  stroke-width: 1;
  stroke-dasharray: 6 5;
}

.d-original rect {
  fill: rgba(235, 231, 228, 0.06);
  stroke: rgba(235, 231, 228, 0.18);
  stroke-width: 1;
}

.d-badge circle {
  fill: #0b1119;
  stroke: var(--accent);
  stroke-width: 1;
}

.d-badge text {
  fill: var(--accent);
}

.d-pipe {
  stroke: color-mix(in srgb, var(--accent) 35%, transparent);
  stroke-width: 1.2;
  stroke-dasharray: 3 6;
}

.d-hook line {
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
  stroke-width: 1.1;
}

.d-hook path {
  fill: color-mix(in srgb, var(--accent) 25%, #0b1119);
  stroke: var(--accent);
  stroke-width: 1;
}

/* ---------- 序幕 ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10vh 6vw 8vh;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--dim);
}

.hero-eyebrow svg {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 0 12px rgba(240, 144, 130, 0.25));
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.85rem, 7.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: 0.035em;
  background: linear-gradient(115deg, #ffffff 8%, #f4ded8 36%, var(--accent) 68%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 60px rgba(240, 144, 130, 0.12));
}

.hero-sub {
  margin: 1.55rem 0 0;
  max-width: 38rem;
  color: var(--dim);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.95;
  text-wrap: pretty;
}

.hero-input {
  margin-top: 2.6rem;
  width: min(34rem, 86vw);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(14, 20, 28, 0.74);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--mono);
  font-size: 0.94rem;
  text-align: left;
}

.hero-input .prompt {
  color: var(--accent);
  flex: 0 0 auto;
}

.hero-input .typed {
  min-height: 1.5em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero-input .typed::after {
  content: "▌";
  margin-left: 1px;
  color: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-note {
  margin: 1.05rem 0 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--dim) 75%, transparent);
}

.scroll-hint {
  position: absolute;
  bottom: 3.5vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--dim);
  animation: float 2.6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translate(-50%, 8px);
  }
}

/* ---------- 终章 ---------- */

.outro {
  position: relative;
  padding: 24vh 7vw 20vh;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(241, 190, 88, 0.09), transparent 70%),
    radial-gradient(700px 420px at 50% 100%, rgba(240, 144, 130, 0.07), transparent 70%),
    var(--bg);
}

.outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(235, 231, 228, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 231, 228, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%);
  pointer-events: none;
}

.outro::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
}

.outro-inner {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
}

.outro h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.outro p {
  font-size: 1.02rem;
}

.outro-coords {
  margin-top: 2rem;
  line-height: 2.4;
}

.outro-links {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.outro-links a {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 23, 32, 0.7);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.outro-links a:hover,
.outro-links a:focus-visible {
  border-color: var(--accent);
  background: rgba(24, 33, 45, 0.85);
  transform: translateY(-2px);
}

.design-ref {
  max-width: 36rem;
  margin: 3rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.design-ref-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.design-ref p {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.9;
  color: color-mix(in srgb, var(--dim) 85%, transparent);
}

.design-ref a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  transition: border-color 0.2s ease;
}

.design-ref a:hover,
.design-ref a:focus-visible {
  border-bottom-color: var(--accent);
}

.site-foot {
  padding: 3rem 7vw 4rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #070a0e;
  color: color-mix(in srgb, var(--dim) 82%, transparent);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.9;
}

.site-foot p {
  margin: 0.2rem 0;
}

.site-foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
}

.site-foot a:hover {
  border-bottom-color: var(--ink);
}

.foot-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.foot-note {
  opacity: 0.65;
}

/* ---------- 入场动画（仅 JS 就绪时启用） ---------- */

body.js-reveal .act-card > .panel {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.js-reveal .act-card.is-visible > .panel {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .act-card {
    padding: 0 6vw;
  }

  .act-card > .panel {
    max-width: 37rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-head {
    padding: 0.75rem 1.15rem;
  }

  .head-links {
    gap: 0.9rem;
  }

  .head-links a {
    font-size: 0.68rem;
  }

  .brand-text {
    font-size: 0.7rem;
  }

  .act-card {
    min-height: 80vh;
    padding: 0 5vw;
  }

  .act-card > .panel {
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
  }

  .act-card > .panel::before {
    left: 1.35rem;
    right: 1.35rem;
  }

  .act-card.center > .panel {
    max-width: 100%;
  }

  .act p,
  .outro p {
    font-size: 0.97rem;
    line-height: 1.9;
  }

  .hero {
    padding: 12vh 5vw 10vh;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .hero-sub {
    font-size: 0.96rem;
  }

  .hero-input {
    margin-top: 2.1rem;
    font-size: 0.82rem;
    padding: 0.8rem 0.95rem;
  }

  .hero-note {
    font-size: 0.6rem;
  }

  .diagram {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    position: relative;
  }

  .diagram svg {
    min-width: 540px;
  }

  .diagram::after {
    content: "← 左右滑动 →";
    position: sticky;
    left: 0;
    display: block;
    width: max-content;
    margin: 8px 0 0;
    padding: 2px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(11, 17, 25, 0.9);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    color: var(--dim);
  }

  .outro {
    padding: 20vh 6vw 16vh;
  }

  .src-coords {
    font-size: 0.66rem;
  }

  .principle {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .head-links a:first-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10.8vw, 2.55rem);
    letter-spacing: 0.02em;
  }
}

/* ---------- 减少动态 ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.js-reveal .act-card > .panel {
    opacity: 1;
    transform: none;
  }
}
