/* ============================================================
   完美体育连接 · 共享样式表 /assets/site.css
   骨架：深墨记分条 + 冰雪灰蓝台面 + 电光橙/荧光青状态色
   ============================================================ */

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

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

body { margin: 0; }

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

ul, ol { margin: 0; padding: 0; 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; }

table { border-collapse: collapse; }

[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --ink: #0B1622;
  --ice: #E7EEF4;
  --paper: #F8FAFC;
  --steel: #3A5673;
  --orange: #FF5A1F;
  --cyan: #19E3C2;
  --magenta: #E23D6D;
  --win: #0A7F72;
  --peach: #FFE3D6;
  --grid: #C3D0DB;
  --focus: #FFD166;

  --font-display: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --step-12: 12px;
  --step-14: 14px;
  --step-16: 16px;
  --step-20: 20px;
  --step-28: 28px;
  --step-40: 40px;
  --step-64: 64px;

  --gutter: 24px;
  --maxw: 1280px;
  --header-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 180ms;
  --scroll-progress: 0;
}

/* ---------- base ---------- */
body {
  background-color: var(--ice);
  background-image:
    linear-gradient(to right, rgba(195, 208, 219, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(195, 208, 219, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-16);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transform: scaleX(1.02);
  transform-origin: left center;
}

h1 { font-size: var(--step-40); }
h2 { font-size: var(--step-28); }
h3 { font-size: var(--step-20); }

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

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

/* ---------- focus ---------- */
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.site-header :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline-color: var(--cyan);
  outline-offset: 3px;
}

/* ---------- utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

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

.prose {
  max-width: 70ch;
  font-size: var(--step-16);
  line-height: 1.8;
}

.prose > * + * { margin-top: 1em; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--focus);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--step-14);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top var(--dur) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--steel);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: var(--cyan);
  pointer-events: none;
  transition: width 90ms linear;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  flex: 0 0 auto;
  padding: 4px 0;
}

.brand__mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--ink);
  border: 1px solid rgba(248, 250, 252, 0.4);
  border-radius: var(--radius);
  transform: skewX(-4deg);
  overflow: hidden;
}

.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
}

.brand__mark::before { top: 0; background: var(--orange); }
.brand__mark::after { bottom: 0; background: var(--cyan); }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: var(--step-16);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transform: scaleX(1.02);
  transform-origin: left center;
  white-space: nowrap;
}

.brand__domain {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.6);
  white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}

/* header right cluster */
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

/* nav */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.site-nav__item { display: block; }

.site-nav__link {
  display: block;
  padding: 8px 12px;
  color: var(--paper);
  font-size: var(--step-14);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.site-nav__link:hover {
  background: rgba(25, 227, 194, 0.14);
  border-color: rgba(25, 227, 194, 0.55);
  color: #FFFFFF;
}

.site-nav__link[aria-current="page"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 700;
}

.site-nav__link[aria-current="page"]:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

/* season pill */
.season-pill {
  display: inline-block;
  flex: 0 0 auto;
  background: var(--cyan);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transform: skewX(-4deg);
}

.season-pill__inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  transform: skewX(4deg);
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.season-pill__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--win);
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(195, 208, 219, 0.45);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: top var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

/* condensed header */
@media (min-width: 981px) {
  .site-header.is-condensed .site-header__inner { min-height: 56px; }
  .site-header.is-condensed .brand__domain { opacity: 0; }
  .site-header.is-condensed .site-nav__link {
    padding: 6px 10px;
    font-size: 13px;
  }
  .site-header.is-condensed .season-pill { display: none; }
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--ice);
  border-top: 3px solid var(--orange);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(195, 208, 219, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(195, 208, 219, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 56px var(--gutter) 28px;
  display: grid;
  gap: 36px;
}

.brand--footer { color: var(--paper); }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(195, 208, 219, 0.25);
}

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

.footer-tagline {
  margin-top: 14px;
  max-width: 38ch;
  font-size: var(--step-14);
  line-height: 1.7;
  color: rgba(231, 238, 244, 0.74);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-meta__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 118px;
  padding: 8px 12px;
  border: 1px solid rgba(195, 208, 219, 0.3);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.03);
}

.footer-meta__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.footer-meta__v {
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.footer-mid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.footer-col__title,
.footer-contact__title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(195, 208, 219, 0.28);
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--paper);
  transform: none;
}

.footer-col__list {
  display: grid;
  gap: 8px;
}

