/* ============================================================
   荣一娱乐 · /assets/site.css
   夜间控制室 · 堆叠面板 · 框架式导航
   01 reset / 02 变量 / 03 页面骨架 / 04 框架导航
   05 通用按钮 / 06 面板与网格 / 07 数据与标签
   08 图片容器 / 09 页脚 / 10 动效与可达性 / 11 响应式
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; 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%; }

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

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

table { border-collapse: collapse; width: 100%; }

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

/* 02 变量 --------------------------------------------------- */
:root {
  --ink: #0A0D13;
  --panel: #101A2B;
  --panel-2: #0D1524;
  --text: #E8EDF6;
  --muted: #7B8AA3;
  --cyan: #2BE3D2;
  --gold: #E9B44C;
  --coral: #FF5C5C;
  --indigo: #6C4BFF;
  --wine: #94304A;
  --teal: #0E3B3A;
  --goldline: #8A6B2E;
  --line: rgba(232, 237, 246, 0.10);
  --line-strong: rgba(232, 237, 246, 0.18);
  --on-accent: #04211F;
  --shadow-panel: 0 10px 0 rgba(4, 7, 12, 0.85), 0 26px 48px rgba(2, 4, 8, 0.55);
  --font-sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --rail-left: 64px;
  --rail-right: 60px;
  --header-h: 72px;
  --gap: 24px;
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* 03 页面骨架 ----------------------------------------------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  padding-left: var(--rail-left);
  padding-right: var(--rail-right);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(232, 237, 246, 0.028) 1px, transparent 1px);
  background-size: 100% 88px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(43, 227, 210, 0.055) 42%, rgba(233, 180, 76, 0.045) 58%, transparent 100%);
  background-size: 42% 100%;
  background-repeat: no-repeat;
  animation: ry-scan 8s linear infinite;
}

@keyframes ry-scan {
  0% { background-position: -50% 0; }
  100% { background-position: 150% 0; }
}

#main-content { position: relative; z-index: 1; display: block; }

.section { position: relative; z-index: 1; padding: clamp(44px, 6vw, 88px) 0; }
.section--tight { padding: clamp(26px, 3.6vw, 52px) 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 44px);
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; }
h1 { font-size: clamp(32px, 4.6vw, 64px); font-weight: 900; }
h2 { font-size: clamp(24px, 3vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: 18px; }

/* 04 框架导航 ----------------------------------------------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-left) + 10px);
  z-index: 200;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateY(-220%);
  transition: transform 0.18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* 左侧品牌轨 */
.brand-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-left);
  z-index: 70;
  background: var(--ink);
  border-right: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0 24px;
}
.brand-rail__glyph {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(43, 227, 210, 0.35);
}
.brand-rail__glyph::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--cyan);
  opacity: 0.85;
}
.brand-rail__rule {
  width: 1px;
  flex: 1 1 auto;
  margin: 18px 0;
  background: linear-gradient(180deg, var(--line-strong), rgba(232, 237, 246, 0));
}
.brand-rail__text {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--muted);
  padding-bottom: 8px;
}
.brand-rail__code {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

/* 右侧章节索引轨 */
.index-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--rail-right);
  z-index: 70;
  background: var(--ink);
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0 24px;
}
.index-rail__label {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.index-rail__track {
  position: relative;
  width: 1px;
  flex: 1 1 auto;
  background: var(--line-strong);
}
.index-rail__fill {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 0;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(43, 227, 210, 0.75);
}
.index-rail__value {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* 顶部导航条 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 13, 19, 0.94);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  transition: height 0.24s var(--ease), background-color 0.24s var(--ease);
}
.site-header[data-scrolled] {
  height: 56px;
  background: rgba(10, 13, 19, 0.99);
}
.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(16px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-right: clamp(12px, 1.6vw, 24px);
  border-right: 1px solid var(--line);
}
.brand__glyph {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  box-shadow: 0 0 14px rgba(43, 227, 210, 0.35);
}
.brand__glyph::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand__text { display: block; }
.brand__name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand__meta {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 20px);
}
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.18s var(--ease);
}
.site-nav__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}
.site-nav__link:hover { color: var(--cyan); }
.site-nav__link:hover::before { color: var(--gold); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--cyan); }
.site-nav__link[aria-current="page"]::before { color: var(--gold); }
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  height: 2px;
  box-shadow: 0 0 10px rgba(43, 227, 210, 0.6);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-left: clamp(10px, 1.4vw, 20px);
  border-left: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 227, 210, 0.16);
  animation: ry-pulse 2.4s ease-in-out infinite;
}
@keyframes ry-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(43, 227, 210, 0.16); }
  50% { opacity: 0.55; box-shadow: 0 0 0 8px rgba(43, 227, 210, 0.05); }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav-toggle:hover { color: var(--cyan); border-color: var(--cyan); }
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 05 通用按钮 ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(43, 227, 210, 0.07); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--cyan); }
.btn--primary { background: var(--cyan); border-color: var(--cyan); color: var(--on-accent); font-weight: 700; }
.btn--primary:hover { background: #57F0E1; color: var(--on-accent); border-color: #57F0E1; }
.btn--line { background: transparent; }
.btn--ghost { background: transparent; }

/* 06 面板与网格 --------------------------------------------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.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; }

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent, var(--cyan));
  box-shadow: var(--shadow-panel);
  padding: clamp(20px, 2.4vw, 32px);
}
.panel--offset { margin-left: clamp(0px, 2vw, 28px); }
.panel--side {
  border-top-width: 1px;
  border-left: 3px solid var(--accent, var(--cyan));
}
.panel__head {
  display: flex
;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel__body { display: grid; gap: 14px; }
.panel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.accent-cyan { --accent: var(--cyan); }
.accent-gold { --accent: var(--gold); }
.accent-coral { --accent: var(--coral); }
.accent-indigo { --accent: var(--indigo); }
.accent-wine { --accent: var(--wine); }
.accent-teal { --accent: var(--teal); }

.divider { height: 1px; border: 0; margin: 0; background: var(--line); }

/* 07 数据与标签 --------------------------------------------- */
.display {
  font-family: var(--font-mono);
  font-size: clamp(48px, 9vw, 144px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.index-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.stat {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(38px, 5.4vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent, var(--gold));
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.tag--accent { color: var(--accent, var(--cyan)); border-color: var(--accent, var(--cyan)); }

.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p { color: rgba(232, 237, 246, 0.86); }
.prose strong { color: var(--text); font-weight: 700; }

.note {
  display: grid;
  gap: 10px;
  max-width: 280px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--muted);
}
.note__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--goldline); }
.breadcrumb [aria-current="page"] { color: var(--text); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.filter-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.filter-btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--on-accent);
  font-weight: 600;
}
[data-filter-item][hidden] { display: none !important; }

