/* ============================================================
   爱游戏官方版 · Site Kit  /assets/site.css
   夜场蓝图 NIGHT BLUEPRINT — 共享外壳与通用组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

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

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

a { color: inherit; }

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

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #FF7A1A;
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* colour */
  --ink: #061811;
  --ink-2: #0C2A1D;
  --surface: #153B2A;
  --lime: #C8FF4D;
  --orange: #FF7A1A;
  --amber: #FFD447;
  --red: #FF4D4D;
  --mist: #EAF6EE;
  --moss: #9DB9A9;
  --line: #3F6E57;

  /* type */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Roboto Mono", "JetBrains Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  /* metrics */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut: 18px;
  --ease: 160ms ease;
  --shadow-float: 0 14px 30px rgba(0, 0, 0, .45);
}

/* ---------- 3. Base & Chinese typography ---------- */
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(63, 110, 87, .14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 110, 87, .14) 1px, transparent 1px),
    radial-gradient(1100px 620px at 82% -12%, rgba(200, 255, 77, .07), transparent 68%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  color: var(--mist);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.05vw + 12px, 16.5px);
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.012em;
  font-stretch: condensed;
  color: var(--mist);
  text-wrap: balance;
}

p { text-wrap: pretty; }

strong { color: var(--lime); font-weight: 700; }

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

/* ---------- 4. Utilities ---------- */
.container {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: .12em;
}

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

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.7em; margin-bottom: .5em; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .35em; }

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 40px);
  background: linear-gradient(90deg, var(--lime), var(--line) 38%, transparent);
}

/* ---------- 5. Header : command bar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(6, 24, 17, .99), rgba(12, 42, 29, .96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: top var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { top: 10px; outline-offset: 2px; }

.header-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: 70px;
  padding-block: 8px;
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--mist);
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
  transition: background var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}

.brand:hover .brand-mark { background: #e6ff9a; }

.brand-text { display: block; min-width: 0; }

.brand-name {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
}

.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .16em;
  color: var(--moss);
  white-space: nowrap;
}

/* navigation */
.nav-wrap {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.site-nav { min-width: 0; max-width: 100%; }

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-item { display: block; flex: 0 0 auto; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 10px;
  text-decoration: none;
  color: var(--moss);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease), border-color var(--ease);
}

.nav-link:hover {
  color: var(--mist);
  background: rgba(200, 255, 77, .07);
  border-bottom-color: rgba(63, 110, 87, .9);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--line);
  transition: color var(--ease);
}

.nav-label { font-size: 14px; font-weight: 600; letter-spacing: .01em; }

.nav-link:hover .nav-index { color: var(--orange); }

.nav-link[aria-current="page"] {
  color: var(--mist);
  border-bottom-color: var(--lime);
  background: linear-gradient(180deg, transparent, rgba(200, 255, 77, .12));
}

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

.nav-link[aria-current="page"] .nav-label { font-weight: 800; }

/* mobile-only CTA inside nav */
.nav-item-cta { display: none; }

.nav-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.nav-cta-link:focus-visible { outline-offset: -4px; }

/* header CTA */
.header-cta {
  white-space: nowrap;
  font-size: 13px;
  padding: 11px 16px;
}

/* toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--mist);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.nav-toggle:hover { border-color: var(--lime); color: var(--lime); background: rgba(200, 255, 77, .06); }
.nav-toggle:focus-visible { outline-offset: -4px; }

.nav-toggle-box { display: grid; gap: 4px; width: 17px; }

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
}

/* scroll progress meter */
.read-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(63, 110, 87, .45);
  overflow: hidden;
}

.read-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transition: width 120ms linear;
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--mist);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }

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

.btn-primary:hover {
  background: #d9ff7d;
  border-color: #d9ff7d;
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(21, 59, 42, .55);
  color: var(--mist);
  border-color: var(--line);
}

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

/* ---------- 7. Section rhythm ---------- */
.section { padding-block: clamp(36px, 5.5vw, 76px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding-bottom: 14px;
  margin-bottom: clamp(18px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--orange);
  flex: none;
}

.section-title {
  font-size: clamp(20px, 2.9vw, 30px);
  margin: 0;
}

.section-desc {
  flex: 1 1 260px;
  min-width: 0;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--moss);
}

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

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