.footer-link {
  display: inline-block;
  padding: 2px 0;
  font-size: var(--step-14);
  color: rgba(231, 238, 244, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-contact {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(195, 208, 219, 0.28);
}

.footer-contact__text {
  font-family: var(--font-mono);
  font-size: var(--step-14);
  color: var(--paper);
  word-break: break-all;
  line-height: 1.6;
}

.footer-contact__note {
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(231, 238, 244, 0.7);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(195, 208, 219, 0.25);
  font-family: var(--font-mono);
  font-size: var(--step-12);
  line-height: 1.7;
  color: rgba(231, 238, 244, 0.62);
}

.footer-legal { margin: 0; }
.footer-note { margin: 0; }

/* ---------- feedback dock ---------- */
.feedback-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 40px);
  padding: 11px 18px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.feedback-dock:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.feedback-dock__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
  flex: 0 0 auto;
}

.feedback-dock__text {
  white-space: nowrap;
}

.feedback-dock[data-collapsed] {
  padding: 12px;
}

.feedback-dock[data-collapsed] .feedback-dock__text {
  display: none;
}

.feedback-dock[data-collapsed]:hover .feedback-dock__text,
.feedback-dock[data-collapsed]:focus-visible .feedback-dock__text {
  display: inline;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(11, 22, 34, 0.9);
}

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

.btn--primary:hover {
  background: var(--cyan);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

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

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--grid);
}

.section-head__title {
  font-family: var(--font-display);
  font-size: var(--step-20);
  font-weight: 800;
  letter-spacing: -0.02em;
  transform: scaleX(1.02);
  transform-origin: left center;
}

.section-head__meta {
  font-family: var(--font-mono);
  font-size: var(--step-12);
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 16px 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--step-12);
  color: var(--steel);
}

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

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

.breadcrumb__link {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.breadcrumb__link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.breadcrumb__current {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- cards & bento ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.bento__cell {
  grid-column: span 4;
  min-width: 0;
}

.bento__cell--third { grid-column: span 4; }
.bento__cell--half { grid-column: span 6; }
.bento__cell--two-thirds { grid-column: span 8; }
.bento__cell--full { grid-column: span 12; }

/* ---------- chips ---------- */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.chip:hover {
  background: var(--peach);
  border-color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.chip[aria-pressed="true"]::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex: 0 0 auto;
}

/* ---------- status tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 700;
  line-height: 1.6;
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag--win { background: var(--win); color: #FFFFFF; }
.tag--loss { background: var(--magenta); color: #FFFFFF; }
.tag--draw { background: var(--grid); color: var(--ink); }
.tag--live { background: var(--orange); color: var(--ink); }

/* ---------- score strip ---------- */
.score-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  min-width: 0;
}

.score-strip__tag {
  flex: 0 0 auto;
  padding: 2px 12px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.score-strip__team {
  font-size: var(--step-14);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-strip__score {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--step-20);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--cyan);
  white-space: nowrap;
}

/* ---------- media frame ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg,
      rgba(25, 227, 194, 0) 38%,
      rgba(25, 227, 194, 0.22) 52%,
      rgba(255, 90, 31, 0.18) 64%,
      rgba(255, 90, 31, 0) 74%);
  pointer-events: none;
  mix-blend-mode: screen;
}

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

/* ---------- data table ---------- */
.data-table {
  width: 100%;
  font-size: var(--step-14);
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--grid);
  text-align: left;
  vertical-align: middle;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: var(--step-12);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel);
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}

.data-table th.num,
.data-table td.num { text-align: right; }

.data-table tbody tr:hover { background: var(--paper); }

/* ---------- to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: var(--cyan); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav__link { padding: 8px 9px; font-size: 13px; }
  .brand__domain { display: none; }
}

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

  .header__right { gap: 8px; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 59;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 2px solid var(--cyan);
  }

  .site-nav[data-open] { display: block; }

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

  .site-nav__item { width: 100%; }

  .site-nav__link {
    padding: 14px 8px;
    font-size: var(--step-16);
    border-radius: 0;
    border-bottom: 1px solid rgba(195, 208, 219, 0.16);
  }

  .site-nav__link[aria-current="page"] {
    padding-left: 8px;
    border-bottom-color: var(--orange);
  }

  .season-pill { display: none; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-mid { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(195, 208, 219, 0.25);
  }
}

@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento__cell,
  .bento__cell--third,
  .bento__cell--half,
  .bento__cell--two-thirds,
  .bento__cell--full { grid-column: span 6; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 64px;
  }

  h1 { font-size: var(--step-28); }
  h2 { font-size: var(--step-20); }
  h3 { font-size: var(--step-16); }

  .site-header__inner { padding-inline: var(--gutter); }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 15px; }

  .site-footer__inner { padding: 40px var(--gutter) 24px; gap: 28px; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .footer-meta__item { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-note { word-break: break-word; }

  .feedback-dock { right: 12px; bottom: 12px; padding: 10px 14px; }
  .to-top { right: 12px; bottom: 76px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .card:hover,
  .feedback-dock:hover,
  .to-top { transform: none; }
}
