/* =========================================================
   亚星赛场 · 共享样式表  /assets/site.css
   夜间球场控制台：蓝图网格 / 切角面板 / 记分牌数字
   ========================================================= */

/* ---------- 1. 重置与变量 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --night: #061826;
  --pitch: #0A2A20;
  --stand: #03110B;
  --white: #F3F7EF;
  --volt: #C9FF3F;
  --amber: #FF8B3D;
  --cyan: #6FE7D2;
  --mist: #9DB4A8;
  --line: #1D3B33;
  --alert: #FF5B5B;

  --font-head: "Oswald", "Barlow Condensed", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "JetBrains Mono", "Roboto Mono", SFMono-Regular, Consolas, monospace;

  --maxw: 1440px;
  --gutter: clamp(16px, 3.2vw, 44px);
  --edge: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.8;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 2. 中文排版基线 ---------- */
img,
svg,
picture { display: block; max-width: 100%; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .16s ease;
}
a:hover { color: var(--volt); }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .01em;
  color: var(--white);
}
h1 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: .06em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

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

::selection { background: var(--volt); color: var(--night); }

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

/* ---------- 3. 蓝图网格背景 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: .22;
  animation: gridDrift 48s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 96px 96px; }
}

.site-header,
.site-footer,
.site-main,
main { position: relative; z-index: 1; }

/* ---------- 4. 无障碍工具类 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: var(--gutter);
  z-index: 200;
  padding: 12px 22px;
  background: var(--volt);
  color: var(--night);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .08em;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--edge) 100%, 0 calc(100% - var(--edge)));
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: var(--night); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(40px, 6vw, 88px); }

/* ---------- 6. 页头框架 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(3, 17, 11, .98) 0%, rgba(6, 24, 38, .94) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--volt), var(--cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 2;
}

.header-frame {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-top {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  min-height: 66px;
  padding: 12px 0;
}

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

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background: var(--volt);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
  display: grid;
  place-items: center;
}
.brand-mark::after {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--night);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: .14em;
  color: var(--white);
}
.brand-descriptor {
  font-family: var(--font-data);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--mist);
}

/* 状态行 */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--mist);
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  animation: statusPulse 2.6s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 255, 63, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(201, 255, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 255, 63, 0); }
}

/* 快捷筛选 */
.header-utility {
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.header-utility li { position: relative; }
.header-utility li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  background: var(--line);
  transform: translateY(-50%);
}
.header-utility a {
  display: block;
  padding: 6px 14px;
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--mist);
  text-decoration: none;
}
.header-utility a:hover { color: var(--volt); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 14px;
  background: rgba(10, 42, 32, .7);
  color: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .14em;
  transition: border-color .18s ease, color .18s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible { border-color: var(--volt); color: var(--volt); }

.nav-toggle-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color .2s ease;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease);
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[data-open="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[data-open="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[data-open="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. 主导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0 8px;
  border-top: 1px solid var(--line);
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { list-style: none; }

.nav-link {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .94rem;
  letter-spacing: .1em;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(10, 42, 32, .85);
  border-color: var(--line);
}
.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(10, 42, 32, .85);
  border-color: var(--line);
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 2px;
  background: var(--volt);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 11px 26px;
  background: var(--volt);
  color: var(--night);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .12em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--edge) 100%, 0 calc(100% - var(--edge)));
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.nav-cta::after {
  content: "→";
  font-family: var(--font-data);
  font-size: .95em;
  transition: transform .18s ease;
}
.nav-cta:hover {
  background: var(--white);
  color: var(--night);
  transform: translateY(-1px);
}
.nav-cta:hover::after { transform: translateX(4px); }

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 9vw, 120px);
  background: var(--stand);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .26;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(120px, 22vw, 280px);
  height: 2px;
  background: var(--volt);
  z-index: 2;
}

.footer-grid {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 48px);
  display: grid;
  gap: clamp(26px, 3.4vw, 52px);
  grid-template-columns: minmax(250px, 1.7fr) repeat(3, minmax(96px, .72fr)) minmax(200px, 1.15fr);
  align-items: start;
}

.footer-brand .brand { margin-bottom: 18px; }
.brand--footer .brand-mark { width: 28px; height: 28px; }
.brand--footer .brand-name { font-size: 1.05rem; }

.footer-statement {
  max-width: 36ch;
  margin: 0 0 14px;
  color: var(--mist);
  font-size: .94rem;
  line-height: 1.85;
}
.footer-note {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--volt);
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--cyan);
}

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

