/* ==========================================================================
   嘉美体育 · 全站共享样式 /assets/site.css
   深墨绿底 + 荧光青线条 + 电光橙动作色 · 夜间球场数据面板
   ========================================================================== */

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

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

body,
figure,
blockquote,
dl,
dd { margin: 0; }

address { font-style: normal; }

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

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

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

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

::selection { background: var(--cyan); color: #04140F; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #04120F; }
::-webkit-scrollbar-thumb { background: #1E4B3E; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ---------- 2. Design tokens ---------- */
:root {
  --ink: #061A16;
  --panel: #0B2A22;
  --panel-2: #10382C;
  --cyan: #17E0C8;
  --cyan-soft: #7BF5E6;
  --orange: #FF6B2C;
  --orange-soft: #FFB27A;
  --white: #F4FBFA;
  --steel: #C7D8D4;
  --line: #1E4B3E;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --pill: 999px;

  --shadow-lift: 0 18px 40px -22px rgba(0, 0, 0, 0.85);

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-data: ui-monospace, "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
}

/* ---------- 3. Base typography ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 8% -14%, rgba(23, 224, 200, 0.13), transparent 60%),
    radial-gradient(860px 520px at 96% 2%, rgba(255, 107, 44, 0.10), transparent 58%),
    linear-gradient(180deg, #061A16 0%, #04120F 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 { font-size: clamp(40px, 7vw, 64px); }
h2 { font-size: clamp(28px, 4.2vw, 34px); }
h3 { font-size: clamp(20px, 2.6vw, 24px); }

p { margin: 0 0 1em; }

strong { color: var(--white); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--cyan);
  color: #04140F;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 0;
  color: #04140F;
}

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

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section__title { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.lead {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--steel);
}

.prose {
  max-width: 720px;
  color: var(--steel);
}

.prose p { margin-bottom: 1.1em; }
.prose ul,
.prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }

.display {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
  transform: skewX(-3deg);
  transform-origin: left center;
}

.display--hero { font-size: clamp(56px, 12vw, 120px); }

.num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* ---------- 5. Grid ---------- */
.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

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

/* ---------- 6. Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--orange);
  color: #1A0A03;
}
.btn--primary:hover {
  background: var(--orange-soft);
  color: #1A0A03;
  transform: translateY(-3px);
}

.btn--cyan {
  background: var(--cyan);
  color: #04140F;
}
.btn--cyan:hover {
  background: var(--cyan-soft);
  color: #04140F;
  transform: translateY(-3px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--panel-2);
  color: var(--steel);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip--ghost {
  background: transparent;
  border-color: rgba(23, 224, 200, 0.42);
  color: var(--cyan);
}
.chip--ghost:hover {
  background: rgba(23, 224, 200, 0.12);
  border-color: var(--cyan);
  color: var(--cyan-soft);
}

.chip--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}
.chip--outline:hover {
  border-color: var(--orange);
  color: var(--orange-soft);
}

.chip--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A03;
}

/* ---------- 7. Cards & stats ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 224, 200, 0.55);
  background: var(--panel-2);
}

.card--focus { grid-column: span 8; }
.card--accent { border-color: rgba(255, 107, 44, 0.5); }

.card__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 24px);
}

.card__meta {
  margin: 0 0 8px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.card__text {
  margin: 0;
  font-size: 15px;
  color: var(--steel);
}

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

.stat__value {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(16, 56, 44, 0.6);
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
}

.tag--beta {
  border-color: rgba(255, 178, 122, 0.45);
  background: rgba(255, 107, 44, 0.12);
  color: var(--orange-soft);
}

/* ---------- 8. Editorial index & chapters ---------- */
.index-list { display: grid; gap: 2px; }

.index-list__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px dashed rgba(30, 75, 62, 0.9);
  font-size: 14.5px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.index-list__item:hover {
  color: var(--white);
  transform: translateX(4px);
}

.index-list__num {
  flex: none;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--cyan);
}

.chapter {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.chapter__num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--cyan);
  transition: color 0.25s ease;
}

.chapter.is-current .chapter__num { color: var(--orange); }

.chapter__body { max-width: 760px; }

/* ---------- 9. Breadcrumbs ---------- */
.breadcrumbs { padding-block: 18px; }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-data);
  font-size: 12.5px;
  color: var(--steel);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumbs__link {
  color: var(--steel);
  text-decoration: none;
}
.breadcrumbs__link:hover { color: var(--cyan); }

