/* ============================================================
   888电子投注站 · 共享站点样式 /assets/site.css
   母题：夜间海面下的数据通道
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; }

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 品牌色 */
  --abyss: #061A2B;
  --navy: #0B2A45;
  --teal: #19C6B5;
  --teal-soft: #8CF2E6;
  --coral: #FF6B4A;
  --gold: #F5B94C;
  --violet: #6C4DFF;
  --mist: #F4F7F9;
  --ink: #0A0C10;
  --slate: #6B7C8F;

  /* 线条与面 */
  --line: rgba(140, 242, 230, 0.22);
  --line-strong: rgba(140, 242, 230, 0.42);
  --line-faint: rgba(140, 242, 230, 0.10);
  --surface: rgba(11, 42, 69, 0.74);
  --surface-solid: #0B2A45;

  /* 阴影 */
  --hard-sm: 4px 4px 0 0 rgba(10, 12, 16, 0.85);
  --hard-md: 6px 6px 0 0 rgba(10, 12, 16, 0.72);
  --hard-lg: 8px 8px 0 0 rgba(10, 12, 16, 0.68);

  /* 圆角 */
  --r-pill: 999px;
  --r-lg: 22px;
  --r-md: 16px;

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

  /* 字号 */
  --fs-body: clamp(16px, 0.5vw + 14.6px, 18px);
  --fs-small: clamp(12px, 0.28vw + 11.4px, 14px);
  --fs-h1: clamp(48px, 8vw, 112px);
  --fs-h2: clamp(28px, 3.4vw, 40px);
  --fs-h3: clamp(20px, 1.9vw, 26px);

  /* 节奏 */
  --gutter: clamp(16px, 4vw, 40px);
  --step: clamp(48px, 8vw, 112px);
  --header-h: 84px;
}

/* ---------- 3. 中文排版与背景 ---------- */
html { background-color: var(--abyss); }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--mist);
  overflow-x: hidden;
  background-color: var(--abyss);
  background-image:
    radial-gradient(1100px 720px at 8% -12%, rgba(108, 77, 255, 0.26), transparent 62%),
    radial-gradient(900px 640px at 98% 2%, rgba(25, 198, 181, 0.18), transparent 64%),
    radial-gradient(700px 520px at 50% 118%, rgba(255, 107, 74, 0.10), transparent 66%),
    linear-gradient(rgba(140, 242, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 242, 230, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #061A2B 0%, #04101C 100%);
  background-size: auto, auto, auto, 72px 72px, 72px 72px, auto;
  background-attachment: fixed;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; }

p { max-width: 42em; }

strong { font-weight: 800; color: var(--teal-soft); }

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

:focus-visible {
  outline: 3px solid var(--teal-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: 10px;
  z-index: 999;
  transform: translate(-50%, -220%);
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--coral);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--hard-sm);
  transition: transform 0.2s ease;
}

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

/* ---------- 5. 头部：浮岛双舱 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px clamp(12px, 2.6vw, 28px) 14px;
  background: linear-gradient(
    180deg,
    rgba(4, 16, 28, 0.95) 0%,
    rgba(4, 16, 28, 0.72) 58%,
    rgba(4, 16, 28, 0) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

.header-shell {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 品牌浮岛 */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 58px;
  padding: 9px 22px 9px 16px;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #0B2A45 0%, #061A2B 100%);
  box-shadow: var(--hard-sm);
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brand-mark:hover {
  border-color: var(--teal);
  box-shadow: 5px 5px 0 0 var(--teal);
  transform: translateY(-1px);
}

.brand-pulse {
  position: relative;
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 198, 181, 0.16), 0 0 14px rgba(25, 198, 181, 0.7);
}

.brand-pulse::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(140, 242, 230, 0.5);
  border-radius: 50%;
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

/* 栏目胶囊 */
.pill-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(11, 42, 69, 0.8);
  box-shadow: 5px 5px 0 0 rgba(10, 12, 16, 0.8);
}

.pill-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pill-nav__link {
  display: block;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 247, 249, 0.76);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.pill-nav__link:hover {
  color: var(--teal-soft);
  background: rgba(25, 198, 181, 0.16);
}

.pill-nav__link:active {
  color: var(--ink);
  background: var(--teal-soft);
}

.pill-nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--teal);
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(6, 26, 43, 0.35);
}

.pill-nav__link[aria-current="page"]:hover {
  color: var(--ink);
  background: var(--teal-soft);
}

/* 桌面工具条 */
.header-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-faint);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 249, 0.66);
  white-space: nowrap;
}

.meta-chip::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.meta-chip--coral::before {
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-height: 54px;
  padding: 0 20px;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--mist);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--hard-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
  height: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle__text { letter-spacing: 0.06em; }

