/* ==========================================================================
   完美体育入口 · 共享站点样式 /assets/site.css
   夜间转播控制台：矿绿色场域 + 荧光青状态 + 信号橙提醒 + 金铜档位
   ========================================================================== */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0B1F1A;
  --arena: #12352B;
  --moss: #2E5B4A;
  --cyan: #38F2D0;
  --orange: #FF7A3D;
  --stone: #8A948E;
  --bone: #F4EFE6;
  --clay: #B86B4B;
  --gold: #C9A45C;
  --copper: #8C5A33;
  --teal: #1E6B5E;
  --shadow-ink: #06120F;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-pill: 999px;
  --shadow-hard: 0 6px 0 var(--shadow-ink);
  --shadow-float: 0 22px 48px -26px rgba(2, 9, 7, 0.95);

  --gutter: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.25rem, 7vw, 6rem);
  --header-h: 74px;
}

/* ---------- 3. Base typography ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--bone);
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(46, 91, 74, 0.24), rgba(11, 31, 26, 0) 440px),
    repeating-linear-gradient(90deg, rgba(46, 91, 74, 0.10) 0 1px, transparent 1px 104px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.22; }
h4 { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.3; }

p { max-width: 76ch; }

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

strong, b { font-weight: 700; color: var(--bone); }

small, .is-muted { color: var(--stone); font-size: 0.85rem; }

::selection {
  background: var(--cyan);
  color: #04211B;
}

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

.stack > * + * { margin-top: 1rem; }
.stack--loose > * + * { margin-top: clamp(1.5rem, 3vw, 2.4rem); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.divider {
  height: 2px;
  border: 0;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  background: linear-gradient(90deg, var(--moss), rgba(46, 91, 74, 0.1));
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cyan);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0.55rem;
  left: 0.6rem;
  z-index: 300;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: #04211B;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding-block: clamp(0.6rem, 1.4vw, 1.05rem);
  transition: padding-block 0.22s ease;
}
.site-header[data-scrolled] { padding-block: 0.34rem; }

.site-header__inner {
  position: relative;
  max-width: 1320px;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.2vw, 1rem);
  padding: 0.5rem 0.6rem 0.5rem 0.85rem;
  border: 2px solid var(--moss);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(19, 58, 47, 0.96), rgba(11, 31, 26, 0.95));
  box-shadow: 0 5px 0 var(--shadow-ink), var(--shadow-float);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: padding 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.site-header[data-scrolled] .nav-shell {
  padding: 0.3rem 0.5rem 0.3rem 0.7rem;
  background: linear-gradient(180deg, rgba(14, 42, 35, 0.99), rgba(8, 24, 20, 0.98));
  box-shadow: 0 3px 0 var(--shadow-ink), 0 16px 34px -20px rgba(0, 0, 0, 0.95);
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--bone);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 2px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(56, 242, 208, 0.18), rgba(30, 107, 94, 0.12));
  box-shadow: inset 0 0 0 2px rgba(6, 18, 15, 0.65);
  transition: width 0.22s ease, height 0.22s ease;
}
.site-header[data-scrolled] .brand__mark { width: 28px; height: 28px; }
.brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 5px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.brand__pulse {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(56, 242, 208, 0.14);
  animation: brand-pulse 3.4s ease-in-out infinite;
}
@keyframes brand-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(56, 242, 208, 0.14); }
  50% { opacity: 0.5; box-shadow: 0 0 0 7px rgba(56, 242, 208, 0.06); }
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}
.brand__tagline {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--stone);
  line-height: 1.2;
  white-space: nowrap;
}

/* nav — mobile first: collapsible panel */
.nav {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 130;
  padding: 0.5rem;
  max-height: min(70vh, 460px);
  overflow: auto;
  border: 2px solid var(--moss);
  border-radius: 20px;
  background: linear-gradient(180deg, #133A2F, #0B1F1A);
  box-shadow: 0 6px 0 var(--shadow-ink), 0 28px 56px -26px rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s linear;
}
.nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav__item { width: 100%; }
.nav__link {
  display: block;
  padding: 0.62rem 0.8rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(244, 239, 230, 0.8);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.nav__link:hover,
.nav__link:focus-visible {
  background: rgba(46, 91, 74, 0.6);
  color: var(--bone);
}
.nav__link[aria-current="page"] {
  color: var(--bone);
  background: rgba(56, 242, 208, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--cyan);
}

/* header actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

/* nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.45rem 0.8rem;
  border: 1.5px solid var(--moss);
  border-radius: var(--radius-pill);
  background: rgba(46, 91, 74, 0.28);
  color: var(--bone);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 242, 208, 0.12);
}
.nav-toggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle__bars > span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars > span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* scroll progress rail */
.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-header[data-scrolled] .site-header__progress { opacity: 1; }
.site-header__progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange) 78%, var(--clay));
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn--sm { padding: 0.5rem 0.85rem; font-size: 0.82rem; }

.btn--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04211B;
  box-shadow: 0 4px 0 var(--shadow-ink);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--shadow-ink);
}
.btn--solid:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--shadow-ink);
}

.btn--ghost {
  background: transparent;
  border-color: var(--moss);
  color: var(--bone);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #22100A;
  box-shadow: 0 4px 0 var(--shadow-ink);
}
.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--shadow-ink);
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold), var(--copper));
  border-color: var(--copper);
  color: #22160A;
  box-shadow: 0 4px 0 var(--shadow-ink);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(6, 18, 15, 0.9);
}

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: var(--section-y);
  padding-bottom: 1.5rem;
  border-top: 3px solid var(--moss);
  background: linear-gradient(180deg, #0B1F1A 0%, #071612 58%, #06120F 100%);
  color: var(--bone);
  overflow: hidden;
}
.footer__rail {
  height: 6px;
  background: repeating-linear-gradient(
    115deg,
    var(--cyan) 0 26px,
    var(--orange) 26px 52px,
    var(--clay) 52px 78px,
    var(--moss) 78px 104px
  );
  opacity: 0.72;
}

