/* ==========================================================================
   龙珠体育中文站 — 共享样式 /assets/site.css
   设计基调：近单色体系 + 武道橙能量 + 粗野主义硬边 + 纵向叙事长卷
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, details, summary {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- tokens ---------- */
:root {
  /* 品牌色 */
  --orange: #FF6B00;
  --orange-lift: #FF8A2B;
  --orange-deep: #C24E00;
  --blue: #1E3A8A;
  --blue-deep: #14265C;
  --navy: #070B18;
  --gold: #FFD700;
  --ink: #0A0A0A;
  --cloud: #F5F5F5;
  --steel: #D9DDE6;
  --cyan: #2FD3C8;

  /* 语义 */
  --bg: var(--cloud);
  --bg-alt: var(--steel);
  --bg-dark: var(--blue-deep);
  --bg-deepest: var(--navy);
  --fg: var(--ink);
  --fg-soft: rgba(10, 10, 10, 0.66);
  --fg-invert: var(--cloud);
  --line: rgba(10, 10, 10, 0.14);
  --eyebrow: var(--orange-deep);
  --accent: var(--gold);

  /* 形状 */
  --border: 3px;
  --shadow-hard: 8px 8px 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 var(--ink);
  --shadow-invert: 8px 8px 0 rgba(0, 0, 0, 0.55);
  --radius-cut: 2px;

  /* 节奏 */
  --shell: min(1440px, 92vw);
  --gap: clamp(1.25rem, 2.4vw, 2.5rem);
  --section-gap: clamp(3.5rem, 8vw, 8rem);

  /* 字号 */
  --fs-display: clamp(2.6rem, 6.5vw, 5.6rem);
  --fs-section: clamp(1.25rem, 2vw, 1.75rem);
  --fs-body: clamp(16px, 1.05vw, 17px);
  --fs-mono: 15px;
  --fs-eyebrow: 12px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Noto Sans Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* 大屏字号档位（由 JS 切换） */
  --font-dial: 1;
}

[data-dial="112"] { --font-dial: 1.125; }
[data-dial="125"] { --font-dial: 1.25; }

/* ---------- 中文排版 ---------- */
html { font-size: calc(100% * var(--font-dial)); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }
.display {
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.section-title {
  font-size: var(--fs-section);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  margin-bottom: 0.9em;
}
.section-title__num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.78em;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.eyebrow--invert { color: var(--gold); }

.data-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-mono);
  letter-spacing: -0.01em;
}
.data-num--xl {
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 0.98;
  font-weight: 700;
}

/* ---------- 容器与栅格 ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.grid--split > .grid__main { grid-column: 1 / span 7; }
.grid--split > .grid__side { grid-column: 9 / span 4; }
.grid--cards > .grid__cell { grid-column: span 4; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--gold);
  border: var(--border) solid var(--gold);
  padding: 0.7rem 1.1rem;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; outline: none; }

/* ---------- 焦点环 ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: clamp(0.6rem, 1.4vw, 1.1rem) 0;
  background: transparent;
  transition: padding 240ms var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  background: var(--cloud);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 0.55rem 0.7rem 0.55rem 0.9rem;
  transition: padding 240ms var(--ease), box-shadow 240ms var(--ease), background 240ms var(--ease);
}
.site-header.is-condensed { padding-top: 0.35rem; padding-bottom: 0.35rem; }
.site-header.is-condensed .site-header__inner {
  box-shadow: var(--shadow-hard-sm);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  background: rgba(245, 245, 245, 0.94);
  backdrop-filter: blur(6px);
}
.site-header__ribbon {
  display: block;
  width: var(--shell);
  margin: 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold) 55%, var(--blue) 100%);
}
.site-header.is-condensed .site-header__ribbon { opacity: 0.75; }

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.brand__mark { flex: 0 0 auto; line-height: 0; }
.brand__text {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__text em {
  font-style: normal;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--orange-deep);
  text-transform: uppercase;
}
.brand__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 0.22rem 0.5rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
  white-space: nowrap;
}

/* 导航胶囊 */
.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav__item { display: flex; }
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.78rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.site-nav__link:hover {
  background: var(--blue);
  color: var(--cloud);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.nav-icon {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--orange);
  border: 2px solid var(--ink);
  transform: skewX(-14deg);
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.site-nav__link:hover .nav-icon { background: var(--gold); transform: skewX(-14deg) rotate(45deg); }
.site-nav__link[aria-current="page"] {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
}
.site-nav__link[aria-current="page"] .nav-icon { background: var(--ink); }

/* CTA */
.btn {
  --btn-bg: var(--cloud);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--primary { --btn-bg: var(--orange); --btn-fg: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn--primary:hover { background: var(--orange-lift); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--cloud); border-color: var(--cloud); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5); }
.btn--ghost:hover { --btn-bg: var(--gold); --btn-fg: var(--ink); border-color: var(--ink); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.88rem; }
.site-header__cta { flex: 0 0 auto; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.5rem 0.85rem;
  border: var(--border) solid var(--ink);
  background: var(--orange);
  box-shadow: var(--shadow-hard-sm);
  font-weight: 800;
  font-size: 0.9rem;
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars i {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
  transition: transform 160ms var(--ease), opacity 160ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用组件 ---------- */
.ribbon {
  display: block;
  width: var(--shell);
  height: 6px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-lift) 40%, var(--blue) 100%);
}
.ribbon--gold { background: linear-gradient(90deg, var(--orange), var(--gold) 60%, var(--orange-lift)); height: 8px; }

.pattern-band {
  display: block;
  width: 100%;
  height: 22px;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 11px),
    repeating-linear-gradient(0deg, var(--orange) 0 3px, transparent 3px 11px);
}

