/* ==========================================================================
   金博娱乐 · SEASON INDEX 共享样式 /assets/site.css
   暖纸 · 敦煌土红 · 沙金 · 祁连青灰 · 夜蓝 · 琥珀
   ========================================================================== */

:root {
  --paper: #F6EFE4;
  --sand: #EADCC6;
  --ink: #221A15;
  --red: #A63D2E;
  --red-deep: #7C2B20;
  --gold: #C79A45;
  --amber: #E8901C;
  --amber-hi: #F5A429;
  --slate: #6E8085;
  --night: #1B2A3B;
  --snow: #FDFBF7;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "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;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 22px;
  --hairline: rgba(34, 26, 21, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 中文排版 ---------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { line-height: 1.75; }
p + p { margin-top: 1.2em; }

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.main-content {
  padding-block: clamp(24px, 4vw, 48px) 0;
  scroll-margin-top: 96px;
}

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

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--night);
  color: var(--snow);
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: top 0.18s var(--ease);
}

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

/* ---------- 头部命令栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(246, 239, 228, 0.94);
  border-bottom: 1px solid rgba(199, 154, 69, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding-block: 14px;
  transition: padding 0.2s var(--ease);
}

.site-header[data-scrolled] .header-shell { padding-block: 8px; }

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.header-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold) 55%, var(--amber));
  transition: width 0.12s linear;
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  color: var(--snow);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
  border-radius: 50% 50% 46% 54% / 52% 46% 54% 48%;
  box-shadow: inset 0 0 0 1px rgba(253, 251, 247, 0.3);
  transition: background 0.2s var(--ease);
}

.brand:hover .brand-mark { background: var(--red-deep); }

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
  white-space: nowrap;
}

/* nav */
.nav { min-width: 0; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 22px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 4px;
  font-size: 15px;
  color: rgba(34, 26, 21, 0.78);
  transition: color 0.2s var(--ease);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: color 0.2s var(--ease);
}

.nav-label { position: relative; white-space: nowrap; }

.nav-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.nav-link:hover { color: var(--red); }
.nav-link:hover .nav-label::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--red); }
.nav-link[aria-current="page"] .nav-index { color: var(--red); }
.nav-link[aria-current="page"] .nav-label::after { transform: scaleX(1); }

/* header tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.version { position: relative; }

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(234, 220, 198, 0.72);
  border: 1px solid rgba(199, 154, 69, 0.7);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.version-badge:hover,
.version-badge[aria-expanded="true"] {
  background: var(--sand);
  border-color: var(--gold);
}

.version-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.version-key { color: var(--slate); }
.version-num { font-weight: 600; }

.version-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(292px, 82vw);
  padding: 16px 18px;
  background: var(--snow);
  border: 1px solid rgba(199, 154, 69, 0.62);
  border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -24px rgba(27, 42, 59, 0.55);
}

.version-panel[hidden] { display: none; }
.version-panel p + p { margin-top: 10px; }

.version-title {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.version-line {
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--ink);
}

.version-hint {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--slate);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-sans);
}

.version-link {
  color: var(--red);
  border-bottom: 1px solid rgba(166, 61, 46, 0.42);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.version-link:hover { border-color: var(--red); color: var(--red-deep); }

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 26, 21, 0.24);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 10px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--amber);
  color: #2B1A06;
  border-color: rgba(34, 26, 21, 0.12);
}

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

.btn--ghost {
  border-color: rgba(34, 26, 21, 0.28);
  color: var(--ink);
}

.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.btn--night {
  background: var(--night);
  color: var(--snow);
}

.btn--night:hover { background: #243449; }

.btn-service { white-space: nowrap; }

/* ---------- 内页页头 / 面包屑 ---------- */
.page-head {
  padding-block: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 32px);
  border-bottom: 1px solid rgba(199, 154, 69, 0.45);
}

.page-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.page-lede {
  margin-top: 16px;
  max-width: 34em;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(34, 26, 21, 0.78);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
  text-transform: uppercase;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--gold);
}

.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* ---------- 区块节奏 ---------- */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section--sand { background: var(--sand); }

.section--night {
  background: var(--night);
  color: rgba(253, 251, 247, 0.86);
}

.section--night .section-title,
.section--night h2,
.section--night h3 { color: var(--snow); }

.section--night .note { color: rgba(253, 251, 247, 0.55); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 34em;
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(34, 26, 21, 0.78);
}

.note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(199, 154, 69, 0));
}

.layer-band {
  height: clamp(28px, 5vw, 64px);
  background:
    repeating-linear-gradient(180deg, rgba(166, 61, 46, 0.18) 0 2px, transparent 2px 12px),
    linear-gradient(90deg, rgba(199, 154, 69, 0.2), rgba(110, 128, 133, 0.14));
}

