/* =====================================================
   完美体育 | Perfect Sports Broadcast Data Center
   /assets/site.css — 全站共享样式
   ===================================================== */

:root {
  --color-deep: #050D1F;
  --color-ink: #081428;
  --color-card: #0F1F3D;
  --color-card-soft: #132648;
  --color-orange: #FF5C00;
  --color-neon: #00FFA3;
  --color-white: #FFFFFF;
  --color-muted: #B8C4D6;
  --color-line: #2E3A59;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-heading: "Impact", "Arial Narrow", "Arial Black", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-data: "SF Mono", ui-monospace, "Cascadia Mono", "Menlo", "Consolas", monospace;
  --container-max: 1200px;
  --container-wide: 1440px;
  --spacing-section: clamp(3.2rem, 8vw, 6.5rem);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-white);
  background-color: var(--color-deep);
  background-image:
    linear-gradient(rgba(46, 58, 89, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 58, 89, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
}

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

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

ul, ol {
  padding-left: 1.3rem;
}

address {
  font-style: normal;
}

a {
  color: var(--color-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--color-orange);
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--color-orange);
  color: var(--color-ink);
}

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

:target {
  scroll-margin-top: 2rem;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-white);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
}

h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}

.lead {
  font-size: 1.08rem;
  color: var(--color-muted);
}

/* ---------- Layout Containers ---------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.container--wide {
  max-width: var(--container-wide);
}

.site-section {
  padding-block: var(--spacing-section);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ---------- Panels ---------- */

.panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--color-card) 0%, rgba(15, 31, 61, 0.45) 100%);
  border: 1px solid var(--color-line);
}

.panel--accent {
  border-left: 3px solid var(--color-neon);
}

.panel--grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
}

.panel--bracket::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--color-orange);
  border-right: 2px solid var(--color-orange);
  pointer-events: none;
}

/* ---------- Section Head ---------- */

.section-head {
  position: relative;
  margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-neon);
  margin-bottom: 0.6rem;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--color-orange);
}

.section-title {
  margin: 0;
}

.section-lead {
  max-width: 62ch;
  margin-top: 0.7rem;
  color: var(--color-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  text-decoration: none;
}

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

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

.btn--ghost {
  border-color: rgba(0, 255, 163, 0.45);
  color: var(--color-neon);
}

.btn--ghost:hover {
  background: rgba(0, 255, 163, 0.08);
  color: var(--color-neon);
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  padding: 0.9rem 0;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--color-line);
}

.breadcrumbs a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-orange);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-white);
}

/* ---------- Cards & Data ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.info-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 92, 0, 0.55);
  background: var(--color-card-soft);
}

.info-card h3 {
  margin-bottom: 0.6rem;
}

.info-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.data-card {
  position: relative;
  background: rgba(15, 31, 61, 0.5);
  border: 1px solid var(--color-line);
  padding: 1.25rem;
}

.data-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon), transparent 60%);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-value {
  font-family: var(--font-data);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
}

.stat-value--neon {
  color: var(--color-neon);
}

.stat-label {
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.72rem;
  background: rgba(15, 31, 61, 0.55);
  border: 1px solid var(--color-line);
  font-family: var(--font-data);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.chip--live {
  color: var(--color-neon);
  border-color: rgba(0, 255, 163, 0.45);
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-orange);
  animation: live-pulse 1.8s ease-out infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 92, 0, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 92, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 0, 0);
  }
}

/* ---------- Media Frames ---------- */

.media-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background-color: var(--color-card);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid var(--color-line);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 16 / 9;
}

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

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

.media-placeholder {
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.media-caption {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.media-caption::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--color-orange);
  align-self: center;
}

/* ---------- Tags ---------- */

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.72rem;
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.76rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tag:hover {
  color: var(--color-neon);
  border-color: rgba(0, 255, 163, 0.55);
  background: rgba(0, 255, 163, 0.06);
}

/* ---------- Page Head & Body ---------- */

.page-head {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}

.page-heading {
  margin-top: 0.5rem;
}

.page-heading-sub {
  max-width: 64ch;
  color: var(--color-muted);
  margin-top: 0.9rem;
}

.content-body {
  color: var(--color-muted);
}

.content-body h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.content-body h3 {
  color: var(--color-white);
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.content-body p {
  margin-bottom: 1rem;
}

.content-body ul,
.content-body ol {
  margin-bottom: 1rem;
}

.content-body li + li {
  margin-top: 0.35rem;
}

.content-body blockquote {
  border-left: 3px solid var(--color-orange);
  padding-left: 1rem;
  color: var(--color-white);
  font-weight: 700;
  margin: 1.5rem 0;
}

/* ---------- Speed Divider ---------- */

.zone-divider {
  height: 6px;
  border: 0;
  margin: 0;
  background: repeating-linear-gradient(115deg, var(--color-orange) 0 12px, var(--color-neon) 12px 24px, transparent 24px 36px);
  opacity: 0.85;
}

/* =====================================================
   Header
   ===================================================== */

.site-header {
  position: relative;
  z-index: 40;
  background:
    radial-gradient(120% 90% at 80% -20%, rgba(0, 255, 163, 0.08), transparent 50%),
    linear-gradient(180deg, #050D1F 0%, var(--color-ink) 70%, #081831 100%);
  border-bottom: 1px solid var(--color-line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--color-orange) 45%, var(--color-neon) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-neon) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  opacity: 0.9;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  background: var(--color-orange);
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(-300%);
  transition: transform 0.2s ease;
}

.skip-link:hover {
  color: var(--color-ink);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--color-ink);
}

