/* ============================================================
   子非鱼 · 个人主页
   ZHUANGZI × TERMINAL / hand-written, no framework
   ============================================================ */

:root {
  --bg: #04080a;
  --bg-soft: #061013;
  --ink: #e8f5f0;
  --dim: #9bb3ac;
  --mute: #5f7770;
  --mint: #7dffc4;
  --cyan: #56dcff;
  --amber: #ffc46b;
  --line: rgba(125, 255, 196, 0.13);
  --line-2: rgba(125, 255, 196, 0.24);
  --panel: rgba(7, 17, 20, 0.78);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 760px at 82% -12%, rgba(86, 220, 255, 0.075), transparent 62%),
    radial-gradient(820px 680px at -4% 38%, rgba(125, 255, 196, 0.055), transparent 62%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  isolation: isolate;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

::selection { background: rgba(125, 255, 196, 0.26); color: #ffffff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #04080a; }
::-webkit-scrollbar-thumb { background: #123a30; border: 2px solid #04080a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #1c5a49; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 3px;
}

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

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 500;
  padding: 9px 14px;
  background: var(--mint);
  color: #03110c;
  border-radius: 6px;
  font: 600 12px/1 var(--mono);
  transform: translateY(-160%);
  transition: transform 0.18s;
}
.skip-link:focus { transform: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

svg.i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------- atmosphere */

.rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.62;
}

.spotlight {
  position: fixed;
  top: 0; left: 0;
  z-index: 0;
  width: 620px; height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 255, 196, 0.075), transparent 62%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
}
.spotlight.on { opacity: 1; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.14;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.055) 0,
    rgba(255, 255, 255, 0.055) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 38%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 8, 10, 0.35), transparent 18%, transparent 82%, rgba(4, 8, 10, 0.5));
}

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.14s, background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 15px; height: 15px; }

.btn-primary {
  background: var(--mint);
  border-color: rgba(255, 255, 255, 0.22);
  color: #03110c;
  font-weight: 700;
  box-shadow:
    0 10px 32px -12px rgba(125, 255, 196, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  background: #9bffd4;
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px -12px rgba(125, 255, 196, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost,
.btn-line {
  border-color: var(--line-2);
  background: rgba(125, 255, 196, 0.035);
  color: var(--ink);
}
.btn-ghost:hover,
.btn-line:hover {
  border-color: rgba(125, 255, 196, 0.46);
  background: rgba(125, 255, 196, 0.08);
}

.btn-lg { height: 48px; padding: 0 22px; font-size: 14px; border-radius: 9px; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 11.5px; border-radius: 7px; }

/* ---------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--nav-h);
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 8, 10, 0.88), rgba(4, 8, 10, 0));
  pointer-events: none;
}
.nav.scrolled {
  background: rgba(4, 8, 10, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(120%);
}
.nav.scrolled::before { opacity: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: rgba(125, 255, 196, 0.045);
  color: var(--mint);
  transition: background 0.2s, border-color 0.2s;
}
.brand-mark .i { width: 22px; height: 22px; }
.brand:hover .brand-mark { background: rgba(125, 255, 196, 0.1); border-color: rgba(125, 255, 196, 0.4); }

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1;
}
.brand-name em {
  font: 8.5px/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.nav-links {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 30px;
  transform: translateX(-50%);
}
.nav-links a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 0;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--dim);
  transition: color 0.16s;
}
.nav-links a span { font-size: 8.5px; color: var(--mute); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--mint);
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.term-trigger {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--mint);
  font: 500 15px/1 var(--mono);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.term-trigger:hover { background: rgba(125, 255, 196, 0.08); border-color: var(--line-2); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}
.menu-btn span { display: block; width: 100%; height: 1px; background: var(--dim); transition: transform 0.2s, opacity 0.2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 55;
  padding: 6px var(--pad) 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #04090b, #050d0f);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.95);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a,
.mobile-menu button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--dim);
  font: 500 14px/1 var(--sans);
  text-align: left;
  cursor: pointer;
}
.mobile-menu a span,
.mobile-menu button span {
  width: 22px;
  font: 9px/1 var(--mono);
  color: var(--mute);
  letter-spacing: 0.1em;
}
.mobile-menu a:hover,
.mobile-menu button:hover { color: var(--ink); }

/* ---------------------------------------------------------- hero */

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 58px) var(--pad) 76px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "鱼";
  position: absolute;
  top: 4%;
  right: -1.5%;
  z-index: 0;
  font: 700 clamp(260px, 34vw, 520px) / 1 var(--serif);
  color: rgba(125, 255, 196, 0.024);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}
.hero-eyebrow { max-width: 540px; }
.hero-eyebrow .slash { color: var(--mute); }
.hero-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}
.hero-status::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-2);
}

