/* ==========================================================
   趣体育赛场 · /assets/site.css
   1 Reset & tokens
   2 中文排版与基础元素
   3 布局骨架
   4 按钮
   5 页头 / 导航
   6 页脚
   7 复用组件
   8 动效
   9 响应式
   ========================================================== */

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

:root {
  --jade-700: #0E6B5B;
  --jade-600: #178A74;
  --jade-300: #7FBFA9;
  --mist: #EAF3EF;
  --paper: #F7F8F6;
  --orange: #FF5A2B;
  --orange-ink: #C93C13;
  --amber: #E0A020;
  --ink: #0B1F33;
  --ink-2: #16324C;
  --text: #2A3339;
  --line: #C9D4CF;
  --line-soft: #DCE5E1;

  --header-h: 76px;
  --maxw: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .3, 1);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .008em;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

[hidden] { display: none !important; }

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

/* ---------- 2 中文排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5.2vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2.1vw, 22px); letter-spacing: -.01em; }
h4 { font-size: 17px; letter-spacing: 0; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--jade-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .25em 0; }

dl, dd { margin: 0; }

strong { font-weight: 700; color: var(--ink); }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--mist);
  padding: .1em .4em;
}

/* ---------- 3 布局骨架 ---------- */
main#main-content {
  display: block;
  padding-top: var(--header-h);
}

main#main-content.has-flush-top { padding-top: 0; }

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

.section { padding-block: clamp(40px, 6.5vw, 88px); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: rgba(247, 248, 246, .82); }
.section--ink h2,
.section--ink h3 { color: var(--paper); }

.prose { max-width: 72ch; }
.prose p { margin: 0 0 1.2em; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.slice-rule {
  height: clamp(20px, 3vw, 36px);
  background: linear-gradient(172deg, var(--mist) 0%, var(--mist) 50%, var(--paper) 50%, var(--paper) 100%);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.layout-aside {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
  align-items: start;
}
.layout-aside__main { grid-column: 1 / span 7; }
.layout-aside__aside { grid-column: 8 / span 3; }

/* ---------- 4 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }

.btn--ghost { background: transparent; border-color: rgba(247, 248, 246, .34); color: #F7F8F6; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.btn--jade { background: var(--jade-700); border-color: var(--jade-700); color: #fff; }
.btn--jade:hover { background: var(--jade-600); border-color: var(--jade-600); color: #fff; }

.btn--line { background: transparent; border-color: var(--line); color: var(--jade-700); }
.btn--line:hover { border-color: var(--jade-700); background: var(--mist); color: var(--jade-700); }

.site-header .btn:focus-visible,
.site-footer .btn:focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
}

/* ---------- 5 页头 / 导航 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; color: #fff; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--paper);
  isolation: isolate;
  transition: background-color .28s var(--ease), border-color .28s var(--ease),
              box-shadow .28s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(11, 31, 51, .80) 0%,
    rgba(11, 31, 51, .42) 58%,
    rgba(11, 31, 51, .04) 100%);
  transition: opacity .28s var(--ease);
}

.site-header[data-scrolled="true"] {
  background-color: var(--ink);
  border-bottom: 1px solid rgba(127, 191, 169, .34);
  box-shadow: 0 8px 26px rgba(11, 31, 51, .30);
}
.site-header[data-scrolled="true"]::before { opacity: 0; }

.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  transition: min-height .28s var(--ease);
}
.site-header[data-scrolled="true"] .site-header__inner { min-height: 62px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-block: 6px;
  color: inherit;
  text-decoration: none;
}
.brand:hover { color: inherit; }

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--orange);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.brand__mark::before {
  content: "";
  width: 12px;
  height: 15px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: skewX(-12deg);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
}
.brand__domain {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(247, 248, 246, .62);
}

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

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { margin: 0; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(247, 248, 246, .82);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease);
}
.site-nav__link:hover,
.site-nav__link:focus-visible { color: #fff; }
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] { color: #fff; font-weight: 700; }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__cta { display: none; }

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
  min-height: 44px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(247, 248, 246, .32);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .10);
}
.nav-toggle__label { line-height: 1; }

.nav-toggle__bars {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-5px) rotate(-45deg); }

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  background: rgba(127, 191, 169, .16);
}
.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--jade-300) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- 6 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(247, 248, 246, .68);
  padding-top: 6px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--orange) 0 72px,
    var(--jade-600) 72px 144px,
    var(--jade-300) 144px 216px);
}

.site-footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 76px) var(--gutter) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .85fr) minmax(0, .85fr) minmax(0, 1.7fr);
  gap: clamp(24px, 3.4vw, 52px);
}

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

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
}

.footer-brand__domain {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--jade-300);
}

.footer-brand__line {
  margin: 14px 0 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 248, 246, .62);
}

.footer-col__title,
.footer-contact__title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(127, 191, 169, .28);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--paper);
}

.footer-col__list { list-style: none; margin: 0; padding: 0; }
.footer-col__list li { margin: 0 0 10px; }
.footer-col__list li:last-child { margin-bottom: 0; }

.footer-col__link {
  display: inline-block;
  padding-block: 2px;
  font-size: 14px;
  color: rgba(247, 248, 246, .74);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer-col__link:hover,
.footer-col__link:focus-visible {
  color: #fff;
  border-bottom-color: var(--orange);
}

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

.footer-contact__list { margin: 0; }

.footer-contact__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(127, 191, 169, .16);
}
.footer-contact__row:last-child { border-bottom: 0; }

.footer-contact__term {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.9;
  color: var(--jade-300);
}

.footer-contact__value {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 248, 246, .88);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(247, 248, 246, .52);
}

.footer-contact__action { margin-top: 18px; }

.footer-legal {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid rgba(127, 191, 169, .22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(247, 248, 246, .5);
}
.footer-legal__copy { margin: 0; }
.footer-legal__icp {
  margin: 0;
  margin-inline-start: auto;
  font-family: var(--font-mono);
}
.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-legal__links li { margin: 0; }
.footer-legal__links a {
  color: rgba(247, 248, 246, .66);
  text-decoration: none;
}
.footer-legal__links a:hover,
.footer-legal__links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 7 复用组件 ---------- */
.cut-panel {
  --cut: 18px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
  clip-path: polygon(0 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut)));
}
.cut-panel--mist { background: var(--mist); }
.cut-panel--ink { background: var(--ink-2); color: rgba(247, 248, 246, .84); }
.cut-panel--ink h3 { color: var(--paper); }

