/* ==========================================================================
   壹乐游艺 · 共享站点样式 /assets/site.css
   1 Reset  2 Tokens  3 Base type  4 Utilities  5 Header  6 Footer
   7 Buttons  8 Tags & chips  9 Panels  10 Layout & prose  11 Media
   12 Motion
   ========================================================================== */

/* 1. Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
main { display: block; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --ink: #070B14;
  --coal: #101522;
  --slate: #182033;
  --cyan: #35F0E0;
  --magenta: #FF3D9A;
  --amber: #FFB13D;
  --violet: #7A5CFF;
  --fog: #F4F7FF;
  --mist: #A7B0C8;
  --line: #2A3550;
  --lime: #5CFF9D;

  --cyan-ghost: rgba(53, 240, 224, 0.10);
  --magenta-ghost: rgba(255, 61, 154, 0.10);
  --amber-ghost: rgba(255, 177, 61, 0.12);

  --font-sans: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --gutter: clamp(18px, 4.2vw, 48px);
  --header-h: 104px;
  --cut: 22px;
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
}

/* 3. Base type ------------------------------------------------------------ */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--fog);
  background-color: var(--ink);
  background-image:
    radial-gradient(1000px 560px at 8% -12%, rgba(53, 240, 224, 0.15), transparent 62%),
    radial-gradient(820px 520px at 96% -4%, rgba(255, 61, 154, 0.13), transparent 66%),
    radial-gradient(760px 520px at 50% 108%, rgba(122, 92, 255, 0.12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(42, 53, 80, 0.28) 0 1px, transparent 1px 132px),
    repeating-linear-gradient(0deg, rgba(42, 53, 80, 0.18) 0 1px, transparent 1px 132px);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.6vw, 68px); letter-spacing: 0.03em; }
