/* ==========================================================================
   米兰体育主站 · 共享样式 /assets/site.css
   设计基调：深色赛场档案库 · 6px 精密网格 · 锐利直角 · 等宽数字 · 红黑主调
   ========================================================================== */

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

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

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

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

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

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

button {
  background: none;
  border: 0;
  padding: 0;
}

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

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

hr { border: 0; border-top: 1px solid var(--c-grid); }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --c-red: #C8102E;
  --c-red-deep: #12070B;
  --c-ink: #0A0A0C;
  --c-green: #1FBF6B;
  --c-yellow: #FFC53D;
  --c-white: #F2F4F7;
  --c-gray: #8A8F98;
  --c-gray-soft: rgba(242, 244, 247, 0.64);
  --c-mist: rgba(200, 16, 46, 0.14);
  --c-neon: #FF4D6D;
  --c-grid: #2A2E36;
  --c-cyan: #35E0C8;

  /* 字体 */
  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "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;

  /* 字号阶梯 12 / 14 / 16 / 20 / 28 / 40 / 64 */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: clamp(22px, 2.2vw, 28px);
  --fs-40: clamp(28px, 3.4vw, 40px);
  --fs-64: clamp(38px, 6vw, 64px);

  /* 尺度与结构 */
  --baseline: 24px;
  --shell-max: 1440px;
  --gutter: 24px;
  --hdr-h: 76px;
  --hdr-h-min: 56px;
  --edge: 1px solid var(--c-grid);
}

/* ---------- 3. 基础层 ---------- */
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.7;
  font-weight: 400;
  color: var(--c-white);
  background-color: var(--c-red-deep);
  background-image:
    radial-gradient(1100px 620px at 84% -8%, rgba(200, 16, 46, 0.24), transparent 62%),
    radial-gradient(900px 520px at 4% 6%, rgba(31, 191, 107, 0.08), transparent 60%),
    linear-gradient(to right, rgba(42, 46, 54, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 46, 54, 0.5) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
}

#main-content {
  display: block;
  padding-top: var(--hdr-h);
}

[id] { scroll-margin-top: calc(var(--hdr-h) + 16px); }

::selection { background: var(--c-red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 2px;
}

/* ---------- 4. 通用排版 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section { position: relative; padding: 64px 0; }
.section--tight { padding: 40px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-yellow);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c-red);
}

.display-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-64);
  line-height: 1.04;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  transform-origin: left center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-40);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sub-title {
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 1.35;
}

.tilt { transform: skewX(-2deg); transform-origin: left center; }

.prose {
  max-width: 720px;
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--c-white);
}

.prose p + p { margin-top: 16px; }
.prose ul,
.prose ol { margin-top: 16px; }
.prose li + li { margin-top: 8px; }

.caption {
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: var(--c-gray-soft);
}

.text-muted { color: var(--c-gray); }

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.accent-red { color: var(--c-red); }
.accent-green { color: var(--c-green); }
.accent-yellow { color: var(--c-yellow); }
.accent-cyan { color: var(--c-cyan); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: var(--fs-14);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--red {
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200, 16, 46, 0.3);
}

.btn--red:hover { background: var(--c-neon); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  border-color: var(--c-grid);
  color: var(--c-white);
}

.btn--ghost:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
  transform: translateY(-2px);
}

.btn--line {
  background: var(--c-mist);
  border-color: rgba(200, 16, 46, 0.5);
  border-left: 4px solid var(--c-red);
  color: var(--c-white);
}

.btn--line:hover { background: rgba(200, 16, 46, 0.28); transform: translateY(-2px); }

.btn--sm { padding: 9px 14px; font-size: var(--fs-12); }

/* ---------- 6. 面包屑 ---------- */
.breadcrumb {
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  color: var(--c-gray);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.breadcrumb li + li::before {
  content: "／";
  color: var(--c-grid);
}

.breadcrumb a { color: var(--c-gray); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--c-yellow); }
.breadcrumb [aria-current="page"] { color: var(--c-white); }

/* ---------- 7. 网格系统 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--baseline);
}

.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-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ---------- 8. 面板与标记 ---------- */
.panel {
  position: relative;
  padding: 24px;
  background:
    linear-gradient(158deg, rgba(200, 16, 46, 0.13), rgba(10, 10, 12, 0) 62%),
    rgba(242, 244, 247, 0.02);
  border-top: var(--edge);
  border-right: var(--edge);
  border-bottom: var(--edge);
  border-left: 4px solid var(--c-red);
}

.panel--green { border-left-color: var(--c-green); }
.panel--yellow { border-left-color: var(--c-yellow); }
.panel--cyan { border-left-color: var(--c-cyan); }

.rule-left {
  border-left: 4px solid var(--c-red);
  padding-left: 18px;
}

/* ---------- 9. 筛选标签 ---------- */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-white);
  background: rgba(242, 244, 247, 0.03);
  border: 1px solid var(--c-grid);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tag:hover { border-color: var(--c-yellow); color: var(--c-yellow); }