.panel {
  background: var(--steel);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: clamp(1rem, 2vw, 1.6rem);
}
.panel--dark {
  background: linear-gradient(160deg, var(--blue-deep), var(--navy));
  color: var(--cloud);
  border-color: var(--ink);
  box-shadow: var(--shadow-invert);
}
.panel--dark .eyebrow { color: var(--gold); }
.stat-list { display: grid; gap: 0.9rem; }
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid rgba(10, 10, 10, 0.16);
}
.panel--dark .stat { border-bottom-color: rgba(245, 245, 245, 0.18); }
.stat__value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 700; color: var(--orange-deep); }
.panel--dark .stat__value { color: var(--gold); }
.stat__label { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--fg-soft); }
.panel--dark .stat__label { color: rgba(245, 245, 245, 0.72); }

.card {
  position: relative;
  background: var(--cloud);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: clamp(1rem, 2vw, 1.5rem);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.card:hover { transform: translate(4px, 4px); box-shadow: var(--shadow-hard-sm); }
.card--energy { border-color: transparent; background-clip: padding-box; }
.card--energy::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  background: conic-gradient(from 140deg, var(--orange), var(--gold), var(--cyan), var(--blue), var(--orange));
  border-radius: inherit;
}
.card--dark { background: linear-gradient(160deg, var(--blue-deep), var(--navy)); color: var(--cloud); }

.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: var(--border) solid var(--ink);
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 107, 0, 0.35), transparent 60%),
    linear-gradient(150deg, var(--blue-deep), var(--navy));
}
.card__media > img,
.card__media > svg,
.card__media > picture { width: 100%; height: 100%; object-fit: cover; }
.card__media--wide { aspect-ratio: 21 / 9; }
.card__media--tall { aspect-ratio: 3 / 4; }
.card__media--square { aspect-ratio: 1 / 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border: 2px solid var(--ink);
  background: var(--steel);
  color: var(--ink);
}
.badge--live { background: var(--gold); border-color: var(--ink); color: var(--ink); }
.badge--live::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  font-size: 0.8rem;
  padding: 0.28rem 0.6rem;
  border: 2px solid var(--ink);
  background: var(--steel);
  font-weight: 700;
}
.tag--active { background: var(--orange); }

.divider {
  height: 3px;
  background: var(--ink);
  transform: skewX(-18deg);
  margin: var(--gap) 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--fg-soft);
  padding: 1rem 0;
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--orange-deep); font-family: var(--font-mono); }
.breadcrumb__item a:hover { color: var(--orange-deep); }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose a { color: var(--orange-deep); border-bottom: 2px solid var(--orange); }
.prose a:hover { color: var(--ink); background: var(--gold); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose blockquote {
  border-left: 6px solid var(--orange);
  padding-left: 1rem;
  font-weight: 300;
  font-size: 1.05rem;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--steel);
  padding: 0.1em 0.35em;
  border: 2px solid var(--ink);
}

/* 显现 */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 240ms var(--ease), transform 240ms var(--ease); }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.8rem);
  bottom: clamp(0.8rem, 2vw, 1.8rem);
  z-index: 70;
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
  border: var(--border) solid var(--gold);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.to-top.is-visible { display: flex; }
.to-top:hover { background: var(--orange); color: var(--ink); border-color: var(--ink); }

