/* =========================================================
   K1体育 · 共享样式表 /assets/site.css
   夜间赛场指挥中心 + 编辑部版式
   ========================================================= */

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

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

html.nav-open { overflow: hidden; }

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

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

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

button { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #041A15;
  --ink-2: #082A22;
  --turf: #0F3A30;
  --mint: #2DF5D2;
  --mist: #9ED8C8;
  --score: #FF5C35;
  --paper: #F2FBF6;
  --steel: #6E9C8E;
  --ice: #C8FFE9;
  --black: #020B09;

  --line: rgba(158, 216, 200, 0.22);
  --line-soft: rgba(158, 216, 200, 0.12);
  --line-strong: rgba(45, 245, 210, 0.45);

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 104px;

  --fs-display: clamp(56px, 9vw, 120px);
  --fs-h2: clamp(32px, 5vw, 64px);
  --fs-h3: clamp(24px, 3vw, 36px);
  --fs-body: 17px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 3. Base typography ---------- */
body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--paper);
}

h1 { font-size: var(--fs-h2); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: clamp(18px, 2vw, 22px); }

p { max-width: 74ch; }

strong, b { font-weight: 700; color: var(--paper); }

::selection {
  background-color: var(--mint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 2px;
}

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

#main-content { display: block; }

.site-main {
  display: block;
  padding-top: var(--header-h);
}

.site-main--overlay { padding-top: 0; }

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 40px);
  margin-bottom: clamp(24px, 4vw, 48px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

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

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 5. Small parts ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background-color: var(--score);
  flex: 0 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  background-color: rgba(15, 58, 48, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.tag--accent {
  color: var(--ink);
  background-color: var(--mint);
  border-color: var(--mint);
}

.tag--score {
  color: #1A0803;
  background-color: var(--score);
  border-color: var(--score);
}

.panel {
  background-color: rgba(15, 58, 48, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(18px, 2.6vw, 28px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--ink);
  background-color: var(--mint);
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.2s ease,
              color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  box-shadow: 4px 4px 0 0 rgba(45, 245, 210, 0.18);
}

.btn--primary:hover {
  background-color: var(--ice);
  box-shadow: 4px 4px 0 0 rgba(45, 245, 210, 0.32);
}

.btn--ghost {
  color: var(--ice);
  background-color: transparent;
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--paper);
  background-color: rgba(45, 245, 210, 0.1);
}

.btn--score {
  color: #1A0803;
  background-color: var(--score);
  box-shadow: 4px 4px 0 0 rgba(255, 92, 53, 0.22);
}

.btn--score:hover { background-color: #FF7A59; }

.btn--sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- 7. Breadcrumbs ---------- */
.breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.breadcrumbs__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__list li + li::before {
  content: "/";
  color: rgba(158, 216, 200, 0.4);
}

.breadcrumbs__list a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumbs__list a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

/* ---------- 8. Body copy ---------- */
.prose {
  max-width: 72ch;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: rgba(242, 251, 246, 0.86);
}

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

.prose h2,
.prose h3 {
  margin-top: 1.9em;
  color: var(--paper);
}

.prose h2 { font-size: clamp(24px, 3vw, 34px); }
.prose h3 { font-size: clamp(19px, 2.2vw, 24px); }

.prose a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 245, 210, 0.45);
}

.prose a:hover { border-bottom-color: var(--mint); }

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose li + li { margin-top: 0.45em; }

.prose blockquote {
  padding-left: 18px;
  border-left: 2px solid var(--score);
  color: var(--mist);
  font-size: 1.02em;
}

.prose code,
.prose kbd {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--ice);
  background-color: rgba(15, 58, 48, 0.8);
  padding: 2px 6px;
  border-radius: 2px;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
}

/* ---------- 9. Media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: var(--turf);
  background-image:
    linear-gradient(135deg, rgba(45, 245, 210, 0.14), rgba(4, 26, 21, 0.92) 58%),
    repeating-linear-gradient(90deg, rgba(158, 216, 200, 0.1) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(158, 216, 200, 0.06) 0 1px, transparent 1px 44px);
}

.media::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  opacity: 0.65;
  pointer-events: none;
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }

.media__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 10. Motion helpers ---------- */
.pulse {
  animation: k1PulseOnce 900ms var(--ease) 1 both;
}

@keyframes k1PulseOnce {
  0% { opacity: 0; transform: translateY(10px) scale(0.985); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background-color: var(--mint);
  border-radius: 2px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.22s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* ---------- 12. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--paper);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.site-header[data-scrolled="true"] {
  background-color: rgba(4, 26, 21, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 44px -30px #000000;
}

.header-rail {
  max-height: 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  transition: max-height 0.32s ease, opacity 0.28s ease,
              border-color 0.28s ease;
}

.site-header[data-scrolled="true"] .header-rail {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.header-rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 34px;
  padding-block: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
}

.rail-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
}

.rail-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(45, 245, 210, 0.18);
  animation: k1RailPulse 3.6s ease-in-out infinite;
}

