/* ==========================================================================
   疯狂体育CN — /assets/site.css
   共享外壳：reset → 变量 → 排版 → 可访问性 → 容器网格 → 展示组件 → 头部 → 页脚 → 动效
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  background-color: var(--pitch-950);
  background-image:
    repeating-linear-gradient(0deg, rgba(30, 87, 56, 0.16) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(90deg, rgba(30, 87, 56, 0.16) 0 1px, transparent 1px 96px);
}

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

ul, ol { 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; text-decoration: none; }

/* ---------- 变量 ---------- */
:root {
  --pitch-950: #04150E;
  --pitch-900: #0A2318;
  --pitch-800: #10331F;
  --line-600: #1E5738;
  --lime-400: #C8FF3D;
  --lime-200: #E6FFA6;
  --orange-500: #FF6A1F;
  --violet-500: #8B5CF6;
  --violet-tint: #D9CEFF;
  --cyan-400: #3BE0C8;
  --ink-50: #F1FFF8;
  --ink-400: #9FBFAD;

  --shell: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --radius-pill: 999px;

  --shadow-hard: 6px 6px 0 rgba(200, 255, 61, 0.16);
  --shadow-lift: 8px 10px 0 rgba(200, 255, 61, 0.24);

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  background: var(--pitch-950);
  color: var(--ink-50);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  font-stretch: 92%;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-50);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); transform: scaleX(1.02); transform-origin: left center; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { color: var(--ink-400); }

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

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-400);
  max-width: 56ch;
}

::selection { background: var(--lime-400); color: var(--pitch-950); }

/* ---------- 可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 999;
  transform: translate(-50%, -180%);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime-400);
  color: var(--pitch-950);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.16s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- 容器与章节 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 96px); position: relative; }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: clamp(22px, 3.6vw, 44px);
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.chapter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.chapter__num {
  display: inline-block;
  padding: 2px 8px;
  border: 2px solid var(--line-600);
  border-radius: 4px;
  background: rgba(200, 255, 61, 0.07);
  color: var(--lime-400);
  font-weight: 600;
}

.chapter__rule {
  flex: 1 1 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--line-600), transparent);
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--7-5 { grid-template-columns: 1.4fr 1fr; }
.grid--8-4 { grid-template-columns: 2fr 1fr; }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 装饰：色带、说明牌、标签 ---------- */
.band {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(115deg, var(--orange-500) 0 40px, var(--violet-500) 40px 80px);
}

.band--lime {
  background: repeating-linear-gradient(115deg, var(--lime-400) 0 26px, var(--pitch-800) 26px 62px);
}

.band--slanted {
  height: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 0 100%);
}

.plate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 2px solid var(--line-600);
  border-radius: 4px;
  background: rgba(4, 21, 14, 0.72);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.plate--lime { border-color: var(--lime-400); color: var(--lime-400); }
.plate--orange { border-color: var(--orange-500); color: var(--orange-500); }
.plate--violet { border-color: var(--violet-500); color: var(--violet-tint); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  padding: 5px 10px;
  border: 2px solid var(--line-600);
  border-radius: 4px;
  background: rgba(16, 51, 31, 0.6);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-400);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--line-600);
  border-radius: var(--radius-pill);
  background: rgba(16, 51, 31, 0.82);
  color: var(--ink-50);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.btn:hover { transform: translateY(-4px); border-color: var(--lime-400); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--lime-400);
  border-color: var(--lime-400);
  color: var(--pitch-950);
  box-shadow: 6px 6px 0 rgba(255, 106, 31, 0.35);
}

.btn--primary:hover { background: var(--lime-200); border-color: var(--lime-200); }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: rgba(200, 255, 61, 0.1); color: var(--lime-400); }

.btn__arrow { font-family: var(--font-mono); font-weight: 600; }

/* ---------- 卡片 / 说明牌组件 ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  border: 2px solid var(--line-600);
  border-radius: var(--radius);
  background: rgba(16, 51, 31, 0.72);
  box-shadow: var(--shadow-hard);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: var(--lime-400);
  box-shadow: var(--shadow-lift);
}

.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow-hard); }

.card__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-50);
}

.card__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-400);
}

/* ---------- 筛选标签 ---------- */
.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 8px 16px;
  border: 2px solid var(--line-600);
  border-radius: var(--radius-pill);
  background: rgba(16, 51, 31, 0.7);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-400);
  white-space: nowrap;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease),
    background-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.chip:hover { color: var(--ink-50); border-color: var(--lime-400); transform: translateY(-2px); }

.chip[aria-pressed="true"] {
  background: var(--lime-400);
  border-color: var(--lime-400);
  color: var(--pitch-950);
}

/* ---------- 数据指标 ---------- */
.stat { display: block; }

.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--lime-400);
}

.stat--orange .stat__value { color: var(--orange-500); }

.stat__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* ---------- 图片容器（共享基础规则，页面阶段放 <img>） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line-600);
  border-radius: var(--radius);
  background: var(--pitch-800);
  box-shadow: var(--shadow-hard);
}

.media-frame > img,
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.media-frame--wide .media-frame__img,
.media-frame--wide > img { aspect-ratio: 21 / 9; }

.media-frame--tall .media-frame__img,
.media-frame--tall > img { aspect-ratio: 4 / 5; }

.media-frame__caption {
  padding: 10px 14px;
  border-top: 2px solid var(--line-600);
  background: rgba(4, 21, 14, 0.66);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-400);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding-block: 18px 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-400);
}

.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; }

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

.breadcrumb__list li + li::before {
  content: "›";
  margin: 0 9px;
  color: var(--line-600);
}

