/* SFI 高頻通 — 色板取自標誌：深藍、信號紅、電光藍 */

:root {
  --navy: #07111e;
  --navy-2: #14325f;
  --signal: #ff6b84;
  --signal-deep: #ff8fa2;
  --blue: #4c7dff;
  --blue-soft: #d5e4ff;
  --ivory: #c8d2e0;
  --paper: #121c2c;
  --card: #182536;
  --ink: #e8eef8;
  --text: #d5deeb;
  --text-secondary: #a7b6cb;
  --text-muted: #7f90a8;
  --rule: rgba(168, 188, 220, 0.16);
  --border: rgba(168, 188, 220, 0.22);
  --heading: #f2f6fc;
  --header-h: 72px;
  --wrap: min(1080px, calc(100% - 48px));
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Noto Serif TC", "Source Han Serif TC", serif;
  --font-latin: "Cormorant Garamond", "Noto Serif TC", serif;
  --shadow: 0 22px 56px rgba(4, 8, 18, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--ivory);
  letter-spacing: 0.015em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--signal);
  color: var(--navy);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 8% 0%, rgba(20, 50, 95, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 12%, rgba(76, 125, 255, 0.16), transparent 50%),
    linear-gradient(180deg, #9aadc4 0%, #b4c2d4 38%, #a8b7cb 100%);
  animation: page-breathe 14s ease-in-out infinite alternate;
}
.page-bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: repeating-linear-gradient(-18deg, transparent, transparent 3px, rgba(7, 17, 30, 0.035) 3px, rgba(7, 17, 30, 0.035) 4px);
}
.page-bg__beam {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 28% 18% at 18% 22%, rgba(76, 125, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 22% 16% at 86% 68%, rgba(255, 107, 132, 0.12), transparent 72%);
  animation: beam-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--signal));
  box-shadow: 0 0 12px rgba(76, 125, 255, 0.85);
  transition: width 0.12s linear;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(7, 17, 30, 0.88);
  border-bottom: 1px solid rgba(76, 125, 255, 0.28);
  backdrop-filter: blur(14px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(4, 8, 18, 0.94);
  border-bottom-color: rgba(76, 125, 255, 0.42);
  box-shadow: 0 10px 28px rgba(4, 8, 18, 0.28);
}
.site-header::after {
  content: "";
  position: absolute;
  left: -30%;
  bottom: -1px;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--signal), transparent);
  animation: header-scan 5.6s linear infinite;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.98rem;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 0 8px rgba(76, 125, 255, 0.55));
}
.nav { display: flex; gap: 4px 18px; }
.nav a {
  position: relative;
  color: rgba(232, 238, 252, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--signal));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s ease;
}
.nav a:hover,
.nav a.is-active { color: #fff; }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(76, 125, 255, 0.4);
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--blue-soft);
}
.nav-toggle::before { top: 14px; box-shadow: 0 5px 0 var(--blue-soft); }
.nav-toggle::after { bottom: 14px; opacity: 0; }
.nav-toggle[aria-expanded="true"]::before {
  top: 19px;
  box-shadow: none;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"]::after {
  opacity: 1;
  bottom: 19px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 0 0;
  color: var(--ivory);
  background:
    radial-gradient(ellipse 42% 36% at 78% 34%, rgba(76, 125, 255, 0.22), transparent 62%),
    radial-gradient(ellipse 28% 24% at 88% 72%, rgba(255, 107, 132, 0.14), transparent 60%),
    linear-gradient(165deg, #040814 0%, var(--navy) 54%, #102848 100%);
  overflow: hidden;
}
.hero__field,
.hero__glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__field { z-index: 0; }
@media (min-width: 901px) {
  .hero__field {
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 16%, #000 46%);
  }
}
.hero__glow {
  z-index: 1;
  background: radial-gradient(460px circle at var(--mx, 76%) var(--my, 36%), rgba(76, 125, 255, 0.2), transparent 62%);
  transition: background 0.12s linear;
}
.hero__grid,
.principles { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 56px;
}
.hero__signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.85rem;
  padding: 0.2rem 0.7rem 0.2rem 0.55rem;
  border: 1px solid rgba(76, 125, 255, 0.4);
  background: rgba(7, 17, 30, 0.45);
  color: var(--blue-soft);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", monospace;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.16em;
}
.hero__signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dffb0;
  box-shadow: 0 0 0 0 rgba(61, 255, 176, 0.7);
  animation: signal-pulse 1.8s ease-out infinite;
}
.hero__kicker {
  margin: 0 0 1rem;
  font-family: var(--font-latin);
  font-style: italic;
  letter-spacing: 0.16em;
  color: var(--signal);
  font-size: 1.05rem;
}
.hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.08em;
  color: #f7f9fd;
}
.hero__en {
  margin: 0 0 0.85rem;
  font-family: var(--font-latin);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--blue-soft);
}
.hero__roles {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  color: var(--blue-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero__lede {
  margin: 0 0 1.5rem;
  max-width: 38em;
  color: rgba(238, 242, 248, 0.78);
}
.hero__stats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 440px;
  background: rgba(76, 125, 255, 0.32);
  border: 1px solid rgba(76, 125, 255, 0.32);
}
.hero__stats li {
  position: relative;
  overflow: hidden;
  background: rgba(7, 17, 30, 0.55);
  padding: 0.9rem 0.6rem;
  text-align: center;
}
.hero__stats li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(213, 228, 255, 0.18), transparent 65%);
  transform: translateX(-130%);
  animation: stat-sweep 5.4s ease-in-out infinite;
}
.hero__stats li:nth-child(2)::after { animation-delay: 0.45s; }
.hero__stats li:nth-child(3)::after { animation-delay: 0.9s; }
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.15rem;
}
.hero__stats span {
  font-family: var(--font-latin);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 242, 248, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  padding: 0.78rem 1.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn--signal {
  background: var(--signal);
  color: var(--navy);
  box-shadow: 0 0 0 rgba(255, 107, 132, 0);
}
.btn--signal:hover {
  background: #ff8fa2;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 132, 0.28);
}
.btn--ghost {
  color: var(--blue-soft);
  border-color: rgba(76, 125, 255, 0.5);
}
.btn--ghost:hover {
  border-color: var(--blue-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(76, 125, 255, 0.18);
}
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
}
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  translate: -50% -50%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.hero__visual::before {
  width: min(78%, 300px);
  background: radial-gradient(circle, rgba(76, 125, 255, 0.34), transparent 68%);
  filter: blur(6px);
  animation: logo-glow 4.8s ease-in-out infinite;
}
.hero__visual::after {
  width: min(92%, 360px);
  border: 1px solid rgba(76, 125, 255, 0.28);
  border-top-color: rgba(255, 107, 132, 0.9);
  animation: orbit 14s linear infinite;
}
.hero__visual img {
  position: relative;
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 22px rgba(76, 125, 255, 0.28));
  transition: transform 0.45s ease;
  will-change: transform;
}