.tag[aria-pressed="true"] {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

/* ---------- 10. 图片容器（页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0D0D10;
  border: var(--edge);
}

.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.18), rgba(10, 10, 12, 0.58));
}

.media-frame__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 12px;
  font-size: var(--fs-12);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--c-white);
  background: rgba(10, 10, 12, 0.74);
  border-left: 2px solid var(--c-red);
}

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

/* ---------- 11. 显现动效 ---------- */
html.js-on [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

html.js-on [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 头部 ---------- */
.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-yellow);
  transition: top 0.2s ease;
}

.skip-link:focus { top: 8px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-yellow) 56%, var(--c-green));
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.55);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 120;
  background: rgba(10, 10, 12, 0.95);
  border-bottom: var(--edge);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.7) 22%, rgba(255, 197, 61, 0.5) 55%, transparent 88%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.site-header.is-condensed::after { opacity: 1; }

.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--hdr-h);
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  transition: height 0.28s ease;
}

.site-header.is-condensed .header-main { height: var(--hdr-h-min); }

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  background: var(--c-red);
  transform: skewX(-8deg);
  box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.32), 0 0 18px rgba(200, 16, 46, 0.42);
}

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

.brand-name {
  font-size: var(--fs-16);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  transform: skewX(-2deg);
  transform-origin: left center;
}

.brand-sub {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: var(--c-gray-soft);
}

.site-header.is-condensed .brand-sub { display: none; }

.season-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-gray-soft);
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.2), rgba(200, 16, 46, 0));
  border: var(--edge);
  border-left: 2px solid var(--c-red);
  white-space: nowrap;
}

.season-chip .num { font-size: var(--fs-12); color: var(--c-white); }

.tier-rail {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.tier {
  padding: 5px 9px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-gray-soft);
  background: rgba(242, 244, 247, 0.02);
  border-top: 2px solid var(--c-grid);
  white-space: nowrap;
}

.tier--top { color: var(--c-white); border-top-color: var(--c-red); }
.tier--second { border-top-color: var(--c-yellow); }
.tier--youth { border-top-color: var(--c-green); }
.tier--cup { border-top-color: var(--c-cyan); }

.site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-gray);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 2px;
  left: 12px;
  height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.nav-list a:hover { color: var(--c-white); }
.nav-list a:hover::after { transform: scaleX(0.42); }

.nav-list a[aria-current="page"] { color: var(--c-white); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 12px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-white);
  background: rgba(200, 16, 46, 0.16);
  border: var(--edge);
  border-left: 2px solid var(--c-red);
  cursor: pointer;
}

.nav-toggle-box {
  display: grid;
  gap: 3px;
  width: 16px;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--c-red);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.34);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, background-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { background: var(--c-neon); }
.to-top-icon { font-size: var(--fs-14); line-height: 1; }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 96px;
  background: var(--c-ink);
  border-top: var(--edge);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-red) 18%, var(--c-yellow) 52%, var(--c-green) 78%, transparent);
  opacity: 0.75;
}

.footer-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 56px var(--gutter) 44px;
}

.footer-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 26px;
  margin-bottom: 40px;
  border-bottom: var(--edge);
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 900;
  color: #fff;
  background: var(--c-red);
  transform: skewX(-8deg);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-tagline {
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  color: var(--c-gray);
}

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

.footer-col {
  position: relative;
  min-width: 0;
  padding-top: 20px;
  border-top: var(--edge);
}

.footer-col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--c-red);
}

.footer-title {
  margin-bottom: 16px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-white);
}

.footer-list li + li { margin-top: 10px; }

.footer-list a {
  display: inline-block;
  font-size: var(--fs-14);
  color: var(--c-gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-list a:hover {
  color: var(--c-white);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-14);
}

.footer-contact li + li { margin-top: 10px; }

.footer-key {
  flex: 0 0 auto;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-gray-soft);
}

.footer-val {
  font-size: var(--fs-14);
  color: var(--c-white);
  word-break: break-all;
}

.footer-note {
  max-width: 420px;
  margin-top: 14px;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--c-gray);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.36);
  border-top: var(--edge);
}

.footer-bottom-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.footer-icp,
.footer-region {
  font-size: var(--fs-14);
  color: var(--c-gray);
}

.footer-region {
  padding-left: 16px;
  border-left: var(--edge);
}

.footer-scale {
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--c-gray-soft);
}

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1180px) {
  .tier-rail { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 18px; }

  #main-content { padding-top: var(--hdr-h); }

  .section { padding: 44px 0; }
  .section--tight { padding: 28px 0; }

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

  .site-header.is-condensed .header-main { height: var(--hdr-h); }
  .season-chip { display: none; }

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

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: block;
    width: min(86vw, 360px);
    margin: 0;
    padding: calc(var(--hdr-h) + 24px) 20px 32px;
    background: var(--c-ink);
    border-left: var(--edge);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.55);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .nav-list li { border-bottom: var(--edge); }

  .nav-list a {
    display: block;
    padding: 16px 6px;
    font-size: var(--fs-16);
  }

  .nav-list a::after {
    right: auto;
    bottom: 10px;
    left: 6px;
    width: 24px;
  }

  .nav-list a:hover::after { transform: scaleX(1); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-masthead { flex-direction: column; align-items: flex-start; }
  .footer-tagline { max-width: 100%; }

  .to-top { right: 14px; bottom: 14px; padding: 11px 12px; }
}

@media (max-width: 560px) {
  .display-title { font-size: clamp(30px, 9vw, 40px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-region { padding-left: 12px; }
  .to-top-text { display: none; }
}

@media (min-width: 901px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
  }

  .footer-legal { grid-column: 2; }
  .footer-scale { grid-column: 3; justify-self: end; }
}

/* ---------- 15. 减弱动效 ---------- */
@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-on [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .to-top { transition: opacity 0.001ms linear; }
}