@keyframes k1RailPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.rail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.rail-list__item {
  position: relative;
  padding-left: 12px;
  color: var(--steel);
}

.rail-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  background-color: var(--score);
}

.header-main__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  min-height: 70px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background-color: var(--mint);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  border-radius: 2px;
  box-shadow: 5px 5px 0 0 rgba(45, 245, 210, 0.16);
  transition: box-shadow 0.24s ease, background-color 0.24s ease;
}

.brand:hover .brand__mark {
  background-color: var(--ice);
  box-shadow: 5px 5px 0 0 rgba(255, 92, 53, 0.28);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 26px);
  margin-left: auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.3vw, 22px);
  flex-wrap: nowrap;
}

.site-nav__item { flex: 0 0 auto; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--steel);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background-color: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease), background-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible { color: var(--paper); }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

.site-nav__link:hover .site-nav__index,
.site-nav__link:focus-visible .site-nav__index { color: var(--mint); }

.site-nav__link[aria-current="page"] { color: var(--paper); }

.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background-color: var(--score);
}

.site-nav__link[aria-current="page"] .site-nav__index { color: var(--score); }

.site-nav__cta {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

/* Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 12px;
  background-color: rgba(15, 58, 48, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover { background-color: rgba(45, 245, 210, 0.12); }

.nav-toggle__bars {
  display: block;
  width: 18px;
  flex: 0 0 auto;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background-color: var(--mint);
  transition: transform 0.26s var(--ease), opacity 0.2s ease;
}

.nav-toggle__bars span + span { margin-top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-toggle__label { line-height: 1; }

/* Progress */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-image: linear-gradient(90deg, var(--mint) 0%, var(--ice) 46%, var(--score) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.site-header[data-scrolled="true"] .header-progress { opacity: 0.92; }

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  padding-top: clamp(44px, 6vw, 80px);
  color: var(--mist);
  background-image: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 46%, #061F19 100%);
  border-top: 1px solid var(--line-strong);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--mint) 0 18px, transparent 18px 36px);
  opacity: 0.45;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(30px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.footer-stamp {
  display: inline-flex;
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px dashed rgba(158, 216, 200, 0.35);
  border-radius: 2px;
}

.footer-brand__line {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
}

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

.footer-note {
  margin-top: 16px;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  border-left: 2px solid var(--score);
}

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

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-links a::before {
  content: "";
  width: 8px;
  height: 1px;
  background-color: var(--steel);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--paper);
  transform: translateX(2px);
}

.footer-links a:hover::before {
  width: 16px;
  background-color: var(--mint);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(158, 216, 200, 0.2);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-item__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.contact-item__value {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
  word-break: break-word;
}

.copy-btn {
  appearance: none;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.copy-btn:hover {
  color: var(--mint);
  border-color: var(--line-strong);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: none;
}

.footer-meta__sep { color: rgba(158, 216, 200, 0.35); }

/* ---------- 14. Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav__link { font-size: 13px; }
  .site-nav__cta { font-size: 12px; padding: 0 12px; }
  .brand__tag { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 92px; }

  .header-rail { max-height: 34px; }
  .header-rail__inner {
    justify-content: flex-start;
    gap: 8px 14px;
    min-height: 30px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .rail-list { gap: 6px 14px; }

  .header-main__inner { min-height: 62px; }

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

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 420px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 96px 24px 40px;
    background-image: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
    border-left: 1px solid var(--line-strong);
    box-shadow: -30px 0 60px -30px #000000;
    transform: translateX(102%);
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform 0.38s var(--ease), visibility 0.38s ease;
    z-index: 98;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
  }

  .site-nav__item { border-bottom: 1px solid var(--line-soft); }

  .site-nav__link {
    display: flex;
    width: 100%;
    padding: 18px 0;
    gap: 14px;
    font-size: 19px;
    font-weight: 700;
    color: var(--paper);
  }

  .site-nav__link::after { display: none; }

  .site-nav__index {
    font-size: 12px;
    color: var(--score);
    letter-spacing: 0.1em;
  }

  .site-nav__link[aria-current="page"] { color: var(--mint); }
  .site-nav__link[aria-current="page"] .site-nav__index { color: var(--mint); }

  .site-nav__cta {
    width: 100%;
    min-height: 50px;
    margin-top: 26px;
    font-size: 15px;
  }

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

  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-4, .col-5 { grid-column: span 6; }
  .col-7, .col-8 { grid-column: span 6; }
}

@media (max-width: 760px) {
  :root { --fs-body: 16px; }

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

  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .col-4, .col-5, .col-7, .col-8, .col-12 { grid-column: span 1; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section__head { align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand__mark { width: 38px; height: 38px; font-size: 17px; }
  .brand__name { font-size: 19px; }
  .rail-list { display: none; }
  .site-nav { width: 100%; }
  .contact-item__value { font-size: 13px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-meta__sep { display: none; }
}

/* ---------- 15. Reduced motion ---------- */
@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;
    scroll-behavior: auto !important;
  }
}