.hero:not(.is-ready) .hero-rise,
.hero:not(.is-ready) .principles li {
  opacity: 0;
  transform: translateY(22px);
}
.hero.is-ready .hero-rise {
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero.is-ready .hero-rise:nth-child(1) { animation-delay: 0.05s; }
.hero.is-ready .hero-rise:nth-child(2) { animation-delay: 0.12s; }
.hero.is-ready .hero-rise:nth-child(3) { animation-delay: 0.2s; }
.hero.is-ready .hero-rise:nth-child(4) { animation-delay: 0.28s; }
.hero.is-ready .hero-rise:nth-child(5) { animation-delay: 0.36s; }
.hero.is-ready .hero-rise:nth-child(6) { animation-delay: 0.44s; }
.hero.is-ready .hero-rise:nth-child(7) { animation-delay: 0.52s; }
.hero.is-ready .hero-rise:nth-child(8) { animation-delay: 0.6s; }
.hero.is-ready .hero__visual {
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
.hero.is-ready .principles li {
  animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero.is-ready .principles li:nth-child(1) { animation-delay: 0.55s; }
.hero.is-ready .principles li:nth-child(2) { animation-delay: 0.65s; }
.hero.is-ready .principles li:nth-child(3) { animation-delay: 0.75s; }
.hero.is-ready .principles li:nth-child(4) { animation-delay: 0.85s; }

.principles {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(76, 125, 255, 0.22);
  background: rgba(4, 8, 18, 0.55);
}
.principles li {
  position: relative;
  padding: 1.15rem 1.15rem 1.25rem;
  border-right: 1px solid rgba(76, 125, 255, 0.16);
  transition: background 0.3s ease, transform 0.3s ease;
}
.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--signal));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.principles li:hover {
  background: rgba(76, 125, 255, 0.1);
  transform: translateY(-2px);
}
.principles li:hover::before { transform: scaleX(1); }
.principles li:last-child { border-right: 0; }
.principles span {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-latin);
  color: var(--signal);
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}
.principles strong {
  font-family: var(--font-display);
  color: #f7f9fd;
  font-weight: 600;
}

