/* ==========================================================================
   欧易体育赛场 · 共享样式表 /assets/site.css
   深空蓝底 · 蓝图网格 · 荧光青与能量橙数据高亮 · 同步紫红渐变
   ========================================================================== */

:root {
  /* 色板 */
  --c-space: #0B1B33;
  --c-ink: #12294A;
  --c-night: #091120;
  --c-cyan: #35E6D0;
  --c-orange: #FF7A2F;
  --c-violet: #A24BFF;
  --c-magenta: #FF3D8B;
  --c-paper: #F4EFE4;
  --c-line: #D8CFBC;
  --c-white: #F5F8FF;
  --c-steel: #8FA3BF;

  /* 线条与网格 */
  --grid-line: rgba(216, 207, 188, 0.07);
  --hairline: rgba(216, 207, 188, 0.16);
  --hairline-strong: rgba(216, 207, 188, 0.34);

  /* 字体 */
  --font-head: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-data: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

  /* 尺寸 */
  --shell: 1200px;
  --shell-narrow: 760px;
  --radius-pill: 999px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-lift: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  --shadow-deep: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--c-space);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button { font: inherit; color: inherit; }

ul,
ol { margin: 0; padding: 0; }

main { display: block; }

::selection {
  background: var(--c-cyan);
  color: var(--c-night);
}

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

/* --------------------------------------------------------- typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--c-white);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.55rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

a { color: var(--c-cyan); text-decoration: none; }
a:hover { color: var(--c-white); }

strong { font-weight: 800; }

/* --------------------------------------------------------- skip link */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-cyan);
  color: var(--c-night);
  font-family: var(--font-data);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
  color: var(--c-night);
}

/* ------------------------------------------------------------ layout */
.shell {
  width: min(var(--shell), 92vw);
  margin-inline: auto;
}

.shell-narrow {
  width: min(var(--shell-narrow), 92vw);
  margin-inline: auto;
}

.blueprint {
  background-color: var(--c-space);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}

.paper-band {
  position: relative;
  padding: clamp(42px, 7vw, 88px) 0;
  background: var(--c-paper);
  color: var(--c-ink);
  border-top: 2px solid var(--c-line);
  border-bottom: 2px solid var(--c-line);
  box-shadow: 0 30px 70px -44px rgba(0, 0, 0, 0.95);
}

.paper-band h1,
.paper-band h2,
.paper-band h3,
.paper-band h4 { color: var(--c-ink); }

.paper-band p { color: #3C4B63; }

.paper-band a { color: #1B5F55; }

.paper-band .label { color: #A2470F; }

.paper-band .rule { background: rgba(18, 41, 74, 0.18); }

.rule {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--hairline);
}

/* ---------------------------------------------------------- components */
.label {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.index-num {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--c-orange);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-steel);
  background: rgba(9, 17, 32, 0.5);
}

.tag--cyan {
  color: var(--c-cyan);
  border-color: rgba(53, 230, 208, 0.45);
  background: rgba(53, 230, 208, 0.08);
}

.tag--orange {
  color: var(--c-orange);
  border-color: rgba(255, 122, 47, 0.45);
  background: rgba(255, 122, 47, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--c-cyan);
  color: var(--c-night);
}

.btn-primary:hover {
  background: #5BF0DE;
  color: var(--c-night);
}

.btn-ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--c-white);
}

.btn-ghost:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

.panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--c-ink), rgba(9, 17, 32, 0.92));
  box-shadow: var(--shadow-lift);
}

.card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(18, 41, 74, 0.92), rgba(9, 17, 32, 0.92));
  color: var(--c-white);
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 230, 208, 0.6);
  box-shadow: 0 22px 44px -26px rgba(53, 230, 208, 0.5);
  color: var(--c-white);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--c-steel);
}

.breadcrumb li { display: flex; align-items: center; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(143, 163, 191, 0.5);
}

.breadcrumb a {
  color: var(--c-steel);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--c-cyan); }

.prose { max-width: 34em; }

.prose p {
  font-size: 1.02rem;
  color: rgba(245, 248, 255, 0.82);
}

.paper-band .prose p { color: #3C4B63; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.stat-num {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--c-cyan);
  line-height: 1.2;
}

.stat-key {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--c-steel);
}

.sync-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background-image: linear-gradient(90deg, var(--c-violet), var(--c-magenta), var(--c-violet));
  background-size: 220% 100%;
  animation: syncflow 2.4s linear infinite;
}

@keyframes syncflow {
  from { background-position: 0% 0; }
  to { background-position: 220% 0; }
}

/* ----------------------------------------------------- media container */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 26% 20%, rgba(53, 230, 208, 0.16), transparent 58%),
    radial-gradient(circle at 84% 80%, rgba(162, 75, 255, 0.2), transparent 62%),
    var(--c-ink);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(216, 207, 188, 0.09) 1px, transparent 1px);
  background-size: 48px 100%;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--badge {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 16px 0 0;
  pointer-events: none;
}

.header-shell {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1240px, 94vw);
  margin-inline: auto;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(9, 17, 32, 0.95), rgba(11, 27, 51, 0.88));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
  transition: padding 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header[data-collapsed="true"] .header-shell {
  padding-top: 6px;
  padding-bottom: 6px;
  border-color: rgba(53, 230, 208, 0.24);
  box-shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.95);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--c-white);
  text-decoration: none;
}