.pulse {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(125, 255, 196, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(125, 255, 196, 0.12); }
  50% { opacity: 0.45; box-shadow: 0 0 0 7px rgba(125, 255, 196, 0); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 24px 0 0;
  font-family: var(--sans);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.glitch {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  font-size: clamp(68px, 10.4vw, 132px);
  color: var(--ink);
  text-shadow: 0 0 70px rgba(125, 255, 196, 0.16);
  white-space: nowrap;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.glitch::before {
  color: var(--cyan);
  text-shadow: -3px 0 rgba(86, 220, 255, 0.45);
  animation: glitch-a 8s infinite steps(1, end);
}
.glitch::after {
  color: #ff7ad9;
  text-shadow: 3px 0 rgba(255, 122, 217, 0.4);
  animation: glitch-b 8s infinite steps(1, end);
}
@keyframes glitch-a {
  0%, 90%, 96%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  91% { opacity: 0.72; clip-path: inset(12% 0 62% 0); transform: translate(-4px, 0); }
  93% { opacity: 0.72; clip-path: inset(55% 0 18% 0); transform: translate(4px, 0); }
  95% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 90%, 96%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  92% { opacity: 0.5; clip-path: inset(32% 0 42% 0); transform: translate(3px, 0); }
  94% { opacity: 0.5; clip-path: inset(68% 0 8% 0); transform: translate(-3px, 0); }
}

.title-sub {
  margin-top: 20px;
  font-size: clamp(26px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.15;
  background: linear-gradient(94deg, var(--mint) 0%, var(--cyan) 64%, rgba(86, 220, 255, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font: 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mute);
}
.source::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-2);
}

.lead {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 42px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li {
  flex: 1;
  min-width: 0;
  padding-right: 18px;
}
.hero-facts li + li {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.hero-facts b {
  display: block;
  font: 500 17px/1 var(--mono);
  color: var(--mint);
  letter-spacing: 0.02em;
}
.hero-facts span {
  display: block;
  margin-top: 7px;
  font: 8px/1.4 var(--mono);
  letter-spacing: 0.13em;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------------------------------------- hero terminal */

.hero-side {
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.term-wrap { position: relative; z-index: 0; }
.term-glow {
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  background: radial-gradient(circle at 55% 45%, rgba(125, 255, 196, 0.13), transparent 65%);
  filter: blur(38px);
  pointer-events: none;
}
.term-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(10, 24, 27, 0.95), rgba(4, 10, 12, 0.97));
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.term-card:hover {
  border-color: rgba(125, 255, 196, 0.44);
  transform: translateY(-2px);
  box-shadow:
    0 46px 100px -30px rgba(0, 0, 0, 0.9),
    0 0 40px -18px rgba(125, 255, 196, 0.5);
}
.term-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.dots { display: flex; gap: 5px; }
.dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.dots i:nth-child(1) { background: rgba(255, 110, 132, 0.62); }
.dots i:nth-child(2) { background: rgba(255, 196, 107, 0.6); }
.dots i:nth-child(3) { background: rgba(125, 255, 196, 0.55); }

.term-title {
  margin-left: 5px;
  font: 10px/1 var(--mono);
  letter-spacing: 0.05em;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.term-badge {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 8.5px/1.4 var(--mono);
  letter-spacing: 0.12em;
  color: var(--mute);
}

.term-body {
  min-height: 232px;
  padding: 20px 18px 16px;
  font: 12.5px/1.95 var(--mono);
  color: #c6ded6;
  word-break: break-word;
}
.term-line { display: block; }
.term-prompt { color: var(--mint); }
.term-out { color: var(--dim); }
.term-out.is-hidden { visibility: hidden; }
.term-mute { color: var(--mute); }
.term-accent { color: var(--mint); }
.term-final.is-hidden { visibility: hidden; }

.cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  vertical-align: -2px;
  background: var(--mint);
  opacity: 0.9;
  animation: blink 1.15s steps(1, end) infinite;
}
@keyframes blink { 0%, 49% { opacity: 0.9; } 50%, 100% { opacity: 0; } }

.term-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font: 8.5px/1.4 var(--mono);
  letter-spacing: 0.12em;
  color: var(--mute);
}
.term-card:hover .term-hint span:first-child { color: var(--mint); }

.side-note {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 2px 0;
  font: 8px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mute);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  font: 8px/1 var(--mono);
  letter-spacing: 0.32em;
  color: var(--mute);
  transition: color 0.2s;
}
.scroll-cue:hover { color: var(--mint); }
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 1px;
  height: 40%;
  background: var(--mint);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -40%; }
  60%, 100% { top: 100%; }
}

/* ---------------------------------------------------------- sections */

.section {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(76px, 9vw, 122px) var(--pad);
  border-top: 1px solid var(--line);
}

.sec-head {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 330px;
  gap: 24px 32px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 56px);
}
.sec-index {
  padding-top: 9px;
  border-top: 1px solid var(--line-2);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--mint);
}
.sec-title h2 {
  margin: 12px 0 0;
  font: 700 clamp(31px, 4.1vw, 50px) / 1.18 var(--sans);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.sec-desc {
  margin: 0;
  padding-bottom: 4px;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------------------------------------------------------- works */

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(9, 23, 26, 0.9), rgba(4, 9, 11, 0.95));
  box-shadow: 0 50px 110px -60px rgba(0, 0, 0, 0.9);
  isolation: isolate;
}
.work-card + .work-card { margin-top: 26px; }
.work-card::before {
  content: "";
  position: absolute;
  left: -22%;
  bottom: -55%;
  z-index: -1;
  width: 68%;
  height: 100%;
  background: radial-gradient(circle, rgba(125, 255, 196, 0.09), transparent 65%);
  pointer-events: none;
}
.work-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 255, 196, 0.5), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.work-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
}
.work-top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border: 1px solid rgba(125, 255, 196, 0.28);
  border-radius: 4px;
  background: rgba(125, 255, 196, 0.06);
  font: 9px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mint);
}
.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(125, 255, 196, 0.8);
}
.work-id {
  margin-left: auto;
  font: 8.5px/1.4 var(--mono);
  letter-spacing: 0.13em;
  color: var(--mute);
  text-align: right;
}