.section { padding: 3.2rem 0 0.4rem; }
.section--toc { padding-top: 2.6rem; }
.section__head { margin-bottom: 1.2rem; }
.section__label {
  margin: 0 0 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal-deep);
}
.section h2,
.chapter h2,
.closing-sheet h2 {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--heading);
  letter-spacing: 0.04em;
}

.doc-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.doc-toc li { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.doc-toc li:nth-child(2n) { border-right: 0; }
.doc-toc li:nth-last-child(-n + 2) { border-bottom: 0; }
.doc-toc a {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-size: 0.92rem;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}
.doc-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--signal));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.doc-toc a:hover {
  background: rgba(76, 125, 255, 0.14);
  color: var(--heading);
  padding-left: 1.25rem;
}
.doc-toc a:hover::before,
.doc-toc a.is-active::before { transform: scaleY(1); }
.doc-toc__idx {
  font-family: var(--font-latin);
  color: var(--signal-deep);
  font-weight: 600;
  text-align: center;
  transition: transform 0.25s ease, color 0.25s ease;
}
.doc-toc a:hover .doc-toc__idx {
  transform: translateX(2px);
  color: var(--blue);
}

.paper-sheet,
.closing-sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.4rem, 4vw, 2.8rem);
  overflow: hidden;
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}
.paper-sheet { border-top: 3px solid var(--blue); }
.closing-sheet { border-bottom: 3px solid var(--blue); }
.paper-sheet::before,
.closing-sheet::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(var(--blue), var(--blue)) left top / 16px 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) left top / 1px 16px no-repeat,
    linear-gradient(var(--signal), var(--signal)) right top / 16px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) right top / 1px 16px no-repeat,
    linear-gradient(var(--blue), var(--blue)) left bottom / 16px 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--blue), var(--blue)) right bottom / 16px 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) right bottom / 1px 16px no-repeat;
  opacity: 0.7;
}
.paper-sheet::after,
.closing-sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(76, 125, 255, 0.1), transparent 58%);
  transform: translateX(-120%);
  opacity: 0;
}
.reveal.is-visible.paper-sheet::after,
.reveal.is-visible.closing-sheet::after {
  animation: sheet-scan 1.15s ease 0.2s both;
}
.chapter { padding-bottom: 1.4rem; scroll-margin-top: 84px; }
.chapter__watermark {
  position: absolute;
  top: 0.15rem;
  right: 1rem;
  font-family: var(--font-latin);
  font-size: clamp(4.4rem, 12vw, 7.2rem);
  line-height: 1;
  color: rgba(213, 228, 255, 0.06);
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, var(--wm-y, 0px), 0);
  transition: color 0.6s ease;
}
.reveal.is-visible .chapter__watermark {
  color: rgba(213, 228, 255, 0.1);
  animation: watermark-in 1s ease both;
}
.prose h3 {
  margin: 1.45rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--heading);
  letter-spacing: 0.04em;
}
.prose p { margin: 0 0 1.05rem; color: var(--text-secondary); }
.prose p:last-child { margin-bottom: 0; }
.points {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  border-left: 1px solid var(--blue);
}
.points li {
  padding: 0.55rem 0 0.55rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  color: var(--ink);
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0.2rem 0 1.2rem;
}
.cards article {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 1.05rem 0.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.cards article::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 125, 255, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.7);
}
.cards article:hover {
  border-color: rgba(76, 125, 255, 0.55);
  box-shadow: 0 14px 32px rgba(4, 8, 18, 0.35);
  transform: translateY(-3px);
}
.cards article:hover::after {
  opacity: 1;
  transform: scale(1);
}
.cards h3 { margin-top: 0.15rem; }
.steps {
  list-style: none;
  margin: 0.2rem 0 1.2rem;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text-secondary);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-latin);
  color: var(--signal-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}
