/* ==========================================================================
   贝投官网 · 深水信标 共享样式 /assets/site.css
   1 reset · 2 tokens · 3 base · 4 type · 5 layout · 6 buttons & tags
   7 header · 8 footer · 9 components · 10 motion · 11 responsive
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

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

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

::selection { background: var(--coral); color: var(--abyss); }

/* ---------- 2. tokens ---------- */
:root {
  --abyss: #061923;
  --trench: #0B2A38;
  --coral: #FF6B4A;
  --coral-soft: #FF9A7A;
  --beacon: #3DF2D0;
  --teal: #1B8F87;
  --sand: #E8D5B5;
  --mist: #F4FBFA;
  --fog: #A9C2C7;
  --amber: #F2B84B;
  --grid: #1E4652;

  --radius-pill: 999px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;

  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --dock-h: 64px;

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

  --ease: cubic-bezier(.22, .61, .36, 1);
  --scroll-progress: 0;
}

/* ---------- 3. base ---------- */
html { background-color: var(--abyss); }

body {
  min-height: 100vh;
  padding-bottom: calc(var(--dock-h) + 12px);
  font-family: var(--font-display);
  font-size: clamp(15px, 0.4vw + 13.6px, 17px);
  font-weight: 400;
  line-height: 1.85;
  color: var(--mist);
  background-color: var(--abyss);
  background-image:
    radial-gradient(1200px 720px at 8% -10%, rgba(61, 242, 208, 0.13), transparent 62%),
    radial-gradient(1000px 680px at 96% 2%, rgba(255, 107, 74, 0.12), transparent 58%),
    linear-gradient(to right, rgba(30, 70, 82, 0.34) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 70, 82, 0.34) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 4. type ---------- */
.display {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.022em;
  color: var(--mist);
}
.display strong { font-weight: 800; color: var(--coral); }

.h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--mist);
}

.h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--mist);
}

.lede {
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.18rem);
  line-height: 1.85;
  font-weight: 400;
  color: var(--fog);
  max-width: 62ch;
}

.note {
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(169, 194, 199, 0.82);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beacon);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--beacon), rgba(61, 242, 208, 0));
}

.visually-hidden {
  position: absolute !important;
  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;
}

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

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

.section { padding-block: clamp(32px, 6vw, 80px); }

.stack { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 22px); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.8vw, 20px);
}

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(22px, 4vw, 40px);
  background: linear-gradient(90deg, rgba(61, 242, 208, 0.5), rgba(30, 70, 82, 0.35) 45%, transparent);
}

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