.site-header[data-open="true"] .nav-toggle {
  border-color: var(--coral);
  color: var(--coral);
  box-shadow: 5px 5px 0 0 var(--coral);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 6. 页脚：归档底座 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--step);
  border-top: 2px solid var(--line);
  background:
    radial-gradient(760px 420px at 12% 0%, rgba(108, 77, 255, 0.22), transparent 64%),
    linear-gradient(180deg, #0B2A45 0%, #05141F 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: clamp(90px, 18vw, 240px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet) 60%, transparent);
}

.footer-inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 40px) clamp(20px, 3vw, 32px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 2.1fr) minmax(240px, 1.15fr);
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-faint);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mist);
}

.footer-logo__dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 198, 181, 0.14);
}

.footer-logo__name {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-slogan {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--slate);
  max-width: 22em;
}

.footer-cta { margin-top: 4px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(244, 247, 249, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact__item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 249, 0.8);
  word-break: break-word;
}

.footer-contact__key {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 3px;
}

.footer-contact__note {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-faint);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-top: clamp(18px, 2.6vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.footer-copy { max-width: none; }

.footer-icp {
  max-width: none;
  color: rgba(140, 242, 230, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: none;
}

.footer-links .footer-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ---------- 7. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1360px; }

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.section-title {
  font-size: var(--fs-h2);
  max-width: 24em;
}

.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  text-shadow: 0 0 34px rgba(245, 185, 76, 0.22);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--rail { grid-template-columns: minmax(180px, 252px) minmax(0, 1fr); }

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- 8. 文本与标识 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.8;
  color: rgba(244, 247, 249, 0.82);
  max-width: 34em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.rule {
  height: 2px;
  border: 0;
  margin-block: clamp(24px, 4vw, 48px);
  background: linear-gradient(90deg, var(--teal), rgba(108, 77, 255, 0.6) 45%, transparent 92%);
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--coral);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 5px 5px 0 0 var(--ink);
}

.btn--primary:hover {
  background: var(--gold);
  box-shadow: 5px 5px 0 0 var(--teal);
}

.btn--ghost {
  background: rgba(11, 42, 69, 0.6);
  border-color: var(--line-strong);
  color: var(--mist);
  box-shadow: 5px 5px 0 0 rgba(10, 12, 16, 0.7);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-soft);
  box-shadow: 5px 5px 0 0 var(--teal);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 34px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: rgba(140, 242, 230, 0.4);
}

.breadcrumb a {
  color: var(--teal-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s ease;
}

.breadcrumb a:hover { border-bottom-color: currentColor; }

/* ---------- 11. 卡片与标签 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--teal);
  box-shadow: 6px 6px 0 0 rgba(25, 198, 181, 0.55);
  transform: translateY(-2px);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.card__title {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  color: var(--mist);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--teal { color: var(--teal); }
.tag--coral { color: var(--coral); }
.tag--gold { color: var(--gold); }

/* ---------- 12. 图片容器基础规则 ---------- */
.figure-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(108, 77, 255, 0.34), transparent 62%),
    radial-gradient(100% 80% at 96% 100%, rgba(25, 198, 181, 0.26), transparent 58%),
    linear-gradient(135deg, #0B2A45 0%, #061A2B 100%);
  box-shadow: var(--hard-lg);
}

.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 242, 230, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 242, 230, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mix-blend-mode: screen;
}

.figure-frame > img,
.figure-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.figure-frame--wide { aspect-ratio: 21 / 9; }
.figure-frame--tall { aspect-ratio: 4 / 5; }

/* ---------- 13. 滚动进度与显现 ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 3px;
  background: rgba(140, 242, 230, 0.08);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--violet) 52%, var(--coral) 100%);
  transition: width 0.12s linear;
}

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

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

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1280px) {
  .header-meta { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 78px; }

  .header-shell {
    flex-wrap: wrap;
    row-gap: 10px;
  }

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

  .pill-nav {
    order: 5;
    width: 100%;
    margin-left: 0;
    display: none;
    padding: 10px;
    border-radius: 26px;
    box-shadow: 5px 5px 0 0 rgba(10, 12, 16, 0.85);
  }

  .site-header[data-open="true"] .pill-nav { display: block; }

  .pill-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .pill-nav__link {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 15px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand { grid-column: 1 / -1; }
  .footer-cols { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }

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

@media (max-width: 900px) {
  body { background-attachment: scroll; }

  .grid--halves,
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }

  .section-head { align-items: flex-start; }
}

@media (max-width: 720px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .brand-mark { padding: 8px 16px 8px 13px; gap: 9px; }
  .brand-name { font-size: 15px; }
  .brand-tag { font-size: 9px; letter-spacing: 0.1em; }
  .nav-toggle { padding: 0 15px; min-height: 50px; }
  .nav-toggle__text { display: none; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .footer-cta { width: auto; }
}

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

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

  .scroll-meter__bar { transition: none; }
}