.steps strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
}
.pull-quote {
  margin: 1.3rem 0;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 3px solid var(--signal);
  background: linear-gradient(90deg, rgba(255, 107, 132, 0.16), transparent 78%);
}
.pull-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
}
.prose-figure {
  margin: 1.35rem 0 1.45rem;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--card);
}
.prose-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.prose-figure figcaption {
  margin: 0;
  padding: 0.85rem 1.05rem 0.95rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
}
.manifesto {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 1.2rem;
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--navy);
  color: var(--blue-soft);
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(76, 125, 255, 0.18), transparent 55%);
  transform: translateX(-130%);
  animation: manifesto-shine 7.5s ease-in-out infinite;
  pointer-events: none;
}
.manifesto p {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--blue-soft);
}
.closing-sheet__tagline {
  margin: 0;
  text-align: center;
  font-family: var(--font-latin);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--signal-deep);
}
.section--closing { padding-bottom: 3.5rem; }

.site-footer {
  background: var(--navy);
  color: rgba(238, 242, 248, 0.62);
  padding: 1.7rem 0 2rem;
  border-top: 1px solid rgba(76, 125, 255, 0.25);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: flex-start;
}
.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  color: var(--blue-soft);
  letter-spacing: 0.06em;
}
.footer-brand span,
.footer-note { font-size: 0.78rem; line-height: 1.65; }
.footer-note { margin: 0.45rem 0 0; max-width: 52em; }
.footer-top {
  position: relative;
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-top:hover {
  color: #ff8fa2;
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal .cards article,
.reveal .points li,
.reveal .steps li,
.reveal.doc-toc > li,
.reveal .prose-figure {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-visible .cards article,
.reveal.is-visible .points li,
.reveal.is-visible .steps li,
.reveal.is-visible.doc-toc > li,
.reveal.is-visible .prose-figure {
  animation: rise-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal.is-visible .cards article:nth-child(1),
.reveal.is-visible .points li:nth-child(1),
.reveal.is-visible .steps li:nth-child(1),
.reveal.is-visible.doc-toc > li:nth-child(1) { animation-delay: 0.08s; }
.reveal.is-visible .cards article:nth-child(2),
.reveal.is-visible .points li:nth-child(2),
.reveal.is-visible .steps li:nth-child(2),
.reveal.is-visible.doc-toc > li:nth-child(2) { animation-delay: 0.14s; }
.reveal.is-visible .cards article:nth-child(3),
.reveal.is-visible .points li:nth-child(3),
.reveal.is-visible .steps li:nth-child(3),
.reveal.is-visible.doc-toc > li:nth-child(3) { animation-delay: 0.2s; }
.reveal.is-visible .cards article:nth-child(4),
.reveal.is-visible .points li:nth-child(4),
.reveal.is-visible .steps li:nth-child(4),
.reveal.is-visible.doc-toc > li:nth-child(4) { animation-delay: 0.26s; }
.reveal.is-visible .cards article:nth-child(5),
.reveal.is-visible .points li:nth-child(5),
.reveal.is-visible .steps li:nth-child(5),
.reveal.is-visible.doc-toc > li:nth-child(5) { animation-delay: 0.32s; }
.reveal.is-visible .cards article:nth-child(6),
.reveal.is-visible .points li:nth-child(6),
.reveal.is-visible .steps li:nth-child(6),
.reveal.is-visible.doc-toc > li:nth-child(6) { animation-delay: 0.38s; }
.reveal.is-visible .cards article:nth-child(n + 7),
.reveal.is-visible .points li:nth-child(n + 7),
.reveal.is-visible .steps li:nth-child(n + 7),
.reveal.is-visible.doc-toc > li:nth-child(n + 7) { animation-delay: 0.44s; }
.reveal.is-visible .prose-figure { animation-delay: 0.18s; }

@keyframes header-scan {
  from { left: -30%; }
  to { left: 100%; }
}
@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 176, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(61, 255, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 176, 0); }
}
@keyframes stat-sweep {
  0%, 42% { transform: translateX(-130%); }
  68%, 100% { transform: translateX(130%); }
}
@keyframes logo-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes orbit {
  to { transform: rotate(360deg); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes sheet-scan {
  0% { opacity: 0; transform: translateX(-120%); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}
@keyframes watermark-in {
  from { opacity: 0; transform: translate3d(12px, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, var(--wm-y, 0px), 0); }
}
@keyframes page-breathe {
  from { filter: saturate(1); }
  to { filter: saturate(1.08); }
}
@keyframes beam-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}
@keyframes manifesto-shine {
  0%, 55% { transform: translateX(-130%); }
  80%, 100% { transform: translateX(130%); }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 1px solid rgba(76, 125, 255, 0.28);
    padding: 8px 0 14px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 22px; font-size: 0.95rem; }
  .nav a::after { display: none; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(100%, 320px); margin-inline: auto; }
  .hero__visual img { width: min(240px, 62vw); margin: 0 auto; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principles li:nth-child(2) { border-right: 0; }
  .principles li:nth-child(-n + 2) { border-bottom: 1px solid rgba(76, 125, 255, 0.16); }
}
@media (max-width: 700px) {
  :root { --wrap: min(100%, calc(100% - 28px)); }
  .doc-toc { grid-template-columns: 1fr; }
  .doc-toc li { border-right: 0; }
  .doc-toc li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--rule); }
  .doc-toc li:last-child { border-bottom: 0; }
  .cards { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; max-width: none; }
  .principles { grid-template-columns: 1fr; }
  .principles li { border-right: 0; border-bottom: 1px solid rgba(76, 125, 255, 0.16); }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal .cards article,
  .reveal .points li,
  .reveal .steps li,
  .reveal.doc-toc > li,
  .reveal .prose-figure,
  .hero:not(.is-ready) .hero-rise,
  .hero:not(.is-ready) .principles li { opacity: 1; transform: none; transition: none; animation: none; }
  .site-header::after,
  .hero__signal i,
  .hero__stats li::after,
  .hero__visual::before,
  .hero__visual::after,
  .page-bg,
  .page-bg__beam,
  .manifesto::before,
  .reveal.is-visible.paper-sheet::after,
  .reveal.is-visible.closing-sheet::after,
  .reveal.is-visible .chapter__watermark { animation: none; }
  .cards article,
  .btn,
  .principles li,
  .doc-toc a { transition: none; }
  .btn:hover,
  .principles li:hover,
  .cards article:hover { transform: none; box-shadow: none; }
}
@media print {
  .site-header,
  .reading-progress,
  .page-bg,
  .hero__actions,
  .nav-toggle,
  .skip-link,
  .footer-top,
  .hero__field,
  .hero__glow,
  .hero__signal { display: none !important; }
  .paper-sheet::after,
  .closing-sheet::after { display: none !important; }
  .hero {
    min-height: 0;
    padding: 12px 0 0;
    color: var(--ink);
    background: #fff;
  }
  .hero h1,
  .principles strong { color: var(--navy); }
  .hero__lede,
  .hero__en,
  .hero__roles { color: var(--text-secondary); }
  .principles { background: #fff; border-top: 1px solid var(--border); }
  .reveal,
  .reveal .cards article,
  .reveal .points li,
  .reveal .steps li,
  .reveal.doc-toc > li,
  .reveal .prose-figure,
  .hero-rise,
  .principles li { opacity: 1 !important; transform: none !important; animation: none !important; }
  .paper-sheet,
  .closing-sheet,
  .doc-toc { box-shadow: none; }
  .chapter { break-inside: avoid; }
}