/* ---------- 6. buttons & tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}

.btn--primary {
  background: var(--coral);
  color: #13070a;
  box-shadow: 0 14px 30px -18px rgba(255, 107, 74, 0.9);
}
.btn--primary:hover {
  background: var(--coral-soft);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -18px rgba(255, 154, 122, 0.85);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border-color: rgba(244, 251, 250, 0.24);
  color: var(--mist);
}
.btn--ghost:hover {
  border-color: var(--beacon);
  color: var(--beacon);
  background: rgba(61, 242, 208, 0.07);
}

.btn--sm { padding: 9px 18px; font-size: 13.5px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(30, 70, 82, 1);
  background: rgba(30, 70, 82, 0.32);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fog);
}
.tag--live {
  color: var(--beacon);
  border-color: rgba(61, 242, 208, 0.4);
  background: rgba(61, 242, 208, 0.08);
}
.tag--warn {
  color: var(--amber);
  border-color: rgba(242, 184, 75, 0.4);
  background: rgba(242, 184, 75, 0.08);
}

/* ---------- 7. header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: clamp(10px, 1.5vw, 18px) var(--gutter);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 25, 35, 0.95), rgba(6, 25, 35, 0.6) 58%, rgba(6, 25, 35, 0));
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  pointer-events: none;
  opacity: 0.85;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral-soft) 38%, var(--beacon) 100%);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  transition: transform .14s linear;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 24px;
  border-radius: 0 0 16px 16px;
  background: var(--beacon);
  color: var(--abyss);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: top .22s var(--ease);
}
.skip-link:focus { top: 0; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 22px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 242, 208, 0.16);
  background: rgba(11, 42, 56, 0.84);
  box-shadow: 0 22px 46px -30px #000, inset 0 1px 0 rgba(244, 251, 250, 0.05);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: padding .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}

.site-header.is-condensed .header-shell {
  padding: 6px 10px 6px 14px;
  background: rgba(8, 32, 43, 0.94);
  border-color: rgba(61, 242, 208, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(61, 242, 208, 0.5);
  background: radial-gradient(circle at 50% 50%, rgba(61, 242, 208, 0.26), rgba(61, 242, 208, 0) 72%);
}
.brand__mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 0 4px rgba(61, 242, 208, 0.16), 0 0 14px rgba(61, 242, 208, 0.85);
  animation: beacon-pulse 3.6s var(--ease) infinite;
}

@keyframes beacon-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.32); opacity: 1; }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand__name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beacon);
  opacity: 0.82;
}

.nav-cluster {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

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

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--fog);
  transition: color .24s var(--ease), background-color .24s var(--ease);
}
.nav-link:hover { color: var(--mist); background: rgba(61, 242, 208, 0.09); }
.nav-link[aria-current="page"] {
  color: var(--abyss);
  background: var(--beacon);
  font-weight: 600;
  box-shadow: 0 10px 24px -16px rgba(61, 242, 208, 0.9);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 213, 181, 0.28);
  background: rgba(232, 213, 181, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sand);
  white-space: nowrap;
}
.status-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 9px var(--beacon);
  animation: beacon-pulse 3.6s var(--ease) infinite;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 242, 208, 0.28);
  color: var(--mist);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.nav-toggle:hover { border-color: var(--beacon); color: var(--beacon); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .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 .26s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { bottom: -5px; }

.header-shell[data-open] .nav-toggle__bars { background: transparent; }
.header-shell[data-open] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.header-shell[data-open] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 8. footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 104px);
  padding: clamp(36px, 6vw, 76px) 0 calc(var(--dock-h) + 30px);
  border-top: 1px solid rgba(30, 70, 82, 0.9);
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(61, 242, 208, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(11, 42, 56, 0.55) 0%, #08202b 62%, #061923 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 242, 208, 0.5) 30%, rgba(255, 107, 74, 0.4) 70%, transparent);
}

.footer-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 60px);
}

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

.footer-brand__mark {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 74, 0.5);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 107, 74, 0.3), rgba(255, 107, 74, 0) 70%),
    conic-gradient(from 140deg, rgba(61, 242, 208, 0.4), transparent 55%);
  box-shadow: inset 0 0 0 8px rgba(6, 25, 35, 0.5);
}

.footer-brand__name {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.footer-brand__line {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beacon);
}

.footer-brand__meta {
  margin-top: 16px;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--fog);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 38px);
}

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

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-link-list {
  display: grid;
  gap: 11px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fog);
  transition: color .22s var(--ease);
}
.footer-link::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grid);
  transition: background-color .22s var(--ease), box-shadow .22s var(--ease);
}
.footer-link:hover { color: var(--mist); }
.footer-link:hover::before {
  background: var(--beacon);
  box-shadow: 0 0 9px var(--beacon);
}

.footer-contact__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
}
.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(169, 194, 199, 0.72);
  padding-top: 3px;
}
.footer-contact__value {
  color: var(--sand);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(28px, 4vw, 50px);
  padding-top: 20px;
  border-top: 1px solid rgba(30, 70, 82, 0.8);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fog);
}

.footer-note {
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(169, 194, 199, 0.74);
}

/* 固定小屏入口条 */
.small-screen-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(10px, env(safe-area-inset-bottom, 10px));
  z-index: 95;
  width: min(var(--shell), calc(100% - 24px));
  margin-inline: auto;
}