.work-copy h3 {
  margin: 24px 0 4px;
  font: 800 clamp(42px, 5.2vw, 62px) / 1 var(--sans);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.work-copy h3 em {
  margin-left: 9px;
  font: 500 15px/1 var(--mono);
  font-style: normal;
  letter-spacing: 0.14em;
  color: var(--mute);
  vertical-align: middle;
  white-space: nowrap;
}
.work-card--license .work-copy h3 {
  font-size: clamp(34px, 4.4vw, 52px);
}
.work-tag {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.work-desc {
  max-width: 470px;
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.9;
}
.work-points {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--dim);
}
.work-points li { display: flex; gap: 9px; }
.work-points li::before {
  content: "▸";
  color: var(--mint);
  font-size: 10px;
  line-height: 1.9;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 26px;
}
.chips span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 9px/1.3 var(--mono);
  letter-spacing: 0.06em;
  color: var(--mute);
  white-space: nowrap;
}
.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.work-meta {
  margin: 16px 0 0;
  font: 8.5px/1.5 var(--mono);
  letter-spacing: 0.1em;
  color: var(--mute);
}

.work-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 34px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 62% 48%, rgba(86, 220, 255, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(4, 10, 12, 0.4), rgba(3, 8, 10, 0.8));
  overflow: hidden;
}
.work-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 255, 196, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 255, 196, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  opacity: 0.55;
}
.shot-window {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(125, 255, 196, 0.2);
  border-radius: 9px;
  background: #03080a;
  box-shadow:
    0 30px 70px -25px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 42px -14px rgba(86, 220, 255, 0.24);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 20, 23, 0.94);
}
.shot-title {
  margin-left: 3px;
  font: 9px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot-live {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font: 7.5px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--mint);
  white-space: nowrap;
}
.shot-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
}
.shot-window img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s;
}
.work-visual:hover .shot-window img { transform: scale(1.025); opacity: 1; }

