/* ============================================================
   Yabo Sports V2.0 — Shared Site Kit CSS
   Deep Space Blue / Fluorescent Green / Chinese Red
   ============================================================ */

:root {
  --navy-900: #050D1A;
  --navy-700: #0B1B3A;
  --navy-500: #2E3A59;
  --accent: #00E68A;
  --accent-soft: rgba(0, 230, 138, 0.14);
  --red: #FF3B3B;
  --red-soft: rgba(255, 59, 59, 0.16);
  --data: #3B82F6;
  --light: #F5F7FA;
  --text-main: #F5F7FA;
  --text-muted: rgba(245, 247, 250, 0.64);
  --text-faint: rgba(245, 247, 250, 0.4);
  --line: rgba(245, 247, 250, 0.13);
  --line-strong: rgba(245, 247, 250, 0.25);
  --line-accent: rgba(0, 230, 138, 0.55);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --page-width: 1280px;
  --header-inner-h: 76px;
  --header-h: calc(var(--header-inner-h) + 4px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgba(245, 247, 250, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 247, 250, 0.028) 1px, transparent 1px),
    radial-gradient(900px 420px at 78% -20px, rgba(0, 230, 138, 0.09), transparent 62%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.4em;
  color: var(--text-main);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(42px, 7vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.6vw, 28px); }

p { margin-top: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #AEFFDE;
}

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

::selection {
  background: var(--accent);
  color: #00241A;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-500);
  border: 2px solid var(--navy-900);
}

main {
  display: block;
}

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

#main-content {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ---------- Layout Utilities ---------- */

.container {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.section {
  position: relative;
  padding-block: clamp(56px, 9vw, 104px);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.grid__item {
  min-width: 0;
}

.grid__item--span-3 { grid-column: span 3; }
.grid__item--span-4 { grid-column: span 4; }
.grid__item--span-6 { grid-column: span 6; }
.grid__item--span-8 { grid-column: span 8; }
.grid__item--span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .grid__item--span-3,
  .grid__item--span-4 {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .grid__item--span-3,
  .grid__item--span-4,
  .grid__item--span-6,
  .grid__item--span-8,
  .grid__item--span-12 {
    grid-column: span 4;
  }
}

.prose {
  max-width: 68ch;
}

.prose > p {
  margin-bottom: 1.15em;
  color: var(--text-muted);
}

.prose strong {
  color: var(--text-main);
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
}

.prose ul {
  margin-bottom: 1.15em;
  padding-left: 1.2em;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.4em;
}

/* ---------- Skip Link & Scroll Progress ---------- */

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  padding: 10px 16px;
  transform: translateY(-300%);
  background: var(--accent);
  color: #00241A;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--light);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2500;
  width: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 230, 138, 0.7);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(11, 27, 58, 0.98);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--page-width);
  height: var(--header-inner-h);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.site-header__cut {
  height: 4px;
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent) 20%, var(--line-strong) 20.2%, var(--line-strong) 34%, var(--red) 34.2%, var(--red) 39%, transparent 39.2%);
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  color: var(--text-main);
}

.brand:hover {
  color: var(--text-main);
}

.brand__mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 34px;
  padding: 6px 8px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.brand__codename {
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand__version {
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.brand__sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand:hover .brand__mark {
  background: var(--accent);
  color: #00241A;
}

.brand:hover .brand__name {
  color: var(--accent);
}

/* ---------- Navigation ---------- */

.site-nav {
  margin-left: auto;
}

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

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-nav__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-faint);
  transition: color 0.2s var(--ease);
}

.site-nav__link:hover {
  color: var(--text-main);
}

.site-nav__link:hover .site-nav__idx {
  color: var(--accent);
}

.site-nav__link[aria-current="page"] {
  color: var(--text-main);
  background: var(--accent-soft);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.cn-entry {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--accent);
  color: #00241A;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.cn-entry:hover {
  color: #00241A;
  background: #4FF2B0;
  box-shadow: 0 0 0 4px rgba(0, 230, 138, 0.18);
}