.track-band {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  padding: 14px clamp(16px, 2.4vw, 28px);
  background: linear-gradient(100deg, var(--jade-700) 0%, var(--jade-600) 55%, var(--jade-300) 100%);
  color: #fff;
  overflow: hidden;
}
.track-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .16) 0 1px,
    transparent 1px 48px);
}

.index-item {
  position: relative;
  display: block;
  padding: 14px 0 14px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background-color .18s var(--ease);
}
.index-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 0;
  background: var(--orange);
  transition: width .2s var(--ease);
}
.index-item:hover,
.index-item:focus-within { background: rgba(234, 243, 239, .6); }
.index-item:hover::before,
.index-item:focus-within::before { width: 4px; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(127, 191, 169, .3);
  border: 1px solid rgba(127, 191, 169, .3);
}
.stat-band__cell {
  background: var(--ink);
  padding: 18px 20px;
  min-width: 0;
}
.stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.stat__num small {
  font-size: .42em;
  font-weight: 400;
  color: var(--jade-300);
  margin-left: .3em;
}
.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--jade-300);
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--jade-700);
  background: transparent;
}
.tag--orange {
  border-color: rgba(201, 60, 19, .35);
  background: rgba(255, 90, 43, .08);
  color: var(--orange-ink);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.filter-btn:hover { border-color: var(--jade-600); color: var(--jade-700); }
.filter-btn[aria-pressed="true"],
.filter-btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 700;
}

.breadcrumbs { font-size: 13px; color: #5A6B72; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { margin: 0; }
.breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
  color: var(--line);
}
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--jade-700); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--mist);
  background-image: repeating-linear-gradient(135deg,
    rgba(127, 191, 169, .22) 0 10px,
    transparent 10px 20px);
  isolation: isolate;
}
.media-frame > img,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame--veil::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg,
    rgba(14, 107, 91, .55) 0%,
    rgba(11, 31, 51, .85) 100%);
}

/* ---------- 8 动效 ---------- */
html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}
html.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 9 响应式 ---------- */
@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease),
                visibility .22s linear;
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
  }
  .site-nav__item { border-bottom: 1px solid rgba(127, 191, 169, .18); }
  .site-nav__link {
    display: block;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: rgba(247, 248, 246, .86);
  }
  .site-nav__link::after { display: none; }
  .site-nav__link[aria-current="page"] { color: var(--orange); }

  .site-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
  }
  .site-nav__cta .btn { padding: 14px 20px; font-size: 15px; }

  .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  .layout-aside { grid-template-columns: minmax(0, 1fr); }
  .layout-aside__main,
  .layout-aside__aside { grid-column: 1 / -1; }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .brand__domain { display: none; }
  .brand__name { font-size: 17px; }
  .site-header[data-scrolled="true"] .site-header__inner { min-height: 56px; }

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

  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-brand,
  .footer-contact { grid-column: auto; }

  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal__icp { margin-inline-start: 0; }

  .grid--12 { grid-template-columns: minmax(0, 1fr); }
  .stat__num { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

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

  .btn:hover { transform: none; }
}