/* ---------- 10. Media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, var(--panel-2) 0%, #04120F 100%);
}

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

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

.media--cut {
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 16px;
  font-size: 12.5px;
  color: var(--steel);
  background: linear-gradient(180deg, transparent 0%, rgba(6, 26, 22, 0.92) 100%);
}

/* ---------- 11. Utilities ---------- */
.u-hidden { display: none !important; }

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.u-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* ---------- 12. Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 26, 22, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-top {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(16, 56, 44, 0.95) 0%, rgba(6, 26, 22, 0.55) 100%);
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}

.header-top__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--steel);
}

.header-top__line::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(23, 224, 200, 0.16);
}

.header-top__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.header-main { position: relative; }

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-block: 10px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 4px 15px 15px 15px;
  background: linear-gradient(140deg, var(--cyan) 0%, #0F9E8D 100%);
  color: #04140F;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transform: skewX(-4deg);
  box-shadow: 0 8px 20px -10px rgba(23, 224, 200, 0.9);
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.brand__line {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.brand--footer .brand__mark { width: 38px; height: 38px; font-size: 14px; }
.brand--footer .brand__name { font-size: 18px; }

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

.site-nav__link {
  display: block;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  color: var(--steel);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-nav__link:hover {
  color: var(--white);
  background: var(--panel-2);
  border-color: var(--line);
}

.site-nav__link[aria-current="page"] {
  color: #04140F;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 800;
}

.site-nav__link[aria-current="page"]:hover {
  color: #04140F;
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

/* toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--panel);
  color: var(--white);
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04140F;
}

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

/* progress */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(23, 224, 200, 0.1);
  pointer-events: none;
}

.progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-soft) 55%, var(--orange) 100%);
  box-shadow: 0 0 12px rgba(23, 224, 200, 0.6);
}

/* ---------- 13. Site footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  padding-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink) 0%, #04120F 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, rgba(23, 224, 200, 0) 48%, var(--orange) 100%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
}

.footer-brand__tagline {
  max-width: 26ch;
  margin: 18px 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

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

.footer-facts__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 12.5px;
  color: var(--steel);
}

.footer-facts__item::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--cyan);
}

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

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

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

.footer-col__link {
  display: inline-block;
  border-bottom: 1px solid transparent;
  color: var(--steel);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-col__link:hover {
  color: var(--white);
  border-bottom-color: var(--cyan);
  transform: translateX(3px);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-block: 22px 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--white);
}

.footer-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact__item::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.footer-note {
  flex: 1 1 320px;
  max-width: 52ch;
  margin: 0;
  font-size: 12.5px;
  color: var(--steel);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12.5px;
  color: var(--steel);
}

/* ---------- 14. Motion hooks ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

/* ---------- 15. Tablet ---------- */
@media (max-width: 1024px) {
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8 { grid-column: span 6; }

  .card--focus { grid-column: span 12; }
}

/* ---------- 16. Mobile nav breakpoint ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 110;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 42, 34, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: max-height 0.3s ease;
  }

  .site-nav[data-open] {
    max-height: min(72vh, 560px);
    overflow-y: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 22px;
  }

  .site-nav__link {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(16, 56, 44, 0.5);
    font-size: 16px;
  }

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

  html.nav-open { overflow: hidden; }

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

/* ---------- 17. Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 15.5px; }

  .header-top__actions { display: none; }
  .header-top__line { font-size: 11px; }

  .header-main__inner { min-height: 64px; }
  .brand__mark { width: 36px; height: 36px; border-radius: 4px 13px 13px 13px; font-size: 13px; }
  .brand__name { font-size: 17px; }
  .brand__line { font-size: 10px; letter-spacing: 0.14em; }

  .nav-toggle { padding: 8px 13px; font-size: 12px; }

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

  .chapter { grid-template-columns: 1fr; }
  .chapter__num { font-size: 34px; }

  .footer-meta { flex-direction: column; align-items: flex-start; }
  .footer-copy { order: 3; }
}

@media (max-width: 420px) {
  .footer-nav { grid-template-columns: 1fr; }
  .footer-contact { flex-direction: column; align-items: flex-start; }
}

/* ---------- 18. 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;
  }

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

  .progress__bar { transition: none; }
  .btn:hover,
  .card:hover,
  .footer-col__link:hover,
  .index-list__item:hover { transform: none; }
}