.footer__inner {
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.6rem);
}

.footer__brand { display: grid; gap: 0.45rem; justify-items: start; }
.footer__mark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--stone);
}
.footer__note {
  font-size: 0.86rem;
  color: rgba(244, 239, 230, 0.7);
  letter-spacing: 0.04em;
}
.footer__cta { margin-top: 0.5rem; }

.footer__col { display: grid; align-content: start; gap: 0; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--stone);
  padding-bottom: 0.55rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(46, 91, 74, 0.75);
}
.footer__list { display: grid; gap: 0.45rem; }
.footer__link {
  display: inline-block;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer__link:hover,
.footer__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: rgba(56, 242, 208, 0.6);
}
.footer__link--legal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(244, 239, 230, 0.66);
}

.footer__contact { display: grid; gap: 0.55rem; }
.footer__contact-row {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.88rem;
}
.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--stone);
  padding-top: 0.25rem;
}
.footer__contact-value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: rgba(244, 239, 230, 0.86);
  word-break: break-word;
}
.footer__copy-btn {
  padding: 0.16rem 0.5rem;
  border: 1.5px solid var(--moss);
  border-radius: var(--radius-pill);
  background: rgba(46, 91, 74, 0.32);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.footer__copy-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 242, 208, 0.1);
}
.footer__copy-status {
  min-height: 1.15em;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(46, 91, 74, 0.8);
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--stone);
}
.footer__meta-sep { color: var(--moss); }
.footer__copyright {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.03em;
}

/* ---------- 9. Shared page components ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
  padding-block: 0.9rem 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.breadcrumbs a {
  color: rgba(244, 239, 230, 0.72);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current="page"] { color: var(--bone); }
.breadcrumbs__sep { color: var(--moss); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem 1.25rem;
  margin-bottom: clamp(1.1rem, 2.4vw, 1.8rem);
  padding-bottom: 0.9rem;
  border-bottom: 2px solid rgba(46, 91, 74, 0.85);
}
.section-head > h2,
.section-head > h3 { margin: 0; }
.section-index {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(46, 91, 74, 0.5);
  -webkit-text-stroke: 1.5px var(--moss);
}

.prose {
  max-width: 74ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.88);
}
.prose > * + * { margin-top: 1.05em; }
.prose h2,
.prose h3 {
  color: var(--bone);
  margin-top: 1.8em;
  padding-left: 0.7rem;
  border-left: 3px solid var(--cyan);
}
.prose ul { list-style: none; }
.prose ul > li {
  position: relative;
  padding-left: 1.35em;
}
.prose ul > li + li { margin-top: 0.45em; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.55em;
  height: 2px;
  background: var(--cyan);
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
}
.prose ol > li + li { margin-top: 0.45em; }
.prose a { color: var(--cyan); }
.prose small { color: var(--stone); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.65rem;
  border: 1.5px solid var(--moss);
  border-radius: var(--radius-pill);
  background: rgba(18, 53, 43, 0.6);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 230, 0.86);
  white-space: nowrap;
}
.chip--live {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 242, 208, 0.1);
}
.chip--alert {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 122, 61, 0.1);
}
.chip--tier {
  border-color: var(--copper);
  color: var(--gold);
  background: linear-gradient(120deg, rgba(201, 164, 92, 0.18), rgba(140, 90, 51, 0.12));
}

.card {
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 2px solid var(--moss);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 53, 43, 0.94), rgba(11, 31, 26, 0.94));
  box-shadow: var(--shadow-hard);
}
.card--flush { padding: 0; overflow: hidden; }

.grid {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.5rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* responsive image containers for page stage */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid var(--moss);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(56, 242, 208, 0.14), transparent 60%),
    linear-gradient(140deg, var(--arena), var(--ink));
  box-shadow: var(--shadow-hard);
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media > img,
.media > svg,
.media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
}
.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.8rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(244, 239, 230, 0.9);
  background: linear-gradient(0deg, rgba(6, 18, 15, 0.92), rgba(6, 18, 15, 0));
}

/* reveal protocol */
.reveal-armed {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-armed.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 10. Focus ---------- */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 11. Breakpoints ---------- */
@media (min-width: 600px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 720px) {
  .header-actions {
    display: flex;
    margin-left: auto;
  }
  .nav-toggle { margin-left: 0.35rem; }
  .brand__tagline { display: block; }
}

@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.25fr;
    align-items: start;
  }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1100px) {
  .nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-inline: auto;
    padding: 0;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
  }
  .nav__item { width: auto; }
  .nav__link {
    padding: 0.45rem 0.72rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .nav-toggle { display: none; }
  .header-actions { margin-left: 0; }
}

@media (max-width: 479px) {
  .brand__tagline { display: none; }
  .brand__name { font-size: 1rem; }
  .footer__contact-row { grid-template-columns: 2.7rem 1fr; }
}

/* ---------- 12. Reduced motion ---------- */
@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;
    transition-delay: 0ms !important;
  }

  .brand__pulse { animation: none; }
  .reveal-armed {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .btn--solid:hover,
  .btn--orange:hover,
  .btn--gold:hover {
    transform: none;
  }
  .nav { transition: none; }
}