.shot-cta {
  position: absolute;
  right: clamp(28px, 4vw, 48px);
  bottom: clamp(28px, 4vw, 48px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(125, 255, 196, 0.4);
  border-radius: 5px;
  background: rgba(4, 9, 11, 0.88);
  font: 9px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mint);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.shot-cta .i { width: 12px; height: 12px; }
.work-visual:hover .shot-cta,
.work-visual:focus-visible .shot-cta { opacity: 1; transform: none; }

.archive {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.archive-head {
  display: flex;
  justify-content: space-between;
  padding: 11px 0 10px;
  font: 8px/1 var(--mono);
  letter-spacing: 0.18em;
  color: var(--mute);
}
.archive-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 110px 96px;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(125, 255, 196, 0.075);
  font-size: 13px;
  color: var(--dim);
  transition: color 0.18s, background 0.18s;
}
a.archive-row:hover { color: var(--ink); background: rgba(125, 255, 196, 0.025); }
.ar-id { font: 9.5px/1 var(--mono); color: var(--mute); letter-spacing: 0.08em; }
.ar-name { display: flex; align-items: baseline; gap: 10px; color: var(--ink); font-weight: 550; }
.ar-sub { font-size: 11.5px; font-weight: 400; color: var(--mute); }
.ar-type { font: 8.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--mute); }
.ar-state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  font: 9px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--mint);
  white-space: nowrap;
}
.archive-row.is-empty { color: var(--mute); }
.archive-row.is-empty .ar-name { color: var(--mute); font-weight: 400; }
.archive-row.is-empty .ar-state { color: var(--mute); }

@media (min-width: 981px) {
  .work-card--alt .work-copy { order: 2; }
  .work-card--alt .work-visual {
    order: 1;
    border-left: 0;
    border-right: 1px solid var(--line);
  }
}

/* ---------------------------------------------------------- about */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
}
.quote {
  position: relative;
  margin: 0;
  padding: 6px 0 4px 30px;
  border-left: 1px solid var(--line-2);
}
.quote::before {
  content: "“";
  position: absolute;
  top: -32px;
  left: 12px;
  font: 700 96px/1 var(--serif);
  color: rgba(125, 255, 196, 0.16);
  pointer-events: none;
}
.quote blockquote {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.quote figcaption {
  margin-top: 24px;
  font: 10px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--mute);
}
.quote-fish {
  display: block;
  width: 104px;
  height: auto;
  margin-top: 40px;
  color: rgba(125, 255, 196, 0.34);
  stroke-width: 1.1;
}

.about-copy { max-width: 620px; }
.about-copy p {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.95;
}
.about-copy .about-lead {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font: 8.5px/1.5 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mute);
}
.spec dd {
  margin: 0;
  color: var(--dim);
  font-size: 12.5px;
}
.spec dd .pulse { margin-right: 7px; }

