/* ============================================================
   九游竞技 · Site Kit 共享样式
   视觉主题：草原竞技风暴 / 数据叙事型布局
   ============================================================ */

/* ---------- 01. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

ul, ol {
  list-style: none;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

/* ---------- 02. Design Tokens ---------- */
:root {
  --meadow: #1E7A4E;
  --crimson: #D7263D;
  --gold: #D4A017;
  --night: #0B1B2A;
  --cream: #F5F3E9;
  --ink: #1A1A1A;
  --data-blue: #2E5E8C;
  --edge: #D9D9C5;
  --highlight: #FFD700;

  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Impact", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-accent: "Lato", "Arial Black", "Helvetica Neue", sans-serif;

  --container: 1180px;
  --container-narrow: 860px;
  --container-wide: 1320px;

  --radius: 2px;
  --shadow-soft: 0 2px 10px rgba(11, 27, 42, .06);
  --shadow-lift: 0 8px 28px rgba(11, 27, 42, .12);

  --header-z: 100;
  --fixed-z: 200;
  --skip-z: 300;
}

/* ---------- 03. Base Typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.18;
}

h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.24;
}

h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
}

h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.4;
}

::selection {
  background: var(--meadow);
  color: var(--cream);
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1rem;
}

/* ---------- 04. Container & Section ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 48px, var(--container-narrow));
}

.container--wide {
  width: min(100% - 48px, var(--container-wide));
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background-color: var(--cream);
}

.section--white {
  background-color: #fff;
}

.section--green {
  background-color: var(--meadow);
  color: var(--cream);
}

.section--night {
  background-color: var(--night);
  color: var(--cream);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .25rem;
  margin-bottom: 1rem;
}

.section--green .section-kicker,
.section--night .section-kicker {
  color: var(--highlight);
  border-color: var(--highlight);
}

.section-title {
  margin-bottom: var(--space-3, 1rem);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 17px;
  color: rgba(26, 26, 26, .72);
}

.section--green .section-title,
.section--night .section-title {
  color: #fff;
}

.section--green .section-intro,
.section--night .section-intro {
  color: rgba(255, 255, 255, .78);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

/* ---------- 05. Page Header ---------- */
.page-header {
  padding: 2.25rem 0 1rem;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 2rem;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: .01em;
}

.page-intro {
  margin-top: .75rem;
  max-width: 640px;
  font-size: 17px;
  color: rgba(26, 26, 26, .72);
}

/* ---------- 06. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

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

.btn-primary {
  background-color: var(--crimson);
  color: #fff;
  box-shadow: 0 4px 16px rgba(215, 38, 61, .28);
}

.btn-primary:hover {
  background-color: #b01e30;
  box-shadow: 0 6px 22px rgba(215, 38, 61, .36);
}

.btn-accent {
  background-color: var(--gold);
  color: var(--ink);
}

.btn-accent:hover {
  background-color: #f0b92c;
}

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

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

.section--green .btn-ghost,
.section--night .btn-ghost {
  color: var(--cream);
}

.section--green .btn-ghost:hover,
.section--night .btn-ghost:hover {
  background-color: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- 07. Breadcrumbs ---------- */
.breadcrumbs {
  padding: 1.25rem 0 0;
  font-size: 14px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: rgba(26, 26, 26, .62);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.breadcrumb-link:hover {
  color: var(--crimson);
}

.breadcrumb-item[aria-current="page"] {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- 08. Layout Grid ---------- */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.grid--2col {
  grid-template-columns: 1fr;
}

.grid--3col {
  grid-template-columns: 1fr;
}

.grid--2col-lg {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--2col-lg {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ---------- 09. Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.card-media {
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.35;
}

.card-meta {
  font-size: 13px;
  color: rgba(26, 26, 26, .58);
  letter-spacing: .02em;
}

.card-excerpt {
  font-size: 15px;
  color: rgba(26, 26, 26, .74);
}

.card-action {
  margin-top: auto;
  padding-top: .5rem;
}

.card--accent {
  position: relative;
  border-left: 4px solid var(--crimson);
}

.card--accent::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background: var(--crimson);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: .18;
}

.card-link {
  color: var(--data-blue);
  font-weight: 600;
}

.card-link::after {
  content: " →";
  color: var(--crimson);
}

/* ---------- 10. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
}

.tag--green {
  background: rgba(30, 122, 78, .1);
  color: var(--meadow);
  border-color: rgba(30, 122, 78, .32);
}

.tag--red {
  background: rgba(215, 38, 61, .08);
  color: var(--crimson);
  border-color: rgba(215, 38, 61, .3);
}

.tag--gold {
  background: rgba(212, 160, 23, .12);
  color: #8a650c;
  border-color: rgba(212, 160, 23, .4);
}

/* ---------- 11. Data Display ---------- */
.data-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .06em;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(212, 160, 23, .16);
}

.data-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--crimson);
  transform: rotate(45deg);
  flex: none;
}

.data-list {
  display: flex;
  flex-direction: column;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--edge);
}

.data-row:last-child {
  border-bottom: none;
}

.data-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(26, 26, 26, .62);
}

.data-value {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  color: var(--ink);
}