.header-top-bar {
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(90deg, rgba(255, 92, 0, 0.14) 0%, rgba(0, 255, 163, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
}

.header-top-copy {
  margin: 0;
  padding: 0.42rem clamp(1rem, 2vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.6rem;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-neon);
  font-weight: 700;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-orange);
  animation: live-pulse 1.8s ease-out infinite;
}

.header-tagline {
  color: var(--color-muted);
  letter-spacing: 0.16em;
}

.header-year {
  color: var(--color-white);
}

.header-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(1.5rem, 4vw, 2.4rem);
  padding-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-white);
  text-decoration: none;
}

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

.brand-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0.55rem 0.5rem 0.4rem;
  background: rgba(15, 31, 61, 0.65);
  border: 1px solid var(--color-line);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
}

.brand-logo-bar {
  display: block;
  width: 4px;
  transform: skewX(-16deg);
}

.brand-logo-bar--1 {
  height: 14px;
  background: var(--color-neon);
}

.brand-logo-bar--2 {
  height: 22px;
  background: var(--color-orange);
}

.brand-logo-bar--3 {
  height: 30px;
  background: var(--color-white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.brand-en {
  font-family: var(--font-data);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--color-orange);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.6rem 1.1rem;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 15px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

.site-nav {
  width: 100%;
  border-top: 1px solid var(--color-line);
  margin-top: clamp(1.2rem, 3.5vw, 2rem);
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-item + .nav-item {
  border-left: 1px solid var(--color-line);
}

.nav-link {
  display: block;
  position: relative;
  padding: 0.95rem 1.45rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 3px;
  background: transparent;
}

.nav-link:hover {
  color: var(--color-orange);
  background: rgba(255, 92, 0, 0.06);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--color-neon);
}

.nav-link[aria-current="page"]::after {
  background: var(--color-neon);
  box-shadow: 0 0 10px rgba(0, 255, 163, 0.65);
}

/* =====================================================
   Footer
   ===================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 10% 110%, rgba(0, 255, 163, 0.06), transparent 50%),
    linear-gradient(180deg, var(--color-ink) 0%, #050D1F 100%);
  border-top: 2px solid var(--color-card-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-neon) 0%, var(--color-orange) 38%, transparent 75%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: clamp(2.2rem, 4vw, 3rem);
}

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

.footer-brand-link {
  display: inline-block;
  color: var(--color-white);
  text-decoration: none;
}

.footer-brand-link:hover {
  color: var(--color-white);
}

.footer-brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.footer-brand-en {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-data);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-neon);
}

.footer-tagline {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.footer-trust {
  margin-top: 1rem;
  max-width: 42ch;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-heading {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--color-neon);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li + li {
  margin-top: 0.55rem;
}

.footer-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-orange);
  padding-left: 0.25rem;
}

.footer-address {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-contact-line {
  margin-top: 0.45rem;
  color: var(--color-white);
  font-family: var(--font-data);
  font-size: 0.84rem;
  word-break: break-all;
}

.footer-note {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2rem);
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.footer-copyright {
  margin: 0;
}

.footer-icp {
  margin: 0;
  font-family: var(--font-data);
  letter-spacing: 0.06em;
}

/* ---------- Back to Top ---------- */

.back-to-top {
  position: fixed;
  right: clamp(1rem, 2.4vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 0.9rem;
  background: rgba(15, 31, 61, 0.92);
  border: 1px solid var(--color-line);
  color: var(--color-white);
  font-family: var(--font-data);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease, visibility 0s linear 0.25s;
}

.back-to-top:hover {
  border-color: var(--color-orange);
  background: rgba(255, 92, 0, 0.12);
  color: var(--color-white);
}

.back-to-top-icon {
  color: var(--color-orange);
  font-size: 1.15rem;
  line-height: 1;
}

body.is-scrolled .back-to-top {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease, visibility 0s;
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    border-top: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav[data-open] {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    border-top: 1px solid var(--color-line);
    margin-top: 1.25rem;
  }

  .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .nav-item + .nav-item {
    border-left: 0;
    border-top: 1px solid var(--color-line);
  }

  .nav-link {
    padding: 0.95rem 1.1rem;
    white-space: normal;
    text-align: center;
  }

  .nav-link::after {
    left: 35%;
    right: 35%;
    bottom: 0;
  }

  .header-top-copy {
    flex-wrap: wrap;
    gap: 0.35rem 1.2rem;
  }

  .header-year {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-top-copy {
    justify-content: flex-start;
    overflow: hidden;
  }

  .header-tagline {
    width: 100%;
    text-align: center;
    order: 3;
    letter-spacing: 0.1em;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .media-frame--hero {
    aspect-ratio: 4 / 3;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }

  .status-dot,
  .live-dot {
    animation: none;
  }

  .info-card:hover {
    transform: none;
  }

  .nav-link[aria-current="page"]::after {
    box-shadow: none;
  }
}