.breadcrumb a:hover { color: var(--lime-400); }
.breadcrumb [aria-current="page"] { color: var(--ink-50); }

/* ---------- 正文容器 ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; margin-bottom: 0.5em; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.4em; }
.prose strong { color: var(--ink-50); font-weight: 700; }
.prose a { color: var(--lime-400); border-bottom: 2px solid rgba(200, 255, 61, 0.35); }
.prose a:hover { border-bottom-color: var(--lime-400); }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 0.4em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--lime-400);
}

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(4, 21, 14, 0.94);
  border-bottom: 2px solid var(--line-600);
  backdrop-filter: blur(10px);
}

.header-utility {
  background: var(--pitch-950);
  border-bottom: 1px solid rgba(30, 87, 56, 0.8);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}

.header-utility__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.18);
}

.header-utility__links {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-utility__links a {
  padding: 7px 14px;
  color: var(--ink-400);
  border-left: 1px solid var(--line-600);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.header-utility__links a:hover,
.header-utility__links a:focus-visible {
  background: var(--lime-400);
  color: var(--pitch-950);
}

.header-deck { padding-block: 12px 14px; }

.header-deck__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.brand-island {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border: 2px solid var(--line-600);
  border-radius: var(--radius-pill);
  background: rgba(16, 51, 31, 0.9);
  box-shadow: var(--shadow-hard);
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.brand-island:hover { border-color: var(--lime-400); transform: translateY(-2px); }

.brand-island__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--pitch-950);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

.brand-island__text { display: flex; flex-direction: column; gap: 2px; }

.brand-island__tag {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  white-space: nowrap;
}

.brand-island__cn {
  margin-left: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime-400);
}

.brand-island__line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  white-space: nowrap;
}

.brand-island__badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 2px solid var(--violet-500);
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, 0.16);
  color: var(--violet-tint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid var(--lime-400);
  border-radius: var(--radius-pill);
  background: rgba(200, 255, 61, 0.08);
  color: var(--lime-400);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}

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

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.16s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav-island {
  margin-left: auto;
  padding: 6px;
  border: 2px solid var(--line-600);
  border-radius: var(--radius-pill);
  background: rgba(16, 51, 31, 0.92);
  box-shadow: var(--shadow-hard);
  transition: border-color 0.16s var(--ease);
}

.nav-island:hover { border-color: var(--line-600); }

.nav-island__list { display: flex; align-items: center; gap: 4px; }
.nav-island__item { flex: 0 0 auto; }

.nav-island__list a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-400);
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.nav-island__list a:hover { background: rgba(200, 255, 61, 0.12); color: var(--ink-50); }

.nav-island__list a[aria-current="page"] {
  background: var(--lime-400);
  color: var(--pitch-950);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--lime-400), var(--orange-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  z-index: 90;
  transition: opacity 0.2s linear;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--pitch-900);
  border-top: 2px solid var(--line-600);
}

.site-footer > .band { margin-top: -2px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr;
  gap: clamp(24px, 3vw, 44px);
  padding-block: clamp(36px, 5vw, 64px);
}

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

.footer-brand__mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-50);
}

.footer-brand__cn {
  margin-left: 5px;
  font-family: var(--font-mono);
  font-size: 0.7em;
  font-weight: 600;
  color: var(--lime-400);
}

.footer-brand__tag {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.footer-brand__note {
  margin-top: 14px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-400);
}

.footer-brand .tag-row { margin-top: 18px; }

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

.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line-600);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.footer-col__num { color: var(--lime-400); }

.footer-links { margin-top: 14px; }
.footer-links li + li { margin-top: 2px; }

.footer-links a {
  display: inline-flex;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-50);
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}

.footer-links a:hover { color: var(--lime-400); transform: translateX(3px); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: clamp(28px, 4vw, 46px);
}

.contact-card {
  padding: 14px 16px;
  border: 2px solid var(--line-600);
  border-radius: 10px;
  background: rgba(16, 51, 31, 0.62);
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.contact-card:hover { border-color: var(--lime-400); transform: translateY(-4px); }

.contact-card__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.contact-card__v {
  display: block;
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-50);
  overflow-wrap: anywhere;
}

.contact-card__v--mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.footer-legal {
  border-top: 2px solid var(--line-600);
  background: var(--pitch-950);
}

.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-400);
}

.footer-legal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }

.footer-legal a { color: var(--ink-400); transition: color 0.16s var(--ease); }
.footer-legal a:hover { color: var(--lime-400); }

/* ==========================================================================
   渐显与动效
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-island__list a { padding: 8px 11px; font-size: 13px; }
  .brand-island__line { display: none; }
}

@media (max-width: 1100px) {
  .grid--thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .brand-island__badge { display: none; }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid--7-5,
  .grid--8-4,
  .grid--halves,
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }

  .js .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav-island {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    border-radius: 16px;
  }

  .js .nav-island {
    max-height: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.16s var(--ease), opacity 0.16s var(--ease),
      padding 0.16s var(--ease);
  }

  .js .nav-island[data-open] {
    max-height: 150px;
    padding: 8px;
    border-width: 2px;
    opacity: 1;
  }

  .nav-island__list {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .nav-island__list a { padding: 9px 15px; font-size: 14px; }
}

@media (max-width: 720px) {
  .header-utility__meta { font-size: 11px; letter-spacing: 0.04em; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand__note { max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-deck { padding-block: 10px 12px; }
  .brand-island { padding: 6px 14px 6px 6px; gap: 10px; }
  .brand-island__mark { width: 34px; height: 34px; font-size: 17px; }
  .nav-toggle__text { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
  .header-utility__links a { padding: 7px 10px; }
}

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

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