.brand:hover { color: var(--c-white); }

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--c-cyan) 0%, var(--c-violet) 58%, var(--c-magenta) 100%);
  box-shadow: 0 0 0 1px rgba(53, 230, 208, 0.35), 0 10px 24px -12px rgba(162, 75, 255, 0.9);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(9, 17, 32, 0.85);
  border-radius: 50%;
}

.brand-copy { display: block; }

.brand-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.brand-tag {
  display: block;
  font-family: var(--font-data);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.site-header[data-collapsed="true"] .brand-tag { display: none; }

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

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

.nav-link {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-steel);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--c-white);
  background: rgba(53, 230, 208, 0.1);
}

.nav-link[aria-current="page"] {
  color: var(--c-night);
  background: var(--c-cyan);
  font-weight: 800;
}

.drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-steel);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.drawer-toggle:hover {
  color: var(--c-cyan);
  border-color: rgba(53, 230, 208, 0.45);
  background: rgba(53, 230, 208, 0.08);
}

.drawer-toggle[aria-expanded="true"] {
  color: var(--c-cyan);
  border-color: rgba(53, 230, 208, 0.55);
  background: rgba(53, 230, 208, 0.12);
}

.drawer-toggle-ico {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.24s var(--ease);
}

.drawer-toggle[aria-expanded="true"] .drawer-toggle-ico { transform: rotate(180deg); }

.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-orange);
  color: #23100A;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #FF9255;
  color: #23100A;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid rgba(53, 230, 208, 0.36);
  border-radius: var(--radius-pill);
  background: rgba(53, 230, 208, 0.1);
  color: var(--c-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.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); }

.header-drawer {
  pointer-events: auto;
  width: min(1240px, 94vw);
  margin: 10px auto 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.28s var(--ease);
}

.header-drawer[data-open="true"] {
  max-height: 720px;
  opacity: 1;
}

.drawer-inner {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--c-ink), var(--c-night));
  box-shadow: var(--shadow-deep);
}

.drawer-label {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.drawer-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: rgba(11, 27, 51, 0.72);
  color: var(--c-white);
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.drawer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 230, 208, 0.55);
  background: rgba(53, 230, 208, 0.08);
  color: var(--c-white);
}

.drawer-idx {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--c-cyan);
}

.drawer-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
}

.drawer-meta {
  font-size: 0.78rem;
  color: var(--c-steel);
}

/* -------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--c-space), var(--c-night) 72%);
  color: var(--c-steel);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
}

.footer-shell {
  position: relative;
  width: min(var(--shell), 92vw);
  margin-inline: auto;
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 36px;
}

.footer-brand { display: grid; align-content: start; gap: 6px; }

.footer-name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  color: var(--c-white);
}

.footer-tagline {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.footer-col { display: grid; align-content: start; }

.footer-col-title {
  margin: 0 0 15px;
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.footer-list {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-link {
  display: inline-block;
  font-size: 0.94rem;
  color: var(--c-steel);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--c-cyan);
  transform: translateX(3px);
}

.footer-contact { display: grid; gap: 10px; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-key {
  flex: 0 0 auto;
  padding-top: 3px;
  min-width: 40px;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--c-cyan);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 17px;
  border: 1px solid rgba(53, 230, 208, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(53, 230, 208, 0.1);
  color: var(--c-cyan);
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.copy-btn:hover { background: rgba(53, 230, 208, 0.2); }

.copy-btn[data-copied="true"] {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: var(--c-night);
}

.footer-note {
  max-width: 36em;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--c-steel);
}

.footer-note--wide {
  max-width: none;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px dashed rgba(216, 207, 188, 0.2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-data);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--c-steel);
}

.footer-copy { color: var(--c-steel); }
.footer-icp { color: rgba(143, 163, 191, 0.85); }

/* ------------------------------------------------------ reveal motion */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s var(--ease) var(--reveal-delay, 0ms),
    transform 0.6s var(--ease) var(--reveal-delay, 0ms);
}

.has-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------- breakpoints */
@media (max-width: 1080px) {
  .nav-link { padding: 9px 11px; font-size: 0.87rem; }
  .drawer-toggle { padding: 9px 12px; font-size: 0.82rem; }
  .nav-cta { padding: 9px 16px; font-size: 0.85rem; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .drawer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body.nav-open { overflow: hidden; }

  .site-header { padding-top: 10px; }

  .header-shell {
    padding: 8px 10px 8px 13px;
    border-radius: 22px;
  }

  .brand-name { font-size: 0.98rem; }

  .nav-toggle { display: inline-flex; }

  .drawer-toggle,
  .header-drawer { display: none; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: 72vh;
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--hairline);
    border-radius: 22px;
    background: linear-gradient(165deg, var(--c-ink), var(--c-night));
    box-shadow: var(--shadow-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: 100%;
  }

  .nav-link {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .nav-cta {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    font-size: 1rem;
    text-align: center;
  }

  .site-header[data-collapsed="true"] .brand-tag { display: none; }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .footer-shell { padding: 48px 0 26px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }

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

  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stat-row { gap: 12px 24px; }

  .footer-bottom { font-size: 0.72rem; }
}

/* ------------------------------------------------- accessibility modes */
@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;
    transition-delay: 0ms !important;
  }

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

  .card:hover,
  .btn:hover,
  .nav-cta:hover,
  .drawer-card:hover,
  .footer-link:hover,
  .media-frame:hover { transform: none; }
}