.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-data);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--volt);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  position: relative;
  display: inline-block;
  color: var(--white);
  font-size: .9rem;
  text-decoration: none;
  transition: color .16s ease, padding-left .16s ease;
}
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--volt);
  transform: translateY(-50%);
  transition: width .18s ease;
}
.footer-links a:hover { color: var(--volt); padding-left: 14px; }
.footer-links a:hover::before { width: 10px; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.contact-label {
  font-family: var(--font-data);
  font-size: .64rem;
  letter-spacing: .18em;
  color: var(--mist);
  text-transform: uppercase;
}
.contact-value {
  color: var(--white);
  font-size: .9rem;
  line-height: 1.65;
  word-break: break-word;
}
.footer-contact-note {
  margin: 14px 0 0;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--mist);
}

.footer-base {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}
.footer-base-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--mist);
}
.footer-copy { margin: 0; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.footer-legal a { color: var(--mist); text-decoration: none; }
.footer-legal a:hover { color: var(--volt); }
.footer-icp { margin: 0; color: var(--mist); }

/* ---------- 9. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-data);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--volt);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--volt);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--mist);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--volt); }
.breadcrumb [aria-current="page"] { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--volt);
  color: var(--night);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .12em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--edge) 100%, 0 calc(100% - var(--edge)));
  transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn:hover {
  background: var(--white);
  color: var(--night);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
  clip-path: none;
}
.btn--ghost:hover {
  background: rgba(10, 42, 32, .9);
  color: var(--volt);
  border-color: var(--volt);
}
.btn--sm { padding: 9px 18px; font-size: .82rem; }

.panel {
  position: relative;
  padding: clamp(16px, 2.4vw, 28px);
  background: var(--pitch);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.panel--dark { background: var(--night); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-data);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(201, 255, 63, .12);
  color: var(--volt);
  border: 1px solid rgba(201, 255, 63, .35);
}
.tag--amber {
  background: rgba(255, 139, 61, .14);
  color: var(--amber);
  border-color: rgba(255, 139, 61, .42);
}
.tag--cyan {
  background: rgba(111, 231, 210, .12);
  color: var(--cyan);
  border-color: rgba(111, 231, 210, .38);
}
.tag--alert {
  background: rgba(255, 91, 91, .13);
  color: var(--alert);
  border-color: rgba(255, 91, 91, .4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: var(--mist);
  border: 1px solid var(--line);
  font-family: var(--font-data);
  font-size: .74rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.chip:hover { color: var(--white); border-color: var(--volt); }
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--volt);
  color: var(--night);
  border-color: var(--volt);
}

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

/* 图片容器基础规则 —— 页面阶段直接放入 img 占位 */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--pitch), var(--night) 58%, var(--stand));
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.img-frame img,
.img-frame picture,
.img-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 17, 11, 0) 45%, rgba(3, 17, 11, .78) 100%);
}
.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--portrait { aspect-ratio: 3 / 4; }
.img-frame--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.img-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-data);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--volt);
  text-transform: uppercase;
}

/* ---------- 10. 交互状态 ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s ease, transform .42s var(--ease);
}
html[data-reveal-ready] [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--volt);
  color: var(--night);
  border: 1px solid var(--volt);
  cursor: pointer;
  font-family: var(--font-data);
  font-size: 1.05rem;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--edge) 100%, 0 calc(100% - var(--edge)));
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s linear, background-color .18s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover { background: var(--white); border-color: var(--white); }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(96px, .8fr)) minmax(180px, 1.1fr);
  }
  .footer-col:nth-of-type(4) { grid-column: 2 / 4; }
}

@media (max-width: 1080px) {
  .header-status { display: none; }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-col:nth-of-type(4) { grid-column: auto; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-utility { display: none; }
  .header-top { min-height: 62px; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 18px;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }
  .site-header[data-open="true"] .site-nav { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-item { width: 100%; }

  .nav-link {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }
  .nav-link:hover { border-left-color: var(--line); }
  .nav-link[aria-current="page"] {
    border-left-color: var(--volt);
    background: rgba(10, 42, 32, .92);
  }
  .nav-link[aria-current="page"]::after { display: none; }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
    padding: 14px 22px;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .footer-base-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 600px) {
  .header-top { min-height: 58px; gap: 10px; }
  .brand-descriptor { display: none; }
  .brand-name { font-size: 1.02rem; letter-spacing: .1em; }
  .brand-mark { width: 28px; height: 28px; }
  .footer-links a { font-size: .88rem; }
  .back-to-top { width: 42px; height: 42px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: auto; }
}

/* ---------- 12. 减少动效与打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .status-dot { animation: none; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html[data-reveal-ready] [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .back-to-top { transition: opacity .2s ease; }
}

@media print {
  body { background: #fff; color: #111; }
  body::before,
  .scroll-progress,
  .back-to-top,
  .site-header,
  .site-footer::before,
  .site-footer::after { display: none !important; }
  .site-footer { background: #fff; border-top: 1px solid #ccc; margin-top: 24px; }
  a { color: #111; }
}