h2 { font-size: clamp(26px, 3.8vw, 42px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); }
p { text-wrap: pretty; }
strong { font-weight: 700; color: var(--fog); }
::selection { background: var(--cyan); color: var(--ink); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content { scroll-margin-top: calc(var(--header-h) + 12px); }

/* 4. Utilities ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 12px 30px -12px rgba(53, 240, 224, 0.9);
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); outline: 2px solid var(--fog); outline-offset: 3px; }

.rail {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgba(53, 240, 224, 0.6), rgba(122, 92, 255, 0.42), rgba(255, 61, 154, 0.45), transparent);
}

/* 5. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.97), rgba(7, 11, 20, 0.9));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.header-strip {
  background: rgba(24, 32, 51, 0.55);
  border-bottom: 1px solid rgba(42, 53, 80, 0.8);
}
.header-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 30px;
  padding-block: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.strip-note {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  flex: 0 0 auto;
}
.strip-coord {
  color: rgba(167, 176, 200, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-bar { position: relative; }
.header-bar-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: 72px;
  padding-block: 10px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--fog);
}
.brand-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: var(--fog);
  background: linear-gradient(150deg, rgba(53, 240, 224, 0.3), rgba(122, 92, 255, 0.34) 55%, rgba(255, 61, 154, 0.3));
  border: 1px solid rgba(53, 240, 224, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
  box-shadow: 0 0 18px rgba(53, 240, 224, 0.18);
  transition: border-color 0.2s var(--ease), box-shadow 0.24s var(--ease);
}
.brand-text { display: grid; gap: 2px; }
.brand-name { font-size: 19px; font-weight: 800; line-height: 1.1; letter-spacing: 0.14em; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--mist);
}
.brand:hover .brand-glyph,
.brand:focus-visible .brand-glyph {
  border-color: var(--cyan);
  box-shadow: 0 0 26px rgba(53, 240, 224, 0.42);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--fog); background: rgba(53, 240, 224, 0.07); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(167, 176, 200, 0.62);
  transition: color 0.18s var(--ease);
}
.nav-text { white-space: nowrap; }
.nav-link:hover .nav-index { color: var(--cyan); }

.nav-link[aria-current="page"] {
  color: var(--fog);
  background: rgba(53, 240, 224, 0.1);
  box-shadow: inset 0 0 0 1px rgba(53, 240, 224, 0.24);
}
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}
.nav-link[aria-current="page"] .nav-index { color: var(--cyan); }
.nav-link[aria-current="page"] .nav-text::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.nav-foot { display: none; }
.nav-cta { justify-content: center; }
.nav-foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-cta { padding: 10px 16px; font-size: 13px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(24, 32, 51, 0.9);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-toggle:hover { border-color: rgba(53, 240, 224, 0.6); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fog);
  transition: background-color 0.18s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--fog);
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(53, 240, 224, 0.7);
  background: rgba(53, 240, 224, 0.14);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(53, 240, 224, 0.16), rgba(255, 61, 154, 0.16));
}
.progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--magenta));
  box-shadow: 0 0 12px rgba(53, 240, 224, 0.65);
  transition: transform 0.1s linear;
}

/* 6. Footer --------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--coal) 0%, #0B1020 62%, #06090F 100%);
}
.footer-glow {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 320px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 18% 100%, rgba(53, 240, 224, 0.16), transparent 70%),
    radial-gradient(60% 100% at 82% 100%, rgba(255, 61, 154, 0.14), transparent 72%);
}
.footer-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(40px, 5.5vw, 72px) clamp(20px, 3vw, 30px);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.footer-brand { display: grid; gap: 12px; max-width: 34em; }
.footer-brand-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(21px, 2.6vw, 29px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--fog);
}
.footer-brand-line::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  transform: translateY(-2px);
}
.footer-summary { max-width: 32em; font-size: 15px; color: var(--mist); }
.footer-contact {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  word-break: break-word;
}
.footer-address { font-size: 13.5px; line-height: 1.7; color: var(--mist); }
.footer-cta { justify-self: start; margin-top: 6px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.footer-group-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.footer-group-title::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.footer-links { display: grid; gap: 2px; }
.footer-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  color: var(--fog);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--cyan); transform: translateX(4px); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(42, 53, 80, 0.75);
}
.footer-legal { font-size: 12.5px; letter-spacing: 0.03em; color: var(--mist); }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(167, 176, 200, 0.7);
}

.footer-skyline {
  position: relative;
  z-index: 1;
  height: clamp(64px, 10vw, 124px);
  pointer-events: none;
}
.footer-skyline::before,
.footer-skyline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.footer-skyline::before {
  height: 100%;
  opacity: 0.6;
  background: linear-gradient(180deg, rgba(53, 240, 224, 0.18), rgba(53, 240, 224, 0.02));
  clip-path: polygon(0 100%, 0 58%, 4% 58%, 4% 34%, 7% 34%, 7% 66%, 11% 66%, 11% 46%, 15% 46%, 15% 24%, 18% 24%, 18% 70%, 22% 70%, 22% 52%, 26% 52%, 26% 30%, 30% 30%, 30% 74%, 34% 74%, 34% 44%, 38% 44%, 38% 20%, 42% 20%, 42% 62%, 46% 62%, 46% 40%, 50% 40%, 50% 78%, 54% 78%, 54% 50%, 58% 50%, 58% 28%, 62% 28%, 62% 68%, 66% 68%, 66% 42%, 70% 42%, 70% 22%, 74% 22%, 74% 64%, 78% 64%, 78% 48%, 82% 48%, 82% 32%, 86% 32%, 86% 72%, 90% 72%, 90% 54%, 94% 54%, 94% 38%, 97% 38%, 97% 66%, 100% 66%, 100% 100%);
}
.footer-skyline::after {
  height: 82%;
  background: linear-gradient(180deg, #0C1222, #05080E);
  clip-path: polygon(0 100%, 0 74%, 5% 74%, 5% 56%, 9% 56%, 9% 80%, 14% 80%, 14% 62%, 19% 62%, 19% 48%, 23% 48%, 23% 76%, 28% 76%, 28% 58%, 33% 58%, 33% 40%, 37% 40%, 37% 72%, 42% 72%, 42% 54%, 47% 54%, 47% 66%, 52% 66%, 52% 44%, 57% 44%, 57% 78%, 62% 78%, 62% 60%, 67% 60%, 67% 52%, 72% 52%, 72% 70%, 77% 70%, 77% 46%, 82% 46%, 82% 64%, 87% 64%, 87% 76%, 92% 76%, 92% 58%, 96% 58%, 96% 72%, 100% 72%, 100% 100%);
}

/* 7. Buttons -------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  color: #04121A;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(53, 240, 224, 0.5), 0 10px 30px -14px rgba(53, 240, 224, 0.9);
}
.btn--cta:hover {
  background: #5FF6EA;
  box-shadow: 0 0 0 1px var(--cyan), 0 14px 34px -12px rgba(53, 240, 224, 0.95);
}

.btn--ghost {
  color: var(--cyan);
  border-color: rgba(53, 240, 224, 0.45);
  background: rgba(53, 240, 224, 0.05);
}
.btn--ghost:hover {
  color: var(--fog);
  border-color: var(--cyan);
  background: rgba(53, 240, 224, 0.14);
}

.btn--amber {
  color: #1A1002;
  background: var(--amber);
  box-shadow: 0 10px 30px -16px rgba(255, 177, 61, 0.9);
}
.btn--amber:hover { background: #FFC46A; }

/* 8. Tags & chips --------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(24, 32, 51, 0.8);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.tag--cyan { color: var(--cyan); border-color: rgba(53, 240, 224, 0.45); background: rgba(53, 240, 224, 0.1); }
.tag--magenta { color: var(--magenta); border-color: rgba(255, 61, 154, 0.45); background: rgba(255, 61, 154, 0.1); }
.tag--amber { color: var(--amber); border-color: rgba(255, 177, 61, 0.45); background: rgba(255, 177, 61, 0.12); }
.tag--lime { color: var(--lime); border-color: rgba(92, 255, 157, 0.45); background: rgba(92, 255, 157, 0.1); }
.tag--violet { color: var(--fog); border-color: rgba(122, 92, 255, 0.6); background: rgba(122, 92, 255, 0.18); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(16, 21, 34, 0.9);
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.chip:hover { color: var(--fog); border-color: rgba(53, 240, 224, 0.5); transform: translateY(-1px); }
.chip[aria-pressed="true"],
.chip.is-active {
  color: #04121A;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 20px -6px rgba(53, 240, 224, 0.8);
}

/* 9. Panels --------------------------------------------------------------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(24, 32, 51, 0.96), rgba(16, 21, 34, 0.96));
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.panel--flat { clip-path: none; }
.panel--glow {
  border-color: rgba(53, 240, 224, 0.3);
  box-shadow: 0 0 0 1px rgba(53, 240, 224, 0.16), 0 24px 60px -32px rgba(53, 240, 224, 0.5);
}

/* 10. Layout, section heads, prose, breadcrumb ---------------------------- */
.section { padding-block: clamp(44px, 6.5vw, 92px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.section-head {
  display: grid;
  gap: 12px;
  max-width: 60ch;
  margin-bottom: clamp(22px, 3.5vw, 40px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.section-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.02em;
}
.section-note { max-width: 46ch; font-size: 15.5px; color: var(--mist); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.prose {
  display: grid;
  gap: 18px;
  max-width: 36em;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(244, 247, 255, 0.88);
}
.prose h2,
.prose h3 { color: var(--fog); margin-top: 10px; }
.prose ul,
.prose ol { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(53, 240, 224, 0.8);
}
.prose a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.breadcrumb { margin-top: clamp(18px, 3vw, 30px); }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li + li::before { content: "/"; color: var(--line); }
.breadcrumb-list a { color: var(--mist); text-decoration: none; transition: color 0.18s var(--ease); }
.breadcrumb-list a:hover,
.breadcrumb-list a:focus-visible { color: var(--cyan); }
.breadcrumb-list [aria-current="page"] { color: var(--fog); }

/* 11. Media --------------------------------------------------------------- */
.figure { display: grid; gap: 10px; margin: 0; }
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(155deg, #0C1322, #131C30 55%, #0A101D);
}
.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: screen;
  background:
    repeating-linear-gradient(90deg, rgba(42, 53, 80, 0.55) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(42, 53, 80, 0.4) 0 1px, transparent 1px 64px);
}
.media::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left top / 18px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left top / 1px 18px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 1px 18px no-repeat;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 12. Motion -------------------------------------------------------------- */
html.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
html.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    display: block;
    margin: 0;
    padding: 14px var(--gutter) 22px;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 12, 22, 0.985);
    box-shadow: 0 26px 54px -24px rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 12px;
    font-size: 15px;
    border: 1px solid transparent;
  }
  .nav-link::after { left: 12px; right: auto; width: 26px; bottom: 6px; }
  .nav-item + .nav-item { border-top: 1px solid rgba(42, 53, 80, 0.55); }
  .nav-index { font-size: 11px; color: rgba(53, 240, 224, 0.7); }

  .nav-foot {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-foot .btn { width: 100%; }
  .nav-foot-note { text-align: center; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8 { grid-column: span 12; }
}

@media (max-width: 720px) {
  body { background-attachment: scroll; }
  .header-strip-inner { font-size: 10px; letter-spacing: 0.1em; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid > * { grid-column: span 12; }
  .strip-coord { display: none; }
  .header-strip-inner { justify-content: flex-start; }
  .brand-glyph { width: 38px; height: 38px; font-size: 18px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.18em; }
  .header-bar-inner { min-height: 64px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 16px; }
}

@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;
  }
  html.js-motion [data-reveal] { opacity: 1; transform: none; }
  .btn:hover,
  .chip:hover,
  .footer-links a:hover,
  .footer-links a:focus-visible { transform: none; }
  .progress-bar { transition: none; }
}