.small-screen-bar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 74, 0.42);
  background: rgba(9, 33, 44, 0.95);
  box-shadow: 0 22px 44px -28px #000, inset 0 0 0 1px rgba(255, 107, 74, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .24s var(--ease), transform .24s var(--ease), background-color .24s var(--ease);
}
.small-screen-bar__link:hover {
  border-color: var(--coral);
  background: rgba(16, 44, 56, 0.98);
  transform: translateY(-2px);
}

.small-screen-bar__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px rgba(255, 107, 74, 0.9);
  animation: beacon-pulse 3.6s var(--ease) infinite;
}

.small-screen-bar__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.small-screen-bar__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fog);
}

.small-screen-bar__arrow {
  color: var(--coral);
  font-size: 15px;
  line-height: 1;
  transition: transform .24s var(--ease);
}
.small-screen-bar__link:hover .small-screen-bar__arrow { transform: translateX(4px); }

/* ---------- 9. components ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 70, 82, 0.95);
  background: linear-gradient(158deg, rgba(11, 42, 56, 0.95), rgba(11, 42, 56, 0.58));
  overflow: hidden;
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.card:hover { border-color: rgba(61, 242, 208, 0.34); transform: translateY(-3px); }

.card--accent {
  border-color: rgba(255, 107, 74, 0.36);
  background: linear-gradient(158deg, rgba(255, 107, 74, 0.16), rgba(11, 42, 56, 0.86) 62%);
}
.card--beacon {
  border-color: rgba(61, 242, 208, 0.3);
  background: linear-gradient(158deg, rgba(61, 242, 208, 0.13), rgba(11, 42, 56, 0.88) 60%);
}

.data-table__wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 70, 82, 0.95);
  background: rgba(11, 42, 56, 0.7);
}

.data-table {
  min-width: 560px;
  font-size: 14px;
}
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid var(--grid);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px;
  color: var(--fog);
  border-bottom: 1px solid rgba(30, 70, 82, 0.6);
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(61, 242, 208, 0.05); color: var(--mist); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
}
.breadcrumb a { color: var(--fog); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--beacon); }
.breadcrumb__sep { color: var(--grid); }
.breadcrumb [aria-current="page"] { color: var(--sand); }

/* 图片容器基础规则（页面阶段放置 <img> 占位） */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 70, 82, 0.9);
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(61, 242, 208, 0.18), transparent 56%),
    radial-gradient(circle at 76% 82%, rgba(255, 107, 74, 0.18), transparent 58%),
    linear-gradient(160deg, var(--trench), #061923);
}
.media > img,
.media > picture,
.media > picture > img,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--sand);
  background: linear-gradient(0deg, rgba(6, 25, 35, 0.9), rgba(6, 25, 35, 0));
}

/* ---------- 10. motion ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 11. responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand__meta { max-width: 46ch; }
}

@media (max-width: 980px) {
  .status-badge { display: none; }
  .nav-toggle { display: inline-flex; }

  .header-shell { padding: 9px 12px 9px 16px; }

  .nav-cluster {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(61, 242, 208, 0.2);
    background: rgba(8, 32, 43, 0.98);
    box-shadow: 0 30px 60px -34px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s var(--ease);
  }

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

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

  .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15.5px;
  }

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

@media (max-width: 620px) {
  html { scroll-padding-top: 88px; }

  .brand__sub { display: none; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 13.5px; }

  .header-actions .btn--sm { padding: 8px 14px; font-size: 12.5px; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .small-screen-bar__hint { display: none; }
  .small-screen-bar__link { padding: 10px 16px; gap: 10px; }
  .small-screen-bar__label { font-size: 13px; }
  .small-screen-bar__arrow { margin-left: auto; }
}

@media (max-width: 420px) {
  .header-actions { display: none; }
  .nav-toggle { margin-left: auto; }
}

@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 [data-reveal] { opacity: 1; transform: none; }
  .site-header::after { transition: none; }
  .card:hover,
  .btn--primary:hover,
  .small-screen-bar__link:hover { transform: none; }
}