.data-value--accent {
  color: var(--crimson);
}

.data-value--gold {
  color: var(--gold);
}

.num-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 900;
  color: var(--crimson);
}

.progress-track {
  height: 6px;
  background: var(--edge);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--meadow), var(--gold));
  border-radius: inherit;
}

/* ---------- 12. Media Frames ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--meadow);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0, rgba(255, 255, 255, .06) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .06) 0, rgba(255, 255, 255, .06) 1px, transparent 1px, transparent 12px);
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--hero {
  aspect-ratio: 4 / 3;
}

.media-frame img,
.media-frame picture,
.media-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .35rem;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  letter-spacing: .08em;
  background: linear-gradient(135deg, rgba(11, 27, 42, .35), transparent 60%);
}

.media-placeholder::before {
  content: "◆";
  font-size: 20px;
  color: var(--highlight);
}

/* ---------- 13. Header ---------- */
.site-header {
  position: relative;
  background: var(--cream);
  box-shadow: 0 1px 0 var(--edge);
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--skip-z);
  display: inline-block;
  padding: .6rem 1.25rem;
  background: var(--night);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-120%);
  transition: transform .25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--fixed-z);
  width: 0;
  height: 3px;
  background: linear-gradient(to right, var(--crimson), var(--gold));
  box-shadow: 0 0 10px rgba(215, 38, 61, .35);
  pointer-events: none;
}

.header-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem max(24px, calc((100% - 1180px) / 2));
  background: var(--night);
  color: rgba(245, 243, 233, .72);
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.topbar-item::before {
  content: "◆";
  font-size: 8px;
  color: var(--gold);
}

.header-masthead {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 4rem 2.5rem;
  text-align: center;
  background-color: var(--meadow);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, .05) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0, rgba(255, 255, 255, .05) 1px, transparent 1px, transparent 14px);
}

.header-masthead::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 31%;
  height: 100%;
  background: var(--crimson);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .92;
}

.header-masthead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26%;
  height: 100%;
  background: var(--gold);
  clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%);
  opacity: .28;
}

.brand-lockup {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  text-align: left;
}

.brand-seal {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--crimson);
  border: 2px solid var(--highlight);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
  box-shadow: 0 4px 16px rgba(11, 27, 42, .25);
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .12em;
  color: #fff;
}

.brand-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(245, 243, 233, .78);
}

.site-nav {
  background: var(--cream);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--edge);
  box-shadow: 0 1px 0 rgba(212, 160, 23, .18);
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: block;
  padding: .95rem 1.35rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  transition: color .25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0;
  height: 3px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}

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

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--crimson);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  position: absolute;
  top: .75rem;
  right: 1rem;
  z-index: calc(var(--header-z) + 1);
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .5rem .65rem;
  background: var(--crimson);
  color: var(--cream);
  border: 1px solid rgba(245, 243, 233, .3);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(11, 27, 42, .18);
  transition: background-color .25s ease;
}

.nav-toggle:hover {
  background-color: #b01e30;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .3s ease;
}

.nav-toggle-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

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

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

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  background-color: var(--night);
  color: rgba(245, 243, 233, .78);
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 18px);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--crimson), var(--meadow));
  opacity: .8;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}

.footer-seal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--crimson);
  border: 1.5px solid var(--highlight);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.footer-brand-words {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .1em;
  color: #fff;
}

.footer-brand-ename {
  margin-top: .1rem;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(245, 243, 233, .6);
}

.footer-statement {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(245, 243, 233, .66);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}

.heading-mark {
  color: var(--highlight);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-links a {
  font-size: 14px;
  color: rgba(245, 243, 233, .72);
  transition: color .25s ease, padding-left .25s ease;
}

.footer-links a:hover {
  color: var(--highlight);
  padding-left: .35rem;
}

.contact-line {
  margin-bottom: .7rem;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 243, 233, .72);
}

.contact-line--addr {
  max-width: 220px;
  font-size: 13px;
  color: rgba(245, 243, 233, .6);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 243, 233, .12);
  background: rgba(0, 0, 0, .2);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.1rem 0;
}

.footer-copyright,
.footer-icp {
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(245, 243, 233, .55);
}

/* ---------- 15. Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ---------- 16. Reveal Motion ---------- */
.js-enabled [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(22px);
}

.js-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    border-bottom: 2px solid var(--gold);
  }

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

  .nav-list {
    flex-direction: column;
    padding: .5rem 1rem 1rem;
  }

  .nav-link {
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--edge);
  }

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

  .nav-link[aria-current="page"] {
    background: rgba(30, 122, 78, .08);
    color: var(--meadow);
    border-left: 4px solid var(--meadow);
  }

  .header-masthead {
    padding: 1.6rem 3rem 1.75rem;
  }

  .brand-seal {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .brand-name {
    font-size: 28px;
  }

  .brand-tagline {
    font-size: 11px;
    letter-spacing: .22em;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 640px) {
  .header-topbar {
    justify-content: center;
  }

  .topbar-item:last-child {
    display: none;
  }

  .header-masthead::before {
    width: 18%;
    opacity: .7;
  }

  .header-masthead::after {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- 18. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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