/* =========================================================
   吃鱼 · CHI YU — Personal Signal Station
   ========================================================= */

:root {
  --bg: #04090c;
  --bg-deep: #020608;
  --bg-soft: #071217;
  --ink: #edfdff;
  --ink-soft: #c7dde1;
  --muted: #8da8af;
  --muted-dim: #617b83;
  --cyan: #5ff3ff;
  --cyan-bright: #00e5ff;
  --cyan-dark: #1a8796;
  --lime: #c6ff4a;
  --violet: #8f82ff;
  --line: rgba(134, 224, 234, 0.13);
  --line-strong: rgba(134, 224, 234, 0.28);
  --panel: rgba(7, 19, 24, 0.68);
  --panel-solid: #061015;
  --sans: "Bahnschrift", "DIN Alternate", "Segoe UI Variable Display", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: #06100b;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #03080a;
}

::-webkit-scrollbar-thumb {
  background: #19343b;
  border: 2px solid #03080a;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2b5b64;
}

h1, h2, h3, p, dl, dd, ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

.accent {
  color: var(--lime) !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--lime);
  color: #06100b;
  font-family: var(--mono);
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

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

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 76% 16%, rgba(16, 112, 128, 0.25), transparent 62%),
    radial-gradient(ellipse 48% 55% at 10% 38%, rgba(37, 54, 130, 0.19), transparent 66%),
    radial-gradient(ellipse 60% 42% at 54% 78%, rgba(20, 71, 76, 0.13), transparent 72%),
    linear-gradient(180deg, #04090c 0%, #050d12 42%, #040a0d 100%);
}

.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 226, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 226, 240, 0.05) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 0%, transparent 80%);
  opacity: 0.5;
}

.ambient::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -12%;
  height: 48%;
  background-image:
    linear-gradient(rgba(95, 243, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 243, 255, 0.09) 1px, transparent 1px);
  background-size: 86px 86px;
  transform: perspective(520px) rotateX(63deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, transparent 90%);
  opacity: 0.38;
}

.grain {
  position: fixed;
  inset: -40%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  animation: grainShift 8s steps(6) infinite;
}

/* ---------- Custom cursor ---------- */

.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(198, 255, 74, 0.8);
  transition: opacity 0.3s ease, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease);
}

.cursor-dot span {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(198, 255, 74, 0.45);
  border-radius: 50%;
  transition: inset 0.3s var(--ease), border-color 0.3s ease, transform 0.3s var(--ease);
}

.cursor-dot.is-active {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
}

.cursor-dot.is-active span {
  inset: -17px;
  border-color: rgba(95, 243, 255, 0.8);
  transform: scale(1.08);
}

.cursor-glow {
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 243, 255, 0.11) 0%, rgba(95, 243, 255, 0.045) 35%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  will-change: transform;
}

@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea {
    cursor: none;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--cyan) 55%, var(--violet));
  box-shadow: 0 0 16px rgba(95, 243, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 9, 12, 0.74);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.site-header::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 46px;
  background: linear-gradient(180deg, rgba(4, 9, 12, 0.82), rgba(4, 9, 12, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  justify-self: start;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--cyan);
  transition: color 0.3s ease, transform 0.6s var(--ease);
}