.disclosure {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
  content: "＋";
  font-family: var(--font-mono);
  color: var(--cyan);
}
.disclosure[open] summary::after { content: "－"; }
.disclosure__body {
  display: grid;
  gap: 10px;
  padding: 0 4px 20px;
  font-size: 15px;
  color: var(--muted);
}

.copy-btn {
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-btn[data-copied] { color: var(--gold); border-color: var(--gold); }

/* 08 图片容器 ----------------------------------------------- */
.figure {
  position: relative;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.06) brightness(0.92);
}
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--3x2 { aspect-ratio: 3 / 2; }
.figure--1x1 { aspect-ratio: 1 / 1; }
.figure--wide { aspect-ratio: 21 / 9; }
.figure--empty {
  background-image: repeating-linear-gradient(135deg, rgba(232, 237, 246, 0.05) 0 1px, transparent 1px 12px);
}
.figure__label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 12px;
  background: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent, var(--cyan));
}
.figure__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: linear-gradient(0deg, rgba(10, 13, 19, 0.92), rgba(10, 13, 19, 0));
}

/* 09 页脚 --------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-top: 1px solid var(--line-strong);
  padding: clamp(40px, 6vw, 72px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.5fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-col {
  display: grid;
  gap: 12px;
  align-content: start;
}
.footer-brand {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.footer-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.footer-icp {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.footer-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.footer-list { display: grid; gap: 10px; font-size: 15px; }
.footer-list a {
  display: inline-block;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-list a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer-contact { display: grid; gap: 10px; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.contact-row__label {
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer-base__note { color: var(--muted); }

/* 10 动效与可达性 ------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.24s ease-out, transform 0.24s ease-out;
}
[data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  body::after { animation: none; opacity: 0; }
  .status-dot { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 11 响应式 ------------------------------------------------- */
@media (max-width: 1240px) {
  .btn--header { display: none; }
}

@media (max-width: 1100px) {
  :root { --rail-right: 0px; --rail-left: 56px; }
  .index-rail { display: none; }
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}

@media (max-width: 900px) {
  .site-nav__link { font-size: 14px; }
  .site-nav__list { gap: 4px; }
  .header-status { padding-left: 10px; }
}

@media (max-width: 780px) {
  :root { --rail-left: 0px; --header-h: 64px; }
  body { padding-left: 0; padding-right: 0; }
  .brand-rail { display: none; }
  .skip-link { left: 10px; }

  .site-header__inner { gap: 12px; }
  .brand { border-right: 0; padding-right: 0; }
  .brand__meta { display: none; }
  .header-status { margin-left: auto; border-left: 0; }
  .header-status__text { display: none; }

  .nav-toggle { display: inline-flex; margin-left: 4px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 6px 20px 22px;
    background: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 18px 40px rgba(2, 4, 8, 0.6);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s linear;
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link {
    justify-content: flex-start;
    width: 100%;
    padding: 15px 2px;
    font-size: 19px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__link::after { display: none; }
  .site-nav__link::before { font-size: 11px; }

  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
  .panel--offset { margin-left: 0; }
  .note { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .contact-row { font-size: 14px; }
}