/* ---------------------------------------------------------- contact */

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 72px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 255, 196, 0.06), transparent 55%),
    linear-gradient(150deg, rgba(8, 21, 23, 0.9), rgba(4, 9, 11, 0.96));
}
.contact-panel::after {
  content: "你好";
  position: absolute;
  right: -14px;
  bottom: -58px;
  font: 700 clamp(120px, 18vw, 210px) / 1 var(--serif);
  color: rgba(125, 255, 196, 0.035);
  pointer-events: none;
  user-select: none;
}
.contact-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-lead {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: clamp(21px, 2.7vw, 28px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
.contact-note {
  margin: 22px 0 0;
  color: var(--mute);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.contact-lines {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.contact-line {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line .label {
  font: 8.5px/1.4 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mute);
}
.contact-line a,
.contact-static {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.18s;
}
.contact-line a:hover { color: var(--mint); }
.line-icon {
  justify-self: end;
  width: 14px;
  height: 14px;
  color: var(--mute);
}
.copy-btn {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.copy-btn .i { width: 13px; height: 13px; }
.copy-btn:hover { color: var(--mint); border-color: var(--line-2); background: rgba(125, 255, 196, 0.06); }

/* ---------------------------------------------------------- footer */

.footer {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 8, 10, 0), rgba(2, 5, 6, 0.72));
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 34px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px var(--pad);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-mark .i { width: 20px; height: 20px; }
.footer-brand div { display: flex; flex-direction: column; gap: 3px; }
.footer-brand strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
}
.footer-brand span {
  font: 8.5px/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--mute);
}
.footer-note {
  margin: 0 0 0 auto;
  color: var(--mute);
  font-size: 11.5px;
}
.footer-term {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  font: 9px/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.footer-term span { color: var(--mint); }
.footer-term:hover { color: var(--ink); border-color: var(--line-2); background: rgba(125, 255, 196, 0.05); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 30px;
  font: 9px/1.6 var(--mono);
  letter-spacing: 0.08em;
  color: var(--mute);
}
.footer-bottom a { transition: color 0.18s; }
.footer-bottom a:hover { color: var(--dim); }
.footer-build { color: var(--mute); }
.footer-build i { margin: 0 6px; font-style: normal; opacity: 0.45; }
.footer-build .ok { color: rgba(125, 255, 196, 0.66); }

/* ---------------------------------------------------------- terminal modal */

.term-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 4, 5, 0.76);
  backdrop-filter: blur(10px) saturate(0.85);
  opacity: 0;
  transition: opacity 0.18s;
}
.term-modal.open { opacity: 1; }
.term-window {
  display: flex;
  flex-direction: column;
  width: min(900px, 100%);
  height: min(580px, 82svh);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(4, 10, 12, 0.985);
  box-shadow:
    0 60px 140px -40px rgba(0, 0, 0, 0.95),
    0 0 70px -30px rgba(125, 255, 196, 0.4);
  transform: translateY(10px) scale(0.992);
  transition: transform 0.2s;
}
.term-modal.open .term-window { transform: none; }
.modal-bar { flex: 0 0 40px; }
.term-close {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-left: auto;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.term-close .i { width: 14px; height: 14px; }
.term-close:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.term-screen {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.term-output {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px 16px;
  font: 12.5px/1.85 var(--mono);
  color: #c6ded6;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: thin;
}
.term-output .t-line { min-height: 1.85em; }
.term-output .t-prompt { color: var(--mint); }
.term-output .t-ok { color: var(--mint); }
.term-output .t-dim { color: var(--mute); }
.term-output .t-err { color: #ff9292; }
.term-output .t-warn { color: var(--amber); }
.term-output .t-cmd { color: var(--ink); }
.term-output .t-head { color: var(--cyan); }
.term-output .t-gap { height: 8px; }

.term-input-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.term-input-line .term-prompt { font: 12.5px/1 var(--mono); }
.term-input-line input {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font: 12.5px/1.4 var(--mono);
  caret-color: var(--mint);
}

/* ---------------------------------------------------------- toast */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  max-width: calc(100vw - 40px);
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: rgba(6, 15, 17, 0.97);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  color: var(--ink);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------- reveal */

html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  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);
}
html.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .sec-head { grid-template-columns: 58px minmax(0, 1fr) 300px; gap: 22px 26px; }
  .work-copy { padding: 32px; }
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--nav-h) + 54px);
    padding-bottom: 72px;
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-side { max-width: 560px; justify-self: start; }
  .hero::after { top: 2%; right: -6%; font-size: clamp(220px, 40vw, 380px); }
  .hero-status { display: none; }
  .scroll-cue { display: none; }
  .sec-head { grid-template-columns: 48px minmax(0, 1fr); }
  .sec-desc { grid-column: 2; max-width: 560px; }
  .work-card { grid-template-columns: minmax(0, 1fr); }
  .work-visual { border-top: 1px solid var(--line); border-left: 0; }
  .shot-window { max-width: 620px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .quote { max-width: 480px; }
  .quote-fish { margin-top: 28px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .footer-note { width: 100%; margin-left: 0; order: 3; }
  .footer-term { margin-left: auto; }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .nav { gap: 12px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 8px; }
  .brand-mark .i { width: 20px; height: 20px; }
  .brand-name { font-size: 13.5px; }
  .brand-name em { font-size: 7.5px; }
  .nav-product { display: none; }
  .term-trigger { width: 32px; height: 32px; }
  .menu-btn { width: 32px; height: 32px; }

  .hero { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 60px; }
  .hero-title { margin-top: 20px; }
  .title-sub { margin-top: 16px; letter-spacing: 0.14em; }
  .source { margin-top: 14px; }
  .lead { font-size: 14.5px; line-height: 1.9; margin-top: 22px; }
  .hero-cta { margin-top: 26px; }
  .hero-cta .btn { flex: 1; min-width: 140px; }
  .hero-facts { margin-top: 32px; padding-top: 15px; }
  .hero-facts li { padding-right: 12px; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts b { font-size: 15px; }
  .hero-facts span { font-size: 7px; letter-spacing: 0.08em; }

  .term-body { min-height: 218px; padding: 16px 14px 14px; font-size: 11.5px; line-height: 1.9; }
  .term-hint { font-size: 8px; padding: 8px 12px; }
  .side-note { font-size: 7px; letter-spacing: 0.1em; }

  .section { padding-top: 66px; padding-bottom: 66px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
  .sec-index { justify-self: start; padding-top: 7px; width: 46px; }
  .sec-desc { grid-column: 1; }
  .sec-title h2 { font-size: 30px; }

  .work-copy { padding: 24px 20px; }
  .work-top { flex-wrap: wrap; gap: 8px; }
  .work-id { margin-left: 0; width: 100%; text-align: left; }
  .work-copy h3 { margin-top: 18px; }
  .work-copy h3 em { font-size: 11px; margin-left: 6px; }
  .work-desc, .work-points { font-size: 12.5px; }
  .work-visual { padding: 16px; }
  .shot-cta { opacity: 1; transform: none; right: 24px; bottom: 24px; }
  .archive-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .ar-type { display: none; }
  .ar-sub { display: none; }

  .quote { padding-left: 20px; }
  .quote::before { left: 2px; font-size: 72px; top: -24px; }
  .quote blockquote { font-size: 34px; }
  .quote-fish { width: 78px; }
  .spec { grid-template-columns: 1fr; column-gap: 0; }

  .contact-panel { padding: 26px 20px; border-radius: 14px; }
  .contact-panel::after { font-size: 132px; right: -10px; bottom: -32px; color: rgba(125, 255, 196, 0.025); }
  .contact-line { grid-template-columns: 60px minmax(0, 1fr) 30px; gap: 10px; font-size: 12.5px; }

  .footer-inner { padding-top: 28px; padding-bottom: 24px; }
  .footer-bottom { padding-bottom: 24px; font-size: 8.5px; }
  .footer-build { width: 100%; }

  .term-modal { padding: 0; }
  .term-window {
    width: 100%;
    height: 100svh;
    border: 0;
    border-radius: 0;
  }
  .term-output { padding: 14px 16px; font-size: 11.5px; }
  .term-input-line { padding: 11px 16px; }
  .term-input-line .term-prompt,
  .term-input-line input { font-size: 11.5px; }
  .toast { right: 16px; bottom: 16px; left: 16px; text-align: center; }
}

@media (max-width: 400px) {
  .glitch { font-size: 61px; }
  .title-sub { font-size: 24px; }
  .hero-facts span { white-space: normal; }
  .term-title { font-size: 9px; }
  .term-badge { display: none; }
}

@media (hover: none) {
  .shot-cta { opacity: 1; transform: none; }
}

@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;
  }
  .rain { opacity: 0.45; }
  html.reveal-ready .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .title-sub {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    background: none;
  }
  .glitch::before,
  .glitch::after { display: none; }
  .term-card,
  .work-card,
  .contact-panel { border-color: CanvasText; }
}

/* ---------------------------------------------------------- print */

@media print {
  .rain, .spotlight, .grain, .scanlines, .vignette, .nav, .mobile-menu,
  .term-modal, .toast, .scroll-cue, .footer-term { display: none !important; }
  body { background: #fff; color: #111; }
  .section, .hero { break-inside: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