.cn-entry:active {
  transform: translateY(1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle__bars span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

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

/* ---------- Mobile Navigation ---------- */

@media (max-width: 960px) {
  .site-nav {
    margin-left: 0;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    padding: 14px 12px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }

  .site-nav__link[aria-current="page"] {
    background: var(--accent-soft);
    box-shadow: inset 3px 0 0 var(--accent);
  }

  .site-header__actions {
    margin-left: auto;
  }

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

  html.js .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 1190;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 14px clamp(16px, 3vw, 32px) 24px;
    background: rgba(5, 13, 26, 0.98);
    border-bottom: 1px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }

  html.js .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .brand {
    gap: 8px;
  }

  .brand__mark {
    padding: 4px 6px;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__sub {
    display: none;
  }

  .cn-entry {
    padding: 8px 12px;
    font-size: 12px;
  }

  .nav-toggle__label {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #00241A;
}

.btn--primary:hover {
  background: #4FF2B0;
  color: #00241A;
  box-shadow: 0 8px 28px rgba(0, 230, 138, 0.25);
}

.btn--ghost {
  background: rgba(5, 13, 26, 0.3);
  border-color: var(--line-strong);
  color: var(--text-main);
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.btn--small {
  padding: 7px 14px;
  font-size: 13px;
}

/* ---------- Tags, Eyebrow, Divider ---------- */

.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--hot {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}

.tag--live {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.tag--data {
  border-color: var(--data);
  background: rgba(59, 130, 246, 0.14);
  color: #9CC7FF;
}

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

.eyebrow::before {
  content: "//";
  color: var(--text-faint);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 40px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

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

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--text-faint);
}

.breadcrumb__link {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--accent);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--text-main);
  font-weight: 700;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 26px;
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card--flat {
  background: rgba(46, 58, 89, 0.55);
}

.card--stack {
  box-shadow: 8px 8px 0 0 var(--navy-900), 8px 8px 0 1px var(--line-strong);
}

.card--stack:hover {
  transform: translate(-1px, -1px);
  box-shadow: 9px 9px 0 0 var(--navy-900), 9px 9px 0 1px var(--line-accent);
}

.card__meta {
  margin: 0 0 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

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

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.card__link::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.2s var(--ease);
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* ---------- Page Heading & Intro ---------- */

.page-heading {
  margin: 0 0 12px;
  font-size: clamp(42px, 7.5vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.page-heading__idx {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-intro {
  max-width: 62ch;
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* ---------- Stats & Data Numbers ---------- */

.stat {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ---------- Image Frame Placeholder ---------- */

.img-frame {
  --img-ratio: 16 / 9;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--img-ratio);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-900) 88%);
  border: 1px solid var(--line-strong);
}

.img-frame--hero {
  --img-ratio: 21 / 9;
}

.img-frame--portrait {
  --img-ratio: 3 / 4;
}

.img-frame--square {
  --img-ratio: 1 / 1;
}

.img-frame::before {
  content: "IMG // " attr(data-caption);
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 32px);
  padding: 5px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 13, 26, 0.78);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.img-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

@media (max-width: 720px) {
  .img-frame--hero {
    --img-ratio: 4 / 3;
  }
}

/* ---------- Tabs ---------- */

.tabs {
  margin-block: 24px;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.tab {
  appearance: none;
  -webkit-appearance: none;
  margin: 0 0 -1px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tab:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

.tab[aria-selected="true"] {
  color: var(--text-main);
  background: var(--accent-soft);
  border-color: var(--accent);
  border-bottom-color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.tabpanel {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(46, 58, 89, 0.3);
}

.tabpanel[hidden] {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: calc(40px + 4vh);
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.site-footer__ribbon {
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--line-strong) 30%, var(--accent) 50%, var(--line-strong) 70%, transparent 100%);
}

.site-footer__inner {
  padding-block: 56px 0;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 48px;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer__heading {
  margin: 0 0 14px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.site-footer__links a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.site-footer__links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.site-footer__label {
  display: block;
  margin-bottom: 2px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__trust {
  max-width: 42ch;
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--line-accent);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.site-footer__copyright {
  color: var(--text-muted);
}

.site-footer__icp {
  margin-left: auto;
  letter-spacing: 0.04em;
}

.brand--footer .brand__name {
  font-size: 22px;
}

@media (max-width: 900px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
    padding-bottom: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__icp {
    margin-left: 0;
  }
}

/* ---------- Reveal on Scroll ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease) var(--reveal-delay, 0s),
    transform 0.55s var(--ease) var(--reveal-delay, 0s);
}

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

/* ---------- Reduced Motion ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .skip-link {
    transition: none;
  }
}