/* 字号档位 */
.font-dial {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.8rem);
  bottom: calc(clamp(0.8rem, 2vw, 1.8rem) + 64px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  background: var(--blue);
  color: var(--cloud);
  border: var(--border) solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.font-dial:hover { background: var(--blue-deep); }
.font-dial__value { color: var(--gold); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--section-gap);
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--navy) 78%);
  color: var(--cloud);
  padding-top: 0;
}
.site-footer__ribbon { margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.site-footer__top {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  padding-bottom: clamp(1.6rem, 4vw, 3rem);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.site-footer__slogan { font-size: 0.86rem; color: rgba(245, 245, 245, 0.7); line-height: 1.7; }
.site-footer__grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-footer__head {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.site-footer__links { display: grid; gap: 0.5rem; font-size: 0.94rem; }
.site-footer__links a { border-bottom: 2px solid transparent; transition: border-color 160ms var(--ease), color 160ms var(--ease); }
.site-footer__links a:hover { color: var(--gold); border-bottom-color: var(--orange); }
.site-footer__contact { display: grid; gap: 0.65rem; font-size: 0.9rem; }
.site-footer__contact li { display: flex; gap: 0.55rem; align-items: flex-start; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange-lift);
  flex: 0 0 auto;
  padding-top: 0.15em;
}

.site-footer__index {
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-top: 2px solid rgba(245, 245, 245, 0.16);
}
.site-footer__head--index { margin-bottom: 1rem; }
.footer-index {
  border: 2px solid rgba(245, 245, 245, 0.22);
  background: rgba(245, 245, 245, 0.04);
  margin-bottom: 0.6rem;
}
.footer-index > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cloud);
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.footer-index > summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-index[open] > summary { background: var(--orange); color: var(--ink); }
.footer-index[open] > summary::after { content: "–"; color: var(--ink); }
.footer-index > summary:hover { background: var(--blue); }
.footer-index__list { display: grid; gap: 0.4rem; padding: 0.8rem 1rem 1rem; }
.footer-index__list a {
  font-size: 0.88rem;
  color: rgba(245, 245, 245, 0.82);
  border-bottom: 2px solid transparent;
}
.footer-index__list a:hover { color: var(--gold); border-bottom-color: var(--orange); }

.site-footer__legal {
  background: var(--navy);
  border-top: 2px solid rgba(245, 245, 245, 0.14);
}
.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.6rem;
  padding: 1.1rem 0 1.4rem;
}
.site-footer__legal-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; font-size: 0.88rem; }
.site-footer__legal-nav a { border-bottom: 2px solid transparent; }
.site-footer__legal-nav a:hover { color: var(--gold); border-bottom-color: var(--orange); }
.site-footer__meta { font-size: 0.82rem; color: rgba(245, 245, 245, 0.68); }
.site-footer__sep { padding: 0 0.4rem; color: var(--orange); }
.site-footer__pattern { opacity: 0.08; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .site-nav__link { padding: 0.45rem 0.55rem; font-size: 0.86rem; }
  .brand__badge { display: none; }
}

@media (max-width: 1024px) {
  .grid--split > .grid__main,
  .grid--split > .grid__side { grid-column: 1 / span 12; }
  .grid--cards > .grid__cell { grid-column: span 6; }
  .site-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 240ms var(--ease);
  }
  .site-nav[data-open="true"] { max-height: 32rem; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding-top: 0.6rem;
  }
  .site-nav__link {
    justify-content: flex-start;
    border-radius: 0;
    border-color: var(--ink);
    background: var(--cloud);
    padding: 0.7rem 0.9rem;
  }
  .site-nav__link[aria-current="page"] { box-shadow: none; }
  .site-header__cta { order: 2; margin-left: auto; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid { gap: 1.1rem; }
  .grid--cards > .grid__cell { grid-column: span 12; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .brand__text { font-size: 0.94rem; }
  .site-header__cta { padding: 0.45rem 0.7rem; font-size: 0.8rem; }
  .nav-toggle__label { display: none; }
  .to-top { width: 46px; height: 46px; }
  .font-dial { bottom: calc(clamp(0.8rem, 2vw, 1.8rem) + 56px); }
}

@media (min-width: 1600px) {
  .grid--cards > .grid__cell { grid-column: span 4; }
  .card__media { aspect-ratio: 21 / 9; }
}

@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;
  }
  .reveal { opacity: 0; transform: none; }
  .reveal.is-visible { opacity: 1; }
  .btn:hover, .card:hover, .site-nav__link:hover { transform: none; }
}