/* ---------- 卡片（专题研究板） ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--snow);
  border: 1px solid rgba(110, 128, 133, 0.34);
  border-radius: var(--radius-l);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.card--season {
  background: var(--sand);
  border-color: rgba(199, 154, 69, 0.5);
}

.card-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
}

.card-body {
  margin-top: 10px;
  font-size: 15.5px;
  color: rgba(34, 26, 21, 0.78);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(199, 154, 69, 0.62);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red);
  background: rgba(253, 251, 247, 0.6);
}

/* ---------- 图片容器（页面阶段复用的占位肌理） ---------- */
.figure {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(110, 128, 133, 0.3);
  border-radius: var(--radius-l);
  background: var(--sand);
}

.figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    92deg,
    rgba(166, 61, 46, 0.24) 0 10px,
    rgba(199, 154, 69, 0.2) 10px 26px,
    rgba(110, 128, 133, 0.18) 26px 44px
  );
}

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

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

.figure--snow {
  background: linear-gradient(160deg, var(--snow), var(--sand));
}

.figure--snow::before {
  background: repeating-linear-gradient(
    180deg,
    rgba(253, 251, 247, 0.92) 0 2px,
    rgba(110, 128, 133, 0.14) 2px 18px
  );
}

.figure--river {
  background: linear-gradient(180deg, #DCE3E2, #C9D3D2);
}

.figure--river::before {
  background: repeating-radial-gradient(
    circle at 20% 120%,
    rgba(27, 42, 59, 0.1) 0 2px,
    transparent 2px 22px
  );
}

.figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(transparent, rgba(27, 42, 59, 0.72));
  color: var(--snow);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  overflow: hidden;
  background: var(--night);
  color: rgba(253, 251, 247, 0.82);
}

.footer-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(199, 154, 69, 0.1) 0 2px, transparent 2px 26px),
    radial-gradient(120% 80% at 12% 0%, rgba(166, 61, 46, 0.34), transparent 62%),
    radial-gradient(90% 70% at 92% 8%, rgba(110, 128, 133, 0.3), transparent 60%);
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(48px, 7vw, 84px) clamp(28px, 4vw, 44px);
}

.brand--footer { color: var(--snow); }
.brand--footer .brand-name { color: var(--snow); font-size: 20px; }
.brand--footer .brand-tag { color: rgba(253, 251, 247, 0.55); }
.brand--footer .brand-mark { background: var(--red); }
.brand--footer:hover .brand-mark { background: var(--amber); color: #2B1A06; }

.footer-season {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(253, 251, 247, 0.72);
}

.footer-contact li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  line-height: 1.6;
}

.footer-contact .mono {
  min-width: 40px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

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

.footer-col-title {
  padding-top: 12px;
  border-top: 1px solid rgba(199, 154, 69, 0.55);
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--snow);
}

.footer-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.footer-list a {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(253, 251, 247, 0.72);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-list a:hover {
  color: var(--amber);
  border-bottom-color: rgba(232, 144, 28, 0.7);
}

.footer-base {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px clamp(20px, 3vw, 40px);
  padding-block: 20px clamp(28px, 5vw, 44px);
  border-top: 1px solid rgba(253, 251, 247, 0.16);
  font-size: 12.5px;
  color: rgba(253, 251, 247, 0.6);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.footer-legal-links a {
  color: rgba(253, 251, 247, 0.75);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-legal-links a:hover {
  color: var(--amber);
  border-bottom-color: rgba(232, 144, 28, 0.7);
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.7;
}

.footer-note {
  grid-column: 1 / -1;
  max-width: 70ch;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.48);
}

/* 常驻客服钉 */
.service-float {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #2B1A06;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  box-shadow: 0 16px 34px -18px rgba(27, 42, 59, 0.8);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.service-float:hover,
.service-float:focus-visible {
  transform: translateY(-2px);
  background: var(--amber-hi);
}

.service-float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2B1A06;
  box-shadow: 0 0 0 3px rgba(43, 26, 6, 0.18);
}

.service-float-meta {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(238px, 74vw);
  padding: 12px 14px;
  border-radius: var(--radius-m);
  background: var(--night);
  color: rgba(253, 251, 247, 0.86);
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0;
  line-height: 1.65;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.service-float:hover .service-float-meta,
.service-float:focus-visible .service-float-meta {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
}

@media (max-width: 1024px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 10px;
  }

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

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 14px var(--gutter) 22px;
    background: var(--snow);
    border-bottom: 1px solid rgba(199, 154, 69, 0.5);
    box-shadow: 0 24px 48px -32px rgba(27, 42, 59, 0.7);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li + li { border-top: 1px solid rgba(34, 26, 21, 0.1); }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 2px;
    font-size: 16px;
  }

  .nav-label::after { display: none; }

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

@media (max-width: 900px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  [class^="span-"] { grid-column: 1 / -1; }

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

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

  .footer-legal { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }

  .brand-name { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; font-size: 17px; }

  .version-key { display: none; }

  .btn-service { padding: 9px 14px; font-size: 13px; }

  .nav-toggle { padding: 7px 10px; }
  .nav-toggle-text { display: none; }

  .service-float { padding: 10px 15px; font-size: 11px; }

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

  .card { border-radius: 16px; }
  .figure { border-radius: 16px; }
}

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

  .card:hover,
  .service-float:hover,
  .service-float:focus-visible { transform: none; }

  .header-progress span { transition: none; }
}