.brand:hover .brand-mark {
  color: var(--lime);
  transform: rotate(-8deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.3em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  justify-self: center;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.desktop-nav a span {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1px;
  background: var(--lime);
  transition: right 0.35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a:hover span,
.desktop-nav a.is-active span {
  color: var(--lime);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  right: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(12px, 1.7vw, 24px);
}

.system-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(198, 255, 74, 0.8);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(198, 255, 74, 0.55);
  border-radius: 50%;
  animation: statusPulse 2.6s ease-out infinite;
}

.status-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.status-copy b {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.status-copy time {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 37px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 20, 24, 0.4);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.header-cta svg {
  width: 13px;
  height: 13px;
  color: var(--lime);
  transition: transform 0.3s var(--ease);
}

.header-cta:hover {
  border-color: var(--lime);
  background: rgba(198, 255, 74, 0.07);
  color: var(--lime);
}

.header-cta:hover svg {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(7, 20, 24, 0.5);
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 22px;
  width: 11px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  width: 16px;
  transform: rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 480;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 98px clamp(20px, 6vw, 56px) 34px;
  background:
    radial-gradient(ellipse 80% 50% at 86% 8%, rgba(22, 112, 125, 0.3), transparent 60%),
    rgba(4, 9, 12, 0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4%);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.55s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.mobile-menu nav {
  margin: auto 0;
}

.mobile-menu:focus {
  outline: none;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile-menu nav a span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.mobile-menu nav a em {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.16em;
}

.mobile-menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mobile-menu-bottom p {
  color: var(--muted-dim);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-align: right;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn.primary {
  border-color: var(--lime);
  background: var(--lime);
  color: #06100b;
  box-shadow: 0 10px 38px rgba(198, 255, 74, 0.12);
}

.btn.primary:hover {
  background: #d9ff82;
  border-color: #d9ff82;
  box-shadow: 0 14px 48px rgba(198, 255, 74, 0.2);
}

.btn.ghost {
  border-color: var(--line-strong);
  background: rgba(7, 19, 24, 0.35);
  color: var(--ink-soft);
}

.btn.ghost:hover {
  border-color: rgba(95, 243, 255, 0.55);
  background: rgba(95, 243, 255, 0.06);
  color: var(--ink);
}

.btn-no {
  color: var(--muted-dim);
  font-size: 8px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: clamp(10px, 2vw, 36px);
  width: 100%;
  max-width: 1680px;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(118px, 13vh, 168px) clamp(20px, 6vw, 92px) clamp(82px, 9vh, 112px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.hero-eyebrow {
  animation: fadeUp 1s var(--ease) 0.1s both;
}

.eyebrow-mark {
  width: 24px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 74, 0.8);
}

.eyebrow-slash {
  color: var(--lime);
  opacity: 0.8;
}

.hero-title-wrap {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(22px, 3vh, 34px);
  animation: fadeUp 1.1s var(--ease) 0.18s both;
}

.title-index {
  position: absolute;
  top: 2px;
  right: -22px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  opacity: 0.7;
}

.hero h1 {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(7.5rem, 16.2vw, 16rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0.015em;
}

.title-cn {
  position: relative;
  z-index: 2;
  display: block;
  background: linear-gradient(178deg, #fbffff 4%, #d7feff 36%, #6de7f2 69%, #247a89 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 42px rgba(95, 243, 255, 0.14));
}

.title-cn::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(95, 243, 255, 0.16);
  transform: translate(8px, 8px);
  opacity: 0.6;
}

.title-outline {
  display: none;
}

.hero-alias {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 25px 0 22px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.27em;
  animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero-alias span {
  color: var(--lime);
}

.hero-headline {
  max-width: 660px;
  font-size: clamp(22px, 2.25vw, 33px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  animation: fadeUp 1s var(--ease) 0.38s both;
}

.hero-headline span {
  display: inline-block;
  margin-top: 5px;
  color: #a8c2c8;
  font-size: 0.8em;
  font-weight: 400;
}

.hero-desc {
  max-width: 540px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.95;
  letter-spacing: 0.01em;
  animation: fadeUp 1s var(--ease) 0.46s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  animation: fadeUp 1s var(--ease) 0.54s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 640px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  animation: fadeUp 1s var(--ease) 0.62s both;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: clamp(18px, 2.5vw, 32px);
  margin-right: clamp(18px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
}

.meta-item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.meta-label {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.meta-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.live-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 7px rgba(198, 255, 74, 0.8);
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 8px;
  margin-left: 1px;
}

.signal-bars i {
  display: block;
  width: 2px;
  background: var(--lime);
  opacity: 0.75;
}

.signal-bars i:nth-child(1) { height: 3px; }
.signal-bars i:nth-child(2) { height: 5px; }
.signal-bars i:nth-child(3) { height: 7px; }
.signal-bars i:nth-child(4) { height: 8px; }

/* ---------- Hero visual ---------- */

.hero-visual {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: clamp(480px, 48vw, 690px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.visual-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 700px);
  aspect-ratio: 1.07;
  transform-style: preserve-3d;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 183, 200, 0.15) 0%, rgba(17, 98, 113, 0.07) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(18px);
  animation: glowBreathe 7s ease-in-out infinite;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-a {
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(95, 243, 255, 0.14);
  border-top-color: rgba(198, 255, 74, 0.55);
  transform: translate(-50%, -50%) rotate(-18deg);
  animation: orbitSpin 34s linear infinite;
}

.orbit-a span {
  position: absolute;
  top: 5.5%;
  right: 23%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(198, 255, 74, 0.9);
}

.orbit-b {
  width: 94%;
  aspect-ratio: 1;
  border: 1px dashed rgba(95, 243, 255, 0.11);
  border-left-color: rgba(95, 243, 255, 0.36);
  transform: translate(-50%, -50%) rotate(24deg);
  animation: orbitSpinReverse 52s linear infinite;
}

.hud-crosshair {
  position: absolute;
  inset: 12%;
  pointer-events: none;
  opacity: 0.7;
}

.hud-crosshair span {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(95, 243, 255, 0.22), transparent);
}

.hud-crosshair span:first-child {
  top: 50%;
  left: -9%;
  width: 118%;
  height: 1px;
}

.hud-crosshair span:last-child {
  top: -9%;
  left: 50%;
  width: 1px;
  height: 118%;
  background: linear-gradient(180deg, transparent, rgba(95, 243, 255, 0.18), transparent);
}

.fish-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  animation: fishLevitate 8s ease-in-out infinite;
}

.fish-body-shape,
.fish-tail,
.fish-dorsal,
.fish-pectoral,
.fish-pelvic {
  transition: fill 0.5s ease, stroke 0.5s ease, filter 0.5s ease;
}

.fish-tail {
  transform-box: fill-box;
  transform-origin: left center;
  animation: tailSway 5.5s ease-in-out infinite;
}

.fish-dorsal {
  animation: finSway 4.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: bottom center;
}

.fish-pectoral {
  animation: finSway 4.2s ease-in-out -1.2s infinite;
  transform-box: fill-box;
  transform-origin: top left;
}

.fish-eye {
  filter: drop-shadow(0 0 5px rgba(198, 255, 74, 0.75));
  animation: eyeBlink 6.5s infinite;
}

.fish-eye-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: glowPulse 4s ease-in-out infinite;
}

.scan-band {
  animation: fishScan 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.orbit-dot-group {
  transform-origin: 372px 280px;
  animation: dotOrbit 26s linear infinite;
}

.orbit-dot.second {
  opacity: 0.4;
}

.hud-tag {
  position: absolute;
  z-index: 5;
  min-width: 124px;
  padding: 9px 12px 10px;
  background: linear-gradient(135deg, rgba(7, 22, 28, 0.86), rgba(5, 14, 19, 0.62));
  border: 1px solid rgba(122, 220, 232, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  animation: fadeIn 1.2s var(--ease) 0.8s both;
}

.hud-tag::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 1px;
  background: var(--lime);
}

.tag-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
}

.hud-tag strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hud-tag strong em {
  color: var(--muted-dim);
  font-size: 7px;
  font-style: normal;
}

.tag-identity {
  top: 5%;
  left: 1%;
}

.tag-curiosity {
  top: 15%;
  right: 0;
  min-width: 92px;
}

.tag-big {
  color: var(--lime) !important;
  font-size: 24px !important;
  line-height: 0.8;
  font-family: var(--sans) !important;
}

.tag-mode {
  right: 5%;
  bottom: 17%;
}

.blink-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.4s steps(2) infinite;
}

.tag-status {
  bottom: 10%;
  left: 4%;
}

.status-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px rgba(198, 255, 74, 0.8);
}

.sonar-mini {
  position: absolute;
  right: 2%;
  bottom: 3%;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.sonar-mini-label {
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sonar-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}

.sonar-mini-bars i {
  display: block;
  width: 2px;
  background: var(--cyan);
  opacity: 0.55;
  animation: sonarBars 1.6s ease-in-out infinite alternate;
}

.sonar-mini-bars i:nth-child(1) { height: 4px; animation-delay: 0s; }
.sonar-mini-bars i:nth-child(2) { height: 8px; animation-delay: 0.12s; }
.sonar-mini-bars i:nth-child(3) { height: 13px; animation-delay: 0.24s; }
.sonar-mini-bars i:nth-child(4) { height: 17px; animation-delay: 0.36s; }
.sonar-mini-bars i:nth-child(5) { height: 9px; animation-delay: 0.48s; }

.hud-coord {
  position: absolute;
  z-index: 4;
  color: rgba(130, 157, 164, 0.52);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.coord-a {
  top: 0;
  right: 2%;
}

.coord-b {
  bottom: 0;
  left: 2%;
}

.visual-frame {
  position: absolute;
  inset: 1% 0;
  pointer-events: none;
  opacity: 0.55;
}

.visual-frame span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(95, 243, 255, 0.38);
  border-style: solid;
}

.visual-frame span:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.visual-frame span:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.visual-frame span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.visual-frame span:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.scroll-cue {
  position: absolute;
  left: clamp(20px, 6vw, 92px);
  bottom: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.scroll-cue-line {
  position: relative;
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(95, 243, 255, 0.25);
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: var(--lime);
  animation: cueLine 2.8s ease-in-out infinite;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 14, 18, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerMove 46s linear infinite;
}

.ticker span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.19em;
  white-space: nowrap;
}

.ticker i {
  padding: 0 22px;
  color: var(--lime);
  font-size: 8px;
  font-style: normal;
  opacity: 0.8;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(78px, 7.5vw, 118px) clamp(20px, 6vw, 92px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 6vw, 84px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.section-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(198, 255, 74, 0.32);
  color: var(--lime);
  font-size: 7px;
  letter-spacing: 0;
}

.section-heading h2 {
  margin-top: 19px;
  font-size: clamp(2.35rem, 4.5vw, 4.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-side {
  flex: 0 0 232px;
  padding-bottom: 4px;
  text-align: right;
}

.section-coord {
  display: block;
  margin-bottom: 12px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.section-side p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  align-items: start;
  gap: clamp(46px, 8vw, 126px);
}

.about-lead {
  max-width: 790px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -0.035em;
}

.about-lead em {
  color: var(--lime);
  font-style: normal;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 860px;
  margin-top: clamp(30px, 4vw, 50px);
}

.about-copy p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
}

.signature-line {
  width: 48px;
  height: 1px;
  background: rgba(198, 255, 74, 0.45);
}

.signature-cn {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.about-signature .mono {
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.profile-card {
  position: relative;
  padding: 20px 22px 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(13, 35, 41, 0.82), rgba(4, 12, 16, 0.7)),
    rgba(7, 19, 24, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at top right, rgba(198, 255, 74, 0.12), transparent 70%);
  pointer-events: none;
}

.profile-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 38px;
  height: 1px;
  background: var(--lime);
}

.profile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.profile-light {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(198, 255, 74, 0.8);
}

.profile-avatar {
  width: 142px;
  margin: 22px auto 18px;
  color: var(--cyan);
  background: radial-gradient(circle, rgba(95, 243, 255, 0.07), transparent 68%);
}

.profile-data {
  margin: 0;
}

.profile-data div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(134, 224, 234, 0.08);
}

.profile-data dt {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.profile-data dd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  text-align: right;
  letter-spacing: 0.03em;
}

.profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px -22px 0;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 6px;
  letter-spacing: 0.13em;
}

.profile-arrow {
  color: var(--lime);
  font-size: 12px;
}

.about-quote {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: clamp(64px, 9vw, 120px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-mark {
  align-self: start;
  height: 0.8em;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 88px;
  line-height: 0.9;
  opacity: 0.35;
}

.about-quote p {
  font-size: clamp(1.5rem, 2.7vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.about-quote p em {
  color: var(--cyan);
  font-style: normal;
}

.quote-meta {
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

/* ---------- Focus ---------- */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.focus-card {
  --rx: 0deg;
  --ry: 0deg;
  --ty: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 25px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(12, 31, 37, 0.68), rgba(4, 12, 16, 0.5)),
    rgba(6, 17, 21, 0.5);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.25s var(--ease), box-shadow 0.4s ease;
}

.focus-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -25%;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 243, 255, 0.11), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.focus-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(95, 243, 255, 0.06), transparent);
  opacity: 0;
  transition: top 0.9s var(--ease), opacity 0.4s ease;
  pointer-events: none;
}

.focus-card:hover {
  --ty: -6px;
  border-color: rgba(95, 243, 255, 0.34);
  background:
    linear-gradient(150deg, rgba(14, 39, 46, 0.82), rgba(4, 12, 16, 0.6)),
    rgba(6, 17, 21, 0.55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.focus-card:hover::before {
  opacity: 1;
}

.focus-card:hover::after {
  top: 120%;
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-no {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(95, 243, 255, 0.18);
  color: var(--cyan);
  background: rgba(95, 243, 255, 0.03);
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.5s var(--ease);
}

.card-icon svg {
  width: 31px;
  height: 31px;
}

.focus-card:hover .card-icon {
  color: var(--lime);
  border-color: rgba(198, 255, 74, 0.38);
  transform: rotate(4deg);
}

.card-body {
  margin-top: 62px;
  padding-bottom: 34px;
}

.card-en {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.card-body h3 {
  margin: 8px 0 15px;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.card-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-foot .mono {
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.card-line {
  flex: 1;
  height: 1px;
  background: rgba(134, 224, 234, 0.12);
  overflow: hidden;
}

.card-line i {
  display: block;
  width: 18%;
  height: 100%;
  background: var(--lime);
  transition: width 0.55s var(--ease);
}

.focus-card:hover .card-line i {
  width: 100%;
}

/* ---------- Now ---------- */

.now-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.terminal {
  border: 1px solid rgba(95, 243, 255, 0.2);
  background: rgba(3, 11, 14, 0.8);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 26, 31, 0.55);
}

.terminal-dots {
  display: inline-flex;
  gap: 5px;
}

.terminal-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-dim);
  opacity: 0.5;
}

.terminal-dots i:first-child {
  background: var(--lime);
  opacity: 0.85;
}

.terminal-bar > .mono {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.terminal-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--lime) !important;
  font-size: 6px !important;
  letter-spacing: 0.13em !important;
}

.terminal-live i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
  animation: blink 1.4s steps(2) infinite;
}

.terminal-body {
  padding: 24px clamp(18px, 3vw, 28px) 20px;
}

.terminal-command {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.prompt {
  margin-right: 8px;
  color: var(--lime);
}

.flag {
  color: var(--cyan);
}

.terminal-output {
  margin: 20px 0 16px;
}

.status-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.status-row + .status-row {
  border-top: 1px solid rgba(134, 224, 234, 0.055);
}

.status-row .key {
  flex: 0 0 88px;
  color: var(--cyan);
  opacity: 0.8;
}

.status-row .dots {
  flex: 1;
  min-width: 12px;
  height: 1px;
  border-bottom: 1px dotted rgba(134, 224, 234, 0.18);
}

.status-row .value {
  color: var(--ink-soft);
  text-align: right;
}

.terminal-command-end {
  display: flex;
  align-items: center;
  min-height: 15px;
}

.cursor-block {
  display: inline-block;
  width: 6px;
  height: 13px;
  background: var(--lime);
  animation: blink 1s steps(2) infinite;
}

.terminal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.principles-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.principles-head .mono {
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.principles-head h3 {
  margin-top: 15px;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.principle-list li {
  display: grid;
  grid-template-columns: 30px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.principle-no {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 7px;
}

.principle-list p {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.principle-list strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.principle-list em {
  color: var(--muted-dim);
  font-size: 10.5px;
  font-style: normal;
}

.principle-arrow {
  color: var(--muted-dim);
  font-size: 12px;
  opacity: 0.45;
  transition: color 0.25s ease, transform 0.3s var(--ease), opacity 0.25s ease;
}

.principle-list li:hover strong {
  color: var(--lime);
}

.principle-list li:hover .principle-arrow {
  color: var(--lime);
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  z-index: 2;
  margin-top: clamp(50px, 7vw, 100px);
  padding: clamp(86px, 10vw, 130px) 0 42px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 84% 45%, rgba(30, 143, 158, 0.16), transparent 65%),
    radial-gradient(ellipse 45% 60% at 14% 70%, rgba(73, 87, 178, 0.1), transparent 70%);
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(95, 243, 255, 0.12), transparent);
  pointer-events: none;
}

.contact-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 243, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 243, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 65% 80% at 50% 55%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 65% 80% at 50% 55%, #000, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 92px);
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  margin: clamp(44px, 6vw, 78px) 0 clamp(60px, 8vw, 100px);
}

.contact-copy h2 {
  max-width: 850px;
  font-size: clamp(2.7rem, 5.1vw, 5.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.contact-copy h2 em {
  color: var(--lime);
  font-style: normal;
}

.contact-copy p {
  max-width: 480px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.signal-button {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(190px, 15.5vw, 226px);
  aspect-ratio: 1;
  border: 1px solid rgba(95, 243, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(95, 243, 255, 0.14), rgba(5, 24, 29, 0.4) 48%, rgba(4, 12, 16, 0.75) 72%);
  color: var(--ink);
  transition: transform 0.5s var(--ease), color 0.35s ease, background 0.45s ease, border-color 0.35s ease;
}

.signal-button::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(95, 243, 255, 0.1);
  border-radius: 50%;
  animation: signalPulse 3.4s ease-out infinite;
  pointer-events: none;
}

.signal-button-ring {
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(95, 243, 255, 0.3);
  border-radius: 50%;
  animation: spinSimple 27s linear infinite;
}

.signal-button-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 2;
}

.signal-button-core span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.signal-button-core small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.18em;
  transition: color 0.35s ease;
}

.signal-button-arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--lime);
  font-size: 16px;
  transition: transform 0.4s var(--ease), color 0.35s ease;
}

.signal-button:hover {
  transform: scale(1.035);
  border-color: var(--lime);
  background: var(--lime);
  color: #06100b;
}

.signal-button:hover .signal-button-core small {
  color: rgba(6, 16, 11, 0.6);
}

.signal-button:hover .signal-button-arrow {
  color: #06100b;
  transform: translate(3px, -3px);
}

.signal-button:hover .signal-button-ring {
  border-color: rgba(6, 16, 11, 0.35);
}

.contact-note {
  margin-top: 26px;
  color: var(--muted-dim);
  font-size: 6px;
  letter-spacing: 0.14em;
  text-align: right;
}

.contact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.contact-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 15px;
}

.contact-wave i {
  width: 2px;
  height: 5px;
  background: var(--cyan);
  opacity: 0.45;
  animation: wave 1.5s ease-in-out infinite alternate;
}

.contact-wave i:nth-child(2) { height: 9px; animation-delay: 0.1s; }
.contact-wave i:nth-child(3) { height: 13px; animation-delay: 0.2s; }
.contact-wave i:nth-child(4) { height: 7px; animation-delay: 0.3s; }
.contact-wave i:nth-child(5) { height: 11px; animation-delay: 0.4s; }
.contact-wave i:nth-child(6) { height: 5px; animation-delay: 0.5s; }
.contact-wave i:nth-child(7) { height: 9px; animation-delay: 0.6s; }
.contact-wave i:nth-child(8) { height: 13px; animation-delay: 0.7s; }
.contact-wave i:nth-child(9) { height: 6px; animation-delay: 0.8s; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: rgba(3, 8, 10, 0.7);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 26px;
  height: 26px;
  color: var(--muted);
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-brand p span {
  color: var(--muted-dim);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.13em;
}

.footer-note {
  color: var(--muted-dim);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.back-top:hover {
  color: var(--lime);
}

/* ---------- Dialog ---------- */

.signal-dialog {
  width: min(960px, calc(100vw - 36px));
  max-width: none;
  max-height: 92svh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.signal-dialog::backdrop {
  background: rgba(1, 5, 7, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  border: 1px solid rgba(95, 243, 255, 0.24);
  background: #061015;
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.signal-dialog[open] .dialog-shell {
  animation: dialogIn 0.5s var(--ease) both;
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 16, 21, 0.85);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.dialog-close span {
  position: absolute;
  top: 17px;
  left: 10px;
  width: 15px;
  height: 1px;
  background: var(--ink-soft);
}

.dialog-close span:first-child {
  transform: rotate(45deg);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.dialog-close:hover {
  border-color: var(--lime);
  background: rgba(198, 255, 74, 0.08);
}

.dialog-aside {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 38px 34px 28px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse 85% 55% at 15% 12%, rgba(34, 146, 160, 0.22), transparent 60%),
    linear-gradient(160deg, rgba(10, 32, 38, 0.9), rgba(3, 10, 13, 0.9));
}

.dialog-aside > .mono {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.dialog-aside h2 {
  margin-top: 30px;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.dialog-aside h2 em {
  color: var(--lime);
  font-style: normal;
}

.dialog-aside > p:not(.mono) {
  max-width: 290px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.signal-radar {
  position: relative;
  width: min(100%, 232px);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(95, 243, 255, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(rgba(95, 243, 255, 0.08) 1px, transparent 1px) 50% 0 / 100% 50% no-repeat,
    linear-gradient(90deg, rgba(95, 243, 255, 0.08) 1px, transparent 1px) 0 50% / 50% 100% no-repeat;
}

.radar-circle {
  position: absolute;
  border: 1px solid rgba(95, 243, 255, 0.12);
  border-radius: 50%;
}

.radar-circle.c1 { inset: 15%; }
.radar-circle.c2 { inset: 31%; }
.radar-circle.c3 { inset: 46%; }

.radar-sweep {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, rgba(198, 255, 74, 0.32) 356deg, transparent 360deg);
  animation: spinSimple 6s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 36%, #000 37%);
  -webkit-mask-image: radial-gradient(circle, transparent 0 36%, #000 37%);
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 255, 74, 0.9);
}

.radar-blip {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(95, 243, 255, 0.8);
  animation: blip 3.4s ease-out infinite;
}

.radar-blip.b1 { top: 27%; left: 64%; }
.radar-blip.b2 { top: 64%; left: 29%; animation-delay: 1.1s; }
.radar-blip.b3 { top: 72%; left: 68%; animation-delay: 2.2s; }

.dialog-coord {
  color: var(--muted-dim) !important;
  font-size: 6px !important;
  letter-spacing: 0.13em !important;
}

.signal-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 34px 38px 28px;
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 45px;
  margin-bottom: 3px;
  color: var(--muted-dim);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.form-draft {
  color: var(--lime);
  opacity: 0.7;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.field-label em {
  color: var(--muted-dim);
  font-size: 6px;
  font-style: normal;
  letter-spacing: 0.15em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(134, 224, 234, 0.16);
  border-radius: 0;
  outline: none;
  background: rgba(4, 13, 17, 0.62);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-dim);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(95, 243, 255, 0.55);
  background: rgba(5, 18, 22, 0.85);
  box-shadow: 0 0 0 3px rgba(95, 243, 255, 0.05);
}

.form-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 2px;
}

.form-note {
  color: var(--muted-dim);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.signal-success {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(37, 144, 157, 0.18), transparent 68%),
    #061015;
  text-align: center;
}

.success-orbit {
  position: relative;
  display: block;
  width: 104px;
  height: 104px;
  margin-bottom: 26px;
  border: 1px solid rgba(95, 243, 255, 0.3);
  border-radius: 50%;
}

.success-orbit::before,
.success-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.success-orbit::before {
  inset: 16px;
  border: 1px dashed rgba(198, 255, 74, 0.4);
  animation: spinSimple 12s linear infinite;
}

.success-orbit::after {
  inset: 37px;
  background: var(--lime);
  box-shadow: 0 0 24px rgba(198, 255, 74, 0.45);
  transform-origin: center;
  animation: glowPulse 2.4s ease-in-out infinite;
}

.signal-success > .mono {
  color: var(--lime);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.signal-success h3 {
  margin-top: 15px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.signal-success > p:not(.mono) {
  max-width: 390px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.success-code {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0;
  padding: 13px 18px;
  border: 1px solid var(--line);
  background: rgba(4, 13, 17, 0.7);
}

.success-code span {
  color: var(--muted-dim);
  font-size: 6px;
  letter-spacing: 0.14em;
}

.success-code strong {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  translate: 0 30px;
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease), filter 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

/* ---------- Keyframes ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes statusPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-3%, -3%); }
  80% { transform: translate(2%, 2%); }
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes spinSimple {
  to { transform: rotate(360deg); }
}

@keyframes glowBreathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

@keyframes fishLevitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes tailSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(1.4deg); }
}

@keyframes finSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-2.2deg); }
}

@keyframes fishScan {
  0% { transform: translateX(-130px); opacity: 0; }
  12% { opacity: 0.7; }
  50% { opacity: 0.95; }
  88% { opacity: 0.7; }
  100% { transform: translateX(730px); opacity: 0; }
}

@keyframes eyeBlink {
  0%, 94%, 100% { opacity: 1; }
  96% { opacity: 0.2; }
  98% { opacity: 1; }
}

@keyframes dotOrbit {
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes sonarBars {
  from { transform: scaleY(0.45); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 0.85; }
}

@keyframes tickerMove {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes cueLine {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}

@keyframes signalPulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  70%, 100% { transform: scale(1.16); opacity: 0; }
}

@keyframes wave {
  from { transform: scaleY(0.55); opacity: 0.3; }
  to { transform: scaleY(1); opacity: 0.75; }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blip {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  20% { opacity: 1; transform: scale(1.15); }
  50% { opacity: 0.45; transform: scale(0.9); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
  }

  .hero h1 {
    font-size: clamp(7rem, 16vw, 13.5rem);
  }

  .hud-tag {
    min-width: 112px;
  }

  .tag-identity {
    left: 0;
  }

  .section {
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
  }

  .section-head,
  .contact-inner,
  .site-footer {
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
  }

  .scroll-cue {
    left: clamp(24px, 5vw, 64px);
  }

  .section-head {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-inner {
    padding-top: 0;
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }

  .system-status {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.86fr);
    gap: 0;
  }

  .hero-visual {
    min-height: 460px;
  }

  .title-index {
    right: -12px;
  }

  .hud-tag {
    transform: scale(0.92);
  }

  .tag-curiosity {
    right: -2%;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
    gap: 48px;
  }

  .about-copy {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .now-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .principles {
    max-width: 680px;
  }

  .contact-main {
    grid-template-columns: 1fr minmax(260px, 0.6fr);
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-tools {
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 62px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 660px);
    min-height: 0;
    margin: -12px auto 0;
  }

  .visual-inner {
    aspect-ratio: 1.12;
  }

  .scroll-cue {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .profile-card {
    max-width: 470px;
  }

  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }

  .focus-card:last-child {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-action {
    align-items: flex-start;
  }

  .signal-button {
    width: 200px;
  }

  .contact-note {
    text-align: left;
  }

  .dialog-shell {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .dialog-aside {
    padding: 30px 26px 24px;
  }

  .signal-form {
    padding: 30px 30px 24px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 70px;
  }

  .site-header {
    padding: 0 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 112px 20px 48px;
  }

  .hero h1 {
    font-size: clamp(6.4rem, 25vw, 10.5rem);
  }

  .title-index {
    display: none;
  }

  .hero-headline {
    font-size: 22px;
  }

  .hero-desc {
    max-width: 470px;
  }

  .hero-meta {
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 34px;
  }

  .meta-item {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 12px;
    margin-right: 12px;
  }

  .meta-value {
    font-size: 8px;
    white-space: nowrap;
  }

  .hero-visual {
    width: 100%;
    margin-top: 10px;
  }

  .visual-inner {
    width: min(100%, 560px);
  }

  .hud-tag.tag-curiosity,
  .hud-tag.tag-mode {
    display: none;
  }

  .tag-identity {
    top: 2%;
    left: 0;
  }

  .tag-status {
    bottom: 6%;
    left: 1%;
  }

  .section {
    padding: 74px 20px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 44px;
  }

  .section-side {
    flex: none;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 0;
    text-align: left;
  }

  .section-coord {
    margin: 3px 0 0;
    white-space: nowrap;
  }

  .section-side p {
    font-size: 11px;
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 8vw, 3.4rem);
  }

  .about-copy {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about-lead {
    font-size: clamp(1.7rem, 5vw, 2.4rem);
  }

  .about-quote {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    margin-top: 54px;
  }

  .quote-mark {
    font-size: 58px;
  }

  .quote-meta {
    grid-column: 2;
    margin-top: 4px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-card,
  .focus-card:last-child {
    grid-column: auto;
    min-height: 350px;
  }

  .card-body {
    margin-top: 42px;
  }

  .now-grid {
    gap: 44px;
  }

  .contact {
    padding-top: 82px;
  }

  .contact-inner {
    padding: 0 20px;
  }

  .contact-copy h2 {
    font-size: clamp(2.7rem, 10vw, 4.6rem);
  }

  .contact-main {
    margin-top: 42px;
    margin-bottom: 56px;
  }

  .contact-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .contact-wave {
    order: 3;
    width: 100%;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 24px 20px;
  }

  .footer-note {
    order: 3;
    width: 100%;
    font-size: 9px;
  }

  .footer-meta {
    margin-left: auto;
  }

  .signal-dialog {
    width: min(640px, calc(100vw - 24px));
    max-height: 92svh;
    overflow-y: auto;
  }

  .dialog-shell {
    grid-template-columns: 1fr;
  }

  .dialog-aside {
    min-height: 0;
    padding: 30px 26px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dialog-aside h2 {
    margin-top: 18px;
    font-size: 2.5rem;
  }

  .dialog-aside > p:not(.mono) {
    max-width: 400px;
  }

  .signal-radar,
  .dialog-coord {
    display: none;
  }

  .signal-form {
    padding: 26px;
  }

  .dialog-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 560px) {
  .brand-text strong {
    font-size: 16px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .eyebrow {
    font-size: 7px;
    letter-spacing: 0.16em;
  }

  .eyebrow-mark {
    width: 16px;
  }

  .hero h1 {
    font-size: clamp(5.6rem, 26vw, 8rem);
  }

  .title-cn::after {
    transform: translate(8px, 8px);
  }

  .title-outline {
    transform: translate(14px, 14px);
  }

  .hero-alias {
    font-size: 7px;
    letter-spacing: 0.2em;
    margin-top: 20px;
  }

  .hero-headline {
    font-size: 19px;
    line-height: 1.5;
  }

  .hero-headline span {
    font-size: 0.82em;
  }

  .hero-desc {
    font-size: 12.5px;
    line-height: 1.85;
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .btn {
    min-height: 46px;
    padding: 0 17px;
    font-size: 10px;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .hero-meta {
    flex-wrap: nowrap;
    margin-top: 26px;
    padding-top: 14px;
  }

  .meta-item {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 8px;
    margin-right: 8px;
  }

  .meta-item:nth-child(3) {
    flex-basis: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }

  .meta-label {
    font-size: 6px;
  }

  .visual-inner {
    width: 100%;
    margin-left: 0;
  }

  .hud-tag {
    padding: 7px 9px 8px;
    min-width: 100px;
  }

  .tag-label {
    font-size: 5px;
  }

  .hud-tag strong {
    font-size: 8px;
  }

  .tag-identity {
    top: 0;
    left: 3%;
  }

  .tag-status {
    bottom: 3%;
    left: 3%;
  }

  .hud-coord,
  .sonar-mini {
    display: none;
  }

  .fish-labels {
    display: none;
  }

  .ticker {
    padding: 11px 0;
  }

  .ticker span {
    font-size: 7px;
  }

  .ticker i {
    padding: 0 14px;
  }

  .section {
    padding: 62px 20px;
  }

  .section-kicker {
    font-size: 7px;
  }

  .section-heading h2 {
    margin-top: 15px;
    font-size: clamp(2rem, 9.5vw, 2.7rem);
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-side p {
    font-size: 10px;
  }

  .about-lead {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    line-height: 1.5;
  }

  .about-copy p {
    font-size: 12px;
  }

  .about-signature {
    margin-top: 30px;
  }

  .profile-card {
    padding: 17px 17px 0;
  }

  .profile-footer {
    margin-left: -17px;
    margin-right: -17px;
    padding-left: 17px;
    padding-right: 17px;
  }

  .profile-avatar {
    width: 120px;
  }

  .about-quote p {
    font-size: 1.45rem;
  }

  .quote-meta {
    font-size: 6px;
  }

  .focus-card,
  .focus-card:last-child {
    min-height: 330px;
    padding: 20px;
  }

  .card-icon {
    width: 46px;
    height: 46px;
  }

  .card-body {
    margin-top: 35px;
  }

  .card-body h3 {
    font-size: 27px;
  }

  .terminal-body {
    padding: 20px 16px 16px;
  }

  .status-row {
    gap: 7px;
    font-size: 8px;
  }

  .status-row .key {
    flex-basis: 74px;
  }

  .terminal-foot {
    font-size: 5.5px;
  }

  .principles-head h3 {
    font-size: 1.55rem;
  }

  .principle-list strong {
    font-size: 13px;
  }

  .principle-list em {
    font-size: 9.5px;
  }

  .contact {
    padding-top: 68px;
  }

  .contact-copy h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .contact-copy p {
    font-size: 12px;
  }

  .signal-button {
    width: 178px;
  }

  .signal-button-core span {
    font-size: 20px;
  }

  .signal-button-arrow {
    top: 20px;
    right: 20px;
  }

  .contact-footer {
    font-size: 6px;
  }

  .site-footer {
    padding: 22px 20px;
  }

  .footer-brand p {
    font-size: 12px;
  }

  .footer-meta {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .footer-note {
    order: 2;
  }

  .mobile-menu {
    padding: 90px 20px 26px;
  }

  .mobile-menu-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .mobile-menu-bottom p {
    text-align: left;
  }

  .dialog-aside {
    padding: 26px 20px 20px;
  }

  .dialog-aside h2 {
    font-size: 2.1rem;
  }

  .signal-form {
    padding: 22px 20px;
    gap: 14px;
  }

  .signal-success {
    padding: 30px 20px;
  }

  .toast {
    width: calc(100% - 32px);
    text-align: center;
  }
}

@media (max-height: 820px) and (min-width: 1025px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 38px;
  }

  .hero-meta {
    margin-top: 25px;
    padding-top: 15px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .visual-inner {
    width: min(100%, 580px);
  }
}

/* ---------- Reduced motion ---------- */

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

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

  .js .reveal {
    opacity: 1;
    translate: 0 0;
    filter: none;
  }

  .cursor-dot,
  .cursor-glow {
    display: none;
  }

  .grain {
    animation: none;
  }
}