/* ---------- 8. Grid ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.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-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

/* ---------- 9. Cut-corner card ---------- */
.card {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  background: linear-gradient(158deg, var(--surface), #0E211A 92%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform var(--ease), background var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--cut);
  height: var(--cut);
  pointer-events: none;
  background: linear-gradient(to bottom right, transparent 47%, var(--line) 47%, var(--line) 53%, transparent 53%);
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  background: linear-gradient(158deg, #1A4632, #0E211A 92%);
}

.card:hover::before,
.card:focus-within::before { border-color: rgba(200, 255, 77, .5); }

.card :where(a, button):focus-visible { outline-offset: -3px; }

/* ---------- 10. Badges & data ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: var(--moss);
  white-space: nowrap;
}

.badge--lime { color: var(--lime); background: rgba(200, 255, 77, .08); }
.badge--orange { color: var(--orange); background: rgba(255, 122, 26, .1); }
.badge--yellow { color: var(--amber); background: rgba(255, 212, 71, .1); }
.badge--red { color: var(--red); background: rgba(255, 77, 77, .1); }
.badge--moss { color: var(--moss); background: rgba(21, 59, 42, .6); }

.stat { display: grid; gap: 4px; }

.stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--lime);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--moss);
}

.float-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 14px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  box-shadow: var(--shadow-float);
  transform: rotate(-2.5deg);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.float-badge strong { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }

/* ---------- 11. Tags ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--moss);
  background: rgba(21, 59, 42, .55);
  border: 1px solid var(--line);
  white-space: nowrap;
}

/* ---------- 12. Image frames ---------- */
.img-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background-color: var(--ink-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(63, 110, 87, .22) 0 8px, transparent 8px 16px),
    linear-gradient(158deg, var(--surface), var(--ink-2));
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

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

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 24, 17, .05) 40%, rgba(6, 24, 17, .88));
}

.img-frame--wide { aspect-ratio: 21 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--square { aspect-ratio: 1 / 1; }

.img-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.6;
  color: var(--moss);
}

/* ---------- 13. Breadcrumbs ---------- */
.breadcrumbs { padding-top: 16px; }

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--moss);
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.breadcrumbs-link {
  text-decoration: none;
  color: var(--moss);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.breadcrumbs-link:hover { color: var(--lime); border-bottom-color: var(--lime); }

.breadcrumbs-sep { color: var(--line); }

.breadcrumbs-current { color: var(--mist); }

/* ---------- 14. Reveal protocol ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 15. Footer : scoreboard ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 100px);
  background: linear-gradient(180deg, var(--ink-2), var(--ink) 72%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 2px;
  width: min(280px, 42%);
  background: linear-gradient(90deg, var(--lime), var(--orange));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(34px, 5vw, 58px) clamp(26px, 3.6vw, 44px);
}

.footer-brand { display: grid; gap: 14px; align-content: start; }

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

.footer-brand-link:hover .brand-mark { background: #e6ff9a; }

.footer-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}

.footer-brand-desc {
  max-width: 32ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--moss);
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--line);
  text-transform: uppercase;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 20px clamp(16px, 2.4vw, 32px);
}

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

.footer-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--moss);
  text-transform: uppercase;
}

.footer-group-title::before {
  content: "";
  width: 12px;
  height: 2px;
  flex: none;
  background: var(--orange);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  text-decoration: none;
  color: var(--mist);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease), padding-left var(--ease);
}

.footer-link:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
  padding-left: 4px;
}

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

.footer-contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-line { display: grid; gap: 2px; font-size: 13px; line-height: 1.65; }

.footer-contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--line);
  text-transform: uppercase;
}

.footer-contact-val { color: var(--mist); word-break: break-word; }

.footer-scale {
  height: 9px;
  border-top: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px);
  opacity: .75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--moss);
}

.footer-copy, .footer-icp { margin: 0; }
.footer-icp { color: var(--line); }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 900px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    gap: 10px;
    padding-block: 10px;
  }

  .brand { grid-area: brand; }
  .nav-toggle { grid-area: toggle; display: inline-flex; }
  .nav-wrap { grid-area: nav; display: block; justify-content: flex-start; }
  .header-cta { display: none; }

  .site-nav { display: none; }

  .nav-wrap[data-open="true"] .site-nav {
    display: block;
    animation: navDrop 160ms ease-out;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding-block: 8px;
    margin-top: 6px;
    border-top: 1px solid var(--line);
    overflow: visible;
  }

  .nav-item { width: 100%; }

  .nav-link {
    width: 100%;
    padding: 11px 6px 11px 10px;
    border-bottom: 1px solid rgba(63, 110, 87, .5);
    border-left: 2px solid transparent;
    justify-content: flex-start;
  }

  .nav-link:hover { background: rgba(200, 255, 77, .06); border-bottom-color: rgba(63, 110, 87, .5); }

  .nav-link[aria-current="page"] {
    border-bottom-color: rgba(63, 110, 87, .5);
    border-left-color: var(--lime);
    background: linear-gradient(90deg, rgba(200, 255, 77, .12), transparent);
  }

  .nav-item-cta { display: block; }

  .grid-12 > [class^="span-"] { grid-column: span 12; }

  .brand-tag { letter-spacing: .1em; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-column: auto; }
  .footer-contact-list { grid-template-columns: 1fr; }
  .footer-brand-desc { max-width: none; }
  .footer-legal { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 15.5px; }
  .header-bar { min-height: 60px; }
}

/* ---------- 17. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover, .card:focus-within, .btn:hover { transform: none; }
  .read-meter-fill { transition: none; }
}
