/* ============================================================
   /assets/site.css — 万博体育会馆 共享外壳
   01 Reset  02 Tokens  03 Typography  04 Layout  05 Buttons & Tags
   06 Breadcrumb  07 Media  08 Header  09 Footer  10 Components
   11 Motion  12 Responsive  13 A11y
   ============================================================ */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, dl, dd, fieldset { margin: 0; }

ul[class],
ol[class] { list-style: none; padding: 0; }

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

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

button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; }

table { border-collapse: collapse; }

/* ---------- 02 Tokens ---------- */
:root {
  /* 色彩体系 */
  --ink: #061714;
  --ink-blue: #0A1C2B;
  --moss: #12352F;
  --paper: #F4EBDD;
  --cyan: #63F5DF;
  --amber: #E7B45A;
  --violet: #9B93B7;
  --ember: #FF6A4D;
  --mist: #9BB0A9;
  --line: #2A4A45;
  --line-soft: rgba(42, 74, 69, 0.62);
  --ink-text: #12251F;

  /* 字体 */
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han 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, monospace;

  /* 形状 */
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;

  /* 阴影与节奏 */
  --shadow-float: 0 24px 60px -34px rgba(0, 0, 0, 0.95);
  --shadow-lift: 0 14px 30px -18px rgba(0, 0, 0, 0.85);
  --space-block: clamp(56px, 7vw, 110px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- 03 Typography ---------- */
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(88% 58% at 88% -12%, rgba(99, 245, 223, 0.07), transparent 62%),
    radial-gradient(72% 52% at -6% 104%, rgba(231, 180, 90, 0.055), transparent 66%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(15px, 0.55vw + 13.5px, 17px);
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3, h4, h5, h6 { font-weight: 700; line-height: 1.22; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

strong { font-weight: 600; }

small { font-size: 0.8em; color: var(--mist); }

.display {
  display: inline-block;
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.index-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--amber);
  opacity: 0.92;
}

/* ---------- 04 Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.container--narrow { max-width: 920px; }

.prose {
  max-width: 68ch;
  font-size: clamp(16px, 0.5vw + 14px, 18px);
  line-height: 1.75;
  color: rgba(244, 235, 221, 0.86);
}

.prose > * + * { margin-top: 1.05em; }

.prose ul,
.prose ol { padding-left: 1.25em; list-style: disc; }

.prose a { color: var(--cyan); }

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 05 Buttons & Tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(18, 53, 47, 0.55);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--primary {
  background: var(--ember);
  border-color: var(--ember);
  color: #180F0C;
  font-weight: 700;
}

.btn--primary:hover {
  background: #FF8168;
  border-color: #FF8168;
  color: #180F0C;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--mist);
}

.btn--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--cyan);
  padding-inline: 0;
  min-height: 40px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(155, 147, 183, 0.07);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(99, 245, 223, 0.36);
  background: rgba(99, 245, 223, 0.08);
}

.tag--amber {
  color: var(--amber);
  border-color: rgba(231, 180, 90, 0.36);
  background: rgba(231, 180, 90, 0.08);
}

/* ---------- 06 Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: var(--line);
}

.breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

/* ---------- 07 Media frame ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-color: var(--moss);
  background-image:
    radial-gradient(120% 92% at 78% 8%, rgba(99, 245, 223, 0.16), transparent 58%),
    linear-gradient(158deg, #12352F 0%, #061714 74%);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.06) saturate(0.92);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(205deg, rgba(6, 23, 20, 0.04) 34%, rgba(6, 23, 20, 0.78) 100%);
}

.media-frame__label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 08 Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 12px clamp(12px, 2.4vw, 28px) 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -26px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--ink) 40%, rgba(6, 23, 20, 0) 100%);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 11px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { top: 0; }

.header-shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

.nav-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
  padding: 9px 10px 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(10, 28, 43, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: var(--shadow-float);
  transition: padding 0.24s var(--ease), background 0.24s var(--ease), border-color 0.24s var(--ease);
}

[data-header][data-shrink] .nav-capsule {
  padding-block: 5px;
  background: rgba(6, 23, 20, 0.9);
  border-color: rgba(42, 74, 69, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  width: 9px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--amber) 100%);
  transform: skewX(-8deg);
  box-shadow: 0 0 16px rgba(99, 245, 223, 0.35);
}

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

.brand__latin {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--paper);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.brand__zh {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--mist);
}

.primary-nav { margin-inline: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list__item { display: flex; }

.nav-link {
  position: relative;
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link:hover {
  color: var(--paper);
  background: rgba(99, 245, 223, 0.08);
}

.nav-link[aria-current="page"] { color: var(--cyan); }

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--ember);
  color: #180F0C;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.header-cta:hover {
  background: #FF8168;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(255, 106, 77, 0.9);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(18, 53, 47, 0.6);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-toggle:hover { border-color: rgba(99, 245, 223, 0.55); }

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--paper);
  transform: translateX(-50%);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 24px; }

.nav-toggle[aria-expanded="true"] { border-color: rgba(99, 245, 223, 0.6); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: var(--cyan); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

.path-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 22px 0;
}

.path-strip__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(155, 176, 169, 0.6);
}

.path-strip__list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.path-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.path-strip__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.path-strip__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.path-strip__text:hover {
  color: var(--cyan);
  border-bottom-color: rgba(99, 245, 223, 0.5);
}

/* ---------- 09 Footer ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-block);
  padding-block: clamp(44px, 5vw, 82px) 26px;
  border-top: 1px solid var(--line);
  background-image: linear-gradient(180deg, rgba(10, 28, 43, 0.55) 0%, rgba(6, 23, 20, 1) 58%);
}

.footer-shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(30px, 4vw, 68px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-brand__latin {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--paper);
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.footer-brand__zh {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--cyan);
}

.footer-brand__tagline {
  margin-top: 15px;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.footer-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.footer-signal__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: signal-pulse 2.6s var(--ease) infinite;
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 245, 223, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(99, 245, 223, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 245, 223, 0); }
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.footer-contact__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(244, 235, 221, 0.85);
}

.footer-contact__label {
  flex: 0 0 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-contact__value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  align-content: start;
}

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}

.footer-links {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link {
  font-size: 14px;
  color: rgba(244, 235, 221, 0.82);
  text-decoration: none;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-note {
  max-width: 86ch;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(155, 176, 169, 0.85);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.footer-legal { margin: 0; }

.footer-icp {
  margin: 0;
  color: rgba(155, 176, 169, 0.7);
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-top-btn:hover {
  color: var(--cyan);
  border-color: rgba(99, 245, 223, 0.5);
  transform: translateY(-2px);
}

.footer-top-btn__arrow { color: var(--cyan); }

/* ---------- 10 Components ---------- */
.card {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background-image: linear-gradient(160deg, rgba(18, 53, 47, 0.82) 0%, rgba(6, 23, 20, 0.9) 100%);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 245, 223, 0.55);
  box-shadow: var(--shadow-lift);
}

.panel {
  min-width: 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background-image: linear-gradient(150deg, rgba(10, 28, 43, 0.94) 0%, rgba(6, 23, 20, 0.96) 100%);
}

.panel--paper {
  background-image: linear-gradient(160deg, #F4EBDD 0%, #E9DDCB 100%);
  border-color: rgba(18, 53, 47, 0.22);
  color: var(--ink-text);
}

.panel--paper .prose,
.panel--paper p { color: #233A33; }

.panel--paper .eyebrow { color: #1B6B5F; }

.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }

.fold__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(15px, 0.9vw + 13px, 17px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper);
  transition: color 0.18s var(--ease);
}

.fold__trigger:hover { color: var(--cyan); }

.fold__icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.18s var(--ease);
}

.fold__icon::before,
.fold__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.fold__icon::before { width: 8px; height: 1px; }

.fold__icon::after {
  width: 1px;
  height: 8px;
  transition: opacity 0.18s var(--ease);
}

.fold__trigger[aria-expanded="true"] .fold__icon { border-color: rgba(99, 245, 223, 0.6); }
.fold__trigger[aria-expanded="true"] .fold__icon::after { opacity: 0; }

.fold__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.22s var(--ease);
}

.fold__body {
  max-width: 68ch;
  padding: 0 4px 22px;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(244, 235, 221, 0.84);
}

/* ---------- 11 Motion ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--amber) 62%, var(--ember) 100%);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 12 Responsive ---------- */
@media (max-width: 1100px) {
  .nav-link { font-size: 10px; padding: 8px 9px; letter-spacing: 0.08em; }
  .brand__latin { font-size: 18px; }
  .header-cta { padding-inline: 14px; font-size: 10.5px; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }

  .primary-nav {
    position: fixed;
    top: 78px;
    left: clamp(12px, 2.4vw, 28px);
    right: clamp(12px, 2.4vw, 28px);
    z-index: 85;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: rgba(10, 28, 43, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-float);
    max-height: calc(100vh - 128px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }

  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 14px;
    border-radius: 12px;
    font-size: 12px;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(42, 74, 69, 0.45);
  }

  .nav-list__item:last-child .nav-link { border-bottom: 0; }

  .nav-link[aria-current="page"] {
    background: rgba(99, 245, 223, 0.09);
  }

  .nav-link[aria-current="page"]::after {
    left: 4px;
    top: 50%;
    bottom: auto;
    width: 2px;
    height: 16px;
    transform: translateY(-50%);
  }

  .path-strip { justify-content: flex-start; padding-inline: 8px; flex-wrap: wrap; gap: 8px 14px; }
  .path-strip__list { gap: 14px; flex-wrap: wrap; }

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

@media (max-width: 900px) {
  .grid--split,
  .grid--reverse,
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .path-strip { display: none; }
  .site-header { padding-top: 10px; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand__zh { display: none; }
  .brand__latin { font-size: 17px; letter-spacing: 0.08em; }
  .nav-capsule { padding: 8px 8px 8px 14px; gap: 8px; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav-toggle__bar:nth-child(1) { top: 15px; }
  .nav-toggle__bar:nth-child(2) { top: 23px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1),
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 19px; }
  .primary-nav { top: 72px; }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact__item { flex-direction: column; gap: 2px; }
  .footer-contact__label { flex: none; }
  .footer-top-btn { margin-left: 0; }
}

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

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

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .footer-signal__dot { animation: none; }
}
